Jordan Harband
b356fab4b4
[meta] fix gitattributes to properly recognize images as binary
2023-11-22 22:29:01 -08:00
Hao Cheng
064f2597d1
[readme] fix level of headings
2023-11-12 14:18:39 +01:00
Jordan Harband
6b15796f66
[Tests] temporarily allow cygwin tests to fail
2023-12-04 15:49:09 -08:00
Jordan Harband
3e51872b98
[Tests] temporarily allow WSL tests to fail
...
See https://github.com/Vampire/setup-wsl/issues/50 / https://github.com/actions/runner-images/discussions/8791
2023-12-04 13:06:24 -08:00
Jordan Harband
4bdd57ba0f
[Fix] install.sh
: when NVM_INSTALL_GITHUB_REPO
is set, issue a warning
...
This should only annoy those testing their PRs; real users should never set this env var
2023-11-02 21:10:09 -07:00
Jordan Harband
d02ddcac2c
[Fix] nvm_get_mirror
: disallow some non-URL characters
...
This should be improved in the future, but is fine for now
2023-11-01 21:01:28 -07:00
Andrius Solopovas
ef7fc2f2c0
[Fix] nvm_get_arch
: proper value for alpine linux
2023-09-30 23:54:11 +01:00
Jordan Harband
b64e5474ea
[Tests] ensure windows tests install a node that actually works
...
- disable failing Alpine tests
- disable Ubuntu-18.04 tests on node 18+
- add Ubuntu-20.04 tests
2023-11-01 16:12:12 -07:00
Jordan Harband
1f970ccb7a
[Fix] nvm_normalize_lts
: switch from expr to case
...
avoids `expr: warning: ^lts/-[1-9][0-9]*: using ^ as the first character of a basic regular expression is not portable; it is ignored`
2023-11-01 12:24:29 -07:00
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
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
Jordan Harband
f03f69508e
[Fix] reinstall-packages
: handle global symlink locations properly
...
This is a regression caused by npm ls -g in npm 7 no longer returning absolute paths.
2021-09-07 10:14:18 -07:00