@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.
@@ -14,7 +14,6 @@ export type ICalEventOptions = {
14
14
  publishedTTL?: string | boolean;
15
15
  calendarColor?: string;
16
16
  relcalid?: string;
17
- yahrzeit?: boolean;
18
17
  subscribe?: string | boolean;
19
18
  url?: boolean;
20
19
  };
package/dist/icalendar.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/icalendar v6.3.5 */
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
- : opts.yahrzeit
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}`, `X-WR-CALDESC:${caldesc}`);
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}`);
@@ -1 +1 @@
1
- export declare const version = "6.3.5";
1
+ export declare const version = "6.3.6";
@@ -1,5 +1,5 @@
1
- /*! @hebcal/icalendar v6.3.5 */
1
+ /*! @hebcal/icalendar v6.3.6 */
2
2
  // DO NOT EDIT THIS AUTO-GENERATED FILE!
3
- const version = '6.3.5';
3
+ const version = '6.3.6';
4
4
 
5
5
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/icalendar",
3
- "version": "6.3.5",
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.10",
55
+ "@types/node": "25.3.0",
56
56
  "gts": "^7.0.0",
57
- "rollup": "^4.56.0",
58
- "typedoc": "^0.28.16",
57
+ "rollup": "^4.59.0",
58
+ "typedoc": "^0.28.17",
59
59
  "typescript": "^5.9.3",
60
60
  "vitest": "^4.0.18"
61
61
  }