nhb-toolbox 4.20.86 → 4.20.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/cjs/constants.js +5 -3
- package/dist/cjs/object/countries.js +1445 -0
- package/dist/dts/constants.d.ts +2 -1
- package/dist/dts/date/Chronos.d.ts +1 -1
- package/dist/dts/date/plugins/dayPartPlugin.d.ts +1 -1
- package/dist/dts/date/plugins/greetingPlugin.d.ts +1 -1
- package/dist/dts/date/plugins/seasonPlugin.d.ts +1 -1
- package/dist/dts/date/plugins/timeZonePlugin.d.ts +2 -0
- package/dist/dts/date/plugins/zodiacPlugin.d.ts +1 -1
- package/dist/dts/date/types.d.ts +8 -1
- package/dist/dts/number/basics.d.ts +3 -5
- package/dist/dts/object/countries.d.ts +1202 -0
- package/dist/dts/object/types.d.ts +3 -0
- package/dist/dts/string/types.d.ts +12 -0
- package/dist/esm/constants.js +2 -1
- package/dist/esm/object/countries.js +1442 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ All notable changes to the package will be documented here.
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [4.20.87] - 2025-10-08
|
|
10
|
+
|
|
11
|
+
- **Added** new _constants_ and _types_ related to _country information_, e.g. _full country name, code, ISO code_ etc.
|
|
12
|
+
|
|
9
13
|
## [4.20.86] - 2025-10-08
|
|
10
14
|
|
|
11
15
|
- **Added** new _number utility_ `getFactors` and its alias to calculate _factors_ of a given number (_integer_).
|
package/dist/cjs/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STATUS_CODES = exports.
|
|
3
|
+
exports.STATUS_CODES = exports.HTTP_STATUS_CODES = exports.HTTP_STATUS = exports.HTTP_CODES = exports.COUNTRIES = exports.LOWERCASED_WORDS = exports.LOCALE_CODES = exports.FRANKFURTER_CURRENCIES = exports.CURRENCY_LOCALES = exports.CURRENCY_CODES = exports.CSS_COLORS = exports.NUMBER_COLOR_PALETTE = exports.ALPHABET_COLOR_PALETTE = exports.WESTERN_SEASONS = exports.US_ACADEMIC_SEASONS = exports.SEASON_PRESETS = exports.PHILIPPINES_SEASONS = exports.JAPAN_SEASONS = exports.INDIA_VEDIC_SEASONS = exports.INDIA_TAMIL_SEASONS = exports.INDIA_IMD_SEASONS = exports.ETHIOPIA_SEASONS = exports.BANGLADESH_SEASONS = exports.AUSTRALIA_SEASONS = exports.WESTERN_ZODIAC_SIGNS = exports.WEEK_DAYS = exports.VEDIC_ZODIAC_SIGNS = exports.TIME_ZONES = exports.TIME_ZONE_LABELS = exports.MONTHS = void 0;
|
|
4
4
|
var constants_1 = require("./date/constants");
|
|
5
5
|
Object.defineProperty(exports, "MONTHS", { enumerable: true, get: function () { return constants_1.MONTHS; } });
|
|
6
6
|
Object.defineProperty(exports, "TIME_ZONE_LABELS", { enumerable: true, get: function () { return constants_1.TIME_ZONE_LABELS; } });
|
|
@@ -32,8 +32,10 @@ Object.defineProperty(exports, "FRANKFURTER_CURRENCIES", { enumerable: true, get
|
|
|
32
32
|
Object.defineProperty(exports, "LOCALE_CODES", { enumerable: true, get: function () { return constants_3.LOCALE_CODES; } });
|
|
33
33
|
var constants_4 = require("./string/constants");
|
|
34
34
|
Object.defineProperty(exports, "LOWERCASED_WORDS", { enumerable: true, get: function () { return constants_4.LOWERCASE; } });
|
|
35
|
+
var countries_1 = require("./object/countries");
|
|
36
|
+
Object.defineProperty(exports, "COUNTRIES", { enumerable: true, get: function () { return countries_1.COUNTRIES; } });
|
|
35
37
|
var constants_5 = require("./http-status/constants");
|
|
36
|
-
Object.defineProperty(exports, "HTTP_STATUS_CODES", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|
|
37
|
-
Object.defineProperty(exports, "HTTP_STATUS", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|
|
38
38
|
Object.defineProperty(exports, "HTTP_CODES", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|
|
39
|
+
Object.defineProperty(exports, "HTTP_STATUS", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|
|
40
|
+
Object.defineProperty(exports, "HTTP_STATUS_CODES", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|
|
39
41
|
Object.defineProperty(exports, "STATUS_CODES", { enumerable: true, get: function () { return constants_5.HTTP_STATUS_CODES; } });
|