@hebcal/icalendar 6.3.5 → 6.3.6
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/icalendar.d.ts +0 -1
- package/dist/icalendar.js +6 -5
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/pkgVersion.js +2 -2
- package/package.json +4 -4
package/dist/icalendar.d.ts
CHANGED
package/dist/icalendar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v6.3.
|
|
1
|
+
/*! @hebcal/icalendar v6.3.6 */
|
|
2
2
|
import { flags } from '@hebcal/core/dist/esm/event';
|
|
3
3
|
import { Locale } from '@hebcal/core/dist/esm/locale';
|
|
4
4
|
import { murmur32HexSync } from 'murmurhash3';
|
|
@@ -467,9 +467,7 @@ function makeIcalPreamble(opts) {
|
|
|
467
467
|
const title = opts.title ? IcalEvent.escape(opts.title) : 'Untitled';
|
|
468
468
|
const caldesc = opts.caldesc
|
|
469
469
|
? IcalEvent.escape(opts.caldesc)
|
|
470
|
-
:
|
|
471
|
-
? 'Yahrzeits + Anniversaries from www.hebcal.com'
|
|
472
|
-
: 'Jewish Holidays from www.hebcal.com';
|
|
470
|
+
: undefined;
|
|
473
471
|
const prodid = opts.prodid ||
|
|
474
472
|
`-//hebcal.com/NONSGML Hebcal Calendar v1${version}//${uclang}`;
|
|
475
473
|
const preamble = [
|
|
@@ -484,7 +482,10 @@ function makeIcalPreamble(opts) {
|
|
|
484
482
|
const publishedTTL = opts.publishedTTL || 'P7D';
|
|
485
483
|
preamble.push(`REFRESH-INTERVAL;VALUE=DURATION:${publishedTTL}`, `X-PUBLISHED-TTL:${publishedTTL}`);
|
|
486
484
|
}
|
|
487
|
-
preamble.push(`X-WR-CALNAME:${title}
|
|
485
|
+
preamble.push(`X-WR-CALNAME:${title}`);
|
|
486
|
+
if (caldesc) {
|
|
487
|
+
preamble.push(`X-WR-CALDESC:${caldesc}`);
|
|
488
|
+
}
|
|
488
489
|
const relcalid = opts.relcalid;
|
|
489
490
|
if (relcalid) {
|
|
490
491
|
preamble.push(`X-WR-RELCALID:${relcalid}`);
|
package/dist/pkgVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.3.
|
|
1
|
+
export declare const version = "6.3.6";
|
package/dist/pkgVersion.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/icalendar",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.6",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ical",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@hebcal/learning": "^6.6.1",
|
|
54
54
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
55
|
-
"@types/node": "25.0
|
|
55
|
+
"@types/node": "25.3.0",
|
|
56
56
|
"gts": "^7.0.0",
|
|
57
|
-
"rollup": "^4.
|
|
58
|
-
"typedoc": "^0.28.
|
|
57
|
+
"rollup": "^4.59.0",
|
|
58
|
+
"typedoc": "^0.28.17",
|
|
59
59
|
"typescript": "^5.9.3",
|
|
60
60
|
"vitest": "^4.0.18"
|
|
61
61
|
}
|