msg-net 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of msg-net might be problematic. Click here for more details.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.config/configstore/update-notifier-npm.json +10 -0
- package/.config/configstore/update-notifier-npm.json.1735545094 +4 -0
- package/.config/nvm/.dockerignore +16 -0
- package/.config/nvm/.editorconfig +28 -0
- package/.config/nvm/.gitattributes +1 -0
- package/.config/nvm/.github/FUNDING.yml +12 -0
- package/.config/nvm/.github/ISSUE_TEMPLATE.md +44 -0
- package/.config/nvm/.github/SECURITY.md +3 -0
- package/.config/nvm/.github/workflows/latest-npm.yml +81 -0
- package/.config/nvm/.github/workflows/lint.yml +77 -0
- package/.config/nvm/.github/workflows/rebase.yml +23 -0
- package/.config/nvm/.github/workflows/release.yml +32 -0
- package/.config/nvm/.github/workflows/require-allow-edits.yml +21 -0
- package/.config/nvm/.github/workflows/shellcheck.yml +58 -0
- package/.config/nvm/.github/workflows/tests.yml +56 -0
- package/.config/nvm/.github/workflows/toc.yml +37 -0
- package/.config/nvm/.github/workflows/windows-npm.yml +134 -0
- package/.config/nvm/.mailmap +1 -0
- package/.config/nvm/.travis.yml +100 -0
- package/.config/nvm/CODE_OF_CONDUCT.md +125 -0
- package/.config/nvm/CONTRIBUTING.md +115 -0
- package/.config/nvm/Dockerfile +111 -0
- package/.config/nvm/GOVERNANCE.md +10 -0
- package/.config/nvm/LICENSE.md +22 -0
- package/.config/nvm/Makefile +85 -0
- package/.config/nvm/PROJECT_CHARTER.md +49 -0
- package/.config/nvm/README.md +1047 -0
- package/.config/nvm/ROADMAP.md +9 -0
- package/.config/nvm/bash_completion +99 -0
- package/.config/nvm/install.sh +479 -0
- package/.config/nvm/nvm-exec +17 -0
- package/.config/nvm/nvm.sh +4417 -0
- package/.config/nvm/package.json +51 -0
- package/.config/nvm/rename_test.sh +52 -0
- package/.config/nvm/test/common.sh +103 -0
- package/.config/nvm/test/fast/Aliases/'nvm alias' should not accept aliases with slashes +26 -0
- package/.config/nvm/test/fast/Aliases/'nvm unalias' should accept aliases when they shadow a built-in alias +17 -0
- package/.config/nvm/test/fast/Aliases/'nvm unalias' should not accept aliases with names equal to built-in alias +25 -0
- package/.config/nvm/test/fast/Aliases/'nvm unalias' should not accept aliases with slashes +26 -0
- package/.config/nvm/test/fast/Aliases/Running 'nvm alias /313/202aliasname/313/203 /313/202target/313/203' again should change the target" +24 -0
- package/.config/nvm/test/fast/Aliases/Running 'nvm alias /313/202aliasname/313/203' should list but one alias" +4 -0
- package/.config/nvm/test/fast/Aliases/Running 'nvm alias' lists implicit aliases when they do not exist +26 -0
- package/.config/nvm/test/fast/Aliases/Running 'nvm alias' lists manual aliases instead of implicit aliases when present +49 -0
- package/.config/nvm/test/fast/Aliases/Running 'nvm alias' should list all aliases +48 -0
- package/.config/nvm/test/fast/Aliases/circular/nvm_resolve_alias +36 -0
- package/.config/nvm/test/fast/Aliases/circular/nvm_resolve_local_alias +36 -0
- package/.config/nvm/test/fast/Aliases/circular/setup +9 -0
- package/.config/nvm/test/fast/Aliases/circular/teardown +9 -0
- package/.config/nvm/test/fast/Aliases/lts/'nvm alias' should ensure LTS alias dir exists +18 -0
- package/.config/nvm/test/fast/Aliases/lts/setup_dir +10 -0
- package/.config/nvm/test/fast/Aliases/lts/teardown_dir +10 -0
- package/.config/nvm/test/fast/Aliases/nvm_ensure_default_set +20 -0
- package/.config/nvm/test/fast/Aliases/nvm_list_aliases calls nvm_get_colors +22 -0
- package/.config/nvm/test/fast/Aliases/nvm_list_aliases works with LTS aliases +31 -0
- package/.config/nvm/test/fast/Aliases/nvm_list_aliases works with no LTS aliases present +21 -0
- package/.config/nvm/test/fast/Aliases/nvm_print_alias_path calls nvm_get_colors +28 -0
- package/.config/nvm/test/fast/Aliases/nvm_print_formatted_alias calls nvm_get_colors +21 -0
- package/.config/nvm/test/fast/Aliases/nvm_resolve_alias +33 -0
- package/.config/nvm/test/fast/Aliases/nvm_resolve_local_alias +35 -0
- package/.config/nvm/test/fast/Aliases/setup +16 -0
- package/.config/nvm/test/fast/Aliases/teardown +17 -0
- package/.config/nvm/test/fast/Listing paths/Running 'nvm which 0.0.2' should display only version 0.0.2 +27 -0
- package/.config/nvm/test/fast/Listing paths/Running 'nvm which foo' should return a nonzero exit code when not found +6 -0
- package/.config/nvm/test/fast/Listing paths/teardown +3 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias +34 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls --no-alias' with a pattern errors +15 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls 0.0.2' should display only version 0.0.2 +21 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls 0.2' should display only 0.2.x versions +42 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls foo' should return a nonzero exit code when not found +6 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls io' should return NA +6 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls node_' should return a nonzero exit code when not found +6 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias +29 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls system' should include 'system' when appropriate +21 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias +35 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should display all installed versions +44 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should filter out '.nvm' +10 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should filter out 'versions' +10 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should include 'system' when appropriate +21 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should list versions in the 'versions' directory +12 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' should not show a trailing slash +42 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version +11 -0
- package/.config/nvm/test/fast/Listing versions/Running 'nvm ls' with nounset should not fail +23 -0
- package/.config/nvm/test/fast/Listing versions/Using a nonstandard IFS should not break +19 -0
- package/.config/nvm/test/fast/Listing versions/teardown +16 -0
- package/.config/nvm/test/fast/Running 'nvm alias' should create a file in the alias directory +11 -0
- package/.config/nvm/test/fast/Running 'nvm current' should display current nvm environment +13 -0
- package/.config/nvm/test/fast/Running 'nvm deactivate' should unset the nvm environment variables +25 -0
- package/.config/nvm/test/fast/Running 'nvm install' with '--reinstall-packages-from' requires a valid version +59 -0
- package/.config/nvm/test/fast/Running 'nvm install' with an invalid version fails nicely +15 -0
- package/.config/nvm/test/fast/Running 'nvm unalias' should remove the alias file +13 -0
- package/.config/nvm/test/fast/Running 'nvm uninstall' should remove the appropriate directory +12 -0
- package/.config/nvm/test/fast/Running 'nvm uninstall' with incorrect file permissions fails nicely +14 -0
- package/.config/nvm/test/fast/Running 'nvm unload' should unset all function and variables +30 -0
- package/.config/nvm/test/fast/Running 'nvm use foo' where 'foo' is circular aborts +39 -0
- package/.config/nvm/test/fast/Running 'nvm use iojs' uses latest io.js version +37 -0
- package/.config/nvm/test/fast/Running 'nvm use system' should work as expected +44 -0
- package/.config/nvm/test/fast/Running 'nvm use x' should create and change the 'current' symlink +36 -0
- package/.config/nvm/test/fast/Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false +86 -0
- package/.config/nvm/test/fast/Running 'nvm use' should drop CR char automatically +33 -0
- package/.config/nvm/test/fast/Set Colors/nvm_echo_with_colors +21 -0
- package/.config/nvm/test/fast/Set Colors/nvm_err_with_colors +19 -0
- package/.config/nvm/test/fast/Set Colors/nvm_print_default_alias calls nvm_get_colors +24 -0
- package/.config/nvm/test/fast/Set Colors/nvm_print_versions calls nvm_get_colors +52 -0
- package/.config/nvm/test/fast/Sourcing nvm.sh should make the nvm command available +7 -0
- package/.config/nvm/test/fast/Sourcing nvm.sh should not modify parameters of caller +7 -0
- package/.config/nvm/test/fast/Unit tests/mocks/LTS_names.txt +8 -0
- package/.config/nvm/test/fast/Unit tests/mocks/iojs.org-dist-index.tab +42 -0
- package/.config/nvm/test/fast/Unit tests/mocks/lts-star.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nodejs.org-dist-index.tab +671 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nodejs.org-download-nightly-index.tab +2915 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm ls-remote iojs.txt +41 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm ls-remote lts.txt +194 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm ls-remote node.txt +670 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm ls-remote.txt +711 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote LTS argon.txt +36 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote LTS nightly argon.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote LTS nightly.txt +26 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote LTS.txt +194 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote nightly.txt +150 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote stable nightly.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote stable.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote.txt +670 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_ls_remote_iojs.txt +41 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_make_alias LTS alias calls.txt +9 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stable nightly.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stable.txt +1 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/nested-both/a/b/c/d/.gitkeep +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/nested-both/package.json +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/b/c/d/.gitkeep +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/b/c/d/.gitkeep +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/nested-pkg/package.json +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/no-nesting-both/package.json +0 -0
- package/.config/nvm/test/fast/Unit tests/mocks/project_dirs/no-nesting-pkg/package.json +0 -0
- package/.config/nvm/test/fast/Unit tests/nvm ls-remote +73 -0
- package/.config/nvm/test/fast/Unit tests/nvm set_colors +52 -0
- package/.config/nvm/test/fast/Unit tests/nvm version-remote +51 -0
- package/.config/nvm/test/fast/Unit tests/nvm_add_iojs_prefix +9 -0
- package/.config/nvm/test/fast/Unit tests/nvm_alias +32 -0
- package/.config/nvm/test/fast/Unit tests/nvm_alias LTS-N +36 -0
- package/.config/nvm/test/fast/Unit tests/nvm_alias_path +7 -0
- package/.config/nvm/test/fast/Unit tests/nvm_change_path +57 -0
- package/.config/nvm/test/fast/Unit tests/nvm_check_for_help +9 -0
- package/.config/nvm/test/fast/Unit tests/nvm_clang_version +62 -0
- package/.config/nvm/test/fast/Unit tests/nvm_command_info +58 -0
- package/.config/nvm/test/fast/Unit tests/nvm_compare_checksum +72 -0
- package/.config/nvm/test/fast/Unit tests/nvm_compute_checksum +23 -0
- package/.config/nvm/test/fast/Unit tests/nvm_curl_libz_support +39 -0
- package/.config/nvm/test/fast/Unit tests/nvm_curl_use_compression +38 -0
- package/.config/nvm/test/fast/Unit tests/nvm_curl_version +32 -0
- package/.config/nvm/test/fast/Unit tests/nvm_die_on_prefix +192 -0
- package/.config/nvm/test/fast/Unit tests/nvm_download +18 -0
- package/.config/nvm/test/fast/Unit tests/nvm_download_artifact +55 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ensure_default_set +15 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ensure_version_installed +72 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ensure_version_prefix +12 -0
- package/.config/nvm/test/fast/Unit tests/nvm_extract_tarball +12 -0
- package/.config/nvm/test/fast/Unit tests/nvm_find_project_dir +36 -0
- package/.config/nvm/test/fast/Unit tests/nvm_find_up +26 -0
- package/.config/nvm/test/fast/Unit tests/nvm_format_version +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_arch +85 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_artifact_compression +22 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_checksum +45 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_checksum_alg +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_checksum_binary +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_colors +79 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_default_packages +92 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_download_slug +111 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_latest missing curl or wget +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_minor_version +45 -0
- package/.config/nvm/test/fast/Unit tests/nvm_get_mirror +32 -0
- package/.config/nvm/test/fast/Unit tests/nvm_has +11 -0
- package/.config/nvm/test/fast/Unit tests/nvm_has_non_aliased +24 -0
- package/.config/nvm/test/fast/Unit tests/nvm_has_solaris_binary +32 -0
- package/.config/nvm/test/fast/Unit tests/nvm_has_system_iojs +27 -0
- package/.config/nvm/test/fast/Unit tests/nvm_has_system_node +27 -0
- package/.config/nvm/test/fast/Unit tests/nvm_install_binary_extract +59 -0
- package/.config/nvm/test/fast/Unit tests/nvm_install_binary_nosource +30 -0
- package/.config/nvm/test/fast/Unit tests/nvm_install_latest_npm +58 -0
- package/.config/nvm/test/fast/Unit tests/nvm_install_no_progress_bar +43 -0
- package/.config/nvm/test/fast/Unit tests/nvm_iojs_prefix +7 -0
- package/.config/nvm/test/fast/Unit tests/nvm_iojs_version_has_solaris_binary +17 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_alias +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_iojs_version +10 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_merged_node_version +10 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_natural_num +17 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_valid_version +13 -0
- package/.config/nvm/test/fast/Unit tests/nvm_is_version_installed +54 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ls_current +39 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ls_remote +86 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ls_remote LTS aliases +49 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ls_remote nightly +65 -0
- package/.config/nvm/test/fast/Unit tests/nvm_ls_remote_iojs +37 -0
- package/.config/nvm/test/fast/Unit tests/nvm_make_alias +19 -0
- package/.config/nvm/test/fast/Unit tests/nvm_node_prefix +7 -0
- package/.config/nvm/test/fast/Unit tests/nvm_node_version_has_solaris_binary +33 -0
- package/.config/nvm/test/fast/Unit tests/nvm_normalize_lts +38 -0
- package/.config/nvm/test/fast/Unit tests/nvm_num_version_groups +24 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_alias_path +44 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_color_code +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_default_alias +38 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_implicit_alias errors +25 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_implicit_alias success +106 -0
- package/.config/nvm/test/fast/Unit tests/nvm_print_npm_version +28 -0
- package/.config/nvm/test/fast/Unit tests/nvm_remote_version +78 -0
- package/.config/nvm/test/fast/Unit tests/nvm_remote_versions +77 -0
- package/.config/nvm/test/fast/Unit tests/nvm_stdout_is_terminal +32 -0
- package/.config/nvm/test/fast/Unit tests/nvm_strip_iojs_prefix +10 -0
- package/.config/nvm/test/fast/Unit tests/nvm_strip_path +24 -0
- package/.config/nvm/test/fast/Unit tests/nvm_supports_xz +42 -0
- package/.config/nvm/test/fast/Unit tests/nvm_tree_contains_path +31 -0
- package/.config/nvm/test/fast/Unit tests/nvm_use_if_needed +24 -0
- package/.config/nvm/test/fast/Unit tests/nvm_validate_implicit_alias +20 -0
- package/.config/nvm/test/fast/Unit tests/nvm_version +48 -0
- package/.config/nvm/test/fast/Unit tests/nvm_version_dir +11 -0
- package/.config/nvm/test/fast/Unit tests/nvm_version_greater +15 -0
- package/.config/nvm/test/fast/Unit tests/nvm_version_path +14 -0
- package/.config/nvm/test/fast/Unit tests/nvm_wrap_with_color_code +1 -0
- package/.config/nvm/test/fast/nvm should remove the last trailing slash in $NVM_DIR +18 -0
- package/.config/nvm/test/fast/setup +14 -0
- package/.config/nvm/test/fast/setup_dir +18 -0
- package/.config/nvm/test/fast/teardown +12 -0
- package/.config/nvm/test/fast/teardown_dir +15 -0
- package/.config/nvm/test/install_script/install_nvm_from_git +129 -0
- package/.config/nvm/test/install_script/nvm_check_global_modules +65 -0
- package/.config/nvm/test/install_script/nvm_detect_profile +126 -0
- package/.config/nvm/test/install_script/nvm_do_install +18 -0
- package/.config/nvm/test/install_script/nvm_download +18 -0
- package/.config/nvm/test/install_script/nvm_install_dir +25 -0
- package/.config/nvm/test/install_script/nvm_install_with_aliased_dot +24 -0
- package/.config/nvm/test/install_script/nvm_install_with_node_version +12 -0
- package/.config/nvm/test/install_script/nvm_profile_is_bash_or_zsh +14 -0
- package/.config/nvm/test/install_script/nvm_reset +38 -0
- package/.config/nvm/test/install_script/nvm_source +43 -0
- package/.config/nvm/test/installation_iojs/install already installed uses it +25 -0
- package/.config/nvm/test/installation_iojs/install from binary +22 -0
- package/.config/nvm/test/installation_iojs/install from source +22 -0
- package/.config/nvm/test/installation_iojs/install two versions and use the latest one +25 -0
- package/.config/nvm/test/installation_iojs/install version specified in .nvmrc from binary +22 -0
- package/.config/nvm/test/installation_iojs/install version specified in .nvmrc from source +23 -0
- package/.config/nvm/test/installation_iojs/install while reinstalling packages +31 -0
- package/.config/nvm/test/installation_iojs/nvm install v1 works +19 -0
- package/.config/nvm/test/installation_iojs/setup_dir +5 -0
- package/.config/nvm/test/installation_iojs/teardown_dir +16 -0
- package/.config/nvm/test/installation_node/default-packages +123 -0
- package/.config/nvm/test/installation_node/install LTS +29 -0
- package/.config/nvm/test/installation_node/install already installed uses it +23 -0
- package/.config/nvm/test/installation_node/install from binary +23 -0
- package/.config/nvm/test/installation_node/install from binary with binary flag set +37 -0
- package/.config/nvm/test/installation_node/install from source +29 -0
- package/.config/nvm/test/installation_node/install from source with thread parameter +33 -0
- package/.config/nvm/test/installation_node/install from source without V8 snapshot for ARM +25 -0
- package/.config/nvm/test/installation_node/install hook +45 -0
- package/.config/nvm/test/installation_node/install latest npm +51 -0
- package/.config/nvm/test/installation_node/install on bash with ERR trap and set -E +50 -0
- package/.config/nvm/test/installation_node/install two versions and use the latest one +24 -0
- package/.config/nvm/test/installation_node/install version specified in .nvmrc from binary +20 -0
- package/.config/nvm/test/installation_node/install while reinstalling packages +46 -0
- package/.config/nvm/test/installation_node/install with --alias +11 -0
- package/.config/nvm/test/installation_node/install with --default +11 -0
- package/.config/nvm/test/installation_node/install with --latest-npm +12 -0
- package/.config/nvm/test/installation_node/setup_dir +5 -0
- package/.config/nvm/test/installation_node/teardown_dir +18 -0
- package/.config/nvm/test/mocks/isainfo_amd64 +5 -0
- package/.config/nvm/test/mocks/isainfo_x86 +5 -0
- package/.config/nvm/test/mocks/pkg_info_amd64 +4 -0
- package/.config/nvm/test/mocks/pkg_info_fail +1 -0
- package/.config/nvm/test/mocks/pkg_info_x86 +1 -0
- package/.config/nvm/test/mocks/uname_linux_armv8l +5 -0
- package/.config/nvm/test/mocks/uname_osx_amd64 +5 -0
- package/.config/nvm/test/mocks/uname_osx_x86 +5 -0
- package/.config/nvm/test/mocks/uname_smartos_amd64 +5 -0
- package/.config/nvm/test/mocks/uname_smartos_x86 +5 -0
- package/.config/nvm/test/slow/Running 'nvm current' should display current nvm environment +9 -0
- package/.config/nvm/test/slow/nvm exec/Preamble works and respects 'silent' flag +30 -0
- package/.config/nvm/test/slow/nvm exec/Running 'nvm exec --lts' should work +18 -0
- package/.config/nvm/test/slow/nvm exec/Running 'nvm exec 0.x' should work +15 -0
- package/.config/nvm/test/slow/nvm exec/Running 'nvm exec' should pick up .nvmrc version +16 -0
- package/.config/nvm/test/slow/nvm exec/Running 'nvm exec' with help should not parse +9 -0
- package/.config/nvm/test/slow/nvm exec/setup_dir +10 -0
- package/.config/nvm/test/slow/nvm exec/teardown_dir +13 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/Running 'nvm copy-packages $(nvm ls current)' should error out +17 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/setup_dir +11 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/should work as expected +31 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/teardown_dir +13 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/test-npmlink/package.json +10 -0
- package/.config/nvm/test/slow/nvm reinstall-packages/works with no installs +18 -0
- package/.config/nvm/test/slow/nvm run/Running 'nvm run --harmony --version' should work +8 -0
- package/.config/nvm/test/slow/nvm run/Running 'nvm run --lts' should work +15 -0
- package/.config/nvm/test/slow/nvm run/Running 'nvm run 0.x' should error out sensibly when 0.x is not installed +16 -0
- package/.config/nvm/test/slow/nvm run/Running 'nvm run 0.x' should work +8 -0
- package/.config/nvm/test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version +25 -0
- package/.config/nvm/test/slow/nvm run/setup_dir +11 -0
- package/.config/nvm/test/slow/nvm run/teardown_dir +14 -0
- package/.config/nvm/test/slow/nvm uninstall/Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 +33 -0
- package/.config/nvm/test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely +30 -0
- package/.config/nvm/test/slow/nvm uninstall/setup_dir +4 -0
- package/.config/nvm/test/slow/nvm uninstall/teardown_dir +5 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use --lts' uses latest LTS version +22 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use --lts=foo' uses latest 'foo' LTS version +22 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use iojs' uses latest io.js version +20 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use node --silent' doesn't print anything +13 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use node' uses latest stable node version +20 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version +20 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use' calls 'nvm_die_on_prefix' +22 -0
- package/.config/nvm/test/slow/nvm use/Running 'nvm use' with nvmrc containing not intalled version +28 -0
- package/.config/nvm/test/slow/nvm use/setup_dir +23 -0
- package/.config/nvm/test/slow/nvm use/teardown_dir +22 -0
- package/.config/nvm/test/slow/nvm_get_latest/nvm_get_latest +101 -0
- package/.config/nvm/test/slow/nvm_get_latest/nvm_get_latest failed redirect +25 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh global alias bug +30 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh should keep version if one is active +20 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh should use the default if available and no nvm node is loaded +28 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh with --install and .nvmrc should install it +27 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh with --install should install the default +32 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh with --no-use should not use anything +31 -0
- package/.config/nvm/test/sourcing/Sourcing nvm.sh with no default should return 0 +11 -0
- package/.config/nvm/test/sourcing/setup +14 -0
- package/.config/nvm/test/sourcing/teardown +7 -0
- package/.config/nvm/test/xenial/install from source +29 -0
- package/.config/nvm/test/xenial/install from source implicitly +23 -0
- package/.config/nvm/test/xenial/install from source with thread parameter +33 -0
- package/.config/nvm/test/xenial/install from source without V8 snapshot for ARM +25 -0
- package/.config/nvm/test/xenial/install hook +45 -0
- package/.config/nvm/test/xenial/install version specified in .nvmrc from source +20 -0
- package/.config/nvm/test/xenial/node 0.6.21 should install 0.6.21-pre +11 -0
- package/.config/nvm/update_test_mocks.sh +59 -0
- package/.gitattributes +2 -0
- package/.replit +84 -0
- package/.upm/store.json +1 -0
- package/Extra/ExtraAddons.js +82 -0
- package/Extra/ExtraFindUID.js +62 -0
- package/Extra/ExtraGetThread.js +340 -0
- package/Extra/ExtraScreenShot.js +430 -0
- package/Extra/ExtraUptimeRobot.js +38 -0
- package/Extra/Html/Classic/script.js +833 -0
- package/Extra/Html/Classic/style.css +1222 -0
- package/Extra/Security/Step_1.js +6 -0
- package/Extra/Security/Step_2.js +22 -0
- package/Extra/Security/Step_3.js +22 -0
- package/Extra/Src/Change_Environment.js +24 -0
- package/Extra/Src/Check_Update.js +66 -0
- package/Extra/Src/History.js +115 -0
- package/Extra/Src/Instant_Update.js +64 -0
- package/Extra/Src/Last-Run.js +65 -0
- package/Extra/Src/Release_Memory.js +41 -0
- package/Extra/Src/image/checkmate.jpg +0 -0
- package/Extra/Src/uuid.js +137 -0
- package/Func/AcceptAgreement.js +31 -0
- package/Func/ClearCache.js +64 -0
- package/Func/ReportV1.js +54 -0
- package/Index.js +378 -0
- package/LICENSE +21 -0
- package/Language/index.json +224 -0
- package/Main.js +1110 -0
- package/README.md +1 -0
- package/broadcast.js +40 -0
- package/index.js +98 -0
- package/logger.js +66 -0
- package/package.json +228 -0
- package/replit.nix +8 -0
- package/src/Dev_Horizon_Data.js +125 -0
- package/src/Premium.js +25 -0
- package/src/Screenshot.js +83 -0
- package/src/addExternalModule.js +16 -0
- package/src/addUserToGroup.js +79 -0
- package/src/changeAdminStatus.js +79 -0
- package/src/changeArchivedStatus.js +41 -0
- package/src/changeAvt.js +85 -0
- package/src/changeBio.js +65 -0
- package/src/changeBlockedStatus.js +36 -0
- package/src/changeGroupImage.js +106 -0
- package/src/changeNickname.js +45 -0
- package/src/changeThreadColor.js +62 -0
- package/src/changeThreadEmoji.js +42 -0
- package/src/createNewGroup.js +70 -0
- package/src/createPoll.js +60 -0
- package/src/deleteMessage.js +45 -0
- package/src/deleteThread.js +43 -0
- package/src/forwardAttachment.js +48 -0
- package/src/getAccessToken.js +28 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +27 -0
- package/src/getFriendsList.js +73 -0
- package/src/getMessage.js +80 -0
- package/src/getThreadHistory.js +537 -0
- package/src/getThreadInfo.js +425 -0
- package/src/getThreadList.js +213 -0
- package/src/getThreadMain.js +220 -0
- package/src/getThreadPictures.js +59 -0
- package/src/getUID.js +59 -0
- package/src/getUserID.js +62 -0
- package/src/getUserInfo.js +113 -0
- package/src/getUserInfoMain.js +65 -0
- package/src/getUserInfoV2.js +32 -0
- package/src/getUserInfoV3.js +63 -0
- package/src/getUserInfoV4.js +55 -0
- package/src/getUserInfoV5.js +61 -0
- package/src/handleFriendRequest.js +46 -0
- package/src/handleMessageRequest.js +49 -0
- package/src/httpGet.js +49 -0
- package/src/httpPost.js +48 -0
- package/src/httpPostFormData.js +41 -0
- package/src/listenMqtt.js +786 -0
- package/src/logout.js +68 -0
- package/src/markAsDelivered.js +48 -0
- package/src/markAsRead.js +70 -0
- package/src/markAsReadAll.js +43 -0
- package/src/markAsSeen.js +51 -0
- package/src/muteThread.js +47 -0
- package/src/removeUserFromGroup.js +49 -0
- package/src/resolvePhotoUrl.js +37 -0
- package/src/searchForThread.js +43 -0
- package/src/sendMessage.js +379 -0
- package/src/sendTypingIndicator.js +80 -0
- package/src/setMessageReaction.js +109 -0
- package/src/setPostReaction.js +102 -0
- package/src/setTitle.js +74 -0
- package/src/threadColors.js +39 -0
- package/src/unfriend.js +43 -0
- package/src/unsendMessage.js +40 -0
- package/utils.js +1684 -0
@@ -0,0 +1,100 @@
|
|
1
|
+
language: generic
|
2
|
+
dist: focal
|
3
|
+
addons:
|
4
|
+
apt:
|
5
|
+
packages:
|
6
|
+
- zsh
|
7
|
+
# - ksh
|
8
|
+
# - gcc-4.8
|
9
|
+
# - g++-4.8
|
10
|
+
|
11
|
+
cache:
|
12
|
+
ccache: true
|
13
|
+
directories:
|
14
|
+
- $TRAVIS_BUILD_DIR/.cache
|
15
|
+
- $TRAVIS_BUILD_DIR/node_modules
|
16
|
+
before_install:
|
17
|
+
- sudo sed -i 's/mozilla\/DST_Root_CA_X3.crt/!mozilla\/DST_Root_CA_X3.crt/g' /etc/ca-certificates.conf
|
18
|
+
- sudo update-ca-certificates -f
|
19
|
+
- $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL
|
20
|
+
- curl --version
|
21
|
+
- wget --version
|
22
|
+
- bash --version | head
|
23
|
+
- zsh --version
|
24
|
+
- dpkg -s dash | grep ^Version | awk '{print $2}'
|
25
|
+
# install python
|
26
|
+
- pyenv install 2.7.18
|
27
|
+
- pyenv local 2.7.18 || echo 'pyenv failed'
|
28
|
+
- python -V
|
29
|
+
install:
|
30
|
+
- if [ -z "${SHELLCHECK-}" ]; then nvm install 16 && nvm unalias default && npm install && npm prune && npm ls urchin doctoc eclint dockerfile_lint; fi
|
31
|
+
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
|
32
|
+
script:
|
33
|
+
- if [ -n "${SHELL-}" ] && [ -n "${TEST_SUITE}" ]; then if [ "${TEST_SUITE}" = 'installation_iojs' ] || [ "${TEST_SUITE}" = 'xenial' ]; then travis_retry make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL ; else make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL; fi; fi
|
34
|
+
before_cache:
|
35
|
+
- if [ -n "$WITHOUT_CURL" ]; then sudo apt-get install curl -y ; fi
|
36
|
+
jobs:
|
37
|
+
include:
|
38
|
+
- env: SHELL=bash TEST_SUITE=installation_node
|
39
|
+
dist: xenial
|
40
|
+
- env: SHELL=bash TEST_SUITE=installation_node WITHOUT_CURL=1
|
41
|
+
dist: xenial
|
42
|
+
- env: SHELL=sh TEST_SUITE=installation_node
|
43
|
+
dist: xenial
|
44
|
+
- env: SHELL=sh TEST_SUITE=installation_node WITHOUT_CURL=1
|
45
|
+
dist: xenial
|
46
|
+
- env: SHELL=dash TEST_SUITE=installation_node
|
47
|
+
dist: xenial
|
48
|
+
- env: SHELL=dash TEST_SUITE=installation_node WITHOUT_CURL=1
|
49
|
+
dist: xenial
|
50
|
+
- env: SHELL=zsh TEST_SUITE=installation_node
|
51
|
+
dist: xenial
|
52
|
+
- env: SHELL=zsh TEST_SUITE=installation_node WITHOUT_CURL=1
|
53
|
+
dist: xenial
|
54
|
+
#- env: SHELL=ksh TEST_SUITE=installation_node
|
55
|
+
# dist: xenial
|
56
|
+
#- env: SHELL=ksh TEST_SUITE=installation_node WITHOUT_CURL=1
|
57
|
+
# dist: xenial
|
58
|
+
- env: SHELL=bash TEST_SUITE=xenial
|
59
|
+
dist: xenial
|
60
|
+
- env: SHELL=sh TEST_SUITE=xenial
|
61
|
+
dist: xenial
|
62
|
+
- env: SHELL=dash TEST_SUITE=xenial
|
63
|
+
dist: xenial
|
64
|
+
- env: SHELL=zsh TEST_SUITE=xenial
|
65
|
+
dist: xenial
|
66
|
+
#- env: SHELL=ksh TEST_SUITE=xenial
|
67
|
+
# dist: xenial
|
68
|
+
env:
|
69
|
+
global:
|
70
|
+
- CXX=g++
|
71
|
+
- CC=gcc
|
72
|
+
- PATH="$(echo $PATH | sed 's/::/:/')"
|
73
|
+
- PATH="/usr/lib/ccache/:$PATH"
|
74
|
+
- NVM_DIR="${TRAVIS_BUILD_DIR}"
|
75
|
+
matrix:
|
76
|
+
- SHELL=sh TEST_SUITE=fast
|
77
|
+
- SHELL=dash TEST_SUITE=fast
|
78
|
+
- SHELL=bash TEST_SUITE=fast
|
79
|
+
- SHELL=zsh TEST_SUITE=fast
|
80
|
+
# - SHELL=ksh TEST_SUITE=fast
|
81
|
+
- SHELL=sh TEST_SUITE=sourcing
|
82
|
+
- SHELL=dash TEST_SUITE=sourcing
|
83
|
+
- SHELL=bash TEST_SUITE=sourcing
|
84
|
+
- SHELL=zsh TEST_SUITE=sourcing
|
85
|
+
# - SHELL=ksh TEST_SUITE=sourcing
|
86
|
+
- SHELL=sh TEST_SUITE=slow
|
87
|
+
- SHELL=dash TEST_SUITE=slow
|
88
|
+
- SHELL=bash TEST_SUITE=slow
|
89
|
+
- SHELL=zsh TEST_SUITE=slow
|
90
|
+
# - SHELL=ksh TEST_SUITE=slow
|
91
|
+
- SHELL=sh TEST_SUITE=installation_iojs
|
92
|
+
- SHELL=sh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
93
|
+
- SHELL=dash TEST_SUITE=installation_iojs
|
94
|
+
- SHELL=dash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
95
|
+
- SHELL=bash TEST_SUITE=installation_iojs
|
96
|
+
- SHELL=bash TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
97
|
+
- SHELL=zsh TEST_SUITE=installation_iojs
|
98
|
+
- SHELL=zsh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
99
|
+
# - SHELL=ksh TEST_SUITE=installation_iojs
|
100
|
+
# - SHELL=ksh TEST_SUITE=installation_iojs WITHOUT_CURL=1
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# Code of Conduct
|
2
|
+
|
3
|
+
`nvm`, as a member project of the OpenJS Foundation, uses [Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) as their code of conduct. The full text is included [below](#contributor-covenant-code-of-conduct) in English, and translations are available from the Contributor Covenant organisation:
|
4
|
+
|
5
|
+
- [contributor-covenant.org/translations](https://www.contributor-covenant.org/translations)
|
6
|
+
- [github.com/ContributorCovenant](https://github.com/ContributorCovenant/contributor_covenant/tree/release/content/version/2/1)
|
7
|
+
|
8
|
+
Refer to the sections on reporting and escalation in this document for the specific emails that can be used to report and escalate issues.
|
9
|
+
|
10
|
+
## Reporting
|
11
|
+
|
12
|
+
### Project Spaces
|
13
|
+
|
14
|
+
For reporting issues in spaces related to `nvm` please use the email `ljharb@gmail.com`. `nvm` handles CoC issues related to the spaces that it maintains. Projects maintainers commit to:
|
15
|
+
|
16
|
+
- maintain the confidentiality with regard to the reporter of an incident
|
17
|
+
- to participate in the path for escalation as outlined in the section on Escalation when required.
|
18
|
+
|
19
|
+
### Foundation Spaces
|
20
|
+
|
21
|
+
For reporting issues in spaces managed by the OpenJS Foundation, for example, repositories within the OpenJS organization, use the email `report@lists.openjsf.org`.
|
22
|
+
The Cross Project Council (CPC) is responsible for managing these reports and commits to:
|
23
|
+
|
24
|
+
- maintain the confidentiality with regard to the reporter of an incident
|
25
|
+
- to participate in the path for escalation as outlined in the section on Escalation when required.
|
26
|
+
|
27
|
+
## Escalation
|
28
|
+
|
29
|
+
The OpenJS Foundation maintains a Code of Conduct Panel (CoCP).
|
30
|
+
This is a foundation-wide team established to manage escalation when a reporter believes that a report to a member project or the CPC has not been properly handled.
|
31
|
+
In order to escalate to the CoCP send an email to `coc-escalation@lists.openjsf.org`.
|
32
|
+
|
33
|
+
For more information, refer to the full [Code of Conduct governance document](https://github.com/openjs-foundation/cross-project-council/blob/HEAD/CODE_OF_CONDUCT.md).
|
34
|
+
|
35
|
+
---
|
36
|
+
|
37
|
+
# Contributor Covenant Code of Conduct
|
38
|
+
|
39
|
+
## Our Pledge
|
40
|
+
|
41
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
42
|
+
|
43
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
44
|
+
|
45
|
+
## Our Standards
|
46
|
+
|
47
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
48
|
+
|
49
|
+
* Demonstrating empathy and kindness toward other people
|
50
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
51
|
+
* Giving and gracefully accepting constructive feedback
|
52
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
53
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
54
|
+
|
55
|
+
Examples of unacceptable behavior include:
|
56
|
+
|
57
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
58
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
59
|
+
* Public or private harassment
|
60
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
61
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
62
|
+
|
63
|
+
## Enforcement Responsibilities
|
64
|
+
|
65
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
66
|
+
|
67
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
68
|
+
|
69
|
+
## Scope
|
70
|
+
|
71
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces.
|
72
|
+
Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
73
|
+
|
74
|
+
## Enforcement
|
75
|
+
|
76
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [@ljharb](ljharb@gmail.com).
|
77
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
78
|
+
|
79
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
80
|
+
|
81
|
+
## Enforcement Guidelines
|
82
|
+
|
83
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
84
|
+
|
85
|
+
### 1. Correction
|
86
|
+
|
87
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
88
|
+
|
89
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
90
|
+
|
91
|
+
### 2. Warning
|
92
|
+
|
93
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
94
|
+
|
95
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
96
|
+
|
97
|
+
### 3. Temporary Ban
|
98
|
+
|
99
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
100
|
+
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
102
|
+
|
103
|
+
### 4. Permanent Ban
|
104
|
+
|
105
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
106
|
+
|
107
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
108
|
+
|
109
|
+
## Attribution
|
110
|
+
|
111
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at
|
112
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
113
|
+
|
114
|
+
Community Impact Guidelines were inspired by
|
115
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
116
|
+
|
117
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
118
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
119
|
+
[https://www.contributor-covenant.org/translations][translations].
|
120
|
+
|
121
|
+
[homepage]: https://www.contributor-covenant.org
|
122
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
123
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
124
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
125
|
+
[translations]: https://www.contributor-covenant.org/translations
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
:+1::tada: First off, thanks for taking the time to contribute to `nvm`! :tada::+1:
|
4
|
+
|
5
|
+
We love pull requests and issues, they're our favorite.
|
6
|
+
|
7
|
+
The following is a set of guidelines for contributing to `nvm` managed by [@LJHarb](https://github.com/ljharb), which is hosted on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
|
8
|
+
|
9
|
+
However, before submitting, please review the following:
|
10
|
+
|
11
|
+
# How Can I Contribute?
|
12
|
+
|
13
|
+
There are lots of ways to get involved. Here are some suggestions of things we'd love some help with.
|
14
|
+
|
15
|
+
## Resolving existing issues
|
16
|
+
|
17
|
+
You can consider helping out with issues already requiring attention - look for a "help wanted" label.
|
18
|
+
|
19
|
+
### How Do I Submit a (Good) Bug Report? :bug:
|
20
|
+
|
21
|
+
Explain the problem and include additional details to help maintainers reproduce the problem:
|
22
|
+
|
23
|
+
* **Use a clear and descriptive title** for the issue to identify the problem.
|
24
|
+
|
25
|
+
* **Describe the exact steps which reproduce the problem** in as many details as possible. For example, start by explaining which command exactly you used in the terminal. When listing steps, **don't just say what you did, but explain how you did it**. For example, if you moved the cursor to the end of a line, explain if you used the mouse, or a keyboard shortcut or a command, and if so which one?
|
26
|
+
* **Provide specific examples to demonstrate the steps**. Include links to files or Github projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
|
27
|
+
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
|
28
|
+
* **Explain which behavior you expected to see instead and why.**
|
29
|
+
* **Provide as much context as possible** in order to help others verify and ultimately fix the issue. This includes giving us as much details as possible about your environment, so we can more easily confirm the problem.
|
30
|
+
|
31
|
+
## Documentation
|
32
|
+
|
33
|
+
We are happy to welcome contributions from anyone willing to improve documentation by adding missing information or making it more consistent and coherent.
|
34
|
+
|
35
|
+
# Dev Environment
|
36
|
+
|
37
|
+
Please refer to the [README](README.md) for complete instructions how to install, update, as well as troubleshoot `nvm` in your environment depending on your Operating System.
|
38
|
+
|
39
|
+
# Style Guide / Coding conventions
|
40
|
+
|
41
|
+
### Pull requests
|
42
|
+
|
43
|
+
#### Before creating a pull request
|
44
|
+
|
45
|
+
- Please include tests. Changes with tests will be merged very quickly.
|
46
|
+
- Please manually confirm that your changes work in `bash`, `sh`/`dash`, `ksh`, and `zsh`. Fast tests do run in these shells, but it's nice to manually verify also.
|
47
|
+
- Please maintain consistent whitespace - 2-space indentation, trailing newlines in all files, etc.
|
48
|
+
- Any time you make a change to your PR, please rebase freshly on top of the default branch. Nobody likes merge commits.
|
49
|
+
|
50
|
+
Even if you don't have all of these items covered, please still feel free to submit a PR/issue! Someone else may be inspired and volunteer to complete it for you.
|
51
|
+
|
52
|
+
#### How to create a pull request
|
53
|
+
|
54
|
+
Create a new branch
|
55
|
+
|
56
|
+
```
|
57
|
+
git checkout -b issue1234
|
58
|
+
```
|
59
|
+
|
60
|
+
Commit the changes to your branch, including a coherent commit message that follows our [standards](#commit-messages)
|
61
|
+
|
62
|
+
```
|
63
|
+
git commit -a
|
64
|
+
```
|
65
|
+
|
66
|
+
Before sending the pull request, make sure your code is running on the latest available code by rebasing onto the upstream source
|
67
|
+
|
68
|
+
```
|
69
|
+
git fetch upstream
|
70
|
+
git rebase upstream/main
|
71
|
+
```
|
72
|
+
|
73
|
+
Verify your changes
|
74
|
+
|
75
|
+
```
|
76
|
+
npm test
|
77
|
+
```
|
78
|
+
|
79
|
+
Push your changes
|
80
|
+
|
81
|
+
```
|
82
|
+
git push origin issue1234
|
83
|
+
```
|
84
|
+
|
85
|
+
Send the [pull request](https://docs.github.com/en/pull-requests), make requested changes, and get merged.
|
86
|
+
|
87
|
+
### Commit Messages
|
88
|
+
|
89
|
+
* Limit the first line of the commit message (message summary) to 72 characters or less.
|
90
|
+
* Use the present tense ("Add feature" not "Added feature") and imperative mood ("Move cursor to..." not "Moves cursor to...") when providing a description of what you did.
|
91
|
+
* If your PR addresses an issue, reference it in the body of the commit message.
|
92
|
+
* See the rest of the conventions [here](https://gist.github.com/ljharb/772b0334387a4bee89af24183114b3c7)
|
93
|
+
|
94
|
+
#### Commit message example
|
95
|
+
|
96
|
+
```
|
97
|
+
[Tag]: Short description of what you did
|
98
|
+
|
99
|
+
Longer description here if necessary
|
100
|
+
|
101
|
+
Fixes #1234
|
102
|
+
```
|
103
|
+
|
104
|
+
> **Note:** Add co-authors to your commit message for commits with multiple authors
|
105
|
+
|
106
|
+
```
|
107
|
+
Co-authored-by: Name Here <email@here>
|
108
|
+
```
|
109
|
+
|
110
|
+
|
111
|
+
# Code of Conduct
|
112
|
+
[Code of Conduct](https://github.com/nvm-sh/nvm/blob/HEAD/CODE_OF_CONDUCT.md)
|
113
|
+
|
114
|
+
# Where can I ask for help?
|
115
|
+
If you have any questions, please contact [@LJHarb](mailto:ljharb@gmail.com).
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# Dockerized nvm development environment
|
2
|
+
#
|
3
|
+
# This Dockerfile is for building nvm development environment only,
|
4
|
+
# not for any distribution/production usage.
|
5
|
+
#
|
6
|
+
# Please note that it'll use about 1.2 GB disk space and about 15 minutes to
|
7
|
+
# build this image, it depends on your hardware.
|
8
|
+
|
9
|
+
FROM ubuntu:22.04
|
10
|
+
LABEL maintainer="Peter Dave Hello <hsu@peterdavehello.org>"
|
11
|
+
LABEL name="nvm-dev-env"
|
12
|
+
LABEL version="latest"
|
13
|
+
|
14
|
+
# Set the SHELL to bash with pipefail option
|
15
|
+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
16
|
+
|
17
|
+
# Prevent dialog during apt install
|
18
|
+
ENV DEBIAN_FRONTEND noninteractive
|
19
|
+
|
20
|
+
# ShellCheck version
|
21
|
+
ENV SHELLCHECK_VERSION=0.7.0
|
22
|
+
|
23
|
+
# Pick a Ubuntu apt mirror site for better speed
|
24
|
+
# ref: https://launchpad.net/ubuntu/+archivemirrors
|
25
|
+
ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu
|
26
|
+
|
27
|
+
# Disable src package source
|
28
|
+
RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list
|
29
|
+
|
30
|
+
# Replace origin apt package site with the mirror site
|
31
|
+
RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
|
32
|
+
RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list
|
33
|
+
|
34
|
+
# Install apt packages
|
35
|
+
RUN apt update && \
|
36
|
+
apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" && \
|
37
|
+
apt install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
38
|
+
coreutils \
|
39
|
+
util-linux \
|
40
|
+
bsdutils \
|
41
|
+
file \
|
42
|
+
openssl \
|
43
|
+
libssl-dev \
|
44
|
+
locales \
|
45
|
+
ca-certificates \
|
46
|
+
ssh \
|
47
|
+
wget \
|
48
|
+
patch \
|
49
|
+
sudo \
|
50
|
+
htop \
|
51
|
+
dstat \
|
52
|
+
vim \
|
53
|
+
tmux \
|
54
|
+
curl \
|
55
|
+
git \
|
56
|
+
jq \
|
57
|
+
zsh \
|
58
|
+
ksh \
|
59
|
+
gcc \
|
60
|
+
g++ \
|
61
|
+
xz-utils \
|
62
|
+
build-essential \
|
63
|
+
bash-completion && \
|
64
|
+
apt-get clean
|
65
|
+
|
66
|
+
RUN wget https://github.com/koalaman/shellcheck/releases/download/v$SHELLCHECK_VERSION/shellcheck-v$SHELLCHECK_VERSION.linux.x86_64.tar.xz -O- | \
|
67
|
+
tar xJvf - shellcheck-v$SHELLCHECK_VERSION/shellcheck && \
|
68
|
+
mv shellcheck-v$SHELLCHECK_VERSION/shellcheck /bin && \
|
69
|
+
rmdir shellcheck-v$SHELLCHECK_VERSION
|
70
|
+
RUN shellcheck -V
|
71
|
+
|
72
|
+
# Set locale
|
73
|
+
RUN locale-gen en_US.UTF-8
|
74
|
+
|
75
|
+
# Print tool versions
|
76
|
+
RUN bash --version | head -n 1
|
77
|
+
RUN zsh --version
|
78
|
+
RUN ksh --version || true
|
79
|
+
RUN dpkg -s dash | grep ^Version | awk '{print $2}'
|
80
|
+
RUN git --version
|
81
|
+
RUN curl --version
|
82
|
+
RUN wget --version
|
83
|
+
|
84
|
+
# Add user "nvm" as non-root user
|
85
|
+
RUN useradd -ms /bin/bash nvm
|
86
|
+
|
87
|
+
# Copy and set permission for nvm directory
|
88
|
+
COPY . /home/nvm/.nvm/
|
89
|
+
RUN chown nvm:nvm -R "home/nvm/.nvm"
|
90
|
+
|
91
|
+
# Set sudoer for "nvm"
|
92
|
+
RUN echo 'nvm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
93
|
+
|
94
|
+
# Switch to user "nvm" from now
|
95
|
+
USER nvm
|
96
|
+
|
97
|
+
# nvm
|
98
|
+
RUN echo 'export NVM_DIR="$HOME/.nvm"' >> "$HOME/.bashrc"
|
99
|
+
RUN echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> "$HOME/.bashrc"
|
100
|
+
RUN echo '[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> "$HOME/.bashrc"
|
101
|
+
|
102
|
+
# nodejs and tools
|
103
|
+
RUN bash -c 'source $HOME/.nvm/nvm.sh && \
|
104
|
+
nvm install node && \
|
105
|
+
npm install -g doctoc urchin eclint dockerfile_lint && \
|
106
|
+
npm install --prefix "$HOME/.nvm/"'
|
107
|
+
|
108
|
+
# Set WORKDIR to nvm directory
|
109
|
+
WORKDIR /home/nvm/.nvm
|
110
|
+
|
111
|
+
ENTRYPOINT ["/bin/bash"]
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# `nvm` Project Governance
|
2
|
+
|
3
|
+
## Maintainers
|
4
|
+
- [@ljharb](https://github.com/ljharb)
|
5
|
+
|
6
|
+
Maintainers are responsible for issue/PR triage, feature additions, maintenance, bugfixes, security fixes, releases, promoting existing contributors to maintainers, managing repo and CI configuration, etc.
|
7
|
+
|
8
|
+
## Contributors
|
9
|
+
|
10
|
+
Anyone who contributes code or content or time, via issues or pull requests or otherwise. Contributors do not have any additional permissions on the project.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2010 Tim Caswell
|
4
|
+
|
5
|
+
Copyright (c) 2014 Jordan Harband
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
8
|
+
this software and associated documentation files (the "Software"), to deal in
|
9
|
+
the Software without restriction, including without limitation the rights to
|
10
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
11
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
12
|
+
subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
19
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
20
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
21
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
22
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# Since we rely on paths relative to the makefile location, abort if make isn't being run from there.
|
2
|
+
$(if $(findstring /,$(MAKEFILE_LIST)),$(error Please only invoke this makefile from the directory it resides in))
|
3
|
+
# Note: With Travis CI:
|
4
|
+
# - the path to urchin is passed via the command line.
|
5
|
+
# - the other utilities are NOT needed, so we skip the test for their existence.
|
6
|
+
URCHIN := urchin
|
7
|
+
ifeq ($(findstring /,$(URCHIN)),) # urchin path was NOT passed in.
|
8
|
+
# Add the local npm packages' bin folder to the PATH, so that `make` can find them, when invoked directly.
|
9
|
+
# Note that rather than using `$(npm bin)` the 'node_modules/.bin' path component is hard-coded, so that invocation works even from an environment
|
10
|
+
# where npm is (temporarily) unavailable due to having deactivated an nvm instance loaded into the calling shell in order to avoid interference with tests.
|
11
|
+
export PATH := $(shell printf '%s' "$$PWD/node_modules/.bin:$$PATH")
|
12
|
+
# The list of all supporting utilities, installed with `npm install`.
|
13
|
+
UTILS := $(URCHIN) replace semver
|
14
|
+
# Make sure that all required utilities can be located.
|
15
|
+
UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS)))
|
16
|
+
endif
|
17
|
+
# The files that need updating when incrementing the version number.
|
18
|
+
VERSIONED_FILES := nvm.sh install.sh README.md package.json
|
19
|
+
# Define all shells to test with. Can be overridden with `make SHELLS=... <target>`.
|
20
|
+
SHELLS := sh bash dash zsh # ksh (#574)
|
21
|
+
# Generate 'test-<shell>' target names from specified shells.
|
22
|
+
# The embedded shell names are extracted on demand inside the recipes.
|
23
|
+
SHELL_TARGETS := $(addprefix test-,$(SHELLS))
|
24
|
+
# Define the default test suite(s). This can be overridden with `make TEST_SUITE=<...> <target>`.
|
25
|
+
# Test suites are the names of subfolders of './test'.
|
26
|
+
TEST_SUITE := $(shell find ./test/* -type d -prune -exec basename {} \;)
|
27
|
+
|
28
|
+
|
29
|
+
# Default target (by virtue of being the first non '.'-prefixed in the file).
|
30
|
+
.PHONY: _no-target-specified
|
31
|
+
_no-target-specified:
|
32
|
+
$(error Please specify the target to make - `make list` shows targets. Alternatively, use `npm test` to run the default tests; `npm run` shows all tests)
|
33
|
+
|
34
|
+
# Lists all targets defined in this makefile.
|
35
|
+
.PHONY: list
|
36
|
+
list:
|
37
|
+
@$(MAKE) -pRrn : -f $(MAKEFILE_LIST) 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | sort
|
38
|
+
|
39
|
+
# Set of test-<shell> targets; each runs the specified test suites for a single shell.
|
40
|
+
# Note that preexisting NVM_* variables are unset to avoid interfering with tests, except when running the Travis tests (where NVM_DIR must be passed in and the env. is assumed to be pristine).
|
41
|
+
.PHONY: $(SHELL_TARGETS)
|
42
|
+
$(SHELL_TARGETS):
|
43
|
+
@shell='$@'; shell=$${shell##*-}; which "$$shell" >/dev/null || { printf '\033[0;31m%s\033[0m\n' "WARNING: Cannot test with shell '$$shell': not found." >&2; exit 0; } && \
|
44
|
+
printf '\n\033[0;34m%s\033[0m\n' "Running tests in $$shell"; \
|
45
|
+
[ -z "$$TRAVIS_BUILD_DIR" ] && for v in $$(set | awk -F'=' '$$1 ~ "^NVM_" { print $$1 }'); do unset $$v; done && unset v; \
|
46
|
+
for suite in $(TEST_SUITE); do $(URCHIN) -f -s $$shell test/$$suite || exit; done
|
47
|
+
|
48
|
+
# All-tests target: invokes the specified test suites for ALL shells defined in $(SHELLS).
|
49
|
+
.PHONY: test
|
50
|
+
test: $(SHELL_TARGETS)
|
51
|
+
|
52
|
+
.PHONY: _ensure-tag
|
53
|
+
_ensure-tag:
|
54
|
+
ifndef TAG
|
55
|
+
$(error Please invoke with `make TAG=<new-version> release`, where <new-version> is either an increment specifier (patch, minor, major, prepatch, preminor, premajor, prerelease), or an explicit major.minor.patch version number)
|
56
|
+
endif
|
57
|
+
|
58
|
+
# Ensures there are version tags in repository
|
59
|
+
.PHONY: _ensure-current-version
|
60
|
+
|
61
|
+
_ensure-current-version:
|
62
|
+
ifeq ($(shell git tag),$(printf ''))
|
63
|
+
@git fetch --tags
|
64
|
+
endif
|
65
|
+
|
66
|
+
# Ensures that the git workspace is clean.
|
67
|
+
.PHONY: _ensure-clean
|
68
|
+
_ensure-clean:
|
69
|
+
@[ -z "$$(git status --porcelain --untracked-files=no || echo err)" ] || { echo "Workspace is not clean; please commit changes first." >&2; exit 2; }
|
70
|
+
|
71
|
+
# Makes a release; invoke with `make TAG=<versionOrIncrementSpec> release`.
|
72
|
+
.PHONY: release
|
73
|
+
release: _ensure-tag _ensure-clean _ensure-current-version
|
74
|
+
@old_ver=`git describe --abbrev=0 --tags --match 'v[0-9]*.[0-9]*.[0-9]*'` || { echo "Failed to determine current version." >&2; exit 1; }; old_ver=$${old_ver#v}; \
|
75
|
+
new_ver=`echo "$(TAG)" | sed 's/^v//'`; new_ver=$${new_ver:-patch}; \
|
76
|
+
if printf "$$new_ver" | grep -q '^[0-9]'; then \
|
77
|
+
semver "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be major.minor.patch' >&2; exit 2; }; \
|
78
|
+
semver -r "> $$old_ver" "$$new_ver" >/dev/null || { echo 'Invalid version number specified: $(TAG) - must be HIGHER than current one.' >&2; exit 2; } \
|
79
|
+
else \
|
80
|
+
new_ver=`semver -i "$$new_ver" "$$old_ver"` || { echo 'Invalid version-increment specifier: $(TAG)' >&2; exit 2; } \
|
81
|
+
fi; \
|
82
|
+
printf "=== Bumping version **$$old_ver** to **$$new_ver** before committing and tagging:\n=== TYPE 'proceed' TO PROCEED, anything else to abort: " && read response && [ "$$response" = 'proceed' ] || { echo 'Aborted.' >&2; exit 2; }; \
|
83
|
+
replace "$$old_ver" "$$new_ver" $(VERSIONED_FILES) && \
|
84
|
+
git commit -m "v$$new_ver" $(VERSIONED_FILES) && \
|
85
|
+
git tag -a "v$$new_ver"
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# `nvm` Charter
|
2
|
+
|
3
|
+
nvm is a version manager for Node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and Windows WSL.
|
4
|
+
|
5
|
+
## Section 0: Guiding Principles
|
6
|
+
|
7
|
+
The `nvm` project is part of the [OpenJS Foundation][openjs foundation], which operates transparently, openly, collaboratively, and ethically. Project proposals, timelines, and status must not merely be open, but also easily visible to outsiders.
|
8
|
+
|
9
|
+
## Section 1: Scope
|
10
|
+
|
11
|
+
`nvm` is a node version manager, focused on making it easy to install and manage multiple Node.js versions. Any features related to managing the installation and removal of Node.js on any node-supported platform are potentially in scope.
|
12
|
+
|
13
|
+
## Section 2: Relationship with OpenJS Foundation CPC.
|
14
|
+
|
15
|
+
Technical leadership for the projects within the [OpenJS Foundation][openjs foundation] is delegated to the projects through their project charters by the [OpenJS Foundation Cross-Project Council](https://openjsf.org/about/governance/) (CPC). In the case of the `nvm` project, it is delegated to the [`nvm` Maintainers](README.md#maintainers) (the “Maintainers”). The OpenJS Foundation's business leadership is the Board of Directors (the “Board”).
|
16
|
+
|
17
|
+
This `nvm` Charter reflects a carefully constructed balanced role for the Maintainers and the CPC in the governance of the OpenJS Foundation. The charter amendment process is for the Maintainers to propose changes using simple majority of the full Maintainers, the proposed changes being subject to review and approval by the CPC. The CPC may additionally make amendments to the project charter at any time, though the CPC will not interfere with day-to-day discussions, votes or meetings of the Maintainers.
|
18
|
+
|
19
|
+
### 2.1 Other Formal Project Relationships
|
20
|
+
|
21
|
+
Section Intentionally Left Blank
|
22
|
+
|
23
|
+
## Section 3: `nvm`'s Maintainers Governing Body
|
24
|
+
|
25
|
+
`nvm` is governed by its [maintainers](README.md#maintainers).
|
26
|
+
|
27
|
+
## Section 4: Roles & Responsibilities
|
28
|
+
|
29
|
+
The roles and responsibilities of `nvm`'s Maintainers are described in [GOVERNANCE.md](./GOVERNANCE.md).
|
30
|
+
|
31
|
+
### Section 4.1 Project Operations & Management
|
32
|
+
|
33
|
+
Section Intentionally Left Blank
|
34
|
+
|
35
|
+
### Section 4.2: Decision-making, Voting, and/or Elections
|
36
|
+
|
37
|
+
Section Intentionally Left Blank
|
38
|
+
|
39
|
+
### Section 4.3: Other Project Roles
|
40
|
+
|
41
|
+
Section Intentionally Left Blank
|
42
|
+
|
43
|
+
## Section 5: Definitions
|
44
|
+
|
45
|
+
- *Contributors*: contribute code or other artifacts, but do not have the right to commit to the codebase. Contributors work with the project’s maintainers to have code committed to the code base. A Contributor may be promoted to a Maintainer by the Maintainers. Contributors should rarely be encumbered by the Maintainers and never by the CPC or OpenJS Foundation Board.
|
46
|
+
|
47
|
+
- *Maintainers*: Contributors with any kind of decision-making authority in the project.
|
48
|
+
|
49
|
+
[openjs foundation]: https://openjsf.org
|