Socket
Socket
Sign inDemoInstall

@formatjs/ecma402-abstract

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/ecma402-abstract - npm Package Compare versions

Comparing version 1.11.10 to 1.12.0

3

lib/types/date-time.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc