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

idea-toolbox

Package Overview
Dependencies
Maintainers
2
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idea-toolbox - npm Package Compare versions

Comparing version 6.6.3 to 6.6.4

5

dist/src/timeInterval.model.js

@@ -14,2 +14,5 @@ "use strict";

this.to = this.clean(x.to, Number, 0);
// if "from" is set, the default value for "to" is the next midnight
if (this.from && this.to === 0)
this.to = 86400000;
}

@@ -19,3 +22,3 @@ validate() {

// the starting time can't be lower than 0
if (this.iE(this.from) || this.from < 0)
if (this.from < 0)
e.push('from');

@@ -22,0 +25,0 @@ // the ending time can't be lower than the start and can't be higher than 24 hours

2

package.json
{
"name": "idea-toolbox",
"version": "6.6.3",
"version": "6.6.4",
"description": "IDEA's utility functions",

@@ -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