From c3137f5cd54be80c81bfcbe43822a4b0521689cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:19:11 +0000 Subject: [PATCH] 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] * Prevent Cannot access 'isStrictVersion' before initialization --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paulo F. Oliveira --- dist/index.js | 6 +++--- package-lock.json | 8 ++++---- package.json | 2 +- src/setup-beam.js | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3100d4d..c8ea0ad 100644 --- a/dist/index.js +++ b/dist/index.js @@ -53632,17 +53632,17 @@ async function getOTPVersion(otpSpec0, osVersion) { } function requestedVersionFor(tool, version, originListing, mirrors) { - const isStrictVersion = isStrictVersion() + const isVersionTypeStrict = isStrictVersion() let versionType = 'loose' - if (isStrictVersion) { + if (isVersionTypeStrict) { versionType = 'strict' } let ret = `Requested ${versionType} ${tool} version (${version}) not found in version list, ` + `at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.` - if (!isStrictVersion) { + if (!isVersionTypeStrict) { ret = `${ret} Should you be using option 'version-type': 'strict'?` } diff --git a/package-lock.json b/package-lock.json index f733478..2375108 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@vercel/ncc": "0.38.4", "eslint": "10.0.3", "eslint-plugin-yml": "3.3.1", - "globals": "17.3.0", + "globals": "17.4.0", "markdownlint-cli": "0.48.0", "prettier": "3.8.1", "shellcheck": "4.1.0", @@ -1734,9 +1734,9 @@ } }, "node_modules/globals": { - "version": "17.3.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.3.0.tgz", - "integrity": "sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==", + "version": "17.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz", + "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 3a20034..2281f13 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@vercel/ncc": "0.38.4", "eslint": "10.0.3", "eslint-plugin-yml": "3.3.1", - "globals": "17.3.0", + "globals": "17.4.0", "markdownlint-cli": "0.48.0", "prettier": "3.8.1", "shellcheck": "4.1.0", diff --git a/src/setup-beam.js b/src/setup-beam.js index f02b787..fb40c0a 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -192,17 +192,17 @@ async function getOTPVersion(otpSpec0, osVersion) { } function requestedVersionFor(tool, version, originListing, mirrors) { - const isStrictVersion = isStrictVersion() + const isVersionTypeStrict = isStrictVersion() let versionType = 'loose' - if (isStrictVersion) { + if (isVersionTypeStrict) { versionType = 'strict' } let ret = `Requested ${versionType} ${tool} version (${version}) not found in version list, ` + `at ${originListing}${mirrors ? `, with mirrors ${mirrors}` : ''}.` - if (!isStrictVersion) { + if (!isVersionTypeStrict) { ret = `${ret} Should you be using option 'version-type': 'strict'?` }