Socket
Socket
Sign inDemoInstall

@hebcal/icalendar

Package Overview
Dependencies
3
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.0 to 2.6.0

15

dist/index.js

@@ -899,3 +899,3 @@ 'use strict';

var version="2.5.0";
var version="2.6.0";

@@ -1071,6 +1071,11 @@ /* eslint-disable max-len */

const category = mask & core.flags.USER_EVENT ? 'Personal' : 'Holiday';
const visibility = options.yahrzeit ? 'PRIVATE' : 'PUBLIC';
const arr = ['BEGIN:VEVENT', `DTSTAMP:${dtstamp}`, `CATEGORIES:${category}`, `CLASS:${visibility}`, `SUMMARY:${subj}`, `DTSTART${dtargs}:${startDate}`, `DTEND${dtargs}:${endDate}`, `TRANSP:${transp}`, `X-MICROSOFT-CDO-BUSYSTATUS:${busyStatus}`, `UID:${uid}`]; // create memo (holiday descr, Torah, etc)
const isUserEvent = Boolean(mask & core.flags.USER_EVENT);
const category = isUserEvent ? 'Personal' : 'Holiday';
const arr = ['BEGIN:VEVENT', `DTSTAMP:${dtstamp}`, `CATEGORIES:${category}`, `SUMMARY:${subj}`, `DTSTART${dtargs}:${startDate}`, `DTEND${dtargs}:${endDate}`, `TRANSP:${transp}`, `X-MICROSOFT-CDO-BUSYSTATUS:${busyStatus}`, `UID:${uid}`];
if (!isUserEvent) {
arr.push('CLASS:PUBLIC');
} // create memo (holiday descr, Torah, etc)
const memo = candles ? '' : createMemo(e, options.il);

@@ -1088,3 +1093,3 @@ addOptional(arr, 'DESCRIPTION', memo);

alarm = '3H'; // 9pm Omer alarm evening before
} else if (mask & core.flags.USER_EVENT) {
} else if (isUserEvent) {
alarm = '12H'; // noon the day before

@@ -1091,0 +1096,0 @@ } else if (timed && desc.startsWith('Candle lighting')) {

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

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc