Socket
Socket
Sign inDemoInstall

cronofy-elements

Package Overview
Dependencies
Maintainers
3
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cronofy-elements - npm Package Compare versions

Comparing version 1.7.10 to 1.7.11

build/CronofyElements.v1.7.11.js

2

package.json
{
"name": "cronofy-elements",
"version": "1.7.10",
"version": "1.7.11",
"description": "Fast track scheduling with Cronofy's embeddable UI Elements",

@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js",

@@ -42,7 +42,7 @@ import React, { useContext } from "react";

"YYYY-MM-DDTHH:mm:00Z"
).diff(limits[0], "days");
).diff(limits[0], "minutes");
const afterEnd = moment(
item.value.slot.end,
"YYYY-MM-DDTHH:mm:00Z"
).diff(limits[1], "days");
).diff(limits[1], "minutes");
return beforeStart >= 0 && afterEnd <= 0;

@@ -49,0 +49,0 @@ });

@@ -100,3 +100,2 @@ import moment from "moment";

export const checkSlotAvailability = (periods, emptySlots) => {
console.log("periods", periods);
const checkedSlots = {};

@@ -103,0 +102,0 @@ Object.keys(emptySlots).map(key => {

Sorry, the diff of this file is too big to display

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