Socket
Socket
Sign inDemoInstall

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.1 to 0.1.2

2

index.js

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

iso3: 'SDN',
isoNo: '736',
isoNo: '729',
internet: 'SD'

@@ -2140,0 +2140,0 @@ },

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

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

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

it("Sudan is 729", function (done) {
var sudan = countries.byIso("SDN");
if (sudan.isoNo != '729') return done("Sudan should have iso number 729");
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