compare-module-exports
Advanced tools
Comparing version 1.0.4 to 1.1.0
{ | ||
"name": "compare-module-exports", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -61,5 +61,12 @@ function generate(libraryName) { | ||
return matchExports; | ||
function tryMatchExports(realExports, mockedExports, realFile, mockFile, options = {}) { | ||
if(matchExports(realExports, mockedExports, realFile, mockFile, options)){ | ||
return matchExports(realExports, { default: mockedExports }, realFile, mockFile, options) | ||
} | ||
return false; | ||
} | ||
return tryMatchExports; | ||
} | ||
module.exports = generate; |
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
3853
63