cypress 13.7.3 → 13.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,6 @@
35
35
  "url": "https://github.com/cypress-io/cypress.git"
36
36
  },
37
37
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/angular/#readme",
38
- "author": "Jordan Powell",
39
38
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fangular&template=1-bug-report.md&title=",
40
39
  "keywords": [
41
40
  "angular",
@@ -35,7 +35,6 @@
35
35
  "url": "https://github.com/cypress-io/cypress.git"
36
36
  },
37
37
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/angular/#readme",
38
- "author": "Jordan Powell",
39
38
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fangular&template=1-bug-report.md&title=",
40
39
  "keywords": [
41
40
  "angular",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "13.7.3",
3
+ "version": "13.8.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -134,8 +134,8 @@
134
134
  },
135
135
  "buildInfo": {
136
136
  "commitBranch": "develop",
137
- "commitSha": "94aad9a4a20faba5a4502751c83d89baac4aa87d",
138
- "commitDate": "2024-04-11T16:47:40.000Z",
137
+ "commitSha": "52347d61a11bcefff54e2024751d4b3105d6af2a",
138
+ "commitDate": "2024-04-23T18:52:43.000Z",
139
139
  "stable": true
140
140
  },
141
141
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -47,7 +47,6 @@
47
47
  "url": "https://github.com/cypress-io/cypress.git"
48
48
  },
49
49
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/react/#readme",
50
- "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
51
50
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Freact&template=1-bug-report.md&title=",
52
51
  "keywords": [
53
52
  "react",
@@ -47,7 +47,6 @@
47
47
  "url": "https://github.com/cypress-io/cypress.git"
48
48
  },
