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

add-to-calendar-button

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-to-calendar-button - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

6

npm_dist/atcb_npm.js

@@ -6,3 +6,3 @@ /**

*/
const atcbVersion = '1.6.1';
const atcbVersion = '1.6.2';
/* Creator: Jens Kuerschner (https://jenskuerschner.de)

@@ -39,3 +39,3 @@ * Project: https://github.com/jekuer/add-to-calendar-button

// get schema.org event markup and flatten the event block
atcbConfig = JSON.parse(schema.innerHTML);
atcbConfig = JSON.parse(schema.innerHTML.replace(/(\r\n|\n|\r)/gm, "")); // we also remove any real code line breaks from the JSON before parsing it. Use <br> or \n explicitely in the description to create a line break
atcbConfig = atcb_clean_schema_json(atcbConfig);

@@ -46,3 +46,3 @@ // set flag to not delete HTML content later

// get JSON from HTML block
atcbConfig = JSON.parse(atcButtons[i].innerHTML);
atcbConfig = JSON.parse(atcButtons[i].innerHTML.replace(/(\r\n|\n|\r)/gm, "")); // we also remove any real code line breaks from the JSON before parsing it. Use <br> or \n explicitely in the description to create a line break
// set flag to delete HTML content later

@@ -49,0 +49,0 @@ atcbConfig['deleteJSON'] = true;

{
"name": "add-to-calendar-button",
"version": "1.6.1",
"version": "1.6.2",
"description": "A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.",

@@ -5,0 +5,0 @@ "main": "npm_dist/atcb_npm.js",

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