@remit/calendar-service 0.0.6 → 0.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/calendar-service",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "iCalendar (RFC 5545) parsing, projection and recurrence expansion over the calendar store",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/build.ts CHANGED
@@ -60,7 +60,7 @@ const DATE_ONLY = /^\d{4}-\d{2}-\d{2}/;
60
60
  * move is asking for a time that happens twice, or not at all — and guessing
61
61
  * one is how a calendar quietly puts an event an hour out.
62
62
  */
63
- const OFFSET_BEARING = /(Z|[+-]\d{2}:\d{2})$/;
63
+ export const OFFSET_BEARING = /(Z|[+-]\d{2}:\d{2})$/;
64
64
 
65
65
  /**
66
66
  * Reads one API date-time into the iCalendar time the resource will carry.
package/src/index.ts CHANGED
@@ -10,6 +10,7 @@ export {
10
10
  CALENDAR_PRODID,
11
11
  type CalendarEventFields,
12
12
  eventTimeFields,
13
+ OFFSET_BEARING,
13
14
  readEventTime,
14
15
  readRecurrenceRule,
15
16
  } from "./build.js";