You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

interval-management

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

interval-management - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+3
-0
intervals/interval.js

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

start.forEach((value, i) => {
if (mappedIndex[JSON.stringify(value)] !== undefined) {
throw Error('Cannot define array-like interval with two equal (as JSON.stringify) values!');
}
mappedIndex[JSON.stringify(value)] = i;

@@ -17,0 +20,0 @@ });

+1
-1
{
"name": "interval-management",
"version": "2.1.0",
"version": "2.1.1",
"description": "No dependency interval management library, able to work with numbers, string, Dates or special objects",

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

@@ -164,4 +164,5 @@ # Intervals documentation

5) For an interval to have 'infinite' start
6) Define an array-like interval with values which serialize to the same string
If there are any problems, do not hesitate to create an issue or a pull request. Thank you.