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

i18n-iso-countries

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-iso-countries - npm Package Compare versions

Comparing version 6.8.0 to 7.0.0

2

langs/de.json

@@ -219,3 +219,3 @@ {

"SJ": "Svalbard und Jan Mayen",
"SZ": "Swasiland",
"SZ": "Eswatini",
"SY": "Syrien, Arabische Republik",

@@ -222,0 +222,0 @@ "TJ": "Tadschikistan",

@@ -104,3 +104,3 @@ {

"ID": "Indonesia",
"IR": "Iran, Islamic Republic of",
"IR": ["Iran", "Islamic Republic of Iran"],
"IQ": "Iraq",

@@ -228,3 +228,3 @@ "IE": "Ireland",

"GB": ["United Kingdom", "UK", "Great Britain"],
"US": ["United States of America", "USA"],
"US": ["United States of America","United States", "USA"],
"UM": "United States Minor Outlying Islands",

@@ -231,0 +231,0 @@ "UY": "Uruguay",

@@ -103,3 +103,3 @@ {

"IN": "India",
"ID": "Indonesia",
"ID": "Indonesië",
"IR": "Iran",

@@ -227,3 +227,3 @@ "IQ": "Irak",

"AE": "Verenigde Arabische Emiraten",
"GB": "Verenigd Koninkrijk",
"GB": ["Groot-Brittannië", "Verenigd Koninkrijk"],
"US": ["Verenigde Staten van Amerika", "Verenigde Staten"],

@@ -251,5 +251,5 @@ "UM": "Ver afgelegen eilandjes van de Verenigde Staten",

"BL": "Saint Barthélemy",
"MF": "Sint-Maarten (Frans deel)",
"MF": ["Sint-Maarten (Frans deel)", "Sint-Maarten (Franse Antillen)", "Collectiviteit van Sint-Maarten"],
"RS": "Servië",
"SX": "Sint Maarten (Nederlands deel)",
"SX": ["Sint Maarten", "Sint-Maarten", "Sint Maarten (Nederlands deel)", "Land Sint Maarten"],
"SS": "Zuid-Soedan",

@@ -256,0 +256,0 @@ "XK": "Kosovo"

@@ -176,3 +176,3 @@ {

"RE": "Реюньон",
"RU": "Российская Федерация",
"RU": ["Российская Федерация", "Россия"],
"RW": "Руанда",

@@ -179,0 +179,0 @@ "RO": "Румыния",

{
"name": "i18n-iso-countries",
"version": "6.8.0",
"version": "7.0.0",
"description": "i18n for ISO 3166-1 country codes",

@@ -120,8 +120,7 @@ "typings": "index.d.ts",

"devDependencies": {
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"madge": "3.7.0",
"mocha": "7.1.0",
"prettier": "^2.0.5"
"eslint": "8.2.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"mocha": "9.1.3",
"prettier": "2.4.1"
},

@@ -131,6 +130,6 @@ "main": "entry-node",

"engines": {
"node": ">= 10"
"node": ">= 12"
},
"scripts": {
"test": "make test",
"test": "mocha test/*.js",
"lint": "eslint **/*.js"

@@ -137,0 +136,0 @@ },

@@ -6,4 +6,2 @@ [![Build Status](https://secure.travis-ci.org/michaelwittig/node-i18n-iso-countries.png)](http://travis-ci.org/michaelwittig/node-i18n-iso-countries)

> ⚠️ Version 5 drops support for node 6 and 7!
i18n for ISO 3166-1 country codes. We support Alpha-2, Alpha-3 and Numeric codes from ['Wikipedia: Officially assigned code elements'][iso:3166-1]

@@ -256,3 +254,3 @@

- add language to keywords in [package.json](package.json)
- run `npm test` to make sure that tests are passing
- run `npm run lint` and `npm test`
- open a PR on GitHub

@@ -259,0 +257,0 @@

@@ -270,2 +270,8 @@ var assert = require("assert");

});
it("nameToAlpha2 United States => US", function () {
assert.strictEqual(
i18niso.getAlpha2Code("United States", lang),
"US"
);
});
it("nameToAlpha2 Brazil => BR", function () {

@@ -272,0 +278,0 @@ assert.strictEqual(i18niso.getAlpha2Code("Brazil", lang), "BR");

Sorry, the diff of this file is not supported yet

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