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.4.1 to 1.4.2

Gruntfile.js

7

npm_dist/atcb_npm.js

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

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

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

];
let dlurl = 'data:text/calendar;base64,'+btoa(ics_lines.join('\r\n'));
let dlurl = 'data:text/calendar;base64,'+btoa(ics_lines.join('\r\n').replace(/[\u00A0-\u2666]/g, function(c) { return '&#' + c.charCodeAt(0) + ';'; })); // includes a fix to not throw an error with non-Latin1 characters. However, still needs improvement, since it shows up encoded in the iCal file.
try {

@@ -578,3 +578,2 @@ if (!window.ActiveXObject) {

// EXPORT FOR USE IN NODEJS
export { atcb_init };
export { atcb_init };
{
"name": "add-to-calendar-button",
"version": "1.4.1",
"version": "1.4.2",
"description": "A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.",

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

"style": "assets/css/atcb.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

@@ -45,3 +42,14 @@ "type": "git",

},
"homepage": "https://github.com/jekuer/add-to-calendar-button"
"homepage": "https://github.com/jekuer/add-to-calendar-button",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "grunt"
},
"dependencies": {
"grunt": "^1.4.1",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^4.0.0",
"grunt-contrib-uglify": "^5.0.1"
}
}

@@ -193,2 +193,4 @@ # Your next Add-to-Calendar Button

* [Pull requests](.github/CONTRIBUTING.md#pull-requests)
IMPORTANT NOTE: Run `npm install` and `npm run build` to create the minified js and css file, its sourcemap files as well as the npm_dist/ folder and content!

@@ -195,0 +197,0 @@

Sorry, the diff of this file is not supported yet

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