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

react-calendly

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-calendly - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

typings/components/stories/Components.stories.d.ts

4

CHANGELOG.md
# Changelog
## 3.0.1
- Fixes uri encoding bug (https://github.com/tcampb/react-calendly/pull/102).
## 3.0.0

@@ -4,0 +8,0 @@

22

dist/index.es.js

@@ -1,2 +0,2 @@

import { createElement, Component, Fragment } from 'react';
import { createElement, Fragment, Component } from 'react';
import { createPortal } from 'react-dom';

@@ -98,14 +98,14 @@

hideGdprBanner ? "hide_gdpr_banner=1" : null,
name ? "name=" + encodeURI(name) : null,
location ? "location=" + encodeURI(location) : null,
firstName ? "first_name=" + encodeURI(firstName) : null,
lastName ? "last_name=" + encodeURI(lastName) : null,
name ? "name=" + encodeURIComponent(name) : null,
location ? "location=" + encodeURIComponent(location) : null,
firstName ? "first_name=" + encodeURIComponent(firstName) : null,
lastName ? "last_name=" + encodeURIComponent(lastName) : null,
guests ? "guests=" + guests.join(",") : null,
email ? "email=" + email : null,
date && date instanceof Date ? "date=" + formatDate(date) : null,
utmCampaign ? "utm_campaign=" + encodeURI(utmCampaign) : null,
utmContent ? "utm_content=" + encodeURI(utmContent) : null,
utmMedium ? "utm_medium=" + encodeURI(utmMedium) : null,
utmSource ? "utm_source=" + encodeURI(utmSource) : null,
utmTerm ? "utm_term=" + encodeURI(utmTerm) : null,
utmCampaign ? "utm_campaign=" + encodeURIComponent(utmCampaign) : null,
utmContent ? "utm_content=" + encodeURIComponent(utmContent) : null,
utmMedium ? "utm_medium=" + encodeURIComponent(utmMedium) : null,
utmSource ? "utm_source=" + encodeURIComponent(utmSource) : null,
utmTerm ? "utm_term=" + encodeURIComponent(utmTerm) : null,
embedType ? "embed_type=" + embedType : null,

@@ -140,3 +140,3 @@ /*

return [];
return customAnswersFiltered.map(function (key) { return key + "=" + encodeURI(customAnswers[key]); });
return customAnswersFiltered.map(function (key) { return key + "=" + encodeURIComponent(customAnswers[key]); });
};

@@ -143,0 +143,0 @@

@@ -102,14 +102,14 @@ 'use strict';

hideGdprBanner ? "hide_gdpr_banner=1" : null,
name ? "name=" + encodeURI(name) : null,
location ? "location=" + encodeURI(location) : null,
firstName ? "first_name=" + encodeURI(firstName) : null,
lastName ? "last_name=" + encodeURI(lastName) : null,
name ? "name=" + encodeURIComponent(name) : null,
location ? "location=" + encodeURIComponent(location) : null,
firstName ? "first_name=" + encodeURIComponent(firstName) : null,
lastName ? "last_name=" + encodeURIComponent(lastName) : null,
guests ? "guests=" + guests.join(",") : null,
email ? "email=" + email : null,
date && date instanceof Date ? "date=" + formatDate(date) : null,
utmCampaign ? "utm_campaign=" + encodeURI(utmCampaign) : null,
utmContent ? "utm_content=" + encodeURI(utmContent) : null,
utmMedium ? "utm_medium=" + encodeURI(utmMedium) : null,
utmSource ? "utm_source=" + encodeURI(utmSource) : null,
utmTerm ? "utm_term=" + encodeURI(utmTerm) : null,
utmCampaign ? "utm_campaign=" + encodeURIComponent(utmCampaign) : null,
utmContent ? "utm_content=" + encodeURIComponent(utmContent) : null,
utmMedium ? "utm_medium=" + encodeURIComponent(utmMedium) : null,
utmSource ? "utm_source=" + encodeURIComponent(utmSource) : null,
utmTerm ? "utm_term=" + encodeURIComponent(utmTerm) : null,
embedType ? "embed_type=" + embedType : null,

@@ -144,3 +144,3 @@ /*

return [];
return customAnswersFiltered.map(function (key) { return key + "=" + encodeURI(customAnswers[key]); });
return customAnswersFiltered.map(function (key) { return key + "=" + encodeURIComponent(customAnswers[key]); });
};

@@ -147,0 +147,0 @@

{
"name": "react-calendly",
"version": "3.0.0",
"version": "3.0.1",
"description": "Calendly integration for React apps",

@@ -5,0 +5,0 @@ "author": "tcampb",

Sorry, the diff of this file is not supported yet

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