@formatjs/intl-datetimeformat 6.7.0 → 6.9.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 (64) hide show
  1. package/add-all-tz.js +457 -1
  2. package/add-golden-tz.js +252 -1
  3. package/index.d.ts +0 -1
  4. package/lib/index.d.ts +0 -1
  5. package/lib/polyfill-force.d.ts +0 -1
  6. package/lib/polyfill.d.ts +0 -1
  7. package/lib/should-polyfill.d.ts +0 -1
  8. package/lib/src/abstract/BasicFormatMatcher.d.ts +0 -1
  9. package/lib/src/abstract/BestFitFormatMatcher.d.ts +0 -1
  10. package/lib/src/abstract/DateTimeStyleFormat.d.ts +0 -1
  11. package/lib/src/abstract/FormatDateTime.d.ts +0 -1
  12. package/lib/src/abstract/FormatDateTimePattern.d.ts +0 -1
  13. package/lib/src/abstract/FormatDateTimeRange.d.ts +0 -1
  14. package/lib/src/abstract/FormatDateTimeRangeToParts.d.ts +0 -1
  15. package/lib/src/abstract/FormatDateTimeToParts.d.ts +0 -1
  16. package/lib/src/abstract/InitializeDateTimeFormat.d.ts +0 -1
  17. package/lib/src/abstract/PartitionDateTimePattern.d.ts +0 -1
  18. package/lib/src/abstract/PartitionDateTimeRangePattern.d.ts +0 -1
  19. package/lib/src/abstract/ToDateTimeOptions.d.ts +0 -1
  20. package/lib/src/abstract/ToLocalTime.d.ts +0 -1
  21. package/lib/src/abstract/skeleton.d.ts +0 -1
  22. package/lib/src/abstract/utils.d.ts +0 -1
  23. package/lib/src/core.d.ts +0 -1
  24. package/lib/src/data/all-tz.d.ts +0 -1
  25. package/lib/src/data/all-tz.js +320 -319
  26. package/lib/src/data/links.d.ts +137 -137
  27. package/lib/src/data/links.js +137 -136
  28. package/lib/src/get_internal_slots.d.ts +0 -1
  29. package/lib/src/packer.d.ts +0 -1
  30. package/lib/src/to_locale_string.d.ts +0 -1
  31. package/lib/src/types.d.ts +0 -1
  32. package/lib/supported-locales.generated.d.ts +0 -1
  33. package/lib/test262-main.d.ts +0 -1
  34. package/package.json +41 -5
  35. package/polyfill-force.d.ts +0 -1
  36. package/polyfill.d.ts +0 -1
  37. package/polyfill.iife.js +137 -136
  38. package/should-polyfill.d.ts +0 -1
  39. package/src/abstract/BasicFormatMatcher.d.ts +0 -1
  40. package/src/abstract/BestFitFormatMatcher.d.ts +0 -1
  41. package/src/abstract/DateTimeStyleFormat.d.ts +0 -1
  42. package/src/abstract/FormatDateTime.d.ts +0 -1
  43. package/src/abstract/FormatDateTimePattern.d.ts +0 -1
  44. package/src/abstract/FormatDateTimeRange.d.ts +0 -1
  45. package/src/abstract/FormatDateTimeRangeToParts.d.ts +0 -1
  46. package/src/abstract/FormatDateTimeToParts.d.ts +0 -1
  47. package/src/abstract/InitializeDateTimeFormat.d.ts +0 -1
  48. package/src/abstract/PartitionDateTimePattern.d.ts +0 -1
  49. package/src/abstract/PartitionDateTimeRangePattern.d.ts +0 -1
  50. package/src/abstract/ToDateTimeOptions.d.ts +0 -1
  51. package/src/abstract/ToLocalTime.d.ts +0 -1
  52. package/src/abstract/skeleton.d.ts +0 -1
  53. package/src/abstract/utils.d.ts +0 -1
  54. package/src/core.d.ts +0 -1
  55. package/src/data/all-tz.d.ts +0 -1
  56. package/src/data/all-tz.js +320 -319
  57. package/src/data/links.d.ts +137 -137
  58. package/src/data/links.js +137 -136
  59. package/src/get_internal_slots.d.ts +0 -1
  60. package/src/packer.d.ts +0 -1
  61. package/src/to_locale_string.d.ts +0 -1
  62. package/src/types.d.ts +0 -1
  63. package/supported-locales.generated.d.ts +0 -1
  64. package/test262-main.d.ts +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
@@ -5,4 +5,3 @@ import { Formats } from '@formatjs/ecma402-abstract';
5
5
  * @param formats
6
6
  */
7
7
  export declare function BasicFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
