node-version-utils 1.2.14 → 1.2.15
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/dist/esm/index.d.mts +2 -0
- package/dist/esm/lib/startsWithFn.d.mts +1 -0
- package/dist/esm/spawnOptions.d.mts +2 -0
- package/dist/esm/types.d.mts +11 -0
- package/package.json +9 -8
- /package/dist/{types/index.d.ts → cjs/index.d.cts} +0 -0
- /package/dist/{types/lib/startsWithFn.d.ts → cjs/lib/startsWithFn.d.cts} +0 -0
- /package/dist/{types/spawnOptions.d.ts → cjs/spawnOptions.d.cts} +0 -0
- /package/dist/{types/types.d.ts → cjs/types.d.cts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function startsWithFn(string: any): (key: any) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type cp from 'child_process';
|
|
2
|
+
export type SpawnOptions = cp.SpawnOptions;
|
|
3
|
+
export interface ProcessEnv extends NodeJS.ProcessEnv {
|
|
4
|
+
npm_config_binroot: string;
|
|
5
|
+
npm_config_root: string;
|
|
6
|
+
npm_config_man: string;
|
|
7
|
+
npm_config_prefix: string;
|
|
8
|
+
npm_node_execpath: string;
|
|
9
|
+
NODE: string;
|
|
10
|
+
NODE_EXE?: string;
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-version-utils",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"description": "Utilities for running commands on a specific version of node by installed path",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -21,13 +21,14 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
".": {
|
|
25
|
+
"import": "./dist/esm/index.mjs",
|
|
26
|
+
"require": "./dist/cjs/index.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
27
29
|
},
|
|
28
30
|
"main": "dist/cjs/index.cjs",
|
|
29
|
-
"
|
|
30
|
-
"types": "dist/types/index.d.ts",
|
|
31
|
+
"types": "dist/cjs/index.d.cts",
|
|
31
32
|
"files": [
|
|
32
33
|
"dist"
|
|
33
34
|
],
|
|
@@ -39,8 +40,8 @@
|
|
|
39
40
|
"version": "tsds version"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"env-path-key": "^1.0.
|
|
43
|
-
"path-string-prepend": "^1.0.
|
|
43
|
+
"env-path-key": "^1.0.13",
|
|
44
|
+
"path-string-prepend": "^1.0.17"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@types/mocha": "*",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|