date-fns-tz
Advanced tools
Comparing version 1.0.6-beta.1 to 1.0.6
{ | ||
"name": "date-fns-tz", | ||
"version": "1.0.6-beta.1", | ||
"version": "1.0.6", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "Time zone support for date-fns v2 with the browser Intl API", |
@@ -27,15 +27,22 @@ // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
// Type Aliases | ||
type OptionsWithTZ = { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||
additionalDigits?: 0 | 1 | 2 | ||
timeZone?: string | ||
locale?: import('date-fns').Locale | ||
includeSeconds?: boolean | ||
addSuffix?: boolean | ||
unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | ||
roundingMethod?: 'floor' | 'ceil' | 'round' | ||
awareOfUnicodeTokens?: boolean | ||
} | ||
type OptionsWithTZAliased = OptionsWithTZ | ||
// Exported Type Aliases | ||
declare module 'date-fns-tz' { | ||
export type OptionsWithTZ = { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||
additionalDigits?: 0 | 1 | 2 | ||
timeZone?: string | ||
locale?: Locale | ||
includeSeconds?: boolean | ||
addSuffix?: boolean | ||
unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | ||
roundingMethod?: 'floor' | 'ceil' | 'round' | ||
awareOfUnicodeTokens?: boolean | ||
} | ||
export type OptionsWithTZ = OptionsWithTZAliased | ||
} | ||
@@ -607,2 +614,14 @@ | ||
// Regular Locales | ||
declare module 'date-fns-tz/locale' { | ||
} | ||
// ECMAScript Module Locales | ||
declare module 'date-fns-tz/esm/locale' { | ||
} | ||
// dateFns Global Interface | ||
@@ -609,0 +628,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
167358
3006
1