country-locale-map
Advanced tools
Comparing version 1.9.7 to 1.9.8
{ | ||
"name": "country-locale-map", | ||
"version": "1.9.7", | ||
"version": "1.9.8", | ||
"homepage": "https://worldcountries.rocketmanmorrison.ca", | ||
@@ -5,0 +5,0 @@ "description": "Provides mapping between country codes and provides default country locales. Includes optional fuzzy matching for country name.", |
@@ -262,2 +262,12 @@ /* eslint-env node, mocha */ | ||
it('getCurrencyByAlpha2 should return CHF if passed in CH', function () { | ||
let result = clm.getCurrencyByAlpha2('CH') | ||
expect(result).to.equal('CHF') | ||
}) | ||
it('getCurrencyByAlpha2 should return COP if passed in CO', function () { | ||
let result = clm.getCurrencyByAlpha2('CO') | ||
expect(result).to.equal('COP') | ||
}) | ||
it('getCountryByName should be unable to read the prototype', function () { | ||
@@ -264,0 +274,0 @@ expect(clm.getCountryByName('__proto__')).to.equal(undefined) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
226932
725
1