unwrap-npm-cmd 2.0.0 → 2.1.1

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +14 -4
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { resolveNpmCmd } from "./resolve-npm-cmd.js";
2
- import { quote, relative } from "./utils.js";
2
+ import { quote, relative, unquote } from "./utils.js";
3
3
  export { quote, relative, unquote } from "./utils.js";
4
4
  export { resolveNpmCmd } from "./resolve-npm-cmd.js";
5
5
  const RESOLVE_CACHE = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unwrap-npm-cmd",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Unwrap npm's node.js bin CMD batch for js files on Windows",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -14,12 +14,12 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "engines": {
17
- "node": ">=22.12.0"
17
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
18
18
  },
19
19
  "scripts": {
20
20
  "build": "rm -rf dist && tsc -p tsconfig.json",
21
21
  "test": "vitest run",
22
- "ci:check": "tsc --noEmit -p tsconfig.json && npm test",
22
+ "ci:check": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json && npm test",
23
23
  "coverage": "vitest run --coverage",
24
24
  "prepublishOnly": "xrun build",
25
25
  "postpack": "publish-util-postpack"
@@ -51,7 +51,17 @@
51
51
  "directory": "packages/unwrap-npm-cmd"
52
52
  },
53
53
  "dependencies": {
54
- "which": "^7.0.0"
54
+ "which": "^6.0.1"
55
+ },
56
+ "devDependencies": {
57
+ "@types/node": "^26.4.1",
58
+ "@types/which": "^3.0.4",
59
+ "@vitest/coverage-v8": "^5.0.0",
60
+ "prettier": "^3.5.3",
61
+ "publish-util": "^3.1.1",
62
+ "typescript": "^7.0.2",
63
+ "vite": "^8.2.2",
64
+ "vitest": "^5.0.0"
55
65
  },
56
66
  "sideEffects": false
57
67
  }