@hebcal/icalendar 6.1.2 → 6.1.3
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 +6 -6
- package/dist/pkgVersion.d.ts +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v6.1.
|
|
1
|
+
/*! @hebcal/icalendar v6.1.3 */
|
|
2
2
|
import { flags, Locale, greg } from '@hebcal/core';
|
|
3
3
|
import { murmur32HexSync } from 'murmurhash3';
|
|
4
4
|
import { pad2, pad4 } from '@hebcal/hdate';
|
|
5
|
-
import { shouldRenderBrief, getEventCategories,
|
|
5
|
+
import { shouldRenderBrief, getEventCategories, getCalendarTitle, getHolidayDescription, appendIsraelAndTracking, makeTorahMemoText } from '@hebcal/rest-api/dist/esm/common';
|
|
6
6
|
import { makeAnchor } from '@hebcal/rest-api/dist/esm/makeAnchor';
|
|
7
7
|
import { promises } from 'fs';
|
|
8
8
|
|
|
9
9
|
// DO NOT EDIT THIS AUTO-GENERATED FILE!
|
|
10
|
-
const version = '6.1.
|
|
10
|
+
const version = '6.1.3';
|
|
11
11
|
|
|
12
12
|
const vtimezoneCache = new Map();
|
|
13
13
|
const CATEGORY = {
|
|
@@ -384,14 +384,14 @@ function createMemo(ev, options) {
|
|
|
384
384
|
}
|
|
385
385
|
const url = appendTrackingToUrl(ev.url(), options);
|
|
386
386
|
const torahMemo = makeTorahMemo(ev, options.il);
|
|
387
|
+
if (!memo) {
|
|
388
|
+
memo = getHolidayDescription(ev);
|
|
389
|
+
}
|
|
387
390
|
if (!memo) {
|
|
388
391
|
const linkedEvent = ev.linkedEvent;
|
|
389
392
|
if (typeof linkedEvent !== 'undefined') {
|
|
390
393
|
memo = linkedEvent.render(options.locale);
|
|
391
394
|
}
|
|
392
|
-
else {
|
|
393
|
-
memo = getHolidayDescription(ev);
|
|
394
|
-
}
|
|
395
395
|
}
|
|
396
396
|
if (torahMemo) {
|
|
397
397
|
if (memo.length) {
|
package/dist/pkgVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.1.
|
|
1
|
+
export declare const version = "6.1.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/icalendar",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ical",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"url": "https://github.com/hebcal/hebcal-icalendar/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@hebcal/core": "^5.
|
|
33
|
-
"@hebcal/hdate": "^0.
|
|
34
|
-
"@hebcal/rest-api": "^6.1.
|
|
32
|
+
"@hebcal/core": "^5.9.3",
|
|
33
|
+
"@hebcal/hdate": "^0.14.0",
|
|
34
|
+
"@hebcal/rest-api": "^6.1.2",
|
|
35
35
|
"murmurhash3": "^0.5.0",
|
|
36
36
|
"tslib": "^2.8.1"
|
|
37
37
|
},
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
},
|
|
51
51
|
"license": "BSD-2-Clause",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@hebcal/learning": "^
|
|
53
|
+
"@hebcal/learning": "^6.3.0",
|
|
54
54
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
55
55
|
"@types/jest": "^29.5.14",
|
|
56
|
-
"@types/node": "22.
|
|
56
|
+
"@types/node": "22.14.1",
|
|
57
57
|
"gts": "^5.3.1",
|
|
58
|
-
"rollup": "^4.
|
|
59
|
-
"typedoc": "^0.
|
|
60
|
-
"typescript": "^5.
|
|
61
|
-
"vitest": "^
|
|
58
|
+
"rollup": "^4.40.0",
|
|
59
|
+
"typedoc": "^0.28.3",
|
|
60
|
+
"typescript": "^5.8.3",
|
|
61
|
+
"vitest": "^3.1.2"
|
|
62
62
|
}
|
|
63
63
|
}
|