Comparing version 4.6.1 to 4.6.2
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10515
1