native-machine-id 0.1.2 → 0.2.0

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.
Files changed (1) hide show
  1. package/package.json +12 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-machine-id",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Native retrieval of a unique desktop machine ID without admin privileges or child processes. Faster and more reliable alternative to node-machine-id.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,13 +9,17 @@
9
9
  "bootstrap": "npm run compile",
10
10
  "pretest": "npm run compile",
11
11
  "install": "node-gyp rebuild",
12
+ "prettier": "prettier",
13
+ "typecheck": "tsc --noEmit",
12
14
  "test": "mocha",
13
15
  "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
14
16
  "test-ci": "npm run test-cov",
15
17
  "lint": "eslint . && prettier --check .",
16
- "check": "npm run lint && npm run test",
18
+ "depcheck": "depcheck",
19
+ "check": "npm run typecheck && npm run lint && npm run depcheck",
17
20
  "prepublishOnly": "npm run compile",
18
- "benchmark": "ts-node scripts/benchmark.ts"
21
+ "benchmark": "ts-node scripts/benchmark.ts",
22
+ "reformat": "npm run prettier -- --write ."
19
23
  },
20
24
  "author": "Compass Team <compass@mongodb.com>",
21
25
  "gypfile": true,
@@ -50,15 +54,15 @@
50
54
  "@mongodb-js/mocha-config-devtools": "^1.0.5",
51
55
  "@mongodb-js/prettier-config-devtools": "^1.0.2",
52
56
  "@mongodb-js/tsconfig-devtools": "^1.0.3",
53
- "@types/chai": "^4.2.21",
54
57
  "@types/mocha": "^9.1.1",
55
- "@types/node": "^17.0.35",
58
+ "@types/node": "^22.15.30",
56
59
  "@types/sinon-chai": "^3.2.5",
57
- "chai": "^4.5.0",
60
+ "depcheck": "^1.4.7",
58
61
  "eslint": "^7.25.0",
59
- "gen-esm-wrapper": "^1.1.1",
62
+ "gen-esm-wrapper": "^1.1.3",
60
63
  "mocha": "^8.4.0",
61
64
  "node-machine-id": "^1.1.12",
65
+ "prettier": "^3.5.3",
62
66
  "ts-node": "^10.9.2",
63
67
  "typescript": "^5.0.4"
64
68
  },
@@ -80,5 +84,5 @@
80
84
  "telemetry",
81
85
  "telemetry id"
82
86
  ],
83
- "gitHead": "de981133ae507a4b249e24755dd35065d414c237"
87
+ "gitHead": "005f6263e3a329d916f6936c9adcf35db47cfe9f"
84
88
  }