+21
-15
| { | ||
| "name": "arcjet", | ||
| "version": "1.5.0", | ||
| "version": "1.6.0", | ||
| "description": "Arcjet runtime security SDK — bot protection, rate limiting, prompt injection detection, PII blocking, and WAF for JavaScript and TypeScript apps", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
| "engines": { | ||
| "node": ">=20" | ||
| "node": ">=22.21.0 <23 || >=24.5.0" | ||
| }, | ||
@@ -53,21 +53,27 @@ "type": "module", | ||
| "test-api": "node --test -- test/*.test.js", | ||
| "test-coverage#": "TODO: after node 20, use: ` --test-coverage-branches=100 --test-coverage-exclude \"../{analyze-wasm,analyze,arcjet,cache,duration,env,headers,ip,logger,protocol,runtime,sprintf,stable-hash,transport}/**/*.{js,ts}\" --test-coverage-exclude \"test/**/*.{js,ts}\" --test-coverage-functions=100 --test-coverage-lines=100`", | ||
| "test-coverage": "node --experimental-test-coverage --test -- test/*.test.js", | ||
| "test-runtime-cloudflare": "npm run build && node --test test/runtime/cloudflare/cloudflare.test.ts", | ||
| "test-coverage": "node --experimental-test-coverage --test --test-coverage-branches=95 --test-coverage-exclude \"../{analyze-wasm,analyze,arcjet,cache,duration,env,headers,ip,logger,protocol,runtime,sprintf,stable-hash,transport}/**/*.{js,ts}\" --test-coverage-exclude \"test/**/*.{js,ts}\" --test-coverage-functions=100 --test-coverage-lines=95 -- test/*.test.js", | ||
| "test": "npm run build && npm run lint && npm run test-coverage" | ||
| }, | ||
| "dependencies": { | ||
| "@arcjet/analyze": "1.5.0", | ||
| "@arcjet/cache": "1.5.0", | ||
| "@arcjet/duration": "1.5.0", | ||
| "@arcjet/headers": "1.5.0", | ||
| "@arcjet/protocol": "1.5.0", | ||
| "@arcjet/runtime": "1.5.0", | ||
| "@arcjet/stable-hash": "1.5.0" | ||
| "@arcjet/analyze": "1.6.0", | ||
| "@arcjet/cache": "1.6.0", | ||
| "@arcjet/duration": "1.6.0", | ||
| "@arcjet/headers": "1.6.0", | ||
| "@arcjet/protocol": "1.6.0", | ||
| "@arcjet/runtime": "1.6.0", | ||
| "@arcjet/stable-hash": "1.6.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@arcjet/eslint-config": "1.5.0", | ||
| "@arcjet/rollup-config": "1.5.0", | ||
| "@rollup/wasm-node": "4.61.0", | ||
| "@types/node": "24.12.4", | ||
| "@arcjet/eslint-config": "1.6.0", | ||
| "@arcjet/rollup-config": "1.6.0", | ||
| "@arcjet/transport": "1.6.0", | ||
| "@bufbuild/protobuf": "2.12.0", | ||
| "@connectrpc/connect": "2.1.2", | ||
| "@connectrpc/connect-node": "2.1.2", | ||
| "@rollup/wasm-node": "4.62.2", | ||
| "@types/node": "22.19.21", | ||
| "eslint": "9.39.4", | ||
| "miniflare": "4.20260617.1", | ||
| "rolldown": "1.1.2", | ||
| "typescript": "5.9.3" | ||
@@ -74,0 +80,0 @@ }, |
Sorry, the diff of this file is too big to display
149688
0.5%3596
0.22%12
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated