overtake 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/index.js +3 -2
- package/package.json +20 -13
package/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Command, Option } from 'commander';
|
|
|
4
4
|
import Path from 'path';
|
|
5
5
|
import { glob } from 'glob';
|
|
6
6
|
import { load, createScript, benchmark, setup, teardown, measure, perform, run, defaultReporter, allowedFields } from './index.js';
|
|
7
|
-
import packageJson from './package.json'
|
|
7
|
+
import packageJson from './package.json' with { type: 'json' };
|
|
8
8
|
|
|
9
9
|
const commands = new Command();
|
|
10
10
|
|
package/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import WorkerThreads from 'node:worker_threads';
|
|
2
|
+
import pkg from 'conode';
|
|
3
|
+
const { createContext } = pkg;
|
|
3
4
|
|
|
4
5
|
const overtakeContext = createContext();
|
|
5
6
|
const suiteContext = createContext();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "overtake",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "NodeJS performance benchmark",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"start": "./cli.js",
|
|
13
|
-
"test": "
|
|
14
|
-
"prepare": "husky
|
|
13
|
+
"test": "jest --detectOpenHandles",
|
|
14
|
+
"prepare": "husky"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -31,17 +31,24 @@
|
|
|
31
31
|
"homepage": "https://github.com/3axap4eHko/overtake#readme",
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@jest/globals": "^29.7.0",
|
|
34
|
-
"@
|
|
35
|
-
"
|
|
34
|
+
"@swc/core": "^1.11.24",
|
|
35
|
+
"@swc/jest": "^0.2.38",
|
|
36
|
+
"@types/jest": "^29.5.14",
|
|
37
|
+
"@types/node": "^22.15.18",
|
|
38
|
+
"ajv": "^8.17.1",
|
|
39
|
+
"ascertain": "1.2.104",
|
|
40
|
+
"husky": "^9.1.7",
|
|
36
41
|
"jest": "^29.7.0",
|
|
37
|
-
"mongodb": "^6.
|
|
38
|
-
"pg": "^8.
|
|
39
|
-
"prettier": "^3.
|
|
40
|
-
"pretty-quick": "^4.
|
|
42
|
+
"mongodb": "^6.16.0",
|
|
43
|
+
"pg": "^8.16.0",
|
|
44
|
+
"prettier": "^3.5.3",
|
|
45
|
+
"pretty-quick": "^4.1.1",
|
|
46
|
+
"zod": "^3.24.4"
|
|
41
47
|
},
|
|
42
48
|
"dependencies": {
|
|
43
|
-
"commander": "^
|
|
44
|
-
"conode": "^0.
|
|
45
|
-
"glob": "^
|
|
46
|
-
}
|
|
49
|
+
"commander": "^13.1.0",
|
|
50
|
+
"conode": "^0.2.0",
|
|
51
|
+
"glob": "^11.0.2"
|
|
52
|
+
},
|
|
53
|
+
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
47
54
|
}
|