Skip to content

Commit 56985db

Browse files
chore(deps-dev): bump eslint-plugin-unicorn from 62.0.0 to 63.0.0 (#7612)
* chore(deps-dev): bump eslint-plugin-unicorn from 62.0.0 to 63.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 62.0.0 to 63.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v62.0.0...v63.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-version: 63.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: fix lint and type issues --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ruben Bridgewater <[email protected]>
1 parent b7fbc2d commit 56985db

File tree

3 files changed

+42
-15
lines changed

3 files changed

+42
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"eslint-plugin-mocha": "^11.2.0",
174174
"eslint-plugin-n": "^17.23.2",
175175
"eslint-plugin-promise": "^7.2.1",
176-
"eslint-plugin-unicorn": "^62.0.0",
176+
"eslint-plugin-unicorn": "^63.0.0",
177177
"express": "^5.1.0",
178178
"glob": "^10.4.5",
179179
"globals": "^17.2.0",

scripts/get-chrome-driver-download-url.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
'use strict'
22

3-
const URL = 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json'
3+
const url = 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json'
44

55
// Get chrome driver download URL from a given chrome version, provided via CHROME_VERSION env var
66
async function getChromeDriverDownloadURL (chromePlatform = 'linux64') {
77
// CHROME_VERSION is the output of google-chrome --version, e.g. "Google Chrome 124.0.6367.60"
88
const chromeVersion = process.env.CHROME_VERSION
99

10+
if (!chromeVersion) {
11+
throw new Error('CHROME_VERSION is not set')
12+
}
13+
1014
const majorMinorPatch = chromeVersion.split(' ')[2].split('.').slice(0, 3).join('.').trim()
11-
const res = await fetch(URL)
15+
const res = await fetch(url)
1216
const json = await res.json()
1317

1418
const versions = json.versions.filter(({ version }) => version.includes(majorMinorPatch))
1519

1620
const latest = versions[versions.length - 1]
1721

18-
// eslint-disable-next-line
22+
// eslint-disable-next-line no-console
1923
console.log(latest.downloads.chromedriver.find(({ platform }) => platform === chromePlatform).url)
2024
}
2125

yarn.lock

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.7.tgz#6e2126a1347e86a4dedf8706ec67ff8e107ebbad"
351351
integrity sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==
352352

353-
"@eslint/plugin-kit@^0.4.0", "@eslint/plugin-kit@^0.4.1":
353+
"@eslint/plugin-kit@^0.4.1":
354354
version "0.4.1"
355355
resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz#9779e3fd9b7ee33571a57435cf4335a1794a6cb2"
356356
integrity sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==
@@ -1916,19 +1916,17 @@ eslint-plugin-promise@^7.2.1:
19161916
dependencies:
19171917
"@eslint-community/eslint-utils" "^4.4.0"
19181918

1919-
eslint-plugin-unicorn@^62.0.0:
1920-
version "62.0.0"
1921-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-62.0.0.tgz#7027feb2ffde9c25df3d2067e0f4e579a9ec5019"
1922-
integrity sha512-HIlIkGLkvf29YEiS/ImuDZQbP12gWyx5i3C6XrRxMvVdqMroCI9qoVYCoIl17ChN+U89pn9sVwLxhIWj5nEc7g==
1919+
eslint-plugin-unicorn@^63.0.0:
1920+
version "63.0.0"
1921+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-63.0.0.tgz#db210b87bb66f0f15ab675ba13d9f1fb61016b22"
1922+
integrity sha512-Iqecl9118uQEXYh7adylgEmGfkn5es3/mlQTLLkd4pXkIk9CTGrAbeUux+YljSa2ohXCBmQQ0+Ej1kZaFgcfkA==
19231923
dependencies:
19241924
"@babel/helper-validator-identifier" "^7.28.5"
19251925
"@eslint-community/eslint-utils" "^4.9.0"
1926-
"@eslint/plugin-kit" "^0.4.0"
19271926
change-case "^5.4.4"
19281927
ci-info "^4.3.1"
19291928
clean-regexp "^1.0.0"
19301929
core-js-compat "^3.46.0"
1931-
esquery "^1.6.0"
19321930
find-up-simple "^1.0.1"
19331931
globals "^16.4.0"
19341932
indent-string "^5.0.0"
@@ -2026,7 +2024,7 @@ esprima@^4.0.0:
20262024
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
20272025
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
20282026

2029-
esquery@^1.5.0, esquery@^1.6.0, esquery@^1.7.0:
2027+
esquery@^1.5.0, esquery@^1.7.0:
20302028
version "1.7.0"
20312029
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.7.0.tgz#08d048f261f0ddedb5bae95f46809463d9c9496d"
20322030
integrity sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==
@@ -4080,7 +4078,16 @@ streamsearch@^1.1.0:
40804078
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
40814079
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
40824080

4083-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
4081+
"string-width-cjs@npm:string-width@^4.2.0":
4082+
version "4.2.3"
4083+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
4084+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
4085+
dependencies:
4086+
emoji-regex "^8.0.0"
4087+
is-fullwidth-code-point "^3.0.0"
4088+
strip-ansi "^6.0.1"
4089+
4090+
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
40844091
version "4.2.3"
40854092
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
40864093
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -4144,7 +4151,14 @@ string_decoder@~1.1.1:
41444151
dependencies:
41454152
safe-buffer "~5.1.0"
41464153

4147-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
4154+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
4155+
version "6.0.1"
4156+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
4157+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
4158+
dependencies:
4159+
ansi-regex "^5.0.1"
4160+
4161+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
41484162
version "6.0.1"
41494163
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
41504164
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -4507,7 +4521,7 @@ workerpool@^9.2.0:
45074521
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-9.3.4.tgz#f6c92395b2141afd78e2a889e80cb338fe9fca41"
45084522
integrity sha512-TmPRQYYSAnnDiEB0P/Ytip7bFGvqnSU6I2BcuSw7Hx+JSg/DsUi5ebYfc8GYaSdpuvOcEs6dXxPurOYpe9QFwg==
45094523

4510-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
4524+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
45114525
version "7.0.0"
45124526
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
45134527
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -4525,6 +4539,15 @@ wrap-ansi@^6.2.0:
45254539
string-width "^4.1.0"
45264540
strip-ansi "^6.0.0"
45274541

4542+
wrap-ansi@^7.0.0:
4543+
version "7.0.0"
4544+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
4545+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
4546+
dependencies:
4547+
ansi-styles "^4.0.0"
4548+
string-width "^4.1.0"
4549+
strip-ansi "^6.0.0"
4550+
45284551
wrap-ansi@^8.1.0:
45294552
version "8.1.0"
45304553
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)