New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@enplug/scripts

Package Overview
Dependencies
Maintainers
5
Versions
368
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enplug/scripts - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

7

bin/build-legacy.js

@@ -15,2 +15,4 @@ #! /usr/bin/env node

const pkg = require(packagePath);
const version = pkg.version;
const destination = pkg.config.destination;

@@ -20,10 +22,6 @@ const optionDefinitions = [

{ name: 'dev-server', alias: 's', type: Boolean },
{ name: 'dev', alias: 'd', type: Boolean },
{ name: 'target', alias: 't', type: String },
{ name: 'version', alias: 'v', type: String },
];
const options = commandLineArgs(optionDefinitions);
const version = options.dev ? pkg.version_dev : pkg.version;
const destination = options.dev ? pkg.config.destination_dev : pkg.config.destination;

@@ -73,3 +71,2 @@

command += needsDevServer ? ' --watch --colors --inline --progress --host 0.0.0.0 ' : ' --bail --progress --profile ';
command += ' --directory-version';

@@ -76,0 +73,0 @@ sh.exec(command, function (argument) {

@@ -10,3 +10,2 @@ #! /usr/bin/env node

{ name: 'bucket', alias: 'b', type: String },
{ name: 'dev', alias: 'd', type: Boolean },
{ name: 'prefix', alias: 'p', type: String },

@@ -19,5 +18,4 @@ { name: 'root', alias: 'r', type: String },

const options = commandLineArgs(optionDefinitions);
const version = options['version'];
const pkg = require(`${options['root']}/package.json`);
const version = options.dev ? pkg.version_dev : pkg.version;

@@ -24,0 +22,0 @@

{
"name": "@enplug/scripts",
"version": "1.1.6",
"version": "1.1.7",
"description": "Enplug scripts",

@@ -5,0 +5,0 @@ "scripts": {

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