Bump globals from 17.3.0 to 17.4.0 (#421)

* Bump globals from 17.3.0 to 17.4.0

Bumps [globals](https://github.com/sindresorhus/globals) from 17.3.0 to 17.4.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.3.0...v17.4.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 17.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Prevent Cannot access 'isStrictVersion' before initialization

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
This commit is contained in:
dependabot[bot]
2026-03-09 22:19:11 +00:00
committed by GitHub
parent 4cbacdb2a9
commit c3137f5cd5
4 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -53632,17 +53632,17 @@ async function getOTPVersion(otpSpec0, osVersion) {
} }
function requestedVersionFor(tool, version, originListing, mirrors) { function requestedVersionFor(tool, version, originListing, mirrors) {
const isStrictVersion = isStrictVersion() const isVersionTypeStrict = isStrictVersion()
let versionType = 'loose' let versionType = 'loose'
if (isStrictVersion) { if (isVersionTypeStrict) {
versionType = 'strict' versionType = 'strict'
} }
let ret = let ret =
`Requested ${versionType} ${tool} version (${version}) not found in version list, ` + `Requested ${versionType} ${tool} version (${version}) not found in version list, ` +
`at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.` `at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.`
if (!isStrictVersion) { if (!isVersionTypeStrict) {
ret = `${ret} Should you be using option 'version-type': 'strict'?` ret = `${ret} Should you be using option 'version-type': 'strict'?`
} }
+4 -4
View File
@@ -19,7 +19,7 @@
"@vercel/ncc": "0.38.4", "@vercel/ncc": "0.38.4",
"eslint": "10.0.3", "eslint": "10.0.3",
"eslint-plugin-yml": "3.3.1", "eslint-plugin-yml": "3.3.1",
"globals": "17.3.0", "globals": "17.4.0",
"markdownlint-cli": "0.48.0", "markdownlint-cli": "0.48.0",
"prettier": "3.8.1", "prettier": "3.8.1",
"shellcheck": "4.1.0", "shellcheck": "4.1.0",
@@ -1734,9 +1734,9 @@
} }
}, },
"node_modules/globals": { "node_modules/globals": {
"version": "17.3.0", "version": "17.4.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-17.3.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
"integrity": "sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==", "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
+1 -1
View File
@@ -29,7 +29,7 @@
"@vercel/ncc": "0.38.4", "@vercel/ncc": "0.38.4",
"eslint": "10.0.3", "eslint": "10.0.3",
"eslint-plugin-yml": "3.3.1", "eslint-plugin-yml": "3.3.1",
"globals": "17.3.0", "globals": "17.4.0",
"markdownlint-cli": "0.48.0", "markdownlint-cli": "0.48.0",
"prettier": "3.8.1", "prettier": "3.8.1",
"shellcheck": "4.1.0", "shellcheck": "4.1.0",
+3 -3
View File
@@ -192,17 +192,17 @@ async function getOTPVersion(otpSpec0, osVersion) {
} }
function requestedVersionFor(tool, version, originListing, mirrors) { function requestedVersionFor(tool, version, originListing, mirrors) {
const isStrictVersion = isStrictVersion() const isVersionTypeStrict = isStrictVersion()
let versionType = 'loose' let versionType = 'loose'
if (isStrictVersion) { if (isVersionTypeStrict) {
versionType = 'strict' versionType = 'strict'
} }
let ret = let ret =
`Requested ${versionType} ${tool} version (${version}) not found in version list, ` + `Requested ${versionType} ${tool} version (${version}) not found in version list, ` +
`at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.` `at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.`
if (!isStrictVersion) { if (!isVersionTypeStrict) {
ret = `${ret} Should you be using option 'version-type': 'strict'?` ret = `${ret} Should you be using option 'version-type': 'strict'?`
} }