@codeleap/query
Advanced tools
+4
-4
| { | ||
| "name": "@codeleap/query", | ||
| "version": "5.8.4", | ||
| "version": "5.8.5", | ||
| "main": "src/index.ts", | ||
@@ -12,4 +12,4 @@ "license": "UNLICENSED", | ||
| "devDependencies": { | ||
| "@codeleap/config": "5.8.4", | ||
| "@codeleap/types": "5.8.4", | ||
| "@codeleap/config": "5.8.5", | ||
| "@codeleap/types": "5.8.5", | ||
| "ts-node-dev": "1.1.8" | ||
@@ -21,3 +21,3 @@ }, | ||
| "peerDependencies": { | ||
| "@codeleap/types": "5.8.4", | ||
| "@codeleap/types": "5.8.5", | ||
| "typescript": "5.5.2", | ||
@@ -24,0 +24,0 @@ "@tanstack/react-query": "5.89.0" |
@@ -49,3 +49,3 @@ import { InfiniteData } from '@tanstack/query-core' | ||
| const updatedPages = [...currentData.pages] | ||
| const updatedPages = [...(currentData?.pages || [])] | ||
@@ -228,7 +228,7 @@ if (itemPosition.pageIndex < updatedPages.length) { | ||
| if (!oldData) continue | ||
| if (!oldData?.pages || !Array.isArray(oldData?.pages)) continue | ||
| let hasChanges = false | ||
| const updatedPages = oldData.pages.map(page => { | ||
| const updatedPages = (oldData?.pages ?? [])?.filter(Array.isArray)?.map(page => { | ||
| let pageChanged = false | ||
@@ -235,0 +235,0 @@ |
Sorry, the diff of this file is not supported yet
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
131958
0.06%2
-33.33%