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

timezone-js-ts

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezone-js-ts - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

5

dist/index.d.ts
export declare function getCurrentTime(timezone: string): string;
export declare function getAllZones(): {
id: number;
name: string;
}[];
export declare function getAllZones(): string;

2

dist/index.js

@@ -53,3 +53,3 @@ "use strict";

function getAllZones() {
return zones;
return JSON.stringify(zones, null, " ");
}
{
"name": "timezone-js-ts",
"version": "1.1.15",
"version": "1.1.16",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -19,3 +19,3 @@ import * as zones from './all_timezone_lists.json';

export function getAllZones() {
return zones;
return JSON.stringify(zones, null, " ");
}
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