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

@nuxt/cli

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/cli - npm Package Compare versions

Comparing version 2.9.1 to 2.9.2

CHANGELOG.md

2

dist/cli-banner.js
/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -24,2 +24,3 @@ * - All the amazing contributors

require('minimist');
require('hable');
require('esm');

@@ -26,0 +27,0 @@

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -4,0 +4,0 @@ * - All the amazing contributors

/*!
* @nuxt/cli v2.9.1 (c) 2016-2019
* @nuxt/cli v2.9.2 (c) 2016-2019

@@ -26,2 +26,3 @@ * - All the amazing contributors

require('minimist');
require('hable');
require('esm');

@@ -75,3 +76,3 @@ const fs = _interopDefault(require('fs'));

async function run (_argv) {
async function run (_argv, hooks = {}) {
// Check for not installing both nuxt and nuxt-edge

@@ -95,8 +96,17 @@ const dupPkg = '@nuxt/' + ( 'cli-edge');

// Check for dev
const dev = argv[0] === 'dev';
// Call setup hook
if (typeof hooks.setup === 'function') {
await hooks.setup({ cmd, dev, argv });
delete hooks.setup;
}
// Setup env
setup({ dev: argv[0] === 'dev' });
setup({ dev });
// Try internal command
if (cmd) {
return command.NuxtCommand.run(cmd, argv.slice(1))
return command.NuxtCommand.run(cmd, argv.slice(1), hooks)
}

@@ -103,0 +113,0 @@

{
"name": "@nuxt/cli",
"version": "2.9.1",
"version": "2.9.2",
"repository": "nuxt/nuxt.js",

@@ -15,4 +15,4 @@ "license": "MIT",

"dependencies": {
"@nuxt/config": "2.9.1",
"@nuxt/utils": "2.9.1",
"@nuxt/config": "2.9.2",
"@nuxt/utils": "2.9.2",
"boxen": "^4.1.0",

@@ -25,2 +25,3 @@ "chalk": "^2.4.2",

"fs-extra": "^8.1.0",
"hable": "^2.2.1",
"minimist": "^1.2.0",

@@ -27,0 +28,0 @@ "opener": "1.5.1",

Sorry, the diff of this file is too big to display

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