@phensley/timezone
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -175,3 +175,3 @@ "use strict"; | ||
ZoneRecord.prototype.fromUTC = function (utc) { | ||
var i = cldr_utils_1.binarySearch(this.untils, true, utc); | ||
var i = (0, cldr_utils_1.binarySearch)(this.untils, true, utc); | ||
var type = i === -1 ? 0 : this.types[i]; | ||
@@ -190,3 +190,3 @@ return [utc, this.localtime[type]]; | ||
// Find the until one day before our wall time | ||
var i = cldr_utils_1.binarySearch(this.untils, true, wall - 86400000); | ||
var i = (0, cldr_utils_1.binarySearch)(this.untils, true, wall - 86400000); | ||
var r0 = this.localtime[i === -1 ? 0 : this.types[i]]; | ||
@@ -193,0 +193,0 @@ i++; |
{ | ||
"name": "@phensley/timezone", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "Compact timezone lib based on tz database", | ||
@@ -40,26 +40,26 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@phensley/cldr-utils": "~1.4.1", | ||
"@phensley/cldr-utils": "~1.5.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.18.5", | ||
"@types/jest": "^27.0.1", | ||
"@types/node": "^16.6.1", | ||
"@types/rimraf": "^3.0.1", | ||
"@microsoft/api-extractor": "~7.18.5", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.23", | ||
"@types/rimraf": "^3.0.2", | ||
"@types/yargs": "17.0.2", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"@typescript-eslint/eslint-plugin": "^5.19.0", | ||
"@typescript-eslint/parser": "^5.19.0", | ||
"beautify-benchmark": "^0.2.4", | ||
"benchmark": "^2.1.4", | ||
"chalk": "^4.1.2", | ||
"dts-bundle-generator": "^5.9.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"jest": "^27.0.6", | ||
"prettier": "^2.3.2", | ||
"chalk": "^5.0.1", | ||
"dts-bundle-generator": "^6.7.0", | ||
"eslint": "^8.13.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.6.2", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.4", | ||
"ts-node": "^10.2.0", | ||
"typescript": "~4.3.5", | ||
"ts-jest": "^27.1.4", | ||
"ts-node": "^10.7.0", | ||
"typescript": "~4.6.3", | ||
"uglify-es": "^3.3.9", | ||
@@ -85,3 +85,3 @@ "yargs": "17.1.1" | ||
}, | ||
"gitHead": "a76ab6b597cc7f56f26d0632100b3f378f3e4e1c" | ||
"gitHead": "44c782abcf427752159541ea330cfb19db529c0a" | ||
} |
Sorry, the diff of this file is not supported yet
675940
+ Added@phensley/cldr-utils@1.5.2(transitive)
- Removed@phensley/cldr-utils@1.4.1(transitive)
Updated@phensley/cldr-utils@~1.5.0