@namzu/sdk 42.0.1 → 42.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 (2) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Changelog
2
2
 
3
+ ## 42.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 175dab2: Nothing a consumer installs changes. These are devDependencies and toolchain
8
+ pins: no runtime dependency, export, type or default moved, and the published
9
+ surface is identical.
10
+
11
+ Four advisories, all dev-time, closed by moving the package that carried them
12
+ rather than by patching around them:
13
+
14
+ - `knip` `^6.4.1` → `^6.37.0`, which carries `smol-toml` ≥ 1.8.0 — the version
15
+ that fixes `GHSA-7w5x-hrqm-74c2` (a malformed-TOML denial of service).
16
+ - `tsx` `^4.19.0` → `^4.23.13`, which depends on `esbuild ~0.28.0`, fixing
17
+ `GHSA-g7r4-m6w7-qqqr` (arbitrary file read from the development server, and
18
+ only on Windows) — and collapsing two `esbuild` copies in the tree into one.
19
+ - `js-yaml`, twice, fixed by a workspace override rather than a parent upgrade,
20
+ because both copies arrive deep inside the Changesets CLI's own tree:
21
+ `^3.15.2` for the 3.x line and `^4.3.2` for the 4.x line, closing
22
+ `GHSA-2883-xcg3-v3hh` (a merge-key CPU exhaustion). Neither override widens
23
+ beyond what the parent already declared — `3.15.2` satisfies `^3.13.1` and
24
+ `4.3.2` satisfies `^4.1.0` — so no package is forced outside its range.
25
+
26
+ - 8d5223b: Nothing a consumer installs or calls changes, and that is the whole of this
27
+ release. `vitest` moves from `^3.2.6` to `^4.1.11` in the `devDependencies` of
28
+ all nineteen packages that declared it, and `@vitest/coverage-v8` moves with it
29
+ in `@namzu/sdk`. Every occurrence is a devDependency — checked, not assumed —
30
+ so `dependencies`, `peerDependencies`, exports, types, defaults and the wire
31
+ shape are untouched, and the published tarballs differ from the previous
32
+ release only in `package.json#devDependencies`.
33
+
34
+ The reason is a security fix with no 3.x backport. `GHSA-82fw-gwwq-j7x9`
35
+ ("Path Traversal / Arbitrary File Read via `@vitest/mocker` Redirect Mock")
36
+ covers `vitest` and `@vitest/mocker` from `2.1.0` up to `4.1.11`, so `^3.2.6`
37
+ can only be resolved by leaving the 3.x line. `4.1.11` is the first patched
38
+ release and is what the lockfile now resolves for both.
39
+
40
+ What this costs anyone who works on the repository rather than with it: the
41
+ upgrade was not a version bump. Vitest 4 changed test discovery, coverage
42
+ configuration, mock construction and reporter output, and each of those broke
43
+ something here that had to be migrated rather than worked around. Those fixes
44
+ are all under `__tests__/`, `vitest.config.ts` files and `scripts/`, none of
45
+ which is published, which is why this is a patch and not a major.
46
+
47
+ You do not need to do anything. If you pin `vitest` yourself to run this
48
+ project's own suites, note that the config files it ships are now written for
49
+ `>= 4.1.11` and will not run under 3.x.
50
+
3
51
  ## 42.0.1
4
52
 
5
53
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namzu/sdk",
3
- "version": "42.0.1",
3
+ "version": "42.0.2",
4
4
  "description": "Open-source AI agent SDK with a built-in runtime. Nothing between you and your agents.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "engines": {
@@ -63,12 +63,12 @@
63
63
  "@opentelemetry/api": "^1.9.0",
64
64
  "@types/brace-expansion": "^1.1.2",
65
65
  "@types/node": "^22.19.17",
66
- "@vitest/coverage-v8": "^3.2.6",
66
+ "@vitest/coverage-v8": "^4.1.11",
67
67
  "fast-check": "^4.7.0",
68
68
  "jsonschema": "^1.5.0",
69
- "knip": "^6.4.1",
69
+ "knip": "^6.37.0",
70
70
  "typescript": "^5.5.0",
71
- "vitest": "^3.2.6",
71
+ "vitest": "^4.1.11",
72
72
  "zod": "^3.23.0",
73
73
  "zod-to-json-schema": "^3.23.0"
74
74
  },