@formatjs/intl-supportedvaluesof 2.1.2 → 2.2.1
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/index.d.ts +8 -0
- package/index.js +2 -0
- package/package.json +5 -5
- package/polyfill-force.d.ts +1 -0
- package/polyfill-force.js +7 -0
- package/polyfill.d.ts +1 -0
- package/polyfill.iife.js +6105 -0
- package/polyfill.js +10 -0
- package/should-polyfill.d.ts +1 -0
- package/should-polyfill.js +3 -0
- package/src/calendars.generated.d.ts +2 -0
- package/src/calendars.generated.js +23 -0
- package/src/collations.generated.d.ts +2 -0
- package/src/collations.generated.js +23 -0
- package/src/currencies.generated.d.ts +2 -0
- package/src/currencies.generated.js +311 -0
- package/src/get-supported-calendars.d.ts +8 -0
- package/src/get-supported-calendars.js +27 -0
- package/src/get-supported-collations.d.ts +8 -0
- package/src/get-supported-collations.js +23 -0
- package/src/get-supported-currencies.d.ts +8 -0
- package/src/get-supported-currencies.js +50 -0
- package/src/get-supported-numbering-systems.d.ts +7 -0
- package/src/get-supported-numbering-systems.js +28 -0
- package/src/get-supported-timezones.d.ts +8 -0
- package/src/get-supported-timezones.js +25 -0
- package/src/get-supported-units.d.ts +7 -0
- package/src/get-supported-units.js +28 -0
- package/src/index.d.ts +33 -0
- package/src/index.js +34 -0
- package/src/memoize.d.ts +9 -0
- package/src/memoize.js +10 -0
- package/src/numbering-systems.generated.d.ts +1 -0
- package/src/numbering-systems.generated.js +99 -0
- package/src/timezones.generated.d.ts +2 -0
- package/src/timezones.generated.js +431 -0
- package/src/units.generated.d.ts +2 -0
- package/src/units.generated.js +47 -0
- package/BUILD.bazel +0 -135
- package/CHANGELOG.md +0 -249
- package/index.ts +0 -9
- package/polyfill-force.ts +0 -8
- package/polyfill.ts +0 -11
- package/scripts/calendars.ts +0 -21
- package/scripts/collations.ts +0 -21
- package/scripts/currencies.ts +0 -21
- package/scripts/timezones.ts +0 -22
- package/scripts/units.ts +0 -23
- package/should-polyfill.ts +0 -3
- package/src/calendars.generated.ts +0 -4
- package/src/collations.generated.ts +0 -4
- package/src/currencies.generated.ts +0 -4
- package/src/get-supported-calendars.ts +0 -32
- package/src/get-supported-collations.ts +0 -30
- package/src/get-supported-currencies.ts +0 -62
- package/src/get-supported-numbering-systems.ts +0 -35
- package/src/get-supported-timezones.ts +0 -29
- package/src/get-supported-units.ts +0 -73
- package/src/index.ts +0 -75
- package/src/memoize.ts +0 -19
- package/src/numbering-systems.generated.ts +0 -99
- package/src/timezones.generated.ts +0 -4
- package/src/units.generated.ts +0 -4
- package/tests/index.test.ts +0 -155
- package/tsconfig.json +0 -5
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { SupportedValuesOf } from "./src/index.js";
|
|
2
|
+
export type { Calendar } from "./src/calendars.generated.js";
|
|
3
|
+
export type { Collation } from "./src/collations.generated.js";
|
|
4
|
+
export type { Currency } from "./src/currencies.generated.js";
|
|
5
|
+
export type { Timezone } from "./src/timezones.generated.js";
|
|
6
|
+
export type { Unit } from "./src/units.generated.js";
|
|
7
|
+
export { shouldPolyfill } from "./should-polyfill.js";
|
|
8
|
+
export { supportedValuesOf } from "./src/index.js";
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-supportedvaluesof",
|
|
3
3
|
"description": "Intl.supportedValuesOf polyfill",
|
|
4
|
-
"version": "2.1
|
|
4
|
+
"version": "2.2.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Michele Riva <ciao@micheleriva.it>",
|
|
7
7
|
"type": "module",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"./should-polyfill.js": "./should-polyfill.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"
|
|
17
|
-
"@formatjs/fast-memoize": "
|
|
18
|
-
"
|
|
16
|
+
"tslib": "^2.8.1",
|
|
17
|
+
"@formatjs/fast-memoize": "3.1.0",
|
|
18
|
+
"@formatjs/ecma402-abstract": "3.1.1"
|
|
19
19
|
},
|
|
20
20
|
"bugs": "https://github.com/formatjs/formatjs/issues",
|
|
21
21
|
"homepage": "https://github.com/formatjs/formatjs#readme",
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
"tc39"
|
|
31
31
|
],
|
|
32
32
|
"repository": "formatjs/formatjs.git"
|
|
33
|
-
}
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/polyfill.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|