step-node-agent 3.18.3 → 3.18.5
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/abbrev/LICENSE +46 -0
- package/node_modules/abbrev/README.md +23 -0
- package/node_modules/abbrev/abbrev.js +61 -0
- package/node_modules/abbrev/package.json +21 -0
- package/node_modules/ansi-align/CHANGELOG.md +36 -0
- package/node_modules/ansi-align/LICENSE +13 -0
- package/node_modules/ansi-align/README.md +79 -0
- package/node_modules/ansi-align/index.js +61 -0
- package/node_modules/ansi-align/package.json +43 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +53 -0
- package/node_modules/ansi-regex/readme.md +46 -0
- package/node_modules/ansi-styles/index.js +165 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +147 -0
- package/node_modules/boxen/index.js +138 -0
- package/node_modules/boxen/license +9 -0
- package/node_modules/boxen/package.json +47 -0
- package/node_modules/boxen/readme.md +175 -0
- package/node_modules/camelcase/index.js +64 -0
- package/node_modules/{send/node_modules/http-errors/LICENSE → camelcase/license} +1 -3
- package/node_modules/camelcase/package.json +42 -0
- package/node_modules/camelcase/readme.md +57 -0
- package/node_modules/capture-stack-trace/index.js +18 -0
- package/node_modules/{express/node_modules/http-errors/LICENSE → capture-stack-trace/license} +1 -3
- package/node_modules/capture-stack-trace/package.json +29 -0
- package/node_modules/capture-stack-trace/readme.md +36 -0
- package/node_modules/chalk/index.js +228 -0
- package/node_modules/chalk/index.js.flow +93 -0
- package/node_modules/chalk/license +9 -0
- package/node_modules/chalk/package.json +71 -0
- package/node_modules/chalk/readme.md +314 -0
- package/node_modules/chalk/templates.js +128 -0
- package/node_modules/chalk/types/index.d.ts +97 -0
- package/node_modules/ci-info/CHANGELOG.md +62 -0
- package/node_modules/ci-info/LICENSE +21 -0
- package/node_modules/ci-info/README.md +107 -0
- package/node_modules/ci-info/index.js +66 -0
- package/node_modules/ci-info/package.json +36 -0
- package/node_modules/ci-info/vendors.json +152 -0
- package/node_modules/cli-boxes/boxes.json +50 -0
- package/node_modules/cli-boxes/index.js +2 -0
- package/node_modules/{http-errors/node_modules/statuses/LICENSE → cli-boxes/license} +1 -3
- package/node_modules/cli-boxes/package.json +39 -0
- package/node_modules/cli-boxes/readme.md +94 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/{send/node_modules/depd → color-convert}/LICENSE +9 -10
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +868 -0
- package/node_modules/color-convert/index.js +78 -0
- package/node_modules/color-convert/package.json +46 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/.eslintrc.json +43 -0
- package/node_modules/color-name/.npmignore +107 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +25 -0
- package/node_modules/color-name/test.js +7 -0
- package/node_modules/configstore/index.js +106 -0
- package/node_modules/configstore/license +9 -0
- package/node_modules/configstore/package.json +47 -0
- package/node_modules/configstore/readme.md +116 -0
- package/node_modules/cookie/HISTORY.md +8 -0
- package/node_modules/cookie/README.md +50 -34
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +83 -15
- package/node_modules/cookie/package.json +6 -4
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/create-error-class/index.js +44 -0
- package/node_modules/create-error-class/license +21 -0
- package/node_modules/create-error-class/package.json +30 -0
- package/node_modules/create-error-class/readme.md +54 -0
- package/node_modules/cross-spawn/CHANGELOG.md +6 -0
- package/node_modules/cross-spawn/LICENSE +19 -0
- package/node_modules/cross-spawn/README.md +85 -0
- package/node_modules/cross-spawn/index.js +59 -0
- package/node_modules/cross-spawn/lib/enoent.js +73 -0
- package/node_modules/cross-spawn/lib/parse.js +113 -0
- package/node_modules/cross-spawn/lib/util/escapeArgument.js +30 -0
- package/node_modules/cross-spawn/lib/util/escapeCommand.js +12 -0
- package/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js +18 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +37 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +31 -0
- package/node_modules/cross-spawn/package.json +53 -0
- package/node_modules/crypto-random-string/index.js +10 -0
- package/node_modules/crypto-random-string/license +21 -0
- package/node_modules/crypto-random-string/package.json +43 -0
- package/node_modules/crypto-random-string/readme.md +49 -0
- package/node_modules/deep-extend/CHANGELOG.md +46 -0
- package/node_modules/deep-extend/LICENSE +20 -0
- package/node_modules/deep-extend/README.md +91 -0
- package/node_modules/deep-extend/index.js +1 -0
- package/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/node_modules/deep-extend/package.json +62 -0
- package/node_modules/dot-prop/index.js +141 -0
- package/node_modules/dot-prop/license +21 -0
- package/node_modules/dot-prop/package.json +48 -0
- package/node_modules/dot-prop/readme.md +105 -0
- package/node_modules/duplexer3/LICENSE.md +26 -0
- package/node_modules/duplexer3/README.md +115 -0
- package/node_modules/duplexer3/index.js +76 -0
- package/node_modules/duplexer3/package.json +28 -0
- package/node_modules/escape-string-regexp/index.js +11 -0
- package/node_modules/escape-string-regexp/license +21 -0
- package/node_modules/escape-string-regexp/package.json +41 -0
- package/node_modules/escape-string-regexp/readme.md +27 -0
- package/node_modules/execa/index.js +309 -0
- package/node_modules/execa/lib/errname.js +37 -0
- package/node_modules/execa/lib/stdio.js +41 -0
- package/node_modules/execa/license +9 -0
- package/node_modules/execa/package.json +76 -0
- package/node_modules/execa/readme.md +279 -0
- package/node_modules/express/History.md +54 -0
- package/node_modules/express/Readme.md +39 -31
- package/node_modules/express/lib/application.js +18 -1
- package/node_modules/express/lib/response.js +40 -18
- package/node_modules/express/lib/router/index.js +20 -15
- package/node_modules/express/lib/router/route.js +9 -0
- package/node_modules/express/lib/utils.js +1 -0
- package/node_modules/express/lib/view.js +1 -1
- package/node_modules/express/package.json +14 -15
- package/node_modules/finalhandler/HISTORY.md +8 -0
- package/node_modules/finalhandler/LICENSE +1 -1
- package/node_modules/finalhandler/README.md +5 -6
- package/node_modules/finalhandler/SECURITY.md +25 -0
- package/node_modules/finalhandler/index.js +8 -3
- package/node_modules/finalhandler/package.json +18 -17
- package/node_modules/get-intrinsic/.eslintrc +2 -8
- package/node_modules/get-intrinsic/.nycrc +0 -4
- package/node_modules/get-intrinsic/CHANGELOG.md +27 -0
- package/node_modules/get-intrinsic/README.md +7 -1
- package/node_modules/get-intrinsic/index.js +4 -0
- package/node_modules/get-intrinsic/package.json +22 -12
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +25 -11
- package/node_modules/get-stream/buffer-stream.js +51 -0
- package/node_modules/get-stream/index.js +51 -0
- package/node_modules/get-stream/license +21 -0
- package/node_modules/get-stream/package.json +48 -0
- package/node_modules/get-stream/readme.md +117 -0
- package/node_modules/glob/common.js +2 -0
- package/node_modules/glob/glob.js +4 -1
- package/node_modules/glob/package.json +5 -2
- package/node_modules/glob/sync.js +6 -3
- package/node_modules/global-dirs/index.js +90 -0
- package/node_modules/global-dirs/license +9 -0
- package/node_modules/global-dirs/package.json +52 -0
- package/node_modules/global-dirs/readme.md +69 -0
- package/node_modules/got/index.js +364 -0
- package/node_modules/got/license +21 -0
- package/node_modules/got/package.json +78 -0
- package/node_modules/got/readme.md +335 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +50 -0
- package/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +44 -0
- package/node_modules/has-flag/readme.md +70 -0
- package/node_modules/import-lazy/index.js +53 -0
- package/node_modules/import-lazy/license +21 -0
- package/node_modules/import-lazy/package.json +44 -0
- package/node_modules/import-lazy/readme.md +64 -0
- package/node_modules/imurmurhash/README.md +122 -0
- package/node_modules/imurmurhash/imurmurhash.js +138 -0
- package/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- package/node_modules/imurmurhash/package.json +40 -0
- package/node_modules/ini/LICENSE +15 -0
- package/node_modules/ini/README.md +102 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/{express/node_modules/qs → is-callable}/.editorconfig +7 -21
- package/node_modules/{get-intrinsic → is-callable}/.eslintignore +0 -0
- package/node_modules/is-callable/.eslintrc +21 -0
- package/node_modules/{express/node_modules/qs → is-callable}/.github/FUNDING.yml +2 -2
- package/node_modules/is-callable/.istanbul.yml +47 -0
- package/node_modules/{express/node_modules/qs → is-callable}/.nycrc +1 -5
- package/node_modules/is-callable/CHANGELOG.md +108 -0
- package/node_modules/is-callable/LICENSE +22 -0
- package/node_modules/is-callable/README.md +67 -0
- package/node_modules/is-callable/index.js +74 -0
- package/node_modules/is-callable/package.json +92 -0
- package/node_modules/is-callable/test/index.js +170 -0
- package/node_modules/is-ci/LICENSE +21 -0
- package/node_modules/is-ci/README.md +50 -0
- package/node_modules/is-ci/bin.js +4 -0
- package/node_modules/is-ci/index.js +3 -0
- package/node_modules/is-ci/package.json +38 -0
- package/node_modules/is-core-module/.eslintrc +1 -0
- package/node_modules/is-core-module/CHANGELOG.md +9 -0
- package/node_modules/is-core-module/core.json +1 -0
- package/node_modules/is-core-module/package.json +8 -12
- package/node_modules/is-core-module/test/index.js +34 -31
- package/node_modules/is-fullwidth-code-point/index.js +46 -0
- package/node_modules/is-fullwidth-code-point/license +21 -0
- package/node_modules/is-fullwidth-code-point/package.json +45 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-installed-globally/index.js +5 -0
- package/node_modules/is-installed-globally/license +9 -0
- package/node_modules/is-installed-globally/package.json +48 -0
- package/node_modules/is-installed-globally/readme.md +39 -0
- package/node_modules/is-npm/index.js +4 -0
- package/node_modules/is-npm/package.json +32 -0
- package/node_modules/is-npm/readme.md +30 -0
- package/node_modules/is-obj/index.js +5 -0
- package/node_modules/is-obj/license +21 -0
- package/node_modules/is-obj/package.json +33 -0
- package/node_modules/is-obj/readme.md +34 -0
- package/node_modules/is-path-inside/index.js +14 -0
- package/node_modules/is-path-inside/license +21 -0
- package/node_modules/is-path-inside/package.json +37 -0
- package/node_modules/is-path-inside/readme.md +34 -0
- package/node_modules/is-redirect/index.js +14 -0
- package/node_modules/is-redirect/license +21 -0
- package/node_modules/is-redirect/package.json +35 -0
- package/node_modules/is-redirect/readme.md +28 -0
- package/node_modules/is-retry-allowed/index.js +62 -0
- package/node_modules/is-retry-allowed/license +21 -0
- package/node_modules/is-retry-allowed/package.json +29 -0
- package/node_modules/is-retry-allowed/readme.md +42 -0
- package/node_modules/is-stream/index.js +21 -0
- package/node_modules/is-stream/license +21 -0
- package/node_modules/is-stream/package.json +38 -0
- package/node_modules/is-stream/readme.md +42 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/latest-version/index.js +4 -0
- package/node_modules/latest-version/license +21 -0
- package/node_modules/latest-version/package.json +39 -0
- package/node_modules/latest-version/readme.md +40 -0
- package/node_modules/lowercase-keys/index.js +11 -0
- package/node_modules/lowercase-keys/license +21 -0
- package/node_modules/lowercase-keys/package.json +35 -0
- package/node_modules/lowercase-keys/readme.md +33 -0
- package/node_modules/lru-cache/LICENSE +15 -0
- package/node_modules/lru-cache/README.md +158 -0
- package/node_modules/lru-cache/index.js +468 -0
- package/node_modules/lru-cache/package.json +36 -0
- package/node_modules/make-dir/index.js +85 -0
- package/node_modules/make-dir/license +9 -0
- package/node_modules/make-dir/package.json +54 -0
- package/node_modules/make-dir/readme.md +116 -0
- package/node_modules/nopt/.npmignore +0 -0
- package/node_modules/nopt/LICENSE +23 -0
- package/node_modules/nopt/README.md +208 -0
- package/node_modules/nopt/bin/nopt.js +44 -0
- package/node_modules/nopt/examples/my-program.js +30 -0
- package/node_modules/nopt/lib/nopt.js +552 -0
- package/node_modules/nopt/package.json +12 -0
- package/node_modules/npm/CHANGELOG.md +9 -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/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/cliui/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/package.json +1 -1
- package/node_modules/npm/node_modules/minimist/index.js +6 -2
- package/node_modules/npm/node_modules/minimist/package.json +1 -1
- package/node_modules/npm/node_modules/minimist/readme.markdown +4 -1
- package/node_modules/npm/node_modules/minimist/test/proto.js +16 -0
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +6 -2
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +1 -1
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +4 -1
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +16 -0
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +1 -1
- package/node_modules/npm/package.json +1 -1
- package/node_modules/npm-run-path/index.js +39 -0
- package/node_modules/npm-run-path/license +21 -0
- package/node_modules/npm-run-path/package.json +45 -0
- package/node_modules/npm-run-path/readme.md +81 -0
- package/node_modules/object-assign/index.js +90 -0
- package/node_modules/object-assign/license +21 -0
- package/node_modules/object-assign/package.json +42 -0
- package/node_modules/object-assign/readme.md +61 -0
- package/node_modules/object-inspect/CHANGELOG.md +18 -0
- package/node_modules/object-inspect/index.js +7 -6
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +20 -10
- package/node_modules/object-inspect/test/err.js +3 -3
- package/node_modules/object-inspect/test/has.js +6 -25
- package/node_modules/object-inspect/test/inspect.js +37 -0
- package/node_modules/object-inspect/test/values.js +3 -3
- package/node_modules/p-finally/index.js +15 -0
- package/node_modules/p-finally/license +21 -0
- package/node_modules/p-finally/package.json +42 -0
- package/node_modules/p-finally/readme.md +47 -0
- package/node_modules/package-json/index.js +67 -0
- package/node_modules/package-json/license +21 -0
- package/node_modules/package-json/package.json +43 -0
- package/node_modules/package-json/readme.md +91 -0
- package/node_modules/path-exists/index.js +17 -0
- package/node_modules/path-exists/license +21 -0
- package/node_modules/path-exists/package.json +40 -0
- package/node_modules/path-exists/readme.md +50 -0
- package/node_modules/path-is-inside/LICENSE.txt +47 -0
- package/node_modules/path-is-inside/lib/path-is-inside.js +28 -0
- package/node_modules/path-is-inside/package.json +21 -0
- package/node_modules/path-key/index.js +13 -0
- package/node_modules/path-key/license +21 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +51 -0
- package/node_modules/pify/index.js +84 -0
- package/node_modules/pify/license +9 -0
- package/node_modules/pify/package.json +51 -0
- package/node_modules/pify/readme.md +131 -0
- package/node_modules/prepend-http/index.js +14 -0
- package/node_modules/prepend-http/license +21 -0
- package/node_modules/prepend-http/package.json +35 -0
- package/node_modules/prepend-http/readme.md +31 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/pseudomap/LICENSE +15 -0
- package/node_modules/pseudomap/README.md +60 -0
- package/node_modules/pseudomap/map.js +9 -0
- package/node_modules/pseudomap/package.json +25 -0
- package/node_modules/pseudomap/pseudomap.js +113 -0
- package/node_modules/pseudomap/test/basic.js +86 -0
- package/node_modules/rc/LICENSE.APACHE2 +15 -0
- package/node_modules/rc/LICENSE.BSD +26 -0
- package/node_modules/rc/LICENSE.MIT +24 -0
- package/node_modules/rc/README.md +227 -0
- package/node_modules/rc/browser.js +7 -0
- package/node_modules/rc/cli.js +4 -0
- package/node_modules/rc/index.js +53 -0
- package/node_modules/rc/lib/utils.js +104 -0
- package/node_modules/rc/package.json +29 -0
- package/node_modules/rc/test/ini.js +16 -0
- package/node_modules/rc/test/nested-env-vars.js +50 -0
- package/node_modules/rc/test/test.js +59 -0
- package/node_modules/registry-auth-token/.npmignore +6 -0
- package/node_modules/registry-auth-token/CHANGELOG.md +112 -0
- package/node_modules/registry-auth-token/LICENSE +21 -0
- package/node_modules/registry-auth-token/README.md +65 -0
- package/node_modules/registry-auth-token/base64.js +14 -0
- package/node_modules/registry-auth-token/index.js +123 -0
- package/node_modules/registry-auth-token/package.json +46 -0
- package/node_modules/registry-auth-token/registry-url.js +5 -0
- package/node_modules/registry-auth-token/test/auth-token.test.js +455 -0
- package/node_modules/registry-auth-token/test/registry-url.test.js +64 -0
- package/node_modules/registry-auth-token/yarn.lock +1516 -0
- package/node_modules/registry-url/index.js +6 -0
- package/node_modules/registry-url/license +21 -0
- package/node_modules/registry-url/package.json +40 -0
- package/node_modules/registry-url/readme.md +50 -0
- package/node_modules/rimraf/LICENSE +15 -0
- package/node_modules/rimraf/README.md +101 -0
- package/node_modules/rimraf/bin.js +50 -0
- package/node_modules/rimraf/package.json +29 -0
- package/node_modules/rimraf/rimraf.js +364 -0
- package/node_modules/semver/CHANGELOG.md +39 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +412 -0
- package/node_modules/semver/bin/semver +160 -0
- package/node_modules/semver/package.json +28 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/semver.js +1483 -0
- package/node_modules/semver-diff/index.js +27 -0
- package/node_modules/semver-diff/license +21 -0
- package/node_modules/semver-diff/package.json +34 -0
- package/node_modules/semver-diff/readme.md +52 -0
- package/node_modules/send/HISTORY.md +15 -0
- package/node_modules/send/LICENSE +1 -1
- package/node_modules/send/README.md +2 -2
- package/node_modules/send/SECURITY.md +24 -0
- package/node_modules/send/index.js +37 -27
- package/node_modules/send/package.json +10 -9
- package/node_modules/serve-static/HISTORY.md +12 -0
- package/node_modules/serve-static/README.md +1 -1
- package/node_modules/serve-static/package.json +5 -5
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +21 -0
- package/node_modules/shebang-command/package.json +39 -0
- package/node_modules/shebang-command/readme.md +39 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +21 -0
- package/node_modules/shebang-regex/package.json +32 -0
- package/node_modules/shebang-regex/readme.md +29 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +39 -0
- package/node_modules/signal-exit/index.js +202 -0
- package/node_modules/signal-exit/package.json +38 -0
- package/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/statuses/HISTORY.md +17 -0
- package/node_modules/statuses/README.md +51 -42
- package/node_modules/statuses/codes.json +2 -3
- package/node_modules/statuses/index.js +52 -19
- package/node_modules/statuses/package.json +17 -16
- package/node_modules/string-width/index.js +36 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +55 -0
- package/node_modules/string-width/readme.md +42 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +52 -0
- package/node_modules/strip-ansi/readme.md +39 -0
- package/node_modules/strip-eof/index.js +15 -0
- package/node_modules/strip-eof/license +21 -0
- package/node_modules/strip-eof/package.json +39 -0
- package/node_modules/strip-eof/readme.md +28 -0
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/strip-json-comments/readme.md +64 -0
- package/node_modules/supports-color/browser.js +5 -0
- package/node_modules/supports-color/index.js +131 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +53 -0
- package/node_modules/supports-color/readme.md +66 -0
- package/node_modules/term-size/index.js +70 -0
- package/node_modules/term-size/license +21 -0
- package/node_modules/term-size/package.json +43 -0
- package/node_modules/term-size/readme.md +41 -0
- package/node_modules/term-size/vendor/macos/term-size +0 -0
- package/node_modules/term-size/vendor/windows/term-size.exe +0 -0
- package/node_modules/timed-out/index.js +55 -0
- package/node_modules/{send/node_modules/destroy/LICENSE → timed-out/license} +1 -2
- package/node_modules/timed-out/package.json +36 -0
- package/node_modules/timed-out/readme.md +42 -0
- package/node_modules/underscore/LICENSE +1 -1
- package/node_modules/underscore/amd/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/amd/_setup.js +3 -3
- package/node_modules/underscore/amd/isObject.js +1 -1
- package/node_modules/underscore/amd/max.js +2 -2
- package/node_modules/underscore/amd/min.js +2 -2
- package/node_modules/underscore/amd/unzip.js +1 -1
- package/node_modules/underscore/cjs/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/cjs/_setup.js +3 -3
- package/node_modules/underscore/cjs/isObject.js +1 -1
- package/node_modules/underscore/cjs/max.js +2 -2
- package/node_modules/underscore/cjs/min.js +2 -2
- package/node_modules/underscore/cjs/unzip.js +1 -1
- package/node_modules/underscore/modules/.eslintrc +10 -1
- package/node_modules/underscore/modules/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/modules/_setup.js +3 -3
- package/node_modules/underscore/modules/index.js +2 -2
- package/node_modules/underscore/modules/isObject.js +1 -1
- package/node_modules/underscore/modules/max.js +2 -2
- package/node_modules/underscore/modules/min.js +2 -2
- package/node_modules/underscore/modules/package.json +1 -3
- package/node_modules/underscore/modules/unzip.js +1 -1
- package/node_modules/underscore/package.json +7 -3
- package/node_modules/underscore/underscore-esm-min.js +3 -3
- package/node_modules/underscore/underscore-esm-min.js.map +1 -1
- package/node_modules/underscore/underscore-esm.js +12 -12
- package/node_modules/underscore/underscore-esm.js.map +1 -1
- package/node_modules/underscore/underscore-min.js +3 -3
- package/node_modules/underscore/underscore-min.js.map +1 -1
- package/node_modules/underscore/underscore-node-f.cjs +12 -12
- package/node_modules/underscore/underscore-node-f.cjs.map +1 -1
- package/node_modules/underscore/underscore-node.cjs +2 -2
- package/node_modules/underscore/underscore-node.mjs +2 -2
- package/node_modules/underscore/underscore-umd-min.js +3 -3
- package/node_modules/underscore/underscore-umd-min.js.map +1 -1
- package/node_modules/underscore/underscore-umd.js +12 -12
- package/node_modules/underscore/underscore-umd.js.map +1 -1
- package/node_modules/underscore/underscore.js +12 -12
- package/node_modules/unique-string/index.js +4 -0
- package/node_modules/unique-string/license +21 -0
- package/node_modules/unique-string/package.json +44 -0
- package/node_modules/unique-string/readme.md +32 -0
- package/node_modules/unzip-response/index.js +36 -0
- package/node_modules/unzip-response/license +21 -0
- package/node_modules/unzip-response/package.json +49 -0
- package/node_modules/unzip-response/readme.md +29 -0
- package/node_modules/update-notifier/check.js +22 -0
- package/node_modules/update-notifier/index.js +155 -0
- package/node_modules/update-notifier/license +9 -0
- package/node_modules/update-notifier/package.json +55 -0
- package/node_modules/update-notifier/readme.md +193 -0
- package/node_modules/url-parse-lax/index.js +14 -0
- package/node_modules/url-parse-lax/license +21 -0
- package/node_modules/url-parse-lax/package.json +41 -0
- package/node_modules/url-parse-lax/readme.md +100 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/which/CHANGELOG.md +152 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +51 -0
- package/node_modules/which/bin/which +52 -0
- package/node_modules/which/package.json +30 -0
- package/node_modules/which/which.js +135 -0
- package/node_modules/widest-line/index.js +8 -0
- package/node_modules/widest-line/license +9 -0
- package/node_modules/widest-line/package.json +54 -0
- package/node_modules/widest-line/readme.md +34 -0
- package/node_modules/write-file-atomic/CHANGELOG.md +25 -0
- package/node_modules/write-file-atomic/LICENSE +6 -0
- package/node_modules/write-file-atomic/README.md +56 -0
- package/node_modules/write-file-atomic/index.js +238 -0
- package/node_modules/write-file-atomic/package.json +41 -0
- package/node_modules/xdg-basedir/index.js +28 -0
- package/node_modules/xdg-basedir/license +21 -0
- package/node_modules/xdg-basedir/package.json +40 -0
- package/node_modules/xdg-basedir/readme.md +60 -0
- package/node_modules/yallist/LICENSE +15 -0
- package/node_modules/yallist/README.md +204 -0
- package/node_modules/yallist/iterator.js +7 -0
- package/node_modules/yallist/package.json +29 -0
- package/node_modules/yallist/yallist.js +370 -0
- package/package.json +3 -2
- package/node_modules/express/node_modules/body-parser/HISTORY.md +0 -633
- package/node_modules/express/node_modules/body-parser/LICENSE +0 -23
- package/node_modules/express/node_modules/body-parser/README.md +0 -456
- package/node_modules/express/node_modules/body-parser/index.js +0 -157
- package/node_modules/express/node_modules/body-parser/lib/read.js +0 -181
- package/node_modules/express/node_modules/body-parser/lib/types/json.js +0 -230
- package/node_modules/express/node_modules/body-parser/lib/types/raw.js +0 -101
- package/node_modules/express/node_modules/body-parser/lib/types/text.js +0 -121
- package/node_modules/express/node_modules/body-parser/lib/types/urlencoded.js +0 -284
- package/node_modules/express/node_modules/body-parser/package.json +0 -52
- package/node_modules/express/node_modules/depd/History.md +0 -96
- package/node_modules/express/node_modules/depd/LICENSE +0 -22
- package/node_modules/express/node_modules/depd/Readme.md +0 -280
- package/node_modules/express/node_modules/depd/index.js +0 -522
- package/node_modules/express/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/express/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/node_modules/express/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/node_modules/express/node_modules/depd/lib/compat/index.js +0 -79
- package/node_modules/express/node_modules/depd/package.json +0 -41
- package/node_modules/express/node_modules/http-errors/HISTORY.md +0 -165
- package/node_modules/express/node_modules/http-errors/README.md +0 -169
- package/node_modules/express/node_modules/http-errors/index.js +0 -299
- package/node_modules/express/node_modules/http-errors/package.json +0 -49
- package/node_modules/express/node_modules/on-finished/HISTORY.md +0 -88
- package/node_modules/express/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/express/node_modules/on-finished/README.md +0 -154
- package/node_modules/express/node_modules/on-finished/index.js +0 -196
- package/node_modules/express/node_modules/on-finished/package.json +0 -31
- package/node_modules/express/node_modules/qs/.eslintrc +0 -38
- package/node_modules/express/node_modules/qs/CHANGELOG.md +0 -371
- package/node_modules/express/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/express/node_modules/qs/README.md +0 -616
- package/node_modules/express/node_modules/qs/dist/qs.js +0 -842
- package/node_modules/express/node_modules/qs/lib/formats.js +0 -23
- package/node_modules/express/node_modules/qs/lib/index.js +0 -11
- package/node_modules/express/node_modules/qs/lib/parse.js +0 -257
- package/node_modules/express/node_modules/qs/lib/stringify.js +0 -287
- package/node_modules/express/node_modules/qs/lib/utils.js +0 -252
- package/node_modules/express/node_modules/qs/package.json +0 -70
- package/node_modules/express/node_modules/qs/test/parse.js +0 -832
- package/node_modules/express/node_modules/qs/test/stringify.js +0 -804
- package/node_modules/express/node_modules/qs/test/utils.js +0 -136
- package/node_modules/express/node_modules/raw-body/HISTORY.md +0 -289
- package/node_modules/express/node_modules/raw-body/LICENSE +0 -22
- package/node_modules/express/node_modules/raw-body/README.md +0 -219
- package/node_modules/express/node_modules/raw-body/index.d.ts +0 -87
- package/node_modules/express/node_modules/raw-body/index.js +0 -286
- package/node_modules/express/node_modules/raw-body/package.json +0 -48
- package/node_modules/finalhandler/node_modules/on-finished/HISTORY.md +0 -88
- package/node_modules/finalhandler/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/finalhandler/node_modules/on-finished/README.md +0 -154
- package/node_modules/finalhandler/node_modules/on-finished/index.js +0 -196
- package/node_modules/finalhandler/node_modules/on-finished/package.json +0 -31
- package/node_modules/http-errors/node_modules/statuses/HISTORY.md +0 -82
- package/node_modules/http-errors/node_modules/statuses/README.md +0 -136
- package/node_modules/http-errors/node_modules/statuses/codes.json +0 -65
- package/node_modules/http-errors/node_modules/statuses/index.js +0 -146
- package/node_modules/http-errors/node_modules/statuses/package.json +0 -49
- package/node_modules/object-inspect/.eslintignore +0 -1
- package/node_modules/send/node_modules/depd/History.md +0 -96
- package/node_modules/send/node_modules/depd/Readme.md +0 -280
- package/node_modules/send/node_modules/depd/index.js +0 -522
- package/node_modules/send/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/send/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/node_modules/send/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/node_modules/send/node_modules/depd/lib/compat/index.js +0 -79
- package/node_modules/send/node_modules/depd/package.json +0 -41
- package/node_modules/send/node_modules/destroy/README.md +0 -60
- package/node_modules/send/node_modules/destroy/index.js +0 -75
- package/node_modules/send/node_modules/destroy/package.json +0 -37
- package/node_modules/send/node_modules/http-errors/HISTORY.md +0 -165
- package/node_modules/send/node_modules/http-errors/README.md +0 -169
- package/node_modules/send/node_modules/http-errors/index.js +0 -299
- package/node_modules/send/node_modules/http-errors/package.json +0 -49
- package/node_modules/send/node_modules/on-finished/HISTORY.md +0 -88
- package/node_modules/send/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/send/node_modules/on-finished/README.md +0 -154
- package/node_modules/send/node_modules/on-finished/index.js +0 -196
- package/node_modules/send/node_modules/on-finished/package.json +0 -31
|
@@ -108,8 +108,8 @@ proto.param = function param(name, fn) {
|
|
|
108
108
|
var ret;
|
|
109
109
|
|
|
110
110
|
if (name[0] === ':') {
|
|
111
|
-
deprecate('router.param(' + JSON.stringify(name) + ', fn): Use router.param(' + JSON.stringify(name.
|
|
112
|
-
name = name.
|
|
111
|
+
deprecate('router.param(' + JSON.stringify(name) + ', fn): Use router.param(' + JSON.stringify(name.slice(1)) + ', fn) instead')
|
|
112
|
+
name = name.slice(1)
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
for (var i = 0; i < len; ++i) {
|
|
@@ -142,6 +142,7 @@ proto.handle = function handle(req, res, out) {
|
|
|
142
142
|
var protohost = getProtohost(req.url) || ''
|
|
143
143
|
var removed = '';
|
|
144
144
|
var slashAdded = false;
|
|
145
|
+
var sync = 0
|
|
145
146
|
var paramcalled = {};
|
|
146
147
|
|
|
147
148
|
// store options for OPTIONS request
|
|
@@ -180,14 +181,14 @@ proto.handle = function handle(req, res, out) {
|
|
|
180
181
|
|
|
181
182
|
// remove added slash
|
|
182
183
|
if (slashAdded) {
|
|
183
|
-
req.url = req.url.
|
|
184
|
+
req.url = req.url.slice(1)
|
|
184
185
|
slashAdded = false;
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
// restore altered req.url
|
|
188
189
|
if (removed.length !== 0) {
|
|
189
190
|
req.baseUrl = parentUrl;
|
|
190
|
-
req.url = protohost + removed + req.url.
|
|
191
|
+
req.url = protohost + removed + req.url.slice(protohost.length)
|
|
191
192
|
removed = '';
|
|
192
193
|
}
|
|
193
194
|
|
|
@@ -203,6 +204,11 @@ proto.handle = function handle(req, res, out) {
|
|
|
203
204
|
return;
|
|
204
205
|
}
|
|
205
206
|
|
|
207
|
+
// max sync stack
|
|
208
|
+
if (++sync > 100) {
|
|
209
|
+
return setImmediate(next, err)
|
|
210
|
+
}
|
|
211
|
+
|
|
206
212
|
// get pathname of request
|
|
207
213
|
var path = getPathname(req);
|
|
208
214
|
|
|
@@ -251,7 +257,6 @@ proto.handle = function handle(req, res, out) {
|
|
|
251
257
|
// don't even bother matching route
|
|
252
258
|
if (!has_method && method !== 'HEAD') {
|
|
253
259
|
match = false;
|
|
254
|
-
continue;
|
|
255
260
|
}
|
|
256
261
|
}
|
|
257
262
|
|
|
@@ -274,21 +279,21 @@ proto.handle = function handle(req, res, out) {
|
|
|
274
279
|
// this should be done for the layer
|
|
275
280
|
self.process_params(layer, paramcalled, req, res, function (err) {
|
|
276
281
|
if (err) {
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
+
next(layerError || err)
|
|
283
|
+
} else if (route) {
|
|
284
|
+
layer.handle_request(req, res, next)
|
|
285
|
+
} else {
|
|
286
|
+
trim_prefix(layer, layerError, layerPath, path)
|
|
282
287
|
}
|
|
283
288
|
|
|
284
|
-
|
|
289
|
+
sync = 0
|
|
285
290
|
});
|
|
286
291
|
}
|
|
287
292
|
|
|
288
293
|
function trim_prefix(layer, layerError, layerPath, path) {
|
|
289
294
|
if (layerPath.length !== 0) {
|
|
290
295
|
// Validate path is a prefix match
|
|
291
|
-
if (layerPath !== path.
|
|
296
|
+
if (layerPath !== path.slice(0, layerPath.length)) {
|
|
292
297
|
next(layerError)
|
|
293
298
|
return
|
|
294
299
|
}
|
|
@@ -301,7 +306,7 @@ proto.handle = function handle(req, res, out) {
|
|
|
301
306
|
// middleware (.use stuff) needs to have the path stripped
|
|
302
307
|
debug('trim prefix (%s) from url %s', layerPath, req.url);
|
|
303
308
|
removed = layerPath;
|
|
304
|
-
req.url = protohost + req.url.
|
|
309
|
+
req.url = protohost + req.url.slice(protohost.length + removed.length)
|
|
305
310
|
|
|
306
311
|
// Ensure leading slash
|
|
307
312
|
if (!protohost && req.url[0] !== '/') {
|
|
@@ -547,10 +552,10 @@ function getProtohost(url) {
|
|
|
547
552
|
var pathLength = searchIndex !== -1
|
|
548
553
|
? searchIndex
|
|
549
554
|
: url.length
|
|
550
|
-
var fqdnIndex = url.
|
|
555
|
+
var fqdnIndex = url.slice(0, pathLength).indexOf('://')
|
|
551
556
|
|
|
552
557
|
return fqdnIndex !== -1
|
|
553
|
-
? url.
|
|
558
|
+
? url.substring(0, url.indexOf('/', 3 + fqdnIndex))
|
|
554
559
|
: undefined
|
|
555
560
|
}
|
|
556
561
|
|
|
@@ -98,6 +98,8 @@ Route.prototype._options = function _options() {
|
|
|
98
98
|
Route.prototype.dispatch = function dispatch(req, res, done) {
|
|
99
99
|
var idx = 0;
|
|
100
100
|
var stack = this.stack;
|
|
101
|
+
var sync = 0
|
|
102
|
+
|
|
101
103
|
if (stack.length === 0) {
|
|
102
104
|
return done();
|
|
103
105
|
}
|
|
@@ -127,6 +129,11 @@ Route.prototype.dispatch = function dispatch(req, res, done) {
|
|
|
127
129
|
return done(err);
|
|
128
130
|
}
|
|
129
131
|
|
|
132
|
+
// max sync stack
|
|
133
|
+
if (++sync > 100) {
|
|
134
|
+
return setImmediate(next, err)
|
|
135
|
+
}
|
|
136
|
+
|
|
130
137
|
if (layer.method && layer.method !== method) {
|
|
131
138
|
return next(err);
|
|
132
139
|
}
|
|
@@ -136,6 +143,8 @@ Route.prototype.dispatch = function dispatch(req, res, done) {
|
|
|
136
143
|
} else {
|
|
137
144
|
layer.handle_request(req, res, next);
|
|
138
145
|
}
|
|
146
|
+
|
|
147
|
+
sync = 0
|
|
139
148
|
}
|
|
140
149
|
};
|
|
141
150
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express",
|
|
3
3
|
"description": "Fast, unopinionated, minimalist web framework",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.1",
|
|
5
5
|
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Aaron Heckmann <aaron.heckmann+github@gmail.com>",
|
|
@@ -30,31 +30,32 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"accepts": "~1.3.8",
|
|
32
32
|
"array-flatten": "1.1.1",
|
|
33
|
-
"body-parser": "1.
|
|
33
|
+
"body-parser": "1.20.0",
|
|
34
34
|
"content-disposition": "0.5.4",
|
|
35
35
|
"content-type": "~1.0.4",
|
|
36
|
-
"cookie": "0.
|
|
36
|
+
"cookie": "0.5.0",
|
|
37
37
|
"cookie-signature": "1.0.6",
|
|
38
38
|
"debug": "2.6.9",
|
|
39
|
-
"depd": "
|
|
39
|
+
"depd": "2.0.0",
|
|
40
40
|
"encodeurl": "~1.0.2",
|
|
41
41
|
"escape-html": "~1.0.3",
|
|
42
42
|
"etag": "~1.8.1",
|
|
43
|
-
"finalhandler": "
|
|
43
|
+
"finalhandler": "1.2.0",
|
|
44
44
|
"fresh": "0.5.2",
|
|
45
|
+
"http-errors": "2.0.0",
|
|
45
46
|
"merge-descriptors": "1.0.1",
|
|
46
47
|
"methods": "~1.1.2",
|
|
47
|
-
"on-finished": "
|
|
48
|
+
"on-finished": "2.4.1",
|
|
48
49
|
"parseurl": "~1.3.3",
|
|
49
50
|
"path-to-regexp": "0.1.7",
|
|
50
51
|
"proxy-addr": "~2.0.7",
|
|
51
|
-
"qs": "6.
|
|
52
|
+
"qs": "6.10.3",
|
|
52
53
|
"range-parser": "~1.2.1",
|
|
53
54
|
"safe-buffer": "5.2.1",
|
|
54
|
-
"send": "0.
|
|
55
|
-
"serve-static": "1.
|
|
55
|
+
"send": "0.18.0",
|
|
56
|
+
"serve-static": "1.15.0",
|
|
56
57
|
"setprototypeof": "1.2.0",
|
|
57
|
-
"statuses": "
|
|
58
|
+
"statuses": "2.0.1",
|
|
58
59
|
"type-is": "~1.6.18",
|
|
59
60
|
"utils-merge": "1.0.1",
|
|
60
61
|
"vary": "~1.1.2"
|
|
@@ -64,20 +65,18 @@
|
|
|
64
65
|
"connect-redis": "3.4.2",
|
|
65
66
|
"cookie-parser": "1.4.6",
|
|
66
67
|
"cookie-session": "2.0.0",
|
|
67
|
-
"ejs": "3.1.
|
|
68
|
+
"ejs": "3.1.7",
|
|
68
69
|
"eslint": "7.32.0",
|
|
69
70
|
"express-session": "1.17.2",
|
|
70
71
|
"hbs": "4.2.0",
|
|
71
72
|
"marked": "0.7.0",
|
|
72
73
|
"method-override": "3.0.0",
|
|
73
|
-
"mocha": "9.2.
|
|
74
|
+
"mocha": "9.2.2",
|
|
74
75
|
"morgan": "1.10.0",
|
|
75
76
|
"multiparty": "4.2.3",
|
|
76
77
|
"nyc": "15.1.0",
|
|
77
78
|
"pbkdf2-password": "1.2.1",
|
|
78
|
-
"
|
|
79
|
-
"should": "13.2.3",
|
|
80
|
-
"supertest": "6.2.2",
|
|
79
|
+
"supertest": "6.2.3",
|
|
81
80
|
"vhost": "~3.0.2"
|
|
82
81
|
},
|
|
83
82
|
"engines": {
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
1.2.0 / 2022-03-22
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
* Remove set content headers that break response
|
|
5
|
+
* deps: on-finished@2.4.1
|
|
6
|
+
* deps: statuses@2.0.1
|
|
7
|
+
- Rename `425 Unordered Collection` to standard `425 Too Early`
|
|
8
|
+
|
|
1
9
|
1.1.2 / 2019-05-09
|
|
2
10
|
==================
|
|
3
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(The MIT License)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[![NPM Version][npm-image]][npm-url]
|
|
4
4
|
[![NPM Downloads][downloads-image]][downloads-url]
|
|
5
5
|
[![Node.js Version][node-image]][node-url]
|
|
6
|
-
[![Build Status][
|
|
6
|
+
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
|
|
7
7
|
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
8
|
|
|
9
9
|
Node.js function to invoke as the final step to respond to HTTP request.
|
|
@@ -20,8 +20,6 @@ $ npm install finalhandler
|
|
|
20
20
|
|
|
21
21
|
## API
|
|
22
22
|
|
|
23
|
-
<!-- eslint-disable no-unused-vars -->
|
|
24
|
-
|
|
25
23
|
```js
|
|
26
24
|
var finalhandler = require('finalhandler')
|
|
27
25
|
```
|
|
@@ -31,7 +29,8 @@ var finalhandler = require('finalhandler')
|
|
|
31
29
|
Returns function to be invoked as the final step for the given `req` and `res`.
|
|
32
30
|
This function is to be invoked as `fn(err)`. If `err` is falsy, the handler will
|
|
33
31
|
write out a 404 response to the `res`. If it is truthy, an error response will
|
|
34
|
-
be written out to the `res
|
|
32
|
+
be written out to the `res` or `res` will be terminated if a response has already
|
|
33
|
+
started.
|
|
35
34
|
|
|
36
35
|
When an error is written, the following information is added to the response:
|
|
37
36
|
|
|
@@ -140,9 +139,9 @@ function logerror (err) {
|
|
|
140
139
|
[npm-url]: https://npmjs.org/package/finalhandler
|
|
141
140
|
[node-image]: https://img.shields.io/node/v/finalhandler.svg
|
|
142
141
|
[node-url]: https://nodejs.org/en/download
|
|
143
|
-
[travis-image]: https://img.shields.io/travis/pillarjs/finalhandler.svg
|
|
144
|
-
[travis-url]: https://travis-ci.org/pillarjs/finalhandler
|
|
145
142
|
[coveralls-image]: https://img.shields.io/coveralls/pillarjs/finalhandler.svg
|
|
146
143
|
[coveralls-url]: https://coveralls.io/r/pillarjs/finalhandler?branch=master
|
|
147
144
|
[downloads-image]: https://img.shields.io/npm/dm/finalhandler.svg
|
|
148
145
|
[downloads-url]: https://npmjs.org/package/finalhandler
|
|
146
|
+
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/pillarjs/finalhandler/ci/master?label=ci
|
|
147
|
+
[github-actions-ci-url]: https://github.com/jshttp/pillarjs/finalhandler?query=workflow%3Aci
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Security Policies and Procedures
|
|
2
|
+
|
|
3
|
+
## Reporting a Bug
|
|
4
|
+
|
|
5
|
+
The `finalhandler` team and community take all security bugs seriously. Thank
|
|
6
|
+
you for improving the security of Express. We appreciate your efforts and
|
|
7
|
+
responsible disclosure and will make every effort to acknowledge your
|
|
8
|
+
contributions.
|
|
9
|
+
|
|
10
|
+
Report security bugs by emailing the current owner(s) of `finalhandler`. This
|
|
11
|
+
information can be found in the npm registry using the command
|
|
12
|
+
`npm owner ls finalhandler`.
|
|
13
|
+
If unsure or unable to get the information from the above, open an issue
|
|
14
|
+
in the [project issue tracker](https://github.com/pillarjs/finalhandler/issues)
|
|
15
|
+
asking for the current contact information.
|
|
16
|
+
|
|
17
|
+
To ensure the timely response to your report, please ensure that the entirety
|
|
18
|
+
of the report is contained within the email body and not solely behind a web
|
|
19
|
+
link or an attachment.
|
|
20
|
+
|
|
21
|
+
At least one owner will acknowledge your email within 48 hours, and will send a
|
|
22
|
+
more detailed response within 48 hours indicating the next steps in handling
|
|
23
|
+
your report. After the initial reply to your report, the owners will
|
|
24
|
+
endeavor to keep you informed of the progress towards a fix and full
|
|
25
|
+
announcement, and may ask for additional information or guidance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* finalhandler
|
|
3
|
-
* Copyright(c) 2014-
|
|
3
|
+
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
4
4
|
* MIT Licensed
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -181,7 +181,7 @@ function getErrorMessage (err, status, env) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
return msg || statuses[status]
|
|
184
|
+
return msg || statuses.message[status]
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/**
|
|
@@ -276,7 +276,12 @@ function send (req, res, status, headers, message) {
|
|
|
276
276
|
|
|
277
277
|
// response status
|
|
278
278
|
res.statusCode = status
|
|
279
|
-
res.statusMessage = statuses[status]
|
|
279
|
+
res.statusMessage = statuses.message[status]
|
|
280
|
+
|
|
281
|
+
// remove any content headers
|
|
282
|
+
res.removeHeader('Content-Encoding')
|
|
283
|
+
res.removeHeader('Content-Language')
|
|
284
|
+
res.removeHeader('Content-Range')
|
|
280
285
|
|
|
281
286
|
// response headers
|
|
282
287
|
setHeaders(res, headers)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "finalhandler",
|
|
3
3
|
"description": "Node.js final http responder",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "pillarjs/finalhandler",
|
|
@@ -9,37 +9,38 @@
|
|
|
9
9
|
"debug": "2.6.9",
|
|
10
10
|
"encodeurl": "~1.0.2",
|
|
11
11
|
"escape-html": "~1.0.3",
|
|
12
|
-
"on-finished": "
|
|
12
|
+
"on-finished": "2.4.1",
|
|
13
13
|
"parseurl": "~1.3.3",
|
|
14
|
-
"statuses": "
|
|
14
|
+
"statuses": "2.0.1",
|
|
15
15
|
"unpipe": "~1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"eslint": "
|
|
19
|
-
"eslint-config-standard": "
|
|
20
|
-
"eslint-plugin-import": "2.
|
|
21
|
-
"eslint-plugin-markdown": "
|
|
22
|
-
"eslint-plugin-node": "
|
|
23
|
-
"eslint-plugin-promise": "
|
|
24
|
-
"eslint-plugin-standard": "4.
|
|
25
|
-
"
|
|
26
|
-
"
|
|
18
|
+
"eslint": "7.32.0",
|
|
19
|
+
"eslint-config-standard": "14.1.1",
|
|
20
|
+
"eslint-plugin-import": "2.25.4",
|
|
21
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
22
|
+
"eslint-plugin-node": "11.1.0",
|
|
23
|
+
"eslint-plugin-promise": "5.2.0",
|
|
24
|
+
"eslint-plugin-standard": "4.1.0",
|
|
25
|
+
"mocha": "9.2.2",
|
|
26
|
+
"nyc": "15.1.0",
|
|
27
27
|
"readable-stream": "2.3.6",
|
|
28
|
-
"safe-buffer": "5.1
|
|
29
|
-
"supertest": "
|
|
28
|
+
"safe-buffer": "5.2.1",
|
|
29
|
+
"supertest": "6.2.2"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"LICENSE",
|
|
33
33
|
"HISTORY.md",
|
|
34
|
+
"SECURITY.md",
|
|
34
35
|
"index.js"
|
|
35
36
|
],
|
|
36
37
|
"engines": {
|
|
37
38
|
"node": ">= 0.8"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
|
-
"lint": "eslint
|
|
41
|
+
"lint": "eslint .",
|
|
41
42
|
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
42
|
-
"test-ci": "
|
|
43
|
-
"test-cov": "
|
|
43
|
+
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
|
|
44
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
44
45
|
}
|
|
45
46
|
}
|
|
@@ -8,26 +8,21 @@
|
|
|
8
8
|
"es2017": true,
|
|
9
9
|
"es2020": true,
|
|
10
10
|
"es2021": true,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"globals": {
|
|
14
|
-
"AggregateError": false,
|
|
11
|
+
"es2022": true,
|
|
15
12
|
},
|
|
16
13
|
|
|
17
14
|
"rules": {
|
|
18
15
|
"array-bracket-newline": 0,
|
|
19
|
-
"array-element-newline": 0,
|
|
20
16
|
"complexity": 0,
|
|
21
17
|
"eqeqeq": [2, "allow-null"],
|
|
22
18
|
"func-name-matching": 0,
|
|
23
19
|
"id-length": 0,
|
|
24
|
-
"max-lines-per-function": [2,
|
|
20
|
+
"max-lines-per-function": [2, 90],
|
|
25
21
|
"max-params": [2, 4],
|
|
26
22
|
"max-statements": 0,
|
|
27
23
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
28
24
|
"multiline-comment-style": 0,
|
|
29
25
|
"no-magic-numbers": 0,
|
|
30
|
-
"operator-linebreak": [2, "before"],
|
|
31
26
|
"sort-keys": 0,
|
|
32
27
|
},
|
|
33
28
|
|
|
@@ -35,7 +30,6 @@
|
|
|
35
30
|
{
|
|
36
31
|
"files": "test/**",
|
|
37
32
|
"rules": {
|
|
38
|
-
"max-lines-per-function": 0,
|
|
39
33
|
"new-cap": 0,
|
|
40
34
|
},
|
|
41
35
|
},
|
|
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.1.2](https://github.com/ljharb/get-intrinsic/compare/v1.1.1...v1.1.2) - 2022-06-08
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- [Fix] properly validate against extra % signs [`#16`](https://github.com/ljharb/get-intrinsic/issues/16)
|
|
13
|
+
|
|
14
|
+
### Commits
|
|
15
|
+
|
|
16
|
+
- [actions] reuse common workflows [`0972547`](https://github.com/ljharb/get-intrinsic/commit/0972547efd0abc863fe4c445a6ca7eb4f8c6901d)
|
|
17
|
+
- [meta] use `npmignore` to autogenerate an npmignore file [`5ba0b51`](https://github.com/ljharb/get-intrinsic/commit/5ba0b51d8d8d4f1c31d426d74abc0770fd106bad)
|
|
18
|
+
- [actions] use `node/install` instead of `node/run`; use `codecov` action [`c364492`](https://github.com/ljharb/get-intrinsic/commit/c364492af4af51333e6f81c0bf21fd3d602c3661)
|
|
19
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es-abstract`, `object-inspect`, `tape` [`dc04dad`](https://github.com/ljharb/get-intrinsic/commit/dc04dad86f6e5608775a2640cb0db5927ae29ed9)
|
|
20
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `safe-publish-latest`, `tape` [`1c14059`](https://github.com/ljharb/get-intrinsic/commit/1c1405984e86dd2dc9366c15d8a0294a96a146a5)
|
|
21
|
+
- [Tests] use `mock-property` [`b396ef0`](https://github.com/ljharb/get-intrinsic/commit/b396ef05bb73b1d699811abd64b0d9b97997fdda)
|
|
22
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c2c758d`](https://github.com/ljharb/get-intrinsic/commit/c2c758d3b90af4fef0a76910d8d3c292ec8d1d3e)
|
|
23
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`29e3c09`](https://github.com/ljharb/get-intrinsic/commit/29e3c091c2bf3e17099969847e8729d0e46896de)
|
|
24
|
+
- [actions] update codecov uploader [`8cbc141`](https://github.com/ljharb/get-intrinsic/commit/8cbc1418940d7a8941f3a7985cbc4ac095c5e13d)
|
|
25
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`10b6f5c`](https://github.com/ljharb/get-intrinsic/commit/10b6f5c02593fb3680c581d696ac124e30652932)
|
|
26
|
+
- [readme] add github actions/codecov badges [`4e25400`](https://github.com/ljharb/get-intrinsic/commit/4e25400d9f51ae9eb059cbe22d9144e70ea214e8)
|
|
27
|
+
- [Tests] use `for-each` instead of `foreach` [`c05b957`](https://github.com/ljharb/get-intrinsic/commit/c05b957ad9a7bc7721af7cc9e9be1edbfe057496)
|
|
28
|
+
- [Dev Deps] update `es-abstract` [`29b05ae`](https://github.com/ljharb/get-intrinsic/commit/29b05aec3e7330e9ad0b8e0f685a9112c20cdd97)
|
|
29
|
+
- [meta] use `prepublishOnly` script for npm 7+ [`95c285d`](https://github.com/ljharb/get-intrinsic/commit/95c285da810516057d3bbfa871176031af38f05d)
|
|
30
|
+
- [Deps] update `has-symbols` [`593cb4f`](https://github.com/ljharb/get-intrinsic/commit/593cb4fb38e7922e40e42c183f45274b636424cd)
|
|
31
|
+
- [readme] fix repo URLs [`1c8305b`](https://github.com/ljharb/get-intrinsic/commit/1c8305b5365827c9b6fc785434aac0e1328ff2f5)
|
|
32
|
+
- [Deps] update `has-symbols` [`c7138b6`](https://github.com/ljharb/get-intrinsic/commit/c7138b6c6d73132d859471fb8c13304e1e7c8b20)
|
|
33
|
+
- [Dev Deps] remove unused `has-bigints` [`bd63aff`](https://github.com/ljharb/get-intrinsic/commit/bd63aff6ad8f3a986c557fcda2914187bdaab359)
|
|
34
|
+
|
|
8
35
|
## [v1.1.1](https://github.com/ljharb/get-intrinsic/compare/v1.1.0...v1.1.1) - 2021-02-03
|
|
9
36
|
|
|
10
37
|
### Fixed
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# get-intrinsic <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
|
2
2
|
|
|
3
|
+
[![github actions][actions-image]][actions-url]
|
|
4
|
+
[![coverage][codecov-image]][codecov-url]
|
|
3
5
|
[![dependency status][deps-svg]][deps-url]
|
|
4
6
|
[![dev dependency status][dev-deps-svg]][dev-deps-url]
|
|
5
7
|
[![License][license-image]][license-url]
|
|
@@ -53,7 +55,7 @@ Simply clone the repo, `npm install`, and run `npm test`
|
|
|
53
55
|
Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
|
|
54
56
|
|
|
55
57
|
[package-url]: https://npmjs.org/package/get-intrinsic
|
|
56
|
-
[npm-version-svg]:
|
|
58
|
+
[npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg
|
|
57
59
|
[deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg
|
|
58
60
|
[deps-url]: https://david-dm.org/ljharb/get-intrinsic
|
|
59
61
|
[dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg
|
|
@@ -63,3 +65,7 @@ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/se
|
|
|
63
65
|
[license-url]: LICENSE
|
|
64
66
|
[downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg
|
|
65
67
|
[downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic
|
|
68
|
+
[codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg
|
|
69
|
+
[codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/
|
|
70
|
+
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic
|
|
71
|
+
[actions-url]: https://github.com/ljharb/get-intrinsic/actions
|
|
@@ -202,6 +202,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
|
202
202
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
203
203
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
204
204
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
205
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
205
206
|
|
|
206
207
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
207
208
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -257,6 +258,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
257
258
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
258
259
|
}
|
|
259
260
|
|
|
261
|
+
if ($exec(/^%?[^%]*%?$/g, name) === null) {
|
|
262
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
263
|
+
}
|
|
260
264
|
var parts = stringToPath(name);
|
|
261
265
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
262
266
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-intrinsic",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Get and robustly cache all JS language-level intrinsics at first require time",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"./package.json": "./package.json"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
+
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
17
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
18
|
+
"prepublishOnly": "safe-publish-latest",
|
|
16
19
|
"prelint": "evalmd README.md",
|
|
17
20
|
"lint": "eslint --ext=.js,.mjs .",
|
|
18
21
|
"pretest": "npm run lint",
|
|
@@ -45,22 +48,24 @@
|
|
|
45
48
|
},
|
|
46
49
|
"homepage": "https://github.com/ljharb/get-intrinsic#readme",
|
|
47
50
|
"devDependencies": {
|
|
48
|
-
"@ljharb/eslint-config": "^
|
|
49
|
-
"aud": "^
|
|
50
|
-
"auto-changelog": "^2.
|
|
51
|
+
"@ljharb/eslint-config": "^21.0.0",
|
|
52
|
+
"aud": "^2.0.0",
|
|
53
|
+
"auto-changelog": "^2.4.0",
|
|
51
54
|
"call-bind": "^1.0.2",
|
|
52
|
-
"es-abstract": "^1.
|
|
53
|
-
"es-value-fixtures": "^1.
|
|
54
|
-
"eslint": "
|
|
55
|
+
"es-abstract": "^1.20.1",
|
|
56
|
+
"es-value-fixtures": "^1.4.1",
|
|
57
|
+
"eslint": "=8.8.0",
|
|
55
58
|
"evalmd": "^0.0.19",
|
|
56
|
-
"
|
|
57
|
-
"has-bigints": "^1.0.1",
|
|
59
|
+
"for-each": "^0.3.3",
|
|
58
60
|
"make-async-function": "^1.0.0",
|
|
59
61
|
"make-async-generator-function": "^1.0.0",
|
|
60
62
|
"make-generator-function": "^2.0.0",
|
|
63
|
+
"mock-property": "^1.0.0",
|
|
64
|
+
"npmignore": "^0.3.0",
|
|
61
65
|
"nyc": "^10.3.2",
|
|
62
|
-
"object-inspect": "^1.
|
|
63
|
-
"
|
|
66
|
+
"object-inspect": "^1.12.2",
|
|
67
|
+
"safe-publish-latest": "^2.0.0",
|
|
68
|
+
"tape": "^5.5.3"
|
|
64
69
|
},
|
|
65
70
|
"auto-changelog": {
|
|
66
71
|
"output": "CHANGELOG.md",
|
|
@@ -73,6 +78,11 @@
|
|
|
73
78
|
"dependencies": {
|
|
74
79
|
"function-bind": "^1.1.1",
|
|
75
80
|
"has": "^1.0.3",
|
|
76
|
-
"has-symbols": "^1.0.
|
|
81
|
+
"has-symbols": "^1.0.3"
|
|
82
|
+
},
|
|
83
|
+
"publishConfig": {
|
|
84
|
+
"ignore": [
|
|
85
|
+
".github/workflows"
|
|
86
|
+
]
|
|
77
87
|
}
|
|
78
88
|
}
|