@phensley/timezone
Advanced tools
Comparing version
@@ -1,12 +0,2 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
import * as tslib_1 from "tslib"; | ||
import { rawdata } from './autogen.zonedata'; | ||
@@ -94,3 +84,3 @@ import { binarySearch, vuintDecode, z85Decode, zigzagDecode } from '@phensley/cldr-utils'; | ||
// const res = isutc ? r.fromUTC(t) : r.fromWall(t); | ||
return __assign({}, res, { zoneid: zoneid }); | ||
return tslib_1.__assign({}, res, { zoneid: zoneid }); | ||
} | ||
@@ -97,0 +87,0 @@ return undefined; |
"use strict"; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var autogen_zonedata_1 = require("./autogen.zonedata"); | ||
@@ -96,3 +86,3 @@ var cldr_utils_1 = require("@phensley/cldr-utils"); | ||
// const res = isutc ? r.fromUTC(t) : r.fromWall(t); | ||
return __assign({}, res, { zoneid: zoneid }); | ||
return tslib_1.__assign({}, res, { zoneid: zoneid }); | ||
} | ||
@@ -99,0 +89,0 @@ return undefined; |
{ | ||
"name": "@phensley/timezone", | ||
"version": "0.11.3-alpha.0", | ||
"version": "0.11.3", | ||
"description": "Compact timezone lib based on tz database", | ||
@@ -40,3 +40,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@phensley/cldr-utils": "^0.11.3-alpha.0" | ||
"@phensley/cldr-utils": "^0.11.3", | ||
"tslib": "^1.9.3" | ||
}, | ||
@@ -73,3 +74,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "b298d97fa3624770fc1ffbabc7d88911e4f35fcb" | ||
"gitHead": "30e640852cd5fa3cfc78259b6c1d9f3be8e1afdc" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
293825
-0.24%2
100%1860
-1.06%+ Added
Updated