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

country-state-picker

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-state-picker - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

lib/data/countries.js

@@ -1110,3 +1110,3 @@ "use strict";

{
name: 'Viet Nam',
name: 'Vietnam',
code: 'vn',

@@ -1113,0 +1113,0 @@ dial_code: '+84',

@@ -13,6 +13,7 @@ "use strict";

};
exports.getCountries = function () {
var getCountries = function () {
return countries_1.default;
};
exports.getCountry = function (arg) {
exports.getCountries = getCountries;
var getCountry = function (arg) {
var allCountries = exports.getCountries();

@@ -27,3 +28,4 @@ for (var _i = 0, allCountries_1 = allCountries; _i < allCountries_1.length; _i++) {

};
exports.getFilteredCountries = function (args) {
exports.getCountry = getCountry;
var getFilteredCountries = function (args) {
var allCountries = exports.getCountries();

@@ -43,3 +45,4 @@ var filteredCountries = [];

};
exports.getStates = function (countryCode) {
exports.getFilteredCountries = getFilteredCountries;
var getStates = function (countryCode) {
try {

@@ -52,1 +55,2 @@ return states_1.default[countryCode];

};
exports.getStates = getStates;
{
"name": "country-state-picker",
"version": "1.1.3",
"version": "1.1.4",
"description": "NPM package to get the list of countries and their states.",

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

Sorry, the diff of this file is too big to display

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