cypress 13.14.2 → 13.15.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/exec/spawn.js +14 -0
- package/mount-utils/mount-utils/package.json +1 -1
- package/mount-utils/package.json +1 -1
- package/package.json +5 -4
- package/react18/package.json +1 -1
- package/react18/react18/package.json +1 -1
- package/svelte/package.json +1 -1
- package/svelte/svelte/package.json +1 -1
- package/vue/package.json +1 -1
- package/vue/vue/package.json +1 -1
package/lib/exec/spawn.js
CHANGED
@@ -12,6 +12,7 @@ const state = require('../tasks/state');
|
|
12
12
|
const xvfb = require('./xvfb');
|
13
13
|
const verify = require('../tasks/verify');
|
14
14
|
const errors = require('../errors');
|
15
|
+
const readline = require('readline');
|
15
16
|
const isXlibOrLibudevRe = /^(?:Xlib|libudev)/;
|
16
17
|
const isHighSierraWarningRe = /\*\*\* WARNING/;
|
17
18
|
const isRenderWorkerRe = /\.RenderWorker-/;
|
@@ -204,6 +205,19 @@ module.exports = {
|
|
204
205
|
child.on('close', resolveOn('close'));
|
205
206
|
child.on('exit', resolveOn('exit'));
|
206
207
|
child.on('error', reject);
|
208
|
+
if (isPlatform('win32')) {
|
209
|
+
const rl = readline.createInterface({
|
210
|
+
input: process.stdin,
|
211
|
+
output: process.stdout
|
212
|
+
});
|
213
|
+
|
214
|
+
// on windows, SIGINT does not propagate to the child process when ctrl+c is pressed
|
215
|
+
// this makes sure all nested processes are closed(ex: firefox inside the server)
|
216
|
+
rl.on('SIGINT', function () {
|
217
|
+
let kill = require('tree-kill');
|
218
|
+
kill(child.pid, 'SIGINT');
|
219
|
+
});
|
220
|
+
}
|
207
221
|
|
208
222
|
// if stdio options is set to 'pipe', then
|
209
223
|
// we should set up pipes:
|
package/mount-utils/package.json
CHANGED
package/package.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "13.
|
3
|
+
"version": "13.15.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": "^3.0.
|
10
|
+
"@cypress/request": "^3.0.4",
|
11
11
|
"@cypress/xvfb": "^1.2.4",
|
12
12
|
"@types/sinonjs__fake-timers": "8.1.1",
|
13
13
|
"@types/sizzle": "^2.3.2",
|
@@ -47,6 +47,7 @@
|
|
47
47
|
"semver": "^7.5.3",
|
48
48
|
"supports-color": "^8.1.1",
|
49
49
|
"tmp": "~0.2.3",
|
50
|
+
"tree-kill": "1.2.2",
|
50
51
|
"untildify": "^4.0.0",
|
51
52
|
"yauzl": "^2.10.0"
|
52
53
|
},
|
@@ -140,8 +141,8 @@
|
|
140
141
|
},
|
141
142
|
"buildInfo": {
|
142
143
|
"commitBranch": "develop",
|
143
|
-
"commitSha": "
|
144
|
-
"commitDate": "2024-
|
144
|
+
"commitSha": "199b1cd580d22fc412641f164e3ee6492f88e338",
|
145
|
+
"commitDate": "2024-10-24T14:36:10.000Z",
|
145
146
|
"stable": true
|
146
147
|
},
|
147
148
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/react18/package.json
CHANGED
package/svelte/package.json
CHANGED
package/vue/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
|
12
12
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
13
13
|
"test": "yarn cy:run",
|
14
|
-
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.
|
14
|
+
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.json",
|
15
15
|
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
package/vue/vue/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
|
12
12
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
13
13
|
"test": "yarn cy:run",
|
14
|
-
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.
|
14
|
+
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.json",
|
15
15
|
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
16
16
|
},
|
17
17
|
"devDependencies": {
|