fe-core-components 9.9.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fe-core-components might be problematic. Click here for more details.

Files changed (323) hide show
  1. package/.dockerignore +16 -0
  2. package/.editorconfig +28 -0
  3. package/.gitattributes +1 -0
  4. package/.github/FUNDING.yml +12 -0
  5. package/.github/ISSUE_TEMPLATE.md +44 -0
  6. package/.github/SECURITY.md +3 -0
  7. package/.github/workflows/latest-npm.yml +76 -0
  8. package/.github/workflows/lint.yml +73 -0
  9. package/.github/workflows/rebase.yml +23 -0
  10. package/.github/workflows/release.yml +32 -0
  11. package/.github/workflows/require-allow-edits.yml +21 -0
  12. package/.github/workflows/shellcheck.yml +55 -0
  13. package/.github/workflows/toc.yml +37 -0
  14. package/.github/workflows/windows-npm.yml +133 -0
  15. package/.mailmap +1 -0
  16. package/.travis.yml +75 -0
  17. package/CODE_OF_CONDUCT.md +106 -0
  18. package/CONTRIBUTING.md +21 -0
  19. package/Dockerfile +111 -0
  20. package/GOVERNANCE.md +10 -0
  21. package/LICENSE.md +22 -0
  22. package/Makefile +85 -0
  23. package/PROJECT_CHARTER.md +49 -0
  24. package/README.md +970 -0
  25. package/ROADMAP.md +9 -0
  26. package/bash_completion +99 -0
  27. package/index.js +48 -0
  28. package/install.sh +463 -0
  29. package/nvm-exec +15 -0
  30. package/nvm.sh +4323 -0
  31. package/package.json +12 -0
  32. package/package.json.ori +51 -0
  33. package/rename_test.sh +52 -0
  34. package/test/common.sh +103 -0
  35. package/test/fast/Aliases/'nvm alias' should not accept aliases with slashes +26 -0
  36. package/test/fast/Aliases/'nvm unalias' should accept aliases when they shadow a built-in alias +17 -0
  37. package/test/fast/Aliases/'nvm unalias' should not accept aliases with names equal to built-in alias +25 -0
  38. package/test/fast/Aliases/'nvm unalias' should not accept aliases with slashes +26 -0
  39. package/test/fast/Aliases/Running 'nvm alias /313/202aliasname/313/203 /313/202target/313/203' again should change the target" +24 -0
  40. package/test/fast/Aliases/Running 'nvm alias /313/202aliasname/313/203' should list but one alias" +4 -0
  41. package/test/fast/Aliases/Running 'nvm alias' lists implicit aliases when they do not exist +26 -0
  42. package/test/fast/Aliases/Running 'nvm alias' lists manual aliases instead of implicit aliases when present +49 -0
  43. package/test/fast/Aliases/Running 'nvm alias' should list all aliases +48 -0
  44. package/test/fast/Aliases/circular/nvm_resolve_alias +36 -0
  45. package/test/fast/Aliases/circular/nvm_resolve_local_alias +36 -0
  46. package/test/fast/Aliases/circular/setup +9 -0
  47. package/test/fast/Aliases/circular/teardown +9 -0
  48. package/test/fast/Aliases/lts/'nvm alias' should ensure LTS alias dir exists +18 -0
  49. package/test/fast/Aliases/lts/setup_dir +10 -0
  50. package/test/fast/Aliases/lts/teardown_dir +10 -0
  51. package/test/fast/Aliases/nvm_ensure_default_set +20 -0
  52. package/test/fast/Aliases/nvm_list_aliases calls nvm_get_colors +22 -0
  53. package/test/fast/Aliases/nvm_list_aliases works with LTS aliases +25 -0
  54. package/test/fast/Aliases/nvm_list_aliases works with no LTS aliases present +21 -0
  55. package/test/fast/Aliases/nvm_print_alias_path calls nvm_get_colors +28 -0
  56. package/test/fast/Aliases/nvm_print_formatted_alias calls nvm_get_colors +21 -0
  57. package/test/fast/Aliases/nvm_resolve_alias +33 -0
  58. package/test/fast/Aliases/nvm_resolve_local_alias +35 -0
  59. package/test/fast/Aliases/setup +14 -0
  60. package/test/fast/Aliases/teardown +17 -0
  61. package/test/fast/Listing paths/Running 'nvm which 0.0.2' should display only version 0.0.2 +27 -0
  62. package/test/fast/Listing paths/Running 'nvm which foo' should return a nonzero exit code when not found +6 -0
  63. package/test/fast/Listing paths/teardown +3 -0
  64. package/test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias +34 -0
  65. package/test/fast/Listing versions/Running 'nvm ls --no-alias' with a pattern errors +15 -0
  66. package/test/fast/Listing versions/Running 'nvm ls 0.0.2' should display only version 0.0.2 +21 -0
  67. package/test/fast/Listing versions/Running 'nvm ls 0.2' should display only 0.2.x versions +42 -0
  68. package/test/fast/Listing versions/Running 'nvm ls foo' should return a nonzero exit code when not found +6 -0
  69. package/test/fast/Listing versions/Running 'nvm ls io' should return NA +6 -0
  70. package/test/fast/Listing versions/Running 'nvm ls node_' should return a nonzero exit code when not found +6 -0
  71. package/test/fast/Listing versions/Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias +29 -0
  72. package/test/fast/Listing versions/Running 'nvm ls system' should include 'system' when appropriate +21 -0
  73. package/test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias +35 -0
  74. package/test/fast/Listing versions/Running 'nvm ls' should display all installed versions +44 -0
  75. package/test/fast/Listing versions/Running 'nvm ls' should filter out '.nvm' +10 -0
  76. package/test/fast/Listing versions/Running 'nvm ls' should filter out 'versions' +10 -0
  77. package/test/fast/Listing versions/Running 'nvm ls' should include 'system' when appropriate +21 -0
  78. package/test/fast/Listing versions/Running 'nvm ls' should list versions in the 'versions' directory +12 -0
  79. package/test/fast/Listing versions/Running 'nvm ls' should not show a trailing slash +40 -0
  80. package/test/fast/Listing versions/Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version +11 -0
  81. package/test/fast/Listing versions/Running 'nvm ls' with nounset should not fail +23 -0
  82. package/test/fast/Listing versions/Using a nonstandard IFS should not break +19 -0
  83. package/test/fast/Listing versions/teardown +16 -0
  84. package/test/fast/Running 'nvm alias' should create a file in the alias directory +9 -0
  85. package/test/fast/Running 'nvm current' should display current nvm environment +11 -0
  86. package/test/fast/Running 'nvm deactivate' should unset the nvm environment variables +23 -0
  87. package/test/fast/Running 'nvm install' with '--reinstall-packages-from' requires a valid version +57 -0
  88. package/test/fast/Running 'nvm install' with an invalid version fails nicely +13 -0
  89. package/test/fast/Running 'nvm unalias' should remove the alias file +13 -0
  90. package/test/fast/Running 'nvm uninstall' should remove the appropriate directory +12 -0
  91. package/test/fast/Running 'nvm uninstall' with incorrect file permissions fails nicely +14 -0
  92. package/test/fast/Running 'nvm unload' should unset all function and variables +30 -0
  93. package/test/fast/Running 'nvm use foo' where 'foo' is circular aborts +39 -0
  94. package/test/fast/Running 'nvm use iojs' uses latest io.js version +37 -0
  95. package/test/fast/Running 'nvm use system' should work as expected +44 -0
  96. package/test/fast/Running 'nvm use x' should create and change the 'current' symlink +36 -0
  97. package/test/fast/Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false +86 -0
  98. package/test/fast/Running 'nvm use' should drop CR char automatically +33 -0
  99. package/test/fast/Set Colors/nvm_echo_with_colors +21 -0
  100. package/test/fast/Set Colors/nvm_err_with_colors +19 -0
  101. package/test/fast/Set Colors/nvm_print_default_alias calls nvm_get_colors +24 -0
  102. package/test/fast/Set Colors/nvm_print_versions calls nvm_get_colors +52 -0
  103. package/test/fast/Sourcing nvm.sh should make the nvm command available +7 -0
  104. package/test/fast/Sourcing nvm.sh should not modify parameters of caller +7 -0
  105. package/test/fast/Unit tests/mocks/LTS_names.txt +7 -0
  106. package/test/fast/Unit tests/mocks/iojs.org-dist-index.tab +42 -0
  107. package/test/fast/Unit tests/mocks/lts-star.txt +1 -0
  108. package/test/fast/Unit tests/mocks/nodejs.org-dist-index.tab +614 -0
  109. package/test/fast/Unit tests/mocks/nodejs.org-download-nightly-index.tab +2576 -0
  110. package/test/fast/Unit tests/mocks/nvm ls-remote iojs.txt +41 -0
  111. package/test/fast/Unit tests/mocks/nvm ls-remote lts.txt +166 -0
  112. package/test/fast/Unit tests/mocks/nvm ls-remote node.txt +613 -0
  113. package/test/fast/Unit tests/mocks/nvm ls-remote.txt +654 -0
  114. package/test/fast/Unit tests/mocks/nvm_ls_remote LTS argon.txt +36 -0
  115. package/test/fast/Unit tests/mocks/nvm_ls_remote LTS nightly argon.txt +1 -0
  116. package/test/fast/Unit tests/mocks/nvm_ls_remote LTS nightly.txt +25 -0
  117. package/test/fast/Unit tests/mocks/nvm_ls_remote LTS.txt +166 -0
  118. package/test/fast/Unit tests/mocks/nvm_ls_remote nightly.txt +146 -0
  119. package/test/fast/Unit tests/mocks/nvm_ls_remote stable nightly.txt +1 -0
  120. package/test/fast/Unit tests/mocks/nvm_ls_remote stable.txt +1 -0
  121. package/test/fast/Unit tests/mocks/nvm_ls_remote.txt +613 -0
  122. package/test/fast/Unit tests/mocks/nvm_ls_remote_iojs.txt +41 -0
  123. package/test/fast/Unit tests/mocks/nvm_make_alias LTS alias calls.txt +8 -0
  124. package/test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stable nightly.txt +1 -0
  125. package/test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stable.txt +1 -0
  126. package/test/fast/Unit tests/mocks/project_dirs/inside-n_m-nested/node_modules/foo/bar/.gitkeep +0 -0
  127. package/test/fast/Unit tests/mocks/project_dirs/inside-n_m-nested-pkg/node_modules/foo/bar/.gitkeep +0 -0
  128. package/test/fast/Unit tests/mocks/project_dirs/inside-n_m-nested-pkg/node_modules/foo/package.json +0 -0
  129. package/test/fast/Unit tests/mocks/project_dirs/nested-both/a/b/c/d/.gitkeep +0 -0
  130. package/test/fast/Unit tests/mocks/project_dirs/nested-both/node_modules/.gitkeep +0 -0
  131. package/test/fast/Unit tests/mocks/project_dirs/nested-both/package.json +0 -0
  132. package/test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/b/c/d/.gitkeep +0 -0
  133. package/test/fast/Unit tests/mocks/project_dirs/nested-n_m/node_modules/.gitkeep +0 -0
  134. package/test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/b/c/d/.gitkeep +0 -0
  135. package/test/fast/Unit tests/mocks/project_dirs/nested-pkg/package.json +0 -0
  136. package/test/fast/Unit tests/mocks/project_dirs/no-nesting-both/node_modules/.gitkeep +0 -0
  137. package/test/fast/Unit tests/mocks/project_dirs/no-nesting-both/package.json +0 -0
  138. package/test/fast/Unit tests/mocks/project_dirs/no-nesting-n_m/node_modules/.gitkeep +0 -0
  139. package/test/fast/Unit tests/mocks/project_dirs/no-nesting-pkg/package.json +0 -0
  140. package/test/fast/Unit tests/nvm ls-remote +73 -0
  141. package/test/fast/Unit tests/nvm set_colors +52 -0
  142. package/test/fast/Unit tests/nvm version-remote +51 -0
  143. package/test/fast/Unit tests/nvm_add_iojs_prefix +9 -0
  144. package/test/fast/Unit tests/nvm_alias +32 -0
  145. package/test/fast/Unit tests/nvm_alias LTS-N +36 -0
  146. package/test/fast/Unit tests/nvm_alias_path +7 -0
  147. package/test/fast/Unit tests/nvm_change_path +57 -0
  148. package/test/fast/Unit tests/nvm_check_for_help +9 -0
  149. package/test/fast/Unit tests/nvm_clang_version +62 -0
  150. package/test/fast/Unit tests/nvm_command_info +58 -0
  151. package/test/fast/Unit tests/nvm_compare_checksum +72 -0
  152. package/test/fast/Unit tests/nvm_compute_checksum +23 -0
  153. package/test/fast/Unit tests/nvm_curl_libz_support +39 -0
  154. package/test/fast/Unit tests/nvm_curl_use_compression +38 -0
  155. package/test/fast/Unit tests/nvm_curl_version +32 -0
  156. package/test/fast/Unit tests/nvm_die_on_prefix +192 -0
  157. package/test/fast/Unit tests/nvm_download +18 -0
  158. package/test/fast/Unit tests/nvm_ensure_default_set +15 -0
  159. package/test/fast/Unit tests/nvm_ensure_version_installed +63 -0
  160. package/test/fast/Unit tests/nvm_ensure_version_prefix +12 -0
  161. package/test/fast/Unit tests/nvm_find_project_dir +33 -0
  162. package/test/fast/Unit tests/nvm_find_up +25 -0
  163. package/test/fast/Unit tests/nvm_format_version +20 -0
  164. package/test/fast/Unit tests/nvm_get_arch +84 -0
  165. package/test/fast/Unit tests/nvm_get_artifact_compression +22 -0
  166. package/test/fast/Unit tests/nvm_get_checksum +45 -0
  167. package/test/fast/Unit tests/nvm_get_checksum_alg +20 -0
  168. package/test/fast/Unit tests/nvm_get_checksum_binary +20 -0
  169. package/test/fast/Unit tests/nvm_get_colors +79 -0
  170. package/test/fast/Unit tests/nvm_get_default_packages +92 -0
  171. package/test/fast/Unit tests/nvm_get_download_slug +111 -0
  172. package/test/fast/Unit tests/nvm_get_latest missing curl or wget +20 -0
  173. package/test/fast/Unit tests/nvm_get_minor_version +45 -0
  174. package/test/fast/Unit tests/nvm_get_mirror +32 -0
  175. package/test/fast/Unit tests/nvm_has +11 -0
  176. package/test/fast/Unit tests/nvm_has_non_aliased +24 -0
  177. package/test/fast/Unit tests/nvm_has_solaris_binary +32 -0
  178. package/test/fast/Unit tests/nvm_has_system_iojs +27 -0
  179. package/test/fast/Unit tests/nvm_has_system_node +27 -0
  180. package/test/fast/Unit tests/nvm_install_binary_extract +59 -0
  181. package/test/fast/Unit tests/nvm_install_binary_nosource +30 -0
  182. package/test/fast/Unit tests/nvm_install_latest_npm +58 -0
  183. package/test/fast/Unit tests/nvm_install_no_progress_bar +43 -0
  184. package/test/fast/Unit tests/nvm_iojs_prefix +7 -0
  185. package/test/fast/Unit tests/nvm_iojs_version_has_solaris_binary +17 -0
  186. package/test/fast/Unit tests/nvm_is_alias +20 -0
  187. package/test/fast/Unit tests/nvm_is_iojs_version +10 -0
  188. package/test/fast/Unit tests/nvm_is_merged_node_version +10 -0
  189. package/test/fast/Unit tests/nvm_is_natural_num +17 -0
  190. package/test/fast/Unit tests/nvm_is_valid_version +13 -0
  191. package/test/fast/Unit tests/nvm_is_version_installed +54 -0
  192. package/test/fast/Unit tests/nvm_ls_current +39 -0
  193. package/test/fast/Unit tests/nvm_ls_remote +86 -0
  194. package/test/fast/Unit tests/nvm_ls_remote LTS aliases +49 -0
  195. package/test/fast/Unit tests/nvm_ls_remote nightly +65 -0
  196. package/test/fast/Unit tests/nvm_ls_remote_iojs +37 -0
  197. package/test/fast/Unit tests/nvm_make_alias +19 -0
  198. package/test/fast/Unit tests/nvm_node_prefix +7 -0
  199. package/test/fast/Unit tests/nvm_node_version_has_solaris_binary +33 -0
  200. package/test/fast/Unit tests/nvm_normalize_lts +38 -0
  201. package/test/fast/Unit tests/nvm_num_version_groups +24 -0
  202. package/test/fast/Unit tests/nvm_print_alias_path +44 -0
  203. package/test/fast/Unit tests/nvm_print_color_code +20 -0
  204. package/test/fast/Unit tests/nvm_print_default_alias +38 -0
  205. package/test/fast/Unit tests/nvm_print_implicit_alias errors +25 -0
  206. package/test/fast/Unit tests/nvm_print_implicit_alias success +106 -0
  207. package/test/fast/Unit tests/nvm_print_npm_version +28 -0
  208. package/test/fast/Unit tests/nvm_remote_version +78 -0
  209. package/test/fast/Unit tests/nvm_remote_versions +77 -0
  210. package/test/fast/Unit tests/nvm_stdout_is_terminal +32 -0
  211. package/test/fast/Unit tests/nvm_strip_iojs_prefix +10 -0
  212. package/test/fast/Unit tests/nvm_strip_path +18 -0
  213. package/test/fast/Unit tests/nvm_supports_xz +42 -0
  214. package/test/fast/Unit tests/nvm_tree_contains_path +31 -0
  215. package/test/fast/Unit tests/nvm_use_if_needed +24 -0
  216. package/test/fast/Unit tests/nvm_validate_implicit_alias +20 -0
  217. package/test/fast/Unit tests/nvm_version +48 -0
  218. package/test/fast/Unit tests/nvm_version_dir +11 -0
  219. package/test/fast/Unit tests/nvm_version_greater +15 -0
  220. package/test/fast/Unit tests/nvm_version_path +14 -0
  221. package/test/fast/nvm should remove the last trailing slash in $NVM_DIR +18 -0
  222. package/test/fast/setup +14 -0
  223. package/test/fast/setup_dir +18 -0
  224. package/test/fast/teardown +12 -0
  225. package/test/fast/teardown_dir +15 -0
  226. package/test/install_script/install_nvm_from_git +129 -0
  227. package/test/install_script/nvm_check_global_modules +63 -0
  228. package/test/install_script/nvm_detect_profile +118 -0
  229. package/test/install_script/nvm_do_install +8 -0
  230. package/test/install_script/nvm_download +18 -0
  231. package/test/install_script/nvm_install_dir +25 -0
  232. package/test/install_script/nvm_install_with_aliased_dot +24 -0
  233. package/test/install_script/nvm_install_with_node_version +12 -0
  234. package/test/install_script/nvm_profile_is_bash_or_zsh +13 -0
  235. package/test/install_script/nvm_reset +38 -0
  236. package/test/install_script/nvm_source +43 -0
  237. package/test/installation_iojs/install already installed uses it +25 -0
  238. package/test/installation_iojs/install from binary +22 -0
  239. package/test/installation_iojs/install from source +22 -0
  240. package/test/installation_iojs/install two versions and use the latest one +25 -0
  241. package/test/installation_iojs/install version specified in .nvmrc from binary +22 -0
  242. package/test/installation_iojs/install version specified in .nvmrc from source +23 -0
  243. package/test/installation_iojs/install while reinstalling packages +31 -0
  244. package/test/installation_iojs/nvm install v1 works +19 -0
  245. package/test/installation_iojs/setup_dir +5 -0
  246. package/test/installation_iojs/teardown_dir +16 -0
  247. package/test/installation_node/default-packages +123 -0
  248. package/test/installation_node/install LTS +29 -0
  249. package/test/installation_node/install already installed uses it +23 -0
  250. package/test/installation_node/install from binary +23 -0
  251. package/test/installation_node/install from binary with binary flag set +37 -0
  252. package/test/installation_node/install from source +29 -0
  253. package/test/installation_node/install from source implicitly +23 -0
  254. package/test/installation_node/install from source with thread parameter +33 -0
  255. package/test/installation_node/install from source without V8 snapshot for ARM +25 -0
  256. package/test/installation_node/install hook +45 -0
  257. package/test/installation_node/install latest npm +51 -0
  258. package/test/installation_node/install two versions and use the latest one +24 -0
  259. package/test/installation_node/install version specified in .nvmrc from binary +20 -0
  260. package/test/installation_node/install version specified in .nvmrc from source +20 -0
  261. package/test/installation_node/install while reinstalling packages +46 -0
  262. package/test/installation_node/install with --alias +11 -0
  263. package/test/installation_node/install with --default +11 -0
  264. package/test/installation_node/install with --latest-npm +12 -0
  265. package/test/installation_node/setup_dir +5 -0
  266. package/test/installation_node/teardown_dir +18 -0
  267. package/test/mocks/isainfo_amd64 +5 -0
  268. package/test/mocks/isainfo_x86 +5 -0
  269. package/test/mocks/pkg_info_amd64 +4 -0
  270. package/test/mocks/pkg_info_fail +1 -0
  271. package/test/mocks/pkg_info_x86 +1 -0
  272. package/test/mocks/uname_osx_amd64 +5 -0
  273. package/test/mocks/uname_osx_x86 +5 -0
  274. package/test/mocks/uname_smartos_amd64 +5 -0
  275. package/test/mocks/uname_smartos_x86 +5 -0
  276. package/test/slow/Running 'nvm current' should display current nvm environment +9 -0
  277. package/test/slow/node 0.6.21 should install 0.6.21-pre +11 -0
  278. package/test/slow/nvm exec/Preamble works and respects 'silent' flag +30 -0
  279. package/test/slow/nvm exec/Running 'nvm exec --lts' should work +18 -0
  280. package/test/slow/nvm exec/Running 'nvm exec 0.x' should work +15 -0
  281. package/test/slow/nvm exec/Running 'nvm exec' should pick up .nvmrc version +16 -0
  282. package/test/slow/nvm exec/Running 'nvm exec' with help should not parse +9 -0
  283. package/test/slow/nvm exec/setup_dir +10 -0
  284. package/test/slow/nvm exec/teardown_dir +13 -0
  285. package/test/slow/nvm reinstall-packages/Running 'nvm copy-packages $(nvm ls current)' should error out +17 -0
  286. package/test/slow/nvm reinstall-packages/setup_dir +11 -0
  287. package/test/slow/nvm reinstall-packages/should work as expected +31 -0
  288. package/test/slow/nvm reinstall-packages/teardown_dir +13 -0
  289. package/test/slow/nvm reinstall-packages/test-npmlink/index.js +2 -0
  290. package/test/slow/nvm reinstall-packages/test-npmlink/package.json +10 -0
  291. package/test/slow/nvm reinstall-packages/works with no installs +18 -0
  292. package/test/slow/nvm run/Running 'nvm run --harmony --version' should work +8 -0
  293. package/test/slow/nvm run/Running 'nvm run --lts' should work +15 -0
  294. package/test/slow/nvm run/Running 'nvm run 0.x' should error out sensibly when 0.x is not installed +16 -0
  295. package/test/slow/nvm run/Running 'nvm run 0.x' should work +8 -0
  296. package/test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version +12 -0
  297. package/test/slow/nvm run/setup_dir +11 -0
  298. package/test/slow/nvm run/teardown_dir +14 -0
  299. package/test/slow/nvm uninstall/Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 +33 -0
  300. package/test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely +30 -0
  301. package/test/slow/nvm uninstall/setup_dir +4 -0
  302. package/test/slow/nvm uninstall/teardown_dir +5 -0
  303. package/test/slow/nvm use/Running 'nvm use --lts' uses latest LTS version +22 -0
  304. package/test/slow/nvm use/Running 'nvm use --lts=foo' uses latest 'foo' LTS version +22 -0
  305. package/test/slow/nvm use/Running 'nvm use iojs' uses latest io.js version +20 -0
  306. package/test/slow/nvm use/Running 'nvm use node --silent' doesn't print anything +13 -0
  307. package/test/slow/nvm use/Running 'nvm use node' uses latest stable node version +20 -0
  308. package/test/slow/nvm use/Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version +20 -0
  309. package/test/slow/nvm use/Running 'nvm use' calls 'nvm_die_on_prefix' +22 -0
  310. package/test/slow/nvm use/setup_dir +23 -0
  311. package/test/slow/nvm use/teardown_dir +22 -0
  312. package/test/slow/nvm_get_latest/nvm_get_latest +101 -0
  313. package/test/slow/nvm_get_latest/nvm_get_latest failed redirect +25 -0
  314. package/test/sourcing/Sourcing nvm.sh global alias bug +30 -0
  315. package/test/sourcing/Sourcing nvm.sh should keep version if one is active +20 -0
  316. package/test/sourcing/Sourcing nvm.sh should use the default if available and no nvm node is loaded +28 -0
  317. package/test/sourcing/Sourcing nvm.sh with --install and .nvmrc should install it +27 -0
  318. package/test/sourcing/Sourcing nvm.sh with --install should install the default +32 -0
  319. package/test/sourcing/Sourcing nvm.sh with --no-use should not use anything +31 -0
  320. package/test/sourcing/Sourcing nvm.sh with no default should return 0 +11 -0
  321. package/test/sourcing/setup +14 -0
  322. package/test/sourcing/teardown +7 -0
  323. package/update_test_mocks.sh +59 -0
