Socket
Socket
Sign inDemoInstall

@formatjs/intl-datetimeformat

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl-datetimeformat - npm Package Compare versions

Comparing version 6.8.0 to 6.9.0

1

index.d.ts
export * from './src/core';
//# sourceMappingURL=index.d.ts.map
export * from './src/core';
//# sourceMappingURL=index.d.ts.map
export {};
//# sourceMappingURL=polyfill-force.d.ts.map
export {};
//# sourceMappingURL=polyfill.d.ts.map
export declare function shouldPolyfill(locale?: string): string | undefined;
//# sourceMappingURL=should-polyfill.d.ts.map

@@ -8,2 +8,1 @@ import { Formats } from '@formatjs/ecma402-abstract';

export declare function BasicFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
//# sourceMappingURL=BasicFormatMatcher.d.ts.map

@@ -17,2 +17,1 @@ import { Formats } from '@formatjs/ecma402-abstract';

export declare function BestFitFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
//# sourceMappingURL=BestFitFormatMatcher.d.ts.map
import { DateTimeFormatLocaleInternalData, Formats } from '@formatjs/ecma402-abstract';
export declare function DateTimeStyleFormat(dateStyle: Intl.DateTimeFormatOptions['dateStyle'], timeStyle: Intl.DateTimeFormatOptions['timeStyle'], dataLocaleData: DateTimeFormatLocaleInternalData): Formats;
//# sourceMappingURL=DateTimeStyleFormat.d.ts.map

@@ -9,2 +9,1 @@ import { DateTimeFormat } from '@formatjs/ecma402-abstract';

export declare function FormatDateTime(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
//# sourceMappingURL=FormatDateTime.d.ts.map

@@ -14,2 +14,1 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart, DateTimeFormat } from '@formatjs/ecma402-abstract';

export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=FormatDateTimePattern.d.ts.map
import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
import { ToLocalTimeImplDetails } from './ToLocalTime';
export declare function FormatDateTimeRange(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): string;
//# sourceMappingURL=FormatDateTimeRange.d.ts.map
import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
import { ToLocalTimeImplDetails } from './ToLocalTime';
export declare function FormatDateTimeRangeToParts(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): any[];
//# sourceMappingURL=FormatDateTimeRangeToParts.d.ts.map

@@ -11,2 +11,1 @@ import { PartitionDateTimePattern } from './PartitionDateTimePattern';

export declare function FormatDateTimeToParts(dtf: Intl.DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): IntlDateTimeFormatPart[];
//# sourceMappingURL=FormatDateTimeToParts.d.ts.map

@@ -18,2 +18,1 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, DateTimeFormat as DateTimeFormat } from '@formatjs/ecma402-abstract';

}): Intl.DateTimeFormat;
//# sourceMappingURL=InitializeDateTimeFormat.d.ts.map

