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

spawn-wrap

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spawn-wrap - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

4

index.js

@@ -187,2 +187,3 @@ module.exports = wrap

var hasMain = false
var mainIndex = 1
for (var a = 1; !hasMain && a < options.args.length; a++) {

@@ -210,2 +211,3 @@ switch (options.args[a]) {

hasMain = true
mainIndex = a
a = options.args.length

@@ -219,3 +221,3 @@ break

var replace = workingDir + '/' + command
options.args.splice(1, 0, replace)
options.args.splice(mainIndex, 0, replace)
}

@@ -222,0 +224,0 @@

{
"name": "spawn-wrap",
"version": "1.3.5",
"version": "1.3.6",
"description": "Wrap all spawned Node.js child processes by adding environs and arguments ahead of the main JavaScript file argument.",

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

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