@tanstack/solid-query
Advanced tools
Comparing version 5.0.0-alpha.43 to 5.0.0-alpha.44
import { fireEvent, render, screen, waitFor } from '@solidjs/testing-library'; | ||
import * as QueriesObserverModule from '../../../query-core/src/queriesObserver'; | ||
import * as QueryCore from '@tanstack/query-core'; | ||
import { createRenderEffect, createSignal } from 'solid-js'; | ||
@@ -554,3 +554,3 @@ import { createQueries, QueriesObserver, QueryCache, QueryClientProvider, } from '..'; | ||
const QueriesObserverSpy = vi | ||
.spyOn(QueriesObserverModule, 'QueriesObserver') | ||
.spyOn(QueryCore, 'QueriesObserver') | ||
.mockImplementation((fn) => { | ||
@@ -557,0 +557,0 @@ return new QueriesObserverMock(fn, []); |
@@ -5,3 +5,3 @@ import { fireEvent, render, screen, waitFor } from '@solidjs/testing-library'; | ||
import { createEffect, createRenderEffect, createSignal, Show } from 'solid-js'; | ||
import * as MutationCacheModule from '../../../query-core/src/mutationCache'; | ||
import * as QueryCore from '@tanstack/query-core'; | ||
import { vi } from 'vitest'; | ||
@@ -153,3 +153,3 @@ describe('useIsMutating', () => { | ||
// the listener when the component is unmounted | ||
class MutationCacheMock extends MutationCacheModule.MutationCache { | ||
class MutationCacheMock extends QueryCore.MutationCache { | ||
subscribe(listener) { | ||
@@ -161,3 +161,3 @@ super.subscribe(listener); | ||
const MutationCacheSpy = vi | ||
.spyOn(MutationCacheModule, 'MutationCache') | ||
.spyOn(QueryCore, 'MutationCache') | ||
.mockImplementation((fn) => { | ||
@@ -164,0 +164,0 @@ return new MutationCacheMock(fn); |
{ | ||
"name": "@tanstack/solid-query", | ||
"version": "5.0.0-alpha.43", | ||
"version": "5.0.0-alpha.44", | ||
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid", | ||
@@ -43,3 +43,3 @@ "author": "tannerlinsley", | ||
"dependencies": { | ||
"@tanstack/query-core": "5.0.0-alpha.43" | ||
"@tanstack/query-core": "^5.0.0-alpha.43" | ||
}, | ||
@@ -54,5 +54,5 @@ "devDependencies": { | ||
"scripts": { | ||
"clean": "rimraf ./build", | ||
"clean": "rimraf ./build && rimraf ./coverage", | ||
"test:eslint": "eslint --ext .ts,.tsx ./src", | ||
"test:types": "tsc", | ||
"test:types": "pnpm build:types", | ||
"test:lib": "vitest run --coverage", | ||
@@ -62,4 +62,4 @@ "test:lib:dev": "pnpm run test:lib --watch", | ||
"build:rollup": "rollup --config rollup.config.mjs", | ||
"build:types": "tsc --build" | ||
"build:types": "tsc" | ||
} | ||
} |
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
849006
+ Added@tanstack/query-core@5.62.8(transitive)
- Removed@tanstack/query-core@5.0.0-alpha.43(transitive)