Socket
Socket
Sign inDemoInstall

@tanstack/vue-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/vue-query - npm Package Compare versions

Comparing version 5.59.0 to 5.59.1

2

package.json
{
"name": "@tanstack/vue-query",
"version": "5.59.0",
"version": "5.59.1",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",

@@ -5,0 +5,0 @@ "author": "Damian Osipiuk",

@@ -145,2 +145,8 @@ import { describe, expect, test } from 'vitest'

test('should clone getters returning values in queryKey', () => {
const val = ref({ queryKey: [1, 2, () => '3'] })
const cp = cloneDeepUnref(val)
expect(cp).toStrictEqual({ queryKey: [1, 2, '3'] })
})
test('should unref undefined', () => {

@@ -147,0 +153,0 @@ expect(cloneDeepUnref(ref(undefined))).toBe(undefined)

@@ -17,5 +17,7 @@ import { describe, expect, test, vi } from 'vitest'

type UnmountCallback = () => void
interface TestApp extends App {
onUnmount: Function
_unmount: Function
onUnmount: UnmountCallback
_unmount: UnmountCallback
_mixin: ComponentOptions

@@ -33,7 +35,7 @@ _provided: Record<string, any>

onUnmount: withUnmountHook
? vi.fn((u: Function) => {
? vi.fn((u: UnmountCallback) => {
mock._unmount = u
})
: undefined,
mixin: (m: ComponentOptions): any => {
mixin: (m: ComponentOptions) => {
mock._mixin = m

@@ -40,0 +42,0 @@ },

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