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

@npmcli/run-script

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/run-script - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

lib/is-server-package.js

3

lib/run-script-pkg.js

@@ -6,2 +6,3 @@ const makeSpawnArgs = require('./make-spawn-args.js')

const signalManager = require('./signal-manager.js')
const isServerPackage = require('./is-server-package.js')

@@ -39,2 +40,4 @@ // you wouldn't like me when I'm angry...

cmd = defaultGypInstallScript
else if (event === 'start' && await isServerPackage(path))
cmd = 'node server.js' + args.map(a => ` ${JSON.stringify(a)}`).join('')

@@ -41,0 +44,0 @@ if (!cmd)

3

lib/signal-manager.js

@@ -36,4 +36,3 @@ const runningProcs = new Set()

proc.once('exit', ({ code }) => {
process.exitCode = process.exitCode || code
proc.once('exit', () => {
runningProcs.delete(proc)

@@ -40,0 +39,0 @@ cleanupListeners()

{
"name": "@npmcli/run-script",
"version": "1.7.3",
"version": "1.7.4",
"description": "Run a lifecycle script for a package (descendant of npm-lifecycle)",

@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",

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