Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/solid-query

Package Overview
Dependencies
Maintainers
2
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/solid-query - npm Package Compare versions

Comparing version 5.0.0-alpha.43 to 5.0.0-alpha.44

4

build/source/__tests__/createQueries.test.jsx
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc