You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

date-fns-tz

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6-beta.1 to 1.0.6

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc