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 4.15.2 to 4.15.3

26

dist/index.js

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

/*! @hebcal/icalendar v4.15.2 */
/*! @hebcal/icalendar v4.15.3 */
'use strict';

@@ -11,3 +11,3 @@

var version="4.15.2";
var version="4.15.3";

@@ -59,2 +59,24 @@ const VTIMEZONE = {};

const utmCampaign = options.utmCampaign;
const u = new URL(url);
if (utmCampaign && utmCampaign.startsWith('ical-') && u.host === 'www.hebcal.com') {
u.host = 'hebcal.com';
const path = u.pathname;
if (path.startsWith('/holidays/')) {
u.pathname = '/h/' + path.substring(10);
} else if (path.startsWith('/sedrot/')) {
u.pathname = '/s/' + path.substring(8);
} else {
return restApi.appendIsraelAndTracking(url, options.il, utmSource, utmMedium, utmCampaign);
}
if (options.il) {
u.searchParams.set('i', 'on');
}
u.searchParams.set('uc', utmCampaign);
return u.toString();
}
return restApi.appendIsraelAndTracking(url, options.il, utmSource, utmMedium, utmCampaign);

@@ -61,0 +83,0 @@ }

14

package.json
{
"name": "@hebcal/icalendar",
"version": "4.15.2",
"version": "4.15.3",
"author": "Michael J. Radwin (https://github.com/mjradwin)",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"@hebcal/core": "^3.33.2",
"@hebcal/core": "^3.33.3",
"@hebcal/rest-api": "^3.12.0",

@@ -52,16 +52,16 @@ "murmurhash3": "^0.5.0"

"devDependencies": {
"@babel/core": "^7.17.3",
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.17.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"ava": "^4.0.1",
"eslint": "^8.9.0",
"eslint": "^8.10.0",
"eslint-config-google": "^0.14.0",
"jsdoc": "^3.6.10",
"jsdoc-to-markdown": "^7.1.1",
"rollup": "^2.67.2"
"rollup": "^2.68.0"
}
}

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