nvm-sh/nvm (nvm-sh/nvm)
### [`v0.39.7`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.7)
[Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.6...v0.39.7)
#### Fixes
- use `\hash` instead of `command hash` for `zsh` ([#3239](https://togithub.com/nvm-sh/nvm/issues/3239), [#3247](https://togithub.com/nvm-sh/nvm/issues/3247), [#3246](https://togithub.com/nvm-sh/nvm/issues/3246))
### [`v0.39.6`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.6)
[Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.5...v0.39.6)
#### New Stuff
- `nvm_resolve_alias`: only resolve one line of a multiline alias file
- aliases: skip leading blank lines in alias file
#### Fixes
- `nvm_get_mirror`: ensure only a valid URL is allowed
- avoid overridden `hash`
- `install.sh`: when `NVM_INSTALL_GITHUB_REPO` is set, issue a warning ([#2868](https://togithub.com/nvm-sh/nvm/issues/2868))
- `nvm_get_mirror`: disallow some non-URL characters
- `nvm_get_arch`: proper value for alpine linux ([#3212](https://togithub.com/nvm-sh/nvm/issues/3212))
- `nvm_normalize_lts`: switch from expr to case
#### Robustness
- `nvm_list_aliases`: avoid overwritten sort
#### Performance
- `nvm_check_file_permissions`: do not traverse into symlinks
#### Dockerfile
- Remove apt src disabling, no longer needed ([#3199](https://togithub.com/nvm-sh/nvm/issues/3199))
- \[Fix] add missing leading slash in path ([#3195](https://togithub.com/nvm-sh/nvm/issues/3195))
#### Documentation
- \[readme] fix level of headings ([#3230](https://togithub.com/nvm-sh/nvm/issues/3230))
- \[readme] add section on bare `nvm install` ([#3221](https://togithub.com/nvm-sh/nvm/issues/3221))
- \[readme] missing parenthesis ([#3215](https://togithub.com/nvm-sh/nvm/issues/3215))
- \[readme] update M1 to “Apple Silicon” because of M2 and M3; fix typos ([#3242](https://togithub.com/nvm-sh/nvm/issues/3242))
- \[readme] rearrange install args ([#3222](https://togithub.com/nvm-sh/nvm/issues/3222))
- \[readme] reorganize “deeper shell integration” instructions ([#1569](https://togithub.com/nvm-sh/nvm/issues/1569))
- \[security] add prose explaining OpenSSF CII Best Practices badge results
- \[security] add threat model
#### Tests
- temporarily allow cygwin tests to fail
- temporarily allow WSL tests to fail
- ensure windows tests install a node that actually works
- update test mocks (new LTS, iron)
- switch cygwin mirror
- fix filename typo ([#3217](https://togithub.com/nvm-sh/nvm/issues/3217))
### [`v0.39.5`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.5)
[Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.4...v0.39.5)
#### Fixes
- `nvm_strip_path`: Preserve leading/trailing colons ([#3145](https://togithub.com/nvm-sh/nvm/issues/3145))
- allow checksums to pass with a leading backslash
- `nvm install-latest-npm`: ensure npm 10 does not install on unsupported nodes
#### Docs
- \[readme] add examples of setting specific versions as default ([#3151](https://togithub.com/nvm-sh/nvm/issues/3151))
#### Tests
- add some `nvm_do_install` tests
- a cleaner name for the windows tests
### [`v0.39.4`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.4)
[Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.3...v0.39.4)
#### Fixes
- fix node download link for armv8l ([#3102](https://togithub.com/nvm-sh/nvm/issues/3102))
- `nvm exec`: no longer error with '-q: invalid option' for zsh users ([#2800](https://togithub.com/nvm-sh/nvm/issues/2800))
- `nvm_print_npm_version`: if `npm` exists but its node crashes, do not print the npm version
- `nvm_ls_current`: when `node` is present but crashes immediately, echo "none"
- fix directory traversal when workdir path is not readable ([#3080](https://togithub.com/nvm-sh/nvm/issues/3080))
- recognize 32Bit docker container and use x86 arch ([#3051](https://togithub.com/nvm-sh/nvm/issues/3051))
- Remove unneeded call to `ls` in `nvm_arch` ([#3012](https://togithub.com/nvm-sh/nvm/issues/3012))
#### Perf
- Improve performance of listing aliases ([#3060](https://togithub.com/nvm-sh/nvm/issues/3060))
#### Docker
- Update base image from Ubuntu 20.04 to 22.04, cc [#2877](https://togithub.com/nvm-sh/nvm/issues/2877) ([#3078](https://togithub.com/nvm-sh/nvm/issues/3078))
#### Docs
- \[readme] add `nvshim` tool alongside `avn` ([#2193](https://togithub.com/nvm-sh/nvm/issues/2193))
- \[readme] fix typo in resolv.conf filename ([#3135](https://togithub.com/nvm-sh/nvm/issues/3135))
- \[readme] Update logo header ([#3123](https://togithub.com/nvm-sh/nvm/issues/3123))
- \[readme] Add instructions on how to install without editing shell config ([#3100](https://togithub.com/nvm-sh/nvm/issues/3100))
- \[readme] `cdnvm` function: fix shellcheck errors ([#3082](https://togithub.com/nvm-sh/nvm/issues/3082))
- \[readme] Update Travis CI badge and link url ([#3077](https://togithub.com/nvm-sh/nvm/issues/3077))
#### Miscellaneous
- \[meta] Remove unavailable testing script ([#3105](https://togithub.com/nvm-sh/nvm/issues/3105))
- \[Dev Deps] update `markdown-link-check`, `semver`
- \[actions] allow nvm to be installed
#### Tests
- add unit tests for `nvm_download_artifact`
- `npm bin` has been removed
- downgrade python to v2 on travis ([#3067](https://togithub.com/nvm-sh/nvm/issues/3067))
- move install script tests to github actions
- improve debug output on failure
- force the NVM_DIR to the expected location, for tests
- Update urchin repository link ([#2989](https://togithub.com/nvm-sh/nvm/issues/2989))
### [`v0.39.3`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.3)
[Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.2...v0.39.3)
#### Fixes
- `nvm install-latest-npm`: npm v6.14.18 can not be installed from npm < v4.4.4
- ensure this variable is bound
- `debug`: correct mistaken `-V` to `--version` from [#2922](https://togithub.com/nvm-sh/nvm/issues/2922)
- `debug`: `awk`: not an option: `--version` ([#2922](https://togithub.com/nvm-sh/nvm/issues/2922))
- grep: warning: stray \ before / ([#2919](https://togithub.com/nvm-sh/nvm/issues/2919))
- improve backward compatibility for non-gnu awk ([#2917](https://togithub.com/nvm-sh/nvm/issues/2917))
- fix `nvm install` error `unknown condition: -ne` ([#2915](https://togithub.com/nvm-sh/nvm/issues/2915))
#### Tests
- update test mocks ([#2933](https://togithub.com/nvm-sh/nvm/issues/2933))
- move installation_node tests back to xenial
- move tests that fail on focal to a separate suite that runs on xenial
- update travis to use focal
- \[actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one
- fix nvm_list_aliases test to use mocks for LTS aliases
#### Docs
- \[meta] Improve contributors documentation ([#2791](https://togithub.com/nvm-sh/nvm/issues/2791))
- \[Docs] added WSL troubleshooting with solution to (6) Could not resolve host: raw.githubusercontent.com ([#2961](https://togithub.com/nvm-sh/nvm/issues/2961))
#### Refactors
- add `nvm_wrap_with_color_code`; allow no color code
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.39.2
->0.39.7
Release Notes
nvm-sh/nvm (nvm-sh/nvm)
### [`v0.39.7`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.7) [Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.6...v0.39.7) #### Fixes - use `\hash` instead of `command hash` for `zsh` ([#3239](https://togithub.com/nvm-sh/nvm/issues/3239), [#3247](https://togithub.com/nvm-sh/nvm/issues/3247), [#3246](https://togithub.com/nvm-sh/nvm/issues/3246)) ### [`v0.39.6`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.6) [Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.5...v0.39.6) #### New Stuff - `nvm_resolve_alias`: only resolve one line of a multiline alias file - aliases: skip leading blank lines in alias file #### Fixes - `nvm_get_mirror`: ensure only a valid URL is allowed - avoid overridden `hash` - `install.sh`: when `NVM_INSTALL_GITHUB_REPO` is set, issue a warning ([#2868](https://togithub.com/nvm-sh/nvm/issues/2868)) - `nvm_get_mirror`: disallow some non-URL characters - `nvm_get_arch`: proper value for alpine linux ([#3212](https://togithub.com/nvm-sh/nvm/issues/3212)) - `nvm_normalize_lts`: switch from expr to case #### Robustness - `nvm_list_aliases`: avoid overwritten sort #### Performance - `nvm_check_file_permissions`: do not traverse into symlinks #### Dockerfile - Remove apt src disabling, no longer needed ([#3199](https://togithub.com/nvm-sh/nvm/issues/3199)) - \[Fix] add missing leading slash in path ([#3195](https://togithub.com/nvm-sh/nvm/issues/3195)) #### Documentation - \[readme] fix level of headings ([#3230](https://togithub.com/nvm-sh/nvm/issues/3230)) - \[readme] add section on bare `nvm install` ([#3221](https://togithub.com/nvm-sh/nvm/issues/3221)) - \[readme] missing parenthesis ([#3215](https://togithub.com/nvm-sh/nvm/issues/3215)) - \[readme] update M1 to “Apple Silicon” because of M2 and M3; fix typos ([#3242](https://togithub.com/nvm-sh/nvm/issues/3242)) - \[readme] rearrange install args ([#3222](https://togithub.com/nvm-sh/nvm/issues/3222)) - \[readme] reorganize “deeper shell integration” instructions ([#1569](https://togithub.com/nvm-sh/nvm/issues/1569)) - \[security] add prose explaining OpenSSF CII Best Practices badge results - \[security] add threat model #### Tests - temporarily allow cygwin tests to fail - temporarily allow WSL tests to fail - ensure windows tests install a node that actually works - update test mocks (new LTS, iron) - switch cygwin mirror - fix filename typo ([#3217](https://togithub.com/nvm-sh/nvm/issues/3217)) ### [`v0.39.5`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.5) [Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.4...v0.39.5) #### Fixes - `nvm_strip_path`: Preserve leading/trailing colons ([#3145](https://togithub.com/nvm-sh/nvm/issues/3145)) - allow checksums to pass with a leading backslash - `nvm install-latest-npm`: ensure npm 10 does not install on unsupported nodes #### Docs - \[readme] add examples of setting specific versions as default ([#3151](https://togithub.com/nvm-sh/nvm/issues/3151)) #### Tests - add some `nvm_do_install` tests - a cleaner name for the windows tests ### [`v0.39.4`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.4) [Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.3...v0.39.4) #### Fixes - fix node download link for armv8l ([#3102](https://togithub.com/nvm-sh/nvm/issues/3102)) - `nvm exec`: no longer error with '-q: invalid option' for zsh users ([#2800](https://togithub.com/nvm-sh/nvm/issues/2800)) - `nvm_print_npm_version`: if `npm` exists but its node crashes, do not print the npm version - `nvm_ls_current`: when `node` is present but crashes immediately, echo "none" - fix directory traversal when workdir path is not readable ([#3080](https://togithub.com/nvm-sh/nvm/issues/3080)) - recognize 32Bit docker container and use x86 arch ([#3051](https://togithub.com/nvm-sh/nvm/issues/3051)) - Remove unneeded call to `ls` in `nvm_arch` ([#3012](https://togithub.com/nvm-sh/nvm/issues/3012)) #### Perf - Improve performance of listing aliases ([#3060](https://togithub.com/nvm-sh/nvm/issues/3060)) #### Docker - Update base image from Ubuntu 20.04 to 22.04, cc [#2877](https://togithub.com/nvm-sh/nvm/issues/2877) ([#3078](https://togithub.com/nvm-sh/nvm/issues/3078)) #### Docs - \[readme] add `nvshim` tool alongside `avn` ([#2193](https://togithub.com/nvm-sh/nvm/issues/2193)) - \[readme] fix typo in resolv.conf filename ([#3135](https://togithub.com/nvm-sh/nvm/issues/3135)) - \[readme] Update logo header ([#3123](https://togithub.com/nvm-sh/nvm/issues/3123)) - \[readme] Add instructions on how to install without editing shell config ([#3100](https://togithub.com/nvm-sh/nvm/issues/3100)) - \[readme] `cdnvm` function: fix shellcheck errors ([#3082](https://togithub.com/nvm-sh/nvm/issues/3082)) - \[readme] Update Travis CI badge and link url ([#3077](https://togithub.com/nvm-sh/nvm/issues/3077)) #### Miscellaneous - \[meta] Remove unavailable testing script ([#3105](https://togithub.com/nvm-sh/nvm/issues/3105)) - \[Dev Deps] update `markdown-link-check`, `semver` - \[actions] allow nvm to be installed #### Tests - add unit tests for `nvm_download_artifact` - `npm bin` has been removed - downgrade python to v2 on travis ([#3067](https://togithub.com/nvm-sh/nvm/issues/3067)) - move install script tests to github actions - improve debug output on failure - force the NVM_DIR to the expected location, for tests - Update urchin repository link ([#2989](https://togithub.com/nvm-sh/nvm/issues/2989)) ### [`v0.39.3`](https://togithub.com/nvm-sh/nvm/releases/tag/v0.39.3) [Compare Source](https://togithub.com/nvm-sh/nvm/compare/v0.39.2...v0.39.3) #### Fixes - `nvm install-latest-npm`: npm v6.14.18 can not be installed from npm < v4.4.4 - ensure this variable is bound - `debug`: correct mistaken `-V` to `--version` from [#2922](https://togithub.com/nvm-sh/nvm/issues/2922) - `debug`: `awk`: not an option: `--version` ([#2922](https://togithub.com/nvm-sh/nvm/issues/2922)) - grep: warning: stray \ before / ([#2919](https://togithub.com/nvm-sh/nvm/issues/2919)) - improve backward compatibility for non-gnu awk ([#2917](https://togithub.com/nvm-sh/nvm/issues/2917)) - fix `nvm install` error `unknown condition: -ne` ([#2915](https://togithub.com/nvm-sh/nvm/issues/2915)) #### Tests - update test mocks ([#2933](https://togithub.com/nvm-sh/nvm/issues/2933)) - move installation_node tests back to xenial - move tests that fail on focal to a separate suite that runs on xenial - update travis to use focal - \[actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one - fix nvm_list_aliases test to use mocks for LTS aliases #### Docs - \[meta] Improve contributors documentation ([#2791](https://togithub.com/nvm-sh/nvm/issues/2791)) - \[Docs] added WSL troubleshooting with solution to (6) Could not resolve host: raw.githubusercontent.com ([#2961](https://togithub.com/nvm-sh/nvm/issues/2961)) #### Refactors - add `nvm_wrap_with_color_code`; allow no color codeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.