Comparing version 0.3.5 to 0.3.6
{ | ||
"name": "esmock", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "readmeFilename": "README.md", |
@@ -51,2 +51,4 @@ esmock | ||
* 0.3.6 _Apr.19.2021_ | ||
* throw error if mocked module path is not found | ||
* 0.3.5 _Apr.18.2021_ | ||
@@ -53,0 +55,0 @@ * added gitlab actions npm test: node 12.x, 14.x and 15.x |
@@ -148,2 +148,6 @@ import fs from 'fs'; | ||
if (pathModuleFull === null) { | ||
throw new Error(`modulePath not found: "${modulePath}"`); | ||
} | ||
const esmockCacheKey = `file://${pathModuleFull}?` | ||
@@ -150,0 +154,0 @@ + 'key=:esmockKey?esmockGlobals=:esmockGlobals#esmockModuleKeys=:moduleKeys' |
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
14698
260
70