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

decache

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decache - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

10

decache.js

@@ -57,3 +57,3 @@ var path = require('path'); // if module is locally defined we path.resolve it

// the cache no else so #ignore else http://git.io/vtgMI
/* istanbul ignore else */
/* istanbul ignore else */
if (mod && ((mod = require.cache[mod]) !== undefined)) {

@@ -65,3 +65,9 @@ // Recursively go over the results

mod.children.forEach(function (child) {
run(child);
// Prevent infinite recursion
/* istanbul ignore next */
if (child.parent === mod) {
return;
} else {
run(child);
}
});

@@ -68,0 +74,0 @@

2

package.json
{
"name": "decache",
"version": "4.1.0",
"version": "4.2.0",
"description": "decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.",

@@ -5,0 +5,0 @@ "main": "decache.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