mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 10:19:30 -05:00
misc: use WHATWG URL for binary download (#33348)
This commit is contained in:
+2
-1
@@ -1,7 +1,7 @@
|
||||
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
|
||||
## 15.10.1
|
||||
|
||||
_Released 02/08/2026 (PENDING)_
|
||||
_Released 02/17/2026 (PENDING)_
|
||||
|
||||
**Bugfixes:**
|
||||
|
||||
@@ -10,6 +10,7 @@ _Released 02/08/2026 (PENDING)_
|
||||
**Misc:**
|
||||
|
||||
- The Node.js path is now displayed correctly in run log headers for typical GitHub Actions paths. ANSI escape sequences are no longer incorrectly displayed for longer Node.js paths. Addresses [#32736](https://github.com/cypress-io/cypress/issues/32736).
|
||||
- Fixed an issue that caused a Node.js [DEP0169](https://nodejs.org/docs/latest/api/deprecations.html#DEP0169) deprecation warning to be output when executing `cypress install` to download and install the Cypress binary. Addresses [#33347](https://github.com/cypress-io/cypress/issues/33347).
|
||||
|
||||
**Dependency Updates:**
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import os from 'os'
|
||||
import assert from 'assert'
|
||||
import _ from 'lodash'
|
||||
import url from 'url'
|
||||
import path from 'path'
|
||||
import Debug from 'debug'
|
||||
import request from '@cypress/request'
|
||||
@@ -60,7 +59,7 @@ const getCA = async (): Promise<string | undefined> => {
|
||||
}
|
||||
|
||||
const prepend = (arch: string, urlPath: string, version: string): string => {
|
||||
const endpoint = url.resolve(getBaseUrl(), urlPath)
|
||||
const endpoint = new URL(urlPath, getBaseUrl()).toString()
|
||||
const platform = os.platform()
|
||||
const pathTemplate = util.getEnv('CYPRESS_DOWNLOAD_PATH_TEMPLATE', true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user