@hebcal/icalendar 4.18.3 → 4.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/icalendar v4.18.3 */
1
+ /*! @hebcal/icalendar v4.18.5 */
2
2
  'use strict';
3
3
 
4
4
  var core = require('@hebcal/core');
@@ -6,13 +6,14 @@ var murmurhash3 = require('murmurhash3');
6
6
  var restApi = require('@hebcal/rest-api');
7
7
  var fs = require('fs');
8
8
 
9
- const version="4.18.3";
9
+ const version="4.18.5";
10
10
 
11
11
  const VTIMEZONE = {};
12
12
  const CATEGORY = {
13
13
  candles: 'Holiday',
14
14
  dafyomi: 'Daf Yomi',
15
15
  mishnayomi: 'Mishna Yomi',
16
+ yerushalmi: 'Yerushalmi Yomi',
16
17
  havdalah: 'Holiday',
17
18
  hebdate: null,
18
19
  holiday: 'Holiday',
@@ -77,6 +78,8 @@ class IcalEvent {
77
78
  this.locationName = ev.locationName;
78
79
  } else if (mask & core.flags.DAF_YOMI) {
79
80
  this.locationName = core.Locale.gettext('Daf Yomi');
81
+ } else if (mask & core.flags.YERUSHALMI_YOMI) {
82
+ this.locationName = core.Locale.gettext('Yerushalmi Yomi');
80
83
  } else if (mask & core.flags.MISHNA_YOMI) {
81
84
  this.locationName = core.Locale.gettext('Mishna Yomi');
82
85
  } else if (timed && options.location && options.location.name) {
@@ -309,7 +312,7 @@ function eventToIcal(ev, options) {
309
312
  return ical.toString();
310
313
  }
311
314
  const torahMemoCache = new Map();
312
- const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.MISHNA_YOMI | core.flags.HEBREW_DATE;
315
+ const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.MISHNA_YOMI | core.flags.YERUSHALMI_YOMI | core.flags.HEBREW_DATE;
313
316
 
314
317
  /**
315
318
  * @private
package/dist/index.mjs CHANGED
@@ -1,16 +1,17 @@
1
- /*! @hebcal/icalendar v4.18.3 */
1
+ /*! @hebcal/icalendar v4.18.5 */
2
2
  import { flags, Locale, greg } from '@hebcal/core';
3
3
  import { murmur32HexSync } from 'murmurhash3';
4
4
  import { shouldRenderBrief, pad2, getEventCategories, makeAnchor, pad4, getHolidayDescription, getCalendarTitle, appendIsraelAndTracking, makeTorahMemoText } from '@hebcal/rest-api';
5
5
  import { promises } from 'fs';
6
6
 
7
- const version="4.18.3";
7
+ const version="4.18.5";
8
8
 
9
9
  const VTIMEZONE = {};
10
10
  const CATEGORY = {
11
11
  candles: 'Holiday',
12
12
  dafyomi: 'Daf Yomi',
13
13
  mishnayomi: 'Mishna Yomi',
14
+ yerushalmi: 'Yerushalmi Yomi',
14
15
  havdalah: 'Holiday',
15
16
  hebdate: null,
16
17
  holiday: 'Holiday',
@@ -75,6 +76,8 @@ class IcalEvent {
75
76
  this.locationName = ev.locationName;
76
77
  } else if (mask & flags.DAF_YOMI) {
77
78
  this.locationName = Locale.gettext('Daf Yomi');
79
+ } else if (mask & flags.YERUSHALMI_YOMI) {
80
+ this.locationName = Locale.gettext('Yerushalmi Yomi');
78
81
  } else if (mask & flags.MISHNA_YOMI) {
79
82
  this.locationName = Locale.gettext('Mishna Yomi');
80
83
  } else if (timed && options.location && options.location.name) {
@@ -307,7 +310,7 @@ function eventToIcal(ev, options) {
307
310
  return ical.toString();
308
311
  }
309
312
  const torahMemoCache = new Map();
310
- const HOLIDAY_IGNORE_MASK = flags.DAF_YOMI | flags.OMER_COUNT | flags.SHABBAT_MEVARCHIM | flags.MOLAD | flags.USER_EVENT | flags.MISHNA_YOMI | flags.HEBREW_DATE;
313
+ const HOLIDAY_IGNORE_MASK = flags.DAF_YOMI | flags.OMER_COUNT | flags.SHABBAT_MEVARCHIM | flags.MOLAD | flags.USER_EVENT | flags.MISHNA_YOMI | flags.YERUSHALMI_YOMI | flags.HEBREW_DATE;
311
314
 
312
315
  /**
313
316
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/icalendar",
3
- "version": "4.18.3",
3
+ "version": "4.18.5",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "ical",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/hebcal/hebcal-icalendar/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@hebcal/core": "^3.45.5",
28
- "@hebcal/rest-api": "^4.3.6",
27
+ "@hebcal/core": "^3.46.5",
28
+ "@hebcal/rest-api": "^4.3.8",
29
29
  "murmurhash3": "^0.5.0"
30
30
  },
31
31
  "scripts": {
@@ -48,17 +48,17 @@
48
48
  "verbose": true
49
49
  },
50
50
  "devDependencies": {
51
- "@babel/core": "^7.20.2",
51
+ "@babel/core": "^7.20.5",
52
52
  "@babel/preset-env": "^7.20.2",
53
53
  "@babel/register": "^7.18.9",
54
- "@rollup/plugin-babel": "^6.0.2",
55
- "@rollup/plugin-commonjs": "^23.0.2",
56
- "@rollup/plugin-json": "^5.0.1",
57
- "ava": "^5.0.1",
58
- "eslint": "^8.27.0",
54
+ "@rollup/plugin-babel": "^6.0.3",
55
+ "@rollup/plugin-commonjs": "^23.0.3",
56
+ "@rollup/plugin-json": "^5.0.2",
57
+ "ava": "^5.1.0",
58
+ "eslint": "^8.28.0",
59
59
  "eslint-config-google": "^0.14.0",
60
60
  "jsdoc": "^4.0.0",
61
- "jsdoc-to-markdown": "^7.1.1",
62
- "rollup": "^3.3.0"
61
+ "jsdoc-to-markdown": "^8.0.0",
62
+ "rollup": "^3.5.1"
63
63
  }
64
64
  }