@formatjs/intl-relativetimeformat 11.2.1 → 11.2.3

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.
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function FormatRelativeTime(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): string;
5
- //# sourceMappingURL=FormatRelativeTime.d.ts.map
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function FormatRelativeTimeToParts(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): Intl.RelativeTimeFormatPart[];
5
- //# sourceMappingURL=FormatRelativeTimeToParts.d.ts.map
@@ -6,4 +6,3 @@ export declare function InitializeRelativeTimeFormat(rtf: Intl.RelativeTimeForma
6
6
  localeData: Record<string, LocaleFieldsData | undefined>;
7
7
  getDefaultLocale(): string;
8
8
  }): Intl.RelativeTimeFormat;
9
- //# sourceMappingURL=InitializeRelativeTimeFormat.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function MakePartsList(pattern: string, unit: Intl.RelativeTimeFormatUnitSingular, parts: Intl.NumberFormatPart[] | Intl.RelativeTimeFormatPart[]): Intl.RelativeTimeFormatPart[];
2
- //# sourceMappingURL=MakePartsList.d.ts.map
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function PartitionRelativeTimePattern(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, { getInternalSlots, }: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): Intl.RelativeTimeFormatPart[];
5
- //# sourceMappingURL=PartitionRelativeTimePattern.d.ts.map
@@ -4,4 +4,3 @@ import { RelativeTimeFormatSingularUnit } from '@formatjs/ecma402-abstract';
4
4
  * @param unit
5
5
  */
6
6
  export declare function SingularRelativeTimeUnit(unit: Intl.RelativeTimeFormatUnit): RelativeTimeFormatSingularUnit;
7
- //# sourceMappingURL=SingularRelativeTimeUnit.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export default function getInternalSlots(x: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
3
- //# sourceMappingURL=get_internal_slots.d.ts.map
package/index.d.ts CHANGED
@@ -13,4 +13,3 @@ export default class RelativeTimeFormat {
13
13
  private static relevantExtensionKeys;
14
14
  static polyfilled: boolean;
15
15
  }
16
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function FormatRelativeTime(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): string;
5
- //# sourceMappingURL=FormatRelativeTime.d.ts.map
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function FormatRelativeTimeToParts(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): Intl.RelativeTimeFormatPart[];
5
- //# sourceMappingURL=FormatRelativeTimeToParts.d.ts.map
@@ -6,4 +6,3 @@ export declare function InitializeRelativeTimeFormat(rtf: Intl.RelativeTimeForma
6
6
  localeData: Record<string, LocaleFieldsData | undefined>;
7
7
  getDefaultLocale(): string;
8
8
  }): Intl.RelativeTimeFormat;
9
- //# sourceMappingURL=InitializeRelativeTimeFormat.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function MakePartsList(pattern: string, unit: Intl.RelativeTimeFormatUnitSingular, parts: Intl.NumberFormatPart[] | Intl.RelativeTimeFormatPart[]): Intl.RelativeTimeFormatPart[];
2
- //# sourceMappingURL=MakePartsList.d.ts.map
@@ -2,4 +2,3 @@ import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export declare function PartitionRelativeTimePattern(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, { getInternalSlots, }: {
3
3
  getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4
4
  }): Intl.RelativeTimeFormatPart[];
5
- //# sourceMappingURL=PartitionRelativeTimePattern.d.ts.map
@@ -4,4 +4,3 @@ import { RelativeTimeFormatSingularUnit } from '@formatjs/ecma402-abstract';
4
4
  * @param unit
5
5
  */
6
6
  export declare function SingularRelativeTimeUnit(unit: Intl.RelativeTimeFormatUnit): RelativeTimeFormatSingularUnit;
7
- //# sourceMappingURL=SingularRelativeTimeUnit.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2
2
  export default function getInternalSlots(x: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
3
- //# sourceMappingURL=get_internal_slots.d.ts.map
package/lib/index.d.ts CHANGED
@@ -13,4 +13,3 @@ export default class RelativeTimeFormat {
13
13
  private static relevantExtensionKeys;
14
14
  static polyfilled: boolean;
15
15
  }
16
- //# 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
@@ -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-relativetimeformat",
3
- "version": "11.2.1",
3
+ "version": "11.2.3",
4
4
  "description": "Formats JavaScript dates to relative time strings.",
5
5
  "keywords": [
6
6
  "intl",
@@ -20,14 +20,14 @@
20
20
  "url": "git@github.com:formatjs/formatjs.git"
21
21
  },
22
22
  "dependencies": {
23
- "@formatjs/ecma402-abstract": "1.14.3",
24
- "@formatjs/intl-localematcher": "0.2.32",
23
+ "@formatjs/ecma402-abstract": "1.16.0",
24
+ "@formatjs/intl-localematcher": "0.3.0",
25
25
  "tslib": "^2.4.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@formatjs/intl-getcanonicallocales": "2.1.0",
29
- "@formatjs/intl-locale": "3.2.1",
30
- "@formatjs/intl-pluralrules": "5.2.1"
28
+ "@formatjs/intl-getcanonicallocales": "2.2.1",
29
+ "@formatjs/intl-locale": "3.3.1",
30
+ "@formatjs/intl-pluralrules": "5.2.3"
31
31
  },
32
32
  "main": "index.js",
33
33
  "types": "index.d.ts",
@@ -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
@@ -1,2 +1 @@
1
1
  export declare const supportedLocales: string[];
2
- //# sourceMappingURL=supported-locales.generated.d.ts.map