@vue/test-utils
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -21,6 +21,4 @@ import { ComponentPublicInstance, DefineComponent, VNode } from 'vue'; | ||
[key in PropNames extends string ? PropNames : string]?: any; | ||
} : Props> : DefineComponent, P extends ComponentProps<C> = ComponentProps<C>>(originalComponent: T, options?: ComponentMountingOptions<C, P>): VueWrapper<ComponentProps<C> & ComponentData<C> & ComponentExposed<C>, ComponentPublicInstance<ComponentProps<C>, ComponentData<C> & ComponentExposed<C> & Omit<P, keyof ComponentProps<C>>>> & { | ||
LOOL: Exclude<P, ComponentProps<C>>; | ||
}; | ||
} : Props> : DefineComponent, P extends ComponentProps<C> = ComponentProps<C>>(originalComponent: T, options?: ComponentMountingOptions<C, P>): VueWrapper<ComponentProps<C> & ComponentData<C> & ComponentExposed<C>, ComponentPublicInstance<ComponentProps<C>, ComponentData<C> & ComponentExposed<C> & Omit<P, keyof ComponentProps<C>>>>; | ||
export declare const shallowMount: typeof mount; | ||
export {}; |
@@ -29,5 +29,5 @@ import { App, ComponentPublicInstance } from 'vue'; | ||
setData(data: Record<string, unknown>): Promise<void>; | ||
setProps(props: T['$props']): Promise<void>; | ||
setProps(props: Partial<T['$props']>): Promise<void>; | ||
setValue(value: unknown, prop?: string): Promise<void>; | ||
unmount(): void; | ||
} |
{ | ||
"name": "@vue/test-utils", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"license": "MIT", | ||
@@ -35,7 +35,7 @@ "main": "dist/vue-test-utils.cjs.js", | ||
"@types/js-beautify": "1.14.3", | ||
"@types/node": "20.9.0", | ||
"@typescript-eslint/eslint-plugin": "6.10.0", | ||
"@typescript-eslint/parser": "6.10.0", | ||
"@vitejs/plugin-vue": "4.4.1", | ||
"@vitejs/plugin-vue-jsx": "3.0.2", | ||
"@types/node": "20.9.4", | ||
"@typescript-eslint/eslint-plugin": "6.12.0", | ||
"@typescript-eslint/parser": "6.12.0", | ||
"@vitejs/plugin-vue": "4.5.0", | ||
"@vitejs/plugin-vue-jsx": "3.1.0", | ||
"@vitest/coverage-v8": "0.34.6", | ||
@@ -46,17 +46,17 @@ "@vue/compat": "3.3.8", | ||
"@vue/server-renderer": "3.3.8", | ||
"eslint": "8.53.0", | ||
"eslint": "8.54.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-prettier": "5.0.1", | ||
"husky": "8.0.3", | ||
"jsdom": "22.1.0", | ||
"jsdom": "23.0.0", | ||
"jsdom-global": "3.0.2", | ||
"lint-staged": "15.0.2", | ||
"prettier": "3.0.3", | ||
"lint-staged": "15.1.0", | ||
"prettier": "3.1.0", | ||
"reflect-metadata": "0.1.13", | ||
"rollup": "4.3.0", | ||
"rollup": "4.5.1", | ||
"tslib": "2.6.2", | ||
"typescript": "5.2.2", | ||
"typescript": "5.3.2", | ||
"unplugin-vue-components": "0.25.2", | ||
"vite": "4.5.0", | ||
"vitepress": "1.0.0-rc.25", | ||
"vite": "5.0.2", | ||
"vitepress": "1.0.0-rc.31", | ||
"vitest": "0.34.6", | ||
@@ -100,3 +100,3 @@ "vue": "3.3.8", | ||
"homepage": "https://github.com/vuejs/test-utils", | ||
"packageManager": "pnpm@8.10.2", | ||
"packageManager": "pnpm@8.10.5", | ||
"scripts": { | ||
@@ -103,0 +103,0 @@ "test": "vitest", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1476259
37118