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

decache

Package Overview
Dependencies
Maintainers
2
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.6.1 to 4.6.2

4

decache.js

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

* Removes a module from the cache. We need this to re-load our http_request !
* see: http://stackoverflow.com/a/14801711/1148249
* see: https://stackoverflow.com/a/14801711/1148249
*/

@@ -58,3 +58,3 @@ require.decache = function (moduleName) {

// Check if the module has been resolved and found within
// the cache no else so #ignore else http://git.io/vtgMI
// the cache no else so #ignore else https://git.io/vtgMI
/* istanbul ignore else */

@@ -61,0 +61,0 @@ if (mod && ((mod = require.cache[mod]) !== undefined)) {

{
"name": "decache",
"version": "4.6.1",
"version": "4.6.2",
"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",

@@ -5,8 +5,8 @@ # `decache`

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dwyl/decache/Node.js%20CI?style=flat-square)](https://github.com/dwyl/decache/actions)
[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/decache/main.svg?style=flat-square)](http://codecov.io/github/dwyl/decache?branch=main)
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/dwyl/decache.svg?style=flat-square)](https://github.com/dwyl/decache)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dwyl/decache/ci.yml?branch=main&label=build&style=flat-square)
[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/decache/main.svg?style=flat-square)](https://codecov.io/github/dwyl/decache?branch=main)
[![dependency status](https://img.shields.io/librariesio/release/npm/decache?style=flat-square)](https://github.com/dwyl/decache/blob/main/package.json#L43)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square)](https://github.com/dwyl/decache/issues)
[![HitCount](http://hits.dwyl.com/dwyl/decache.svg)](http://hits.dwyl.com/dwyl/decache)
[![HitCount](https://hits.dwyl.com/dwyl/decache.svg)](https://hits.dwyl.com/dwyl/decache)

@@ -13,0 +13,0 @@ In node.js when you `require()` a module, node stores a cached version of the

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