Packages

@sindresorhus/is

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

Upgrading @sindresorhus/is from 0.2.1 to 8.1.0

60 releases in betweennotes for 51

Other targets from 0.2.1Newest 0.x0.17.1
14+
changes to make
0
advisories fixed
35+
new
21+
fixes

Counted from 51 of 60 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
  • breaking5.0.0
  • breaking5.0.0
  • breaking4.0.0
  • breaking3.0.0
  • breaking3.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.1

    31 Oct 20251 fix
    • fixed

      Fix is.class for minified class expression (#217) e7c84fc

  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

16 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
  • Revert exports change in package.json (#180) d1574d3

    5.4.1
  • Improve type guard/assertion of numericString() (#178) 888e145

    5.4.0
  • Make nonEmptyArray() more strongly-typed 592d909

    5.3.0
  • Improve plainObject() (#169) 45cae31

    5.2.0
  • Improve import for VS Code (#122) 4c29fb3

    3.1.1
  • Revert "Bundle the required DOM types (#93)" 3f2caa4 We forgot to bundle the Element type, which is very complex and cannot easily be bundled, so turns out bundling the required DOM types is not feasible, see #94.

    1.2.0
  • Bundle the required DOM types (#93) 7c16f20

    1.1.0
  • Make is.number(NaN) return false (#90) f04dffa

    1.0.0

1 internal line (docs, tests, tooling) left out.