cypress 13.8.1 → 13.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- "watch": "tsc -w",
11
- "lint": "eslint --ext .js,.ts,.json, ."
10
+ "lint": "eslint --ext .js,.ts,.json, .",
11
+ "watch": "tsc -w"
12
12
  },
13
13
  "dependencies": {},
14
14
  "devDependencies": {
@@ -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
- "watch": "tsc -w",
11
- "lint": "eslint --ext .js,.ts,.json, ."
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.8.1",
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": "52347d61a11bcefff54e2024751d4b3105d6af2a",
138
- "commitDate": "2024-04-23T18:52:43.000Z",
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('COERCE', `${'(^|[^\\d])' +
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('COERCE', `${'(^|[^\\d])' +
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"
@@ -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": {
@@ -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('COERCE', `${'(^|[^\\d])' +
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('COERCE', `${'(^|[^\\d])' +
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"
@@ -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": {
@@ -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('COERCE', `${'(^|[^\\d])' +
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('COERCE', `${'(^|[^\\d])' +
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
- "watch": "yarn build --watch --watch.exclude ./dist/**/*",
11
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
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('COERCE', `${'(^|[^\\d])' +
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('COERCE', `${'(^|[^\\d])' +
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
- "watch": "yarn build --watch --watch.exclude ./dist/**/*",
11
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
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",
@@ -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
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
11
- "check-ts": "tsc --noEmit"
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
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
11
- "check-ts": "tsc --noEmit"
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/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",
@@ -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",
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
- "test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
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-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env"
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",
@@ -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
- "test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
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-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env"
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",