cypress 15.17.0 → 15.18.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/dist/bin/cypress CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var cli = require('../cli-CqSCkgQ7.js');
4
+ var cli = require('../cli-B5v_kZB5.js');
5
5
  require('../xvfb-CqCqXRC-.js');
6
6
  require('os');
7
7
  require('bluebird');
@@ -638,22 +638,6 @@ const alreadyInstalledMsg = () => {
638
638
  }
639
639
  };
640
640
  const displayCompletionMsg = () => {
641
- // check here to see if we are globally installed
642
- if (xvfb.util.isInstalledGlobally()) {
643
- // if we are display a warning
644
- xvfb.loggerModule.log();
645
- xvfb.loggerModule.warn(commonTags.stripIndent `
646
- ${logSymbols.warning} Warning: It looks like you\'ve installed Cypress globally.
647
-
648
- The recommended way to install Cypress is as a devDependency per project.
649
-
650
- You should probably run these commands:
651
-
652
- - ${chalk.cyan('npm uninstall -g cypress')}
653
- - ${chalk.cyan('npm install --save-dev cypress')}
654
- `);
655
- return;
656
- }
657
641
  xvfb.loggerModule.log();
658
642
  xvfb.loggerModule.log('You can now open Cypress by running one of the following, depending on your package manager:');
659
643
  xvfb.loggerModule.log();
@@ -1833,19 +1817,7 @@ const cliModule = {
1833
1817
  if (!args) {
1834
1818
  args = process.argv;
1835
1819
  }
1836
- const { CYPRESS_INTERNAL_ENV, CYPRESS_DOWNLOAD_USE_CA } = process.env;
1837
- if (process.env.CYPRESS_DOWNLOAD_USE_CA) {
1838
- let msg = `
1839
- ${logSymbols.warning} Warning: It looks like you're setting CYPRESS_DOWNLOAD_USE_CA=${CYPRESS_DOWNLOAD_USE_CA}
1840
-
1841
- The environment variable "CYPRESS_DOWNLOAD_USE_CA" is no longer required to be set.
1842
-
1843
- You can safely unset this environment variable.
1844
- `;
1845
- xvfb.loggerModule.log();
1846
- xvfb.loggerModule.warn(commonTags.stripIndent(msg));
1847
- xvfb.loggerModule.log();
1848
- }
1820
+ const { CYPRESS_INTERNAL_ENV } = process.env;
1849
1821
  if (!xvfb.util.isValidCypressInternalEnvValue(CYPRESS_INTERNAL_ENV)) {
1850
1822
  debug('invalid CYPRESS_INTERNAL_ENV value', CYPRESS_INTERNAL_ENV);
1851
1823
  return xvfb.exitWithError(xvfb.errors.invalidCypressEnv)(`CYPRESS_INTERNAL_ENV=${CYPRESS_INTERNAL_ENV}`);
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ require('commander');
8
8
  require('common-tags');
9
9
  require('log-symbols');
10
10
  require('debug');
11
- var cli = require('./cli-CqSCkgQ7.js');
11
+ var cli = require('./cli-B5v_kZB5.js');
12
12
  require('./spawn-Cnrq9zm4.js');
13
13
  require('os');
14
14
  require('bluebird');
@@ -3,7 +3,7 @@
3
3
  var xvfb = require('./xvfb-CqCqXRC-.js');
4
4
  var tmp = require('tmp');
5
5
  var fs = require('fs-extra');
6
- var cli$1 = require('./cli-CqSCkgQ7.js');
6
+ var cli$1 = require('./cli-B5v_kZB5.js');
7
7
 
8
8
  /**
9
9
  * Opens Cypress GUI
package/dist/cypress.js CHANGED
@@ -3,8 +3,8 @@
3
3
  require('./xvfb-CqCqXRC-.js');
4
4
  require('tmp');
5
5
  require('fs-extra');
6
- require('./cli-CqSCkgQ7.js');
7
- var cypress = require('./cypress-BZS7OvER.js');
6
+ require('./cli-B5v_kZB5.js');
7
+ var cypress = require('./cypress-B9M6be62.js');
8
8
  require('os');
9
9
  require('bluebird');
10
10
  require('@cypress/xvfb');
package/dist/index.js CHANGED
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var xvfb = require('./xvfb-CqCqXRC-.js');
6
6
  var minimist = require('minimist');
7
7
  var Debug = require('debug');
8
- var cli$1 = require('./cli-CqSCkgQ7.js');
8
+ var cli$1 = require('./cli-B5v_kZB5.js');
9
9
  var spawn = require('./spawn-Cnrq9zm4.js');
10
- var cypress = require('./cypress-BZS7OvER.js');
10
+ var cypress = require('./cypress-B9M6be62.js');
11
11
  require('os');
12
12
  require('bluebird');
13
13
  require('@cypress/xvfb');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "15.17.0",
3
+ "version": "15.18.0",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node dist/index.js --exec install",
@@ -138,8 +138,8 @@
138
138
  },
139
139
  "buildInfo": {
140
140
  "commitBranch": "develop",
141
- "commitSha": "b22780a9bb118b86730e22243aba16e25e7a5bed",
142
- "commitDate": "2026-06-09T13:13:52.000Z",
141
+ "commitSha": "fa083dbc716f2fd1c50ba505ee9c400366c922f6",
142
+ "commitDate": "2026-06-23T12:40:08.000Z",
143
143
  "stable": true
144
144
  },
145
145
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -8,10 +8,13 @@
8
8
  "build": "rollup -c rollup.config.mjs",
9
9
  "postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
10
10
  "check-ts": "tsc --noEmit",
11
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
11
+ "lint": "eslint"
12
12
  },
13
13
  "devDependencies": {
14
+ "@packages/eslint-config": "0.0.0-development",
14
15
  "@cypress/mount-utils": "0.0.0-development",
16
+ "eslint": "^9.31.0",
17
+ "jiti": "^2.4.2",
15
18
  "rollup": "3.29.5",
16
19
  "svelte": "^5.4.0",
17
20
  "typescript": "~5.4.5"
@@ -53,5 +56,8 @@
53
56
  "implicitDependencies": [
54
57
  "!cypress"
55
58
  ]
59
+ },
60
+ "lint-staged": {
61
+ "**/*.{js,jsx,ts,tsx}": "eslint --fix"
56
62
  }
57
63
  }
@@ -8,10 +8,13 @@
8
8
  "build": "rollup -c rollup.config.mjs",
9
9
  "postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
10
10
  "check-ts": "tsc --noEmit",
11
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
11
+ "lint": "eslint"
12
12
  },
