Socket
Socket
Sign inDemoInstall

@npmcli/run-script

Package Overview
Dependencies
97
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.1 to 6.0.0

2

lib/make-spawn-args.js

@@ -16,3 +16,3 @@ /* eslint camelcase: "off" */

args = [],
stdioString = false,
stdioString,
} = options

@@ -19,0 +19,0 @@

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

args = [],
stdioString = false,
stdioString,
// note: only used when stdio:inherit

@@ -34,0 +34,0 @@ banner = true,

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

@@ -5,0 +5,0 @@ "author": "GitHub Inc.",

@@ -33,5 +33,5 @@ # @npmcli/run-script

// optional, defaults to false
// optional, passed directly to `@npmcli/promise-spawn` which defaults it to true
// return stdout and stderr as strings rather than buffers
stdioString: true,
stdioString: false,

@@ -125,4 +125,5 @@ // optional, additional environment variables to add

something else, which will be run in an otherwise matching environment.
- `stdioString` Optional, defaults to `false`. Return string values for
`stderr` and `stdout` rather than Buffers.
- `stdioString` Optional, passed directly to `@npmcli/promise-spawn` which
defaults it to `true`. Return string values for `stderr` and `stdout` rather
than Buffers.
- `banner` Optional, defaults to `true`. If the `stdio` option is set to

@@ -129,0 +130,0 @@ `'inherit'`, then print a banner with the package name and version, event

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc