@williamthorsen/toolbelt.arrays 6.0.0 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -13
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 6.0.2 — 2026-08-28
6
+
7
+ ### Dependency updates
8
+
9
+ - Bumped `@williamthorsen/toolbelt.numbers` to 7.0.2
10
+
11
+ ## 6.0.1 — 2026-08-24
12
+
13
+ ### Dependency updates
14
+
15
+ - Bumped `@williamthorsen/toolbelt.numbers` to 7.0.1
16
+
5
17
  ## 6.0.0 — 2026-08-21
6
18
 
7
19
  ### Features
package/README.md CHANGED
@@ -2,19 +2,7 @@
2
2
 
3
3
  Array utilities.
4
4
 
5
- <!-- section:release-notes -->
6
- ## Release notes — v6.0.0 (2026-08-21)
7
-
8
- ### Features
9
-
10
- - 🚨 **Breaking:** Correct the nullish guards' narrowing and rename `isNullable` (#206)
11
-
12
- Fixes an issue where `isNullable` in `@williamthorsen/toolbelt.guards` narrowed both of its branches backwards: A value it confirmed to be null or undefined was typed as non-nullish, so dereferencing it inside the check compiled and then threw. It is now named `isNullish`, after the type it narrows to.
13
-
14
- Separately, `isNonNullable` and `assertIsNonNullable` let an explicit type argument exclude `null` from the false branch while `null` still reached it at runtime. Both now take the value at its own type.
15
-
16
- Migration: `isNullable` no longer exists, and `isNullish` narrows in the opposite direction, so a call site written against the old behavior now fails to compile. On `isNonNullable` and `assertIsNonNullable`, an explicit type argument narrower than the value's own type is now a compile error; inference-driven narrowing is unchanged, as is `filter(isNonNullable)`.
17
- <!-- /section:release-notes -->
5
+ <!-- section:release-notes --><!-- /section:release-notes -->
18
6
 
19
7
  ## Installation
20
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.arrays",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "Array utilities",
5
5
  "keywords": [
6
6
  "array",
@@ -45,7 +45,7 @@
45
45
  ],
46
46
  "dependencies": {
47
47
  "@williamthorsen/toolbelt.guards": "4.0.0",
48
- "@williamthorsen/toolbelt.numbers": "7.0.0"
48
+ "@williamthorsen/toolbelt.numbers": "7.0.2"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=24.0.0"