@@ -10,2 +10,1 @@ import { DateTimeFormat, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';

export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=PartitionDateTimePattern.d.ts.map

@@ -5,2 +5,1 @@ import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';

export declare function PartitionDateTimeRangePattern(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=PartitionDateTimeRangePattern.d.ts.map

@@ -14,2 +14,1 @@ import { Formats, RangePatternPart } from '@formatjs/ecma402-abstract';

export declare function splitRangePattern(pattern: string): Array<RangePatternPart>;
//# sourceMappingURL=skeleton.d.ts.map

@@ -8,2 +8,1 @@ /**

export declare function ToDateTimeOptions(options?: Intl.DateTimeFormatOptions | null, required?: string, defaults?: string): Intl.DateTimeFormatOptions;
//# sourceMappingURL=ToDateTimeOptions.d.ts.map

@@ -26,2 +26,1 @@ import { UnpackedZoneData } from '@formatjs/ecma402-abstract';

};
//# sourceMappingURL=ToLocalTime.d.ts.map

@@ -11,2 +11,1 @@ import { IntlDateTimeFormatInternal, TABLE_6 } from '@formatjs/ecma402-abstract';

export declare const offsetPenalty = 1;
//# sourceMappingURL=utils.d.ts.map

@@ -21,2 +21,1 @@ import { DateTimeFormat as IDateTimeFormat, DateTimeFormatLocaleInternalData, UnpackedZoneData } from '@formatjs/ecma402-abstract';

export declare const DateTimeFormat: DateTimeFormatConstructor;
//# sourceMappingURL=core.d.ts.map

@@ -7,2 +7,1 @@ declare const _default: {

export default _default;
//# sourceMappingURL=all-tz.d.ts.map

@@ -249,2 +249,1 @@ declare const _default: {

export default _default;
//# sourceMappingURL=links.d.ts.map
import { DateTimeFormat, IntlDateTimeFormatInternal } from '@formatjs/ecma402-abstract';
export default function getInternalSlots(x: DateTimeFormat): IntlDateTimeFormatInternal;
//# sourceMappingURL=get_internal_slots.d.ts.map

@@ -5,2 +5,1 @@ import { UnpackedData, PackedData } from './types';

export declare function unpack(data: PackedData): Record<string, UnpackedZoneData[]>;
//# sourceMappingURL=packer.d.ts.map

@@ -8,2 +8,1 @@ /**

export declare function toLocaleTimeString(x?: Date | number, locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
//# sourceMappingURL=to_locale_string.d.ts.map

@@ -48,2 +48,1 @@ import { LocaleData, DateTimeFormatLocaleInternalData, IntervalFormatsData } from '@formatjs/ecma402-abstract';

}>;
//# sourceMappingURL=types.d.ts.map
export declare const supportedLocales: string[];
//# sourceMappingURL=supported-locales.generated.d.ts.map
import './polyfill-force';
//# sourceMappingURL=test262-main.d.ts.map

46

package.json
{
"name": "@formatjs/intl-datetimeformat",
"version": "6.8.0",
"version": "6.9.0",
"description": "Intl.DateTimeFormat polyfill",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/index.js",
"default": "./index.js"
},
"./polyfill": {
"types": "./polyfill.d.ts",
"import": "./lib/polyfill.js",
"default": "./polyfill.js"
},
"./polyfill-force": {
"types": "./polyfill-force.d.ts",
"import": "./lib/polyfill-force.js",
"default": "./polyfill-force.js"
},
"./should-polyfill": {
"types": "./should-polyfill.d.ts",
"import": "./lib/should-polyfill.js",
"default": "./should-polyfill.js"
},
"./locale-data/*": {
"types": "./locale-data/*.d.ts",
"default": "./locale-data/*.js"
},
"./add-all-tz": {
"types": "./add-all-tz.d.ts",
"default": "./add-all-tz.js"
},
"./add-golden-tz": {
"types": "./add-golden-tz.d.ts",
"default": "./add-golden-tz.js"
},
"./polyfill.iife.js": "./polyfill.iife.js",
"./package.json": "./package.json"
},
"repository": {

@@ -25,10 +61,10 @@ "type": "git",

"dependencies": {
"@formatjs/ecma402-abstract": "1.15.0",
"@formatjs/intl-localematcher": "0.2.32",
"@formatjs/ecma402-abstract": "1.16.0",
"@formatjs/intl-localematcher": "0.3.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@formatjs/intl-getcanonicallocales": "2.2.0",
"@formatjs/intl-locale": "3.3.0"
"@formatjs/intl-getcanonicallocales": "2.2.1",
"@formatjs/intl-locale": "3.3.1"
}
}
export {};
//# sourceMappingURL=polyfill-force.d.ts.map
export {};
//# sourceMappingURL=polyfill.d.ts.map
export declare function shouldPolyfill(locale?: string): string | undefined;
//# sourceMappingURL=should-polyfill.d.ts.map

@@ -8,2 +8,1 @@ import { Formats } from '@formatjs/ecma402-abstract';

export declare function BasicFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
//# sourceMappingURL=BasicFormatMatcher.d.ts.map

@@ -17,2 +17,1 @@ import { Formats } from '@formatjs/ecma402-abstract';

export declare function BestFitFormatMatcher(options: Intl.DateTimeFormatOptions, formats: Formats[]): Formats;
//# sourceMappingURL=BestFitFormatMatcher.d.ts.map
import { DateTimeFormatLocaleInternalData, Formats } from '@formatjs/ecma402-abstract';
export declare function DateTimeStyleFormat(dateStyle: Intl.DateTimeFormatOptions['dateStyle'], timeStyle: Intl.DateTimeFormatOptions['timeStyle'], dataLocaleData: DateTimeFormatLocaleInternalData): Formats;
//# sourceMappingURL=DateTimeStyleFormat.d.ts.map

@@ -9,2 +9,1 @@ import { DateTimeFormat } from '@formatjs/ecma402-abstract';

export declare function FormatDateTime(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
//# sourceMappingURL=FormatDateTime.d.ts.map

@@ -14,2 +14,1 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart, DateTimeFormat } from '@formatjs/ecma402-abstract';

export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=FormatDateTimePattern.d.ts.map
import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
import { ToLocalTimeImplDetails } from './ToLocalTime';
export declare function FormatDateTimeRange(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): string;
//# sourceMappingURL=FormatDateTimeRange.d.ts.map
import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
import { ToLocalTimeImplDetails } from './ToLocalTime';
export declare function FormatDateTimeRangeToParts(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): any[];
//# sourceMappingURL=FormatDateTimeRangeToParts.d.ts.map

@@ -11,2 +11,1 @@ import { PartitionDateTimePattern } from './PartitionDateTimePattern';

export declare function FormatDateTimeToParts(dtf: Intl.DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): IntlDateTimeFormatPart[];
//# sourceMappingURL=FormatDateTimeToParts.d.ts.map

@@ -18,2 +18,1 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, DateTimeFormat as DateTimeFormat } from '@formatjs/ecma402-abstract';

}): Intl.DateTimeFormat;
//# sourceMappingURL=InitializeDateTimeFormat.d.ts.map

@@ -10,2 +10,1 @@ import { DateTimeFormat, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';

export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=PartitionDateTimePattern.d.ts.map

@@ -5,2 +5,1 @@ import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';

export declare function PartitionDateTimeRangePattern(dtf: Intl.DateTimeFormat, x: number, y: number, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
//# sourceMappingURL=PartitionDateTimeRangePattern.d.ts.map

@@ -14,2 +14,1 @@ import { Formats, RangePatternPart } from '@formatjs/ecma402-abstract';

export declare function splitRangePattern(pattern: string): Array<RangePatternPart>;
//# sourceMappingURL=skeleton.d.ts.map

@@ -8,2 +8,1 @@ /**

export declare function ToDateTimeOptions(options?: Intl.DateTimeFormatOptions | null, required?: string, defaults?: string): Intl.DateTimeFormatOptions;
//# sourceMappingURL=ToDateTimeOptions.d.ts.map

@@ -26,2 +26,1 @@ import { UnpackedZoneData } from '@formatjs/ecma402-abstract';

};
//# sourceMappingURL=ToLocalTime.d.ts.map

@@ -11,2 +11,1 @@ import { IntlDateTimeFormatInternal, TABLE_6 } from '@formatjs/ecma402-abstract';

export declare const offsetPenalty = 1;
//# sourceMappingURL=utils.d.ts.map

@@ -21,2 +21,1 @@ import { DateTimeFormat as IDateTimeFormat, DateTimeFormatLocaleInternalData, UnpackedZoneData } from '@formatjs/ecma402-abstract';

export declare const DateTimeFormat: DateTimeFormatConstructor;
//# sourceMappingURL=core.d.ts.map

@@ -7,2 +7,1 @@ declare const _default: {

export default _default;
//# sourceMappingURL=all-tz.d.ts.map

@@ -249,2 +249,1 @@ declare const _default: {

export default _default;
//# sourceMappingURL=links.d.ts.map
import { DateTimeFormat, IntlDateTimeFormatInternal } from '@formatjs/ecma402-abstract';
export default function getInternalSlots(x: DateTimeFormat): IntlDateTimeFormatInternal;
//# sourceMappingURL=get_internal_slots.d.ts.map

@@ -5,2 +5,1 @@ import { UnpackedData, PackedData } from './types';

export declare function unpack(data: PackedData): Record<string, UnpackedZoneData[]>;
//# sourceMappingURL=packer.d.ts.map

@@ -8,2 +8,1 @@ /**

export declare function toLocaleTimeString(x?: Date | number, locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
//# sourceMappingURL=to_locale_string.d.ts.map

@@ -48,2 +48,1 @@ import { LocaleData, DateTimeFormatLocaleInternalData, IntervalFormatsData } from '@formatjs/ecma402-abstract';

}>;
//# sourceMappingURL=types.d.ts.map
export declare const supportedLocales: string[];
//# sourceMappingURL=supported-locales.generated.d.ts.map
import './polyfill-force';
//# sourceMappingURL=test262-main.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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