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.1 to 1.0.2

2

package.json
{
"name": "compare-module-exports",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -7,4 +7,6 @@ function generate(libraryName) {

if (a.length !== b.length) {
console.error(name + ': in' + file + '\n\t\t' + a.toString() + '\n\tdoes not match\n\t\t' + b.toString());
throw new Error(libraryName + ': function argument mismatch: ' + file + ': ' + name);
if (a.toString().indexOf('_could_be_any_') < 0) {
console.error(name + ': in' + file + '\n\t\t' + a.toString() + '\n\tdoes not match\n\t\t' + b.toString());
throw new Error(libraryName + ': function argument mismatch: ' + file + ': ' + name);
}
}

@@ -11,0 +13,0 @@ }

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