country-state-city
Advanced tools
Comparing version 3.0.2 to 3.0.3
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 }; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52580262
83421
0
34