mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
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.
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "@claude-flow/browser",
|
|
"version": "3.0.0-alpha.3",
|
|
"description": "Browser automation for AI agents - integrates agent-browser with claude-flow swarms",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./mcp-tools": "./dist/mcp-tools/index.js",
|
|
"./skill": "./dist/skill/index.js",
|
|
"./agent": "./dist/agent/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "vitest run tests/e2e",
|
|
"lint": "eslint src/",
|
|
"typecheck": "tsc --noEmit",
|
|
"postinstall": "node -e \"const{execSync}=require('child_process');try{execSync('agent-browser --version',{stdio:'ignore'});}catch{console.log('\\n📦 Installing agent-browser globally...');try{execSync('npm install -g agent-browser@latest',{stdio:'inherit'});console.log('✅ agent-browser installed successfully!');}catch(e){console.log('⚠️ Could not install agent-browser globally. Run manually:\\n npm install -g agent-browser@latest');}}\""
|
|
},
|
|
"dependencies": {
|
|
"agent-browser": "^0.6.0",
|
|
"agentic-flow": "^2.0.3",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@claude-flow/cli": ">=3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"automation",
|
|
"ai-agent",
|
|
"claude-flow",
|
|
"playwright",
|
|
"web-scraping",
|
|
"testing"
|
|
],
|
|
"author": "ruvnet",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ruvnet/claude-flow.git",
|
|
"directory": "v3/@claude-flow/browser"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|