Update dependency nvm-sh/nvm to v0.40.5#5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.40.1→v0.40.5Release Notes
nvm-sh/nvm (nvm-sh/nvm)
v0.40.5Compare Source
Security fix
Note this release addresses CVE-2026-10796.
New Stuff
nvm install --offline: install from cache without network accessBug Fixes
nvm_download_artifact: reject version strings with disallowed charactersnvm_get_checksum: pass the tarball name to awk as data, not program textnvm_download: avoidevalso mirror-supplied version strings can't inject commandsnvm_download: send a well-formed Authorization header on the wget pathnvm_normalize_lts: only reject uppercase for LTS names, not regular aliasesinstall.sh: checkmkdirreturn codesinstall.sh: fix POSIX compliance, printf format strings, and profile detectionnvm which: show alias name in infinite loop error messagenvm uninstall: fix alias cleanup glob expansionnvm debug: use default empty values for potentially unset variablesnvm_iojs_version_has_solaris_binary: fix comparison to detect non-iojs versionsnvm_download_artifact: fix error propagation from subshellsnvm_install_binary: return failure when binary download fails with-bnvm_get_arch: only apply musl suffix on x64 Alpinenvm_get_arch: addcommandprefix tounamecallnvm_resolve_local_alias: avoid using variable as printf format stringnvm_get_mirror: fix awk URL validation to actually reject invalid URLsnvm_ls_remote_combined: propagate iojs remote listing failuresnvm install: fixnvm errtypo tonvm_errfor-s/-bconflictnvm alias: fix colors not showing by defaultRefactors
nvm_rc_version: use fd 3 instead of exported env var for multiple returnDocs
--offlinehelp line alignmentMisc
Tests
install_nvm_from_git: stop git background gc/maintenance racing with cleanupinstall_nvm_from_git: fix malformed test command (missing space before])try/try_errhelpers; convert tests to use themnvm installworkflowv0.40.4Compare Source
Bug Fixes
NVM_AUTH_HEADERinwgetpathnvm_has_colors: also check if stdout is a terminalnvm_strip_path: avoid gawk-specificRTvariable for mawk compatibilitynvm_get_default_packages: use portable awk patternsnvm_install_source: explicitly set SHELL=/bin/sh for makeinstall.sh: do not log when user has requested no profile modifications (#2131)nvm exec: Do a version check onnvm-exec(#3308)#shlacks-O; thanks shellcheckDocs
Tests
nodeinnvm_die_on_prefixtest$_before sourcingnvm.shin fast testsMisc
markdown-link-check,semverv0.40.3Compare Source
Fixes
nvm_install_latest_npm: fix node version detection (#3564)v0.40.2Compare Source
New Stuff
install.sh: add$ZDOTDIRto zsh search (#3458)Fixes
reinstall-packages: do not reinstall corepack (#3544)install-latest-npm: npm v11 is outnvm_install_latest_npm: avoid unbound variable (#3447)ltsalias is mistakenly used (#3441)nvm ls,nvm alias,nvm install: error when an LTS name is invalidnvm_normalize_lts: error when an LTS name is not lowercase (#3417)Documentation
--no-useexample (#3479)avnfrom readme (#3469)Refactors
caseover if/else chainssed -einvocations/argumentsTests
nvm exec/nvm run: add--silenttests (#1259)installation_iojstest suite to GitHub Actions (#3476)install.sh: clean upnvm_detect_profiletestsnvm_detect_profile: refactor (#3467)node/installinstead ofnode/runMeta
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.