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

depends-on

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depends-on - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

16

index.js

@@ -110,16 +110,16 @@ var fs = require('fs');

// adjust paths relative to directory of dependencies.json
if (!what.cwd || what.cwd[0] !== '/') {
what.cwd = what.cwd || self.cwd;
what.cwd = path.resolve(self.cwd, what.cwd);
}
// adjust paths for stdio relative to what.cwd
if (what.stdout && what.stdout[0] !== '/') {
what.stdout = path.resolve(self.cwd, what.stdout);
what.stdout = path.resolve(what.cwd, what.stdout);
}
if (what.stderr && what.stderr[0] !== '/') {
what.stderr = path.resolve(self.cwd, what.stderr);
what.stderr = path.resolve(what.cwd, what.stderr);
}
if (!what.cwd || what.cwd[0] !== '/') {
what.cwd = what.cwd || self.cwd;
what.cwd = path.resolve(self.cwd, what.cwd);
}
// TODO validate existence

@@ -126,0 +126,0 @@ var d = get_dependency(name, what, self.cwd);

{
"name": "depends-on",
"version": "2.0.4",
"version": "2.1.0",
"description": "Spins up external processes your tests need",

@@ -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