addons-moz-compare
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "addons-moz-compare", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "JS implementation to compare add-on versions.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -73,6 +73,5 @@ (function addonsMozComparator() { | ||
if (versionPart === '*') { | ||
return { | ||
...parts, | ||
a: Infinity, | ||
}; | ||
parts.a = Infinity; | ||
return parts; | ||
} | ||
@@ -149,3 +148,5 @@ | ||
}; | ||
} else if (typeof window !== 'undefined') { | ||
window.mozCompare = mozCompare; | ||
} | ||
})(); |
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
21464