@hebcal/icalendar 6.3.1 → 6.3.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.
@@ -1,4 +1,5 @@
1
- import { CalOptions, Event } from '@hebcal/core';
1
+ import { Event } from '@hebcal/core/dist/esm/event';
2
+ import { CalOptions } from '@hebcal/core/dist/esm/CalOptions';
2
3
  export type ICalEventOptions = {
3
4
  dtstamp?: string;
4
5
  sequence?: number;
package/dist/index.js CHANGED
@@ -1,13 +1,17 @@
1
- /*! @hebcal/icalendar v6.3.1 */
2
- import { flags, Locale, greg } from '@hebcal/core';
1
+ /*! @hebcal/icalendar v6.3.3 */
2
+ import { flags } from '@hebcal/core/dist/esm/event';
3
+ import { Locale } from '@hebcal/core/dist/esm/locale';
3
4
  import { murmur32HexSync } from 'murmurhash3';
4
- import { pad2, pad4 } from '@hebcal/hdate';
5
- import { shouldRenderBrief, getEventCategories, getCalendarTitle, getHolidayDescription, appendIsraelAndTracking, makeTorahMemoText } from '@hebcal/rest-api/dist/esm/common';
5
+ import { pad2, isDate, pad4 } from '@hebcal/hdate';
6
+ import { shouldRenderBrief, getEventCategories, getCalendarTitle } from '@hebcal/rest-api/dist/esm/common';
7
+ import { getHolidayDescription } from '@hebcal/rest-api/dist/esm/holiday';
8
+ import { makeTorahMemoText } from '@hebcal/rest-api/dist/esm/memo';
9
+ import { appendIsraelAndTracking } from '@hebcal/rest-api/dist/esm/url';
6
10
  import { makeAnchor } from '@hebcal/rest-api/dist/esm/makeAnchor';
7
11
  import { promises } from 'fs';
8
12
 
9
13
  // DO NOT EDIT THIS AUTO-GENERATED FILE!
10
- const version = '6.3.1';
14
+ const version = '6.3.3';
11
15
 
12
16
  const vtimezoneCache = new Map();
13
17
  const CATEGORY = {
@@ -156,7 +160,7 @@ class IcalEvent {
156
160
  else if (typeof evAlarm === 'boolean' && !evAlarm) {
157
161
  return null;
158
162
  }
159
- else if (greg.isDate(evAlarm)) {
163
+ else if (isDate(evAlarm)) {
160
164
  const alarmDt = evAlarm;
161
165
  alarmDt.setSeconds(0);
162
166
  return 'TRIGGER;VALUE=DATE-TIME:' + IcalEvent.makeDtstamp(alarmDt);
@@ -1 +1 @@
1
- export declare const version = "6.3.1";
1
+ export declare const version = "6.3.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/icalendar",
3
- "version": "6.3.1",
3
+ "version": "6.3.3",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "ical",
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "homepage": "https://hebcal.github.io/api/icalendar/",
32
32
  "dependencies": {
33
- "@hebcal/core": "^6.0.5",
33
+ "@hebcal/core": "^6.0.6",
34
34
  "@hebcal/hdate": "^0.21.1",
35
- "@hebcal/rest-api": "^6.3.0",
35
+ "@hebcal/rest-api": "^6.4.0",
36
36
  "murmurhash3": "^0.5.0",
37
37
  "tslib": "^2.8.1"
38
38
  },
@@ -55,9 +55,9 @@
55
55
  "@rollup/plugin-typescript": "^12.3.0",
56
56
  "@types/node": "24.9.2",
57
57
  "gts": "^5.3.1",
58
- "rollup": "^4.52.5",
59
- "typedoc": "^0.28.14",
58
+ "rollup": "^4.53.3",
59
+ "typedoc": "^0.28.15",
60
60
  "typescript": "^5.9.3",
61
- "vitest": "^4.0.6"
61
+ "vitest": "^4.0.15"
62
62
  }
63
63
  }