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.8-beta.1 to 1.0.8

_lib/tzIntlTimeZoneName/index.js

64

package.json
{
"name": "date-fns-tz",
"version": "1.0.8-beta.1",
"version": "1.0.8",
"sideEffects": false,

@@ -19,3 +19,5 @@ "description": "Time zone support for date-fns v2 with the browser Intl API",

"clean": "rm -rf tmp/package && rm tmp/docs.json",
"test": "karma start config/karma.js"
"test": "karma start config/karma.js",
"lint": "eslint .",
"lint-types": "eslint --config=.ts-eslintrc.js typings.d.ts"
},

@@ -33,6 +35,2 @@ "husky": {

},
"prettier": {
"singleQuote": true,
"semi": false
},
"peerDependencies": {

@@ -42,17 +40,27 @@ "date-fns": ">=2.0.0-alpha.13"

"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.6.5",
"babel-eslint": "^8.2.1",
"babel-loader": "^6.2.8",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.6.0",
"babel-preset-power-assert": "^1.0.0",
"date-fns": "next",
"flow-bin": "0.84.0",
"fs-promise": "^1.0.0",
"husky": "^1.1.1",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
"@babel/plugin-transform-block-scoping": "^7.5.5",
"@babel/plugin-transform-destructuring": "^7.5.0",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-parameters": "^7.4.4",
"@babel/plugin-transform-template-literals": "^7.4.4",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"babel-eslint": "^10.0.2",
"babel-loader": "8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-preset-power-assert": "^3.0.0",
"date-fns": "latest",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"flow-bin": "^0.109.0",
"fs-promise": "^2.0.3",
"husky": "^3.0.8",
"jsdoc-to-markdown": "leshakoss/jsdoc-to-markdown",
"json-loader": "^0.5.3",
"karma": "^3.0.0",
"karma-benchmark": "^1.0.0",
"karma": "^3.1.4",
"karma-benchmark": "^1.0.4",
"karma-benchmark-reporter": "^0.1.1",

@@ -64,15 +72,13 @@ "karma-chrome-launcher": "2.2",

"karma-phantomjs-launcher": "^1.0.4",
"karma-sauce-launcher": "^1.2.0",
"karma-sinon": "^1.0.4",
"karma-sourcemap-loader": "^0.3.5",
"karma-webpack": "^3.0.5",
"lint-staged": "^7.1.1",
"lodash": "^4.17.4",
"karma-webpack": "^4.0.2",
"lint-staged": "^9.4.2",
"lodash": "^4.17.15",
"lodash.clonedeep": "^4.5.0",
"mocha": "^3.2.0",
"power-assert": "^1.3.1",
"prettier": "^1.14.3",
"sinon": "^1.17.3",
"webpack": "^1.12.0"
"mocha": "^6.2.1",
"power-assert": "^1.6.1",
"prettier": "^1.18.2",
"webpack": "^4.41.1",
"webpack-cli": "^3.1.2"
}
}

@@ -54,6 +54,4 @@ // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.

): string
namespace format {
namespace format {}
}
function toDate(

@@ -63,6 +61,4 @@ argument: Date | string | number,

): Date
namespace toDate {
namespace toDate {}
}
function utcToZonedTime(

@@ -73,6 +69,4 @@ date: Date | string | number,

): Date
namespace utcToZonedTime {
namespace utcToZonedTime {}
}
function zonedTimeToUtc(

@@ -83,5 +77,3 @@ date: Date | string | number,

): Date
namespace zonedTimeToUtc {
}
namespace zonedTimeToUtc {}
}

@@ -155,6 +147,4 @@

const format: CurriedFn2<string, Date | string | number, string>
namespace format {
namespace format {}
}
const formatWithOptions: CurriedFn3<

@@ -166,11 +156,7 @@ OptionsWithTZ,

>
namespace formatWithOptions {
namespace formatWithOptions {}
}
const toDate: CurriedFn1<Date | string | number, Date>
namespace toDate {
namespace toDate {}
}
const toDateWithOptions: CurriedFn2<

@@ -181,11 +167,7 @@ OptionsWithTZ,

>
namespace toDateWithOptions {
namespace toDateWithOptions {}
}
const utcToZonedTime: CurriedFn2<string, Date | string | number, Date>
namespace utcToZonedTime {
namespace utcToZonedTime {}
}
const utcToZonedTimeWithOptions: CurriedFn3<

@@ -197,11 +179,7 @@ OptionsWithTZ,

>
namespace utcToZonedTimeWithOptions {
namespace utcToZonedTimeWithOptions {}
}
const zonedTimeToUtc: CurriedFn2<string, Date | string | number, Date>
namespace zonedTimeToUtc {
namespace zonedTimeToUtc {}
}
const zonedTimeToUtcWithOptions: CurriedFn3<

@@ -213,5 +191,3 @@ OptionsWithTZ,

>
namespace zonedTimeToUtcWithOptions {
}
namespace zonedTimeToUtcWithOptions {}
}

@@ -349,6 +325,4 @@

): string
namespace format {
namespace format {}
}
function toDate(

@@ -358,6 +332,4 @@ argument: Date | string | number,

): Date
namespace toDate {
namespace toDate {}
}
function utcToZonedTime(

@@ -368,6 +340,4 @@ date: Date | string | number,

): Date
namespace utcToZonedTime {
namespace utcToZonedTime {}
}
function zonedTimeToUtc(

@@ -378,5 +348,3 @@ date: Date | string | number,

): Date
namespace zonedTimeToUtc {
}
namespace zonedTimeToUtc {}
}

@@ -450,6 +418,4 @@

const format: CurriedFn2<string, Date | string | number, string>
namespace format {
namespace format {}
}
const formatWithOptions: CurriedFn3<

@@ -461,11 +427,7 @@ OptionsWithTZ,

>
namespace formatWithOptions {
namespace formatWithOptions {}
}
const toDate: CurriedFn1<Date | string | number, Date>
namespace toDate {
namespace toDate {}
}
const toDateWithOptions: CurriedFn2<

@@ -476,11 +438,7 @@ OptionsWithTZ,

>
namespace toDateWithOptions {
namespace toDateWithOptions {}
}
const utcToZonedTime: CurriedFn2<string, Date | string | number, Date>
namespace utcToZonedTime {
namespace utcToZonedTime {}
}
const utcToZonedTimeWithOptions: CurriedFn3<

@@ -492,11 +450,7 @@ OptionsWithTZ,

>
namespace utcToZonedTimeWithOptions {
namespace utcToZonedTimeWithOptions {}
}
const zonedTimeToUtc: CurriedFn2<string, Date | string | number, Date>
namespace zonedTimeToUtc {
namespace zonedTimeToUtc {}
}
const zonedTimeToUtcWithOptions: CurriedFn3<

@@ -508,5 +462,3 @@ OptionsWithTZ,

>
namespace zonedTimeToUtcWithOptions {
}
namespace zonedTimeToUtcWithOptions {}
}

@@ -513,0 +465,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