cypress 13.6.4 → 13.6.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/tasks/unzip.js +3 -4
- package/lib/tasks/verify.js +4 -1
- package/package.json +5 -5
- package/types/cypress.d.ts +1 -1
package/lib/tasks/unzip.js
CHANGED
@@ -68,10 +68,9 @@ const unzip = ({
|
|
68
68
|
debug('node unzip finished');
|
69
69
|
return resolve();
|
70
70
|
}).catch(err => {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}
|
71
|
+
const error = err || new Error('Unknown error with Node extract tool');
|
72
|
+
debug('error %s', error.message);
|
73
|
+
return reject(error);
|
75
74
|
});
|
76
75
|
};
|
77
76
|
const unzipFallback = _.once(unzipWithNode);
|
package/lib/tasks/verify.js
CHANGED
@@ -85,7 +85,10 @@ const runSmokeTest = (binaryDir, options) => {
|
|
85
85
|
debug('smoke test command:', smokeTestCommand);
|
86
86
|
debug('smoke test timeout %d ms', options.smokeTestTimeout);
|
87
87
|
const stdioOptions = _.extend({}, {
|
88
|
-
env:
|
88
|
+
env: {
|
89
|
+
...process.env,
|
90
|
+
FORCE_COLOR: 0
|
91
|
+
},
|
89
92
|
timeout: options.smokeTestTimeout
|
90
93
|
});
|
91
94
|
return Promise.resolve(util.exec(executable, args, stdioOptions)).catch(onSmokeTestError(smokeTestCommand, linuxWithDisplayEnv)).then(result => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "13.6.
|
3
|
+
"version": "13.6.6",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"arch": "^2.2.0",
|
15
15
|
"blob-util": "^2.0.2",
|
16
16
|
"bluebird": "^3.7.2",
|
17
|
-
"buffer": "^5.
|
17
|
+
"buffer": "^5.7.1",
|
18
18
|
"cachedir": "^2.3.0",
|
19
19
|
"chalk": "^4.1.0",
|
20
20
|
"check-more-types": "^2.24.0",
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"figures": "^3.2.0",
|
33
33
|
"fs-extra": "^9.1.0",
|
34
34
|
"getos": "^3.2.1",
|
35
|
-
"is-ci": "^3.0.
|
35
|
+
"is-ci": "^3.0.1",
|
36
36
|
"is-installed-globally": "~0.4.0",
|
37
37
|
"lazy-ass": "^1.6.0",
|
38
38
|
"listr2": "^3.8.3",
|
@@ -134,8 +134,8 @@
|
|
134
134
|
},
|
135
135
|
"buildInfo": {
|
136
136
|
"commitBranch": "develop",
|
137
|
-
"commitSha": "
|
138
|
-
"commitDate": "2024-
|
137
|
+
"commitSha": "9dfb38f5747350957f6f92e5a9888dc239320964",
|
138
|
+
"commitDate": "2024-02-22T19:43:59.000Z",
|
139
139
|
"stable": true
|
140
140
|
},
|
141
141
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/types/cypress.d.ts
CHANGED
@@ -758,7 +758,7 @@ declare namespace Cypress {
|
|
758
758
|
isInputType(element: JQuery | HTMLElement, type: string | string[]): boolean
|
759
759
|
stringify(element: JQuery | HTMLElement, form: string): string
|
760
760
|
getElements(element: JQuery): JQuery | HTMLElement[]
|
761
|
-
getContainsSelector(text: string, filter?: string): JQuery.Selector
|
761
|
+
getContainsSelector(text: string, filter?: string, options?: CaseMatchable): JQuery.Selector
|
762
762
|
getFirstDeepestElement(elements: HTMLElement[], index?: number): HTMLElement
|
763
763
|
getWindowByElement(element: JQuery | HTMLElement): JQuery | HTMLElement
|
764
764
|
getReasonIsHidden(element: JQuery | HTMLElement, options?: object): string
|