Skip to content

Commit

Permalink
added territories
Browse files Browse the repository at this point in the history
updated dependencies
  • Loading branch information
muratgozel committed Apr 14, 2024
1 parent f1954b8 commit e78b943
Show file tree
Hide file tree
Showing 18 changed files with 1,567 additions and 983 deletions.
46 changes: 25 additions & 21 deletions dist/index.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.cjs.map

Large diffs are not rendered by default.

39 changes: 38 additions & 1 deletion dist/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,43 @@ declare const countryCurrencies: {
ZW: string;
ZZ: string;
};
declare const territories: {
code: string;
name: string;
}[];
declare const countriesByTerritory: {
"143": string[];
"145": string[];
"151": string[];
"154": string[];
"155": string[];
"011": string[];
"013": string[];
"014": string[];
"015": string[];
"017": string[];
"018": string[];
"021": string[];
"029": string[];
"030": string[];
"035": string[];
"039": string[];
"005": string[];
"053": string[];
"054": string[];
"057": string[];
"061": string[];
"034": string[];
QO: string[];
};
declare const findTerritories: () => {
code: string;
name: string;
}[];
declare const findCountryTerritory: (v: string) => {
code: string;
name: string;
} | undefined;
declare const isCountryCode: (v: unknown) => boolean;
declare const findCountry: (v: string) => Country | undefined;
declare const findCountryCallingCode: (v: string) => number | undefined;
Expand All @@ -803,4 +840,4 @@ declare const findCountryTimezones: (v: string) => Timezone[] | undefined;
declare const findCountryFromTimezoneName: (n: string) => string | undefined;
declare const findTimezoneOffset: (v: string) => number | undefined;

export { countries, countryCallingCodes, countryCodes, countryCurrencies, countryLanguages, currencies, currencyCodes, findCountry, findCountryCallingCode, findCountryCurrencyCode, findCountryFromTimezoneName, findCountryLanguages, findCountryTimezones, findCurrency, findLanguage, findTimezoneOffset, isCountryCode, isCurrencyCode, isLanguageCode, languageCodes, languages, timezones };
export { countries, countriesByTerritory, countryCallingCodes, countryCodes, countryCurrencies, countryLanguages, currencies, currencyCodes, findCountry, findCountryCallingCode, findCountryCurrencyCode, findCountryFromTimezoneName, findCountryLanguages, findCountryTerritory, findCountryTimezones, findCurrency, findLanguage, findTerritories, findTimezoneOffset, isCountryCode, isCurrencyCode, isLanguageCode, languageCodes, languages, territories, timezones };
39 changes: 38 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,43 @@ declare const countryCurrencies: {
ZW: string;
ZZ: string;
};
declare const territories: {
code: string;
name: string;
}[];
declare const countriesByTerritory: {
"143": string[];
"145": string[];
"151": string[];
"154": string[];
"155": string[];
"011": string[];
"013": string[];
"014": string[];
"015": string[];
"017": string[];
"018": string[];
"021": string[];
"029": string[];
"030": string[];
"035": string[];
"039": string[];
"005": string[];
"053": string[];
"054": string[];
"057": string[];
"061": string[];
"034": string[];
QO: string[];
};
declare const findTerritories: () => {
code: string;
name: string;
}[];
declare const findCountryTerritory: (v: string) => {
code: string;
name: string;
} | undefined;
declare const isCountryCode: (v: unknown) => boolean;
declare const findCountry: (v: string) => Country | undefined;
declare const findCountryCallingCode: (v: string) => number | undefined;
Expand All @@ -803,4 +840,4 @@ declare const findCountryTimezones: (v: string) => Timezone[] | undefined;
declare const findCountryFromTimezoneName: (n: string) => string | undefined;
declare const findTimezoneOffset: (v: string) => number | undefined;

export { countries, countryCallingCodes, countryCodes, countryCurrencies, countryLanguages, currencies, currencyCodes, findCountry, findCountryCallingCode, findCountryCurrencyCode, findCountryFromTimezoneName, findCountryLanguages, findCountryTimezones, findCurrency, findLanguage, findTimezoneOffset, isCountryCode, isCurrencyCode, isLanguageCode, languageCodes, languages, timezones };
export { countries, countriesByTerritory, countryCallingCodes, countryCodes, countryCurrencies, countryLanguages, currencies, currencyCodes, findCountry, findCountryCallingCode, findCountryCurrencyCode, findCountryFromTimezoneName, findCountryLanguages, findCountryTerritory, findCountryTimezones, findCurrency, findLanguage, findTerritories, findTimezoneOffset, isCountryCode, isCurrencyCode, isLanguageCode, languageCodes, languages, territories, timezones };
46 changes: 25 additions & 21 deletions dist/index.global.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.global.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "locale-util",
"version": "4.1.0",
"version": "4.2.0",
"description": "Locale data generators written in node.js. Uses reliable sources. Generated data available as JS/JSON objects.",
"type": "module",
"exports": {
Expand Down Expand Up @@ -61,38 +61,38 @@
},
"homepage": "https://github.com/muratgozel/locale-util#readme",
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.4",
"@jest/globals": "^29.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@swc-node/register": "^1.9.0",
"@swc/cli": "^0.3.10",
"@swc/core": "^1.4.5",
"@tsconfig/node20": "^20.1.2",
"@tsconfig/strictest": "^2.0.3",
"@types/node": "^20.11.25",
"core-js": "^3.36.0",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.4.13",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^20.12.7",
"core-js": "^3.36.1",
"eslint": "^8.57.0",
"fast-xml-parser": "^4.3.5",
"fast-xml-parser": "^4.3.6",
"jest": "^29.7.0",
"moment-timezone": "^0.5.45",
"node-releaser": "^2.1.4",
"pino": "^8.19.0",
"pino": "^8.20.0",
"pino-pretty": "^10.3.1",
"rollup": "^4.12.1",
"rollup": "^4.14.2",
"tsup": "^8.0.2",
"typedoc": "^0.25.11",
"typescript": "^5.4.2",
"typescript-eslint": "^7.1.1"
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"typescript-eslint": "^7.6.0"
},
"dependencies": {
"@babel/runtime": "^7.24.0",
"@babel/runtime-corejs3": "^7.24.0"
"@babel/runtime": "^7.24.4",
"@babel/runtime-corejs3": "^7.24.4"
}
}
Loading

0 comments on commit e78b943

Please sign in to comment.