@formatjs/intl-numberformat 8.5.0 → 8.7.0

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.
Files changed (45) hide show
  1. package/index.d.ts +0 -1
  2. package/lib/index.d.ts +0 -1
  3. package/lib/polyfill-force.d.ts +0 -1
  4. package/lib/polyfill.d.ts +0 -1
  5. package/lib/should-polyfill.d.ts +0 -1
  6. package/lib/src/core.d.ts +0 -1
  7. package/lib/src/currency-digits.generated.d.ts +0 -1
  8. package/lib/src/get_internal_slots.d.ts +0 -1
  9. package/lib/src/numbering-systems.generated.d.ts +0 -1
  10. package/lib/src/to_locale_string.d.ts +0 -1
  11. package/lib/src/types.d.ts +0 -1
  12. package/lib/supported-locales.generated.d.ts +0 -1
  13. package/package.json +7 -7
  14. package/polyfill-force.d.ts +0 -1
  15. package/polyfill.d.ts +0 -1
  16. package/should-polyfill.d.ts +0 -1
  17. package/src/core.d.ts +0 -1
  18. package/src/currency-digits.generated.d.ts +0 -1
  19. package/src/get_internal_slots.d.ts +0 -1
  20. package/src/numbering-systems.generated.d.ts +0 -1
  21. package/src/to_locale_string.d.ts +0 -1
  22. package/src/types.d.ts +0 -1
  23. package/supported-locales.generated.d.ts +0 -1
  24. package/index.d.ts.map +0 -1
  25. package/lib/index.d.ts.map +0 -1
  26. package/lib/polyfill-force.d.ts.map +0 -1
  27. package/lib/polyfill.d.ts.map +0 -1
  28. package/lib/should-polyfill.d.ts.map +0 -1
  29. package/lib/src/core.d.ts.map +0 -1
  30. package/lib/src/currency-digits.generated.d.ts.map +0 -1
  31. package/lib/src/get_internal_slots.d.ts.map +0 -1
  32. package/lib/src/numbering-systems.generated.d.ts.map +0 -1
  33. package/lib/src/to_locale_string.d.ts.map +0 -1
  34. package/lib/src/types.d.ts.map +0 -1
  35. package/lib/supported-locales.generated.d.ts.map +0 -1
  36. package/polyfill-force.d.ts.map +0 -1
  37. package/polyfill.d.ts.map +0 -1
  38. package/should-polyfill.d.ts.map +0 -1
  39. package/src/core.d.ts.map +0 -1
  40. package/src/currency-digits.generated.d.ts.map +0 -1
  41. package/src/get_internal_slots.d.ts.map +0 -1
  42. package/src/numbering-systems.generated.d.ts.map +0 -1
  43. package/src/to_locale_string.d.ts.map +0 -1
  44. package/src/types.d.ts.map +0 -1
  45. package/supported-locales.generated.d.ts.map +0 -1
package/index.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export * from './src/core';
2
- //# sourceMappingURL=index.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export * from './src/core';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=polyfill-force.d.ts.map
package/lib/polyfill.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=polyfill.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function shouldPolyfill(locale?: string): string | undefined;
2
- //# sourceMappingURL=should-polyfill.d.ts.map
package/lib/src/core.d.ts CHANGED
@@ -4,4 +4,3 @@ export type NumberFormat = NumberFormatType;
4
4
  * https://tc39.es/ecma402/#sec-intl-numberformat-constructor
5
5
  */
6
6
  export declare const NumberFormat: NumberFormatConstructor;
7
- //# sourceMappingURL=core.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const currencyDigitsData: Record<string, number>;
2
- //# sourceMappingURL=currency-digits.generated.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { NumberFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export default function getInternalSlots(x: Intl.NumberFormat): NumberFormatInternal;
3
- //# sourceMappingURL=get_internal_slots.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const numberingSystemNames: ReadonlyArray<string>;
2
- //# sourceMappingURL=numbering-systems.generated.d.ts.map
@@ -4,4 +4,3 @@ import { NumberFormatOptions } from '@formatjs/ecma402-abstract';
4
4
  * https://tc39.es/ecma402/#sup-number.prototype.tolocalestring
5
5
  */
6
6
  export declare function toLocaleString(x: number, locales?: string | string[], options?: NumberFormatOptions): string;
7
- //# sourceMappingURL=to_locale_string.d.ts.map
@@ -18,4 +18,3 @@ export interface NumberFormatConstructor {
18
18
  availableLocales: Set<string>;
19
19
  polyfilled: boolean;
20
20
  }
21
- //# sourceMappingURL=types.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const supportedLocales: string[];
2
- //# sourceMappingURL=supported-locales.generated.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-numberformat",
3
- "version": "8.5.0",
3
+ "version": "8.7.0",
4
4
  "description": "Ponyfill for ES2020 Intl.NumberFormat",
5
5
  "keywords": [
6
6
  "polyfill",
@@ -22,14 +22,14 @@
22
22
  "url": "git+https://github.com/formatjs/formatjs.git"
23
23
  },
