node-version-use 1.7.13 → 1.7.14
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/package.json +2 -2
- package/dist/cjs/cli.d.cts +0 -2
- package/dist/cjs/constants.d.cts +0 -1
- package/dist/cjs/index.d.cts +0 -6
- package/dist/cjs/types.d.cts +0 -22
- package/dist/cjs/worker.d.cts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-version-use",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.14",
|
|
4
4
|
"description": "Cross-platform solution for using multiple versions of node. Useful for compatibility testing",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"main": "dist/cjs/index.js",
|
|
29
|
-
"types": "dist/cjs/index.d.
|
|
29
|
+
"types": "dist/cjs/index.d.ts",
|
|
30
30
|
"bin": {
|
|
31
31
|
"nvu": "bin/cli.js"
|
|
32
32
|
},
|
package/dist/cjs/cli.d.cts
DELETED
package/dist/cjs/constants.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const storagePath: string;
|
package/dist/cjs/index.d.cts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { UseCallback, UseOptions, UseResult } from './types.js';
|
|
2
|
-
export type * from './types.js';
|
|
3
|
-
export default function nodeVersionUse(versionExpression: string, command: string, args: string[]): Promise<UseResult[]>;
|
|
4
|
-
export default function nodeVersionUse(versionExpression: string, command: string, args: string[], options: UseOptions): Promise<UseResult[]>;
|
|
5
|
-
export default function nodeVersionUse(versionExpression: string, command: string, args: string[], callback: UseCallback): undefined;
|
|
6
|
-
export default function nodeVersionUse(versionExpression: string, command: string, args: string[], options: UseOptions, callback: UseCallback): undefined;
|
package/dist/cjs/types.d.cts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { SpawnOptions, SpawnResult } from 'cross-spawn-cb';
|
|
2
|
-
import type { VersionOptions } from 'node-resolve-versions';
|
|
3
|
-
import type { InstallOptions, InstallResult } from 'node-version-install';
|
|
4
|
-
export interface UseResult {
|
|
5
|
-
install: InstallResult;
|
|
6
|
-
command: string;
|
|
7
|
-
version: string;
|
|
8
|
-
result?: SpawnResult;
|
|
9
|
-
error?: Error;
|
|
10
|
-
}
|
|
11
|
-
export interface UseError extends Error {
|
|
12
|
-
results: UseResult[] | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface Options {
|
|
15
|
-
range?: string;
|
|
16
|
-
concurrency?: number;
|
|
17
|
-
sort?: number;
|
|
18
|
-
streaming?: boolean;
|
|
19
|
-
expanded?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export type UseOptions = Options | InstallOptions | VersionOptions | SpawnOptions;
|
|
22
|
-
export type UseCallback = (err?: UseError | Error, results?: UseResult[]) => undefined;
|
package/dist/cjs/worker.d.cts
DELETED