node-install-release 1.14.9 → 1.14.10
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 -25
- package/dist/cjs/createResult.d.cts +0 -2
- package/dist/cjs/createStoragePaths.d.cts +0 -2
- package/dist/cjs/files.d.cts +0 -3
- package/dist/cjs/index.d.cts +0 -8
- package/dist/cjs/installNPM/index.d.cts +0 -2
- package/dist/cjs/installNPM/installBin.d.cts +0 -2
- package/dist/cjs/installNPM/installLib.d.cts +0 -3
- package/dist/cjs/installNode/index.d.cts +0 -2
- package/dist/cjs/installNode/installCompressed.d.cts +0 -2
- package/dist/cjs/installNode/installExe.d.cts +0 -2
- package/dist/cjs/installNode/installFilename.d.cts +0 -2
- package/dist/cjs/installNode/installSource/buildPosix.d.cts +0 -2
- package/dist/cjs/installNode/installSource/buildWin32.d.cts +0 -2
- package/dist/cjs/installNode/installSource/index.d.cts +0 -2
- package/dist/cjs/installNode/validateDownload.d.cts +0 -2
- package/dist/cjs/lib/checkMissing.d.cts +0 -3
- package/dist/cjs/lib/conditionalCache.d.cts +0 -2
- package/dist/cjs/lib/conditionalCopy.d.cts +0 -2
- package/dist/cjs/lib/conditionalExtract.d.cts +0 -2
- package/dist/cjs/lib/copyFile.d.cts +0 -2
- package/dist/cjs/lib/ensureDestinationParent.d.cts +0 -2
- package/dist/cjs/lib/getTarget.d.cts +0 -2
- package/dist/cjs/types.d.cts +0 -39
- package/dist/cjs/workers/install.d.cts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-install-release",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.10",
|
|
4
4
|
"description": "Cross-platform solution for installing releases of Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"main": "dist/cjs/index.js",
|
|
28
|
-
"types": "dist/cjs/index.d.
|
|
28
|
+
"types": "dist/cjs/index.d.ts",
|
|
29
29
|
"bin": {
|
|
30
30
|
"nir": "bin/cli.js"
|
|
31
31
|
},
|
package/dist/cjs/cli.d.cts
DELETED
package/dist/cjs/constants.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { FilePath } from './types.js';
|
|
2
|
-
export declare const FILES: Record<string, import("./types.js").File[]>;
|
|
3
|
-
export declare const DEFAULT_STORAGE_PATH: string;
|
|
4
|
-
export declare const DEFAULT_STORAGE_PATHS: import("./types.js").StorageLocations;
|
|
5
|
-
export declare const FILE_PLATFORMS: string[];
|
|
6
|
-
export declare const FILE_PLATFORM_MAP: {
|
|
7
|
-
win: string;
|
|
8
|
-
win32: string;
|
|
9
|
-
osx: string;
|
|
10
|
-
darwin: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const EXTENSIONS_COMPRESSED: string[];
|
|
13
|
-
export declare const NODE_FILE_PATHS: {
|
|
14
|
-
win32: string;
|
|
15
|
-
posix: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const NODE_DIST_BASE_URL = "https://nodejs.org/dist";
|
|
18
|
-
export declare const NODE_SCHEDULES_URL = "https://raw.githubusercontent.com/nodejs/Release/master/schedule.json";
|
|
19
|
-
export declare const NPM_DIST_URL = "https://registry.npmjs.org/npm";
|
|
20
|
-
export declare const NPM_DIST_TAGS_URL = "https://registry.npmjs.org/-/package/npm/dist-tags";
|
|
21
|
-
export declare const NPM_MIN_VERSION = 3;
|
|
22
|
-
export declare const NPM_FILE_PATHS: {
|
|
23
|
-
win32: FilePath[];
|
|
24
|
-
posix: FilePath[];
|
|
25
|
-
};
|
package/dist/cjs/files.d.cts
DELETED
package/dist/cjs/index.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { InstallCallback, InstallOptions, InstallResult } from './types.js';
|
|
2
|
-
export type * from './types.js';
|
|
3
|
-
export default function install(versionExpression: string): Promise<InstallResult>;
|
|
4
|
-
export default function install(versionExpression: string, options: InstallOptions): Promise<InstallResult>;
|
|
5
|
-
export default function install(versionExpression: string, callback: InstallCallback): undefined;
|
|
6
|
-
export default function install(versionExpression: string, options: InstallOptions, callback: InstallCallback): undefined;
|
|
7
|
-
export { default as createResult } from './createResult.js';
|
|
8
|
-
export { default as createStoragePaths } from './createStoragePaths.js';
|
package/dist/cjs/types.d.cts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { VersionOptions } from 'node-resolve-versions';
|
|
2
|
-
export interface File {
|
|
3
|
-
filename: string;
|
|
4
|
-
starting: string;
|
|
5
|
-
}
|
|
6
|
-
export interface FilePath {
|
|
7
|
-
src: string;
|
|
8
|
-
dest: string;
|
|
9
|
-
optional?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export type StorageLocations = {
|
|
12
|
-
cachePath: string;
|
|
13
|
-
buildPath: string;
|
|
14
|
-
installPath: string;
|
|
15
|
-
};
|
|
16
|
-
export type InstallResult = {
|
|
17
|
-
version: string;
|
|
18
|
-
installPath: string;
|
|
19
|
-
execPath: string;
|
|
20
|
-
platform: NodeJS.Platform;
|
|
21
|
-
};
|
|
22
|
-
export interface InstallOptions extends VersionOptions {
|
|
23
|
-
type?: string;
|
|
24
|
-
compression?: boolean;
|
|
25
|
-
installPath?: string;
|
|
26
|
-
buildPath?: string;
|
|
27
|
-
name?: string;
|
|
28
|
-
storagePath?: string;
|
|
29
|
-
filename?: string;
|
|
30
|
-
platform?: NodeJS.Platform;
|
|
31
|
-
arch?: NodeJS.Architecture;
|
|
32
|
-
cachePath?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface Target {
|
|
35
|
-
platform: NodeJS.Platform;
|
|
36
|
-
arch: NodeJS.Architecture;
|
|
37
|
-
}
|
|
38
|
-
export type InstallCallback = (err?: Error, result?: InstallResult) => void;
|
|
39
|
-
export type NoParamCallback = (err?: Error) => void;
|