cypress 10.5.0 → 10.6.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.
@@ -74,11 +74,11 @@ const getCA = () => {
74
74
  });
75
75
  };
76
76
 
77
- const prepend = (arch, urlPath) => {
77
+ const prepend = (arch, urlPath, version) => {
78
78
  const endpoint = url.resolve(getBaseUrl(), urlPath);
79
79
  const platform = os.platform();
80
80
  const pathTemplate = util.getEnv('CYPRESS_DOWNLOAD_PATH_TEMPLATE', true);
81
- return pathTemplate ? pathTemplate.replace(/\\?\$\{endpoint\}/, endpoint).replace(/\\?\$\{platform\}/, platform).replace(/\\?\$\{arch\}/, arch) : `${endpoint}?platform=${platform}&arch=${arch}`;
81
+ return pathTemplate ? pathTemplate.replace(/\\?\$\{endpoint\}/, endpoint).replace(/\\?\$\{platform\}/, platform).replace(/\\?\$\{arch\}/, arch).replace(/\\?\$\{version\}/, version) : `${endpoint}?platform=${platform}&arch=${arch}`;
82
82
  };
83
83
 
84
84
  const getUrl = (arch, version) => {
@@ -87,7 +87,8 @@ const getUrl = (arch, version) => {
87
87
  return version;
88
88
  }
89
89
 
90
- return version ? prepend(arch, `desktop/${version}`) : prepend(arch, 'desktop');
90
+ const urlPath = version ? `desktop/${version}` : 'desktop';
91
+ return prepend(arch, urlPath, version);
91
92
  };
92
93
 
93
94
  const statusMessage = err => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "10.5.0",
3
+ "version": "10.6.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -112,8 +112,8 @@
112
112
  },
113
113
  "buildInfo": {
114
114
  "commitBranch": "develop",
115
- "commitSha": "17f430768ba3f3de2f167359d7fec2dde77ca562",
116
- "commitDate": "2022-08-15T16:29:07.000Z",
115
+ "commitSha": "89839eb2e0421f7485b4544866355d8be40bd331",
116
+ "commitDate": "2022-08-16T18:09:58.000Z",
117
117
  "stable": true
118
118
  },
119
119
  "description": "Cypress.io end to end testing tool",
@@ -1,3 +1,10 @@
1
+ # [@cypress/react-v6.1.1](https://github.com/cypress-io/cypress/compare/@cypress/react-v6.1.0...@cypress/react-v6.1.1) (2022-08-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **react18:** unmount component with react18 API ([#23204](https://github.com/cypress-io/cypress/issues/23204)) ([eab950b](https://github.com/cypress-io/cypress/commit/eab950bec013f9caf5836e3fa58670fde25e2684))
7
+
1
8
  # [@cypress/react-v6.1.0](https://github.com/cypress-io/cypress/compare/@cypress/react-v6.0.0...@cypress/react-v6.1.0) (2022-08-11)
2
9
 
3
10
 
@@ -1,3 +1,10 @@
1
+ # [@cypress/react18-v1.0.1](https://github.com/cypress-io/cypress/compare/@cypress/react18-v1.0.0...@cypress/react18-v1.0.1) (2022-08-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **react18:** unmount component with react18 API ([#23204](https://github.com/cypress-io/cypress/issues/23204)) ([eab950b](https://github.com/cypress-io/cypress/commit/eab950bec013f9caf5836e3fa58670fde25e2684))
7
+
1
8
  # @cypress/react18-v1.0.0 (2022-08-11)
2
9
 
3
10
 
@@ -3062,6 +3062,11 @@ declare namespace Cypress {
3062
3062
  interface ComponentConfigOptions<ComponentDevServerOpts = any> extends Omit<CoreConfigOptions, 'baseUrl' | 'experimentalSessionAndOrigin'> {
3063
3063
  devServer: DevServerFn<ComponentDevServerOpts> | DevServerConfigOptions
3064
3064
  devServerConfig?: ComponentDevServerOpts
3065
+ /**
3066
+ * Runs all component specs in a single tab, trading spec isolation for faster run mode execution.
3067
+ * @default false
3068
+ */
3069
+ experimentalSingleTabRunMode?: boolean
3065
3070
  }
3066
3071
 
3067
3072
  /**