From e3bbd13ed8981af818e84c03a182236588f11a95 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 16 Jun 2025 23:37:02 -0400 Subject: [PATCH] Removed log statement that snuck in --- package.json | 2 +- src/cache.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cb29e6d..f0295a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ztimson/utils", - "version": "0.25.9", + "version": "0.25.10", "description": "Utility library", "author": "Zak Timson", "license": "MIT", diff --git a/src/cache.ts b/src/cache.ts index b6c0446..56ff35b 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -34,10 +34,7 @@ export class Cache { if(options.storageKey && !options.storage && typeof(Storage) !== 'undefined') options.storage = localStorage; if(options.storage) { if(options.storage instanceof Table) { - (async () => (await options.storage?.getAll()).forEach((v: any) => { - console.log(v); - this.add(v) - }))() + (async () => (await options.storage?.getAll()).forEach((v: any) => this.add(v)))() } else if(options.storageKey) { const stored = options.storage?.getItem(options.storageKey); if(stored != null) try { Object.assign(this.store, JSON.parse(stored)); } catch { }