compare-module-exports
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"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 @@ } |
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
3464
55