Files
ruflo/v3/@claude-flow/testing/package.json
T
rUv b9e2eb37e0 fix(deps): bump vulnerable vitest pins to ^4.0.16 (#1609) (#1819)
Several @claude-flow/* packages still pinned vitest to ^1.x or ^2.x.
That range pulls vite <=6.4.1 → esbuild <=0.24.2, which carries
GHSA-67mh-4wv8-2f99 (esbuild dev server exposes arbitrary file reads
via network) — npm audit reports 4 moderate-severity vulnerabilities.

Fix is to bump every workspace package to vitest ^4.0.16 (which pulls
vite >=6.4.2, esbuild >=0.25.0, all clear). Most packages were already
on 4.x; this PR bumps the holdouts:

  - @claude-flow/aidefence              ^1.1.0 → ^4.0.16
  - @claude-flow/browser                ^2.0.0 → ^4.0.16
  - @claude-flow/codex                  ^1.4.0 → ^4.0.16
  - @claude-flow/plugin-agent-federation ^1.6.0 → ^4.0.16
  - @claude-flow/plugin-iot-cognitum    ^1.6.0 → ^4.0.16
  - @claude-flow/testing peerDep        >=1.0.0 → >=4.0.16

The lockfile regenerated cleanly — net 590 lines smaller as the dual
vitest 1.x / 2.x transitive trees collapse into a single 4.x tree.

Republish required for the affected packages to land the fix on npm
(this only updates source + workspace lockfile).

Closes #1609.
2026-05-06 16:53:24 -04:00

62 lines
1.5 KiB
JSON

{
"name": "@claude-flow/testing",
"version": "3.0.0-alpha.6",
"type": "module",
"description": "Testing module - TDD London School framework, test utilities, fixtures, and mock services for V3 Claude-Flow",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.js",
"import": "./dist/index.js"
},
"./helpers": {
"types": "./dist/helpers/index.d.js",
"import": "./dist/helpers/index.js"
},
"./fixtures": {
"types": "./dist/fixtures/index.d.js",
"import": "./dist/fixtures/index.js"
},
"./mocks": {
"types": "./dist/mocks/index.d.js",
"import": "./dist/mocks/index.js"
},
"./setup": {
"types": "./dist/setup.d.js",
"import": "./dist/setup.js"
}
},
"scripts": {
"build": "tsc",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"keywords": [
"claude-flow",
"testing",
"vitest",
"tdd",
"london-school",
"mocks",
"fixtures"
],
"peerDependencies": {
"@claude-flow/memory": "^3.0.0-alpha.2",
"@claude-flow/shared": "^3.0.0-alpha.1",
"@claude-flow/swarm": "^3.0.0-alpha.1",
"vitest": ">=4.0.16"
},
"devDependencies": {
"@claude-flow/memory": "^3.0.0-alpha.2",
"@claude-flow/shared": "^3.0.0-alpha.1",
"@claude-flow/swarm": "^3.0.0-alpha.1",
"typescript": "^5.3.0",
"vitest": "^4.0.16"
},
"publishConfig": {
"access": "public",
"tag": "v3alpha"
}
}