Comparing version 4.3.1 to 4.3.2
@@ -5,2 +5,8 @@ # Changelog | ||
### [4.3.2](https://github.com/medikoo/ncjsm/compare/v4.3.1...v4.3.2) (2023-01-13) | ||
### Bug Fixes | ||
- **`requireUncached`:** Fix modules cache recovery on global reset ([c90dae4](https://github.com/medikoo/ncjsm/commit/c90dae4c31fb4f3e3e490ca8af87d279500730ed)) | ||
### [4.3.1](https://github.com/medikoo/ncjsm/compare/v4.3.0...v4.3.1) (2022-07-09) | ||
@@ -7,0 +13,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
"scope-case": [2, "always", "start-case"], | ||
"scope-enum": [2, "always", [""]], | ||
"scope-enum": [2, "always", ["", "requireUncached"]], | ||
"subject-case": [2, "always", "sentence-case"], | ||
@@ -14,0 +14,0 @@ "subject-empty": [2, "never"], |
{ | ||
"name": "ncjsm", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "CJS (Node.js) style modules resolver", | ||
@@ -17,15 +17,15 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)", | ||
"deferred": "^0.7.11", | ||
"es5-ext": "^0.10.61", | ||
"es6-set": "^0.1.5", | ||
"ext": "^1.6.0", | ||
"es5-ext": "^0.10.62", | ||
"es6-set": "^0.1.6", | ||
"ext": "^1.7.0", | ||
"find-requires": "^1.0.0", | ||
"fs2": "^0.3.9", | ||
"type": "^2.6.0" | ||
"type": "^2.7.2" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.19.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-medikoo": "^4.1.2", | ||
"git-list-updated": "^1.2.1", | ||
"husky": "^4.3.8", | ||
"lint-staged": "^13.0.3", | ||
"lint-staged": "^13.1.0", | ||
"nyc": "^15.1.0", | ||
@@ -32,0 +32,0 @@ "prettier-elastic": "^2.2.1", |
@@ -43,2 +43,7 @@ "use strict"; | ||
var restore = function () { | ||
if (!moduleIds) { | ||
Object.keys(require.cache).forEach(function (moduleId) { | ||
if (!cache[moduleId]) delete require.cache[moduleId]; | ||
}); | ||
} | ||
objForEach(cache, function (value, moduleId) { | ||
@@ -45,0 +50,0 @@ if (value) require.cache[moduleId] = value; |
Sorry, the diff of this file is not supported yet
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
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
61666
1197
Updatedes5-ext@^0.10.62
Updatedes6-set@^0.1.6
Updatedext@^1.7.0
Updatedtype@^2.7.2