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

timezoner

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezoner - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

11

lib/timezone.js

@@ -46,6 +46,15 @@ /**

request = function (options, cb) {
var data = '';
https
.get(options, function (res) {
res.on('data', function (d) {
return cb(null, JSON.parse(d));
data = data + d;
}).on('error', function(e) {
return cb(e);
}).on('end', function() {
try {
cb(null, JSON.parse(data));
} catch (ex) {
cb(ex);
}
});

@@ -52,0 +61,0 @@ })

2

package.json

@@ -15,3 +15,3 @@ {

"homepage": "https://github.com/justin-john/node-timezone",
"version": "0.1.6",
"version": "0.1.7",
"author": {

@@ -18,0 +18,0 @@ "name": "Justin John Mathews",

@@ -0,0 +0,0 @@ node-timezone

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