8
- //# sourceMappingURL=BasicFormatMatcher.d.ts.map
@@ -14,4 +14,3 @@ export declare function bestFitFormatMatcherScore(options: Intl.DateTimeFormatOp
14
14
  * @param implDetails Implementation details
15
15
  */
16
16
  export declare function BestFitFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
17
- //# sourceMappingURL=BestFitFormatMatcher.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { DateTimeFormatLocaleInternalData, Formats } from '@formatjs/ecma402-abstract';
2
2
  export declare function DateTimeStyleFormat(dateStyle: Intl.DateTimeFormatOptions['dateStyle'], timeStyle: Intl.DateTimeFormatOptions['timeStyle'], dataLocaleData: DateTimeFormatLocaleInternalData): Formats;
3
- //# sourceMappingURL=DateTimeStyleFormat.d.ts.map
@@ -6,4 +6,3 @@ import { PartitionDateTimePattern } from './PartitionDateTimePattern';
6
6
  * @param x
7
7
  */
8
8
  export declare function FormatDateTime(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
9
- //# sourceMappingURL=FormatDateTime.d.ts.map
@@ -11,4 +11,3 @@ export interface FormatDateTimePatternImplDetails {
11
11
  * @param x
12
12
  */
13
13
  export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
14
- //# sourceMappingURL=FormatDateTimePattern.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  export declare function FormatDateTimeRange(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): string;
4
- //# sourceMappingURL=FormatDateTimeRange.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  export declare function FormatDateTimeRangeToParts(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): any[];
4
- //# sourceMappingURL=FormatDateTimeRangeToParts.d.ts.map
@@ -8,4 +8,3 @@ import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
8
8
  * @param implDetails
9
9
  */
10
10
  export declare function FormatDateTimeToParts(dtf: Intl.DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): IntlDateTimeFormatPart[];
11
- //# sourceMappingURL=FormatDateTimeToParts.d.ts.map
@@ -15,4 +15,3 @@ export declare function InitializeDateTimeFormat(dtf: Intl.DateTimeFormat | Date
15
15
  tzData: Record<string, unknown>;
16
16
  uppercaseLinks: Record<string, string>;
17
17
  }): Intl.DateTimeFormat;
18
- //# sourceMappingURL=InitializeDateTimeFormat.d.ts.map
@@ -7,4 +7,3 @@ import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
7
7
  * @param x
8
8
  */
9
9
  export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
10
- //# sourceMappingURL=PartitionDateTimePattern.d.ts.map
@@ -2,4 +2,3 @@ import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
4
4
  export declare function PartitionDateTimeRangePattern(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
5
- //# sourceMappingURL=PartitionDateTimeRangePattern.d.ts.map
@@ -5,4 +5,3 @@
5
5
  * @param defaults
6
6
  */
7
7
  export declare function ToDateTimeOptions(options?: Intl.DateTimeFormatOptions | null, required?: string, defaults?: string): Intl.DateTimeFormatOptions;
8
- //# sourceMappingURL=ToDateTimeOptions.d.ts.map
@@ -23,4 +23,3 @@ export declare function ToLocalTime(t: number, calendar: string, timeZone: strin
23
23
  inDST: boolean;
24
24
  timeZoneOffset: number;
25
25
  };
26
- //# sourceMappingURL=ToLocalTime.d.ts.map
@@ -11,4 +11,3 @@ export declare function processDateTimePattern(pattern: string, result?: Pick<In
11
11
  export declare function parseDateTimeSkeleton(skeleton: string, rawPattern?: string, rangePatterns?: Record<string, string>, intervalFormatFallback?: string): Formats;
12
12
  export declare function splitFallbackRangePattern(pattern: string): Array<RangePatternPart>;
13
13
  export declare function splitRangePattern(pattern: string): Array<RangePatternPart>;
14
- //# sourceMappingURL=skeleton.d.ts.map
@@ -8,4 +8,3 @@ export declare const longMorePenalty = 6;
8
8
  export declare const shortLessPenalty = 6;
9
9
  export declare const shortMorePenalty = 3;
10
10
  export declare const offsetPenalty = 1;
11
- //# sourceMappingURL=utils.d.ts.map
package/lib/src/core.d.ts CHANGED
@@ -18,4 +18,3 @@ export interface DateTimeFormatConstructor {
18
18
  __addTZData(d: PackedData): void;
19
19
  }
20
20
  export declare const DateTimeFormat: DateTimeFormatConstructor;
21
- //# sourceMappingURL=core.d.ts.map
@@ -4,4 +4,3 @@ declare const _default: {
4
4
  zones: string[];
5
5
  };
6
6
  export default _default;
7
- //# sourceMappingURL=all-tz.d.ts.map