@phensley/timezone
Advanced tools
Comparing version 1.2.13 to 1.2.14
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TZ = exports.TzImpl = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -174,3 +175,3 @@ var autogen_zonedata_1 = require("./autogen.zonedata"); | ||
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]; | ||
@@ -189,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]]; | ||
@@ -192,0 +193,0 @@ i++; |
{ | ||
"name": "@phensley/timezone", | ||
"version": "1.2.13", | ||
"version": "1.2.14", | ||
"description": "Compact timezone lib based on tz database", | ||
@@ -40,4 +40,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@phensley/cldr-utils": "~1.2.13", | ||
"tslib": "^1.13.0" | ||
"@phensley/cldr-utils": "~1.2.14", | ||
"tslib": "^2.3.1" | ||
}, | ||
@@ -50,4 +50,4 @@ "devDependencies": { | ||
"@types/yargs": "^15.0.4", | ||
"@typescript-eslint/eslint-plugin": "^2.33.0", | ||
"@typescript-eslint/parser": "^2.33.0", | ||
"@typescript-eslint/eslint-plugin": "5.55.0", | ||
"@typescript-eslint/parser": "5.55.0", | ||
"beautify-benchmark": "^0.2.4", | ||
@@ -57,11 +57,11 @@ "benchmark": "^2.1.4", | ||
"dts-bundle-generator": "^4.3.0", | ||
"eslint": "^7.0.0", | ||
"eslint": "^8.32.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"jest": "^26.0.1", | ||
"jest": "25.5.4", | ||
"prettier": "^2.0.5", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^25.5.1", | ||
"ts-jest": "25.5.1", | ||
"ts-node": "^8.10.1", | ||
"typescript": "~3.8.3", | ||
"typescript": "4.9.4", | ||
"uglify-es": "^3.3.9", | ||
@@ -87,3 +87,3 @@ "yargs": "^15.3.1" | ||
}, | ||
"gitHead": "1649a9047668bc4519d33526f50174ba3f2e2d32" | ||
"gitHead": "bea64f8ab05fb48af97cfa88b1293e0b17d2ed0d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
682276
2251
- Removedtslib@1.14.1(transitive)
Updated@phensley/cldr-utils@~1.2.14
Updatedtslib@^2.3.1