|
14 | 14 | "lint": "eslint {src,test}/**/*.ts", |
15 | 15 | "test": "npm run lint && npm run build && nyc npm run test-only", |
16 | 16 | "test-nolint": "npm run build && npm run test-only", |
17 | | - "test-only": "mocha --colors -r ts-node/register test/*.ts", |
| 17 | + "test-only": "NODE_OPTIONS=--experimental-strip-types mocha --colors test/*.ts", |
18 | 18 | "build": "node-gyp rebuild && npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", |
19 | 19 | "prepack": "npm run build", |
20 | 20 | "compile-ts": "tsc -p tsconfig.json" |
|
35 | 35 | }, |
36 | 36 | "license": "Apache-2.0", |
37 | 37 | "devDependencies": { |
38 | | - "@types/mocha": "^8.0.3", |
39 | | - "@types/node": "^14.11.1", |
| 38 | + "@types/mocha": "^10.0.10", |
| 39 | + "@types/node": "^25.5.2", |
40 | 40 | "@typescript-eslint/eslint-plugin": "^4.2.0", |
41 | 41 | "@typescript-eslint/parser": "^4.2.0", |
42 | 42 | "eslint": "^7.9.0", |
|
47 | 47 | "eslint-plugin-promise": "^4.2.1", |
48 | 48 | "eslint-plugin-standard": "^4.0.1", |
49 | 49 | "gen-esm-wrapper": "^1.1.0", |
50 | | - "mocha": "^8.1.3", |
51 | | - "node-fetch": "^2.6.1", |
| 50 | + "mocha": "^11.7.5", |
52 | 51 | "nyc": "^15.1.0", |
53 | | - "ts-node": "^9.0.0", |
54 | | - "typescript": "^4.0.3" |
55 | | - }, |
56 | | - "dependencies": { |
57 | | - "bindings": "^1.5.0" |
| 52 | + "typescript": "^6.0.2" |
58 | 53 | } |
59 | 54 | } |
0 commit comments