node-install-release 0.3.13 → 0.3.16

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.
@@ -7,11 +7,11 @@ var progress = require('./progress');
7
7
 
8
8
  var major = +process.versions.node.split('.')[0];
9
9
  var minor = +process.versions.node.split('.')[1];
10
- var callExtract = __dirname + '/callExtract.js'; // eslint-disable-line n/no-path-concat
10
+ var callExtract = path.join(__dirname, 'callExtract.js');
11
11
 
12
- var call = null; // remove dependency
12
+ var call = null; // break dependencies
13
13
  module.exports = function conditionalExtract(src, dest, options, callback) {
14
- if (!call) call = require('node-version-call'); // remove dependency
14
+ if (!call) call = require('node-version-call'); // break dependencies
15
15
 
16
16
  if (typeof options === 'function') {
17
17
  callback = options;
@@ -3,7 +3,8 @@ require('core-js/actual/promise');
3
3
 
4
4
  var cp = require('child_process');
5
5
  if (!cp.execSync) {
6
- var execCallback = __dirname + '/execCallback.js'; // eslint-disable-line n/no-path-concat
6
+ var path = require('path');
7
+ var execCallback = path.join(__dirname, 'execCallback.js');
7
8
 
8
9
  var functionExec = null; // break dependencies
9
10
  cp.execSync = function execSyncPolyfill(cmd, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-install-release",
3
- "version": "0.3.13",
3
+ "version": "0.3.16",
4
4
  "description": "Cross-platform solution for installing releases of Node.js",
5
5
  "keywords": [
6
6
  "node",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "core-js": "^3.24.1",
36
- "cross-spawn-cb": "^0.6.10",
36
+ "cross-spawn-cb": "^0.6.12",
37
37
  "end-with": "^1.0.2",
38
38
  "exit": "^0.1.2",
39
39
  "fast-extract": "^0.3.4",
40
40
  "fs-access-compat": "^1.0.3",
41
- "function-exec-sync": "^0.2.7",
42
- "get-remote": "^0.7.9",
41
+ "function-exec-sync": "^0.2.8",
42
+ "get-remote": "^0.7.11",
43
43
  "getopts-compat": "^2.2.5",
44
44
  "isarray": "^2.0.5",
45
45
  "lodash.find": "^4.6.0",
@@ -47,8 +47,8 @@
47
47
  "match-semver": "^0.1.1",
48
48
  "mkpath": "^1.0.0",
49
49
  "node-filename-to-dist-paths": "^0.1.15",
50
- "node-resolve-versions": "^0.3.4",
51
- "node-version-call": "^0.3.9",
50
+ "node-resolve-versions": "^0.3.6",
51
+ "node-version-call": "^0.3.13",
52
52
  "osenv": "^0.1.5",
53
53
  "pump": "^3.0.0",
54
54
  "queue-cb": "^1.1.7",