Socket
Socket
Sign inDemoInstall

@vue/test-utils

Package Overview
Dependencies
43
Maintainers
5
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0-alpha.0 to 2.4.0-alpha.1

2

dist/components/RouterLinkStub.d.ts

@@ -21,2 +21,2 @@ export declare const RouterLinkStub: import("vue").DefineComponent<{

custom: boolean;
}>;
}, {}>;
import { DefineComponent } from 'vue';
import { MountingOptions } from './types';
export declare function createInstance(inputComponent: DefineComponent<{}, {}, any>, options?: MountingOptions<any> & Record<string, any>): {
export declare function createInstance(inputComponent: DefineComponent<{}, {}, any, any, any, any>, options?: MountingOptions<any> & Record<string, any>): {
app: import("vue").App<Element>;

@@ -5,0 +5,0 @@ props: Record<string, unknown>;

@@ -5,3 +5,3 @@ import { GlobalMountOptions, RefSelector, Stub, Stubs } from './types';

export declare const isObject: (obj: unknown) => obj is Record<string, any>;
export declare const mergeDeep: (target: Record<string, unknown>, source: Record<string, unknown>) => Record<string, any>;
export declare const mergeDeep: (target: Record<string, unknown>, source: Record<string, unknown>) => Record<string, unknown>;
export declare function isClassComponent(component: unknown): boolean;

@@ -8,0 +8,0 @@ export declare function isComponent(component: unknown): component is ConcreteComponent;

import { VTUVNodeTypeTransformer } from './util';
import { Teleport, KeepAlive, VNodeTypes, ConcreteComponent, DefineComponent, Component } from 'vue';
import { Teleport, KeepAlive, VNodeTypes, ConcreteComponent, Component } from 'vue';
export type CustomCreateStub = (params: {
name: string;
component: ConcreteComponent;
registerStub: (config: {
source: Component;
stub: Component;
}) => void;
}) => ConcreteComponent;

@@ -12,3 +16,7 @@ interface StubOptions {

}
export declare const createStub: ({ name, type, renderStubDefaultSlot }: StubOptions) => DefineComponent;
export declare const createStub: ({ name, type, renderStubDefaultSlot }: StubOptions) => import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
[x: string]: any;
}, {}>;
export interface CreateStubComponentsTransformerConfig {

@@ -15,0 +23,0 @@ rootComponents: {

{
"name": "@vue/test-utils",
"version": "2.4.0-alpha.0",
"version": "2.4.0-alpha.1",
"license": "MIT",

@@ -34,34 +34,34 @@ "main": "dist/vue-test-utils.cjs.js",

"@types/js-beautify": "1.13.3",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"@vitejs/plugin-vue": "4.1.0",
"@types/node": "18.16.7",
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"@vitejs/plugin-vue": "4.2.2",
"@vitejs/plugin-vue-jsx": "3.0.1",
"@vitest/coverage-c8": "0.30.1",
"@vue/compat": "3.2.47",
"@vue/compiler-dom": "3.2.47",
"@vue/compiler-sfc": "3.2.47",
"@vue/server-renderer": "3.2.47",
"@vitest/coverage-c8": "0.31.0",
"@vue/compat": "3.3.1",
"@vue/compiler-dom": "3.3.1",
"@vue/compiler-sfc": "3.3.1",
"@vue/server-renderer": "3.3.1",
"c8": "7.13.0",
"eslint": "8.38.0",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"jsdom": "21.1.1",
"jsdom": "22.0.0",
"jsdom-global": "3.0.2",
"lint-staged": "13.2.1",
"prettier": "2.8.7",
"lint-staged": "13.2.2",
"prettier": "2.8.8",
"reflect-metadata": "0.1.13",
"rollup": "3.20.2",
"rollup": "3.21.6",
"tslib": "2.5.0",
"typescript": "4.9.5",
"typescript": "5.0.4",
"unplugin-vue-components": "0.24.1",
"vite": "4.2.1",
"vite": "4.3.5",
"vitepress": "0.22.4",
"vitest": "0.30.1",
"vue": "3.2.47",
"vitest": "0.31.0",
"vue": "3.3.1",
"vue-class-component": "8.0.0-rc.1",
"vue-component-type-helpers": "1.3.14-patch.2",
"vue-router": "4.1.6",
"vue-tsc": "1.3.14",
"vue-component-type-helpers": "1.6.4",
"vue-router": "4.2.0",
"vue-tsc": "1.6.4",
"vuex": "4.1.0"

@@ -74,5 +74,9 @@ },

},
"optionalDependencies": {
"@vue/compiler-dom": "^3.0.1",
"@vue/server-renderer": "^3.0.1"
"peerDependenciesMeta": {
"@vue/compiler-dom": {
"optional": true
},
"@vue/server-renderer": {
"optional": true
}
},

@@ -111,12 +115,2 @@ "author": {

},
"tsd": {
"directory": "test-dts",
"compilerOptions": {
"strict": false,
"lib": [
"esnext",
"dom"
]
}
},
"repository": {

@@ -123,0 +117,0 @@ "type": "git",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc