@vue/test-utils
Advanced tools
Comparing version 2.0.0-rc.15 to 2.0.0-rc.16
@@ -9,2 +9,3 @@ import { mount, shallowMount } from './mount'; | ||
import { flushPromises } from './utils/flushPromises'; | ||
export { mount, shallowMount, RouterLinkStub, VueWrapper, DOMWrapper, config, flushPromises, MountingOptions, createWrapperError }; | ||
import { enableAutoUnmount, disableAutoUnmount } from './utils/autoUnmount'; | ||
export { mount, shallowMount, enableAutoUnmount, disableAutoUnmount, RouterLinkStub, VueWrapper, DOMWrapper, config, flushPromises, MountingOptions, createWrapperError }; |
@@ -14,4 +14,4 @@ import { Component, ComponentOptions, Directive, Plugin, AppConfig, VNode, VNodeProps } from 'vue'; | ||
} | ||
export declare type FindComponentSelector = RefSelector | NameSelector; | ||
export declare type FindAllComponentsSelector = NameSelector; | ||
export declare type FindComponentSelector = RefSelector | NameSelector | string; | ||
export declare type FindAllComponentsSelector = NameSelector | string; | ||
export declare type Slot = VNode | string | { | ||
@@ -18,0 +18,0 @@ render: Function; |
@@ -28,3 +28,4 @@ import { ComponentPublicInstance, App } from 'vue'; | ||
findComponent<T extends ComponentPublicInstance>(selector: FindComponentSelector | (new () => T)): VueWrapper<T>; | ||
findAllComponents(selector: FindAllComponentsSelector): VueWrapper<any>[]; | ||
getComponent<T extends ComponentPublicInstance>(selector: FindComponentSelector | (new () => T)): Omit<VueWrapper<T>, 'exists'>; | ||
findAllComponents(selector: FindAllComponentsSelector): VueWrapper<T>[]; | ||
findAll<K extends keyof HTMLElementTagNameMap>(selector: K): DOMWrapper<HTMLElementTagNameMap[K]>[]; | ||
@@ -31,0 +32,0 @@ findAll<K extends keyof SVGElementTagNameMap>(selector: K): DOMWrapper<SVGElementTagNameMap[K]>[]; |
{ | ||
"name": "@vue/test-utils", | ||
"version": "2.0.0-rc.15", | ||
"version": "2.0.0-rc.16", | ||
"license": "MIT", | ||
@@ -15,6 +15,6 @@ "main": "dist/vue-test-utils.cjs.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.15.4", | ||
"@babel/preset-env": "^7.15.6", | ||
"@babel/core": "^7.15.8", | ||
"@babel/preset-env": "^7.15.8", | ||
"@babel/types": "^7.15.4", | ||
"@rollup/plugin-commonjs": "^20.0.0", | ||
"@rollup/plugin-commonjs": "^21.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
@@ -24,8 +24,8 @@ "@rollup/plugin-node-resolve": "^13.0.5", | ||
"@types/jest": "27.0.2", | ||
"@types/node": "16.9.6", | ||
"@types/node": "16.10.4", | ||
"@types/pretty": "^2.0.0", | ||
"@vue/babel-plugin-jsx": "^1.0.7", | ||
"@vue/compat": "3.2.13", | ||
"@vue/compiler-dom": "3.2.13", | ||
"@vue/compiler-sfc": "3.2.13", | ||
"@vue/babel-plugin-jsx": "^1.1.0", | ||
"@vue/compat": "3.2.20", | ||
"@vue/compiler-dom": "3.2.20", | ||
"@vue/compiler-sfc": "3.2.20", | ||
"babel-jest": "^26.6.3", | ||
@@ -35,9 +35,9 @@ "babel-preset-jest": "^27.2.0", | ||
"jest": "25.5.4", | ||
"jsdom": "^17.0.0", | ||
"jsdom": "^18.0.0", | ||
"jsdom-global": "^3.0.2", | ||
"lint-staged": "^11.1.2", | ||
"lint-staged": "^11.2.3", | ||
"prettier": "^2.4.1", | ||
"pretty": "^2.0.0", | ||
"reflect-metadata": "^0.1.13", | ||
"rollup": "^2.57.0", | ||
"rollup": "^2.58.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
@@ -48,7 +48,7 @@ "ts-jest": "25.3.1", | ||
"vitepress": "^0.18.1", | ||
"vue": "3.2.13", | ||
"vue": "3.2.20", | ||
"vue-class-component": "^8.0.0-rc.1", | ||
"vue-jest": "^5.0.0-alpha.10", | ||
"vue-router": "^4.0.11", | ||
"vue-tsc": "0.3.0", | ||
"vue-tsc": "0.28.3", | ||
"vuex": "^4.0.2" | ||
@@ -55,0 +55,0 @@ }, |
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 too big to display
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
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
30
7
1410972
34670