@williamthorsen/toolbelt.numbers 7.2.0 โ†’ 7.2.1

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.
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.36.0";
3
+ export const __readyupVersion = "0.37.0";
4
4
 
5
5
 
6
6
  // ../adoption/src/conventions/path-predicates.ts
@@ -96,10 +96,10 @@
96
96
  ],
97
97
  "name": "default",
98
98
  "path": "kits/default.js",
99
- "readyupVersion": "0.36.0",
99
+ "readyupVersion": "0.37.0",
100
100
  "source": "kits/default.ts",
101
101
  "sourceHash": "24f6e6db",
102
- "targetHash": "b1603ae6"
102
+ "targetHash": "55bc7a45"
103
103
  }
104
104
  ]
105
105
  }
package/README.md CHANGED
@@ -4,44 +4,7 @@
4
4
 
5
5
  Utility functions for working with numbers.
6
6
 
7
- <!-- section:release-notes -->
8
- ## Release notes โ€” v7.2.0 (2026-09-15)
9
-
10
- ### ๐ŸŽ‰ Features
11
-
12
- - Add a ReadyUp adoption kit reporting hand-rolled guards (#311)
13
-
14
- - Adds a ReadyUp adoption kit to `@williamthorsen/toolbelt.guards` that reports every function whose entire body re-implements a guard published by the package.
15
-
16
- - Add a ReadyUp adoption kit to toolbelt.filesystem (#316)
17
-
18
- - Adds a ReadyUp adoption kit to `@williamthorsen/toolbelt.filesystem` that recommends `writeAtomic` where a project writes a file to a temporary path and renames it into place, and `listDirectoryChain`, `findDirectoryChainMatch`, or `listDirectoryChainMatches` where a loop ascends to the filesystem root by `path.dirname`.
19
- - Promotes `writeAtomic` to the candidate tier.
20
-
21
- Migration: Change any import of `writeAtomic` from `@williamthorsen/toolbelt.filesystem/proposed` to `@williamthorsen/toolbelt.filesystem/candidate`.
22
-
23
- - Read a directory walk's probed name through a binding or constant (#324)
24
-
25
- - Extends the ReadyUp adoption kit in `@williamthorsen/toolbelt.packaging` to recommend `findPackageRoot` or `resolveSelfVersion` for a hand-rolled `package.json` search that checks for the file through a variable declared once inside its loop and never reassigned there, or through a string constant declared once in the same file.
26
- - Stops the kit in `@williamthorsen/toolbelt.filesystem` from reporting such a search, which it previously treated as a generic directory walk.
27
-
28
- - Report hand-rolled dedents in the strings adoption kit (#330)
29
-
30
- - Adds `no-joined-line-array`, which reports an array of string or template literals that spans several lines and is joined with a newline.
31
- - Adds `no-layout-breaking-template`, which reports an untagged template literal whose later lines drop below the indentation of the line on which it opens.
32
-
33
- ### ๐Ÿ› Bug fixes
34
-
35
- - Stop reading each segment of a probe's path as a separately probed name (#320)
36
-
37
- - Fixes an issue in which `toolbelt.filesystem`'s ReadyUp adoption kit treated a loop over parent directories as a search for each directory's own `package.json` when the path checked at each level contained a `'package.json'` literal, as in `path.join(dir, 'node_modules', name, 'package.json')`, and so did not report the loop under `no-hand-rolled-directory-walk`.
38
-
39
- - Make pickInteger draw once per call and keep seeded draws below 1 (#329)
40
-
41
- - Fixes seeded draws that could return exactly 1, outside the documented range of [0, 1): With seed `1_000_000_856_026_238`, `pickInteger({ min: 0, max: 9, seed })` returned 10 and `pickItem` from `toolbelt.arrays` threw a `RangeError`.
42
- - Changes only the draw that returned 1, which no `SeededRng` and no integer seed below 2ยณยน could produce.
43
- - Stops `pickInteger` from skipping its draw when `min` and `max` truncate to the same integer, which changes no return value but shifts the later values drawn from a `SeededRng` or seed function passed with such bounds.
44
- <!-- /section:release-notes -->
7
+ <!-- section:release-notes --><!-- /section:release-notes -->
45
8
 
46
9
  ## Installation
47
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.numbers",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "description": "Utility functions for working with numbers",
5
5
  "keywords": [
6
6
  "esm",
@@ -47,9 +47,9 @@
47
47
  ],
48
48
  "devDependencies": {
49
49
  "@williamthorsen/toolbelt.adoption": "0.1.0",
50
- "@williamthorsen/toolbelt.testing": "0.6.0",
50
+ "@williamthorsen/toolbelt.testing": "0.6.1",
51
51
  "esbuild": "0.28.2",
52
- "readyup": "0.36.0"
52
+ "readyup": "0.37.0"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=24.0.0"