Compare commits

...

13 Commits

Author SHA1 Message Date
Jordan Harband
0c2e3b2c88 [Tests] move install script tests to github actions 2022-10-26 15:36:07 -07:00
Jordan Harband
d9157e8ef8 do not merge: delete actions temporarily 2022-10-26 15:23:34 -07:00
Jordan Harband
4da01f4dc4 [Tests] update travis to use focal
- xenial can't build node 18
 - bionic can't build node 0.6 or 18
2022-10-26 11:12:19 -07:00
Jordan Harband
95c859b5f3 [Tests] fix nvm_list_aliases test to use mocks for LTS aliases 2022-10-26 10:31:26 -07:00
Jordan Harband
e6fa80cb61 [Dev Deps] update doctoc, markdown-link-check, replace, semver 2022-10-26 10:13:39 -07:00
Jordan Harband
1f4bb91ae6 [Fix] ensure this variable is bound
Fixes #2926
2022-10-26 10:12:06 -07:00
Jordan Harband
924d77cc90 [Fix] debug: correct mistaken -V to --version from #2922 2022-10-24 10:51:20 -07:00
ryenus
095a4ca655 [Fix] debug: awk: not an option: --version
On Debian, the default awk/mawk doesn't support the '--version' option;
instead there's mawk-specific '-W version'.
2022-10-21 16:48:00 +08:00
ryenus
9721791563 [Fix] grep: warning: stray \ before /
No need to escape the `/` char in a grep pattern.
This is to fix the below error when using newer grep with `nvm_command_info`

> $ nvm_command_info curl
> grep: warning: stray \ before /
> /usr/bin/curl

This happens with at least GNU grep 3.8 version.
2022-10-20 10:49:43 +08:00
ryenus
89d6cdd6cf [Fix] improve backward compatibility for non-gnu awk
Adding function alen(arr) since length(arr) is GNU extension.
Fixes #2916
2022-10-18 11:25:12 +08:00
Jordan Harband
df84c77a81 [actions] update some actions deps 2022-10-16 17:51:14 -07:00
epoweripione
fe6268c021 [Fix] nvm install error unknown condition: -ne
Fixes #2914

Co-authored-by: epoweripione <siyuwuxin@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2022-10-15 20:25:52 +08:00
Jordan Harband
df01d81128 [Refactor] add nvm_wrap_with_color_code; allow no color code 2022-10-13 20:16:42 -07:00
27 changed files with 563 additions and 958 deletions

54
.github/workflows/install.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
name: install script
on: [push]
jobs:
tests:
permissions:
contents: write
name: "tests: install script"
runs-on: ubuntu-latest
defaults:
run:
shell: 'script -q -e -c "${{ matrix.shell }} {0}"'
strategy:
fail-fast: false
matrix:
shell:
- bash
suite:
- install_script
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
registry.npmjs.org:443
raw.githubusercontent.com:443
nodejs.org:443
iojs.org:443
- uses: actions/checkout@v3
- run: sudo ${{ matrix.shell }} --version 2> /dev/null || dpkg -s ${{ matrix.shell }} 2> /dev/null || which ${{ matrix.shell }}
- run: curl --version
- run: wget --version
- uses: ljharb/actions/node/run@main
name: 'npm install && version checks'
with:
node-version: 'lts/*'
skip-ls-check: true
shell-command: echo installed
- run: npm ls urchin
- run: npm bin
- run: env
- run: TERM=xterm-256color SHELL="${{ matrix.shell }}" URCHIN="$(npm bin)/urchin" TEST_SUITE="${{ matrix.suite }}" make test-${{ matrix.shell }}
nvm:
name: 'all test suites, all shells'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'

View File

