Jordan Harband
6743aef70c
[New] nvm_resolve_alias
: only resolve one line of a multiline alias file
2023-10-23 14:41:14 -07:00
Jordan Harband
10cdda081f
[Tests] update test mocks (new LTS, iron)
2023-10-25 15:39:12 -07:00
Jordan Harband
8241287349
[New] aliases: skip leading blank lines in alias file
2023-10-23 14:06:19 -07:00
Jordan Harband
6aeab3349c
[Robustness] nvm_list_aliases
: avoid overwritten sort
2023-10-23 14:05:37 -07:00
Jordan Harband
bfce5889f7
[Test] update test mocks
2023-10-23 14:53:39 -07:00
Justin Dhillon
fd412645ca
[readme] add section on bare nvm install
2023-10-23 10:25:26 -07:00
Jordan Harband
2426a0c4b2
[security] add prose explaining OpenSSF CII Best Practices badge results
...
Fixes https://github.com/openjs-foundation/security-collab-space/issues/35 .
2023-10-20 15:58:27 -07:00
Michael Di Prisco
8a83b36688
[readme] missing parenthesis
2023-10-06 02:36:26 +02:00
Jordan Harband
414e8d426f
[Tests] switch cygwin mirror
2023-10-09 14:50:40 -07:00
zhangdiandian
1b102ab9a6
[Tests] fix filename typo
...
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-10-09 07:31:04 +00:00
Peter Dave Hello
d4a733e4d8
[Dockerfile] Remove apt src disabling, no longer needed
2023-09-19 20:03:01 +08:00
Nam
1de3333651
[Dockerfile] [Fix] add missing leading slash in path
2023-09-18 17:42:40 +07:00
Jordan Harband
1eaaada499
[Perf] nvm_check_file_permissions
: do not traverse into symlinks
2023-08-25 22:49:41 -07:00
Jordan Harband
c92adb3c47
v0.39.5
2023-08-21 21:10:10 -07:00
Oliver Henshaw
15eba7b7e6
[Fix] nvm_strip_path
: Preserve leading/trailing colons
...
Path lists in environmental variables often give special meaning to
empty entries (e.g. in PATH or MANPATH). These are represented by
leading or trailing colons, or by doubled colons in the middle of the
list.
Adjust the awk invocation to correctly deal with trailing colons by
printing the separator before every field except the first, and then
printing the final separator that is read from the input - this will
either be a colon or the null string. This preserves leading and
trailing colons in all cases while not adding extra colons in the wrong
place.
Add test to confirm the correct behaviour.
Fixes #3144
2023-06-21 15:47:52 +01:00
heungjun.park
a1601eddb8
[readme] add examples of setting specific versions as default
...
Co-authored-by: heungjun.park <rockheung@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2023-07-20 17:39:37 +09:00
Jordan Harband
324b81a722
[Fix] allow checksums to pass with a leading backslash
...
See https://unix.stackexchange.com/a/555061/137489
2023-08-06 14:51:48 +12:00
Jordan Harband
55075db96d
[Tests] add some nvm_do_install
tests
2022-12-27 22:57:07 -08:00
Jordan Harband
4618ce0aa1
[Tests] a cleaner name for the windows tests
2022-12-27 22:32:09 -08:00
Jordan Harband
3afdce0a2c
[Fix] nvm install-latest-npm
: ensure npm 10 does not install on unsupported nodes
...
See https://github.com/npm/cli/pull/6674
2023-07-26 13:21:03 -07:00
Jordan Harband
8fbf8ab694
v0.39.4
2023-07-24 18:29:54 -07:00
Jordan Harband
4fc91d408c
[Dev Deps] update markdown-link-check
, semver
2023-07-24 18:24:39 -07:00
Emmanuel Ogbizi
f86847fdd2
[readme] add nvshim
tool alongside avn
2020-04-15 19:27:44 -04:00
emmanuel-ferdman
9a769630d7
[readme] fix typo in resolv.conf filename
...
Signed-off-by: emmanuel-ferdman <35470921+emmanuel-ferdman@users.noreply.github.com>
2023-06-18 15:41:40 +03:00
Augustin Mauroy
c26422a03e
[readme] Update logo header
2023-06-05 10:34:20 +02:00
Wu Jiang
a284af9228
[New] Add OpenBSD support
2016-04-14 20:57:10 -04:00
Jordan Harband
5b3d188b83
v0.39.0
2021-10-07 10:11:35 -07:00
Jordan Harband
e8f485bb63
[Dev Deps] update doctoc
, markdown-link-check
2021-10-07 10:08:53 -07:00
Simon East
055af09d24
[readme] link "Windows WSL" down to the "important notes" section
2021-05-04 15:56:53 +10:00
Matteo De Wint
93e0070a44
[Fix] nvm_die_on_prefix
: filter prefixed env vars on name only, ignoring values
2020-11-28 15:16:35 +01:00
Felipe Alexandre Rodrigues
10189bf4cb
[readme] Add bash_completion in "manual install" section
2021-10-05 10:47:56 -03:00
Jordan Harband
da5baa005b
[Tests] use a matrix on the nvm install-latest-npm
tests
2021-10-05 16:14:05 -07:00
Jordan Harband
ebbd30eb7f
[Fix] nvm install-latest-npm
: ensure npm 8 does not install on unsupported nodes
2021-10-05 15:13:45 -07:00
Rick Button
2bda9fd97e
[Tests] blacklist expired LetsEncrypt CA
...
workaround for TravisCI's ubuntu 16.04
2021-10-06 01:50:44 -04:00
Peter Dave Hello
7b530edd3a
[Docs] Use absolute URL for #606 in README.md
...
Since markdown-link-check hasn't support relative links, to make the
test passed, move this link to use absolute URL so that we can introduce
the new test. cc tcort/markdown-link-check#10
2017-11-05 04:07:37 +08:00
Peter Dave Hello
1afd4f3566
[Tests] Add markdown-link-check
script
...
This uses the npm package `markdown-link-check` to check if all the links in the documentation are alive.
2017-11-05 04:06:36 +08:00
Kaito Udagawa
53f9ba8336
[Refactor] Use awk for path stripping
...
This works with paths which contains regex meta characters.
2016-12-23 01:03:41 +09:00
Jordan Harband
07c02d43fe
[Tests] nvm install-latest-npm
: node < 0.10 breaks with npm with dropped support for TLS < 1.2
2021-09-29 10:47:34 -07:00
Alister Norris
59b0b3942c
[readme] Add quick intro to nvm
...
Allow newbies to get a quick understanding of how `nvm` works right from the start.
2016-12-06 15:14:08 +00:00
Peter Dave Hello
7bbc57355d
[Tests] Print shell version in Travis CI
2017-04-02 07:33:49 +08:00
Alex Sabau
47f0b32155
[readme] Add info to restart bash if verification not working in verification section
2018-02-25 21:46:31 +01:00
James Stroud
91bd22aa57
[readme] fixed small typo afew to a few
...
also gave more up to date versions for example of `nvm install` and `nvm which` as well as your pointer section
I love your project by the way.
2021-06-04 15:15:17 -04:00
Tim Connolly
ca897ac6d5
[readme] Avoid infinite loop in cdnvm()
2021-09-22 16:25:28 +10:00
Axel Svensson
11d71ab24b
[Fix] Regression in 2dad045
...
Fixes #2599
2021-09-24 01:56:47 +02:00
Georgi Chochov
4471b6beb6
[readme] remove duplicate word 'run'
2021-09-26 09:47:50 +00:00
Nikita N
cc6915e216
[readme] updated automatic call script for bash
...
Bash terminal was throwing error: `bash: cd: too many arguments` when directory had some spaces in the name.
The quotes around `$PWD` fixes this issue
2021-09-21 23:57:25 +03:00
Jordan Harband
b6b6e685a3
[Fix] set -a
: when this option is set, some sh
shells break
...
Fixes #2574
2021-09-14 23:26:31 -07:00
Gilad Barnea
d91087c333
[Fix] bash_completion
: be robust when cd
is overridden
2021-09-13 15:26:40 +03:00
Step Security
59532c74c6
[actions] restrict permissions for GITHUB_TOKEN
2021-09-10 06:09:45 +00:00
Jordan Harband
2dad0455ec
[Fix] nvm_die_on_prefix
: avoid grepping env functions in bash
...
ironically, nvm itself has functions that matched this grep.
2021-09-08 23:49:16 -07:00