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

country-name

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-name - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

4

index.js
var DATA = require("./data.json");
function get(countryCode, language) {
if (DATA.countryNames[countryCode] != null) {
return DATA.countryNames[countryCode];
}
var key = DATA.country[countryCode];

@@ -5,0 +9,0 @@ return DATA.countryNames[language][key];

2

package.json
{
"name": "country-name",
"version": "0.1.2",
"version": "0.2.0",
"description": "",

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

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