New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/timezone

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/timezone - npm Package Compare versions

Comparing version

to
0.11.3

14

lib-es/index.js

@@ -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;

7

package.json
{
"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