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.3 to 4.15.4

26

dist/index.js

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

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

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

var version="4.15.3";
var version="4.15.4";

@@ -59,24 +59,2 @@ 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);

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

8

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

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

"@hebcal/core": "^3.33.3",
"@hebcal/rest-api": "^3.12.0",
"@hebcal/rest-api": "^3.13.0",
"murmurhash3": "^0.5.0"

@@ -59,3 +59,3 @@ },

"@rollup/plugin-node-resolve": "^13.1.3",
"ava": "^4.0.1",
"ava": "^4.1.0",
"eslint": "^8.10.0",

@@ -65,4 +65,4 @@ "eslint-config-google": "^0.14.0",

"jsdoc-to-markdown": "^7.1.1",
"rollup": "^2.68.0"
"rollup": "^2.70.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