@formatjs/intl-durationformat 0.9.2 → 0.10.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formatjs/intl-durationformat",
3
3
  "description": "Intl.DurationFormat polyfill",
4
- "version": "0.9.2",
4
+ "version": "0.10.0",
5
5
  "license": "MIT",
6
6
  "author": "Long Ho <holevietlong@gmail.com>",
7
7
  "type": "module",
@@ -13,9 +13,9 @@
13
13
  "./should-polyfill.js": "./should-polyfill.js"
14
14
  },
15
15
  "dependencies": {
16
- "tslib": "^2.8.0",
17
- "@formatjs/ecma402-abstract": "3.0.8",
18
- "@formatjs/intl-localematcher": "0.7.5"
16
+ "tslib": "^2.8.1",
17
+ "@formatjs/ecma402-abstract": "3.1.0",
18
+ "@formatjs/intl-localematcher": "0.8.0"
19
19
  },
20
20
  "bugs": "https://github.com/formatjs/formatjs/issues",
21
21
  "homepage": "https://github.com/formatjs/formatjs#readme",
@@ -1,4 +1,2 @@
1
- // Type-only circular import
2
- // eslint-disable-next-line import/no-cycle
3
1
  import type { DurationFormat, IntlDurationFormatInternal } from "./types.js";
4
2
  export declare function getInternalSlots(x: DurationFormat): IntlDurationFormatInternal;
@@ -1,5 +1,3 @@
1
- /* @generated */
2
- // prettier-ignore
3
1
  export declare const TIME_SEPARATORS: {
4
2
  readonly default: ":";
5
3
  readonly localeData: {
package/src/types.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- // Public --------------------------------------------------------------------------------------------------------------
2
1
  export type DurationFormatOptions = Partial<ResolvedDurationFormatOptions>;
3
2
  export interface ResolvedDurationFormatOptions {
4
3
  localeMatcher: "best fit" | "lookup";
@@ -37,7 +36,6 @@ export interface RawDurationLocaleData {
37
36
  locale: string;
38
37
  }
39
38
  export interface DurationFormatLocaleInternalData {
40
- // Bc of relevantExtensionKeys in the spec
41
39
  nu: readonly string[];
42
40
  digitalFormat: Record<string, string>;
43
41
  }