cross-spawn-cb 1.4.1 → 1.4.2

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.
@@ -4083,7 +4083,6 @@ function requireSrc() {
4083
4083
  'node.exe',
4084
4084
  'node.cmd'
4085
4085
  ];
4086
- var spawn = requireCrossSpawn6_0_5();
4087
4086
  function patchNode(command, _args, options) {
4088
4087
  if (NODES.indexOf(path.basename(command).toLowerCase()) < 0) return command;
4089
4088
  if (typeof options === 'function') {
@@ -4094,6 +4093,7 @@ function requireSrc() {
4094
4093
  var env = options.env || process.env;
4095
4094
  return env.NODE || env.npm_node_execpath;
4096
4095
  }
4096
+ var spawn = requireCrossSpawn6_0_5();
4097
4097
  function spawnCompat(command, args, options, callback1) {
4098
4098
  return spawn.spawn(patchNode(command, args, options), args, options, callback1);
4099
4099
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-spawn-cb",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Cross spawn with a completion callback",
5
5
  "keywords": [
6
6
  "cross-spawn",
@@ -44,7 +44,7 @@
44
44
  "node-resolve-versions": "^1.0.2",
45
45
  "node-version-utils": "^1.1.2",
46
46
  "rimraf2": "^2.8.2",
47
- "ts-swc-loaders": "^1.5.0"
47
+ "ts-swc-loaders": "^1.5.7"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=0.8"