Socket
Socket
Sign inDemoInstall

@hebcal/icalendar

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hebcal/icalendar - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

8

dist/index.js

@@ -872,2 +872,3 @@ 'use strict';

* @param {string} url
* @param {boolean} il
* @return {string}

@@ -877,7 +878,8 @@ */

function appendTrackingToUrl(url) {
function appendTrackingToUrl(url, il) {
if (!url) {
return url;
} else if (url.startsWith('https://www.hebcal.com')) {
return url + '?utm_source=js&utm_medium=icalendar';
const suffix = il ? 'i=on&' : '';
return `${url}?${suffix}utm_source=js&utm_medium=icalendar`;
} else {

@@ -1021,3 +1023,3 @@ const sep = url.indexOf('?') == -1 ? '?' : '&';

function createMemo(e, il) {
const url = appendTrackingToUrl(e.url());
const url = appendTrackingToUrl(e.url(), il);

@@ -1024,0 +1026,0 @@ if (e.getFlags() & core.flags.PARSHA_HASHAVUA) {

{
"name": "@hebcal/icalendar",
"version": "2.3.0",
"version": "2.4.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",

@@ -26,4 +26,4 @@ "keywords": [

"dependencies": {
"@hebcal/core": "^2.4.0",
"@hebcal/leyning": "^3.0.0",
"@hebcal/core": "^2.5.1",
"@hebcal/leyning": "^3.3.0",
"@hebcal/rest-api": "^2.5.0",

@@ -30,0 +30,0 @@ "md5": "^2.3.0"

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