New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

devmode

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devmode - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

12

lib/devmode.js

@@ -8,2 +8,5 @@ /* jshint node:true */

var required = [];
/**

@@ -62,2 +65,5 @@ * List of stage names that activate the devmode

requirePath = path.normalize(root.path + relativePath);
// add dependency to the required packages
required.push(requirePath);
}

@@ -107,4 +113,6 @@

// output whether or not devmode is active
if (exports.isActive()) {
// Active status should be prompted once for the main package
// check whether or not devmode is active
// check if dependency has not been required
if (exports.isActive() && required.indexOf(root.name) < 0) {
console.log(

@@ -111,0 +119,0 @@ '\n #################\n' +

4

package.json
{
"name": "devmode",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -33,2 +33,2 @@ "main": "./lib/devmode",

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