date-fns-tz
Advanced tools
Comparing version 1.0.8-beta.1 to 1.0.8
{ | ||
"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 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
120
1
1
166499
41
2921