cypress 13.8.0 → 13.9.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.
- package/angular/angular/package.json +0 -1
- package/angular/package.json +0 -1
- package/mount-utils/mount-utils/package.json +2 -2
- package/mount-utils/package.json +2 -2
- package/package.json +3 -3
- package/react/dist/cypress-react.cjs.js +7 -2
- package/react/dist/cypress-react.esm-bundler.js +7 -2
- package/react/package.json +1 -2
- package/react/react/dist/cypress-react.cjs.js +7 -2
- package/react/react/dist/cypress-react.esm-bundler.js +7 -2
- package/react/react/package.json +1 -2
- package/react18/dist/cypress-react.cjs.js +7 -2
- package/react18/dist/cypress-react.esm-bundler.js +7 -2
- package/react18/package.json +2 -2
- package/react18/react18/dist/cypress-react.cjs.js +7 -2
- package/react18/react18/dist/cypress-react.esm-bundler.js +7 -2
- package/react18/react18/package.json +2 -2
- package/svelte/package.json +2 -2
- package/svelte/svelte/package.json +2 -2
- package/types/cypress.d.ts +24 -24
- package/vue/package.json +2 -3
- package/vue/vue/package.json +2 -3
- package/vue2/package.json +4 -4
- package/vue2/vue2/package.json +4 -4
@@ -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/angular/package.json
CHANGED
@@ -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",
|
@@ -7,8 +7,8 @@
|
|
7
7
|
"build": "tsc || echo 'built, with type errors'",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"lint": "eslint --ext .js,.ts,.json, .",
|
11
|
+
"watch": "tsc -w"
|
12
12
|
},
|
13
13
|
"dependencies": {},
|
14
14
|
"devDependencies": {
|
package/mount-utils/package.json
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
"build": "tsc || echo 'built, with type errors'",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"lint": "eslint --ext .js,.ts,.json, .",
|
11
|
+
"watch": "tsc -w"
|
12
12
|
},
|
13
13
|
"dependencies": {},
|
14
14
|
"devDependencies": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "13.
|
3
|
+
"version": "13.9.0",
|
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": "
|
138
|
-
"commitDate": "2024-
|
137
|
+
"commitSha": "b31740c00d2c8842043204dbf8189a0e2b7e1bfe",
|
138
|
+
"commitDate": "2024-05-07T17:37:08.000Z",
|
139
139
|
"stable": true
|
140
140
|
},
|
141
141
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
@@ -460,12 +460,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
460
460
|
|
461
461
|
// Coercion.
|
462
462
|
// Extract anything that could conceivably be a part of a valid semver
|
463
|
-
createToken('
|
463
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
464
464
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
465
465
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
466
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
466
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
467
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
468
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
469
|
+
`(?:${src[t.PRERELEASE]})?` +
|
470
|
+
`(?:${src[t.BUILD]})?` +
|
467
471
|
`(?:$|[^\\d])`);
|
468
472
|
createToken('COERCERTL', src[t.COERCE], true);
|
473
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
469
474
|
|
470
475
|
// Tilde ranges.
|
471
476
|
// Meaning is "reasonably at or greater than"
|
@@ -440,12 +440,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
440
440
|
|
441
441
|
// Coercion.
|
442
442
|
// Extract anything that could conceivably be a part of a valid semver
|
443
|
-
createToken('
|
443
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
444
444
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
445
445
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
446
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
446
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
447
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
448
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
449
|
+
`(?:${src[t.PRERELEASE]})?` +
|
450
|
+
`(?:${src[t.BUILD]})?` +
|
447
451
|
`(?:$|[^\\d])`);
|
448
452
|
createToken('COERCERTL', src[t.COERCE], true);
|
453
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
449
454
|
|
450
455
|
// Tilde ranges.
|
451
456
|
// Meaning is "reasonably at or greater than"
|
package/react/package.json
CHANGED
@@ -11,8 +11,8 @@
|
|
11
11
|
"cy:open:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
|
12
12
|
"cy:run": "node ../../scripts/cypress.js run --component",
|
13
13
|
"cy:run:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
|
14
|
-
"test": "yarn cy:run",
|
15
14
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
15
|
+
"test": "yarn cy:run",
|
16
16
|
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
@@ -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",
|
@@ -460,12 +460,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
460
460
|
|
461
461
|
// Coercion.
|
462
462
|
// Extract anything that could conceivably be a part of a valid semver
|
463
|
-
createToken('
|
463
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
464
464
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
465
465
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
466
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
466
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
467
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
468
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
469
|
+
`(?:${src[t.PRERELEASE]})?` +
|
470
|
+
`(?:${src[t.BUILD]})?` +
|
467
471
|
`(?:$|[^\\d])`);
|
468
472
|
createToken('COERCERTL', src[t.COERCE], true);
|
473
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
469
474
|
|
470
475
|
// Tilde ranges.
|
471
476
|
// Meaning is "reasonably at or greater than"
|
@@ -440,12 +440,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
440
440
|
|
441
441
|
// Coercion.
|
442
442
|
// Extract anything that could conceivably be a part of a valid semver
|
443
|
-
createToken('
|
443
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
444
444
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
445
445
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
446
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
446
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
447
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
448
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
449
|
+
`(?:${src[t.PRERELEASE]})?` +
|
450
|
+
`(?:${src[t.BUILD]})?` +
|
447
451
|
`(?:$|[^\\d])`);
|
448
452
|
createToken('COERCERTL', src[t.COERCE], true);
|
453
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
449
454
|
|
450
455
|
// Tilde ranges.
|
451
456
|
// Meaning is "reasonably at or greater than"
|
package/react/react/package.json
CHANGED
@@ -11,8 +11,8 @@
|
|
11
11
|
"cy:open:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
|
12
12
|
"cy:run": "node ../../scripts/cypress.js run --component",
|
13
13
|
"cy:run:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
|
14
|
-
"test": "yarn cy:run",
|
15
14
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
15
|
+
"test": "yarn cy:run",
|
16
16
|
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
@@ -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",
|
@@ -469,12 +469,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
469
469
|
|
470
470
|
// Coercion.
|
471
471
|
// Extract anything that could conceivably be a part of a valid semver
|
472
|
-
createToken('
|
472
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
473
473
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
474
474
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
475
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
475
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
476
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
477
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
478
|
+
`(?:${src[t.PRERELEASE]})?` +
|
479
|
+
`(?:${src[t.BUILD]})?` +
|
476
480
|
`(?:$|[^\\d])`);
|
477
481
|
createToken('COERCERTL', src[t.COERCE], true);
|
482
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
478
483
|
|
479
484
|
// Tilde ranges.
|
480
485
|
// Meaning is "reasonably at or greater than"
|
@@ -448,12 +448,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
448
448
|
|
449
449
|
// Coercion.
|
450
450
|
// Extract anything that could conceivably be a part of a valid semver
|
451
|
-
createToken('
|
451
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
452
452
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
453
453
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
454
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
454
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
455
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
456
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
457
|
+
`(?:${src[t.PRERELEASE]})?` +
|
458
|
+
`(?:${src[t.BUILD]})?` +
|
455
459
|
`(?:$|[^\\d])`);
|
456
460
|
createToken('COERCERTL', src[t.COERCE], true);
|
461
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
457
462
|
|
458
463
|
// Tilde ranges.
|
459
464
|
// Meaning is "reasonably at or greater than"
|
package/react18/package.json
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
11
|
+
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
12
12
|
},
|
13
13
|
"devDependencies": {
|
14
14
|
"@cypress/mount-utils": "0.0.0-development",
|
@@ -469,12 +469,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
469
469
|
|
470
470
|
// Coercion.
|
471
471
|
// Extract anything that could conceivably be a part of a valid semver
|
472
|
-
createToken('
|
472
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
473
473
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
474
474
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
475
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
475
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
476
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
477
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
478
|
+
`(?:${src[t.PRERELEASE]})?` +
|
479
|
+
`(?:${src[t.BUILD]})?` +
|
476
480
|
`(?:$|[^\\d])`);
|
477
481
|
createToken('COERCERTL', src[t.COERCE], true);
|
482
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
478
483
|
|
479
484
|
// Tilde ranges.
|
480
485
|
// Meaning is "reasonably at or greater than"
|
@@ -448,12 +448,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
448
448
|
|
449
449
|
// Coercion.
|
450
450
|
// Extract anything that could conceivably be a part of a valid semver
|
451
|
-
createToken('
|
451
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
452
452
|
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
453
453
|
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
454
|
-
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`
|
454
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
455
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
456
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
457
|
+
`(?:${src[t.PRERELEASE]})?` +
|
458
|
+
`(?:${src[t.BUILD]})?` +
|
455
459
|
`(?:$|[^\\d])`);
|
456
460
|
createToken('COERCERTL', src[t.COERCE], true);
|
461
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
457
462
|
|
458
463
|
// Tilde ranges.
|
459
464
|
// Meaning is "reasonably at or greater than"
|
@@ -7,8 +7,8 @@
|
|
7
7
|
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
11
|
+
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
12
12
|
},
|
13
13
|
"devDependencies": {
|
14
14
|
"@cypress/mount-utils": "0.0.0-development",
|
package/svelte/package.json
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
"prebuild": "rimraf dist",
|
8
8
|
"build": "rollup -c rollup.config.mjs",
|
9
9
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"check-ts": "tsc --noEmit",
|
11
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
12
12
|
},
|
13
13
|
"devDependencies": {
|
14
14
|
"@cypress/mount-utils": "0.0.0-development",
|
@@ -7,8 +7,8 @@
|
|
7
7
|
"prebuild": "rimraf dist",
|
8
8
|
"build": "rollup -c rollup.config.mjs",
|
9
9
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"check-ts": "tsc --noEmit",
|
11
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
12
12
|
},
|
13
13
|
"devDependencies": {
|
14
14
|
"@cypress/mount-utils": "0.0.0-development",
|
package/types/cypress.d.ts
CHANGED
@@ -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
|
-
|
838
|
-
|
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
|
@@ -950,7 +950,7 @@ declare namespace Cypress {
|
|
950
950
|
*
|
951
951
|
* @see https://on.cypress.io/clearallcookies
|
952
952
|
*/
|
953
|
-
|
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
|
-
|
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
|
-
|
2546
|
-
|
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
|
-
|
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
|
-
|
6410
|
-
|
6411
|
-
|
6412
|
-
|
6413
|
-
|
6414
|
-
|
6415
|
-
|
6416
|
-
|
6417
|
-
|
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
@@ -4,11 +4,11 @@
|
|
4
4
|
"description": "Browser-based Component Testing for Vue.js with Cypress.io ✌️🌲",
|
5
5
|
"main": "dist/cypress-vue.cjs.js",
|
6
6
|
"scripts": {
|
7
|
-
"cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
|
8
|
-
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
|
9
7
|
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
10
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
11
9
|
"check-ts": "yarn tsd && vue-tsc --noEmit",
|
10
|
+
"cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
|
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
14
|
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.tsd.json",
|
@@ -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",
|
package/vue/vue/package.json
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
"description": "Browser-based Component Testing for Vue.js with Cypress.io ✌️🌲",
|
5
5
|
"main": "dist/cypress-vue.cjs.js",
|
6
6
|
"scripts": {
|
7
|
-
"cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
|
8
|
-
"cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
|
9
7
|
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
10
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
11
9
|
"check-ts": "yarn tsd && vue-tsc --noEmit",
|
10
|
+
"cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
|
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
14
|
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.tsd.json",
|
@@ -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",
|
package/vue2/package.json
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
"description": "Browser-based Component Testing for Vue.js@2 with Cypress.io ✌️🌲",
|
5
5
|
"main": "dist/cypress-vue2.cjs.js",
|
6
6
|
"scripts": {
|
7
|
-
"check-ts": "tsc --noEmit",
|
8
7
|
"build": "rimraf dist && yarn rollup -c rollup.config.mjs",
|
9
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
10
|
-
"
|
11
|
-
"watch": "yarn build --watch --watch.exclude ./dist/**/*",
|
9
|
+
"check-ts": "tsc --noEmit",
|
12
10
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
13
|
-
"test
|
11
|
+
"test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
|
12
|
+
"test-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env",
|
13
|
+
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
14
14
|
},
|
15
15
|
"devDependencies": {
|
16
16
|
"@cypress/mount-utils": "0.0.0-development",
|
package/vue2/vue2/package.json
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
"description": "Browser-based Component Testing for Vue.js@2 with Cypress.io ✌️🌲",
|
5
5
|
"main": "dist/cypress-vue2.cjs.js",
|
6
6
|
"scripts": {
|
7
|
-
"check-ts": "tsc --noEmit",
|
8
7
|
"build": "rimraf dist && yarn rollup -c rollup.config.mjs",
|
9
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
10
|
-
"
|
11
|
-
"watch": "yarn build --watch --watch.exclude ./dist/**/*",
|
9
|
+
"check-ts": "tsc --noEmit",
|
12
10
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
13
|
-
"test
|
11
|
+
"test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
|
12
|
+
"test-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env",
|
13
|
+
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
14
14
|
},
|
15
15
|
"devDependencies": {
|
16
16
|
"@cypress/mount-utils": "0.0.0-development",
|