Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/timezone

Package Overview
Dependencies
Maintainers
1
Versions
153
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 0.10.2 to 0.11.0-alpha.0

2

lib-es/index.d.ts

@@ -27,3 +27,3 @@ import { RawData } from './types';

private utcinfo;
constructor(raw?: RawData);
constructor(raw: RawData);
/**

@@ -30,0 +30,0 @@ * Get the info for a time zone using a UTC timestamp.

@@ -16,3 +16,2 @@ var __assign = (this && this.__assign) || function () {

function TzImpl(raw) {
if (raw === void 0) { raw = rawdata; }
var _this = this;

@@ -198,3 +197,3 @@ /** Mapping of canonical time zone ids to index */

}, {});
export var TZ = new TzImpl();
export var TZ = new TzImpl(rawdata);
//# sourceMappingURL=index.js.map

@@ -27,3 +27,3 @@ import { RawData } from './types';

private utcinfo;
constructor(raw?: RawData);
constructor(raw: RawData);
/**

@@ -30,0 +30,0 @@ * Get the info for a time zone using a UTC timestamp.

@@ -18,3 +18,2 @@ "use strict";

function TzImpl(raw) {
if (raw === void 0) { raw = autogen_zonedata_1.rawdata; }
var _this = this;

@@ -200,3 +199,3 @@ /** Mapping of canonical time zone ids to index */

}, {});
exports.TZ = new TzImpl();
exports.TZ = new TzImpl(autogen_zonedata_1.rawdata);
//# sourceMappingURL=index.js.map
{
"name": "@phensley/timezone",
"version": "0.10.2",
"version": "0.11.0-alpha.0",
"description": "Compact timezone lib based on tz database",

@@ -40,3 +40,3 @@ "main": "lib/index.js",

"dependencies": {
"@phensley/cldr-utils": "^0.10.2"
"@phensley/cldr-utils": "^0.11.0-alpha.0"
},

@@ -73,3 +73,3 @@ "devDependencies": {

},
"gitHead": "4875f16f3fa321ed087b744fcc9e01d45e879686"
"gitHead": "6028ef476aa9d9570d9ec52bdf53138341fcd8df"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc