cypress 13.4.0 → 13.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "13.4.0",
3
+ "version": "13.5.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -135,8 +135,8 @@
135
135
  },
136
136
  "buildInfo": {
137
137
  "commitBranch": "develop",
138
- "commitSha": "5a95541c3c4e48bfc67a54642abc949576fa6f05",
139
- "commitDate": "2023-10-30T13:42:14.000Z",
138
+ "commitSha": "ab60af86332a2a1c3c65e965dd539f081a28807a",
139
+ "commitDate": "2023-11-14T18:02:55.000Z",
140
140
  "stable": true
141
141
  },
142
142
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -382,7 +382,7 @@ declare module 'cypress' {
382
382
  * recommend wrapping your config object with `defineConfig()`
383
383
  * @example
384
384
  * module.exports = defineConfig({
385
- * viewportWith: 400
385
+ * viewportWidth: 400
386
386
  * })
387
387
  *
388
388
  * @see ../types/cypress-npm-api.d.ts
@@ -6009,7 +6009,11 @@ declare namespace Cypress {
6009
6009
  (fn: (currentSubject: Subject) => void): Chainable<Subject>
6010
6010
  }
6011
6011
 
6012
- interface BrowserLaunchOptions {
6012
+ interface AfterBrowserLaunchDetails {
6013
+ webSocketDebuggerUrl: string
6014
+ }
6015
+
6016
+ interface BeforeBrowserLaunchOptions {
6013
6017
  extensions: string[]
6014
6018
  preferences: { [key: string]: any }
6015
6019
  args: string[]
@@ -6090,12 +6094,13 @@ declare namespace Cypress {
6090
6094
  }
6091
6095
 
6092
6096
  interface PluginEvents {
6097
+ (action: 'after:browser:launch', fn: (browser: Browser, browserLaunchDetails: AfterBrowserLaunchDetails) => void | Promise<void>): void
6093
6098
  (action: 'after:run', fn: (results: CypressCommandLine.CypressRunResult | CypressCommandLine.CypressFailedRunResult) => void | Promise<void>): void
6094
6099
  (action: 'after:screenshot', fn: (details: ScreenshotDetails) => void | AfterScreenshotReturnObject | Promise<AfterScreenshotReturnObject>): void
6095
6100
  (action: 'after:spec', fn: (spec: Spec, results: CypressCommandLine.RunResult) => void | Promise<void>): void
6096
6101
  (action: 'before:run', fn: (runDetails: BeforeRunDetails) => void | Promise<void>): void
6097
6102
  (action: 'before:spec', fn: (spec: Spec) => void | Promise<void>): void
6098
- (action: 'before:browser:launch', fn: (browser: Browser, browserLaunchOptions: BrowserLaunchOptions) => void | BrowserLaunchOptions | Promise<BrowserLaunchOptions>): void
6103
+ (action: 'before:browser:launch', fn: (browser: Browser, afterBrowserLaunchOptions: BeforeBrowserLaunchOptions) => void | Promise<void> | BeforeBrowserLaunchOptions | Promise<BeforeBrowserLaunchOptions>): void
6099
6104
  (action: 'file:preprocessor', fn: (file: FileObject) => string | Promise<string>): void
6100
6105
  (action: 'dev-server:start', fn: (file: DevServerConfig) => Promise<ResolvedDevServerConfig>): void
6101
6106
  (action: 'task', tasks: Tasks): void