@hebcal/icalendar 4.17.3 → 4.18.2
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +11 -12
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v4.
|
|
1
|
+
/*! @hebcal/icalendar v4.18.2 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8,7 +8,7 @@ var murmurhash3 = require('murmurhash3');
|
|
|
8
8
|
var restApi = require('@hebcal/rest-api');
|
|
9
9
|
var fs = require('fs');
|
|
10
10
|
|
|
11
|
-
const version="4.
|
|
11
|
+
const version="4.18.2";
|
|
12
12
|
|
|
13
13
|
const VTIMEZONE = {};
|
|
14
14
|
const CATEGORY = {
|
|
@@ -365,7 +365,7 @@ const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.f
|
|
|
365
365
|
*/
|
|
366
366
|
|
|
367
367
|
function makeTorahMemo(ev, il) {
|
|
368
|
-
if (ev.getFlags() & HOLIDAY_IGNORE_MASK) {
|
|
368
|
+
if (ev.getFlags() & HOLIDAY_IGNORE_MASK || ev.eventTime) {
|
|
369
369
|
return '';
|
|
370
370
|
}
|
|
371
371
|
|
|
@@ -408,7 +408,7 @@ function createMemo(e, options) {
|
|
|
408
408
|
|
|
409
409
|
if (mask & core.flags.OMER_COUNT) {
|
|
410
410
|
const sefira = [e.sefira('en'), e.sefira('he'), e.sefira('translit')].join('\\n');
|
|
411
|
-
return e.getTodayIs('en') + '\\n\\n' + sefira;
|
|
411
|
+
return e.getTodayIs('en') + '\\n\\n' + e.getTodayIs('he') + '\\n\\n' + sefira;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
const url = appendTrackingToUrl(e.url(), options);
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v4.
|
|
1
|
+
/*! @hebcal/icalendar v4.18.2 */
|
|
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.
|
|
7
|
+
const version="4.18.2";
|
|
8
8
|
|
|
9
9
|
const VTIMEZONE = {};
|
|
10
10
|
const CATEGORY = {
|
|
@@ -361,7 +361,7 @@ const HOLIDAY_IGNORE_MASK = flags.DAF_YOMI | flags.OMER_COUNT | flags.SHABBAT_ME
|
|
|
361
361
|
*/
|
|
362
362
|
|
|
363
363
|
function makeTorahMemo(ev, il) {
|
|
364
|
-
if (ev.getFlags() & HOLIDAY_IGNORE_MASK) {
|
|
364
|
+
if (ev.getFlags() & HOLIDAY_IGNORE_MASK || ev.eventTime) {
|
|
365
365
|
return '';
|
|
366
366
|
}
|
|
367
367
|
|
|
@@ -404,7 +404,7 @@ function createMemo(e, options) {
|
|
|
404
404
|
|
|
405
405
|
if (mask & flags.OMER_COUNT) {
|
|
406
406
|
const sefira = [e.sefira('en'), e.sefira('he'), e.sefira('translit')].join('\\n');
|
|
407
|
-
return e.getTodayIs('en') + '\\n\\n' + sefira;
|
|
407
|
+
return e.getTodayIs('en') + '\\n\\n' + e.getTodayIs('he') + '\\n\\n' + sefira;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
const url = appendTrackingToUrl(e.url(), options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/icalendar",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.2",
|
|
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.
|
|
28
|
-
"@hebcal/rest-api": "^
|
|
27
|
+
"@hebcal/core": "^3.42.3",
|
|
28
|
+
"@hebcal/rest-api": "^4.1.0",
|
|
29
29
|
"murmurhash3": "^0.5.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
@@ -48,18 +48,17 @@
|
|
|
48
48
|
"verbose": true
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.
|
|
52
|
-
"@babel/preset-env": "^7.
|
|
53
|
-
"@babel/register": "^7.
|
|
51
|
+
"@babel/core": "^7.18.13",
|
|
52
|
+
"@babel/preset-env": "^7.18.10",
|
|
53
|
+
"@babel/register": "^7.18.9",
|
|
54
54
|
"@rollup/plugin-babel": "^5.3.1",
|
|
55
|
-
"@rollup/plugin-commonjs": "^22.0.
|
|
55
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
56
56
|
"@rollup/plugin-json": "^4.1.0",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"eslint": "^8.14.0",
|
|
57
|
+
"ava": "^4.3.1",
|
|
58
|
+
"eslint": "^8.22.0",
|
|
60
59
|
"eslint-config-google": "^0.14.0",
|
|
61
|
-
"jsdoc": "^3.6.
|
|
60
|
+
"jsdoc": "^3.6.11",
|
|
62
61
|
"jsdoc-to-markdown": "^7.1.1",
|
|
63
|
-
"rollup": "^2.
|
|
62
|
+
"rollup": "^2.78.1"
|
|
64
63
|
}
|
|
65
64
|
}
|