Files
bun.sh/bench/package.json
Claude Bot 0d2f84c625 Revert root and bench React to 18.x to fix test infrastructure
The root package.json React is used by the test infrastructure via
file: references. Upgrading it to React 19 breaks the test harness
since test/package.json still has React 18 type definitions and
react-dom 18.3.1.

Keep React 19 updates only in:
- src/init/* templates (user-facing)
- test/integration/next-pages (Next.js integration test)
- test/js/third_party/next-auth/fixture (next-auth test)
- test/bake/fixtures/react-spa-simple (bake test)
- bench/install (install benchmark with Next.js)
- bench/react-hello-world (React benchmark)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 11:56:39 +00:00

37 lines
1.1 KiB
JSON

{
"name": "bench",
"dependencies": {
"@babel/core": "^7.16.10",
"@babel/preset-react": "^7.16.7",
"@babel/standalone": "^7.24.7",
"@swc/core": "^1.2.133",
"benchmark": "^2.1.4",
"braces": "^3.0.2",
"color": "^4.2.3",
"esbuild": "^0.14.12",
"eventemitter3": "^5.0.0",
"execa": "^8.0.1",
"fast-glob": "3.3.1",
"fastify": "^5.0.0",
"fdir": "^6.1.0",
"mitata": "^1.0.25",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"string-width": "7.1.0",
"strip-ansi": "^7.1.0",
"tinycolor2": "^1.6.0",
"zx": "^7.2.3"
},
"scripts": {
"ffi": "cd ffi && bun run deps && bun run build && bun run bench",
"log": "cd log && bun run deps && bun run build && bun run bench",
"gzip": "cd gzip && bun run deps && bun run build && bun run bench",
"async": "cd async && bun run deps && bun run build && bun run bench",
"sqlite": "cd sqlite && bun run deps && bun run build && bun run bench",
"modules:node_os": "cd modules/node_os && bun run deps &&bun run build && bun run bench"
},
"devDependencies": {
"fast-deep-equal": "^3.1.3"
}
}