49
49
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/react/#readme",
50
- "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
51
50
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Freact&template=1-bug-report.md&title=",
52
51
  "keywords": [
53
52
  "react",
@@ -593,13 +593,13 @@ declare namespace Cypress {
593
593
  * Add a custom parent command
594
594
  * @see https://on.cypress.io/api/commands#Parent-Commands
595
595
  */
596
- add<T extends keyof Chainable>(name: T, options: CommandOptions & {prevSubject: false}, fn: CommandFn<T>): void
596
+ add<T extends keyof Chainable>(name: T, options: CommandOptions & { prevSubject: false }, fn: CommandFn<T>): void
597
597
 
598
598
  /**
599
599
  * Add a custom child command
600
600
  * @see https://on.cypress.io/api/commands#Child-Commands
601
601
  */
602
- add<T extends keyof Chainable, S = any>(name: T, options: CommandOptions & {prevSubject: true}, fn: CommandFnWithSubject<T, S>): void
602
+ add<T extends keyof Chainable, S = any>(name: T, options: CommandOptions & { prevSubject: true }, fn: CommandFnWithSubject<T, S>): void
603
603
 
604
604
  /**
605
605
  * Add a custom child or dual command
@@ -627,7 +627,7 @@ declare namespace Cypress {
627
627
  * Add one or more custom parent commands
628
628
  * @see https://on.cypress.io/api/commands#Parent-Commands
629
629
  */
630
- addAll<T extends keyof Chainable>(options: CommandOptions & {prevSubject: false}, fns: CommandFns): void
630
+ addAll<T extends keyof Chainable>(options: CommandOptions & { prevSubject: false }, fns: CommandFns): void
631
631
 
632
632
  /**
633
633
  * Add one or more custom child commands
@@ -822,7 +822,7 @@ declare namespace Cypress {
822
822
  * Trigger action
823
823
  * @private
824
824
  */
825
- action: <T = (any[] | void)>(action: string, ...args: any[]) => T
825
+ action: <T = (any[] | void) >(action: string, ...args: any[]) => T
826
826
 
827
827
  /**
828
828
  * Load files
@@ -834,8 +834,8 @@ declare namespace Cypress {
834
834
  type CanReturnChainable = void | Chainable | Promise<unknown>
835
835
  type ThenReturn<S, R> =
836
836
  R extends void ? Chainable<S> :
837
- R extends R | undefined ? Chainable<S | Exclude<R, undefined>> :
838
- Chainable<S>
837
+ R extends R | undefined ? Chainable<S | Exclude<R, undefined>> :
838
+ Chainable<S>
839
839
 
840
840
  /**
841
841
  * Chainable interface for non-array Subjects
@@ -910,7 +910,7 @@ declare namespace Cypress {
910
910
 
911
911
  /**
912
912
  * Clear the value of an `input` or `textarea`.
913
- * An alias for `.type({selectall}{backspace})`
913
+ * An alias for `.type({selectall}{del})`
914
914
  *
915
915
  * @see https://on.cypress.io/clear
916
916
  */
@@ -950,7 +950,7 @@ declare namespace Cypress {
950
950
  *
951
951
  * @see https://on.cypress.io/clearallcookies
952
952
  */
953
- clearAllCookies(options?: Partial<Loggable & Timeoutable>): Chainable<null>
953
+ clearAllCookies(options?: Partial<Loggable & Timeoutable>): Chainable<null>
954
954
 
955
955
  /**
956
956
  * Get local storage for all origins.
@@ -983,7 +983,7 @@ declare namespace Cypress {
983
983
  *
984
984
  * @see https://on.cypress.io/clearallsessionstorage
985
985
  */
986
- clearAllSessionStorage(options?: Partial<Loggable>): Chainable<null>
986
+ clearAllSessionStorage(options?: Partial<Loggable>): Chainable<null>
987
987
 
988
988
  /**
989
989
  * Clear data in local storage for the current origin.
@@ -1518,7 +1518,7 @@ declare namespace Cypress {
1518
1518
  * // Drill into nested properties by using dot notation
1519
1519
  * cy.wrap({foo: {bar: {baz: 1}}}).its('foo.bar.baz')
1520
1520
  */
1521
- its<K extends keyof Subject>(propertyName: K, options?: Partial<Loggable & Timeoutable>): Chainable<Subject[K]>
1521
+ its<K extends keyof Subject>(propertyName: K, options?: Partial<Loggable & Timeoutable>): Chainable<NonNullable<Subject[K]>>
1522
1522
  its(propertyPath: string, options?: Partial<Loggable & Timeoutable>): Chainable
1523
1523
 
1524
1524
  /**
@@ -2542,8 +2542,8 @@ declare namespace Cypress {
2542
2542
 
2543
2543
  type ChainableMethods<Subject = any> = {
2544
2544
  [P in keyof Chainable<Subject>]: Chainable<Subject>[P] extends ((...args: any[]) => any)
2545
- ? Chainable<Subject>[P]
2546
- : never
2545
+ ? Chainable<Subject>[P]
2546
+ : never
2547
2547
  }
2548
2548
 
2549
2549
  interface SinonSpyAgent<A extends sinon.SinonSpy> {
@@ -3244,7 +3244,7 @@ declare namespace Cypress {
3244
3244
  /**
3245
3245
  * Hosts mappings to IP addresses.
3246
3246
  */
3247
- hosts: null | {[key: string]: string}
3247
+ hosts: null | { [key: string]: string }
3248
3248
  /**
3249
3249
  * Whether Cypress was launched via 'cypress open' (interactive mode)
3250
3250
  */
@@ -3519,7 +3519,7 @@ declare namespace Cypress {
3519
3519
  type DevServerFn<ComponentDevServerOpts = any> = (cypressDevServerConfig: DevServerConfig, devServerConfig: ComponentDevServerOpts) => ResolvedDevServerConfig | Promise<ResolvedDevServerConfig>
3520
3520
 
3521
3521
  type ConfigHandler<T> = T
3522
- | (() => T | Promise<T>)
3522
+ | (() => T | Promise<T>)
3523
3523
 
3524
3524
  type DevServerConfigOptions = {
3525
3525
  bundler: 'webpack'
@@ -3561,7 +3561,7 @@ declare namespace Cypress {
3561
3561
  /**
3562
3562
  * Hosts mappings to IP addresses.
3563
3563
  */
3564
- hosts?: null | {[key: string]: string}
3564
+ hosts?: null | { [key: string]: string }
3565
3565
  }
3566
3566
 
3567
3567
  interface PluginConfigOptions extends ResolvedConfigOptions, RuntimeConfigOptions {
@@ -3759,7 +3759,7 @@ declare namespace Cypress {
3759
3759
  validate?: SessionOptions['validate']
3760
3760
  }
3761
3761
 
3762
- interface ServerSessionData extends Omit<SessionData, 'setup' |'validate'> {
3762
+ interface ServerSessionData extends Omit<SessionData, 'setup' | 'validate'> {
3763
3763
  setup: string
3764
3764
  validate?: string
3765
3765
  }
@@ -6406,15 +6406,15 @@ declare namespace Cypress {
6406
6406
  }
6407
6407
 
6408
6408
  type TypedArray =
6409
- | Int8Array
6410
- | Uint8Array
6411
- | Uint8ClampedArray
6412
- | Int16Array
6413
- | Uint16Array
6414
- | Int32Array
6415
- | Uint32Array
6416
- | Float32Array
6417
- | Float64Array
6409
+ | Int8Array
6410
+ | Uint8Array
6411
+ | Uint8ClampedArray
6412
+ | Int16Array
6413
+ | Uint16Array
6414
+ | Int32Array
6415
+ | Uint32Array
6416
+ | Float32Array
6417
+ | Float64Array
6418
6418
 
6419
6419
  type FileReference = string | BufferType | FileReferenceObject | TypedArray
6420
6420
  interface FileReferenceObject {
package/vue/package.json CHANGED
@@ -51,7 +51,6 @@
51
51
  "url": "https://github.com/cypress-io/cypress.git"
52
52
  },
53
53
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/vue/#readme",
54
- "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
55
54
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fvue&template=1-bug-report.md&title=",
56
55
  "keywords": [
57
56
  "cypress",
@@ -51,7 +51,6 @@
51
51
  "url": "https://github.com/cypress-io/cypress.git"
52
52
  },
53
53
  "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/vue/#readme",
54
- "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
55
54
  "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fvue&template=1-bug-report.md&title=",
56
55
  "keywords": [
57
56
  "cypress",