mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-03 22:12:01 +09:00
zod < 4.6.6 can exhaust memory validating oversized constrained collections (GHSA-mrhx-c7xc-m3w5, high); there is no 3.x fix. @claude-flow/shared is the most-installed zod 3 holdout (~286k downloads/month, a dependency of the cli, hooks, claims, guidance, testing, deployment and the iot/federation plugins). - config validator: ZodError.errors -> .issues; foreign ZodErrors are recognised by shape; z.ZodType<Out, In> (port from #4535 by Dragan Spiridonov) - schema: one-argument z.record(value) -> z.record(z.string(), value) - express ^4.22.2 || ^5.0.0 -> ^4.22.3 || ^5.1.0: 4.22.2 and 5.0.0-5.0.1 are inside GHSA-qw6h-vgh9-j6wx - advisory-ranges test over the manifest (zod, express, ws) - ADR-356 metadata (homepage, repository with directory, bugs, keywords) and a README quickstart verified against a packed tarball, with a flow SVG shared is a registry-resolved leaf of @claude-flow/cli, so this PR also needs the cli pin ("@claude-flow/shared": "3.0.8") and the claude-flow root pin from the release lane, after 3.0.8 is on the registry. Co-authored-by: Dragan Spiridonov <spiridonovdragan@gmail.com> Co-Authored-By: claude-flow <ruv@ruv.net>
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"name": "@claude-flow/shared",
|
|
"version": "3.0.8",
|
|
"type": "module",
|
|
"description": "Shared types, event bus, config schemas and validators, MCP transport helpers and resilience utilities used by the Ruflo (claude-flow) V3 packages.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./types": "./dist/types/index.js",
|
|
"./core": "./dist/core/index.js",
|
|
"./events": "./dist/events/index.js",
|
|
"./hooks": "./dist/hooks/index.js",
|
|
"./mcp": "./dist/mcp/index.js",
|
|
"./security": "./dist/security/index.js",
|
|
"./resilience": "./dist/resilience/index.js",
|
|
"./src/plugin-interface.js": "./dist/plugin-interface.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!dist/**/*.test.*",
|
|
"!dist/**/*.spec.*",
|
|
"!dist/**/__tests__",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@types/ws": "^8.5.10",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.22.3 || ^5.1.0",
|
|
"helmet": "^7.2.0",
|
|
"sql.js": "^1.10.3",
|
|
"ws": "^8.21.0",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.0.0",
|
|
"@types/sql.js": "^1.4.9",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"ruflo",
|
|
"claude-flow",
|
|
"shared",
|
|
"types",
|
|
"event-bus",
|
|
"config-validation",
|
|
"zod",
|
|
"mcp",
|
|
"resilience",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://ruv.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ruvnet/ruflo.git",
|
|
"directory": "v3/@claude-flow/shared"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/ruflo/issues"
|
|
}
|
|
}
|