"main": "dist/main.js",
"type": "module",
"volta": {
- "node": "20.10.0",
- "pnpm": "8.12.1"
+ "node": "22.2.0",
+ "pnpm": "9.1.3"
},
+ "packageManager": "pnpm@9.1.3",
"scripts": {
"build": "pnpm build:clean && tsc",
"build:clean": "tsc --build --clean",
"start": "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.1",
+ "fastify": "^4.27.0",
"fastify-plugin": "^4.5.1",
- "poolifier": "^3.1.7"
+ "poolifier": "^4.0.13"
},
"devDependencies": {
- "@types/node": "^20.10.5",
- "autocannon": "^7.14.0",
- "typescript": "^5.3.3"
+ "@types/node": "^20.12.12",
+ "autocannon": "^7.15.0",
+ "typescript": "^5.4.5"
}
}