cypress 8.3.0 → 8.3.1

Sign up to get free protection for your applications and to get access to all the features.
package/bin/cypress CHANGED
File without changes
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
7
7
  "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
8
8
  },
9
9
  "dependencies": {
10
- "@cypress/request": "^2.88.5",
10
+ "@cypress/request": "^2.88.6",
11
11
  "@cypress/xvfb": "^1.2.4",
12
12
  "@types/node": "^14.14.31",
13
13
  "@types/sinonjs__fake-timers": "^6.0.2",
@@ -1949,6 +1949,8 @@ declare module "chai" {
1949
1949
  export = chai;
1950
1950
  }
1951
1951
 
1952
- interface Object {
1953
- should: Chai.Assertion;
1954
- }
1952
+ // const a = 1; a.should(1); doesn't work with Cypress
1953
+ // https://github.com/cypress-io/cypress/issues/16548
1954
+ // interface Object {
1955
+ // should: Chai.Assertion;
1956
+ // }
@@ -982,7 +982,7 @@ declare namespace Cypress {
982
982
  * .its('contentType')
983
983
  * .should('eq', 'text/html')
984
984
  */
985
- document(options?: Partial<Loggable>): Chainable<Document>
985
+ document(options?: Partial<Loggable & Timeoutable>): Chainable<Document>
986
986
 
987
987
  /**
988
988
  * Iterate through an array like structure (arrays or objects with a length property).
@@ -1958,7 +1958,7 @@ declare namespace Cypress {
1958
1958
  *
1959
1959
  * @see https://on.cypress.io/title
1960
1960
  */
1961
- title(options?: Partial<Loggable>): Chainable<string>
1961
+ title(options?: Partial<Loggable & Timeoutable>): Chainable<string>
1962
1962
 
1963
1963
  /**
1964
1964
  * Trigger an event on a DOM element.
File without changes