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

@ssense/sscheduler

Package Overview
Dependencies
Maintainers
15
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ssense/sscheduler - npm Package Compare versions

Comparing version 1.2.0 to 1.3.2

.nyc_output/24981f4720bd52a60dc9326a1df384cd.json

12

dist/Scheduler.js

@@ -47,3 +47,4 @@ "use strict";

from: moment(schedule.from, 'HH:mm'),
to: moment(schedule.to, 'HH:mm')
to: moment(schedule.to, 'HH:mm'),
reference: schedule.reference || null
};

@@ -64,3 +65,4 @@ if (!s.from.isValid()) {

from: moment(unavailability.from, 'HH:mm'),
to: moment(unavailability.to, 'HH:mm')
to: moment(unavailability.to, 'HH:mm'),
reference: unavailability.reference || null
};

@@ -323,3 +325,4 @@ if (!breakPeriod.from.isValid()) {

time: timeSlotStart.format('HH:mm'),
available: false
available: false,
reference: daySchedule.reference
});

@@ -348,3 +351,4 @@ timeSlotStart.add({ minutes: this.params.interval });

time: timeSlotStart.format('HH:mm'),
available: isAvailable
available: isAvailable,
reference: daySchedule.reference
});

@@ -351,0 +355,0 @@ timeSlotStart.add({ minutes: this.params.interval });

@@ -20,2 +20,3 @@ import * as moment from 'moment';

to: string|moment.Moment;
reference?: any;
}

@@ -40,2 +41,3 @@

available: boolean;
reference?: any;
}

@@ -42,0 +44,0 @@

{
"name": "@ssense/sscheduler",
"version": "1.2.0",
"version": "1.3.2",
"description": "Flexible scheduler to find free time slots in the schedule of a resource",

@@ -37,3 +37,3 @@ "main": "./dist/index.js",

"dependencies": {
"lodash": "^4.13.1",
"lodash": "4.13.1",
"moment": "^2.17.1"

@@ -44,3 +44,3 @@ },

"@types/chai": "^3.4.34",
"@types/lodash": "^4.14.50",
"@types/lodash": "4.14.50",
"@types/mocha": "^2.2.37",

@@ -47,0 +47,0 @@ "@types/node": "^7.0.0",

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