@forcecalendar/core 2.1.68 → 2.1.69
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/core/index.js
CHANGED
|
@@ -28,7 +28,7 @@ export { RRuleParser } from './events/RRuleParser.js';
|
|
|
28
28
|
export { EnhancedCalendar } from './integration/EnhancedCalendar.js';
|
|
29
29
|
|
|
30
30
|
// Version — keep in sync with package.json
|
|
31
|
-
export const VERSION = '2.1.
|
|
31
|
+
export const VERSION = '2.1.69';
|
|
32
32
|
|
|
33
33
|
// Default export
|
|
34
34
|
export { Calendar as default } from './calendar/Calendar.js';
|
|
@@ -187,7 +187,7 @@ export class AdaptiveMemoryManager {
|
|
|
187
187
|
* Increase cache sizes when memory is available
|
|
188
188
|
*/
|
|
189
189
|
increaseCacheSizes() {
|
|
190
|
-
for (const cacheInfo of this.caches.
|
|
190
|
+
for (const [name, cacheInfo] of this.caches.entries()) {
|
|
191
191
|
// Only increase if cache is being actively used
|
|
192
192
|
const timeSinceAccess = Date.now() - cacheInfo.lastAccess;
|
|
193
193
|
if (timeSinceAccess < 60000) {
|