@tanstack/query-sync-storage-persister
Advanced tools
Comparing version 5.24.1 to 5.24.2
// src/index.ts | ||
import { noop } from "./utils.js"; | ||
function createSyncStoragePersister({ | ||
@@ -67,4 +68,2 @@ storage, | ||
} | ||
function noop() { | ||
} | ||
export { | ||
@@ -71,0 +70,0 @@ createSyncStoragePersister |
// src/index.ts | ||
import { noop } from "./utils.js"; | ||
function createSyncStoragePersister({ | ||
@@ -67,4 +68,2 @@ storage, | ||
} | ||
function noop() { | ||
} | ||
export { | ||
@@ -71,0 +70,0 @@ createSyncStoragePersister |
{ | ||
"name": "@tanstack/query-sync-storage-persister", | ||
"version": "5.24.1", | ||
"version": "5.24.2", | ||
"description": "A persister for synchronous storages, to be used with TanStack/Query", | ||
@@ -40,4 +40,4 @@ "author": "tannerlinsley", | ||
"dependencies": { | ||
"@tanstack/query-core": "5.24.1", | ||
"@tanstack/query-persist-client-core": "5.24.1" | ||
"@tanstack/query-core": "5.24.2", | ||
"@tanstack/query-persist-client-core": "5.24.2" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
@@ -21,3 +21,3 @@ import { describe, expect, test } from 'vitest' | ||
setItem(key: string, value: string) { | ||
if (typeof limitSize !== 'undefined') { | ||
if (limitSize !== undefined) { | ||
const currentSize = Array.from(dataSet.entries()).reduce( | ||
@@ -24,0 +24,0 @@ (n, d) => d[0].length + d[1].length + n, |
@@ -0,1 +1,2 @@ | ||
import { noop } from './utils' | ||
import type { | ||
@@ -111,3 +112,1 @@ PersistRetryer, | ||
} | ||
function noop() {} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44136
30
751
+ Added@tanstack/query-core@5.24.2(transitive)
+ Added@tanstack/query-persist-client-core@5.24.2(transitive)
- Removed@tanstack/query-core@5.24.1(transitive)
- Removed@tanstack/query-persist-client-core@5.24.1(transitive)
Updated@tanstack/query-core@5.24.2