@magic/cli
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@magic/cli", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"homepage": "https://magic.github.io/cli", | ||
@@ -35,3 +35,3 @@ "description": "declarative command line interfaces with aliasing, commands and environment sanitization", | ||
"@magic/core": "github:magic/core", | ||
"@magic/test": "0.1.9" | ||
"@magic/test": "0.1.15" | ||
}, | ||
@@ -38,0 +38,0 @@ "author": "Wizards & Witches", |
@@ -311,2 +311,5 @@ ## @magic/cli | ||
#### 0.0.5 | ||
node 12.4.0 does not have --experimental-node-modules flag. | ||
node 12.4.0 does not have --experimental-node-modules fladg. | ||
#### 0.0.6 | ||
readd --experimental-node-modules flag for 13.1.0+ |
@@ -13,3 +13,3 @@ const { spawn } = require('child_process') | ||
if (cmd === 'node') { | ||
// node 12.4.0 does not use that flag anymore | ||
// node 12.4.0+ does not use that flag anymore | ||
const [major, minor, patch] = process.version.substring(1) | ||
@@ -19,6 +19,4 @@ .split('.') | ||
if (major === 12 && minor < 4) { | ||
if (!arg.includes('--experimental-json-modules')) { | ||
arg = ['--experimental-json-modules', ...arg] | ||
} | ||
if (!arg.includes('--experimental-json-modules')) { | ||
arg = ['--experimental-json-modules', ...arg] | ||
} | ||
@@ -29,2 +27,5 @@ | ||
} | ||
if (!arg.includes('--es-module-specifier-resolution')) { | ||
arg = ['--es-module-specifier-resolution', 'node', ...arg] | ||
} | ||
} | ||
@@ -31,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16991
312
314