Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0.0 to 1.1.0

all_timezone_lists.json

8

index.js

@@ -0,1 +1,3 @@

const fs = require('fs');
/**

@@ -21,2 +23,6 @@ * Get timezone of particular places

module.exports = { getCurrentTime };
function getAllTimezones() {
return fs.readFileSync('./all_timezone_lists.json').toLocaleString();
}
module.exports = { getCurrentTime, getAllTimezones };

2

package.json
{
"name": "timezone-js-ts",
"version": "1.0.0",
"version": "1.1.0",
"description": "",

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

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