|
1 | 1 | { |
2 | 2 | "name": "p-queue", |
3 | | - "version": "8.1.0", |
| 3 | + "version": "9.0.0", |
4 | 4 | "description": "Promise queue with concurrency control", |
5 | 5 | "license": "MIT", |
6 | 6 | "repository": "sindresorhus/p-queue", |
|
16 | 16 | }, |
17 | 17 | "scripts": { |
18 | 18 | "build": "del-cli dist && tsc", |
19 | | - "test": "xo && ava && del-cli dist && tsc && tsd", |
| 19 | + "test": "xo && node --import=tsx/esm --test test/*.ts && del-cli dist && tsc && tsd", |
20 | 20 | "bench": "node --import=tsx/esm bench.ts", |
21 | 21 | "prepublishOnly": "del-cli dist && tsc" |
22 | 22 | }, |
|
48 | 48 | ], |
49 | 49 | "dependencies": { |
50 | 50 | "eventemitter3": "^5.0.1", |
51 | | - "p-timeout": "^6.1.2" |
| 51 | + "p-timeout": "^7.0.0" |
52 | 52 | }, |
53 | 53 | "devDependencies": { |
54 | | - "@sindresorhus/tsconfig": "^5.0.0", |
| 54 | + "@sindresorhus/tsconfig": "^8.0.1", |
55 | 55 | "@types/benchmark": "^2.1.5", |
56 | | - "@types/node": "^20.10.4", |
57 | | - "ava": "^5.3.1", |
| 56 | + "@types/node": "^24.5.1", |
58 | 57 | "benchmark": "^2.1.4", |
59 | | - "del-cli": "^5.1.0", |
| 58 | + "del-cli": "^6.0.0", |
60 | 59 | "delay": "^6.0.0", |
61 | 60 | "in-range": "^3.0.0", |
62 | | - "p-defer": "^4.0.0", |
63 | | - "random-int": "^3.0.0", |
| 61 | + "p-defer": "^4.0.1", |
| 62 | + "random-int": "^3.1.0", |
64 | 63 | "time-span": "^5.1.0", |
65 | | - "tsd": "^0.29.0", |
66 | | - "tsx": "^4.6.2", |
67 | | - "typescript": "^5.3.3", |
68 | | - "xo": "^0.56.0" |
69 | | - }, |
70 | | - "ava": { |
71 | | - "workerThreads": false, |
72 | | - "files": [ |
73 | | - "test/**" |
74 | | - ], |
75 | | - "extensions": { |
76 | | - "ts": "module" |
77 | | - }, |
78 | | - "nodeArguments": [ |
79 | | - "--import=tsx/esm" |
80 | | - ] |
| 64 | + "tsd": "^0.33.0", |
| 65 | + "tsx": "^4.20.5", |
| 66 | + "typescript": "^5.9.2", |
| 67 | + "xo": "^1.2.2" |
81 | 68 | }, |
82 | 69 | "xo": { |
83 | 70 | "rules": { |
84 | 71 | "@typescript-eslint/member-ordering": "off", |
85 | 72 | "@typescript-eslint/no-floating-promises": "off", |
86 | | - "@typescript-eslint/no-invalid-void-type": "off" |
| 73 | + "@typescript-eslint/no-unsafe-call": "off", |
| 74 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 75 | + "@typescript-eslint/no-unsafe-return": "off", |
| 76 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 77 | + "@typescript-eslint/prefer-promise-reject-errors": "off", |
| 78 | + "ava/no-import-test-files": "off" |
87 | 79 | } |
88 | 80 | } |
89 | 81 | } |
0 commit comments