node-install-release 1.11.0 → 1.11.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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var cp = require('child_process');
|
|
3
3
|
if (!cp.execSync) {
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var workerPath = path.join(__dirname, 'worker.
|
|
5
|
+
var workerPath = path.join(__dirname, 'worker.cjs');
|
|
6
6
|
var functionExec = null; // break dependencies
|
|
7
7
|
cp.execSync = function execSyncPolyfill(cmd) {
|
|
8
8
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/machine/execSync/polyfill.cjs"],"sourcesContent":["const cp = require('child_process');\nif (!cp.execSync) {\n const path = require('path');\n const workerPath = path.join(__dirname, 'worker.
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/machine/execSync/polyfill.cjs"],"sourcesContent":["const cp = require('child_process');\nif (!cp.execSync) {\n const path = require('path');\n const workerPath = path.join(__dirname, 'worker.cjs');\n\n let functionExec = null; // break dependencies\n cp.execSync = function execSyncPolyfill(cmd, options = {}) {\n if (!functionExec) functionExec = require('function-exec-sync');\n return functionExec({ callbacks: true }, workerPath, cmd, options);\n };\n}\n"],"names":["cp","require","execSync","path","workerPath","join","__dirname","functionExec","execSyncPolyfill","cmd","options","callbacks"],"mappings":";AAAA,IAAMA,KAAKC,QAAQ;AACnB,IAAI,CAACD,GAAGE,QAAQ,EAAE;IAChB,IAAMC,OAAOF,QAAQ;IACrB,IAAMG,aAAaD,KAAKE,IAAI,CAACC,WAAW;IAExC,IAAIC,eAAe,MAAM,qBAAqB;IAC9CP,GAAGE,QAAQ,GAAG,SAASM,iBAAiBC,GAAG;YAAEC,UAAAA,iEAAU,CAAC;QACtD,IAAI,CAACH,cAAcA,eAAeN,QAAQ;QAC1C,OAAOM,aAAa;YAAEI,WAAW;QAAK,GAAGP,YAAYK,KAAKC;IAC5D;AACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const cp = require('child_process');
|
|
2
2
|
if (!cp.execSync) {
|
|
3
3
|
const path = require('path');
|
|
4
|
-
const workerPath = path.join(__dirname, 'worker.
|
|
4
|
+
const workerPath = path.join(__dirname, 'worker.cjs');
|
|
5
5
|
let functionExec = null; // break dependencies
|
|
6
6
|
cp.execSync = function execSyncPolyfill(cmd, options = {}) {
|
|
7
7
|
if (!functionExec) functionExec = require('function-exec-sync');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/machine/execSync/polyfill.cjs"],"sourcesContent":["const cp = require('child_process');\nif (!cp.execSync) {\n const path = require('path');\n const workerPath = path.join(__dirname, 'worker.
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/node-version/node-install-release/src/machine/execSync/polyfill.cjs"],"sourcesContent":["const cp = require('child_process');\nif (!cp.execSync) {\n const path = require('path');\n const workerPath = path.join(__dirname, 'worker.cjs');\n\n let functionExec = null; // break dependencies\n cp.execSync = function execSyncPolyfill(cmd, options = {}) {\n if (!functionExec) functionExec = require('function-exec-sync');\n return functionExec({ callbacks: true }, workerPath, cmd, options);\n };\n}\n"],"names":["cp","require","execSync","path","workerPath","join","__dirname","functionExec","execSyncPolyfill","cmd","options","callbacks"],"mappings":"AAAA,MAAMA,KAAKC,QAAQ;AACnB,IAAI,CAACD,GAAGE,QAAQ,EAAE;IAChB,MAAMC,OAAOF,QAAQ;IACrB,MAAMG,aAAaD,KAAKE,IAAI,CAACC,WAAW;IAExC,IAAIC,eAAe,MAAM,qBAAqB;IAC9CP,GAAGE,QAAQ,GAAG,SAASM,iBAAiBC,GAAG,EAAEC,UAAU,CAAC,CAAC;QACvD,IAAI,CAACH,cAAcA,eAAeN,QAAQ;QAC1C,OAAOM,aAAa;YAAEI,WAAW;QAAK,GAAGP,YAAYK,KAAKC;IAC5D;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-install-release",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Cross-platform solution for installing releases of Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"cross-spawn-cb": "^2.2.0",
|
|
45
45
|
"exit": "^0.1.2",
|
|
46
|
-
"fast-extract": "^1.
|
|
46
|
+
"fast-extract": "^1.4.0",
|
|
47
47
|
"function-exec-sync": "^1.2.22",
|
|
48
|
-
"get-remote": "^1.
|
|
48
|
+
"get-remote": "^1.4.0",
|
|
49
49
|
"getopts-compat": "^2.2.6",
|
|
50
50
|
"homedir-polyfill": "^1.0.3",
|
|
51
51
|
"is-version": "^0.2.13",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"node-resolve-versions": "^1.0.37",
|
|
56
56
|
"on-one": "^0.1.5",
|
|
57
57
|
"pump": "^3.0.2",
|
|
58
|
-
"queue-cb": "^1.
|
|
58
|
+
"queue-cb": "^1.5.0",
|
|
59
59
|
"rimraf2": "^2.8.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|