add-to-calendar-button
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52928
9
753
214
5
+ Addedgrunt@^1.4.1
+ Addedgrunt-contrib-clean@^2.0.0
+ Addedgrunt-contrib-copy@^1.0.0
+ Addedgrunt-contrib-cssmin@^4.0.0
+ Addedgrunt-contrib-uglify@^5.0.1
+ Addedabbrev@1.1.1(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.14.3.0(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedarray-each@1.0.1(transitive)
+ Addedarray-slice@1.1.0(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchalk@1.1.34.1.2(transitive)
+ Addedclean-css@5.3.3(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolors@1.1.2(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddateformat@4.6.3(transitive)
+ Addeddetect-file@1.0.0(transitive)
+ Addedduplexer@0.1.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedeventemitter2@0.4.14(transitive)
+ Addedexit@0.1.2(transitive)
+ Addedexpand-tilde@2.0.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedfigures@3.2.0(transitive)
+ Addedfile-sync-cmp@0.1.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfindup-sync@4.0.05.0.0(transitive)
+ Addedfined@1.2.0(transitive)
+ Addedflagged-respawn@1.0.1(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfor-own@1.0.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgetobject@1.0.2(transitive)
+ Addedglob@7.1.7(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedglobal-prefix@1.0.2(transitive)
+ Addedgrunt@1.6.1(transitive)
+ Addedgrunt-cli@1.4.3(transitive)
+ Addedgrunt-contrib-clean@2.0.1(transitive)
+ Addedgrunt-contrib-copy@1.0.0(transitive)
+ Addedgrunt-contrib-cssmin@4.0.0(transitive)
+ Addedgrunt-contrib-uglify@5.2.2(transitive)
+ Addedgrunt-known-options@2.0.0(transitive)
+ Addedgrunt-legacy-log@3.0.0(transitive)
+ Addedgrunt-legacy-log-utils@2.1.0(transitive)
+ Addedgrunt-legacy-util@2.0.1(transitive)
+ Addedgzip-size@5.1.1(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhomedir-polyfill@1.0.3(transitive)
+ Addedhooker@0.2.3(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedinterpret@1.1.0(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-relative@1.0.0(transitive)
+ Addedis-unc-path@1.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedliftup@3.0.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmake-iterator@1.0.1(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedmaxmin@3.0.0(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimatch@3.0.8(transitive)
+ Addednopt@3.0.64.0.3(transitive)
+ Addedobject.defaults@1.1.0(transitive)
+ Addedobject.map@1.0.1(transitive)
+ Addedobject.pick@1.3.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedparse-filepath@1.0.2(transitive)
+ Addedparse-passwd@1.0.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-root@0.1.1(transitive)
+ Addedpath-root-regex@0.1.2(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpify@4.0.1(transitive)
+ Addedpretty-bytes@5.6.0(transitive)
+ Addedrechoir@0.7.1(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedresolve-dir@1.0.1(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsprintf-js@1.0.31.1.3(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.07.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addedunc-path-regex@0.1.2(transitive)
+ Addedunderscore.string@3.3.6(transitive)
+ Addeduri-path@1.0.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedv8flags@3.2.0(transitive)
+ Addedwhich@1.3.12.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)