Packages

@sindresorhus/is

8.1.0 · 11 May 2026MIT93.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @sindresorhus/is from 5.6.0 to 8.1.0

14 releases in betweennotes for 13

6+
changes to make
0
advisories fixed
16+
new
10+
fixes

Counted from 13 of 14 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking8.0.0
  • breaking7.0.0
  • breaking7.0.0
  • breaking6.0.0
  • breaking6.0.0
  • deprecated6.0.0

Release by release

  1. 8.1.0

    11 May 20261 new
    • new

      Add negative assertion helper 2d4956e

  2. 8.0.0

    9 Apr 20267 new · 5 fixes
  3. 7.2.0

    27 Dec 20251 new
    • new

      Add predicate factory mode to is.any and is.all 9bdcd9b

  4. 7.1.1no release note

  5. 7.1.0

    13 Sep 20251 new · 1 fix
    • new

      Add is.optional and assert.optional 1f2440a

    • fixed

      Fix TypeScript type narrowing issue with isUrlString c68ad76

  6. 7.0.2

    4 Jun 20251 fix
    • fixed

      FIx observable checking e8e8124

  7. 7.0.1

    6 Sep 20241 fix
    • fixed

      Fix passing in assertion message to assertArray (#210) 5565c5e

  8. 7.0.0

    10 Jul 20242 fixes
    • fixed

      Fix type guard for isWhitespaceString and isEmptyStringOrWhitespace (#207) 25a3768

    • fixed

      Don't depend on any Node.js types 0ff273f

2 other lines we could not sort, mostly version bumps
  • Improve TypeScript type for isNonEmptyString() and isNonEmptyStringAndNotWhitespace() (#200) 0d4cf6f

    6.1.0
  • directInstanceOf: Fix handling of undefined and null e7e2213

    6.0.1