@forcecalendar/core 2.1.18 → 2.1.19

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/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @forcecalendar/core
2
+
3
+ [![Tests](https://github.com/forceCalendar/core/actions/workflows/test.yml/badge.svg)](https://github.com/forceCalendar/core/actions/workflows/test.yml)
4
+ [![Code Quality](https://github.com/forceCalendar/core/actions/workflows/code-quality.yml/badge.svg)](https://github.com/forceCalendar/core/actions/workflows/code-quality.yml)
5
+ [![npm version](https://img.shields.io/npm/v/@forcecalendar/core.svg)](https://www.npmjs.com/package/@forcecalendar/core)
6
+ [![npm downloads](https://img.shields.io/npm/dw/@forcecalendar/core.svg)](https://www.npmjs.com/package/@forcecalendar/core)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
+
9
+ A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce.
@@ -39,8 +39,7 @@ export class RecurrenceEngine {
39
39
  // Track DST transitions for proper timezone handling
40
40
  let lastOffset = tzManager.getTimezoneOffset(currentDate, eventTimezone);
41
41
 
42
- // Track last date to detect infinite loop (date not advancing)
43
- const lastDateTimestamp = null;
42
+ // Track stuck iterations to detect infinite loop (date not advancing)
44
43
  let stuckCount = 0;
45
44
  const maxStuckIterations = 3;
46
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forcecalendar/core",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce",