Socket
Socket
Sign inDemoInstall

@npmcli/run-script

Package Overview
Dependencies
Maintainers
6
Versions
55
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.4.0 to 1.5.0

lib/package-envs.js

3

lib/run-script-pkg.js
const makeSpawnArgs = require('./make-spawn-args.js')
const promiseSpawn = require('@npmcli/promise-spawn')
const packageEnvs = require('./package-envs.js')

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

scriptShell,
env,
env: packageEnvs(env, pkg),
stdio,

@@ -42,0 +43,0 @@ cmd,

{
"name": "@npmcli/run-script",
"version": "1.4.0",
"version": "1.5.0",
"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)",

@@ -33,2 +33,3 @@ # @npmcli/run-script

// - npm_lifecycle_script The script being run
// The fields described in https://github.com/npm/rfcs/pull/183
env: {

@@ -103,2 +104,4 @@ npm_package_from: 'foo@bar',

- `npm_lifecycle_script` The script being run
- The `package.json` fields described in
[RFC183](https://github.com/npm/rfcs/pull/183/files).
- `scriptShell` Optional, defaults to `/bin/sh` on Unix, defaults to

@@ -105,0 +108,0 @@ `env.comspec` or `cmd` on Windows. Custom script to use to execute the

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