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

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.17.2 to 1.17.3

build/CronofyElements.v1.17.3.js

2

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

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

@@ -17,4 +17,3 @@ import React, { useState, useEffect } from "react";

generateWeeklySlots,
generateStaticWeeks,
removeManagedAvailability
generateStaticWeeks
} from "../../helpers/utils.AvailabilityViewer";

@@ -264,6 +263,2 @@ import { parseStyleOptions } from "../../helpers/theming";

if (status.mode === "free_select") {
query = removeManagedAvailability(query);
}
const croppedQuery = cropQuery(query, {

@@ -270,0 +265,0 @@ currentWeek: weeks.current,

@@ -489,14 +489,2 @@ import moment from "moment-timezone";

export const removeManagedAvailability = query => ({
...query,
participants: query.participants.map(parts => ({
...parts,
members: parts.members.map(member => {
delete member.availability_rule_ids;
delete member.managed_availability;
return member;
})
}))
});
export const calculateDisplayText = (i18n, slot, status) => {

@@ -503,0 +491,0 @@ const startObject = moment.tz(

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