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
173
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.20.0 to 1.20.1

build/CronofyElements.v1.20.1.js

2

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

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

@@ -35,12 +35,14 @@ import React, { useContext, useEffect, useRef } from "react";

const profilesMarkup = calendars.profiles.map(profile => (
<CalendarProfiles
key={profile.profile_name}
activeCalendars={calendars.active}
calendars={profile.profile_calendars}
name={profile.profile_name}
service={profile.provider_service}
callbacks={{ add, remove }}
/>
));
const profilesMarkup = calendars.profiles
.filter(profile => profile.profile_calendars.length > 0)
.map(profile => (
<CalendarProfiles
key={profile.profile_name}
activeCalendars={calendars.active}
calendars={profile.profile_calendars}
name={profile.profile_name}
service={profile.provider_service}
callbacks={{ add, remove }}
/>
));

@@ -47,0 +49,0 @@ return (

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