Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/refactor/isServer' …
Browse files Browse the repository at this point in the history
…into refactor/isServer
  • Loading branch information
stakbucks committed Jun 8, 2024
2 parents 900d289 + 6301a13 commit a4c94cf
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions examples/solid/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.6.0",
"@astrojs/node": "^8.2.5",
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"astro": "^4.8.6",
"solid-js": "^1.8.17",
"tailwindcss": "^3.4.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"solid-js": "^1.8.17"
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/basic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"solid-js": "^1.8.17"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"solid-js": "^1.8.17"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"solid-js": "^1.8.17"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/solid-start-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.3",
"@solidjs/start": "^1.0.0-rc.1",
"@tanstack/solid-query": "^5.40.1",
"@tanstack/solid-query-devtools": "^5.40.1",
"@tanstack/solid-query": "^5.40.2",
"@tanstack/solid-query-devtools": "^5.40.2",
"solid-js": "^1.8.17",
"vinxi": "^0.3.10"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query-devtools",
"version": "5.40.1",
"version": "5.40.2",
"description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query-persist-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query-persist-client",
"version": "5.40.1",
"version": "5.40.2",
"description": "Solid.js bindings to work with persisters in TanStack/solid-query",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query",
"version": "5.40.1",
"version": "5.40.2",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query/src/createBaseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function createBaseQuery<
}
// Hydration data exists on first load after SSR,
// and should be removed from the observer result
if (v.hydrationData) {
if (v?.hydrationData) {
const { hydrationData, ...rest } = v
v = rest
}
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4c94cf

Please sign in to comment.