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

compare-module-exports

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compare-module-exports - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

2

package.json
{
"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;
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