Socket
Socket
Sign inDemoInstall

@vue/cli-shared-utils

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/cli-shared-utils - npm Package Compare versions

Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8

13

lib/validate.js
const joi = require('joi')
const { error } = require('./logger')

@@ -7,10 +6,10 @@ // proxy to joi for option validation

exports.validate = (obj, schema, options = {}, noExit) => {
joi.validate(obj, schema, options, err => {
exports.validate = (obj, schema, cb) => {
joi.validate(obj, schema, {}, err => {
if (err) {
error(`vue-cli options validation failed:\n` + err.message)
if (!noExit) {
cb(err.message)
if (process.env.VUE_CLI_TEST) {
throw err
} else {
process.exit(1)
} else {
throw err
}

@@ -17,0 +16,0 @@ }

{
"name": "@vue/cli-shared-utils",
"version": "3.0.0-alpha.7",
"version": "3.0.0-alpha.8",
"description": "shared utilities for vue-cli packages",

@@ -5,0 +5,0 @@ "main": "index.js",

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