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

cuculus

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuculus - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

lib/cuculus.js

@@ -7,6 +7,7 @@ var PREVIOUS = Symbol('PREVIOUS');

path = require.resolve(name);
delete require.cache[path];
} catch (err) {
throw new Error('Could not drop non existing module "' + name + '"');
}
delete require.cache[path];
};

@@ -13,0 +14,0 @@

2

package.json
{
"name": "cuculus",
"version": "0.3.0",
"version": "0.3.1",
"engines" : { "node" : ">=0.12.0" },

@@ -5,0 +5,0 @@ "description": "Simplest require mocking",

@@ -104,3 +104,3 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]

Drops the cached module from `require`.
Drops the cached module from `require`. `name` should be a module name or a full path to the js file.

@@ -107,0 +107,0 @@ ## License

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