24
24
  "dependencies": {
25
- "@formatjs/ecma402-abstract": "1.15.0",
26
- "@formatjs/intl-localematcher": "0.2.32",
27
- "tslib": "^2.4.0"
25
+ "tslib": "^2.4.0",
26
+ "@formatjs/intl-localematcher": "0.4.0",
27
+ "@formatjs/ecma402-abstract": "1.17.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@formatjs/intl-getcanonicallocales": "2.2.0",
31
- "@formatjs/intl-locale": "3.3.0",
32
- "@formatjs/intl-pluralrules": "5.2.2"
30
+ "@formatjs/intl-pluralrules": "5.2.4",
31
+ "@formatjs/intl-getcanonicallocales": "2.2.1",
32
+ "@formatjs/intl-locale": "3.3.2"
33
33
  },
34
34
  "bugs": {
35
35
  "url": "https://github.com/formatjs/formatjs/issues"
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=polyfill-force.d.ts.map
package/polyfill.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=polyfill.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function shouldPolyfill(locale?: string): string | undefined;
2
- //# sourceMappingURL=should-polyfill.d.ts.map
package/src/core.d.ts CHANGED
@@ -4,4 +4,3 @@ export type NumberFormat = NumberFormatType;
4
4
  * https://tc39.es/ecma402/#sec-intl-numberformat-constructor
5
5
  */
6
6
  export declare const NumberFormat: NumberFormatConstructor;
7
- //# sourceMappingURL=core.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const currencyDigitsData: Record<string, number>;
2
- //# sourceMappingURL=currency-digits.generated.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { NumberFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export default function getInternalSlots(x: Intl.NumberFormat): NumberFormatInternal;
3
- //# sourceMappingURL=get_internal_slots.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const numberingSystemNames: ReadonlyArray<string>;
2
- //# sourceMappingURL=numbering-systems.generated.d.ts.map
@@ -4,4 +4,3 @@ import { NumberFormatOptions } from '@formatjs/ecma402-abstract';
4
4
  * https://tc39.es/ecma402/#sup-number.prototype.tolocalestring
5
5
  */
6
6
  export declare function toLocaleString(x: number, locales?: string | string[], options?: NumberFormatOptions): string;
7
- //# sourceMappingURL=to_locale_string.d.ts.map
package/src/types.d.ts CHANGED
@@ -18,4 +18,3 @@ export interface NumberFormatConstructor {
18
18
  availableLocales: Set<string>;
19
19
  polyfilled: boolean;
20
20
  }
21
- //# sourceMappingURL=types.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const supportedLocales: string[];
2
- //# sourceMappingURL=supported-locales.generated.d.ts.map
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["../polyfill-force.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../polyfill.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["../should-polyfill.ts"],"names":[],"mappings":"AAgDA,wBAAgB,cAAc,CAAC,MAAM,SAAO,sBAU3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,uBAAuB,EACvB,YAAY,IAAI,gBAAgB,EACjC,MAAM,SAAS,CAAA;AAGhB,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAA;AAsB3C;;GAEG;AACH,eAAO,MAAM,YAAY,yBAoCG,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyErD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_internal_slots.d.ts","sourceRoot":"","sources":["../../src/get_internal_slots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAA;AAI/D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,CAAC,EAAE,IAAI,CAAC,YAAY,GACnB,oBAAoB,CAOtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"numbering-systems.generated.d.ts","sourceRoot":"","sources":["../../src/numbering-systems.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,MAAM,CAA0qB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"to_locale_string.d.ts","sourceRoot":"","sources":["../../src/to_locale_string.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAA;AAE9D;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,CA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AE,CAAA;IACX,gBAAgB,IAAI,MAAM,CAAA;IAE1B,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,GAAG,SAAS,CAAC,CAAA;IACtE,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"supported-locales.generated.d.ts","sourceRoot":"","sources":["../supported-locales.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAAguJ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["polyfill-force.ts"],"names":[],"mappings":""}
package/polyfill.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["polyfill.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["should-polyfill.ts"],"names":[],"mappings":"AAgDA,wBAAgB,cAAc,CAAC,MAAM,SAAO,sBAU3C"}
package/src/core.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,uBAAuB,EACvB,YAAY,IAAI,gBAAgB,EACjC,MAAM,SAAS,CAAA;AAGhB,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAA;AAsB3C;;GAEG;AACH,eAAO,MAAM,YAAY,yBAoCG,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyErD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_internal_slots.d.ts","sourceRoot":"","sources":["../src/get_internal_slots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAA;AAI/D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,CAAC,EAAE,IAAI,CAAC,YAAY,GACnB,oBAAoB,CAOtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"numbering-systems.generated.d.ts","sourceRoot":"","sources":["../src/numbering-systems.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,MAAM,CAA0qB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"to_locale_string.d.ts","sourceRoot":"","sources":["../src/to_locale_string.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAA;AAE9D;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,CAAC,EAAE,MAAM,EACT,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,mBAAmB,GAC5B,MAAM,CAGR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,4BAA4B,CAAA;AAInC,MAAM,WAAW,YAAY;IAC3B,eAAe,IAAI,2BAA2B,CAAA;IAC9C,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAAA;IAC5C,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/C,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CACrE;A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