13
13
  "devDependencies": {
14
+ "@packages/eslint-config": "0.0.0-development",
14
15
  "@cypress/mount-utils": "0.0.0-development",
16
+ "eslint": "^9.31.0",
17
+ "jiti": "^2.4.2",
15
18
  "rollup": "3.29.5",
16
19
  "svelte": "^5.4.0",
17
20
  "typescript": "~5.4.5"
@@ -53,5 +56,8 @@
53
56
  "implicitDependencies": [
54
57
  "!cypress"
55
58
  ]
59
+ },
60
+ "lint-staged": {
61
+ "**/*.{js,jsx,ts,tsx}": "eslint --fix"
56
62
  }
57
63
  }
@@ -3074,6 +3074,15 @@ declare namespace Cypress {
3074
3074
  * @see https://on.cypress.io/configuration#modifyObstructiveCode
3075
3075
  */
3076
3076
  modifyObstructiveCode: boolean
3077
+ /**
3078
+ * Whether Cypress will strip the `integrity` attribute from `<script>` and `<link>` elements
3079
+ * on first-party resources so they are not blocked by Subresource Integrity (SRI) enforcement
3080
+ * after the proxy rewrites them (under `modifyObstructiveCode`). Covers `integrity` set via
3081
+ * static HTML, a JavaScript string literal, or runtime DOM assignment. Third-party resources
3082
+ * are only rewritten — and have their SRI stripped — under `experimentalModifyObstructiveThirdPartyCode`.
3083
+ * @default false
3084
+ */
3085
+ removeSRIAttributes: boolean
3077
3086
  /**
3078
3087
  * Time, in milliseconds, to wait for an XHR request to go out in a [cy.wait()](https://on.cypress.io/wait) command
3079
3088
  * @default 5000
@@ -3233,7 +3242,8 @@ declare namespace Cypress {
3233
3242
  experimentalInteractiveRunEvents: boolean
3234
3243
  /**
3235
3244
  * Whether Cypress will search for and replace obstructive code in third party .js or .html files.
3236
- * NOTE: Setting this flag to true removes Subresource Integrity (SRI).
3245
+ * NOTE: Setting this flag to true removes Subresource Integrity (SRI) from third-party resources.
3246
+ * To strip SRI from first-party resources as well, use `removeSRIAttributes`.
3237
3247
  * Please see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity.
3238
3248
  * This option has no impact on experimentalSourceRewriting and is only used with the
3239
3249
  * non-experimental source rewriter.
package/vue/package.json CHANGED
@@ -9,13 +9,16 @@
9
9
  "check-ts": "yarn tsd && vue-tsc --noEmit",
10
10
  "cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
11
11
  "cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
12
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
12
+ "lint": "eslint",
13
13
  "test": "yarn cy:run",
14
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": {
18
+ "@packages/eslint-config": "0.0.0-development",
18
19
  "@cypress/mount-utils": "0.0.0-development",
20
+ "eslint": "^9.31.0",
21
+ "jiti": "^2.4.2",
19
22
  "@vitejs/plugin-vue": "6.0.3",
20
23
  "@vue/compiler-sfc": "3.2.47",
21
24
  "@vue/test-utils": "2.4.6",
@@ -24,6 +27,7 @@
24
27
  "rollup": "3.29.5",
25
28
  "typescript": "~5.4.5",
26
29
  "vite": "6.3.5",
30
+ "vue-eslint-parser": "^10.0.0",
27
31
  "vue": "3.2.47",
28
32
  "vue-i18n": "9.14.5",
29
33
  "vue-router": "^4.0.0",
@@ -86,5 +90,8 @@
86
90
  ]
87
91
  }
88
92
  }
93
+ },
94
+ "lint-staged": {
95
+ "**/*.{js,jsx,ts,tsx,vue}": "eslint --fix"
89
96
  }
