cypress 14.1.0 → 14.2.0

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/types/cypress.d.ts +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "14.1.0",
3
+ "version": "14.2.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -20,7 +20,7 @@
20
20
  "check-more-types": "^2.24.0",
21
21
  "ci-info": "^4.1.0",
22
22
  "cli-cursor": "^3.1.0",
23
- "cli-table3": "~0.6.1",
23
+ "cli-table3": "~0.6.5",
24
24
  "commander": "^6.2.1",
25
25
  "common-tags": "^1.8.0",
26
26
  "dayjs": "^1.10.4",
@@ -123,8 +123,8 @@
123
123
  },
124
124
  "buildInfo": {
125
125
  "commitBranch": "develop",
126
- "commitSha": "7ffd5a33c1044768da0d5c77b65cd0323ca93004",
127
- "commitDate": "2025-02-25T17:26:26.000Z",
126
+ "commitSha": "27d8fb0468696b97693dc7e0afa1ff4c84527516",
127
+ "commitDate": "2025-03-12T17:13:58.000Z",
128
128
  "stable": true
129
129
  },
130
130
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -570,6 +570,14 @@ declare namespace Cypress {
570
570
  */
571
571
  log(options: Partial<LogConfig>): Log
572
572
 
573
+ /**
574
+ * Stop the Cypress App on the current machine while tests are running
575
+ * @see https://on.cypress.io/cypress-stop
576
+ * @example
577
+ * Cypress.stop()
578
+ */
579
+ stop(): void
580
+
573
581
  Commands: {
574
582
  /**
575
583
  * Add a custom command
@@ -2571,7 +2579,9 @@ declare namespace Cypress {
2571
2579
  */
2572
2580
  withArgs(...args: any[]): Omit<A, 'withArgs'> & Agent<A>
2573
2581
 
2574
- callsFake(func: (...args: any[]) => any): Omit<A, 'withArgs'> & Agent<A>
2582
+ callsFake(func: (...args: any[]) => any): Agent<A>
2583
+
2584
+ callThroughWithNew(): Agent<A>
2575
2585
  }
2576
2586
 
2577
2587
  type Agent<T extends sinon.SinonSpy> = SinonSpyAgent<T> & T
@@ -6446,6 +6456,7 @@ declare namespace Cypress {
6446
6456
  }
6447
6457
 
6448
6458
  interface Log {
6459
+ id: string
6449
6460
  end(): Log
6450
6461
  error(error: Error): Log
6451
6462
  finish(): void