node-install-release 1.9.5 → 1.9.6

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/types.ts"],"sourcesContent":["export type StorageLocations = {\n cachePath: string;\n buildPath: string;\n installPath: string;\n};\n\nexport type InstallResult = {\n version: string;\n installPath: string;\n execPath: string;\n};\n\nexport interface InstallOptions {\n installPath?: string;\n name?: string;\n storagePath?: string;\n filename?: string;\n}\n\nexport type InstallCallback = (err?: Error, result?: InstallResult) => void;\n"],"names":[],"mappings":"AAmBA,WAA4E"}
1
+ {"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/types.ts"],"sourcesContent":["export type StorageLocations = {\n cachePath: string;\n buildPath: string;\n installPath: string;\n};\n\nexport type InstallResult = {\n version: string;\n installPath: string;\n execPath: string;\n};\n\nexport interface InstallOptions {\n installPath?: string;\n name?: string;\n storagePath?: string;\n filename?: string;\n platform?: NodeJS.Platform;\n arch?: NodeJS.Architecture;\n}\n\nexport type InstallCallback = (err?: Error, result?: InstallResult) => void;\n"],"names":[],"mappings":"AAqBA,WAA4E"}
@@ -13,5 +13,7 @@ export interface InstallOptions {
13
13
  name?: string;
14
14
  storagePath?: string;
15
15
  filename?: string;
16
+ platform?: NodeJS.Platform;
17
+ arch?: NodeJS.Architecture;
16
18
  }
17
19
  export type InstallCallback = (err?: Error, result?: InstallResult) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-install-release",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
4
4
  "description": "Cross-platform solution for installing releases of Node.js",
5
5
  "keywords": [
6
6
  "node",
@@ -66,7 +66,7 @@
66
66
  "cr": "^0.1.0",
67
67
  "fs-exists-sync": "^0.1.0",
68
68
  "node-version-compare": "^1.0.3",
69
- "node-version-utils": "^1.2.4",
69
+ "node-version-utils": "^1.2.5",
70
70
  "pinkie-promise": "^2.0.1"
71
71
  },
72
72
  "engines": {