@@ -1,76 +0,0 @@
name: 'Tests: `nvm install-latest-npm`'
on: [pull_request, push]
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
latest: ${{ steps.set-matrix.outputs.requireds }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
iojs.org:443
nodejs.org:443
- uses: ljharb/actions/node/matrix@main
id: set-matrix
with:
versionsAsRoot: true
type: majors
preset: '>=1'
nodes:
needs: [matrix]
permissions:
contents: read
name: 'nvm install-latest-npm'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
include:
- node-version: "9.2"
- node-version: "9.1"
- node-version: "9.0"
- node-version: "6.1"
- node-version: "5.9"
- node-version: "4.6"
- node-version: "4.5"
- node-version: "4.4"
- node-version: "0.12"
- node-version: "0.10"
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
iojs.org:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install-latest-npm'
with:
node-version: ${{ matrix.node-version }}
skip-ls-check: true
skip-install: true
- run: npm --version
node:
permissions:
contents: none
name: 'nvm install-latest-npm'
needs: [nodes]
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
egress-policy: block
- run: 'echo tests completed'

View File

@@ -1,73 +0,0 @@
name: 'Tests: linting'
on: [pull_request, push]
jobs:
eclint:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
node-version: 'lts/*'
- run: npm run eclint
dockerfile_lint:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@v1
with:
allowed-endpoints:
ghcr.io:443
github.com:443
pkg-containers.githubusercontent.com:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
node-version: 'lts/*'
- run: npm run dockerfile_lint
doctoc:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
node-version: 'lts/*'
- run: npm run doctoc:check
test_naming:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
- uses: actions/checkout@v2
- name: check tests filenames
run: ./rename_test.sh --check

View File

@@ -1,23 +0,0 @@
name: Automatic Rebase
on: [pull_request_target]
jobs:
_:
permissions:
contents: write
name: "Automatic Rebase"
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
api.github.com:443
github.com:443
- uses: actions/checkout@v2
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,32 +0,0 @@
name: 'Tests: release process'
on: [pull_request, push]
jobs:
release:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: npm install
- name: Configure git
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git fetch --unshallow --tags -f || git fetch --tags -f
- name: Attempt `make release` process
run: echo proceed | make TAG=99.99.99 release
env:
GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'"
- name: Ensure tag is created
run: git tag | grep v99.99.99

View File

@@ -1,21 +0,0 @@
name: Require “Allow Edits”
on: [pull_request_target]
jobs:
_:
permissions:
pull-requests: read
name: "Require “Allow Edits”"
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
api.github.com:443
- uses: ljharb/require-allow-edits@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,58 +0,0 @@
name: 'Tests: shellcheck'
on: [pull_request, push]
jobs:
shellcheck_matrix:
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shell:
- bash
- sh
- dash
- ksh
file:
- nvm.sh
include:
- shell: bash
file: install.sh # only supported on bash
- shell: bash
file: bash_completion # only needed in bash/zsh
- shell: bash
file: nvm-exec # only runs in bash
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
ghcr.io:443
github.com:443
pkg-containers.githubusercontent.com:443
- uses: actions/checkout@v2
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install latest shellcheck
run: brew install shellcheck
env:
HOMEBREW_NO_ANALYTICS: 1
- run: which shellcheck
- run: shellcheck --version
- name: Run shellcheck on ${{ matrix.file }}
run: shellcheck -s ${{ matrix.shell }} ${{ matrix.file }}
shellcheck:
permissions:
contents: none
needs: [shellcheck_matrix]
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
egress-policy: block
- run: 'echo tests completed'

View File

@@ -1,37 +0,0 @@
name: update readme TOC
on: [push]
jobs:
_:
permissions:
contents: write
name: "update readme TOC"
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
registry.npmjs.org:443
- uses: actions/checkout@v2
with:
# https://github.com/actions/checkout/issues/217#issue-599945005
# pulls all commits (needed for lerna / semantic release to correctly version)
fetch-depth: "0"
# pulls all tags (needed for lerna / semantic release to correctly version)
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- run: npm install
- run: npm run doctoc
- name: commit changes
uses: ljharb/actions-js-build/commit@v3+amendpush
with:
amend: true
force: true

View File

@@ -1,133 +0,0 @@
name: 'Tests on Windows: `nvm install`'
on: [pull_request, push]
env:
NVM_INSTALL_GITHUB_REPO: ${{ github.repository }}
NVM_INSTALL_VERSION: ${{ github.sha }}
jobs:
msys_fail_install:
# Default installation does not work due to npm_config_prefix set to C:\npm\prefix
permissions:
contents: none
name: 'MSYS fail prefix nvm install'
runs-on: windows-latest
steps:
- name: Retrieve nvm
shell: bash
run: |
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD=script bash
. "$HOME/.nvm/nvm.sh"
! nvm install --lts
msys_matrix:
permissions:
contents: none
name: 'MSYS nvm install'
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
npm-node-version:
- '--lts'
- '--default 12'
- '--no-progress 10'
steps:
- name: Retrieve nvm
shell: bash
run: |
unset npm_config_prefix
if [ "${{ matrix.npm-node-version }}" = "--lts" ]; then
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
else
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD=script bash
fi
. "$HOME/.nvm/nvm.sh"
nvm install ${{ matrix.npm-node-version }}
cygwin_matrix:
permissions:
contents: none
name: 'Cygwin nvm install'
runs-on: windows-latest
steps:
- name: Install Cygwin
shell: bash
run: |
export SITE='https://mirror.clarkson.edu/cygwin/'
export LOCALDIR="$(pwd)"
export ROOTDIR="$USERPROFILE\\cygwin"
export PACKAGES='bash,git,curl'
curl -fsSLo setup-x86_64.exe 'https://cygwin.com/setup-x86_64.exe'
./setup-x86_64.exe --disable-buggy-antivirus -q -s "$SITE" -l "$LOCALDIR" -R "$ROOTDIR" -P "$PACKAGES"
cat >~/setup.sh <<EOM
unset npm_config_prefix
export NVM_INSTALL_GITHUB_REPO="$NVM_INSTALL_GITHUB_REPO"
export NVM_INSTALL_VERSION="$NVM_INSTALL_VERSION"
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
. "$HOME/.nvm/nvm.sh"
nvm install --lts
nvm deactivate
rm -rf "$HOME/.nvm/nvm.sh"
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD=script bash
. "$HOME/.nvm/nvm.sh"
nvm install 9
EOM
- name: Retrieve nvm
shell: cmd
run: |
cd %USERPROFILE%\cygwin\bin
bash.exe "%USERPROFILE%\setup.sh"
wsl_matrix:
name: 'WSL nvm install'
defaults:
run:
shell: wsl-bash {0}
runs-on: windows-latest
env:
WSLENV: NVM_INSTALL_GITHUB_REPO:NVM_INSTALL_VERSION:/p
strategy:
fail-fast: false
matrix:
wsl-distrib:
- Debian
- Alpine
- Ubuntu-18.04
npm-node-version:
- '--lts'
- '14'
- '12'
- '11'
- '10'
method:
- ''
- 'script'
steps:
- uses: Vampire/setup-wsl@v1
with:
distribution: ${{ matrix.wsl-distrib }}
additional-packages: bash git curl ca-certificates wget
- name: Retrieve nvm on WSL
run: |
if [ -z "${{ matrix.method }}" ]; then
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
else
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | METHOD="${{matrix.method}}" bash
fi
. "$HOME/.nvm/nvm.sh"
nvm install ${{ matrix.npm-node-version }}
nvm_windows:
permissions:
contents: none
needs: [wsl_matrix, cygwin_matrix, msys_matrix, msys_fail_install]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'

View File

@@ -1,5 +1,5 @@
language: generic
dist: xenial
dist: focal
addons:
apt:
packages:
@@ -37,7 +37,6 @@ env:
- PATH="/usr/lib/ccache/:$PATH"
- NVM_DIR="${TRAVIS_BUILD_DIR}"
matrix:
- SHELL=bash TEST_SUITE=install_script
- SHELL=sh TEST_SUITE=fast
- SHELL=dash TEST_SUITE=fast
- SHELL=bash TEST_SUITE=fast

202
nvm.sh
View File

@@ -70,7 +70,7 @@ nvm_command_info() {
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is an alias for"; then
# shellcheck disable=SC2230
INFO="$(which "${COMMAND}") ($(type "${COMMAND}" | command awk '{ $1=$2=$3=$4=$5="" ;print }' | command sed 's/^\ *//g'))"
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is \\/"; then
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is /"; then
INFO="$(type "${COMMAND}" | command awk '{print $3}')"
else
INFO="$(type "${COMMAND}")"
@@ -842,7 +842,7 @@ nvm_set_colors() {
nvm_echo "Setting colors to: ${INSTALLED_COLOR} ${LTS_AND_SYSTEM_COLOR} ${CURRENT_COLOR} ${NOT_INSTALLED_COLOR} ${DEFAULT_COLOR}"
nvm_echo "WARNING: Colors may not display because they are not supported in this shell."
else
nvm_echo_with_colors "Setting colors to: \033[$(nvm_print_color_code "${INSTALLED_COLOR}") ${INSTALLED_COLOR}\033[$(nvm_print_color_code "${LTS_AND_SYSTEM_COLOR}") ${LTS_AND_SYSTEM_COLOR}\033[$(nvm_print_color_code "${CURRENT_COLOR}") ${CURRENT_COLOR}\033[$(nvm_print_color_code "${NOT_INSTALLED_COLOR}") ${NOT_INSTALLED_COLOR}\033[$(nvm_print_color_code "${DEFAULT_COLOR}") ${DEFAULT_COLOR}\033[0m"
nvm_echo_with_colors "Setting colors to: $(nvm_wrap_with_color_code "${INSTALLED_COLOR}" "${INSTALLED_COLOR}")$(nvm_wrap_with_color_code "${LTS_AND_SYSTEM_COLOR}" "${LTS_AND_SYSTEM_COLOR}")$(nvm_wrap_with_color_code "${CURRENT_COLOR}" "${CURRENT_COLOR}")$(nvm_wrap_with_color_code "${NOT_INSTALLED_COLOR}" "${NOT_INSTALLED_COLOR}")$(nvm_wrap_with_color_code "${DEFAULT_COLOR}" "${DEFAULT_COLOR}")"
fi
export NVM_COLORS="$1"
else
@@ -853,60 +853,73 @@ nvm_set_colors() {
nvm_get_colors() {
local COLOR
local SYS_COLOR
if [ -n "${NVM_COLORS-}" ]; then
case $1 in
1) COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 1, 1); }')");;
2) COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 2, 1); }')");;
3) COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 3, 1); }')");;
4) COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 4, 1); }')");;
5) COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 5, 1); }')");;
6)
SYS_COLOR=$(nvm_print_color_code "$(echo "$NVM_COLORS" | awk '{ print substr($0, 2, 1); }')")
COLOR=$(nvm_echo "$SYS_COLOR" | command tr '0;' '1;')
;;
*)
nvm_err "Invalid color index, ${1-}"
return 1
local COLORS
COLORS="${NVM_COLORS:-bygre}"
case $1 in
1) COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 1, 1); }')");;
2) COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 2, 1); }')");;
3) COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 3, 1); }')");;
4) COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 4, 1); }')");;
5) COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 5, 1); }')");;
6)
SYS_COLOR=$(nvm_print_color_code "$(echo "$COLORS" | awk '{ print substr($0, 2, 1); }')")
COLOR=$(nvm_echo "$SYS_COLOR" | command tr '0;' '1;')
;;
esac
else
case $1 in
1) COLOR='0;34m';;
2) COLOR='0;33m';;
3) COLOR='0;32m';;
4) COLOR='0;31m';;
5) COLOR='0;37m';;
6) COLOR='1;33m';;
*)
nvm_err "Invalid color index, ${1-}"
return 1
;;
esac
fi
*)
nvm_err "Invalid color index, ${1-}"
return 1
;;
esac
echo "$COLOR"
nvm_echo "$COLOR"
}
nvm_wrap_with_color_code() {
local CODE
CODE="$(nvm_print_color_code "${1}" 2>/dev/null ||:)"
local TEXT
TEXT="${2-}"
if nvm_has_colors && [ -n "${CODE}" ]; then
nvm_echo_with_colors "\033[${CODE}${TEXT}\033[0m"
else
nvm_echo "${TEXT}"
fi
}
nvm_wrap_with_color_code() {
local CODE
CODE="$(nvm_print_color_code "${1}" 2>/dev/null ||:)"
local TEXT
TEXT="${2-}"
if nvm_has_colors && [ -n "${CODE}" ]; then
nvm_echo_with_colors "\033[${CODE}${TEXT}\033[0m"
else
nvm_echo "${TEXT}"
fi
}
nvm_print_color_code() {
case "${1-}" in
'r') nvm_echo '0;31m';;
'R') nvm_echo '1;31m';;
'g') nvm_echo '0;32m';;
'G') nvm_echo '1;32m';;
'b') nvm_echo '0;34m';;
'B') nvm_echo '1;34m';;
'c') nvm_echo '0;36m';;
'C') nvm_echo '1;36m';;
'm') nvm_echo '0;35m';;
'M') nvm_echo '1;35m';;
'y') nvm_echo '0;33m';;
'Y') nvm_echo '1;33m';;
'k') nvm_echo '0;30m';;
'K') nvm_echo '1;30m';;
'e') nvm_echo '0;37m';;
'W') nvm_echo '1;37m';;
*) nvm_err 'Invalid color code';
return 1
'0') return 0 ;;
'r') nvm_echo '0;31m' ;;
'R') nvm_echo '1;31m' ;;
'g') nvm_echo '0;32m' ;;
'G') nvm_echo '1;32m' ;;
'b') nvm_echo '0;34m' ;;
'B') nvm_echo '1;34m' ;;
'c') nvm_echo '0;36m' ;;
'C') nvm_echo '1;36m' ;;
'm') nvm_echo '0;35m' ;;
'M') nvm_echo '1;35m' ;;
'y') nvm_echo '0;33m' ;;
'Y') nvm_echo '1;33m' ;;
'k') nvm_echo '0;30m' ;;
'K') nvm_echo '1;30m' ;;
'e') nvm_echo '0;37m' ;;
'W') nvm_echo '1;37m' ;;
*)
nvm_err "Invalid color code: ${1-}";
return 1
;;
esac
}
@@ -1680,6 +1693,7 @@ nvm_print_versions() {
local DEFAULT_COLOR
local LTS_COLOR
local NVM_HAS_COLORS
NVM_HAS_COLORS=0
INSTALLED_COLOR=$(nvm_get_colors 1)
SYSTEM_COLOR=$(nvm_get_colors 2)
@@ -1698,24 +1712,25 @@ nvm_print_versions() {
-v installed_color="$INSTALLED_COLOR" -v system_color="$SYSTEM_COLOR" \
-v current_color="$CURRENT_COLOR" -v default_color="$DEFAULT_COLOR" \
-v old_lts_color="$DEFAULT_COLOR" -v has_colors="$NVM_HAS_COLORS" '
function alen(arr, i, len) { len=0; for(i in arr) len++; return len; }
BEGIN {
fmt_installed = has_colors ? ("\033[" installed_color "%15s\033[0m") : "%15s *";
fmt_system = has_colors ? ("\033[" system_color "%15s\033[0m") : "%15s *";
fmt_current = has_colors ? ("\033[" current_color "->%13s\033[0m") : "->%13s *";
fmt_installed = has_colors ? (installed_color ? "\033[" installed_color "%15s\033[0m" : "%15s") : "%15s *";
fmt_system = has_colors ? (system_color ? "\033[" system_color "%15s\033[0m" : "%15s") : "%15s *";
fmt_current = has_colors ? (current_color ? "\033[" current_color "->%13s\033[0m" : "%15s") : "->%13s *";
latest_lts_color = current_color;
sub(/0;/, "1;", latest_lts_color);
fmt_latest_lts = has_colors ? ("\033[" latest_lts_color " (Latest LTS: %s)\033[0m") : " (Latest LTS: %s)";
fmt_old_lts = has_colors ? ("\033[" old_lts_color " (LTS: %s)\033[0m") : " (LTS: %s)";
fmt_latest_lts = has_colors && latest_lts_color ? ("\033[" latest_lts_color " (Latest LTS: %s)\033[0m") : " (Latest LTS: %s)";
fmt_old_lts = has_colors && old_lts_color ? ("\033[" old_lts_color " (LTS: %s)\033[0m") : " (LTS: %s)";
split(remote_versions, lines, "|");
split(installed_versions, installed, "|");
rows = length(lines);
rows = alen(lines);
for (n = 1; n <= rows; n++) {
split(lines[n], fields, "[[:blank:]]+");
cols = length(fields);
cols = alen(fields);
version = fields[1];
is_installed = 0;
@@ -2811,38 +2826,6 @@ nvm() {
fi
done
local INITIAL_COLOR_INFO
local RED_INFO
local GREEN_INFO
local BLUE_INFO
local CYAN_INFO
local MAGENTA_INFO
local YELLOW_INFO
local BLACK_INFO
local GREY_WHITE_INFO
if [ -z "${NVM_NO_COLORS-}" ] && nvm_has_colors; then
INITIAL_COLOR_INFO='\033[0;34m b\033[0m \033[0;34m y\033[0m \033[0;32m g\033[0m \033[0;31m r\033[0m \033[0;37m e\033[0m'
RED_INFO='\033[0;31m r\033[0m/\033[1;31mR\033[0m = \033[0;31mred\033[0m / \033[1;31mbold red\033[0m'
GREEN_INFO='\033[0;32m g\033[0m/\033[1;32mG\033[0m = \033[0;32mgreen\033[0m / \033[1;32mbold green\033[0m'
BLUE_INFO='\033[0;34m b\033[0m/\033[1;34mB\033[0m = \033[0;34mblue\033[0m / \033[1;34mbold blue\033[0m'
CYAN_INFO='\033[0;36m c\033[0m/\033[1;36mC\033[0m = \033[0;36mcyan\033[0m / \033[1;36mbold cyan\033[0m'
MAGENTA_INFO='\033[0;35m m\033[0m/\033[1;35mM\033[0m = \033[0;35mmagenta\033[0m / \033[1;35mbold magenta\033[0m'
YELLOW_INFO='\033[0;33m y\033[0m/\033[1;33mY\033[0m = \033[0;33myellow\033[0m / \033[1;33mbold yellow\033[0m'
BLACK_INFO='\033[0;30m k\033[0m/\033[1;30mK\033[0m = \033[0;30mblack\033[0m / \033[1;30mbold black\033[0m'
GREY_WHITE_INFO='\033[0;37m e\033[0m/\033[1;37mW\033[0m = \033[0;37mlight grey\033[0m / \033[1;37mwhite\033[0m'
else
INITIAL_COLOR_INFO='bygre'
RED_INFO='r/R = red / bold red'
GREEN_INFO='g/G = green / bold green'
BLUE_INFO='b/B = blue / bold blue'
CYAN_INFO='c/C = cyan / bold cyan'
MAGENTA_INFO='m/M = magenta / bold magenta'
YELLOW_INFO='y/Y = yellow / bold yellow'
BLACK_INFO='k/K = black / bold black'
GREY_WHITE_INFO='e/W = light grey / white'
fi
local NVM_IOJS_PREFIX
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)"
local NVM_NODE_PREFIX
@@ -2919,17 +2902,16 @@ nvm() {
nvm_echo ' nvm cache clear Empty cache directory for nvm'
nvm_echo ' nvm set-colors [<color codes>] Set five text colors using format "yMeBg". Available when supported.'
nvm_echo ' Initial colors are:'
nvm_echo_with_colors " ${INITIAL_COLOR_INFO}"
nvm_echo_with_colors " $(nvm_wrap_with_color_code b b)$(nvm_wrap_with_color_code y y)$(nvm_wrap_with_color_code g g)$(nvm_wrap_with_color_code r r)$(nvm_wrap_with_color_code e e)"
nvm_echo ' Color codes:'
nvm_echo_with_colors " ${RED_INFO}"
nvm_echo_with_colors " ${GREEN_INFO}"
nvm_echo_with_colors " ${BLUE_INFO}"
nvm_echo_with_colors " ${CYAN_INFO}"
nvm_echo_with_colors " ${MAGENTA_INFO}"
nvm_echo_with_colors " ${YELLOW_INFO}"
nvm_echo_with_colors " ${BLACK_INFO}"
nvm_echo_with_colors " ${GREY_WHITE_INFO}"
nvm_echo
nvm_echo_with_colors " $(nvm_wrap_with_color_code r r)/$(nvm_wrap_with_color_code R R) = $(nvm_wrap_with_color_code r red) / $(nvm_wrap_with_color_code R 'bold red')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code g g)/$(nvm_wrap_with_color_code G G) = $(nvm_wrap_with_color_code g green) / $(nvm_wrap_with_color_code G 'bold green')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code b b)/$(nvm_wrap_with_color_code B B) = $(nvm_wrap_with_color_code b blue) / $(nvm_wrap_with_color_code B 'bold blue')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code c c)/$(nvm_wrap_with_color_code C C) = $(nvm_wrap_with_color_code c cyan) / $(nvm_wrap_with_color_code C 'bold cyan')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code m m)/$(nvm_wrap_with_color_code M M) = $(nvm_wrap_with_color_code m magenta) / $(nvm_wrap_with_color_code M 'bold magenta')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code y y)/$(nvm_wrap_with_color_code Y Y) = $(nvm_wrap_with_color_code y yellow) / $(nvm_wrap_with_color_code Y 'bold yellow')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code k k)/$(nvm_wrap_with_color_code K K) = $(nvm_wrap_with_color_code k black) / $(nvm_wrap_with_color_code K 'bold black')"
nvm_echo_with_colors " $(nvm_wrap_with_color_code e e)/$(nvm_wrap_with_color_code W W) = $(nvm_wrap_with_color_code e 'light grey') / $(nvm_wrap_with_color_code W white)"
nvm_echo 'Example:'
nvm_echo ' nvm install 8.0.0 Install a specific version number'
nvm_echo ' nvm use 8.0 Use the latest available 8.0.x release'
@@ -3015,6 +2997,12 @@ nvm() {
if [ -n "${OS_VERSION}" ]; then
nvm_err "OS version: ${OS_VERSION}"
fi
if nvm_has "awk"; then
nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \
| command head -n 1)"
else
nvm_err "awk: not found"
fi
if nvm_has "curl"; then
nvm_err "curl: $(nvm_command_info curl), $(command curl -V | command head -n 1)"
else
@@ -3027,7 +3015,7 @@ nvm() {
fi
local TEST_TOOLS ADD_TEST_TOOLS
TEST_TOOLS="git grep awk"
TEST_TOOLS="git grep"
ADD_TEST_TOOLS="sed cut basename rm mkdir xargs"
if [ "darwin" != "$(nvm_get_os)" ] && [ "freebsd" != "$(nvm_get_os)" ]; then
TEST_TOOLS="${TEST_TOOLS} ${ADD_TEST_TOOLS}"
@@ -3308,23 +3296,26 @@ nvm() {
fi
local EXIT_CODE
EXIT_CODE=0
if nvm_is_version_installed "${VERSION}"; then
nvm_err "${VERSION} is already installed."
if nvm use "${VERSION}"; then
nvm use "${VERSION}"
EXIT_CODE=$?
if [ $EXIT_CODE -eq 0 ]; then
if [ "${NVM_UPGRADE_NPM}" = 1 ]; then
nvm install-latest-npm
EXIT_CODE=$?
fi
if [ $EXIT_CODE -ne 0 ] && [ -z "${SKIP_DEFAULT_PACKAGES-}" ]; then
nvm_install_default_packages
EXIT_CODE=$?
fi
if [ $EXIT_CODE -ne 0 ] && [ -n "${REINSTALL_PACKAGES_FROM-}" ] && [ "_${REINSTALL_PACKAGES_FROM}" != "_N/A" ]; then
nvm reinstall-packages "${REINSTALL_PACKAGES_FROM}"
EXIT_CODE=$?
fi
fi
if [ -n "${LTS-}" ]; then
LTS="$(echo "${LTS}" | tr '[:upper:]' '[:lower:]')"
nvm_ensure_default_set "lts/${LTS}"
@@ -3381,7 +3372,10 @@ nvm() {
if [ $nobinary -ne 1 ] && nvm_binary_available "${VERSION}"; then
NVM_NO_PROGRESS="${NVM_NO_PROGRESS:-${noprogress}}" nvm_install_binary "${FLAVOR}" std "${VERSION}" "${nosource}"
EXIT_CODE=$?
else
EXIT_CODE=-1
fi
if [ $EXIT_CODE -ne 0 ]; then
if [ -z "${NVM_MAKE_JOBS-}" ]; then
nvm_get_make_jobs
@@ -3395,7 +3389,6 @@ nvm() {
EXIT_CODE=$?
fi
fi
fi
if [ $EXIT_CODE -eq 0 ] && nvm_use_if_needed "${VERSION}" && nvm_install_npm_if_needed "${VERSION}"; then
@@ -3410,7 +3403,6 @@ nvm() {
fi
if [ $EXIT_CODE -eq 0 ] && [ -z "${SKIP_DEFAULT_PACKAGES-}" ]; then
nvm_install_default_packages
EXIT_CODE=$?
fi
if [ $EXIT_CODE -eq 0 ] && [ -n "${REINSTALL_PACKAGES_FROM-}" ] && [ "_${REINSTALL_PACKAGES_FROM}" != "_N/A" ]; then
nvm reinstall-packages "${REINSTALL_PACKAGES_FROM}"
@@ -4219,7 +4211,7 @@ nvm() {
nvm_node_version_has_solaris_binary nvm_iojs_version_has_solaris_binary \
nvm_curl_libz_support nvm_command_info nvm_is_zsh nvm_stdout_is_terminal \
nvm_npmrc_bad_news_bears \
nvm_get_colors nvm_set_colors nvm_print_color_code nvm_format_help_message_colors \
nvm_get_colors nvm_set_colors nvm_print_color_code nvm_wrap_with_color_code nvm_format_help_message_colors \
nvm_echo_with_colors nvm_err_with_colors \
nvm_get_artifact_compression nvm_install_binary_extract nvm_extract_tarball \
>/dev/null 2>&1

View File

@@ -41,11 +41,11 @@
"homepage": "https://github.com/nvm-sh/nvm",
"devDependencies": {
"dockerfile_lint": "^0.3.4",
"doctoc": "^2.1.0",
"doctoc": "^2.2.1",
"eclint": "^2.8.1",
"markdown-link-check": "^3.9.0",
"replace": "^1.2.1",
"semver": "^7.3.5",
"markdown-link-check": "^3.10.3",
"replace": "^1.2.2",
"semver": "^7.3.8",
"urchin": "^0.0.5"
}
}

View File

@@ -9,14 +9,20 @@ die () {
set -e
MOCKS_DIR="../Unit tests/mocks"
# sample output at the time the test was written
TAB_PATH="$MOCKS_DIR/nodejs.org-dist-index.tab"
nvm_download() {
cat "$TAB_PATH"
}
nvm_alias_path() {
nvm_echo "../../../alias"
}
nvm ls-remote >/dev/null || die 'nvm ls-remote (to populate LTS aliases) failed'
MOCKS_DIR="../Unit tests/mocks"
EXPECTED_OUTPUT="$(cat "$MOCKS_DIR/lts-star.txt")"
STDOUT_OUTPUT="$(nvm_list_aliases "lts/*")"
STDERR_OUTPUT="$(nvm_list_aliases "lts/*" 2>&1 >/dev/null)"

View File

@@ -1,4 +1,5 @@
version date files npm v8 uv zlib openssl modules lts security
v18.11.0 2022-10-13 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.2.154.15 1.43.0 1.2.11 3.0.5+quic 108 - -
v18.10.0 2022-09-28 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.2.154.15 1.43.0 1.2.11 3.0.5+quic 108 - -
v18.9.1 2022-09-23 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.1 10.2.154.15 1.43.0 1.2.11 3.0.5+quic 108 - true
v18.9.0 2022-09-07 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.1 10.2.154.15 1.43.0 1.2.11 3.0.5+quic 108 - -

View File

@@ -1,4 +1,6 @@
version date files npm v8 uv zlib openssl modules lts security
v19.0.0-nightly202210156fb466bc38 2022-10-15 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.7.193.13 1.43.0 1.2.11 3.0.5+quic 111 - -
v19.0.0-nightly2022101437e5152245 2022-10-14 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.7.193.13 1.43.0 1.2.11 3.0.5+quic 111 - -
v19.0.0-nightly20221013214354fc9f 2022-10-13 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.7.193.13 1.43.0 1.2.11 3.0.5+quic 111 - -
v19.0.0-nightly2022101219a909902a 2022-10-12 aix-ppc64,headers,linux-arm64,linux-armv7l,linux-ppc64le,linux-s390x,linux-x64,osx-arm64-tar,osx-x64-pkg,osx-x64-tar,src,win-x64-7z,win-x64-exe,win-x64-msi,win-x64-zip,win-x86-7z,win-x86-exe,win-x86-msi,win-x86-zip 8.19.2 10.7.193.13 1.43.0 1.2.11 3.0.5+quic 111 - -
v19.0.0-nightly2022101136805e8524 2022-10-11 aix-ppc64 8.19.2 10.7.193.13 1.43.0 1.2.11 3.0.5+quic 111 - -

View File

@@ -2,7 +2,7 @@
iojs-v1.0.1
iojs-v1.0.2
iojs-v1.0.3
 iojs-v1.0.4
iojs-v1.0.4
iojs-v1.1.0
iojs-v1.2.0
iojs-v1.3.0
@@ -20,7 +20,7 @@
iojs-v1.8.1
iojs-v1.8.2
iojs-v1.8.3
 iojs-v1.8.4
iojs-v1.8.4
iojs-v2.0.0
iojs-v2.0.1
iojs-v2.0.2
@@ -33,9 +33,9 @@
iojs-v2.3.3
iojs-v2.3.4
iojs-v2.4.0
 iojs-v2.5.0
 iojs-v3.0.0
 iojs-v3.1.0
 iojs-v3.2.0
iojs-v2.5.0
iojs-v3.0.0
iojs-v3.1.0
iojs-v3.2.0
iojs-v3.3.0
 iojs-v3.3.1
iojs-v3.3.1

View File

@@ -33,7 +33,7 @@
v4.8.6  (LTS: Argon)
v4.8.7  (LTS: Argon)
v4.9.0  (LTS: Argon)
 v4.9.1  (Latest LTS: Argon)
v4.9.1  (Latest LTS: Argon)
v6.9.0  (LTS: Boron)
v6.9.1  (LTS: Boron)
v6.9.2  (LTS: Boron)
@@ -65,7 +65,7 @@
v6.15.1  (LTS: Boron)
v6.16.0  (LTS: Boron)
v6.17.0  (LTS: Boron)
 v6.17.1  (Latest LTS: Boron)
v6.17.1  (Latest LTS: Boron)
v8.9.0  (LTS: Carbon)
v8.9.1  (LTS: Carbon)
v8.9.2  (LTS: Carbon)
@@ -85,8 +85,8 @@
v8.15.1  (LTS: Carbon)
v8.16.0  (LTS: Carbon)
v8.16.1  (LTS: Carbon)
 v8.16.2  (LTS: Carbon)
 v8.17.0  (Latest LTS: Carbon)
v8.16.2  (LTS: Carbon)
v8.17.0  (Latest LTS: Carbon)
v10.13.0  (LTS: Dubnium)
v10.14.0  (LTS: Dubnium)
v10.14.1  (LTS: Dubnium)
@@ -98,43 +98,43 @@
v10.16.0  (LTS: Dubnium)
v10.16.1  (LTS: Dubnium)
v10.16.2  (LTS: Dubnium)
 v10.16.3  (LTS: Dubnium)
 v10.17.0  (LTS: Dubnium)
v10.16.3  (LTS: Dubnium)
v10.17.0  (LTS: Dubnium)
v10.18.0  (LTS: Dubnium)
v10.18.1  (LTS: Dubnium)
v10.19.0  (LTS: Dubnium)
v10.20.0  (LTS: Dubnium)
 v10.20.1  (LTS: Dubnium)
 v10.21.0  (LTS: Dubnium)
 v10.22.0  (LTS: Dubnium)
 v10.22.1  (LTS: Dubnium)
 v10.23.0  (LTS: Dubnium)
v10.20.1  (LTS: Dubnium)
v10.21.0  (LTS: Dubnium)
v10.22.0  (LTS: Dubnium)
v10.22.1  (LTS: Dubnium)
v10.23.0  (LTS: Dubnium)
v10.23.1  (LTS: Dubnium)
v10.23.2  (LTS: Dubnium)
v10.23.3  (LTS: Dubnium)
v10.24.0  (LTS: Dubnium)
 v10.24.1  (Latest LTS: Dubnium)
v10.24.1  (Latest LTS: Dubnium)
v12.13.0  (LTS: Erbium)
 v12.13.1  (LTS: Erbium)
v12.13.1  (LTS: Erbium)
v12.14.0  (LTS: Erbium)
 v12.14.1  (LTS: Erbium)
 v12.15.0  (LTS: Erbium)
 v12.16.0  (LTS: Erbium)
 v12.16.1  (LTS: Erbium)
v12.14.1  (LTS: Erbium)
v12.15.0  (LTS: Erbium)
v12.16.0  (LTS: Erbium)
v12.16.1  (LTS: Erbium)
v12.16.2  (LTS: Erbium)
 v12.16.3  (LTS: Erbium)
 v12.17.0  (LTS: Erbium)
v12.16.3  (LTS: Erbium)
v12.17.0  (LTS: Erbium)
v12.18.0  (LTS: Erbium)
v12.18.1  (LTS: Erbium)
v12.18.2  (LTS: Erbium)
v12.18.3  (LTS: Erbium)
 v12.18.4  (LTS: Erbium)
v12.18.4  (LTS: Erbium)
v12.19.0  (LTS: Erbium)
 v12.19.1  (LTS: Erbium)
v12.19.1  (LTS: Erbium)
v12.20.0  (LTS: Erbium)
v12.20.1  (LTS: Erbium)
 v12.20.2  (LTS: Erbium)
 v12.21.0  (LTS: Erbium)
v12.20.2  (LTS: Erbium)
v12.21.0  (LTS: Erbium)
v12.22.0  (LTS: Erbium)
v12.22.1  (LTS: Erbium)
v12.22.2  (LTS: Erbium)
@@ -147,41 +147,41 @@
v12.22.9  (LTS: Erbium)
v12.22.10  (LTS: Erbium)
v12.22.11  (LTS: Erbium)
 v12.22.12  (Latest LTS: Erbium)
v12.22.12  (Latest LTS: Erbium)
v14.15.0  (LTS: Fermium)
v14.15.1  (LTS: Fermium)
v14.15.2  (LTS: Fermium)
v14.15.3  (LTS: Fermium)
v14.15.4  (LTS: Fermium)
 v14.15.5  (LTS: Fermium)
v14.15.5  (LTS: Fermium)
v14.16.0  (LTS: Fermium)
 v14.16.1  (LTS: Fermium)
v14.16.1  (LTS: Fermium)
v14.17.0  (LTS: Fermium)
v14.17.1  (LTS: Fermium)
v14.17.2  (LTS: Fermium)
v14.17.3  (LTS: Fermium)
v14.17.4  (LTS: Fermium)
v14.17.5  (LTS: Fermium)
 v14.17.6  (LTS: Fermium)
v14.17.6  (LTS: Fermium)
v14.18.0  (LTS: Fermium)
v14.18.1  (LTS: Fermium)
v14.18.2  (LTS: Fermium)
 v14.18.3  (LTS: Fermium)
v14.18.3  (LTS: Fermium)
v14.19.0  (LTS: Fermium)
v14.19.1  (LTS: Fermium)
v14.19.2  (LTS: Fermium)
 v14.19.3  (LTS: Fermium)
 v14.20.0  (LTS: Fermium)
 v14.20.1  (Latest LTS: Fermium)
v14.19.3  (LTS: Fermium)
v14.20.0  (LTS: Fermium)
v14.20.1  (Latest LTS: Fermium)
v16.13.0  (LTS: Gallium)
v16.13.1  (LTS: Gallium)
 v16.13.2  (LTS: Gallium)
v16.13.2  (LTS: Gallium)
v16.14.0  (LTS: Gallium)
v16.14.1  (LTS: Gallium)
 v16.14.2  (LTS: Gallium)
v16.14.2  (LTS: Gallium)
v16.15.0  (LTS: Gallium)
 v16.15.1  (LTS: Gallium)
 v16.16.0  (LTS: Gallium)
v16.15.1  (LTS: Gallium)
v16.16.0  (LTS: Gallium)
v16.17.0  (LTS: Gallium)
 v16.17.1  (LTS: Gallium)
 v16.18.0  (Latest LTS: Gallium)
v16.17.1  (LTS: Gallium)
v16.18.0  (Latest LTS: Gallium)

View File

@@ -61,7 +61,7 @@
v0.4.9
v0.4.10
v0.4.11
 v0.4.12
v0.4.12
v0.5.0
v0.5.1
v0.5.2
@@ -72,7 +72,7 @@
v0.5.7
v0.5.8
v0.5.9
 v0.5.10
v0.5.10
v0.6.0
v0.6.1
v0.6.2
@@ -94,20 +94,20 @@
v0.6.18
v0.6.19
v0.6.20
 v0.6.21
v0.6.21
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
 v0.7.5
 v0.7.6
 v0.7.7
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.7.10
v0.7.11
 v0.7.12
v0.7.12
v0.8.0
v0.8.1
v0.8.2
@@ -135,8 +135,8 @@
v0.8.24
v0.8.25
v0.8.26
 v0.8.27
 v0.8.28
v0.8.27
v0.8.28
v0.9.0
v0.9.1
v0.9.2
@@ -149,7 +149,7 @@
v0.9.9
v0.9.10
v0.9.11
 v0.9.12
v0.9.12
v0.10.0
v0.10.1
v0.10.2
@@ -198,8 +198,8 @@
v0.10.45
v0.10.46
v0.10.47
 v0.10.48
 v0.11.0
v0.10.48
v0.11.0
v0.11.1
v0.11.2
v0.11.3
@@ -213,10 +213,10 @@
v0.11.11
v0.11.12
v0.11.13
 v0.11.14
 v0.11.15
 v0.11.16
 v0.12.0
v0.11.14
v0.11.15
v0.11.16
v0.12.0
v0.12.1
v0.12.2
v0.12.3
@@ -234,8 +234,8 @@
v0.12.15
v0.12.16
v0.12.17
 v0.12.18
 v4.0.0
v0.12.18
v4.0.0
v4.1.0
v4.1.1
v4.1.2
@@ -274,8 +274,8 @@
v4.8.6  (LTS: Argon)
v4.8.7  (LTS: Argon)
v4.9.0  (LTS: Argon)
 v4.9.1  (Latest LTS: Argon)
 v5.0.0
v4.9.1  (Latest LTS: Argon)
v5.0.0
v5.1.0
v5.1.1
v5.2.0
@@ -288,17 +288,17 @@
v5.7.1
v5.8.0
v5.9.0
 v5.9.1
v5.9.1
v5.10.0
v5.10.1
v5.11.0
v5.11.1
 v5.12.0
 v6.0.0
 v6.1.0
v5.12.0
v6.0.0
v6.1.0
v6.2.0
v6.2.1
 v6.2.2
v6.2.2
v6.3.0
v6.3.1
v6.4.0
@@ -338,9 +338,9 @@
v6.15.1  (LTS: Boron)
v6.16.0  (LTS: Boron)
v6.17.0  (LTS: Boron)
 v6.17.1  (Latest LTS: Boron)
v6.17.1  (Latest LTS: Boron)
v7.0.0
 v7.1.0
v7.1.0
v7.2.0
v7.2.1
v7.3.0
@@ -355,8 +355,8 @@
v7.8.0
v7.9.0
v7.10.0
 v7.10.1
 v8.0.0
v7.10.1
v8.0.0
v8.1.0
v8.1.1
v8.1.2
@@ -364,7 +364,7 @@
v8.1.4
v8.2.0
v8.2.1
 v8.3.0
v8.3.0
v8.4.0
v8.5.0
v8.6.0
@@ -390,9 +390,9 @@
v8.15.1  (LTS: Carbon)
v8.16.0  (LTS: Carbon)
v8.16.1  (LTS: Carbon)
 v8.16.2  (LTS: Carbon)
 v8.17.0  (Latest LTS: Carbon)
 v9.0.0
v8.16.2  (LTS: Carbon)
v8.17.0  (Latest LTS: Carbon)
v9.0.0
v9.1.0
v9.2.0
v9.2.1
@@ -409,20 +409,20 @@
v9.10.1
v9.11.0
v9.11.1
 v9.11.2
 v10.0.0
 v10.1.0
v9.11.2
v10.0.0
v10.1.0
v10.2.0
 v10.2.1
v10.2.1
v10.3.0
v10.4.0
v10.4.1
v10.5.0
v10.6.0
v10.7.0
 v10.8.0
 v10.9.0
 v10.10.0
v10.8.0
v10.9.0
v10.10.0
v10.11.0
v10.12.0
v10.13.0  (LTS: Dubnium)
@@ -436,22 +436,22 @@
v10.16.0  (LTS: Dubnium)
v10.16.1  (LTS: Dubnium)
v10.16.2  (LTS: Dubnium)
 v10.16.3  (LTS: Dubnium)
 v10.17.0  (LTS: Dubnium)
v10.16.3  (LTS: Dubnium)
v10.17.0  (LTS: Dubnium)
v10.18.0  (LTS: Dubnium)
v10.18.1  (LTS: Dubnium)
v10.19.0  (LTS: Dubnium)
v10.20.0  (LTS: Dubnium)
 v10.20.1  (LTS: Dubnium)
 v10.21.0  (LTS: Dubnium)
 v10.22.0  (LTS: Dubnium)
 v10.22.1  (LTS: Dubnium)
 v10.23.0  (LTS: Dubnium)
v10.20.1  (LTS: Dubnium)
v10.21.0  (LTS: Dubnium)
v10.22.0  (LTS: Dubnium)
v10.22.1  (LTS: Dubnium)
v10.23.0  (LTS: Dubnium)
v10.23.1  (LTS: Dubnium)
v10.23.2  (LTS: Dubnium)
v10.23.3  (LTS: Dubnium)
v10.24.0  (LTS: Dubnium)
 v10.24.1  (Latest LTS: Dubnium)
v10.24.1  (Latest LTS: Dubnium)
v11.0.0
v11.1.0
v11.2.0
@@ -466,47 +466,47 @@
v11.10.1
v11.11.0
v11.12.0
 v11.13.0
 v11.14.0
 v11.15.0
 v12.0.0
 v12.1.0
 v12.2.0
v11.13.0
v11.14.0
v11.15.0
v12.0.0
v12.1.0
v12.2.0
v12.3.0
 v12.3.1
 v12.4.0
 v12.5.0
 v12.6.0
 v12.7.0
 v12.8.0
 v12.8.1
v12.3.1
v12.4.0
v12.5.0
v12.6.0
v12.7.0
v12.8.0
v12.8.1
v12.9.0
 v12.9.1
 v12.10.0
v12.9.1
v12.10.0
v12.11.0
 v12.11.1
 v12.12.0
v12.11.1
v12.12.0
v12.13.0  (LTS: Erbium)
 v12.13.1  (LTS: Erbium)
v12.13.1  (LTS: Erbium)
v12.14.0  (LTS: Erbium)
 v12.14.1  (LTS: Erbium)
 v12.15.0  (LTS: Erbium)
 v12.16.0  (LTS: Erbium)
 v12.16.1  (LTS: Erbium)
v12.14.1  (LTS: Erbium)
v12.15.0  (LTS: Erbium)
v12.16.0  (LTS: Erbium)
v12.16.1  (LTS: Erbium)
v12.16.2  (LTS: Erbium)
 v12.16.3  (LTS: Erbium)
 v12.17.0  (LTS: Erbium)
v12.16.3  (LTS: Erbium)
v12.17.0  (LTS: Erbium)
v12.18.0  (LTS: Erbium)
v12.18.1  (LTS: Erbium)
v12.18.2  (LTS: Erbium)
v12.18.3  (LTS: Erbium)
 v12.18.4  (LTS: Erbium)
v12.18.4  (LTS: Erbium)
v12.19.0  (LTS: Erbium)
 v12.19.1  (LTS: Erbium)
v12.19.1  (LTS: Erbium)
v12.20.0  (LTS: Erbium)
v12.20.1  (LTS: Erbium)
 v12.20.2  (LTS: Erbium)
 v12.21.0  (LTS: Erbium)
v12.20.2  (LTS: Erbium)
v12.21.0  (LTS: Erbium)
v12.22.0  (LTS: Erbium)
v12.22.1  (LTS: Erbium)
v12.22.2  (LTS: Erbium)
@@ -519,139 +519,140 @@
v12.22.9  (LTS: Erbium)
v12.22.10  (LTS: Erbium)
v12.22.11  (LTS: Erbium)
 v12.22.12  (Latest LTS: Erbium)
 v13.0.0
 v13.0.1
 v13.1.0
 v13.2.0
 v13.3.0
 v13.4.0
 v13.5.0
 v13.6.0
 v13.7.0
 v13.8.0
 v13.9.0
v12.22.12  (Latest LTS: Erbium)
v13.0.0
v13.0.1
v13.1.0
v13.2.0
v13.3.0
v13.4.0
v13.5.0
v13.6.0
v13.7.0
v13.8.0
v13.9.0
v13.10.0
 v13.10.1
 v13.11.0
 v13.12.0
 v13.13.0
 v13.14.0
 v14.0.0
 v14.1.0
 v14.2.0
 v14.3.0
 v14.4.0
 v14.5.0
 v14.6.0
 v14.7.0
 v14.8.0
 v14.9.0
v13.10.1
v13.11.0
v13.12.0
v13.13.0
v13.14.0
v14.0.0
v14.1.0
v14.2.0
v14.3.0
v14.4.0
v14.5.0
v14.6.0
v14.7.0
v14.8.0
v14.9.0
v14.10.0
 v14.10.1
 v14.11.0
 v14.12.0
 v14.13.0
 v14.13.1
 v14.14.0
v14.10.1
v14.11.0
v14.12.0
v14.13.0
v14.13.1
v14.14.0
v14.15.0  (LTS: Fermium)
v14.15.1  (LTS: Fermium)
v14.15.2  (LTS: Fermium)
v14.15.3  (LTS: Fermium)
v14.15.4  (LTS: Fermium)
 v14.15.5  (LTS: Fermium)
v14.15.5  (LTS: Fermium)
v14.16.0  (LTS: Fermium)
 v14.16.1  (LTS: Fermium)
v14.16.1  (LTS: Fermium)
v14.17.0  (LTS: Fermium)
v14.17.1  (LTS: Fermium)
v14.17.2  (LTS: Fermium)
v14.17.3  (LTS: Fermium)
v14.17.4  (LTS: Fermium)
v14.17.5  (LTS: Fermium)
 v14.17.6  (LTS: Fermium)
v14.17.6  (LTS: Fermium)
v14.18.0  (LTS: Fermium)
v14.18.1  (LTS: Fermium)
v14.18.2  (LTS: Fermium)
 v14.18.3  (LTS: Fermium)
v14.18.3  (LTS: Fermium)
v14.19.0  (LTS: Fermium)
v14.19.1  (LTS: Fermium)
v14.19.2  (LTS: Fermium)
 v14.19.3  (LTS: Fermium)
 v14.20.0  (LTS: Fermium)
 v14.20.1  (Latest LTS: Fermium)
v14.19.3  (LTS: Fermium)
v14.20.0  (LTS: Fermium)
v14.20.1  (Latest LTS: Fermium)
v15.0.0
 v15.0.1
 v15.1.0
v15.0.1
v15.1.0
v15.2.0
 v15.2.1
 v15.3.0
v15.2.1
v15.3.0
v15.4.0
v15.5.0
 v15.5.1
v15.5.1
v15.6.0
v15.7.0
v15.8.0
v15.9.0
 v15.10.0
v15.10.0
v15.11.0
v15.12.0
 v15.13.0
 v15.14.0
 v16.0.0
 v16.1.0
 v16.2.0
 v16.3.0
v15.13.0
v15.14.0
v16.0.0
v16.1.0
v16.2.0
v16.3.0
v16.4.0
v16.4.1
 v16.4.2
 v16.5.0
v16.4.2
v16.5.0
v16.6.0
v16.6.1
 v16.6.2
 v16.7.0
 v16.8.0
v16.6.2
v16.7.0
v16.8.0
v16.9.0
 v16.9.1
 v16.10.0
v16.9.1
v16.10.0
v16.11.0
 v16.11.1
 v16.12.0
v16.11.1
v16.12.0
v16.13.0  (LTS: Gallium)
v16.13.1  (LTS: Gallium)
 v16.13.2  (LTS: Gallium)
v16.13.2  (LTS: Gallium)
v16.14.0  (LTS: Gallium)
v16.14.1  (LTS: Gallium)
 v16.14.2  (LTS: Gallium)
v16.14.2  (LTS: Gallium)
v16.15.0  (LTS: Gallium)
 v16.15.1  (LTS: Gallium)
 v16.16.0  (LTS: Gallium)
v16.15.1  (LTS: Gallium)
v16.16.0  (LTS: Gallium)
v16.17.0  (LTS: Gallium)
 v16.17.1  (LTS: Gallium)
 v16.18.0  (Latest LTS: Gallium)
v16.17.1  (LTS: Gallium)
v16.18.0  (Latest LTS: Gallium)
v17.0.0
 v17.0.1
 v17.1.0
 v17.2.0
v17.0.1
v17.1.0
v17.2.0
v17.3.0
 v17.3.1
 v17.4.0
 v17.5.0
 v17.6.0
 v17.7.0
v17.3.1
v17.4.0
v17.5.0
v17.6.0
v17.7.0
v17.7.1
 v17.7.2
 v17.8.0
v17.7.2
v17.8.0
v17.9.0
 v17.9.1
 v18.0.0
 v18.1.0
 v18.2.0
 v18.3.0
 v18.4.0
 v18.5.0
 v18.6.0
 v18.7.0
 v18.8.0
 v18.9.0
 v18.9.1
 v18.10.0
v17.9.1
v18.0.0
v18.1.0
v18.2.0
v18.3.0
v18.4.0
v18.5.0
v18.6.0
v18.7.0
v18.8.0
v18.9.0
v18.9.1
v18.10.0
v18.11.0

View File

@@ -61,7 +61,7 @@
v0.4.9
v0.4.10
v0.4.11
 v0.4.12
v0.4.12
v0.5.0
v0.5.1
v0.5.2
@@ -72,7 +72,7 @@
v0.5.7
v0.5.8
v0.5.9
 v0.5.10
v0.5.10
v0.6.0
v0.6.1
v0.6.2
@@ -94,20 +94,20 @@
v0.6.18
v0.6.19
v0.6.20
 v0.6.21
v0.6.21
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
 v0.7.5
 v0.7.6
 v0.7.7
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.7.10
v0.7.11
 v0.7.12
v0.7.12
v0.8.0
v0.8.1
v0.8.2
@@ -135,8 +135,8 @@
v0.8.24
v0.8.25
v0.8.26
 v0.8.27
 v0.8.28
v0.8.27
v0.8.28
v0.9.0
v0.9.1
v0.9.2
@@ -149,7 +149,7 @@
v0.9.9
v0.9.10
v0.9.11
 v0.9.12
v0.9.12
v0.10.0
v0.10.1
v0.10.2
@@ -198,8 +198,8 @@
v0.10.45
v0.10.46
v0.10.47
 v0.10.48
 v0.11.0
v0.10.48
v0.11.0
v0.11.1
v0.11.2
v0.11.3
@@ -213,10 +213,10 @@
v0.11.11
v0.11.12
v0.11.13
 v0.11.14
 v0.11.15
 v0.11.16
 v0.12.0
v0.11.14
v0.11.15
v0.11.16
v0.12.0
v0.12.1
v0.12.2
v0.12.3
@@ -234,12 +234,12 @@
v0.12.15
v0.12.16
v0.12.17
 v0.12.18
v0.12.18
iojs-v1.0.0
iojs-v1.0.1
iojs-v1.0.2
iojs-v1.0.3
 iojs-v1.0.4
iojs-v1.0.4
iojs-v1.1.0
iojs-v1.2.0
iojs-v1.3.0
@@ -257,7 +257,7 @@
iojs-v1.8.1
iojs-v1.8.2
iojs-v1.8.3
 iojs-v1.8.4
iojs-v1.8.4
iojs-v2.0.0
iojs-v2.0.1
iojs-v2.0.2
@@ -270,13 +270,13 @@
iojs-v2.3.3
iojs-v2.3.4
iojs-v2.4.0
 iojs-v2.5.0
 iojs-v3.0.0
 iojs-v3.1.0
 iojs-v3.2.0
iojs-v2.5.0
iojs-v3.0.0
iojs-v3.1.0
iojs-v3.2.0
iojs-v3.3.0
 iojs-v3.3.1
 v4.0.0
iojs-v3.3.1
v4.0.0
v4.1.0
v4.1.1
v4.1.2
@@ -315,8 +315,8 @@
v4.8.6  (LTS: Argon)
v4.8.7  (LTS: Argon)
v4.9.0  (LTS: Argon)
 v4.9.1  (Latest LTS: Argon)
 v5.0.0
v4.9.1  (Latest LTS: Argon)
v5.0.0
v5.1.0
v5.1.1
v5.2.0
@@ -329,17 +329,17 @@
v5.7.1
v5.8.0
v5.9.0
 v5.9.1
v5.9.1
v5.10.0
v5.10.1
v5.11.0
v5.11.1
 v5.12.0
 v6.0.0
 v6.1.0
v5.12.0
v6.0.0
v6.1.0
v6.2.0
v6.2.1
 v6.2.2
v6.2.2
v6.3.0
v6.3.1
v6.4.0
@@ -379,9 +379,9 @@
v6.15.1  (LTS: Boron)
v6.16.0  (LTS: Boron)
v6.17.0  (LTS: Boron)
 v6.17.1  (Latest LTS: Boron)
v6.17.1  (Latest LTS: Boron)
v7.0.0
 v7.1.0
v7.1.0
v7.2.0
v7.2.1
v7.3.0
@@ -396,8 +396,8 @@
v7.8.0
v7.9.0
v7.10.0
 v7.10.1
 v8.0.0
v7.10.1
v8.0.0
v8.1.0
v8.1.1
v8.1.2
@@ -405,7 +405,7 @@
v8.1.4
v8.2.0
v8.2.1
 v8.3.0
v8.3.0
v8.4.0
v8.5.0
v8.6.0
@@ -431,9 +431,9 @@
v8.15.1  (LTS: Carbon)
v8.16.0  (LTS: Carbon)
v8.16.1  (LTS: Carbon)
 v8.16.2  (LTS: Carbon)
 v8.17.0  (Latest LTS: Carbon)
 v9.0.0
v8.16.2  (LTS: Carbon)
v8.17.0  (Latest LTS: Carbon)
v9.0.0
v9.1.0
v9.2.0
v9.2.1
@@ -450,20 +450,20 @@
v9.10.1
v9.11.0
v9.11.1
 v9.11.2
 v10.0.0
 v10.1.0
v9.11.2
v10.0.0
v10.1.0
v10.2.0
 v10.2.1
v10.2.1
v10.3.0
v10.4.0
v10.4.1
v10.5.0
v10.6.0
v10.7.0
 v10.8.0
 v10.9.0
 v10.10.0
v10.8.0
v10.9.0
v10.10.0
v10.11.0
v10.12.0
v10.13.0  (LTS: Dubnium)
@@ -477,22 +477,22 @@
v10.16.0  (LTS: Dubnium)
v10.16.1  (LTS: Dubnium)
v10.16.2  (LTS: Dubnium)
 v10.16.3  (LTS: Dubnium)
 v10.17.0  (LTS: Dubnium)
v10.16.3  (LTS: Dubnium)
v10.17.0  (LTS: Dubnium)
v10.18.0  (LTS: Dubnium)
v10.18.1  (LTS: Dubnium)
v10.19.0  (LTS: Dubnium)
v10.20.0  (LTS: Dubnium)
 v10.20.1  (LTS: Dubnium)
 v10.21.0  (LTS: Dubnium)
 v10.22.0  (LTS: Dubnium)
 v10.22.1  (LTS: Dubnium)
 v10.23.0  (LTS: Dubnium)
v10.20.1  (LTS: Dubnium)
v10.21.0  (LTS: Dubnium)
v10.22.0  (LTS: Dubnium)
v10.22.1  (LTS: Dubnium)
v10.23.0  (LTS: Dubnium)
v10.23.1  (LTS: Dubnium)
v10.23.2  (LTS: Dubnium)
v10.23.3  (LTS: Dubnium)
v10.24.0  (LTS: Dubnium)
 v10.24.1  (Latest LTS: Dubnium)
v10.24.1  (Latest LTS: Dubnium)
v11.0.0
v11.1.0
v11.2.0
@@ -507,47 +507,47 @@
v11.10.1
v11.11.0
v11.12.0
 v11.13.0
 v11.14.0
 v11.15.0
 v12.0.0
 v12.1.0
 v12.2.0
v11.13.0
v11.14.0
v11.15.0
v12.0.0
v12.1.0
v12.2.0
v12.3.0
 v12.3.1
 v12.4.0
 v12.5.0
 v12.6.0
 v12.7.0
 v12.8.0
 v12.8.1
v12.3.1
v12.4.0
v12.5.0
v12.6.0
v12.7.0
v12.8.0
v12.8.1
v12.9.0
 v12.9.1
 v12.10.0
v12.9.1
v12.10.0
v12.11.0
 v12.11.1
 v12.12.0
v12.11.1
v12.12.0
v12.13.0  (LTS: Erbium)
 v12.13.1  (LTS: Erbium)
v12.13.1  (LTS: Erbium)
v12.14.0  (LTS: Erbium)
 v12.14.1  (LTS: Erbium)
 v12.15.0  (LTS: Erbium)
 v12.16.0  (LTS: Erbium)
 v12.16.1  (LTS: Erbium)
v12.14.1  (LTS: Erbium)
v12.15.0  (LTS: Erbium)
v12.16.0  (LTS: Erbium)
v12.16.1  (LTS: Erbium)
v12.16.2  (LTS: Erbium)
 v12.16.3  (LTS: Erbium)
 v12.17.0  (LTS: Erbium)
v12.16.3  (LTS: Erbium)
v12.17.0  (LTS: Erbium)
v12.18.0  (LTS: Erbium)
v12.18.1  (LTS: Erbium)
v12.18.2  (LTS: Erbium)
v12.18.3  (LTS: Erbium)
 v12.18.4  (LTS: Erbium)
v12.18.4  (LTS: Erbium)
v12.19.0  (LTS: Erbium)
 v12.19.1  (LTS: Erbium)
v12.19.1  (LTS: Erbium)
v12.20.0  (LTS: Erbium)
v12.20.1  (LTS: Erbium)
 v12.20.2  (LTS: Erbium)
 v12.21.0  (LTS: Erbium)
v12.20.2  (LTS: Erbium)
v12.21.0  (LTS: Erbium)
v12.22.0  (LTS: Erbium)
v12.22.1  (LTS: Erbium)
v12.22.2  (LTS: Erbium)
@@ -560,139 +560,140 @@
v12.22.9  (LTS: Erbium)
v12.22.10  (LTS: Erbium)
v12.22.11  (LTS: Erbium)
 v12.22.12  (Latest LTS: Erbium)
 v13.0.0
 v13.0.1
 v13.1.0
 v13.2.0
 v13.3.0
 v13.4.0
 v13.5.0
 v13.6.0
 v13.7.0
 v13.8.0
 v13.9.0
v12.22.12  (Latest LTS: Erbium)
v13.0.0
v13.0.1
v13.1.0
v13.2.0
v13.3.0
v13.4.0
v13.5.0
v13.6.0
v13.7.0
v13.8.0
v13.9.0
v13.10.0
 v13.10.1
 v13.11.0
 v13.12.0
 v13.13.0
 v13.14.0
 v14.0.0
 v14.1.0
 v14.2.0
 v14.3.0
 v14.4.0
 v14.5.0
 v14.6.0
 v14.7.0
 v14.8.0
 v14.9.0
v13.10.1
v13.11.0
v13.12.0
v13.13.0
v13.14.0
v14.0.0
v14.1.0
v14.2.0
v14.3.0
v14.4.0
v14.5.0
v14.6.0
v14.7.0
v14.8.0
v14.9.0
v14.10.0
 v14.10.1
 v14.11.0
 v14.12.0
 v14.13.0
 v14.13.1
 v14.14.0
v14.10.1
v14.11.0
v14.12.0
v14.13.0
v14.13.1
v14.14.0
v14.15.0  (LTS: Fermium)
v14.15.1  (LTS: Fermium)
v14.15.2  (LTS: Fermium)
v14.15.3  (LTS: Fermium)
v14.15.4  (LTS: Fermium)
 v14.15.5  (LTS: Fermium)
v14.15.5  (LTS: Fermium)
v14.16.0  (LTS: Fermium)
 v14.16.1  (LTS: Fermium)
v14.16.1  (LTS: Fermium)
v14.17.0  (LTS: Fermium)
v14.17.1  (LTS: Fermium)
v14.17.2  (LTS: Fermium)
v14.17.3  (LTS: Fermium)
v14.17.4  (LTS: Fermium)
v14.17.5  (LTS: Fermium)
 v14.17.6  (LTS: Fermium)
v14.17.6  (LTS: Fermium)
v14.18.0  (LTS: Fermium)
v14.18.1  (LTS: Fermium)
v14.18.2  (LTS: Fermium)
 v14.18.3  (LTS: Fermium)
v14.18.3  (LTS: Fermium)
v14.19.0  (LTS: Fermium)
v14.19.1  (LTS: Fermium)
v14.19.2  (LTS: Fermium)
 v14.19.3  (LTS: Fermium)
 v14.20.0  (LTS: Fermium)
 v14.20.1  (Latest LTS: Fermium)
v14.19.3  (LTS: Fermium)
v14.20.0  (LTS: Fermium)
v14.20.1  (Latest LTS: Fermium)
v15.0.0
 v15.0.1
 v15.1.0
v15.0.1
v15.1.0
v15.2.0
 v15.2.1
 v15.3.0
v15.2.1
v15.3.0
v15.4.0
v15.5.0
 v15.5.1
v15.5.1
v15.6.0
v15.7.0
v15.8.0
v15.9.0
 v15.10.0
v15.10.0
v15.11.0
v15.12.0
 v15.13.0
 v15.14.0
 v16.0.0
 v16.1.0
 v16.2.0
 v16.3.0
v15.13.0
v15.14.0
v16.0.0
v16.1.0
v16.2.0
v16.3.0
v16.4.0
v16.4.1
 v16.4.2
 v16.5.0
v16.4.2
v16.5.0
v16.6.0
v16.6.1
 v16.6.2
 v16.7.0
 v16.8.0
v16.6.2
v16.7.0
v16.8.0
v16.9.0
 v16.9.1
 v16.10.0
v16.9.1
v16.10.0
v16.11.0
 v16.11.1
 v16.12.0
v16.11.1
v16.12.0
v16.13.0  (LTS: Gallium)
v16.13.1  (LTS: Gallium)
 v16.13.2  (LTS: Gallium)
v16.13.2  (LTS: Gallium)
v16.14.0  (LTS: Gallium)
v16.14.1  (LTS: Gallium)
 v16.14.2  (LTS: Gallium)
v16.14.2  (LTS: Gallium)
v16.15.0  (LTS: Gallium)
 v16.15.1  (LTS: Gallium)
 v16.16.0  (LTS: Gallium)
v16.15.1  (LTS: Gallium)
v16.16.0  (LTS: Gallium)
v16.17.0  (LTS: Gallium)
 v16.17.1  (LTS: Gallium)
 v16.18.0  (Latest LTS: Gallium)
v16.17.1  (LTS: Gallium)
v16.18.0  (Latest LTS: Gallium)
v17.0.0
 v17.0.1
 v17.1.0
 v17.2.0
v17.0.1
v17.1.0
v17.2.0
v17.3.0
 v17.3.1
 v17.4.0
 v17.5.0
 v17.6.0
 v17.7.0
v17.3.1
v17.4.0
v17.5.0
v17.6.0
v17.7.0
v17.7.1
 v17.7.2
 v17.8.0
v17.7.2
v17.8.0
v17.9.0
 v17.9.1
 v18.0.0
 v18.1.0
 v18.2.0
 v18.3.0
 v18.4.0
 v18.5.0
 v18.6.0
 v18.7.0
 v18.8.0
 v18.9.0
 v18.9.1
 v18.10.0
v17.9.1
v18.0.0
v18.1.0
v18.2.0
v18.3.0
v18.4.0
v18.5.0
v18.6.0
v18.7.0
v18.8.0
v18.9.0
v18.9.1
v18.10.0
v18.11.0

View File

@@ -146,4 +146,4 @@ v16.0.0-nightly20210420a0261d231c
v17.0.0-nightly202110193f11666dc7
v17.5.0-nightly20220209e43808936a
v18.0.0-nightly20220419bde889bd4e
v19.0.0-nightly20221013214354fc9f
v19.0.0-nightly202210156fb466bc38

View File

@@ -1 +1 @@
v19.0.0-nightly20221013214354fc9f
v19.0.0-nightly202210156fb466bc38

View File

@@ -1 +1 @@
v18.10.0
v18.11.0

View File

@@ -655,3 +655,4 @@ v18.8.0
v18.9.0
v18.9.1
v18.10.0
v18.11.0

View File

@@ -16,5 +16,5 @@ set +x # needed for stderr
OUTPUT="$(nvm_print_color_code q 2>&1)" ||:
set -x
echo "OUTPUT WAS SET TO: $OUTPUT"
EXPECTED_OUTPUT="Invalid color code"
EXPECTED_OUTPUT="Invalid color code: q"
[ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_print_color_code did not recognize the invalid input; got $(echo ">$OUTPUT<") expected $(echo ">$EXPECTED_OUTPUT<")"

View File

@@ -0,0 +1 @@

View File

@@ -26,10 +26,10 @@ NVM_LTS=* nvm_ls_remote > "$MOCKS_DIR/nvm_ls_remote LTS.txt"
NVM_LTS=argon nvm_ls_remote > "$MOCKS_DIR/nvm_ls_remote LTS argon.txt"
nvm_download -L -s "https://nodejs.org/download/nightly/index.tab" -o - > "$MOCKS_DIR/nodejs.org-download-nightly-index.tab"
nvm_download -L -s "$(nvm_get_mirror iojs std)/index.tab" -o - > "$MOCKS_DIR/iojs.org-dist-index.tab"
NVM_COLORS=kygre nvm ls-remote > "$MOCKS_DIR/nvm ls-remote.txt"
NVM_COLORS=kygre nvm ls-remote --lts > "$MOCKS_DIR/nvm ls-remote lts.txt"
NVM_COLORS=kygre nvm ls-remote node > "$MOCKS_DIR/nvm ls-remote node.txt"
NVM_COLORS=kygre nvm ls-remote iojs > "$MOCKS_DIR/nvm ls-remote iojs.txt"
NVM_COLORS=0ygre nvm ls-remote > "$MOCKS_DIR/nvm ls-remote.txt"
NVM_COLORS=0ygre nvm ls-remote --lts > "$MOCKS_DIR/nvm ls-remote lts.txt"
NVM_COLORS=0ygre nvm ls-remote node > "$MOCKS_DIR/nvm ls-remote node.txt"
NVM_COLORS=0ygre nvm ls-remote iojs > "$MOCKS_DIR/nvm ls-remote iojs.txt"
nvm_print_implicit_alias remote stable > "$MOCKS_DIR/nvm_print_implicit_alias remote stable.txt"
nvm_ls_remote stable > "$MOCKS_DIR/nvm_ls_remote stable.txt"
nvm alias "lts/*" > "$MOCKS_DIR/lts-star.txt"