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

timezonecalc

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezonecalc - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

index.js

@@ -31,2 +31,3 @@ exports.test = function() {

exports.timeSub = function(time,sub) {
if (!time || !sub) return console.error(`timeSub() requires 2 inputs`);
return checkLength(time-sub);

@@ -36,3 +37,4 @@ }

exports.timeAdd = function(time,add) {
if (!time || !add) return console.error(`timeAdd() requires 2 inputs`);
return checkLength(time+add);
}

2

package.json
{
"name": "timezonecalc",
"version": "1.0.7",
"version": "1.0.8",
"description": "Calculate times in various timezones",

@@ -5,0 +5,0 @@ "main": "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