@williamthorsen/toolbelt.packaging 0.7.1 โ†’ 0.7.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.
@@ -1,4 +1,48 @@
1
1
  [
2
+ {
3
+ "version": "0.7.2",
4
+ "date": "2026-11-12",
5
+ "sections": [
6
+ {
7
+ "title": "๐Ÿ› Bug fixes",
8
+ "audience": "all",
9
+ "items": [
10
+ {
11
+ "description": "Share one function-literal reader across the readiness kits (#470)",
12
+ "body": "Fixes the issue that the biased-shuffle check in the `@williamthorsen/toolbelt.arrays` ReadyUp kit missed an inline `function` comparator whose parameter list contains braces, such as `function (a: { n: number }, b: { n: number }) { return Math.random() - 0.5; }`. The change moves the function-literal parsing of the `arrays`, `async`, and `vitest` kits into one shared reader in `adoption`, which finds a `function` expression's body past the braces in its parameter list.",
13
+ "hash": "4a68ebf4d8baeac202267ac3c245a1b0d9e4dc51"
14
+ },
15
+ {
16
+ "description": "Claim a trailing-comma setTimeout as a hand-rolled sleep (#487)",
17
+ "body": "Fixes the issue that the `@williamthorsen/toolbelt.async` ReadyUp kit did not report a hand-rolled sleep whose `setTimeout` call ends in a trailing comma, such as `setTimeout(resolve, 50,)`, as a candidate for `delay`. Replaces the two private copies of the argument splitter, which disagreed on the trailing comma, with one splitter in `packages/adoption` that the async and numbers kits both import.",
18
+ "hash": "db112149e3d49fc681053081af06e391f87ef1f1"
19
+ }
20
+ ]
21
+ },
22
+ {
23
+ "title": "๐Ÿงช Tests",
24
+ "audience": "dev",
25
+ "items": [
26
+ {
27
+ "description": "Adds `createKitFixture`, which creates a tracked repo, points `process.cwd()` at it, and lists a kit's checks imported afresh, and `runEveryCheck`, which returns every check's report in order, to `@williamthorsen/toolbelt.adoption/test-utils`, and rewrites the kit tests in `src/readiness/__tests__/kit.tool.test.ts` to replace the repeated `createTrackedRepo`, `pointCwdAt`, and `listFreshKitChecks` calls with them. (#469)",
28
+ "hash": "5f71996e7e3137192e24c5936de1bfa1595af760",
29
+ "entry": 1
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "title": "๐Ÿ“ฆ Dependencies",
35
+ "audience": "dev",
36
+ "items": [
37
+ {
38
+ "description": "Upgrades the catalog's `readyup` from 0.45.1 to 0.46.0 and recompiles each package's `.readyup/kits/default.js` and `.readyup/manifest.json`, because the bundled check utilities changed: `readFile` no longer throws `EISDIR` for a directory path. (#537)",
39
+ "hash": "14d6595f23ea08f7218fc9a4f127039a1a4e6c16",
40
+ "entry": 1
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ },
2
46
  {
3
47
  "version": "0.7.1",
4
48
  "date": "2026-11-09",
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.45.0";
3
+ export const __readyupVersion = "0.46.1";
4
4
 
5
5
 
6
6
  // ../adoption/src/conventions/path-predicates.ts
@@ -32,7 +32,7 @@
32
32
  "path": "../../adoption/src/kits/defineAdoptionKit.ts"
33
33
  },
34
34
  {
35
- "hash": "09840c67",
35
+ "hash": "5f17b6f3",
36
36
  "kind": "module",
37
37
  "path": "../../adoption/src/mod.ts"
38
38
  },
@@ -56,6 +56,11 @@
56
56
  "kind": "module",
57
57
  "path": "../../adoption/src/portable/listTemplateLiterals.ts"
58
58
  },
59
+ {
60
+ "hash": "46a142a5",
61
+ "kind": "module",
62
+ "path": "../../adoption/src/portable/listTopLevelArguments.ts"
63
+ },
59
64
  {
60
65
  "hash": "a5dc0993",
61
66
  "kind": "module",
@@ -66,6 +71,11 @@
66
71
  "kind": "module",
67
72
  "path": "../../adoption/src/portable/readBalancedGroup.ts"
68
73
  },
74
+ {
75
+ "hash": "d20d533a",
76
+ "kind": "module",
77
+ "path": "../../adoption/src/portable/readFunctionLiteral.ts"
78
+ },
69
79
  {
70
80
  "hash": "81846f1a",
71
81
  "kind": "module",
@@ -94,10 +104,10 @@
94
104
  ],
95
105
  "name": "default",
96
106
  "path": "kits/default.js",
97
- "readyupVersion": "0.45.0",
107
+ "readyupVersion": "0.46.1",
98
108
  "source": "kits/default.ts",
99
109
  "sourceHash": "9b6938d1",
100
- "targetHash": "851b488a"
110
+ "targetHash": "9f5914cf"
101
111
  }
102
112
  ]
103
113
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.7.2 โ€” 2026-11-12
6
+
7
+ ### ๐Ÿ› Bug fixes
8
+
9
+ - Share one function-literal reader across the readiness kits (#470)
10
+
11
+ Fixes the issue that the biased-shuffle check in the `@williamthorsen/toolbelt.arrays` ReadyUp kit missed an inline `function` comparator whose parameter list contains braces, such as `function (a: { n: number }, b: { n: number }) { return Math.random() - 0.5; }`. The change moves the function-literal parsing of the `arrays`, `async`, and `vitest` kits into one shared reader in `adoption`, which finds a `function` expression's body past the braces in its parameter list.
12
+
13
+ - Claim a trailing-comma setTimeout as a hand-rolled sleep (#487)
14
+
15
+ Fixes the issue that the `@williamthorsen/toolbelt.async` ReadyUp kit did not report a hand-rolled sleep whose `setTimeout` call ends in a trailing comma, such as `setTimeout(resolve, 50,)`, as a candidate for `delay`. Replaces the two private copies of the argument splitter, which disagreed on the trailing comma, with one splitter in `packages/adoption` that the async and numbers kits both import.
16
+
17
+ ### ๐Ÿงช Tests
18
+
19
+ - Adds `createKitFixture`, which creates a tracked repo, points `process.cwd()` at it, and lists a kit's checks imported afresh, and `runEveryCheck`, which returns every check's report in order, to `@williamthorsen/toolbelt.adoption/test-utils`, and rewrites the kit tests in `src/readiness/__tests__/kit.tool.test.ts` to replace the repeated `createTrackedRepo`, `pointCwdAt`, and `listFreshKitChecks` calls with them. (#469)
20
+
21
+ ### ๐Ÿ“ฆ Dependencies
22
+
23
+ - Upgrades the catalog's `readyup` from 0.45.1 to 0.46.0 and recompiles each package's `.readyup/kits/default.js` and `.readyup/manifest.json`, because the bundled check utilities changed: `readFile` no longer throws `EISDIR` for a directory path. (#537)
24
+
5
25
  ## 0.7.1 โ€” 2026-11-09
6
26
 
7
27
  ### โ™ป๏ธ Refactoring
package/README.md CHANGED
@@ -4,7 +4,19 @@
4
4
 
5
5
  Package and project layout utilities for TypeScript and JavaScript: where a package or project boundary begins, and what the manifest at that boundary declares.
6
6
 
7
- <!-- section:release-notes --><!-- /section:release-notes -->
7
+ <!-- section:release-notes -->
8
+ ## Release notes โ€” v0.7.2 (2026-11-12)
9
+
10
+ ### ๐Ÿ› Bug fixes
11
+
12
+ - Share one function-literal reader across the readiness kits (#470)
13
+
14
+ Fixes the issue that the biased-shuffle check in the `@williamthorsen/toolbelt.arrays` ReadyUp kit missed an inline `function` comparator whose parameter list contains braces, such as `function (a: { n: number }, b: { n: number }) { return Math.random() - 0.5; }`. The change moves the function-literal parsing of the `arrays`, `async`, and `vitest` kits into one shared reader in `adoption`, which finds a `function` expression's body past the braces in its parameter list.
15
+
16
+ - Claim a trailing-comma setTimeout as a hand-rolled sleep (#487)
17
+
18
+ Fixes the issue that the `@williamthorsen/toolbelt.async` ReadyUp kit did not report a hand-rolled sleep whose `setTimeout` call ends in a trailing comma, such as `setTimeout(resolve, 50,)`, as a candidate for `delay`. Replaces the two private copies of the argument splitter, which disagreed on the trailing comma, with one splitter in `packages/adoption` that the async and numbers kits both import.
19
+ <!-- /section:release-notes -->
8
20
 
9
21
  ## Installation
10
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.packaging",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Package and project layout utilities: where a package or project boundary begins, and what its manifest declares",
5
5
  "keywords": [
6
6
  "esm",
@@ -46,15 +46,15 @@
46
46
  ".meta/changelog.json"
47
47
  ],
48
48
  "dependencies": {
49
- "@williamthorsen/toolbelt.filesystem": "0.10.1",
50
- "@williamthorsen/toolbelt.objects": "4.4.1"
49
+ "@williamthorsen/toolbelt.filesystem": "0.10.2",
50
+ "@williamthorsen/toolbelt.objects": "4.4.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@williamthorsen/toolbelt.adoption": "0.1.0",
54
- "@williamthorsen/toolbelt.strings": "8.2.2",
55
- "@williamthorsen/toolbelt.testing": "0.8.1",
54
+ "@williamthorsen/toolbelt.strings": "8.2.3",
55
+ "@williamthorsen/toolbelt.testing": "0.8.2",
56
56
  "esbuild": "0.28.2",
57
- "readyup": "0.45.0"
57
+ "readyup": "0.46.1"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=24.0.0"