step-node-agent 3.17.2 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/asn1/Jenkinsfile +65 -0
- package/node_modules/asn1/package.json +5 -5
- package/node_modules/body-parser/HISTORY.md +15 -0
- package/node_modules/body-parser/README.md +25 -12
- package/node_modules/body-parser/package.json +23 -23
- package/node_modules/bytes/History.md +5 -0
- package/node_modules/bytes/Readme.md +42 -16
- package/node_modules/bytes/index.js +5 -1
- package/node_modules/bytes/package.json +9 -8
- package/node_modules/content-disposition/HISTORY.md +5 -0
- package/node_modules/content-disposition/README.md +3 -9
- package/node_modules/content-disposition/index.js +1 -1
- package/node_modules/content-disposition/package.json +16 -16
- package/node_modules/cookie/HISTORY.md +5 -0
- package/node_modules/cookie/README.md +4 -0
- package/node_modules/cookie/index.js +5 -1
- package/node_modules/cookie/package.json +11 -11
- package/node_modules/express/History.md +33 -0
- package/node_modules/express/Readme.md +8 -5
- package/node_modules/express/lib/application.js +1 -1
- package/node_modules/express/lib/request.js +1 -1
- package/node_modules/express/lib/response.js +16 -11
- package/node_modules/express/lib/router/index.js +6 -0
- package/node_modules/express/lib/utils.js +2 -6
- package/node_modules/express/package.json +26 -25
- package/node_modules/graceful-fs/package.json +4 -4
- package/node_modules/graceful-fs/polyfills.js +4 -2
- package/node_modules/http-errors/HISTORY.md +16 -0
- package/node_modules/http-errors/README.md +12 -6
- package/node_modules/http-errors/index.js +35 -2
- package/node_modules/http-errors/package.json +19 -19
- package/node_modules/inherits/inherits.js +2 -0
- package/node_modules/inherits/inherits_browser.js +18 -14
- package/node_modules/inherits/package.json +6 -6
- package/node_modules/is-core-module/.eslintrc +0 -1
- package/node_modules/is-core-module/CHANGELOG.md +18 -0
- package/node_modules/is-core-module/core.json +7 -5
- package/node_modules/is-core-module/package.json +10 -10
- package/node_modules/is-core-module/test/index.js +1 -1
- package/node_modules/json-schema/LICENSE +195 -0
- package/node_modules/json-schema/README.md +2 -4
- package/node_modules/json-schema/lib/links.js +1 -2
- package/node_modules/json-schema/lib/validate.js +7 -9
- package/node_modules/json-schema/package.json +8 -14
- package/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/jsprim/package.json +8 -8
- package/node_modules/mime-db/HISTORY.md +7 -0
- package/node_modules/mime-db/db.json +18 -0
- package/node_modules/mime-db/package.json +7 -7
- package/node_modules/mime-types/HISTORY.md +6 -3
- package/node_modules/mime-types/package.json +8 -8
- package/node_modules/npm/.eslintrc +3 -0
- package/node_modules/npm/CHANGELOG.md +14 -0
- package/node_modules/npm/docs/public/cli-commands/npm/index.html +3 -3
- package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +3 -3
- package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/folders/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/install/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +2 -2
- package/node_modules/npm/docs/public/index.html +1 -1
- package/node_modules/npm/docs/public/using-npm/config/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/developers/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/disputes/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/orgs/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/registry/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/removal/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/scope/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/scripts/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/semver/index.html +2 -2
- package/node_modules/npm/lib/auth/legacy.js +1 -1
- package/node_modules/npm/lib/profile.js +2 -2
- package/node_modules/npm/man/man1/npm-README.1 +1 -1
- package/node_modules/npm/man/man1/npm-access.1 +1 -1
- package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
- package/node_modules/npm/man/man1/npm-audit.1 +1 -1
- package/node_modules/npm/man/man1/npm-bin.1 +1 -1
- package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
- package/node_modules/npm/man/man1/npm-build.1 +1 -1
- package/node_modules/npm/man/man1/npm-bundle.1 +1 -1
- package/node_modules/npm/man/man1/npm-cache.1 +1 -1
- package/node_modules/npm/man/man1/npm-ci.1 +1 -1
- package/node_modules/npm/man/man1/npm-completion.1 +1 -1
- package/node_modules/npm/man/man1/npm-config.1 +1 -1
- package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
- package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
- package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
- package/node_modules/npm/man/man1/npm-docs.1 +1 -1
- package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
- package/node_modules/npm/man/man1/npm-edit.1 +1 -1
- package/node_modules/npm/man/man1/npm-explore.1 +1 -1
- package/node_modules/npm/man/man1/npm-fund.1 +1 -1
- package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-help.1 +1 -1
- package/node_modules/npm/man/man1/npm-hook.1 +1 -1
- package/node_modules/npm/man/man1/npm-init.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install.1 +1 -1
- package/node_modules/npm/man/man1/npm-link.1 +1 -1
- package/node_modules/npm/man/man1/npm-logout.1 +1 -1
- package/node_modules/npm/man/man1/npm-ls.1 +2 -2
- package/node_modules/npm/man/man1/npm-org.1 +1 -1
- package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
- package/node_modules/npm/man/man1/npm-owner.1 +1 -1
- package/node_modules/npm/man/man1/npm-pack.1 +1 -1
- package/node_modules/npm/man/man1/npm-ping.1 +1 -1
- package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
- package/node_modules/npm/man/man1/npm-profile.1 +1 -1
- package/node_modules/npm/man/man1/npm-prune.1 +1 -1
- package/node_modules/npm/man/man1/npm-publish.1 +1 -1
- package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
- package/node_modules/npm/man/man1/npm-repo.1 +1 -1
- package/node_modules/npm/man/man1/npm-restart.1 +1 -1
- package/node_modules/npm/man/man1/npm-root.1 +1 -1
- package/node_modules/npm/man/man1/npm-run-script.1 +1 -1
- package/node_modules/npm/man/man1/npm-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
- package/node_modules/npm/man/man1/npm-star.1 +1 -1
- package/node_modules/npm/man/man1/npm-stars.1 +1 -1
- package/node_modules/npm/man/man1/npm-start.1 +1 -1
- package/node_modules/npm/man/man1/npm-stop.1 +1 -1
- package/node_modules/npm/man/man1/npm-team.1 +1 -1
- package/node_modules/npm/man/man1/npm-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-token.1 +1 -1
- package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
- package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
- package/node_modules/npm/man/man1/npm-update.1 +1 -1
- package/node_modules/npm/man/man1/npm-version.1 +1 -1
- package/node_modules/npm/man/man1/npm-view.1 +1 -1
- package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
- package/node_modules/npm/man/man1/npm.1 +2 -2
- package/node_modules/npm/man/man5/folders.5 +1 -1
- package/node_modules/npm/man/man5/install.5 +1 -1
- package/node_modules/npm/man/man5/npmrc.5 +1 -1
- package/node_modules/npm/man/man5/package-json.5 +1 -1
- package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
- package/node_modules/npm/man/man5/package-locks.5 +1 -1
- package/node_modules/npm/man/man5/shrinkwrap-json.5 +1 -1
- package/node_modules/npm/man/man7/config.7 +1 -1
- package/node_modules/npm/man/man7/developers.7 +1 -1
- package/node_modules/npm/man/man7/disputes.7 +1 -1
- package/node_modules/npm/man/man7/orgs.7 +1 -1
- package/node_modules/npm/man/man7/registry.7 +1 -1
- package/node_modules/npm/man/man7/removal.7 +1 -1
- package/node_modules/npm/man/man7/scope.7 +1 -1
- package/node_modules/npm/man/man7/scripts.7 +1 -1
- package/node_modules/npm/man/man7/semver.7 +1 -1
- package/node_modules/npm/node_modules/json-schema/LICENSE +195 -0
- package/node_modules/npm/node_modules/json-schema/README.md +2 -4
- package/node_modules/npm/node_modules/json-schema/lib/links.js +1 -2
- package/node_modules/npm/node_modules/json-schema/lib/validate.js +7 -9
- package/node_modules/npm/node_modules/json-schema/package.json +16 -22
- package/node_modules/npm/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/npm/node_modules/jsprim/CONTRIBUTING.md +19 -0
- package/node_modules/npm/node_modules/jsprim/package.json +16 -16
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- package/node_modules/npm/package.json +5 -4
- package/node_modules/qs/.editorconfig +9 -0
- package/node_modules/qs/.eslintignore +2 -1
- package/node_modules/qs/.eslintrc +15 -1
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +103 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +34 -0
- package/node_modules/qs/dist/qs.js +117 -67
- package/node_modules/qs/lib/formats.js +9 -4
- package/node_modules/qs/lib/parse.js +29 -14
- package/node_modules/qs/lib/stringify.js +55 -46
- package/node_modules/qs/lib/utils.js +23 -2
- package/node_modules/qs/package.json +31 -20
- package/node_modules/qs/test/parse.js +97 -1
- package/node_modules/qs/test/stringify.js +115 -1
- package/node_modules/qs/test/utils.js +1 -1
- package/node_modules/raw-body/HISTORY.md +14 -0
- package/node_modules/raw-body/README.md +3 -5
- package/node_modules/raw-body/package.json +21 -21
- package/node_modules/request/node_modules/qs/.editorconfig +14 -1
- package/node_modules/request/node_modules/qs/.eslintrc +21 -3
- package/node_modules/request/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/request/node_modules/qs/.nycrc +13 -0
- package/node_modules/request/node_modules/qs/CHANGELOG.md +24 -0
- package/node_modules/request/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/request/node_modules/qs/README.md +54 -19
- package/node_modules/request/node_modules/qs/bower.json +21 -0
- package/node_modules/request/node_modules/qs/component.json +15 -0
- package/node_modules/request/node_modules/qs/dist/qs.js +35 -25
- package/node_modules/request/node_modules/qs/lib/formats.js +1 -1
- package/node_modules/request/node_modules/qs/lib/parse.js +6 -5
- package/node_modules/request/node_modules/qs/lib/stringify.js +21 -14
- package/node_modules/request/node_modules/qs/lib/utils.js +7 -5
- package/node_modules/request/node_modules/qs/package.json +21 -19
- package/node_modules/request/node_modules/qs/test/parse.js +79 -4
- package/node_modules/request/node_modules/qs/test/stringify.js +45 -0
- package/node_modules/request/node_modules/qs/test/utils.js +31 -0
- package/node_modules/resolve/.eslintrc +34 -8
- package/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/node_modules/resolve/appveyor.yml +4 -2
- package/node_modules/resolve/async.js +3 -0
- package/node_modules/resolve/bin/resolve +50 -0
- package/node_modules/resolve/lib/async.js +10 -1
- package/node_modules/resolve/lib/core.js +1 -2
- package/node_modules/resolve/lib/core.json +85 -16
- package/node_modules/resolve/lib/homedir.js +24 -0
- package/node_modules/resolve/lib/node-modules-paths.js +1 -1
- package/node_modules/resolve/lib/sync.js +14 -5
- package/node_modules/resolve/package.json +26 -15
- package/node_modules/resolve/readme.markdown +35 -13
- package/node_modules/resolve/sync.js +3 -0
- package/node_modules/resolve/test/home_paths.js +127 -0
- package/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/node_modules/resolve/test/mock_sync.js +2 -4
- package/node_modules/resolve/test/node_path.js +1 -1
- package/node_modules/resolve/test/resolver/invalid_main/package.json +1 -1
- package/node_modules/resolve/test/resolver/malformed_package_json/index.js +0 -0
- package/node_modules/resolve/test/resolver/malformed_package_json/package.json +1 -0
- package/node_modules/resolve/test/resolver.js +99 -3
- package/node_modules/resolve/test/resolver_sync.js +310 -23
- package/node_modules/safe-buffer/index.js +3 -0
- package/node_modules/safe-buffer/package.json +21 -7
- package/node_modules/send/HISTORY.md +10 -0
- package/node_modules/send/README.md +4 -6
- package/node_modules/send/index.js +7 -3
- package/node_modules/send/node_modules/ms/index.js +3 -3
- package/node_modules/send/node_modules/ms/license.md +1 -1
- package/node_modules/send/node_modules/ms/package.json +8 -7
- package/node_modules/send/node_modules/ms/readme.md +1 -2
- package/node_modules/send/package.json +19 -19
- package/node_modules/serve-static/HISTORY.md +8 -0
- package/node_modules/serve-static/README.md +9 -11
- package/node_modules/serve-static/package.json +19 -19
- package/node_modules/setprototypeof/README.md +1 -1
- package/node_modules/setprototypeof/index.js +1 -1
- package/node_modules/setprototypeof/package.json +9 -7
- package/node_modules/shelljs/package.json +4 -4
- package/node_modules/shelljs/src/exec.js +19 -1
- package/node_modules/signal-exit/index.js +30 -8
- package/node_modules/signal-exit/package.json +10 -8
- package/node_modules/sshpk/Jenkinsfile +86 -0
- package/node_modules/sshpk/lib/formats/putty.js +99 -4
- package/node_modules/sshpk/lib/private-key.js +1 -0
- package/node_modules/sshpk/package.json +4 -4
- package/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/node_modules/supports-preserve-symlinks-flag/package.json +74 -0
- package/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/README.md +3 -3
- package/node_modules/toidentifier/index.js +2 -0
- package/node_modules/toidentifier/package.json +19 -15
- package/node_modules/underscore/amd/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/amd/_setup.js +1 -1
- package/node_modules/underscore/amd/sample.js +2 -2
- package/node_modules/underscore/cjs/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/cjs/_setup.js +1 -1
- package/node_modules/underscore/cjs/sample.js +2 -2
- package/node_modules/underscore/modules/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/modules/_setup.js +1 -1
- package/node_modules/underscore/modules/index.js +1 -1
- package/node_modules/underscore/modules/sample.js +2 -2
- package/node_modules/underscore/package.json +4 -4
- package/node_modules/underscore/underscore-esm-min.js +2 -2
- package/node_modules/underscore/underscore-esm-min.js.map +1 -1
- package/node_modules/underscore/underscore-esm.js +17 -17
- package/node_modules/underscore/underscore-esm.js.map +1 -1
- package/node_modules/underscore/underscore-min.js +2 -2
- package/node_modules/underscore/underscore-min.js.map +1 -1
- package/node_modules/underscore/underscore-node-f.cjs +17 -17
- package/node_modules/underscore/underscore-node-f.cjs.map +1 -1
- package/node_modules/underscore/underscore-node.cjs +1 -1
- package/node_modules/underscore/underscore-node.mjs +1 -1
- package/node_modules/underscore/underscore-umd-min.js +2 -2
- package/node_modules/underscore/underscore-umd-min.js.map +1 -1
- package/node_modules/underscore/underscore-umd.js +17 -17
- package/node_modules/underscore/underscore-umd.js.map +1 -1
- package/node_modules/underscore/underscore.js +17 -17
- package/package.json +9 -9
- package/node_modules/hosted-git-info/CHANGELOG.md +0 -151
- package/node_modules/hosted-git-info/LICENSE +0 -13
- package/node_modules/hosted-git-info/README.md +0 -133
- package/node_modules/hosted-git-info/git-host-info.js +0 -79
- package/node_modules/hosted-git-info/git-host.js +0 -156
- package/node_modules/hosted-git-info/index.js +0 -148
- package/node_modules/hosted-git-info/package.json +0 -44
- package/node_modules/is-core-module/.eslintignore +0 -1
- package/node_modules/json-parse-better-errors/CHANGELOG.md +0 -46
- package/node_modules/json-parse-better-errors/LICENSE.md +0 -7
- package/node_modules/json-parse-better-errors/README.md +0 -46
- package/node_modules/json-parse-better-errors/index.js +0 -38
- package/node_modules/json-parse-better-errors/package.json +0 -49
- package/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/node_modules/json-schema/draft-00/json-ref +0 -26
- package/node_modules/json-schema/draft-00/links +0 -33
- package/node_modules/json-schema/draft-00/schema +0 -155
- package/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/node_modules/json-schema/draft-01/json-ref +0 -26
- package/node_modules/json-schema/draft-01/links +0 -33
- package/node_modules/json-schema/draft-01/schema +0 -155
- package/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/node_modules/json-schema/draft-02/json-ref +0 -26
- package/node_modules/json-schema/draft-02/links +0 -35
- package/node_modules/json-schema/draft-02/schema +0 -166
- package/node_modules/json-schema/draft-03/examples/address +0 -20
- package/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/node_modules/json-schema/draft-03/examples/card +0 -105
- package/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/node_modules/json-schema/draft-03/json-ref +0 -26
- package/node_modules/json-schema/draft-03/links +0 -35
- package/node_modules/json-schema/draft-03/schema +0 -174
- package/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/node_modules/json-schema/draft-04/links +0 -41
- package/node_modules/json-schema/draft-04/schema +0 -189
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/node_modules/json-schema/test/tests.js +0 -95
- package/node_modules/normalize-package-data/AUTHORS +0 -4
- package/node_modules/normalize-package-data/LICENSE +0 -30
- package/node_modules/normalize-package-data/README.md +0 -106
- package/node_modules/normalize-package-data/lib/extract_description.js +0 -14
- package/node_modules/normalize-package-data/lib/fixer.js +0 -418
- package/node_modules/normalize-package-data/lib/make_warning.js +0 -23
- package/node_modules/normalize-package-data/lib/normalize.js +0 -39
- package/node_modules/normalize-package-data/lib/safe_format.js +0 -9
- package/node_modules/normalize-package-data/lib/typos.json +0 -25
- package/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
- package/node_modules/normalize-package-data/package.json +0 -35
- package/node_modules/npm/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/node_modules/npm/node_modules/json-schema/draft-00/json-ref +0 -26
- package/node_modules/npm/node_modules/json-schema/draft-00/links +0 -33
- package/node_modules/npm/node_modules/json-schema/draft-00/schema +0 -155
- package/node_modules/npm/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/node_modules/npm/node_modules/json-schema/draft-01/json-ref +0 -26
- package/node_modules/npm/node_modules/json-schema/draft-01/links +0 -33
- package/node_modules/npm/node_modules/json-schema/draft-01/schema +0 -155
- package/node_modules/npm/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/node_modules/npm/node_modules/json-schema/draft-02/json-ref +0 -26
- package/node_modules/npm/node_modules/json-schema/draft-02/links +0 -35
- package/node_modules/npm/node_modules/json-schema/draft-02/schema +0 -166
- package/node_modules/npm/node_modules/json-schema/draft-03/examples/address +0 -20
- package/node_modules/npm/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/node_modules/npm/node_modules/json-schema/draft-03/examples/card +0 -105
- package/node_modules/npm/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/node_modules/npm/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/node_modules/npm/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/node_modules/npm/node_modules/json-schema/draft-03/json-ref +0 -26
- package/node_modules/npm/node_modules/json-schema/draft-03/links +0 -35
- package/node_modules/npm/node_modules/json-schema/draft-03/schema +0 -174
- package/node_modules/npm/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/node_modules/npm/node_modules/json-schema/draft-04/links +0 -41
- package/node_modules/npm/node_modules/json-schema/draft-04/schema +0 -189
- package/node_modules/npm/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/node_modules/npm/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/node_modules/npm/node_modules/json-schema/test/tests.js +0 -95
- package/node_modules/qs/LICENSE +0 -28
- package/node_modules/qs/test/.eslintrc +0 -17
- package/node_modules/qs/test/index.js +0 -7
- package/node_modules/request/node_modules/qs/.eslintignore +0 -1
- package/node_modules/request/node_modules/qs/LICENSE +0 -28
- package/node_modules/request/node_modules/qs/test/.eslintrc +0 -15
- package/node_modules/resolve/.eslintignore +0 -1
- package/node_modules/resolve/test/.eslintrc +0 -5
- package/node_modules/spdx-correct/LICENSE +0 -202
- package/node_modules/spdx-correct/README.md +0 -14
- package/node_modules/spdx-correct/index.js +0 -364
- package/node_modules/spdx-correct/package.json +0 -43
- package/node_modules/spdx-exceptions/README.md +0 -36
- package/node_modules/spdx-exceptions/index.json +0 -40
- package/node_modules/spdx-exceptions/package.json +0 -21
- package/node_modules/spdx-expression-parse/AUTHORS +0 -4
- package/node_modules/spdx-expression-parse/LICENSE +0 -22
- package/node_modules/spdx-expression-parse/README.md +0 -91
- package/node_modules/spdx-expression-parse/index.js +0 -8
- package/node_modules/spdx-expression-parse/package.json +0 -43
- package/node_modules/spdx-expression-parse/parse.js +0 -138
- package/node_modules/spdx-expression-parse/scan.js +0 -131
- package/node_modules/spdx-license-ids/README.md +0 -52
- package/node_modules/spdx-license-ids/deprecated.json +0 -26
- package/node_modules/spdx-license-ids/index.json +0 -446
- package/node_modules/spdx-license-ids/package.json +0 -44
- package/node_modules/sshpk/.npmignore +0 -9
- package/node_modules/validate-npm-package-license/LICENSE +0 -202
- package/node_modules/validate-npm-package-license/README.md +0 -113
- package/node_modules/validate-npm-package-license/index.js +0 -86
- package/node_modules/validate-npm-package-license/package.json +0 -32
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ms",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Tiny millisecond conversion utility",
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "vercel/ms",
|
|
6
6
|
"main": "./index",
|
|
7
7
|
"files": [
|
|
8
8
|
"index.js"
|
|
@@ -28,14 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"eslint": "4.
|
|
31
|
+
"eslint": "4.18.2",
|
|
32
32
|
"expect.js": "0.3.1",
|
|
33
33
|
"husky": "0.14.3",
|
|
34
34
|
"lint-staged": "5.0.0",
|
|
35
|
-
"mocha": "4.0.1"
|
|
35
|
+
"mocha": "4.0.1",
|
|
36
|
+
"prettier": "2.0.5"
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
,"_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.
|
|
39
|
-
,"_integrity": "sha512-
|
|
40
|
-
,"_from": "ms@2.1.
|
|
39
|
+
,"_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
|
|
40
|
+
,"_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
|
41
|
+
,"_from": "ms@2.1.3"
|
|
41
42
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# ms
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://zeit.chat/)
|
|
3
|
+

|
|
5
4
|
|
|
6
5
|
Use this package to easily convert various time formats to milliseconds.
|
|
7
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "send",
|
|
3
3
|
"description": "Better streaming static file server with Range and conditional-GET support",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.2",
|
|
5
5
|
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
"escape-html": "~1.0.3",
|
|
24
24
|
"etag": "~1.8.1",
|
|
25
25
|
"fresh": "0.5.2",
|
|
26
|
-
"http-errors": "
|
|
26
|
+
"http-errors": "1.8.1",
|
|
27
27
|
"mime": "1.6.0",
|
|
28
|
-
"ms": "2.1.
|
|
28
|
+
"ms": "2.1.3",
|
|
29
29
|
"on-finished": "~2.3.0",
|
|
30
30
|
"range-parser": "~1.2.1",
|
|
31
31
|
"statuses": "~1.5.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"after": "0.8.2",
|
|
35
|
-
"eslint": "
|
|
36
|
-
"eslint-config-standard": "
|
|
37
|
-
"eslint-plugin-import": "2.
|
|
38
|
-
"eslint-plugin-markdown": "
|
|
39
|
-
"eslint-plugin-node": "
|
|
40
|
-
"eslint-plugin-promise": "
|
|
41
|
-
"eslint-plugin-standard": "4.
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"supertest": "
|
|
35
|
+
"eslint": "7.32.0",
|
|
36
|
+
"eslint-config-standard": "14.1.1",
|
|
37
|
+
"eslint-plugin-import": "2.25.3",
|
|
38
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
39
|
+
"eslint-plugin-node": "11.1.0",
|
|
40
|
+
"eslint-plugin-promise": "5.2.0",
|
|
41
|
+
"eslint-plugin-standard": "4.1.0",
|
|
42
|
+
"mocha": "9.1.3",
|
|
43
|
+
"nyc": "15.1.0",
|
|
44
|
+
"supertest": "6.1.6"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"HISTORY.md",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"node": ">= 0.8.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
|
-
"lint": "eslint
|
|
56
|
+
"lint": "eslint .",
|
|
57
57
|
"test": "mocha --check-leaks --reporter spec --bail",
|
|
58
|
-
"test-ci": "
|
|
59
|
-
"test-cov": "
|
|
58
|
+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
59
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
,"_resolved": "https://registry.npmjs.org/send/-/send-0.17.
|
|
63
|
-
,"_integrity": "sha512-
|
|
64
|
-
,"_from": "send@0.17.
|
|
62
|
+
,"_resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz"
|
|
63
|
+
,"_integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww=="
|
|
64
|
+
,"_from": "send@0.17.2"
|
|
65
65
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[![NPM Version][npm-version-image]][npm-url]
|
|
4
4
|
[![NPM Downloads][npm-downloads-image]][npm-url]
|
|
5
|
-
[![Linux Build][
|
|
5
|
+
[![Linux Build][github-actions-ci-image]][github-actions-ci-url]
|
|
6
6
|
[![Windows Build][appveyor-image]][appveyor-url]
|
|
7
7
|
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
8
|
|
|
@@ -18,8 +18,6 @@ $ npm install serve-static
|
|
|
18
18
|
|
|
19
19
|
## API
|
|
20
20
|
|
|
21
|
-
<!-- eslint-disable no-unused-vars -->
|
|
22
|
-
|
|
23
21
|
```js
|
|
24
22
|
var serveStatic = require('serve-static')
|
|
25
23
|
```
|
|
@@ -141,7 +139,7 @@ var http = require('http')
|
|
|
141
139
|
var serveStatic = require('serve-static')
|
|
142
140
|
|
|
143
141
|
// Serve up public/ftp folder
|
|
144
|
-
var serve = serveStatic('public/ftp', {
|
|
142
|
+
var serve = serveStatic('public/ftp', { index: ['index.html', 'index.htm'] })
|
|
145
143
|
|
|
146
144
|
// Create server
|
|
147
145
|
var server = http.createServer(function onRequest (req, res) {
|
|
@@ -162,8 +160,8 @@ var serveStatic = require('serve-static')
|
|
|
162
160
|
|
|
163
161
|
// Serve up public/ftp folder
|
|
164
162
|
var serve = serveStatic('public/ftp', {
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
index: false,
|
|
164
|
+
setHeaders: setHeaders
|
|
167
165
|
})
|
|
168
166
|
|
|
169
167
|
// Set header to force download
|
|
@@ -192,15 +190,15 @@ var serveStatic = require('serve-static')
|
|
|
192
190
|
|
|
193
191
|
var app = express()
|
|
194
192
|
|
|
195
|
-
app.use(serveStatic('public/ftp', {
|
|
193
|
+
app.use(serveStatic('public/ftp', { index: ['default.html', 'default.htm'] }))
|
|
196
194
|
app.listen(3000)
|
|
197
195
|
```
|
|
198
196
|
|
|
199
197
|
#### Multiple roots
|
|
200
198
|
|
|
201
199
|
This example shows a simple way to search through multiple directories.
|
|
202
|
-
Files are
|
|
203
|
-
a fallback.
|
|
200
|
+
Files are searched for in `public-optimized/` first, then `public/` second
|
|
201
|
+
as a fallback.
|
|
204
202
|
|
|
205
203
|
```js
|
|
206
204
|
var express = require('express')
|
|
@@ -250,10 +248,10 @@ function setCustomCacheControl (res, path) {
|
|
|
250
248
|
[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static
|
|
251
249
|
[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/serve-static/master
|
|
252
250
|
[coveralls-url]: https://coveralls.io/r/expressjs/serve-static?branch=master
|
|
251
|
+
[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/serve-static/master?label=linux
|
|
252
|
+
[github-actions-ci-url]: https://github.com/expressjs/serve-static/actions?query=workflow%3Aci
|
|
253
253
|
[node-image]: https://badgen.net/npm/node/serve-static
|
|
254
254
|
[node-url]: https://nodejs.org/en/download/
|
|
255
255
|
[npm-downloads-image]: https://badgen.net/npm/dm/serve-static
|
|
256
256
|
[npm-url]: https://npmjs.org/package/serve-static
|
|
257
257
|
[npm-version-image]: https://badgen.net/npm/v/serve-static
|
|
258
|
-
[travis-image]: https://badgen.net/travis/expressjs/serve-static/master?label=linux
|
|
259
|
-
[travis-url]: https://travis-ci.org/expressjs/serve-static
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serve-static",
|
|
3
3
|
"description": "Serve static files",
|
|
4
|
-
"version": "1.14.
|
|
4
|
+
"version": "1.14.2",
|
|
5
5
|
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "expressjs/serve-static",
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
"encodeurl": "~1.0.2",
|
|
10
10
|
"escape-html": "~1.0.3",
|
|
11
11
|
"parseurl": "~1.3.3",
|
|
12
|
-
"send": "0.17.
|
|
12
|
+
"send": "0.17.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"eslint": "
|
|
16
|
-
"eslint-config-standard": "
|
|
17
|
-
"eslint-plugin-import": "2.
|
|
18
|
-
"eslint-plugin-markdown": "
|
|
19
|
-
"eslint-plugin-node": "
|
|
20
|
-
"eslint-plugin-promise": "
|
|
21
|
-
"eslint-plugin-standard": "4.
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"safe-buffer": "5.1
|
|
25
|
-
"supertest": "
|
|
15
|
+
"eslint": "7.32.0",
|
|
16
|
+
"eslint-config-standard": "14.1.1",
|
|
17
|
+
"eslint-plugin-import": "2.25.3",
|
|
18
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
19
|
+
"eslint-plugin-node": "11.1.0",
|
|
20
|
+
"eslint-plugin-promise": "5.2.0",
|
|
21
|
+
"eslint-plugin-standard": "4.1.0",
|
|
22
|
+
"mocha": "9.1.3",
|
|
23
|
+
"nyc": "15.1.0",
|
|
24
|
+
"safe-buffer": "5.2.1",
|
|
25
|
+
"supertest": "6.1.6"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"LICENSE",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"node": ">= 0.8.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
-
"lint": "eslint
|
|
36
|
+
"lint": "eslint .",
|
|
37
37
|
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
38
|
-
"test-ci": "
|
|
39
|
-
"test-cov": "
|
|
38
|
+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
39
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
40
40
|
"version": "node scripts/version-history.js && git add HISTORY.md"
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
,"_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.
|
|
44
|
-
,"_integrity": "sha512
|
|
45
|
-
,"_from": "serve-static@1.14.
|
|
43
|
+
,"_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz"
|
|
44
|
+
,"_integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ=="
|
|
45
|
+
,"_from": "serve-static@1.14.2"
|
|
46
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "setprototypeof",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "A small polyfill for Object.setprototypeof",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"node4": "NODE_VER=4 npm run testversion",
|
|
13
13
|
"node6": "NODE_VER=6 npm run testversion",
|
|
14
14
|
"node9": "NODE_VER=9 npm run testversion",
|
|
15
|
-
"node11": "NODE_VER=11 npm run testversion"
|
|
15
|
+
"node11": "NODE_VER=11 npm run testversion",
|
|
16
|
+
"prepublishOnly": "npm t",
|
|
17
|
+
"postpublish": "git push origin && git push origin --tags"
|
|
16
18
|
},
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|
|
@@ -30,11 +32,11 @@
|
|
|
30
32
|
},
|
|
31
33
|
"homepage": "https://github.com/wesleytodd/setprototypeof",
|
|
32
34
|
"devDependencies": {
|
|
33
|
-
"mocha": "^
|
|
34
|
-
"standard": "^
|
|
35
|
+
"mocha": "^6.1.4",
|
|
36
|
+
"standard": "^13.0.2"
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
,"_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.
|
|
38
|
-
,"_integrity": "sha512-
|
|
39
|
-
,"_from": "setprototypeof@1.
|
|
39
|
+
,"_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz"
|
|
40
|
+
,"_integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
|
|
41
|
+
,"_from": "setprototypeof@1.2.0"
|
|
40
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shelljs",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
4
4
|
"description": "Portable Unix shell commands for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shelljs",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"node": ">=4"
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
,"_resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.
|
|
81
|
-
,"_integrity": "sha512-
|
|
82
|
-
,"_from": "shelljs@0.8.
|
|
80
|
+
,"_resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz"
|
|
81
|
+
,"_integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow=="
|
|
82
|
+
,"_from": "shelljs@0.8.5"
|
|
83
83
|
}
|
|
@@ -48,7 +48,24 @@ function execSync(cmd, opts, pipe) {
|
|
|
48
48
|
stderrFile: stderrFile,
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
// Create the files and ensure these are locked down (for read and write) to
|
|
52
|
+
// the current user. The main concerns here are:
|
|
53
|
+
//
|
|
54
|
+
// * If we execute a command which prints sensitive output, then
|
|
55
|
+
// stdoutFile/stderrFile must not be readable by other users.
|
|
56
|
+
// * paramsFile must not be readable by other users, or else they can read it
|
|
57
|
+
// to figure out the path for stdoutFile/stderrFile and create these first
|
|
58
|
+
// (locked down to their own access), which will crash exec() when it tries
|
|
59
|
+
// to write to the files.
|
|
60
|
+
function writeFileLockedDown(filePath, data) {
|
|
61
|
+
fs.writeFileSync(filePath, data, {
|
|
62
|
+
encoding: 'utf8',
|
|
63
|
+
mode: parseInt('600', 8),
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
writeFileLockedDown(stdoutFile, '');
|
|
67
|
+
writeFileLockedDown(stderrFile, '');
|
|
68
|
+
writeFileLockedDown(paramsFile, JSON.stringify(paramsToSerialize));
|
|
52
69
|
|
|
53
70
|
var execArgs = [
|
|
54
71
|
path.join(__dirname, 'exec-child.js'),
|
|
@@ -91,6 +108,7 @@ function execSync(cmd, opts, pipe) {
|
|
|
91
108
|
}
|
|
92
109
|
|
|
93
110
|
// No biggie if we can't erase the files now -- they're in a temp dir anyway
|
|
111
|
+
// and we locked down permissions (see the note above).
|
|
94
112
|
try { common.unlinkSync(paramsFile); } catch (e) {}
|
|
95
113
|
try { common.unlinkSync(stderrFile); } catch (e) {}
|
|
96
114
|
try { common.unlinkSync(stdoutFile); } catch (e) {}
|
|
@@ -3,8 +3,22 @@
|
|
|
3
3
|
// ignored, since we can never get coverage for them.
|
|
4
4
|
// grab a reference to node's real process object right away
|
|
5
5
|
var process = global.process
|
|
6
|
+
|
|
7
|
+
const processOk = function (process) {
|
|
8
|
+
return process &&
|
|
9
|
+
typeof process === 'object' &&
|
|
10
|
+
typeof process.removeListener === 'function' &&
|
|
11
|
+
typeof process.emit === 'function' &&
|
|
12
|
+
typeof process.reallyExit === 'function' &&
|
|
13
|
+
typeof process.listeners === 'function' &&
|
|
14
|
+
typeof process.kill === 'function' &&
|
|
15
|
+
typeof process.pid === 'number' &&
|
|
16
|
+
typeof process.on === 'function'
|
|
17
|
+
}
|
|
18
|
+
|
|
6
19
|
// some kind of non-node environment, just no-op
|
|
7
|
-
|
|
20
|
+
/* istanbul ignore if */
|
|
21
|
+
if (!processOk(process)) {
|
|
8
22
|
module.exports = function () {}
|
|
9
23
|
} else {
|
|
10
24
|
var assert = require('assert')
|
|
@@ -36,7 +50,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
36
50
|
}
|
|
37
51
|
|
|
38
52
|
module.exports = function (cb, opts) {
|
|
39
|
-
|
|
53
|
+
/* istanbul ignore if */
|
|
54
|
+
if (!processOk(global.process)) {
|
|
40
55
|
return
|
|
41
56
|
}
|
|
42
57
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
|
@@ -63,7 +78,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
63
78
|
}
|
|
64
79
|
|
|
65
80
|
var unload = function unload () {
|
|
66
|
-
if (!loaded || global.process
|
|
81
|
+
if (!loaded || !processOk(global.process)) {
|
|
67
82
|
return
|
|
68
83
|
}
|
|
69
84
|
loaded = false
|
|
@@ -80,6 +95,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
80
95
|
module.exports.unload = unload
|
|
81
96
|
|
|
82
97
|
var emit = function emit (event, code, signal) {
|
|
98
|
+
/* istanbul ignore if */
|
|
83
99
|
if (emitter.emitted[event]) {
|
|
84
100
|
return
|
|
85
101
|
}
|
|
@@ -91,7 +107,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
91
107
|
var sigListeners = {}
|
|
92
108
|
signals.forEach(function (sig) {
|
|
93
109
|
sigListeners[sig] = function listener () {
|
|
94
|
-
|
|
110
|
+
/* istanbul ignore if */
|
|
111
|
+
if (!processOk(global.process)) {
|
|
95
112
|
return
|
|
96
113
|
}
|
|
97
114
|
// If there are no other listeners, an exit is coming!
|
|
@@ -110,6 +127,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
110
127
|
// so use a supported signal instead
|
|
111
128
|
sig = 'SIGINT'
|
|
112
129
|
}
|
|
130
|
+
/* istanbul ignore next */
|
|
113
131
|
process.kill(process.pid, sig)
|
|
114
132
|
}
|
|
115
133
|
}
|
|
@@ -122,7 +140,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
122
140
|
var loaded = false
|
|
123
141
|
|
|
124
142
|
var load = function load () {
|
|
125
|
-
if (loaded ||
|
|
143
|
+
if (loaded || !processOk(global.process)) {
|
|
126
144
|
return
|
|
127
145
|
}
|
|
128
146
|
loaded = true
|
|
@@ -149,10 +167,11 @@ if (typeof process !== 'object' || !process) {
|
|
|
149
167
|
|
|
150
168
|
var originalProcessReallyExit = process.reallyExit
|
|
151
169
|
var processReallyExit = function processReallyExit (code) {
|
|
152
|
-
|
|
170
|
+
/* istanbul ignore if */
|
|
171
|
+
if (!processOk(global.process)) {
|
|
153
172
|
return
|
|
154
173
|
}
|
|
155
|
-
process.exitCode = code || 0
|
|
174
|
+
process.exitCode = code || /* istanbul ignore next */ 0
|
|
156
175
|
emit('exit', process.exitCode, null)
|
|
157
176
|
/* istanbul ignore next */
|
|
158
177
|
emit('afterexit', process.exitCode, null)
|
|
@@ -162,14 +181,17 @@ if (typeof process !== 'object' || !process) {
|
|
|
162
181
|
|
|
163
182
|
var originalProcessEmit = process.emit
|
|
164
183
|
var processEmit = function processEmit (ev, arg) {
|
|
165
|
-
if (ev === 'exit' &&
|
|
184
|
+
if (ev === 'exit' && processOk(global.process)) {
|
|
185
|
+
/* istanbul ignore else */
|
|
166
186
|
if (arg !== undefined) {
|
|
167
187
|
process.exitCode = arg
|
|
168
188
|
}
|
|
169
189
|
var ret = originalProcessEmit.apply(this, arguments)
|
|
190
|
+
/* istanbul ignore next */
|
|
170
191
|
emit('exit', process.exitCode, null)
|
|
171
192
|
/* istanbul ignore next */
|
|
172
193
|
emit('afterexit', process.exitCode, null)
|
|
194
|
+
/* istanbul ignore next */
|
|
173
195
|
return ret
|
|
174
196
|
} else {
|
|
175
197
|
return originalProcessEmit.apply(this, arguments)
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signal-exit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "when you want to fire an event no matter how a process exits.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "tap
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"test": "tap",
|
|
8
|
+
"snap": "tap",
|
|
9
|
+
"preversion": "npm test",
|
|
10
|
+
"postversion": "npm publish",
|
|
11
|
+
"prepublishOnly": "git push origin --follow-tags"
|
|
10
12
|
},
|
|
11
13
|
"files": [
|
|
12
14
|
"index.js",
|
|
@@ -31,10 +33,10 @@
|
|
|
31
33
|
"coveralls": "^3.1.1",
|
|
32
34
|
"nyc": "^15.1.0",
|
|
33
35
|
"standard-version": "^9.3.1",
|
|
34
|
-
"tap": "^15.
|
|
36
|
+
"tap": "^15.1.1"
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
,"_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.
|
|
38
|
-
,"_integrity": "sha512-
|
|
39
|
-
,"_from": "signal-exit@3.0.
|
|
39
|
+
,"_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz"
|
|
40
|
+
,"_integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ=="
|
|
41
|
+
,"_from": "signal-exit@3.0.6"
|
|
40
42
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@Library('jenkins-joylib@v1.0.8') _
|
|
2
|
+
|
|
3
|
+
pipeline {
|
|
4
|
+
|
|
5
|
+
agent none
|
|
6
|
+
|
|
7
|
+
options {
|
|
8
|
+
buildDiscarder(logRotator(numToKeepStr: '30'))
|
|
9
|
+
timestamps()
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
stages {
|
|
13
|
+
stage('top') {
|
|
14
|
+
parallel {
|
|
15
|
+
stage('v0.10.48-zone') {
|
|
16
|
+
agent {
|
|
17
|
+
label joyCommonLabels(image_ver: '15.4.1')
|
|
18
|
+
}
|
|
19
|
+
tools {
|
|
20
|
+
nodejs 'sdcnode-v0.10.48-zone'
|
|
21
|
+
}
|
|
22
|
+
stages {
|
|
23
|
+
stage('check') {
|
|
24
|
+
steps{
|
|
25
|
+
sh('make check')
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
stage('test') {
|
|
29
|
+
steps{
|
|
30
|
+
sh('make test')
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
stage('v4-zone') {
|
|
37
|
+
agent {
|
|
38
|
+
label joyCommonLabels(image_ver: '15.4.1')
|
|
39
|
+
}
|
|
40
|
+
tools {
|
|
41
|
+
nodejs 'sdcnode-v4-zone'
|
|
42
|
+
}
|
|
43
|
+
stages {
|
|
44
|
+
stage('check') {
|
|
45
|
+
steps{
|
|
46
|
+
sh('make check')
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
stage('test') {
|
|
50
|
+
steps{
|
|
51
|
+
sh('make test')
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
stage('v6-zone64') {
|
|
58
|
+
agent {
|
|
59
|
+
label joyCommonLabels(image_ver: '18.4.0')
|
|
60
|
+
}
|
|
61
|
+
tools {
|
|
62
|
+
nodejs 'sdcnode-v6-zone64'
|
|
63
|
+
}
|
|
64
|
+
stages {
|
|
65
|
+
stage('check') {
|
|
66
|
+
steps{
|
|
67
|
+
sh('make check')
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
stage('test') {
|
|
71
|
+
steps{
|
|
72
|
+
sh('make test')
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
post {
|
|
82
|
+
always {
|
|
83
|
+
joySlackNotifications()
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|