Comparing version 13.11.0 to 13.12.0
@@ -59,3 +59,3 @@ /// <reference types="cypress" /> | ||
*/ | ||
declare type MountResponse<T> = { | ||
type MountResponse<T> = { | ||
/** | ||
@@ -62,0 +62,0 @@ * Fixture for debugging and testing a component. |
@@ -0,0 +0,0 @@ |
@@ -19,3 +19,3 @@ { | ||
"@cypress/mount-utils": "0.0.0-development", | ||
"typescript": "^4.7.4", | ||
"typescript": "~5.4.5", | ||
"zone.js": "~0.11.4" | ||
@@ -22,0 +22,0 @@ }, |
@@ -59,3 +59,3 @@ /// <reference types="cypress" /> | ||
*/ | ||
declare type MountResponse<T> = { | ||
type MountResponse<T> = { | ||
/** | ||
@@ -62,0 +62,0 @@ * Fixture for debugging and testing a component. |
@@ -0,0 +0,0 @@ |
@@ -19,3 +19,3 @@ { | ||
"@cypress/mount-utils": "0.0.0-development", | ||
"typescript": "^4.7.4", | ||
"typescript": "~5.4.5", | ||
"zone.js": "~0.11.4" | ||
@@ -22,0 +22,0 @@ }, |
@@ -416,3 +416,2 @@ "use strict"; | ||
} | ||
const firstCommand = args[2]; | ||
@@ -419,0 +418,0 @@ if (!_.includes(knownCommands, firstCommand)) { |
@@ -64,3 +64,2 @@ "use strict"; | ||
} | ||
if (os.platform() !== 'linux') { | ||
@@ -67,0 +66,0 @@ return false; |
@@ -12,3 +12,2 @@ "use strict"; | ||
}; | ||
const warn = (...messages) => { | ||
@@ -19,3 +18,2 @@ if (logLevel() === 'silent') return; | ||
}; | ||
const log = (...messages) => { | ||
@@ -26,3 +24,2 @@ if (logLevel() === 'silent' || logLevel() === 'warn') return; | ||
}; | ||
const always = (...messages) => { | ||
@@ -29,0 +26,0 @@ logs.push(messages.join(' ')); |
@@ -30,3 +30,3 @@ export declare const ROOT_SELECTOR = "[data-cy-root]"; | ||
*/ | ||
export declare type StyleOptions = unknown; | ||
export type StyleOptions = unknown; | ||
/** | ||
@@ -33,0 +33,0 @@ * Injects custom style text or CSS file or 3rd party style resources |
@@ -30,3 +30,3 @@ export declare const ROOT_SELECTOR = "[data-cy-root]"; | ||
*/ | ||
export declare type StyleOptions = unknown; | ||
export type StyleOptions = unknown; | ||
/** | ||
@@ -33,0 +33,0 @@ * Injects custom style text or CSS file or 3rd party style resources |
@@ -20,3 +20,3 @@ { | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -23,0 +23,0 @@ "files": [ |
@@ -20,3 +20,3 @@ { | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -23,0 +23,0 @@ "files": [ |
{ | ||
"name": "cypress", | ||
"version": "13.11.0", | ||
"version": "13.12.0", | ||
"main": "index.js", | ||
@@ -137,4 +137,4 @@ "scripts": { | ||
"commitBranch": "develop", | ||
"commitSha": "09c6876637d13686178ef934f988b757d04cf813", | ||
"commitDate": "2024-06-04T18:16:38.000Z", | ||
"commitSha": "54a636ea45c81db392ae612bac960b8be4881253", | ||
"commitDate": "2024-06-18T16:49:18.000Z", | ||
"stable": true | ||
@@ -141,0 +141,0 @@ }, |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -11,3 +11,3 @@ /// <reference types="cypress" /> | ||
} | ||
declare type MountOptions = Partial<MountReactComponentOptions>; | ||
type MountOptions = Partial<MountReactComponentOptions>; | ||
interface MountReactComponentOptions { | ||
@@ -14,0 +14,0 @@ ReactDom: typeof react_dom; |
@@ -21,3 +21,3 @@ { | ||
"@types/semver": "7.5.0", | ||
"@vitejs/plugin-react": "4.0.0", | ||
"@vitejs/plugin-react": "4.3.0", | ||
"axios": "0.21.2", | ||
@@ -31,4 +31,4 @@ "cypress": "0.0.0-development", | ||
"semver": "^7.5.3", | ||
"typescript": "^4.7.4", | ||
"vite": "4.5.2", | ||
"typescript": "~5.4.5", | ||
"vite": "5.2.11", | ||
"vite-plugin-require-transform": "1.0.12" | ||
@@ -35,0 +35,0 @@ }, |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -11,3 +11,3 @@ /// <reference types="cypress" /> | ||
} | ||
declare type MountOptions = Partial<MountReactComponentOptions>; | ||
type MountOptions = Partial<MountReactComponentOptions>; | ||
interface MountReactComponentOptions { | ||
@@ -14,0 +14,0 @@ ReactDom: typeof react_dom; |
@@ -21,3 +21,3 @@ { | ||
"@types/semver": "7.5.0", | ||
"@vitejs/plugin-react": "4.0.0", | ||
"@vitejs/plugin-react": "4.3.0", | ||
"axios": "0.21.2", | ||
@@ -31,4 +31,4 @@ "cypress": "0.0.0-development", | ||
"semver": "^7.5.3", | ||
"typescript": "^4.7.4", | ||
"vite": "4.5.2", | ||
"typescript": "~5.4.5", | ||
"vite": "5.2.11", | ||
"vite-plugin-require-transform": "1.0.12" | ||
@@ -35,0 +35,0 @@ }, |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -18,3 +18,3 @@ /// <reference types="cypress" /> | ||
} | ||
declare type MountOptions = Partial<MountReactComponentOptions>; | ||
type MountOptions = Partial<MountReactComponentOptions>; | ||
interface MountReactComponentOptions { | ||
@@ -21,0 +21,0 @@ ReactDom: typeof react_dom; |
@@ -25,3 +25,3 @@ { | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -18,3 +18,3 @@ /// <reference types="cypress" /> | ||
} | ||
declare type MountOptions = Partial<MountReactComponentOptions>; | ||
type MountOptions = Partial<MountReactComponentOptions>; | ||
interface MountReactComponentOptions { | ||
@@ -21,0 +21,0 @@ ReactDom: typeof react_dom; |
@@ -25,3 +25,3 @@ { | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -173,4 +173,4 @@ /// <reference types="cypress" /> | ||
declare type SvelteConstructor<T> = new (...args: any[]) => T; | ||
declare type SvelteComponentOptions<T extends SvelteComponentDev$1> = Omit<ComponentConstructorOptions<ComponentProps<T>>, 'hydrate' | 'target' | '$$inline'>; | ||
type SvelteConstructor<T> = new (...args: any[]) => T; | ||
type SvelteComponentOptions<T extends SvelteComponentDev$1> = Omit<ComponentConstructorOptions<ComponentProps<T>>, 'hydrate' | 'target' | '$$inline'>; | ||
interface MountOptions<T extends SvelteComponentDev$1> extends SvelteComponentOptions<T> { | ||
@@ -177,0 +177,0 @@ log?: boolean; |
@@ -16,3 +16,3 @@ { | ||
"svelte": "^3.49.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -19,0 +19,0 @@ "peerDependencies": { |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -173,4 +173,4 @@ /// <reference types="cypress" /> | ||
declare type SvelteConstructor<T> = new (...args: any[]) => T; | ||
declare type SvelteComponentOptions<T extends SvelteComponentDev$1> = Omit<ComponentConstructorOptions<ComponentProps<T>>, 'hydrate' | 'target' | '$$inline'>; | ||
type SvelteConstructor<T> = new (...args: any[]) => T; | ||
type SvelteComponentOptions<T extends SvelteComponentDev$1> = Omit<ComponentConstructorOptions<ComponentProps<T>>, 'hydrate' | 'target' | '$$inline'>; | ||
interface MountOptions<T extends SvelteComponentDev$1> extends SvelteComponentOptions<T> { | ||
@@ -177,0 +177,0 @@ log?: boolean; |
@@ -16,3 +16,3 @@ { | ||
"svelte": "^3.49.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -19,0 +19,0 @@ "peerDependencies": { |
@@ -1290,3 +1290,3 @@ /// <reference types="cypress" /> | ||
declare type GlobalMountOptions = Required<MountingOptions$1<any>>['global']; | ||
type GlobalMountOptions = Required<MountingOptions$1<any>>['global']; | ||
declare global { | ||
@@ -1300,3 +1300,3 @@ namespace Cypress { | ||
} | ||
declare type MountingOptions<Props, Data = {}> = Omit<MountingOptions$1<Props, Data>, 'attachTo'> & { | ||
type MountingOptions<Props, Data = {}> = Omit<MountingOptions$1<Props, Data>, 'attachTo'> & { | ||
log?: boolean; | ||
@@ -1311,3 +1311,3 @@ /** | ||
}; | ||
declare type CyMountOptions<Props, Data = {}> = MountingOptions<Props, Data>; | ||
type CyMountOptions<Props, Data = {}> = MountingOptions<Props, Data>; | ||
/** | ||
@@ -1324,4 +1324,4 @@ * The types for mount have been copied directly from the VTU mount | ||
*/ | ||
declare type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
declare type ComponentMountingOptions<T> = T extends DefineComponent<infer PropsOrPropOptions, any, infer D, any, any> ? MountingOptions<Partial<ExtractDefaultPropTypes<PropsOrPropOptions>> & Omit<Readonly<ExtractPropTypes<PropsOrPropOptions>> & PublicProps, keyof ExtractDefaultPropTypes<PropsOrPropOptions>>, D> & Record<string, any> : MountingOptions<any>; | ||
type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
type ComponentMountingOptions<T> = T extends DefineComponent<infer PropsOrPropOptions, any, infer D, any, any> ? MountingOptions<Partial<ExtractDefaultPropTypes<PropsOrPropOptions>> & Omit<Readonly<ExtractPropTypes<PropsOrPropOptions>> & PublicProps, keyof ExtractDefaultPropTypes<PropsOrPropOptions>>, D> & Record<string, any> : MountingOptions<any>; | ||
declare function mount<V extends {}>(originalComponent: { | ||
@@ -1328,0 +1328,0 @@ new (...args: any[]): V; |
@@ -19,3 +19,3 @@ { | ||
"@cypress/mount-utils": "0.0.0-development", | ||
"@vitejs/plugin-vue": "4.2.0", | ||
"@vitejs/plugin-vue": "5.0.4", | ||
"@vue/compiler-sfc": "3.2.47", | ||
@@ -28,8 +28,8 @@ "@vue/test-utils": "2.3.2", | ||
"tailwindcss": "1.1.4", | ||
"typescript": "^4.7.4", | ||
"vite": "4.5.2", | ||
"typescript": "~5.4.5", | ||
"vite": "5.2.11", | ||
"vue": "3.2.47", | ||
"vue-i18n": "9.0.0-rc.6", | ||
"vue-i18n": "9.13.1", | ||
"vue-router": "^4.0.0", | ||
"vue-tsc": "^0.3.0", | ||
"vue-tsc": "^2.0.19", | ||
"vuex": "^4.0.0" | ||
@@ -36,0 +36,0 @@ }, |
@@ -1290,3 +1290,3 @@ /// <reference types="cypress" /> | ||
declare type GlobalMountOptions = Required<MountingOptions$1<any>>['global']; | ||
type GlobalMountOptions = Required<MountingOptions$1<any>>['global']; | ||
declare global { | ||
@@ -1300,3 +1300,3 @@ namespace Cypress { | ||
} | ||
declare type MountingOptions<Props, Data = {}> = Omit<MountingOptions$1<Props, Data>, 'attachTo'> & { | ||
type MountingOptions<Props, Data = {}> = Omit<MountingOptions$1<Props, Data>, 'attachTo'> & { | ||
log?: boolean; | ||
@@ -1311,3 +1311,3 @@ /** | ||
}; | ||
declare type CyMountOptions<Props, Data = {}> = MountingOptions<Props, Data>; | ||
type CyMountOptions<Props, Data = {}> = MountingOptions<Props, Data>; | ||
/** | ||
@@ -1324,4 +1324,4 @@ * The types for mount have been copied directly from the VTU mount | ||
*/ | ||
declare type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
declare type ComponentMountingOptions<T> = T extends DefineComponent<infer PropsOrPropOptions, any, infer D, any, any> ? MountingOptions<Partial<ExtractDefaultPropTypes<PropsOrPropOptions>> & Omit<Readonly<ExtractPropTypes<PropsOrPropOptions>> & PublicProps, keyof ExtractDefaultPropTypes<PropsOrPropOptions>>, D> & Record<string, any> : MountingOptions<any>; | ||
type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
type ComponentMountingOptions<T> = T extends DefineComponent<infer PropsOrPropOptions, any, infer D, any, any> ? MountingOptions<Partial<ExtractDefaultPropTypes<PropsOrPropOptions>> & Omit<Readonly<ExtractPropTypes<PropsOrPropOptions>> & PublicProps, keyof ExtractDefaultPropTypes<PropsOrPropOptions>>, D> & Record<string, any> : MountingOptions<any>; | ||
declare function mount<V extends {}>(originalComponent: { | ||
@@ -1328,0 +1328,0 @@ new (...args: any[]): V; |
@@ -19,3 +19,3 @@ { | ||
"@cypress/mount-utils": "0.0.0-development", | ||
"@vitejs/plugin-vue": "4.2.0", | ||
"@vitejs/plugin-vue": "5.0.4", | ||
"@vue/compiler-sfc": "3.2.47", | ||
@@ -28,8 +28,8 @@ "@vue/test-utils": "2.3.2", | ||
"tailwindcss": "1.1.4", | ||
"typescript": "^4.7.4", | ||
"vite": "4.5.2", | ||
"typescript": "~5.4.5", | ||
"vite": "5.2.11", | ||
"vue": "3.2.47", | ||
"vue-i18n": "9.0.0-rc.6", | ||
"vue-i18n": "9.13.1", | ||
"vue-router": "^4.0.0", | ||
"vue-tsc": "^0.3.0", | ||
"vue-tsc": "^2.0.19", | ||
"vuex": "^4.0.0" | ||
@@ -36,0 +36,0 @@ }, |
@@ -16,3 +16,3 @@ /// <reference types="cypress" /> | ||
*/ | ||
declare type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor | ComponentPublicInstanceConstructor; | ||
type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor | ComponentPublicInstanceConstructor; | ||
/** | ||
@@ -24,18 +24,18 @@ * Options to pass to the component when creating it, like | ||
*/ | ||
declare type ComponentOptions = Record<string, unknown>; | ||
declare type VueLocalComponents = Record<string, VueComponent>; | ||
declare type VueFilters = { | ||
type ComponentOptions = Record<string, unknown>; | ||
type VueLocalComponents = Record<string, VueComponent>; | ||
type VueFilters = { | ||
[key: string]: (value: string) => string; | ||
}; | ||
declare type VueDirectives = { | ||
type VueDirectives = { | ||
[key: string]: Function | Object; | ||
}; | ||
declare type VueMixin = unknown; | ||
declare type VueMixins = VueMixin | VueMixin[]; | ||
declare type VuePluginOptions = unknown; | ||
declare type VuePlugin = unknown | [unknown, VuePluginOptions]; | ||
type VueMixin = unknown; | ||
type VueMixins = VueMixin | VueMixin[]; | ||
type VuePluginOptions = unknown; | ||
type VuePlugin = unknown | [unknown, VuePluginOptions]; | ||
/** | ||
* A single Vue plugin or a list of plugins to register | ||
*/ | ||
declare type VuePlugins = VuePlugin[]; | ||
type VuePlugins = VuePlugin[]; | ||
/** | ||
@@ -157,3 +157,3 @@ * Additional Vue services to register while mounting the component, like | ||
*/ | ||
declare type MountOptionsArgument = Partial<ComponentOptions & MountOptions & VueTestUtilsConfigOptions>; | ||
type MountOptionsArgument = Partial<ComponentOptions & MountOptions & VueTestUtilsConfigOptions>; | ||
declare global { | ||
@@ -160,0 +160,0 @@ namespace Cypress { |
@@ -21,3 +21,3 @@ { | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.7.4", | ||
"typescript": "~5.4.5", | ||
"vue": "2.7.16" | ||
@@ -24,0 +24,0 @@ }, |
@@ -16,3 +16,3 @@ /// <reference types="cypress" /> | ||
*/ | ||
declare type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor | ComponentPublicInstanceConstructor; | ||
type VueComponent = Vue.ComponentOptions<any> | Vue.VueConstructor | ComponentPublicInstanceConstructor; | ||
/** | ||
@@ -24,18 +24,18 @@ * Options to pass to the component when creating it, like | ||
*/ | ||
declare type ComponentOptions = Record<string, unknown>; | ||
declare type VueLocalComponents = Record<string, VueComponent>; | ||
declare type VueFilters = { | ||
type ComponentOptions = Record<string, unknown>; | ||
type VueLocalComponents = Record<string, VueComponent>; | ||
type VueFilters = { | ||
[key: string]: (value: string) => string; | ||
}; | ||
declare type VueDirectives = { | ||
type VueDirectives = { | ||
[key: string]: Function | Object; | ||
}; | ||
declare type VueMixin = unknown; | ||
declare type VueMixins = VueMixin | VueMixin[]; | ||
declare type VuePluginOptions = unknown; | ||
declare type VuePlugin = unknown | [unknown, VuePluginOptions]; | ||
type VueMixin = unknown; | ||
type VueMixins = VueMixin | VueMixin[]; | ||
type VuePluginOptions = unknown; | ||
type VuePlugin = unknown | [unknown, VuePluginOptions]; | ||
/** | ||
* A single Vue plugin or a list of plugins to register | ||
*/ | ||
declare type VuePlugins = VuePlugin[]; | ||
type VuePlugins = VuePlugin[]; | ||
/** | ||
@@ -157,3 +157,3 @@ * Additional Vue services to register while mounting the component, like | ||
*/ | ||
declare type MountOptionsArgument = Partial<ComponentOptions & MountOptions & VueTestUtilsConfigOptions>; | ||
type MountOptionsArgument = Partial<ComponentOptions & MountOptions & VueTestUtilsConfigOptions>; | ||
declare global { | ||
@@ -160,0 +160,0 @@ namespace Cypress { |
@@ -21,3 +21,3 @@ { | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.7.4", | ||
"typescript": "~5.4.5", | ||
"vue": "2.7.16" | ||
@@ -24,0 +24,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
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
1
7189024