@formatjs/ecma402-abstract
Advanced tools
Comparing version 1.11.10 to 1.12.0
@@ -113,4 +113,5 @@ export declare type Formats = Pick<Intl.DateTimeFormatOptions, 'weekday' | 'era' | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | 'timeZoneName'> & { | ||
} & Record<string, Record<string, string>>; | ||
export interface DateTimeFormat extends Omit<Intl.DateTimeFormat, 'resolvedOptions' | 'formatRange' | 'formatRangeToParts'> { | ||
export interface DateTimeFormat extends Omit<Intl.DateTimeFormat, 'resolvedOptions' | 'formatRange' | 'formatRangeToParts' | 'formatToParts'> { | ||
resolvedOptions(): ResolvedDateTimeFormatOptions; | ||
formatToParts(date?: Date | number): IntlDateTimeFormatPart[]; | ||
formatRange(startDate: number | Date, endDate: number | Date): string; | ||
@@ -117,0 +118,0 @@ formatRangeToParts(startDate: number | Date, endDate: number | Date): IntlDateTimeFormatPart[]; |
{ | ||
"name": "@formatjs/ecma402-abstract", | ||
"version": "1.11.10", | ||
"version": "1.12.0", | ||
"description": "A collection of implementation for ECMAScript abstract operations", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/intl-localematcher": "0.2.30", | ||
"@formatjs/intl-localematcher": "0.2.31", | ||
"tslib": "2.4.0" | ||
@@ -20,0 +20,0 @@ }, |
@@ -113,4 +113,5 @@ export declare type Formats = Pick<Intl.DateTimeFormatOptions, 'weekday' | 'era' | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | 'timeZoneName'> & { | ||
} & Record<string, Record<string, string>>; | ||
export interface DateTimeFormat extends Omit<Intl.DateTimeFormat, 'resolvedOptions' | 'formatRange' | 'formatRangeToParts'> { | ||
export interface DateTimeFormat extends Omit<Intl.DateTimeFormat, 'resolvedOptions' | 'formatRange' | 'formatRangeToParts' | 'formatToParts'> { | ||
resolvedOptions(): ResolvedDateTimeFormatOptions; | ||
formatToParts(date?: Date | number): IntlDateTimeFormatPart[]; | ||
formatRange(startDate: number | Date, endDate: number | Date): string; | ||
@@ -117,0 +118,0 @@ formatRangeToParts(startDate: number | Date, endDate: number | Date): IntlDateTimeFormatPart[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
271460
5149
0
+ Added@formatjs/intl-localematcher@0.2.31(transitive)
- Removed@formatjs/intl-localematcher@0.2.30(transitive)