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

country-code-lookup

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-code-lookup - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -625,3 +625,3 @@ module.exports.byFips = function(code) {

region: 'Central Europe',
country: 'Czech Republic',
country: 'Czechia',
capital: 'Prague',

@@ -628,0 +628,0 @@ fips: 'EZ',

{
"name": "country-code-lookup",
"version": "0.1.0",
"version": "0.1.1",
"description": "Finds countries by various country codes",

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

@@ -131,2 +131,8 @@ var countries = require("./index.js");

it ("We now call the Czech Repulic 'Czechia'", function(done){
var czechia = countries.byFips("EZ")
if (czechia.country !== "Czechia") return done(`This should be Czechia: ${czechia}`)
done();
})
});
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