@@ -0,0 +1,613 @@
1
+ v0.1.14
2
+ v0.1.15
3
+ v0.1.16
4
+ v0.1.17
5
+ v0.1.18
6
+ v0.1.19
7
+ v0.1.20
8
+ v0.1.21
9
+ v0.1.22
10
+ v0.1.23
11
+ v0.1.24
12
+ v0.1.25
13
+ v0.1.26
14
+ v0.1.27
15
+ v0.1.28
16
+ v0.1.29
17
+ v0.1.30
18
+ v0.1.31
19
+ v0.1.32
20
+ v0.1.33
21
+ v0.1.90
22
+ v0.1.91
23
+ v0.1.92
24
+ v0.1.93
25
+ v0.1.94
26
+ v0.1.95
27
+ v0.1.96
28
+ v0.1.97
29
+ v0.1.98
30
+ v0.1.99
31
+ v0.1.100
32
+ v0.1.101
33
+ v0.1.102
34
+ v0.1.103
35
+ v0.1.104
36
+ v0.2.0
37
+ v0.2.1
38
+ v0.2.2
39
+ v0.2.3
40
+ v0.2.4
41
+ v0.2.5
42
+ v0.2.6
43
+ v0.3.0
44
+ v0.3.1
45
+ v0.3.2
46
+ v0.3.3
47
+ v0.3.4
48
+ v0.3.5
49
+ v0.3.6
50
+ v0.3.7
51
+ v0.3.8
52
+ v0.4.0
53
+ v0.4.1
54
+ v0.4.2
55
+ v0.4.3
56
+ v0.4.4
57
+ v0.4.5
58
+ v0.4.6
59
+ v0.4.7
60
+ v0.4.8
61
+ v0.4.9
62
+ v0.4.10
63
+ v0.4.11
64
+ v0.4.12
65
+ v0.5.0
66
+ v0.5.1
67
+ v0.5.2
68
+ v0.5.3
69
+ v0.5.4
70
+ v0.5.5
71
+ v0.5.6
72
+ v0.5.7
73
+ v0.5.8
74
+ v0.5.9
75
+ v0.5.10
76
+ v0.6.0
77
+ v0.6.1
78
+ v0.6.2
79
+ v0.6.3
80
+ v0.6.4
81
+ v0.6.5
82
+ v0.6.6
83
+ v0.6.7
84
+ v0.6.8
85
+ v0.6.9
86
+ v0.6.10
87
+ v0.6.11
88
+ v0.6.12
89
+ v0.6.13
90
+ v0.6.14
91
+ v0.6.15
92
+ v0.6.16
93
+ v0.6.17
94
+ v0.6.18
95
+ v0.6.19
96
+ v0.6.20
97
+ v0.6.21
98
+ v0.7.0
99
+ v0.7.1
100
+ v0.7.2
101
+ v0.7.3
102
+ v0.7.4
103
+ v0.7.5
104
+ v0.7.6
105
+ v0.7.7
106
+ v0.7.8
107
+ v0.7.9
108
+ v0.7.10
109
+ v0.7.11
110
+ v0.7.12
111
+ v0.8.0
112
+ v0.8.1
113
+ v0.8.2
114
+ v0.8.3
115
+ v0.8.4
116
+ v0.8.5
117
+ v0.8.6
118
+ v0.8.7
119
+ v0.8.8
120
+ v0.8.9
121
+ v0.8.10
122
+ v0.8.11
123
+ v0.8.12
124
+ v0.8.13
125
+ v0.8.14
126
+ v0.8.15
127
+ v0.8.16
128
+ v0.8.17
129
+ v0.8.18
130
+ v0.8.19
131
+ v0.8.20
132
+ v0.8.21
133
+ v0.8.22
134
+ v0.8.23
135
+ v0.8.24
136
+ v0.8.25
137
+ v0.8.26
138
+ v0.8.27
139
+ v0.8.28
140
+ v0.9.0
141
+ v0.9.1
142
+ v0.9.2
143
+ v0.9.3
144
+ v0.9.4
145
+ v0.9.5
146
+ v0.9.6
147
+ v0.9.7
148
+ v0.9.8
149
+ v0.9.9
150
+ v0.9.10
151
+ v0.9.11
152
+ v0.9.12
153
+ v0.10.0
154
+ v0.10.1
155
+ v0.10.2
156
+ v0.10.3
157
+ v0.10.4
158
+ v0.10.5
159
+ v0.10.6
160
+ v0.10.7
161
+ v0.10.8
162
+ v0.10.9
163
+ v0.10.10
164
+ v0.10.11
165
+ v0.10.12
166
+ v0.10.13
167
+ v0.10.14
168
+ v0.10.15
169
+ v0.10.16
170
+ v0.10.17
171
+ v0.10.18
172
+ v0.10.19
173
+ v0.10.20
174
+ v0.10.21
175
+ v0.10.22
176
+ v0.10.23
177
+ v0.10.24
178
+ v0.10.25
179
+ v0.10.26
180
+ v0.10.27
181
+ v0.10.28
182
+ v0.10.29
183
+ v0.10.30
184
+ v0.10.31
185
+ v0.10.32
186
+ v0.10.33
187
+ v0.10.34
188
+ v0.10.35
189
+ v0.10.36
190
+ v0.10.37
191
+ v0.10.38
192
+ v0.10.39
193
+ v0.10.40
194
+ v0.10.41
195
+ v0.10.42
196
+ v0.10.43
197
+ v0.10.44
198
+ v0.10.45
199
+ v0.10.46
200
+ v0.10.47
201
+ v0.10.48
202
+ v0.11.0
203
+ v0.11.1
204
+ v0.11.2
205
+ v0.11.3
206
+ v0.11.4
207
+ v0.11.5
208
+ v0.11.6
209
+ v0.11.7
210
+ v0.11.8
211
+ v0.11.9
212
+ v0.11.10
213
+ v0.11.11
214
+ v0.11.12
215
+ v0.11.13
216
+ v0.11.14
217
+ v0.11.15
218
+ v0.11.16
219
+ v0.12.0
220
+ v0.12.1
221
+ v0.12.2
222
+ v0.12.3
223
+ v0.12.4
224
+ v0.12.5
225
+ v0.12.6
226
+ v0.12.7
227
+ v0.12.8
228
+ v0.12.9
229
+ v0.12.10
230
+ v0.12.11
231
+ v0.12.12
232
+ v0.12.13
233
+ v0.12.14
234
+ v0.12.15
235
+ v0.12.16
236
+ v0.12.17
237
+ v0.12.18
238
+ v4.0.0
239
+ v4.1.0
240
+ v4.1.1
241
+ v4.1.2
242
+ v4.2.0 Argon
243
+ v4.2.1 Argon
244
+ v4.2.2 Argon
245
+ v4.2.3 Argon
246
+ v4.2.4 Argon
247
+ v4.2.5 Argon
248
+ v4.2.6 Argon
249
+ v4.3.0 Argon
250
+ v4.3.1 Argon
251
+ v4.3.2 Argon
252
+ v4.4.0 Argon
253
+ v4.4.1 Argon
254
+ v4.4.2 Argon
255
+ v4.4.3 Argon
256
+ v4.4.4 Argon
257
+ v4.4.5 Argon
258
+ v4.4.6 Argon
259
+ v4.4.7 Argon
260
+ v4.5.0 Argon
261
+ v4.6.0 Argon
262
+ v4.6.1 Argon
263
+ v4.6.2 Argon
264
+ v4.7.0 Argon
265
+ v4.7.1 Argon
266
+ v4.7.2 Argon
267
+ v4.7.3 Argon
268
+ v4.8.0 Argon
269
+ v4.8.1 Argon
270
+ v4.8.2 Argon
271
+ v4.8.3 Argon
272
+ v4.8.4 Argon
273
+ v4.8.5 Argon
274
+ v4.8.6 Argon
275
+ v4.8.7 Argon
276
+ v4.9.0 Argon
277
+ v4.9.1 Argon *
278
+ v5.0.0
279
+ v5.1.0
280
+ v5.1.1
281
+ v5.2.0
282
+ v5.3.0
283
+ v5.4.0
284
+ v5.4.1
285
+ v5.5.0
286
+ v5.6.0
287
+ v5.7.0
288
+ v5.7.1
289
+ v5.8.0
290
+ v5.9.0
291
+ v5.9.1
292
+ v5.10.0
293
+ v5.10.1
294
+ v5.11.0
295
+ v5.11.1
296
+ v5.12.0
297
+ v6.0.0
298
+ v6.1.0
299
+ v6.2.0
300
+ v6.2.1
301
+ v6.2.2
302
+ v6.3.0
303
+ v6.3.1
304
+ v6.4.0
305
+ v6.5.0
306
+ v6.6.0
307
+ v6.7.0
308
+ v6.8.0
309
+ v6.8.1
310
+ v6.9.0 Boron
311
+ v6.9.1 Boron
312
+ v6.9.2 Boron
313
+ v6.9.3 Boron
314
+ v6.9.4 Boron
315
+ v6.9.5 Boron
316
+ v6.10.0 Boron
317
+ v6.10.1 Boron
318
+ v6.10.2 Boron
319
+ v6.10.3 Boron
320
+ v6.11.0 Boron
321
+ v6.11.1 Boron
322
+ v6.11.2 Boron
323
+ v6.11.3 Boron
324
+ v6.11.4 Boron
325
+ v6.11.5 Boron
326
+ v6.12.0 Boron
327
+ v6.12.1 Boron
328
+ v6.12.2 Boron
329
+ v6.12.3 Boron
330
+ v6.13.0 Boron
331
+ v6.13.1 Boron
332
+ v6.14.0 Boron
333
+ v6.14.1 Boron
334
+ v6.14.2 Boron
335
+ v6.14.3 Boron
336
+ v6.14.4 Boron
337
+ v6.15.0 Boron
338
+ v6.15.1 Boron
339
+ v6.16.0 Boron
340
+ v6.17.0 Boron
341
+ v6.17.1 Boron *
342
+ v7.0.0
343
+ v7.1.0
344
+ v7.2.0
345
+ v7.2.1
346
+ v7.3.0
347
+ v7.4.0
348
+ v7.5.0
349
+ v7.6.0
350
+ v7.7.0
351
+ v7.7.1
352
+ v7.7.2
353
+ v7.7.3
354
+ v7.7.4
355
+ v7.8.0
356
+ v7.9.0
357
+ v7.10.0
358
+ v7.10.1
359
+ v8.0.0
360
+ v8.1.0
361
+ v8.1.1
362
+ v8.1.2
363
+ v8.1.3
364
+ v8.1.4
365
+ v8.2.0
366
+ v8.2.1
367
+ v8.3.0
368
+ v8.4.0
369
+ v8.5.0
370
+ v8.6.0
371
+ v8.7.0
372
+ v8.8.0
373
+ v8.8.1
374
+ v8.9.0 Carbon
375
+ v8.9.1 Carbon
376
+ v8.9.2 Carbon
377
+ v8.9.3 Carbon
378
+ v8.9.4 Carbon
379
+ v8.10.0 Carbon
380
+ v8.11.0 Carbon
381
+ v8.11.1 Carbon
382
+ v8.11.2 Carbon
383
+ v8.11.3 Carbon
384
+ v8.11.4 Carbon
385
+ v8.12.0 Carbon
386
+ v8.13.0 Carbon
387
+ v8.14.0 Carbon
388
+ v8.14.1 Carbon
389
+ v8.15.0 Carbon
390
+ v8.15.1 Carbon
391
+ v8.16.0 Carbon
392
+ v8.16.1 Carbon
393
+ v8.16.2 Carbon
394
+ v8.17.0 Carbon *
395
+ v9.0.0
396
+ v9.1.0
397
+ v9.2.0
398
+ v9.2.1
399
+ v9.3.0
400
+ v9.4.0
401
+ v9.5.0
402
+ v9.6.0
403
+ v9.6.1
404
+ v9.7.0
405
+ v9.7.1
406
+ v9.8.0
407
+ v9.9.0
408
+ v9.10.0
409
+ v9.10.1
410
+ v9.11.0
411
+ v9.11.1
412
+ v9.11.2
413
+ v10.0.0
414
+ v10.1.0
415
+ v10.2.0
416
+ v10.2.1
417
+ v10.3.0
418
+ v10.4.0
419
+ v10.4.1
420
+ v10.5.0
421
+ v10.6.0
422
+ v10.7.0
423
+ v10.8.0
424
+ v10.9.0
425
+ v10.10.0
426
+ v10.11.0
427
+ v10.12.0
428
+ v10.13.0 Dubnium
429
+ v10.14.0 Dubnium
430
+ v10.14.1 Dubnium
431
+ v10.14.2 Dubnium
432
+ v10.15.0 Dubnium
433
+ v10.15.1 Dubnium
434
+ v10.15.2 Dubnium
435
+ v10.15.3 Dubnium
436
+ v10.16.0 Dubnium
437
+ v10.16.1 Dubnium
438
+ v10.16.2 Dubnium
439
+ v10.16.3 Dubnium
440
+ v10.17.0 Dubnium
441
+ v10.18.0 Dubnium
442
+ v10.18.1 Dubnium
443
+ v10.19.0 Dubnium
444
+ v10.20.0 Dubnium
445
+ v10.20.1 Dubnium
446
+ v10.21.0 Dubnium
447
+ v10.22.0 Dubnium
448
+ v10.22.1 Dubnium
449
+ v10.23.0 Dubnium
450
+ v10.23.1 Dubnium
451
+ v10.23.2 Dubnium
452
+ v10.23.3 Dubnium
453
+ v10.24.0 Dubnium
454
+ v10.24.1 Dubnium *
455
+ v11.0.0
456
+ v11.1.0
457
+ v11.2.0
458
+ v11.3.0
459
+ v11.4.0
460
+ v11.5.0
461
+ v11.6.0
462
+ v11.7.0
463
+ v11.8.0
464
+ v11.9.0
465
+ v11.10.0
466
+ v11.10.1
467
+ v11.11.0
468
+ v11.12.0
469
+ v11.13.0
470
+ v11.14.0
471
+ v11.15.0
472
+ v12.0.0
473
+ v12.1.0
474
+ v12.2.0
475
+ v12.3.0
476
+ v12.3.1
477
+ v12.4.0
478
+ v12.5.0
479
+ v12.6.0
480
+ v12.7.0
481
+ v12.8.0
482
+ v12.8.1
483
+ v12.9.0
484
+ v12.9.1
485
+ v12.10.0
486
+ v12.11.0
487
+ v12.11.1
488
+ v12.12.0
489
+ v12.13.0 Erbium
490
+ v12.13.1 Erbium
491
+ v12.14.0 Erbium
492
+ v12.14.1 Erbium
493
+ v12.15.0 Erbium
494
+ v12.16.0 Erbium
495
+ v12.16.1 Erbium
496
+ v12.16.2 Erbium
497
+ v12.16.3 Erbium
498
+ v12.17.0 Erbium
499
+ v12.18.0 Erbium
500
+ v12.18.1 Erbium
501
+ v12.18.2 Erbium
502
+ v12.18.3 Erbium
503
+ v12.18.4 Erbium
504
+ v12.19.0 Erbium
505
+ v12.19.1 Erbium
506
+ v12.20.0 Erbium
507
+ v12.20.1 Erbium
508
+ v12.20.2 Erbium
509
+ v12.21.0 Erbium
510
+ v12.22.0 Erbium
511
+ v12.22.1 Erbium
512
+ v12.22.2 Erbium
513
+ v12.22.3 Erbium
514
+ v12.22.4 Erbium
515
+ v12.22.5 Erbium
516
+ v12.22.6 Erbium
517
+ v12.22.7 Erbium
518
+ v12.22.8 Erbium *
519
+ v13.0.0
520
+ v13.0.1
521
+ v13.1.0
522
+ v13.2.0
523
+ v13.3.0
524
+ v13.4.0
525
+ v13.5.0
526
+ v13.6.0
527
+ v13.7.0
528
+ v13.8.0
529
+ v13.9.0
530
+ v13.10.0
531
+ v13.10.1
532
+ v13.11.0
533
+ v13.12.0
534
+ v13.13.0
535
+ v13.14.0
536
+ v14.0.0
537
+ v14.1.0
538
+ v14.2.0
539
+ v14.3.0
540
+ v14.4.0
541
+ v14.5.0
542
+ v14.6.0
543
+ v14.7.0
544
+ v14.8.0
545
+ v14.9.0
546
+ v14.10.0
547
+ v14.10.1
548
+ v14.11.0
549
+ v14.12.0
550
+ v14.13.0
551
+ v14.13.1
552
+ v14.14.0
553
+ v14.15.0 Fermium
554
+ v14.15.1 Fermium
555
+ v14.15.2 Fermium
556
+ v14.15.3 Fermium
557
+ v14.15.4 Fermium
558
+ v14.15.5 Fermium
559
+ v14.16.0 Fermium
560
+ v14.16.1 Fermium
561
+ v14.17.0 Fermium
562
+ v14.17.1 Fermium
563
+ v14.17.2 Fermium
564
+ v14.17.3 Fermium
565
+ v14.17.4 Fermium
566
+ v14.17.5 Fermium
567
+ v14.17.6 Fermium
568
+ v14.18.0 Fermium
569
+ v14.18.1 Fermium
570
+ v14.18.2 Fermium *
571
+ v15.0.0
572
+ v15.0.1
573
+ v15.1.0
574
+ v15.2.0
575
+ v15.2.1
576
+ v15.3.0
577
+ v15.4.0
578
+ v15.5.0
579
+ v15.5.1
580
+ v15.6.0
581
+ v15.7.0
582
+ v15.8.0
583
+ v15.9.0
584
+ v15.10.0
585
+ v15.11.0
586
+ v15.12.0
587
+ v15.13.0
588
+ v15.14.0
589
+ v16.0.0
590
+ v16.1.0
591
+ v16.2.0
592
+ v16.3.0
593
+ v16.4.0
594
+ v16.4.1
595
+ v16.4.2
596
+ v16.5.0
597
+ v16.6.0
598
+ v16.6.1
599
+ v16.6.2
600
+ v16.7.0
601
+ v16.8.0
602
+ v16.9.0
603
+ v16.9.1
604
+ v16.10.0
605
+ v16.11.0
606
+ v16.11.1
607
+ v16.12.0
608
+ v16.13.0 Gallium
609
+ v16.13.1 Gallium *
610
+ v17.0.0
611
+ v17.0.1
612
+ v17.1.0
613
+ v17.2.0
@@ -0,0 +1,41 @@
1
+ iojs-v1.0.0
2
+ iojs-v1.0.1
3
+ iojs-v1.0.2
4
+ iojs-v1.0.3
5
+ iojs-v1.0.4
6
+ iojs-v1.1.0
7
+ iojs-v1.2.0
8
+ iojs-v1.3.0
9
+ iojs-v1.4.1
10
+ iojs-v1.4.2
11
+ iojs-v1.4.3
12
+ iojs-v1.5.0
13
+ iojs-v1.5.1
14
+ iojs-v1.6.0
15
+ iojs-v1.6.1
16
+ iojs-v1.6.2
17
+ iojs-v1.6.3
18
+ iojs-v1.6.4
19
+ iojs-v1.7.1
20
+ iojs-v1.8.1
21
+ iojs-v1.8.2
22
+ iojs-v1.8.3
23
+ iojs-v1.8.4
24
+ iojs-v2.0.0
25
+ iojs-v2.0.1
26
+ iojs-v2.0.2
27
+ iojs-v2.1.0
28
+ iojs-v2.2.0
29
+ iojs-v2.2.1
30
+ iojs-v2.3.0
31
+ iojs-v2.3.1
32
+ iojs-v2.3.2
33
+ iojs-v2.3.3
34
+ iojs-v2.3.4
35
+ iojs-v2.4.0
36
+ iojs-v2.5.0
37
+ iojs-v3.0.0
38
+ iojs-v3.1.0
39
+ iojs-v3.2.0
40
+ iojs-v3.3.0
41
+ iojs-v3.3.1
@@ -0,0 +1,8 @@
1
+ lts/*|lts/gallium
2
+ lts/gallium|v16.13.1
3
+ lts/fermium|v14.18.2
4
+ lts/erbium|v12.22.8
5
+ lts/dubnium|v10.24.1
6
+ lts/carbon|v8.17.0
7
+ lts/boron|v6.17.1
8
+ lts/argon|v4.9.1