@williamthorsen/toolbelt.numbers 7.2.2 → 7.2.3
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.
- package/.readyup/kits/default.js +1 -1
- package/.readyup/manifest.json +4 -4
- package/CHANGELOG.md +6 -0
- package/README.md +3 -3
- package/package.json +3 -3
package/.readyup/kits/default.js
CHANGED
package/.readyup/manifest.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"esbuildVersion": "0.28.2",
|
|
10
10
|
"inputs": [
|
|
11
11
|
{
|
|
12
|
-
"hash": "
|
|
12
|
+
"hash": "fcd04dfa",
|
|
13
13
|
"kind": "module",
|
|
14
14
|
"path": "../../adoption/src/conventions/path-predicates.ts"
|
|
15
15
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"path": "../../adoption/src/kits/defineAdoptionKit.ts"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"hash": "
|
|
27
|
+
"hash": "09840c67",
|
|
28
28
|
"kind": "module",
|
|
29
29
|
"path": "../../adoption/src/mod.ts"
|
|
30
30
|
},
|
|
@@ -96,10 +96,10 @@
|
|
|
96
96
|
],
|
|
97
97
|
"name": "default",
|
|
98
98
|
"path": "kits/default.js",
|
|
99
|
-
"readyupVersion": "0.
|
|
99
|
+
"readyupVersion": "0.40.0",
|
|
100
100
|
"source": "kits/default.ts",
|
|
101
101
|
"sourceHash": "eecd2c1e",
|
|
102
|
-
"targetHash": "
|
|
102
|
+
"targetHash": "3296a47b"
|
|
103
103
|
}
|
|
104
104
|
]
|
|
105
105
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 7.2.3 — 2026-10-09
|
|
6
|
+
|
|
7
|
+
### 📚 Documentation
|
|
8
|
+
|
|
9
|
+
- Updates each kit README to show `rdy run --sources` and a `sources: ['npm:…']` config example, and states that this spelling needs readyup 0.40.0 or later. (#371)
|
|
10
|
+
|
|
5
11
|
## 7.2.2 — 2026-10-02
|
|
6
12
|
|
|
7
13
|
### 📚 Documentation
|
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ pickInteger({ min: 1, max: 6 }); // 1 through 6
|
|
|
66
66
|
The package includes a ReadyUp kit. A project that installs it can ask how far its adoption got:
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
|
-
rdy run --
|
|
69
|
+
rdy run --sources
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
The kit reads the project's tracked sources and reports every hand-rolled clamp, decimal rounding, and random integer in them, each counted against the calls that the project already makes into this package. The kit reports all three at `recommend`: They are correct code that a published utility expresses better, not defects.
|
|
@@ -82,10 +82,10 @@ A reviewed site is silenced by an `rdy-ignore` pragma on its own line, or `rdy-i
|
|
|
82
82
|
const bounded = Math.max(min, Math.min(max, value));
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
Add the package to `.config/readyup.config.ts` to include it in a routine sweep:
|
|
85
|
+
Add the package to `.config/readyup.config.ts` to include it in a routine sweep, a spelling that readyup 0.40.0 or later reads:
|
|
86
86
|
|
|
87
87
|
```ts
|
|
88
88
|
export default defineRdyConfig({
|
|
89
|
-
|
|
89
|
+
sources: ['npm:@williamthorsen/toolbelt.numbers'],
|
|
90
90
|
});
|
|
91
91
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@williamthorsen/toolbelt.numbers",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.3",
|
|
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.
|
|
50
|
+
"@williamthorsen/toolbelt.testing": "0.6.3",
|
|
51
51
|
"esbuild": "0.28.2",
|
|
52
|
-
"readyup": "0.
|
|
52
|
+
"readyup": "0.40.0"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=24.0.0"
|