90
97
  }
@@ -9,13 +9,16 @@
9
9
  "check-ts": "yarn tsd && vue-tsc --noEmit",
10
10
  "cy:open": "node ../../scripts/cypress.js open --component --project ${PWD}",
11
11
  "cy:run": "node ../../scripts/cypress.js run --component --project ${PWD}",
12
- "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
12
+ "lint": "eslint",
13
13
  "test": "yarn cy:run",
14
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": {
18
+ "@packages/eslint-config": "0.0.0-development",
18
19
  "@cypress/mount-utils": "0.0.0-development",
20
+ "eslint": "^9.31.0",
21
+ "jiti": "^2.4.2",
19
22
  "@vitejs/plugin-vue": "6.0.3",
20
23
  "@vue/compiler-sfc": "3.2.47",
21
24
  "@vue/test-utils": "2.4.6",
@@ -24,6 +27,7 @@
24
27
  "rollup": "3.29.5",
25
28
  "typescript": "~5.4.5",
26
29
  "vite": "6.3.5",
30
+ "vue-eslint-parser": "^10.0.0",
27
31
  "vue": "3.2.47",
28
32
  "vue-i18n": "9.14.5",
29
33
  "vue-router": "^4.0.0",
@@ -86,5 +90,8 @@
86
90
  ]
87
91
  }
88
92
  }
93
+ },
94
+ "lint-staged": {
95
+ "**/*.{js,jsx,ts,tsx,vue}": "eslint --fix"
89
96
  }
90
97
  }