Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magic/cli

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic/cli - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc