"main": "dist/main.js",
"type": "module",
"volta": {
- "node": "20.11.0",
- "pnpm": "8.15.0"
+ "node": "22.1.0",
+ "pnpm": "9.1.0"
},
+ "packageManager": "pnpm@9.1.0",
"scripts": {
"build": "rollup --config --configPlugin typescript",
"start": "node --enable-source-maps dist/main.cjs",
"start:esm": "node --enable-source-maps dist/main.js",
"test": "echo \"Error: no test specified\" && exit 1",
"benchmark:echo": "autocannon -c 100 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo",
- "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/30"
+ "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/50000"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
- "fastify": "^4.25.2",
+ "fastify": "^4.26.2",
"fastify-plugin": "^4.5.1",
- "poolifier": "^3.1.19"
+ "poolifier": "^4.0.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
- "@types/node": "^20.11.10",
- "autocannon": "^7.14.0",
- "rollup": "^4.9.6",
+ "@types/node": "^20.12.8",
+ "autocannon": "^7.15.0",
+ "rollup": "^4.17.2",
"rollup-plugin-delete": "^2.0.0",
"tslib": "^2.6.2",
- "typescript": "^5.3.3"
+ "typescript": "^5.4.5"
}
}