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

country-locale-map

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-locale-map - npm Package Compare versions

Comparing version 1.9.7 to 1.9.8

2

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

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