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

@npmcli/promise-spawn

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/promise-spawn - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

11

index.js

@@ -32,5 +32,6 @@ const {spawn} = require('child_process')

const promiseSpawnUid = (cmd, args, opts, extra) =>
new Promise((res, rej) => {
const proc = spawn(cmd, args, opts)
const promiseSpawnUid = (cmd, args, opts, extra) => {
let proc
const p = new Promise((res, rej) => {
proc = spawn(cmd, args, opts)
const stdout = []

@@ -69,2 +70,6 @@ const stderr = []

p.stdin = proc.stdin
return p
}
module.exports = promiseSpawn
{
"name": "@npmcli/promise-spawn",
"version": "1.1.0",
"version": "1.2.0",
"files": [

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

@@ -48,2 +48,6 @@ # @npmcli/promise-spawn

Returned promise is decorated with the `stdin` stream if the process is set
to pipe from `stdin`. Writing to this stream writes to the `stdin` of the
spawned process.
#### Options

@@ -50,0 +54,0 @@

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