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

country-state-city

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-state-city - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

Changelog.md

2

lib/cjs/index.d.ts
import Country from './country';
import State from './state';
import City from './city';
import { ICountry, IState, ICity } from './interface';
export { Country };
export { State };
export { City };
export { ICountry, IState, ICity };
import Country from './country';
import State from './state';
import City from './city';
import { ICountry, IState, ICity } from './interface';
export { Country };
export { State };
export { City };
export { ICountry, IState, ICity };

6

package.json
{
"name": "country-state-city",
"version": "3.0.2",
"version": "3.0.3",
"description": "Library for fetching Country, its States and Cities",

@@ -11,4 +11,4 @@ "main": "./lib/cjs/index.js",

"test": "jest",
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"prepublish": "npm run tsc",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"prepublish": "npm run build",
"lint": "eslint index.ts __test__ --fix"

@@ -15,0 +15,0 @@ },

@@ -56,3 +56,3 @@ country-state-city

getCountryByCode(countryCode)
City.getCountryByCode(countryCode)
---------------

@@ -85,3 +85,3 @@

getStateByCodeAndCountry(stateCode, countryCode)
State.getStateByCodeAndCountry(stateCode, countryCode)
---------------

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

getStatesOfCountry(countryCode)
State.getStatesOfCountry(countryCode)
---------------

@@ -123,3 +123,3 @@

```
getCitiesOfState(countryCode, stateCode)
City.getCitiesOfState(countryCode, stateCode)
---------------

@@ -144,3 +144,3 @@

getCitiesOfCountry(countryCode)
City.getCitiesOfCountry(countryCode)
---------------

@@ -165,3 +165,3 @@

getAllCountries
Country.getAllCountries
---------------

@@ -195,3 +195,3 @@ It returns **all Countries**

getAllStates
State.getAllStates
---------------

@@ -215,3 +215,3 @@ It returns **all States**

getAllCities
City.getAllCities
---------------

@@ -218,0 +218,0 @@ It returns **all Cities**

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

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

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

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

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

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