New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

country-iso

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-iso - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

index.js

@@ -26,3 +26,3 @@ 'use strict';

if (countries && countries.features && countries.features.length > 0) {
return countries.features.map(f => f.properties.A3);
return [...new Set(countries.features.map(f => f.properties.A3))];
}

@@ -29,0 +29,0 @@ return [];

{
"name": "country-iso",
"version": "2.0.2",
"version": "2.0.3",
"description": "Get ISO 3166-1 alpha-3 country code for geographic coordinates.",

@@ -12,5 +12,7 @@ "main": "index.js",

"ava": "*",
"browserify": "^14.5.0",
"codecov": "^3.0.0",
"fs-extra": "^4.0.2",
"i18n-iso-countries": "^3.2.2",
"leaflet": "^1.2.0",
"nyc": "^11.3.0",

@@ -24,3 +26,4 @@ "xo": "*"

"test": "xo && nyc ava --verbose",
"coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && codecov"
"coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && codecov",
"build-demo": "browserify demo.js > demo/index.js"
},

@@ -65,4 +68,14 @@ "repository": {

"xo": {
"space": true
"space": true,
"ignores": [
"demo/**",
"fixtures/**"
]
},
"ava": {
"match": [
"!demo/**",
"!fixtures/**"
]
},
"files": [

@@ -69,0 +82,0 @@ "LICENSE",

@@ -5,2 +5,8 @@ # country-iso

<p align="center">
<a href="http://simonepri.github.io/country-iso/"><img src="https://raw.githubusercontent.com/simonepri/country-iso/master/demo/index.png" width="400"/></a>
</p>
> Click on the map for a live preview.
## Install

@@ -7,0 +13,0 @@ ```bash

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