step-node-agent 3.20.2 → 3.21.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/aws4/README.md +31 -1
- package/node_modules/aws4/aws4.js +10 -2
- package/node_modules/aws4/package.json +1 -1
- package/node_modules/content-type/HISTORY.md +5 -0
- package/node_modules/content-type/README.md +21 -19
- package/node_modules/content-type/index.js +12 -9
- package/node_modules/content-type/package.json +13 -11
- package/node_modules/get-intrinsic/.eslintrc +1 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +12 -0
- package/node_modules/get-intrinsic/index.js +10 -0
- package/node_modules/get-intrinsic/package.json +7 -6
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +1 -1
- package/node_modules/minimist/.eslintrc +25 -50
- package/node_modules/minimist/CHANGELOG.md +87 -1
- package/node_modules/minimist/README.md +14 -10
- package/node_modules/minimist/example/parse.js +2 -0
- package/node_modules/minimist/index.js +256 -242
- package/node_modules/minimist/package.json +73 -73
- package/node_modules/minimist/test/all_bool.js +26 -24
- package/node_modules/minimist/test/bool.js +146 -147
- package/node_modules/minimist/test/dash.js +33 -21
- package/node_modules/minimist/test/default_bool.js +26 -24
- package/node_modules/minimist/test/dotted.js +13 -11
- package/node_modules/minimist/test/kv_short.js +26 -10
- package/node_modules/minimist/test/long.js +28 -26
- package/node_modules/minimist/test/num.js +30 -28
- package/node_modules/minimist/test/parse.js +169 -157
- package/node_modules/minimist/test/parse_modified.js +7 -5
- package/node_modules/minimist/test/proto.js +41 -37
- package/node_modules/minimist/test/short.js +57 -55
- package/node_modules/minimist/test/stop_early.js +10 -8
- package/node_modules/minimist/test/unknown.js +83 -81
- package/node_modules/minimist/test/whitespace.js +6 -4
- package/node_modules/npm/AUTHORS +6 -0
- package/node_modules/npm/CHANGELOG.md +57 -0
- package/node_modules/npm/Makefile +6 -8
- package/node_modules/npm/docs/config.json +5 -0
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-access.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-adduser.md +6 -10
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-audit.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bin.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bugs.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-build.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-bundle.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-cache.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ci.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-completion.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-config.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dedupe.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-deprecate.md +2 -5
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-dist-tag.md +6 -11
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-docs.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-doctor.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-edit.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-explore.md +6 -10
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-fund.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help-search.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-help.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-hook.md +1 -5
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-init.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-ci-test.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install-test.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-install.md +13 -17
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-link.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-logout.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ls.md +7 -11
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-org.md +1 -5
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-outdated.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-owner.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-pack.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-ping.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prefix.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-profile.md +2 -5
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-prune.md +3 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-publish.md +15 -18
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-rebuild.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-repo.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-restart.md +6 -10
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-root.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-run-script.md +6 -10
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-search.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-shrinkwrap.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-star.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stars.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-start.md +6 -10
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-stop.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-team.md +2 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-test.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-token.md +1 -5
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-uninstall.md +4 -8
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-unpublish.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-update.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-version.md +3 -7
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-view.md +5 -9
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm-whoami.md +3 -6
- package/node_modules/npm/docs/content/{cli-commands → commands}/npm.md +6 -10
- package/node_modules/npm/docs/content/configuring-npm/folders.md +8 -12
- package/node_modules/npm/docs/content/configuring-npm/install.md +1 -5
- package/node_modules/npm/docs/content/configuring-npm/npmrc.md +3 -7
- package/node_modules/npm/docs/content/configuring-npm/package-json.md +9 -13
- package/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +3 -7
- package/node_modules/npm/docs/content/configuring-npm/package-locks.md +3 -7
- package/node_modules/npm/docs/content/configuring-npm/shrinkwrap-json.md +4 -8
- package/node_modules/npm/docs/content/using-npm/config.md +8 -12
- package/node_modules/npm/docs/content/using-npm/developers.md +8 -12
- package/node_modules/npm/docs/content/using-npm/orgs.md +5 -9
- package/node_modules/npm/docs/content/using-npm/registry.md +3 -8
- package/node_modules/npm/docs/content/using-npm/removal.md +3 -7
- package/node_modules/npm/docs/content/using-npm/scope.md +7 -9
- package/node_modules/npm/docs/content/using-npm/scripts.md +7 -11
- package/node_modules/npm/docs/content/using-npm/semver.md +1 -4
- package/node_modules/npm/docs/dockhand.js +341 -0
- package/node_modules/npm/docs/nav.yml +236 -0
- package/node_modules/npm/docs/output/commands/npm-access.html +240 -0
- package/node_modules/npm/docs/output/commands/npm-adduser.html +220 -0
- package/node_modules/npm/docs/output/commands/npm-audit.html +253 -0
- package/node_modules/npm/docs/output/commands/npm-bin.html +174 -0
- package/node_modules/npm/docs/output/commands/npm-bugs.html +194 -0
- package/node_modules/npm/docs/output/commands/npm-build.html +181 -0
- package/node_modules/npm/docs/output/commands/npm-bundle.html +170 -0
- package/node_modules/npm/docs/output/commands/npm-cache.html +230 -0
- package/node_modules/npm/docs/output/commands/npm-ci.html +205 -0
- package/node_modules/npm/docs/output/commands/npm-completion.html +185 -0
- package/node_modules/npm/docs/output/commands/npm-config.html +213 -0
- package/node_modules/npm/docs/output/commands/npm-dedupe.html +203 -0
- package/node_modules/npm/docs/output/commands/npm-deprecate.html +181 -0
- package/node_modules/npm/docs/output/commands/npm-dist-tag.html +232 -0
- package/node_modules/npm/docs/output/commands/npm-docs.html +195 -0
- package/node_modules/npm/docs/output/commands/npm-doctor.html +241 -0
- package/node_modules/npm/docs/output/commands/npm-edit.html +190 -0
- package/node_modules/npm/docs/output/commands/npm-explore.html +190 -0
- package/node_modules/npm/docs/output/commands/npm-fund.html +208 -0
- package/node_modules/npm/docs/output/commands/npm-help-search.html +185 -0
- package/node_modules/npm/docs/output/commands/npm-help.html +187 -0
- package/node_modules/npm/docs/output/commands/npm-hook.html +206 -0
- package/node_modules/npm/docs/output/commands/npm-init.html +209 -0
- package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +173 -0
- package/node_modules/npm/docs/output/commands/npm-install-test.html +182 -0
- package/node_modules/npm/docs/output/commands/npm-install.html +582 -0
- package/node_modules/npm/docs/output/commands/npm-link.html +217 -0
- package/node_modules/npm/docs/output/commands/npm-logout.html +190 -0
- package/node_modules/npm/docs/output/commands/npm-ls.html +257 -0
- package/node_modules/npm/docs/output/commands/npm-org.html +193 -0
- package/node_modules/npm/docs/output/commands/npm-outdated.html +260 -0
- package/node_modules/npm/docs/output/commands/npm-owner.html +193 -0
- package/node_modules/npm/docs/output/commands/npm-pack.html +182 -0
- package/node_modules/npm/docs/output/commands/npm-ping.html +177 -0
- package/node_modules/npm/docs/output/commands/npm-prefix.html +178 -0
- package/node_modules/npm/docs/output/commands/npm-profile.html +235 -0
- package/node_modules/npm/docs/output/commands/npm-prune.html +188 -0
- package/node_modules/npm/docs/output/commands/npm-publish.html +232 -0
- package/node_modules/npm/docs/output/commands/npm-rebuild.html +173 -0
- package/node_modules/npm/docs/output/commands/npm-repo.html +181 -0
- package/node_modules/npm/docs/output/commands/npm-restart.html +193 -0
- package/node_modules/npm/docs/output/commands/npm-root.html +174 -0
- package/node_modules/npm/docs/output/commands/npm-run-script.html +226 -0
- package/node_modules/npm/docs/output/commands/npm-search.html +248 -0
- package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +181 -0
- package/node_modules/npm/docs/output/commands/npm-star.html +176 -0
- package/node_modules/npm/docs/output/commands/npm-stars.html +176 -0
- package/node_modules/npm/docs/output/commands/npm-start.html +178 -0
- package/node_modules/npm/docs/output/commands/npm-stop.html +174 -0
- package/node_modules/npm/docs/output/commands/npm-team.html +213 -0
- package/node_modules/npm/docs/output/commands/npm-test.html +176 -0
- package/node_modules/npm/docs/output/commands/npm-token.html +215 -0
- package/node_modules/npm/docs/output/commands/npm-uninstall.html +208 -0
- package/node_modules/npm/docs/output/commands/npm-unpublish.html +187 -0
- package/node_modules/npm/docs/output/commands/npm-update.html +252 -0
- package/node_modules/npm/docs/output/commands/npm-version.html +263 -0
- package/node_modules/npm/docs/output/commands/npm-view.html +235 -0
- package/node_modules/npm/docs/output/commands/npm-whoami.html +172 -0
- package/node_modules/npm/docs/output/commands/npm.html +290 -0
- package/node_modules/npm/docs/output/configuring-npm/folders.html +321 -0
- package/node_modules/npm/docs/output/configuring-npm/install.html +203 -0
- package/node_modules/npm/docs/output/configuring-npm/npmrc.html +227 -0
- package/node_modules/npm/docs/output/configuring-npm/package-json.html +827 -0
- package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +273 -0
- package/node_modules/npm/docs/output/configuring-npm/package-locks.html +310 -0
- package/node_modules/npm/docs/output/configuring-npm/shrinkwrap-json.html +181 -0
- package/node_modules/npm/docs/output/using-npm/config.html +1248 -0
- package/node_modules/npm/docs/output/using-npm/developers.html +356 -0
- package/node_modules/npm/docs/output/using-npm/orgs.html +236 -0
- package/node_modules/npm/docs/output/using-npm/registry.html +234 -0
- package/node_modules/npm/docs/output/using-npm/removal.html +200 -0
- package/node_modules/npm/docs/output/using-npm/scope.html +244 -0
- package/node_modules/npm/docs/output/using-npm/scripts.html +410 -0
- package/node_modules/npm/docs/output/using-npm/semver.html +521 -0
- package/node_modules/npm/docs/template.html +161 -0
- package/node_modules/npm/lib/help.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 -7
- 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 +2 -2
- 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 -7
- 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 -7
- 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 +2 -2
- package/node_modules/npm/man/man1/npm-install-test.1 +2 -2
- 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 -3
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- 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/orgs.7 +1 -1
- package/node_modules/npm/man/man7/registry.7 +1 -3
- package/node_modules/npm/man/man7/removal.7 +1 -1
- package/node_modules/npm/man/man7/scope.7 +3 -2
- 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/@iarna/cli/LICENSE +14 -0
- package/node_modules/npm/node_modules/@iarna/cli/README.md +152 -0
- package/node_modules/npm/node_modules/@iarna/cli/app.js +109 -0
- package/node_modules/npm/node_modules/@iarna/cli/package.json +35 -0
- package/node_modules/npm/{docs → node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer}/LICENSE +5 -6
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/asn1/Jenkinsfile +65 -0
- package/node_modules/npm/node_modules/asn1/package.json +2 -2
- package/node_modules/npm/node_modules/aws4/.github/FUNDING.yml +3 -0
- package/node_modules/npm/node_modules/aws4/.travis.yml +5 -1
- package/node_modules/npm/node_modules/aws4/README.md +50 -390
- package/node_modules/npm/node_modules/aws4/aws4.js +63 -22
- package/node_modules/npm/node_modules/aws4/package.json +9 -63
- package/node_modules/npm/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/npm/node_modules/balanced-match/README.md +6 -0
- package/node_modules/npm/node_modules/balanced-match/index.js +3 -0
- package/node_modules/npm/node_modules/balanced-match/package.json +3 -4
- package/node_modules/npm/node_modules/bluebird/README.md +1 -1
- package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.js +210 -120
- package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.min.js +3 -3
- package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.js +240 -128
- package/node_modules/npm/node_modules/bluebird/js/browser/bluebird.min.js +4 -4
- package/node_modules/npm/node_modules/bluebird/js/release/async.js +3 -48
- package/node_modules/npm/node_modules/bluebird/js/release/debuggability.js +102 -27
- package/node_modules/npm/node_modules/bluebird/js/release/join.js +4 -7
- package/node_modules/npm/node_modules/bluebird/js/release/map.js +10 -3
- package/node_modules/npm/node_modules/bluebird/js/release/promise.js +58 -28
- package/node_modules/npm/node_modules/bluebird/js/release/promise_array.js +1 -0
- package/node_modules/npm/node_modules/bluebird/js/release/reduce.js +16 -5
- package/node_modules/npm/node_modules/bluebird/js/release/settle.js +4 -0
- package/node_modules/npm/node_modules/bluebird/js/release/util.js +39 -7
- package/node_modules/npm/node_modules/bluebird/package.json +1 -1
- package/node_modules/npm/node_modules/cacache/CHANGELOG.md +4 -0
- package/node_modules/npm/node_modules/cacache/package.json +6 -7
- package/node_modules/npm/node_modules/combined-stream/lib/combined_stream.js +21 -2
- package/node_modules/npm/node_modules/combined-stream/package.json +1 -1
- package/node_modules/npm/node_modules/combined-stream/yarn.lock +17 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/config-chain/package.json +5 -7
- package/node_modules/npm/node_modules/decode-uri-component/index.js +4 -4
- package/node_modules/npm/node_modules/decode-uri-component/license +4 -16
- package/node_modules/npm/node_modules/decode-uri-component/package.json +35 -35
- package/node_modules/npm/node_modules/decode-uri-component/readme.md +14 -1
- package/node_modules/npm/node_modules/dezalgo/package.json +12 -8
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/env-paths/index.d.ts +32 -0
- package/node_modules/npm/node_modules/env-paths/package.json +1 -1
- package/node_modules/npm/node_modules/env-paths/readme.md +44 -5
- package/node_modules/npm/node_modules/figgy-pudding/CHANGELOG.md +38 -33
- package/node_modules/npm/node_modules/figgy-pudding/README.md +10 -2
- package/node_modules/npm/node_modules/figgy-pudding/package.json +4 -8
- package/node_modules/npm/node_modules/filter-obj/index.js +17 -0
- package/node_modules/npm/node_modules/filter-obj/license +21 -0
- package/node_modules/npm/node_modules/filter-obj/package.json +37 -0
- package/node_modules/npm/node_modules/filter-obj/readme.md +41 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/form-data/README.md +4 -4
- package/node_modules/npm/node_modules/form-data/package.json +2 -2
- package/node_modules/npm/node_modules/form-data/yarn.lock +2662 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/glob/README.md +4 -1
- package/node_modules/npm/node_modules/glob/common.js +6 -8
- package/node_modules/npm/node_modules/glob/glob.js +8 -8
- package/node_modules/npm/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/npm/node_modules/glob/node_modules/minimatch/README.md +230 -0
- package/node_modules/npm/node_modules/glob/node_modules/minimatch/minimatch.js +947 -0
- package/node_modules/npm/node_modules/glob/node_modules/minimatch/package.json +33 -0
- package/node_modules/npm/node_modules/glob/package.json +13 -4
- package/node_modules/npm/node_modules/glob/sync.js +10 -10
- package/node_modules/npm/node_modules/graceful-fs/LICENSE +1 -1
- package/node_modules/npm/node_modules/graceful-fs/README.md +11 -1
- package/node_modules/npm/node_modules/graceful-fs/clone.js +5 -1
- package/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +132 -38
- package/node_modules/npm/node_modules/graceful-fs/package.json +4 -4
- package/node_modules/npm/node_modules/graceful-fs/polyfills.js +48 -35
- package/node_modules/npm/node_modules/is-cidr/README.md +6 -10
- package/node_modules/npm/node_modules/is-cidr/index.d.ts +31 -0
- package/node_modules/npm/node_modules/is-cidr/index.js +1 -0
- package/node_modules/npm/node_modules/is-cidr/package.json +12 -6
- package/node_modules/npm/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
- package/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- package/node_modules/npm/node_modules/json-parse-even-better-errors/README.md +96 -0
- package/node_modules/npm/node_modules/json-parse-even-better-errors/index.js +121 -0
- package/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +33 -0
- package/node_modules/npm/node_modules/lock-verify/README.md +8 -0
- package/node_modules/npm/node_modules/lock-verify/cli.js +17 -0
- package/node_modules/npm/node_modules/lock-verify/package.json +8 -12
- package/node_modules/npm/node_modules/meant/CHANGELOG.md +7 -0
- package/node_modules/npm/node_modules/meant/package.json +4 -1
- package/node_modules/npm/node_modules/minimatch/README.md +22 -1
- package/node_modules/npm/node_modules/minimatch/minimatch.js +93 -69
- package/node_modules/npm/node_modules/minimatch/package.json +6 -3
- package/node_modules/npm/node_modules/mkdirp/index.js +5 -2
- package/node_modules/npm/node_modules/mkdirp/package.json +3 -4
- package/node_modules/npm/node_modules/node-gyp/.github/ISSUE_TEMPLATE.md +27 -5
- package/node_modules/npm/node_modules/node-gyp/.github/workflows/Python_tests.yml +1 -1
- package/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +14 -0
- package/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +1 -1
- package/node_modules/npm/node_modules/node-gyp/README.md +3 -3
- package/node_modules/npm/node_modules/node-gyp/addon.gypi +22 -1
- package/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +2 -3
- package/node_modules/npm/node_modules/node-gyp/macOS_Catalina.md +14 -12
- package/node_modules/npm/node_modules/node-gyp/package.json +1 -1
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/psl/.env +0 -0
- package/node_modules/npm/node_modules/psl/LICENSE +9 -0
- package/node_modules/npm/node_modules/psl/README.md +4 -6
- package/node_modules/npm/node_modules/psl/browserstack-logo.svg +90 -0
- package/node_modules/npm/node_modules/psl/data/rules.json +9376 -1
- package/node_modules/npm/node_modules/psl/dist/psl.js +9378 -3
- package/node_modules/npm/node_modules/psl/dist/psl.min.js +1 -1
- package/node_modules/npm/node_modules/psl/package.json +24 -23
- package/node_modules/npm/node_modules/qs/.editorconfig +14 -1
- package/node_modules/npm/node_modules/qs/.eslintrc +21 -3
- package/node_modules/npm/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/npm/node_modules/qs/.nycrc +13 -0
- package/node_modules/npm/node_modules/qs/CHANGELOG.md +24 -0
- package/node_modules/npm/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/npm/node_modules/qs/README.md +54 -19
- package/node_modules/npm/node_modules/qs/bower.json +21 -0
- package/node_modules/npm/node_modules/qs/component.json +15 -0
- package/node_modules/npm/node_modules/qs/dist/qs.js +35 -25
- package/node_modules/npm/node_modules/qs/lib/formats.js +1 -1
- package/node_modules/npm/node_modules/qs/lib/parse.js +6 -5
- package/node_modules/npm/node_modules/qs/lib/stringify.js +21 -14
- package/node_modules/npm/node_modules/qs/lib/utils.js +7 -5
- package/node_modules/npm/node_modules/qs/package.json +18 -16
- package/node_modules/npm/node_modules/qs/test/parse.js +79 -4
- package/node_modules/npm/node_modules/qs/test/stringify.js +45 -0
- package/node_modules/npm/node_modules/qs/test/utils.js +31 -0
- package/node_modules/npm/node_modules/query-string/index.d.ts +290 -9
- package/node_modules/npm/node_modules/query-string/index.js +154 -28
- package/node_modules/npm/node_modules/query-string/license +1 -1
- package/node_modules/npm/node_modules/query-string/package.json +9 -4
- package/node_modules/npm/node_modules/query-string/readme.md +275 -26
- package/node_modules/npm/node_modules/qw/LICENSE +0 -0
- package/node_modules/npm/node_modules/qw/README.md +0 -0
- package/node_modules/npm/node_modules/qw/package.json +1 -1
- package/node_modules/npm/node_modules/qw/qw.js +1 -0
- package/node_modules/npm/node_modules/read-package-json/CHANGELOG.md +10 -0
- package/node_modules/npm/node_modules/read-package-json/package.json +3 -6
- package/node_modules/npm/node_modules/read-package-json/read-json.js +2 -7
- package/node_modules/npm/node_modules/request/CHANGELOG.md +8 -0
- package/node_modules/npm/node_modules/request/README.md +81 -45
- package/node_modules/npm/node_modules/request/index.js +1 -1
- package/node_modules/npm/node_modules/request/lib/auth.js +1 -1
- package/node_modules/npm/node_modules/request/lib/getProxyFromURI.js +1 -1
- package/node_modules/npm/node_modules/request/lib/har.js +1 -1
- package/node_modules/npm/node_modules/request/package.json +6 -6
- package/node_modules/npm/node_modules/request/request.js +13 -11
- package/node_modules/npm/node_modules/safe-buffer/index.js +3 -0
- package/node_modules/npm/node_modules/safe-buffer/package.json +18 -4
- package/node_modules/npm/node_modules/sshpk/Jenkinsfile +86 -0
- package/node_modules/npm/node_modules/sshpk/README.md +116 -10
- package/node_modules/npm/node_modules/sshpk/bin/sshpk-conv +73 -32
- package/node_modules/npm/node_modules/sshpk/lib/certificate.js +33 -1
- package/node_modules/npm/node_modules/sshpk/lib/dhe.js +4 -21
- package/node_modules/npm/node_modules/sshpk/lib/ed-compat.js +1 -7
- package/node_modules/npm/node_modules/sshpk/lib/fingerprint.js +69 -11
- package/node_modules/npm/node_modules/sshpk/lib/formats/auto.js +18 -1
- package/node_modules/npm/node_modules/sshpk/lib/formats/openssh-cert.js +37 -8
- package/node_modules/npm/node_modules/sshpk/lib/formats/pem.js +107 -9
- package/node_modules/npm/node_modules/sshpk/lib/formats/pkcs8.js +23 -4
- package/node_modules/npm/node_modules/sshpk/lib/formats/putty.js +194 -0
- package/node_modules/npm/node_modules/sshpk/lib/formats/x509-pem.js +14 -4
- package/node_modules/npm/node_modules/sshpk/lib/formats/x509.js +28 -5
- package/node_modules/npm/node_modules/sshpk/lib/identity.js +87 -3
- package/node_modules/npm/node_modules/sshpk/lib/index.js +1 -0
- package/node_modules/npm/node_modules/sshpk/lib/key.js +30 -11
- package/node_modules/npm/node_modules/sshpk/lib/private-key.js +11 -17
- package/node_modules/npm/node_modules/sshpk/lib/utils.js +48 -33
- package/node_modules/npm/node_modules/sshpk/package.json +5 -5
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/npm/node_modules/tough-cookie/README.md +24 -4
- package/node_modules/npm/node_modules/tough-cookie/lib/cookie.js +54 -3
- package/node_modules/npm/node_modules/tough-cookie/lib/memstore.js +5 -0
- package/node_modules/npm/node_modules/tough-cookie/lib/store.js +4 -0
- package/node_modules/npm/node_modules/tough-cookie/lib/version.js +2 -0
- package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/LICENSE-MIT.txt +0 -0
- package/node_modules/npm/node_modules/{punycode → tough-cookie/node_modules/punycode}/README.md +9 -63
- package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/package.json +58 -0
- package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.es6.js +441 -0
- package/node_modules/npm/node_modules/tough-cookie/node_modules/punycode/punycode.js +440 -0
- package/node_modules/npm/node_modules/tough-cookie/package.json +6 -4
- package/node_modules/npm/node_modules/uri-js/README.md +3 -1
- package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.js +1 -1
- package/node_modules/npm/node_modules/uri-js/dist/es5/uri.all.min.js +1 -1
- package/node_modules/npm/node_modules/uri-js/package.json +2 -2
- package/node_modules/npm/node_modules/uri-js/yarn.lock +1263 -628
- package/node_modules/npm/node_modules/uuid/CHANGELOG.md +25 -18
- package/node_modules/npm/node_modules/uuid/README.md +27 -44
- package/node_modules/npm/node_modules/uuid/lib/bytesToUuid.js +10 -8
- package/node_modules/npm/node_modules/uuid/package.json +13 -8
- package/node_modules/npm/node_modules/uuid/v1.js +1 -1
- package/node_modules/npm/package.json +27 -23
- package/node_modules/npm/scripts/docs-build.js +15 -3
- package/node_modules/object-inspect/CHANGELOG.md +10 -0
- package/node_modules/object-inspect/index.js +10 -6
- package/node_modules/object-inspect/package.json +10 -7
- package/node_modules/punycode/README.md +7 -3
- package/node_modules/punycode/package.json +5 -5
- package/node_modules/punycode/punycode.es6.js +24 -21
- package/node_modules/punycode/punycode.js +24 -21
- package/package.json +1 -1
- package/node_modules/npm/.eslintrc +0 -3
- package/node_modules/npm/docs/content/using-npm/disputes.md +0 -137
- package/node_modules/npm/docs/gatsby-browser.js +0 -8
- package/node_modules/npm/docs/gatsby-config.js +0 -88
- package/node_modules/npm/docs/gatsby-node.js +0 -43
- package/node_modules/npm/docs/gatsby-ssr.js +0 -6
- package/node_modules/npm/docs/package-lock.json +0 -18301
- package/node_modules/npm/docs/package.json +0 -45
- package/node_modules/npm/docs/public/cli-commands/npm/index.html +0 -213
- package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +0 -151
- package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +0 -146
- package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +0 -168
- package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +0 -97
- package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +0 -117
- package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +0 -103
- package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +0 -94
- package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +0 -148
- package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +0 -125
- package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +0 -107
- package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +0 -131
- package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +0 -124
- package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +0 -103
- package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +0 -152
- package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +0 -118
- package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +0 -166
- package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +0 -113
- package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +0 -117
- package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +0 -131
- package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +0 -110
- package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +0 -108
- package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +0 -122
- package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +0 -129
- package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +0 -471
- package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +0 -96
- package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +0 -105
- package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +0 -137
- package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +0 -112
- package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +0 -179
- package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +0 -110
- package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +0 -181
- package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +0 -117
- package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +0 -105
- package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +0 -98
- package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +0 -101
- package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +0 -151
- package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +0 -111
- package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +0 -143
- package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +0 -96
- package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +0 -104
- package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +0 -116
- package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +0 -97
- package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +0 -146
- package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +0 -171
- package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +0 -104
- package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +0 -99
- package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +0 -99
- package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +0 -101
- package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +0 -97
- package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +0 -128
- package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +0 -99
- package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +0 -136
- package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +0 -121
- package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +0 -109
- package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +0 -170
- package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +0 -183
- package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +0 -148
- package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +0 -95
- package/node_modules/npm/docs/public/configuring-npm/folders/index.html +0 -243
- package/node_modules/npm/docs/public/configuring-npm/install/index.html +0 -126
- package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +0 -148
- package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +0 -714
- package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +0 -189
- package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +0 -217
- package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +0 -105
- package/node_modules/npm/docs/public/icons/icon-144x144.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-192x192.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-256x256.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-384x384.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-48x48.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-512x512.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-72x72.png +0 -0
- package/node_modules/npm/docs/public/icons/icon-96x96.png +0 -0
- package/node_modules/npm/docs/public/index.html +0 -131
- package/node_modules/npm/docs/public/static/d/2215187023.json +0 -1
- package/node_modules/npm/docs/public/static/d/2417117884.json +0 -1
- package/node_modules/npm/docs/public/static/network-icon-f659855f70bb0e12addd96250807c241.svg +0 -1
- package/node_modules/npm/docs/public/styles.e93b5499b63484750fba.css +0 -1
- package/node_modules/npm/docs/public/using-npm/config/index.html +0 -1164
- package/node_modules/npm/docs/public/using-npm/developers/index.html +0 -262
- package/node_modules/npm/docs/public/using-npm/disputes/index.html +0 -195
- package/node_modules/npm/docs/public/using-npm/orgs/index.html +0 -147
- package/node_modules/npm/docs/public/using-npm/registry/index.html +0 -159
- package/node_modules/npm/docs/public/using-npm/removal/index.html +0 -119
- package/node_modules/npm/docs/public/using-npm/scope/index.html +0 -162
- package/node_modules/npm/docs/public/using-npm/scripts/index.html +0 -326
- package/node_modules/npm/docs/public/using-npm/semver/index.html +0 -438
- package/node_modules/npm/docs/src/components/Accordion.js +0 -57
- package/node_modules/npm/docs/src/components/Button.js +0 -22
- package/node_modules/npm/docs/src/components/DocLinks.js +0 -72
- package/node_modules/npm/docs/src/components/FoundTypo.js +0 -23
- package/node_modules/npm/docs/src/components/MobileSidebar.js +0 -33
- package/node_modules/npm/docs/src/components/Sidebar.js +0 -30
- package/node_modules/npm/docs/src/components/home/DarkBlock.js +0 -40
- package/node_modules/npm/docs/src/components/home/FeatureCard.js +0 -39
- package/node_modules/npm/docs/src/components/home/Features.js +0 -83
- package/node_modules/npm/docs/src/components/home/Footer.js +0 -29
- package/node_modules/npm/docs/src/components/home/Terminal.js +0 -120
- package/node_modules/npm/docs/src/components/home/Windows.js +0 -73
- package/node_modules/npm/docs/src/components/home/cubes.js +0 -101
- package/node_modules/npm/docs/src/components/home/hero.js +0 -25
- package/node_modules/npm/docs/src/components/layout.js +0 -24
- package/node_modules/npm/docs/src/components/links.js +0 -50
- package/node_modules/npm/docs/src/components/navbar.js +0 -136
- package/node_modules/npm/docs/src/components/scripts.js +0 -27
- package/node_modules/npm/docs/src/components/seo.js +0 -88
- package/node_modules/npm/docs/src/images/background-boxes.svg +0 -2782
- package/node_modules/npm/docs/src/images/background-cubes.svg +0 -2767
- package/node_modules/npm/docs/src/images/background-rectangles.svg +0 -1
- package/node_modules/npm/docs/src/images/bracket.svg +0 -1
- package/node_modules/npm/docs/src/images/cli-logo.svg +0 -1
- package/node_modules/npm/docs/src/images/down-carrot.svg +0 -1
- package/node_modules/npm/docs/src/images/hamburger-close.svg +0 -1
- package/node_modules/npm/docs/src/images/hamburger.svg +0 -1
- package/node_modules/npm/docs/src/images/manager-icon.svg +0 -1
- package/node_modules/npm/docs/src/images/network-icon.svg +0 -1
- package/node_modules/npm/docs/src/images/npm-icon.png +0 -0
- package/node_modules/npm/docs/src/images/orange-cube.svg +0 -1
- package/node_modules/npm/docs/src/images/pink-gradient-cube.svg +0 -1
- package/node_modules/npm/docs/src/images/purple-cube.svg +0 -1
- package/node_modules/npm/docs/src/images/purple-gradient-cube.svg +0 -1
- package/node_modules/npm/docs/src/images/red-cube.svg +0 -1
- package/node_modules/npm/docs/src/images/right-shadow-box.svg +0 -2809
- package/node_modules/npm/docs/src/images/terminal-icon.svg +0 -1
- package/node_modules/npm/docs/src/images/test-icon.svg +0 -1
- package/node_modules/npm/docs/src/images/up-carrot.svg +0 -1
- package/node_modules/npm/docs/src/images/x.svg +0 -1
- package/node_modules/npm/docs/src/main.css +0 -167
- package/node_modules/npm/docs/src/pages/404.js +0 -12
- package/node_modules/npm/docs/src/pages/index.js +0 -16
- package/node_modules/npm/docs/src/templates/Page.js +0 -40
- package/node_modules/npm/docs/src/theme.js +0 -50
- package/node_modules/npm/man/man7/disputes.7 +0 -149
- package/node_modules/npm/node_modules/balanced-match/.npmignore +0 -5
- package/node_modules/npm/node_modules/combined-stream/lib/defer.js +0 -26
- package/node_modules/npm/node_modules/dezalgo/.travis.yml +0 -7
- package/node_modules/npm/node_modules/dezalgo/test/basic.js +0 -29
- package/node_modules/npm/node_modules/glob/changelog.md +0 -67
- package/node_modules/npm/node_modules/meant/.github/workflows/ci.yml +0 -20
- package/node_modules/npm/node_modules/meant/test.js +0 -11
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/.travis.yml +0 -8
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/LICENSE +0 -18
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/example/parse.js +0 -2
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +0 -249
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +0 -45
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +0 -98
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/all_bool.js +0 -32
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/bool.js +0 -178
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dash.js +0 -31
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +0 -35
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/dotted.js +0 -22
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/kv_short.js +0 -16
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/long.js +0 -31
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/num.js +0 -36
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse.js +0 -197
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +0 -9
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +0 -60
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/short.js +0 -67
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/stop_early.js +0 -15
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/unknown.js +0 -102
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +0 -8
- package/node_modules/npm/node_modules/psl/.eslintignore +0 -1
- package/node_modules/npm/node_modules/psl/.eslintrc +0 -11
- package/node_modules/npm/node_modules/psl/.travis.yml +0 -6
- package/node_modules/npm/node_modules/psl/karma.conf.js +0 -38
- package/node_modules/npm/node_modules/psl/yarn.lock +0 -4532
- package/node_modules/npm/node_modules/punycode/package.json +0 -60
- package/node_modules/npm/node_modules/punycode/punycode.js +0 -533
- package/node_modules/npm/node_modules/qs/.eslintignore +0 -1
- package/node_modules/npm/node_modules/qs/LICENSE +0 -28
- package/node_modules/npm/node_modules/qs/test/.eslintrc +0 -15
- package/node_modules/npm/node_modules/qw/README.md~ +0 -27
- package/node_modules/npm/node_modules/sshpk/.npmignore +0 -9
|
@@ -6,7 +6,7 @@ aws4
|
|
|
6
6
|
A small utility to sign vanilla Node.js http(s) request options using Amazon's
|
|
7
7
|
[AWS Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).
|
|
8
8
|
|
|
9
|
-
If you want to sign and send AWS requests in a
|
|
9
|
+
If you want to sign and send AWS requests in a browser, or an environment like [Cloudflare Workers](https://developers.cloudflare.com/workers/), then check out [aws4fetch](https://github.com/mhart/aws4fetch) – otherwise you can also bundle this library for use [in older browsers](./browser).
|
|
10
10
|
|
|
11
11
|
The only AWS service that *doesn't* support v4 as of 2020-05-22 is
|
|
12
12
|
[SimpleDB](https://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API.html)
|
|
@@ -94,6 +94,34 @@ request(aws4.sign({
|
|
|
94
94
|
...
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
+
// you can also specify extra headers to ignore during signing
|
|
98
|
+
request(aws4.sign({
|
|
99
|
+
host: '07tjusf2h91cunochc.us-east-1.aoss.amazonaws.com',
|
|
100
|
+
method: 'PUT',
|
|
101
|
+
path: '/my-index',
|
|
102
|
+
body: '{"mappings":{}}',
|
|
103
|
+
headers: {
|
|
104
|
+
'Content-Type': 'application/json',
|
|
105
|
+
'X-Amz-Content-Sha256': 'UNSIGNED-PAYLOAD'
|
|
106
|
+
},
|
|
107
|
+
extraHeadersToIgnore: {
|
|
108
|
+
'content-length': true
|
|
109
|
+
}
|
|
110
|
+
}))
|
|
111
|
+
|
|
112
|
+
// and headers to include that would normally be ignored
|
|
113
|
+
request(aws4.sign({
|
|
114
|
+
service: 'mycustomservice',
|
|
115
|
+
path: '/whatever',
|
|
116
|
+
headers: {
|
|
117
|
+
'Range': 'bytes=200-1000, 2000-6576, 19000-'
|
|
118
|
+
},
|
|
119
|
+
extraHeadersToInclude: {
|
|
120
|
+
'range': true
|
|
121
|
+
}
|
|
122
|
+
}))
|
|
123
|
+
|
|
124
|
+
|
|
97
125
|
// The raw RequestSigner can be used to generate CodeCommit Git passwords
|
|
98
126
|
var signer = new aws4.RequestSigner({
|
|
99
127
|
service: 'codecommit',
|
|
@@ -128,6 +156,8 @@ populated if they don't already exist:
|
|
|
128
156
|
- `service` (will try to be calculated from `hostname` or `host` if not given)
|
|
129
157
|
- `region` (will try to be calculated from `hostname` or `host` or use `'us-east-1'` if not given)
|
|
130
158
|
- `signQuery` (to sign the query instead of adding an `Authorization` header, defaults to false)
|
|
159
|
+
- `extraHeadersToIgnore` (an object with lowercase header keys to ignore when signing, eg `{ 'content-length': true }`)
|
|
160
|
+
- `extraHeadersToInclude` (an object with lowercase header keys to include when signing, overriding any ignores)
|
|
131
161
|
- `headers['Host']` (will use `hostname` or `host` or be calculated if not given)
|
|
132
162
|
- `headers['Content-Type']` (will use `'application/x-www-form-urlencoded; charset=utf-8'`
|
|
133
163
|
if not given and there is a `body`)
|
|
@@ -72,6 +72,9 @@ function RequestSigner(request, credentials) {
|
|
|
72
72
|
request.hostname = headers.Host || headers.host
|
|
73
73
|
|
|
74
74
|
this.isCodeCommitGit = this.service === 'codecommit' && request.method === 'GIT'
|
|
75
|
+
|
|
76
|
+
this.extraHeadersToIgnore = request.extraHeadersToIgnore || Object.create(null)
|
|
77
|
+
this.extraHeadersToInclude = request.extraHeadersToInclude || Object.create(null)
|
|
75
78
|
}
|
|
76
79
|
|
|
77
80
|
RequestSigner.prototype.matchHost = function(host) {
|
|
@@ -81,7 +84,7 @@ RequestSigner.prototype.matchHost = function(host) {
|
|
|
81
84
|
// ES's hostParts are sometimes the other way round, if the value that is expected
|
|
82
85
|
// to be region equals ‘es’ switch them back
|
|
83
86
|
// e.g. search-cluster-name-aaaa00aaaa0aaa0aaaaaaa0aaa.us-east-1.es.amazonaws.com
|
|
84
|
-
if (hostParts[1] === 'es')
|
|
87
|
+
if (hostParts[1] === 'es' || hostParts[1] === 'aoss')
|
|
85
88
|
hostParts = hostParts.reverse()
|
|
86
89
|
|
|
87
90
|
if (hostParts[1] == 's3') {
|
|
@@ -305,9 +308,14 @@ RequestSigner.prototype.canonicalHeaders = function() {
|
|
|
305
308
|
}
|
|
306
309
|
|
|
307
310
|
RequestSigner.prototype.signedHeaders = function() {
|
|
311
|
+
var extraHeadersToInclude = this.extraHeadersToInclude,
|
|
312
|
+
extraHeadersToIgnore = this.extraHeadersToIgnore
|
|
308
313
|
return Object.keys(this.request.headers)
|
|
309
314
|
.map(function(key) { return key.toLowerCase() })
|
|
310
|
-
.filter(function(key) {
|
|
315
|
+
.filter(function(key) {
|
|
316
|
+
return extraHeadersToInclude[key] ||
|
|
317
|
+
(HEADERS_TO_IGNORE[key] == null && !extraHeadersToIgnore[key])
|
|
318
|
+
})
|
|
311
319
|
.sort()
|
|
312
320
|
.join(';')
|
|
313
321
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# content-type
|
|
2
2
|
|
|
3
|
-
[![NPM Version][npm-image]][npm-url]
|
|
4
|
-
[![NPM Downloads][downloads-image]][
|
|
5
|
-
[![Node.js Version][node-
|
|
6
|
-
[![Build Status][
|
|
7
|
-
[![
|
|
3
|
+
[![NPM Version][npm-version-image]][npm-url]
|
|
4
|
+
[![NPM Downloads][npm-downloads-image]][npm-url]
|
|
5
|
+
[![Node.js Version][node-image]][node-url]
|
|
6
|
+
[![Build Status][ci-image]][ci-url]
|
|
7
|
+
[![Coverage Status][coveralls-image]][coveralls-url]
|
|
8
8
|
|
|
9
9
|
Create and parse HTTP Content-Type header according to RFC 7231
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ var contentType = require('content-type')
|
|
|
26
26
|
var obj = contentType.parse('image/svg+xml; charset=utf-8')
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Parse a
|
|
29
|
+
Parse a `Content-Type` header. This will return an object with the following
|
|
30
30
|
properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
|
|
31
31
|
|
|
32
32
|
- `type`: The media type (the type and subtype, always lower case).
|
|
@@ -43,7 +43,7 @@ Throws a `TypeError` if the string is missing or invalid.
|
|
|
43
43
|
var obj = contentType.parse(req)
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Parse the `
|
|
46
|
+
Parse the `Content-Type` header from the given `req`. Short-cut for
|
|
47
47
|
`contentType.parse(req.headers['content-type'])`.
|
|
48
48
|
|
|
49
49
|
Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
@@ -54,7 +54,7 @@ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
|
54
54
|
var obj = contentType.parse(res)
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Parse the `
|
|
57
|
+
Parse the `Content-Type` header set on the given `res`. Short-cut for
|
|
58
58
|
`contentType.parse(res.getHeader('content-type'))`.
|
|
59
59
|
|
|
60
60
|
Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
@@ -62,10 +62,13 @@ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
|
62
62
|
### contentType.format(obj)
|
|
63
63
|
|
|
64
64
|
```js
|
|
65
|
-
var str = contentType.format({
|
|
65
|
+
var str = contentType.format({
|
|
66
|
+
type: 'image/svg+xml',
|
|
67
|
+
parameters: { charset: 'utf-8' }
|
|
68
|
+
})
|
|
66
69
|
```
|
|
67
70
|
|
|
68
|
-
Format an object into a
|
|
71
|
+
Format an object into a `Content-Type` header. This will return a string of the
|
|
69
72
|
content type for the given object with the following properties (examples are
|
|
70
73
|
shown that produce the string `'image/svg+xml; charset=utf-8'`):
|
|
71
74
|
|
|
@@ -80,13 +83,12 @@ Throws a `TypeError` if the object contains an invalid type or parameter names.
|
|
|
80
83
|
|
|
81
84
|
[MIT](LICENSE)
|
|
82
85
|
|
|
83
|
-
[
|
|
86
|
+
[ci-image]: https://badgen.net/github/checks/jshttp/content-type/master?label=ci
|
|
87
|
+
[ci-url]: https://github.com/jshttp/content-type/actions/workflows/ci.yml
|
|
88
|
+
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/content-type/master
|
|
89
|
+
[coveralls-url]: https://coveralls.io/r/jshttp/content-type?branch=master
|
|
90
|
+
[node-image]: https://badgen.net/npm/node/content-type
|
|
91
|
+
[node-url]: https://nodejs.org/en/download
|
|
92
|
+
[npm-downloads-image]: https://badgen.net/npm/dm/content-type
|
|
84
93
|
[npm-url]: https://npmjs.org/package/content-type
|
|
85
|
-
[
|
|
86
|
-
[node-version-url]: http://nodejs.org/download/
|
|
87
|
-
[travis-image]: https://img.shields.io/travis/jshttp/content-type/master.svg
|
|
88
|
-
[travis-url]: https://travis-ci.org/jshttp/content-type
|
|
89
|
-
[coveralls-image]: https://img.shields.io/coveralls/jshttp/content-type/master.svg
|
|
90
|
-
[coveralls-url]: https://coveralls.io/r/jshttp/content-type
|
|
91
|
-
[downloads-image]: https://img.shields.io/npm/dm/content-type.svg
|
|
92
|
-
[downloads-url]: https://npmjs.org/package/content-type
|
|
94
|
+
[npm-version-image]: https://badgen.net/npm/v/content-type
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
* obs-text = %x80-FF
|
|
21
21
|
* quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
|
|
22
22
|
*/
|
|
23
|
-
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g
|
|
24
|
-
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/
|
|
23
|
+
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g // eslint-disable-line no-control-regex
|
|
24
|
+
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/ // eslint-disable-line no-control-regex
|
|
25
25
|
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -30,7 +30,7 @@ var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
|
|
|
30
30
|
* quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
|
|
31
31
|
* obs-text = %x80-FF
|
|
32
32
|
*/
|
|
33
|
-
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g
|
|
33
|
+
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g // eslint-disable-line no-control-regex
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6
|
|
@@ -119,7 +119,7 @@ function parse (string) {
|
|
|
119
119
|
|
|
120
120
|
var index = header.indexOf(';')
|
|
121
121
|
var type = index !== -1
|
|
122
|
-
? header.
|
|
122
|
+
? header.slice(0, index).trim()
|
|
123
123
|
: header.trim()
|
|
124
124
|
|
|
125
125
|
if (!TYPE_REGEXP.test(type)) {
|
|
@@ -145,11 +145,14 @@ function parse (string) {
|
|
|
145
145
|
key = match[1].toLowerCase()
|
|
146
146
|
value = match[2]
|
|
147
147
|
|
|
148
|
-
if (value
|
|
149
|
-
// remove quotes
|
|
150
|
-
value = value
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
if (value.charCodeAt(0) === 0x22 /* " */) {
|
|
149
|
+
// remove quotes
|
|
150
|
+
value = value.slice(1, -1)
|
|
151
|
+
|
|
152
|
+
// remove escapes
|
|
153
|
+
if (value.indexOf('\\') !== -1) {
|
|
154
|
+
value = value.replace(QESC_REGEXP, '$1')
|
|
155
|
+
}
|
|
153
156
|
}
|
|
154
157
|
|
|
155
158
|
obj.parameters[key] = value
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "content-type",
|
|
3
3
|
"description": "Create and parse HTTP Content-Type header",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
|
@@ -13,14 +13,15 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": "jshttp/content-type",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"
|
|
17
|
-
"eslint
|
|
18
|
-
"eslint-
|
|
19
|
-
"eslint-plugin-
|
|
20
|
-
"eslint-plugin-
|
|
21
|
-
"eslint-plugin-
|
|
22
|
-
"
|
|
23
|
-
"mocha": "
|
|
16
|
+
"deep-equal": "1.0.1",
|
|
17
|
+
"eslint": "8.32.0",
|
|
18
|
+
"eslint-config-standard": "15.0.1",
|
|
19
|
+
"eslint-plugin-import": "2.27.5",
|
|
20
|
+
"eslint-plugin-node": "11.1.0",
|
|
21
|
+
"eslint-plugin-promise": "6.1.1",
|
|
22
|
+
"eslint-plugin-standard": "4.1.0",
|
|
23
|
+
"mocha": "10.2.0",
|
|
24
|
+
"nyc": "15.1.0"
|
|
24
25
|
},
|
|
25
26
|
"files": [
|
|
26
27
|
"LICENSE",
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
"scripts": {
|
|
35
36
|
"lint": "eslint .",
|
|
36
37
|
"test": "mocha --reporter spec --check-leaks --bail test/",
|
|
37
|
-
"test-ci": "
|
|
38
|
-
"test-cov": "
|
|
38
|
+
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
|
|
39
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
40
|
+
"version": "node scripts/version-history.js && git add HISTORY.md"
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -5,6 +5,18 @@ 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.2.0](https://github.com/ljharb/get-intrinsic/compare/v1.1.3...v1.2.0) - 2023-01-19
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [actions] update checkout action [`ca6b12f`](https://github.com/ljharb/get-intrinsic/commit/ca6b12f31eaacea4ea3b055e744cd61623385ffb)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `tape` [`41a3727`](https://github.com/ljharb/get-intrinsic/commit/41a3727d0026fa04273ae216a5f8e12eefd72da8)
|
|
14
|
+
- [Fix] ensure `Error.prototype` is undeniable [`c511e97`](https://github.com/ljharb/get-intrinsic/commit/c511e97ae99c764c4524b540dee7a70757af8da3)
|
|
15
|
+
- [Dev Deps] update `aud`, `es-abstract`, `tape` [`1bef8a8`](https://github.com/ljharb/get-intrinsic/commit/1bef8a8fd439ebb80863199b6189199e0851ac67)
|
|
16
|
+
- [Dev Deps] update `aud`, `es-abstract` [`0d41f16`](https://github.com/ljharb/get-intrinsic/commit/0d41f16bcd500bc28b7bfc98043ebf61ea081c26)
|
|
17
|
+
- [New] add `BigInt64Array` and `BigUint64Array` [`a6cca25`](https://github.com/ljharb/get-intrinsic/commit/a6cca25f29635889b7e9bd669baf9e04be90e48c)
|
|
18
|
+
- [Tests] use `gopd` [`ecf7722`](https://github.com/ljharb/get-intrinsic/commit/ecf7722240d15cfd16edda06acf63359c10fb9bd)
|
|
19
|
+
|
|
8
20
|
## [v1.1.3](https://github.com/ljharb/get-intrinsic/compare/v1.1.2...v1.1.3) - 2022-09-12
|
|
9
21
|
|
|
10
22
|
### Commits
|
|
@@ -62,6 +62,8 @@ var INTRINSICS = {
|
|
|
62
62
|
'%AsyncIteratorPrototype%': needsEval,
|
|
63
63
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
64
64
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
65
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
66
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
65
67
|
'%Boolean%': Boolean,
|
|
66
68
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
67
69
|
'%Date%': Date,
|
|
@@ -117,6 +119,14 @@ var INTRINSICS = {
|
|
|
117
119
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
118
120
|
};
|
|
119
121
|
|
|
122
|
+
try {
|
|
123
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
124
|
+
} catch (e) {
|
|
125
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
126
|
+
var errorProto = getProto(getProto(e));
|
|
127
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
128
|
+
}
|
|
129
|
+
|
|
120
130
|
var doEval = function doEval(name) {
|
|
121
131
|
var value;
|
|
122
132
|
if (name === '%AsyncFunction%') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-intrinsic",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Get and robustly cache all JS language-level intrinsics at first require time",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -48,24 +48,25 @@
|
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://github.com/ljharb/get-intrinsic#readme",
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@ljharb/eslint-config": "^21.0.
|
|
52
|
-
"aud": "^2.0.
|
|
51
|
+
"@ljharb/eslint-config": "^21.0.1",
|
|
52
|
+
"aud": "^2.0.2",
|
|
53
53
|
"auto-changelog": "^2.4.0",
|
|
54
54
|
"call-bind": "^1.0.2",
|
|
55
|
-
"es-abstract": "^1.
|
|
55
|
+
"es-abstract": "^1.21.1",
|
|
56
56
|
"es-value-fixtures": "^1.4.2",
|
|
57
57
|
"eslint": "=8.8.0",
|
|
58
58
|
"evalmd": "^0.0.19",
|
|
59
59
|
"for-each": "^0.3.3",
|
|
60
|
+
"gopd": "^1.0.1",
|
|
60
61
|
"make-async-function": "^1.0.0",
|
|
61
62
|
"make-async-generator-function": "^1.0.0",
|
|
62
63
|
"make-generator-function": "^2.0.0",
|
|
63
64
|
"mock-property": "^1.0.0",
|
|
64
65
|
"npmignore": "^0.3.0",
|
|
65
66
|
"nyc": "^10.3.2",
|
|
66
|
-
"object-inspect": "^1.12.
|
|
67
|
+
"object-inspect": "^1.12.3",
|
|
67
68
|
"safe-publish-latest": "^2.0.0",
|
|
68
|
-
"tape": "^5.6.
|
|
69
|
+
"tape": "^5.6.3"
|
|
69
70
|
},
|
|
70
71
|
"auto-changelog": {
|
|
71
72
|
"output": "CHANGELOG.md",
|
|
@@ -12,7 +12,7 @@ var mockProperty = require('mock-property');
|
|
|
12
12
|
|
|
13
13
|
var callBound = require('call-bind/callBound');
|
|
14
14
|
var v = require('es-value-fixtures');
|
|
15
|
-
var $gOPD = require('
|
|
15
|
+
var $gOPD = require('gopd');
|
|
16
16
|
var DefinePropertyOrThrow = require('es-abstract/2021/DefinePropertyOrThrow');
|
|
17
17
|
|
|
18
18
|
var $isProto = callBound('%Object.prototype.isPrototypeOf%');
|
|
@@ -1,54 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
2
|
+
"root": true,
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
"extends": "@ljharb/eslint-config/node/0.4",
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"no-mixed-operators": 1,
|
|
30
|
-
"no-multi-spaces": 1,
|
|
31
|
-
"no-multiple-empty-lines": 1,
|
|
32
|
-
"no-param-reassign": 1,
|
|
33
|
-
"no-plusplus": 1,
|
|
34
|
-
"no-proto": 1,
|
|
35
|
-
"no-redeclare": 1,
|
|
36
|
-
"no-restricted-syntax": 1,
|
|
37
|
-
"no-shadow": 1,
|
|
38
|
-
"no-trailing-spaces": 1,
|
|
39
|
-
"no-unused-vars": 1,
|
|
40
|
-
"no-use-before-define": 1,
|
|
41
|
-
"object-curly-newline": 1,
|
|
42
|
-
"object-curly-spacing": 1,
|
|
43
|
-
"operator-linebreak": 1,
|
|
44
|
-
"quote-props": 1,
|
|
45
|
-
"quotes": 1,
|
|
46
|
-
"semi-style": 1,
|
|
47
|
-
"semi": 1,
|
|
48
|
-
"space-before-blocks": 1,
|
|
49
|
-
"space-before-function-paren": 1,
|
|
50
|
-
"space-infix-ops": 1,
|
|
51
|
-
"strict": 1,
|
|
52
|
-
"wrap-regex": 1,
|
|
53
|
-
},
|
|
6
|
+
"rules": {
|
|
7
|
+
"array-element-newline": 0,
|
|
8
|
+
"complexity": 0,
|
|
9
|
+
"func-style": [2, "declaration"],
|
|
10
|
+
"max-lines-per-function": 0,
|
|
11
|
+
"max-nested-callbacks": 1,
|
|
12
|
+
"max-statements-per-line": 1,
|
|
13
|
+
"max-statements": 0,
|
|
14
|
+
"multiline-comment-style": 0,
|
|
15
|
+
"no-continue": 1,
|
|
16
|
+
"no-param-reassign": 1,
|
|
17
|
+
"no-restricted-syntax": 1,
|
|
18
|
+
"object-curly-newline": 0,
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
"overrides": [
|
|
22
|
+
{
|
|
23
|
+
"files": "test/**",
|
|
24
|
+
"rules": {
|
|
25
|
+
"camelcase": 0,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
]
|
|
54
29
|
}
|
|
@@ -5,6 +5,52 @@ 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.2.8](https://github.com/minimistjs/minimist/compare/v1.2.7...v1.2.8) - 2023-02-09
|
|
9
|
+
|
|
10
|
+
### Merged
|
|
11
|
+
|
|
12
|
+
- [Fix] Fix long option followed by single dash [`#17`](https://github.com/minimistjs/minimist/pull/17)
|
|
13
|
+
- [Tests] Remove duplicate test [`#12`](https://github.com/minimistjs/minimist/pull/12)
|
|
14
|
+
- [Fix] opt.string works with multiple aliases [`#10`](https://github.com/minimistjs/minimist/pull/10)
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- [Fix] Fix long option followed by single dash (#17) [`#15`](https://github.com/minimistjs/minimist/issues/15)
|
|
19
|
+
- [Tests] Remove duplicate test (#12) [`#8`](https://github.com/minimistjs/minimist/issues/8)
|
|
20
|
+
- [Fix] Fix long option followed by single dash [`#15`](https://github.com/minimistjs/minimist/issues/15)
|
|
21
|
+
- [Fix] opt.string works with multiple aliases (#10) [`#9`](https://github.com/minimistjs/minimist/issues/9)
|
|
22
|
+
- [Fix] Fix handling of short option with non-trivial equals [`#5`](https://github.com/minimistjs/minimist/issues/5)
|
|
23
|
+
- [Tests] Remove duplicate test [`#8`](https://github.com/minimistjs/minimist/issues/8)
|
|
24
|
+
- [Fix] opt.string works with multiple aliases [`#9`](https://github.com/minimistjs/minimist/issues/9)
|
|
25
|
+
|
|
26
|
+
### Commits
|
|
27
|
+
|
|
28
|
+
- Merge tag 'v0.2.3' [`a026794`](https://github.com/minimistjs/minimist/commit/a0267947c7870fc5847cf2d437fbe33f392767da)
|
|
29
|
+
- [eslint] fix indentation and whitespace [`5368ca4`](https://github.com/minimistjs/minimist/commit/5368ca4147e974138a54cc0dc4cea8f756546b70)
|
|
30
|
+
- [eslint] fix indentation and whitespace [`e5f5067`](https://github.com/minimistjs/minimist/commit/e5f5067259ceeaf0b098d14bec910f87e58708c7)
|
|
31
|
+
- [eslint] more cleanup [`62fde7d`](https://github.com/minimistjs/minimist/commit/62fde7d935f83417fb046741531a9e2346a36976)
|
|
32
|
+
- [eslint] more cleanup [`36ac5d0`](https://github.com/minimistjs/minimist/commit/36ac5d0d95e4947d074e5737d94814034ca335d1)
|
|
33
|
+
- [meta] add `auto-changelog` [`73923d2`](https://github.com/minimistjs/minimist/commit/73923d223553fca08b1ba77e3fbc2a492862ae4c)
|
|
34
|
+
- [actions] add reusable workflows [`d80727d`](https://github.com/minimistjs/minimist/commit/d80727df77bfa9e631044d7f16368d8f09242c91)
|
|
35
|
+
- [eslint] add eslint; rules to enable later are warnings [`48bc06a`](https://github.com/minimistjs/minimist/commit/48bc06a1b41f00e9cdf183db34f7a51ba70e98d4)
|
|
36
|
+
- [eslint] fix indentation [`34b0f1c`](https://github.com/minimistjs/minimist/commit/34b0f1ccaa45183c3c4f06a91f9b405180a6f982)
|
|
37
|
+
- [readme] rename and add badges [`5df0fe4`](https://github.com/minimistjs/minimist/commit/5df0fe49211bd09a3636f8686a7cb3012c3e98f0)
|
|
38
|
+
- [Dev Deps] switch from `covert` to `nyc` [`a48b128`](https://github.com/minimistjs/minimist/commit/a48b128fdb8d427dfb20a15273f83e38d97bef07)
|
|
39
|
+
- [Dev Deps] update `covert`, `tape`; remove unnecessary `tap` [`f0fb958`](https://github.com/minimistjs/minimist/commit/f0fb958e9a1fe980cdffc436a211b0bda58f621b)
|
|
40
|
+
- [meta] create FUNDING.yml; add `funding` in package.json [`3639e0c`](https://github.com/minimistjs/minimist/commit/3639e0c819359a366387e425ab6eabf4c78d3caa)
|
|
41
|
+
- [meta] use `npmignore` to autogenerate an npmignore file [`be2e038`](https://github.com/minimistjs/minimist/commit/be2e038c342d8333b32f0fde67a0026b79c8150e)
|
|
42
|
+
- Only apps should have lockfiles [`282b570`](https://github.com/minimistjs/minimist/commit/282b570e7489d01b03f2d6d3dabf79cd3e5f84cf)
|
|
43
|
+
- isConstructorOrProto adapted from PR [`ef9153f`](https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11)
|
|
44
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`098873c`](https://github.com/minimistjs/minimist/commit/098873c213cdb7c92e55ae1ef5aa1af3a8192a79)
|
|
45
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`3124ed3`](https://github.com/minimistjs/minimist/commit/3124ed3e46306301ebb3c834874ce0241555c2c4)
|
|
46
|
+
- [meta] add `safe-publish-latest` [`4b927de`](https://github.com/minimistjs/minimist/commit/4b927de696d561c636b4f43bf49d4597cb36d6d6)
|
|
47
|
+
- [Tests] add `aud` in `posttest` [`b32d9bd`](https://github.com/minimistjs/minimist/commit/b32d9bd0ab340f4e9f8c3a97ff2a4424f25fab8c)
|
|
48
|
+
- [meta] update repo URLs [`f9fdfc0`](https://github.com/minimistjs/minimist/commit/f9fdfc032c54884d9a9996a390c63cd0719bbe1a)
|
|
49
|
+
- [actions] Avoid 0.6 tests due to build failures [`ba92fe6`](https://github.com/minimistjs/minimist/commit/ba92fe6ebbdc0431cca9a2ea8f27beb492f5e4ec)
|
|
50
|
+
- [Dev Deps] update `tape` [`950eaa7`](https://github.com/minimistjs/minimist/commit/950eaa74f112e04d23e9c606c67472c46739b473)
|
|
51
|
+
- [Dev Deps] add missing `npmignore` dev dep [`3226afa`](https://github.com/minimistjs/minimist/commit/3226afaf09e9d127ca369742437fe6e88f752d6b)
|
|
52
|
+
- Merge tag 'v0.2.2' [`980d7ac`](https://github.com/minimistjs/minimist/commit/980d7ac61a0b4bd552711251ac107d506b23e41f)
|
|
53
|
+
|
|
8
54
|
## [v1.2.7](https://github.com/minimistjs/minimist/compare/v1.2.6...v1.2.7) - 2022-10-10
|
|
9
55
|
|
|
10
56
|
### Commits
|
|
@@ -109,13 +155,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
109
155
|
- coverage script [`e5531ba`](https://github.com/minimistjs/minimist/commit/e5531ba0479da3b8138d3d8cac545d84ccb1c8df)
|
|
110
156
|
- extra fn to get 100% coverage again [`a6972da`](https://github.com/minimistjs/minimist/commit/a6972da89e56bf77642f8ec05a13b6558db93498)
|
|
111
157
|
|
|
112
|
-
## [v1.0.0](https://github.com/minimistjs/minimist/compare/v0.2.
|
|
158
|
+
## [v1.0.0](https://github.com/minimistjs/minimist/compare/v0.2.3...v1.0.0) - 2014-08-10
|
|
113
159
|
|
|
114
160
|
### Commits
|
|
115
161
|
|
|
116
162
|
- added stopEarly option [`471c7e4`](https://github.com/minimistjs/minimist/commit/471c7e4a7e910fc7ad8f9df850a186daf32c64e9)
|
|
117
163
|
- fix list [`fef6ae7`](https://github.com/minimistjs/minimist/commit/fef6ae79c38b9dc1c49569abb7cd04eb965eac5e)
|
|
118
164
|
|
|
165
|
+
## [v0.2.3](https://github.com/minimistjs/minimist/compare/v0.2.2...v0.2.3) - 2023-02-09
|
|
166
|
+
|
|
167
|
+
### Merged
|
|
168
|
+
|
|
169
|
+
- [Fix] Fix long option followed by single dash [`#17`](https://github.com/minimistjs/minimist/pull/17)
|
|
170
|
+
- [Tests] Remove duplicate test [`#12`](https://github.com/minimistjs/minimist/pull/12)
|
|
171
|
+
- [Fix] opt.string works with multiple aliases [`#10`](https://github.com/minimistjs/minimist/pull/10)
|
|
172
|
+
|
|
173
|
+
### Fixed
|
|
174
|
+
|
|
175
|
+
- [Fix] Fix long option followed by single dash (#17) [`#15`](https://github.com/minimistjs/minimist/issues/15)
|
|
176
|
+
- [Tests] Remove duplicate test (#12) [`#8`](https://github.com/minimistjs/minimist/issues/8)
|
|
177
|
+
- [Fix] opt.string works with multiple aliases (#10) [`#9`](https://github.com/minimistjs/minimist/issues/9)
|
|
178
|
+
|
|
179
|
+
### Commits
|
|
180
|
+
|
|
181
|
+
- [eslint] fix indentation and whitespace [`e5f5067`](https://github.com/minimistjs/minimist/commit/e5f5067259ceeaf0b098d14bec910f87e58708c7)
|
|
182
|
+
- [eslint] more cleanup [`36ac5d0`](https://github.com/minimistjs/minimist/commit/36ac5d0d95e4947d074e5737d94814034ca335d1)
|
|
183
|
+
- [eslint] fix indentation [`34b0f1c`](https://github.com/minimistjs/minimist/commit/34b0f1ccaa45183c3c4f06a91f9b405180a6f982)
|
|
184
|
+
- isConstructorOrProto adapted from PR [`ef9153f`](https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11)
|
|
185
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`098873c`](https://github.com/minimistjs/minimist/commit/098873c213cdb7c92e55ae1ef5aa1af3a8192a79)
|
|
186
|
+
- [Dev Deps] add missing `npmignore` dev dep [`3226afa`](https://github.com/minimistjs/minimist/commit/3226afaf09e9d127ca369742437fe6e88f752d6b)
|
|
187
|
+
|
|
188
|
+
## [v0.2.2](https://github.com/minimistjs/minimist/compare/v0.2.1...v0.2.2) - 2022-10-10
|
|
189
|
+
|
|
190
|
+
### Commits
|
|
191
|
+
|
|
192
|
+
- [meta] add `auto-changelog` [`73923d2`](https://github.com/minimistjs/minimist/commit/73923d223553fca08b1ba77e3fbc2a492862ae4c)
|
|
193
|
+
- [actions] add reusable workflows [`d80727d`](https://github.com/minimistjs/minimist/commit/d80727df77bfa9e631044d7f16368d8f09242c91)
|
|
194
|
+
- [eslint] add eslint; rules to enable later are warnings [`48bc06a`](https://github.com/minimistjs/minimist/commit/48bc06a1b41f00e9cdf183db34f7a51ba70e98d4)
|
|
195
|
+
- [readme] rename and add badges [`5df0fe4`](https://github.com/minimistjs/minimist/commit/5df0fe49211bd09a3636f8686a7cb3012c3e98f0)
|
|
196
|
+
- [Dev Deps] switch from `covert` to `nyc` [`a48b128`](https://github.com/minimistjs/minimist/commit/a48b128fdb8d427dfb20a15273f83e38d97bef07)
|
|
197
|
+
- [Dev Deps] update `covert`, `tape`; remove unnecessary `tap` [`f0fb958`](https://github.com/minimistjs/minimist/commit/f0fb958e9a1fe980cdffc436a211b0bda58f621b)
|
|
198
|
+
- [meta] create FUNDING.yml; add `funding` in package.json [`3639e0c`](https://github.com/minimistjs/minimist/commit/3639e0c819359a366387e425ab6eabf4c78d3caa)
|
|
199
|
+
- [meta] use `npmignore` to autogenerate an npmignore file [`be2e038`](https://github.com/minimistjs/minimist/commit/be2e038c342d8333b32f0fde67a0026b79c8150e)
|
|
200
|
+
- Only apps should have lockfiles [`282b570`](https://github.com/minimistjs/minimist/commit/282b570e7489d01b03f2d6d3dabf79cd3e5f84cf)
|
|
201
|
+
- [meta] add `safe-publish-latest` [`4b927de`](https://github.com/minimistjs/minimist/commit/4b927de696d561c636b4f43bf49d4597cb36d6d6)
|
|
202
|
+
- [Tests] add `aud` in `posttest` [`b32d9bd`](https://github.com/minimistjs/minimist/commit/b32d9bd0ab340f4e9f8c3a97ff2a4424f25fab8c)
|
|
203
|
+
- [meta] update repo URLs [`f9fdfc0`](https://github.com/minimistjs/minimist/commit/f9fdfc032c54884d9a9996a390c63cd0719bbe1a)
|
|
204
|
+
|
|
119
205
|
## [v0.2.1](https://github.com/minimistjs/minimist/compare/v0.2.0...v0.2.1) - 2020-03-12
|
|
120
206
|
|
|
121
207
|
## [v0.2.0](https://github.com/minimistjs/minimist/compare/v0.1.0...v0.2.0) - 2014-06-19
|
|
@@ -26,14 +26,16 @@ $ node example/parse.js -a beep -b boop
|
|
|
26
26
|
|
|
27
27
|
```
|
|
28
28
|
$ node example/parse.js -x 3 -y 4 -n5 -abc --beep=boop foo bar baz
|
|
29
|
-
{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
{
|
|
30
|
+
_: ['foo', 'bar', 'baz'],
|
|
31
|
+
x: 3,
|
|
32
|
+
y: 4,
|
|
33
|
+
n: 5,
|
|
34
|
+
a: true,
|
|
35
|
+
b: true,
|
|
36
|
+
c: true,
|
|
37
|
+
beep: 'boop'
|
|
38
|
+
}
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
# security
|
|
@@ -81,8 +83,10 @@ and `argv['--']` with everything after the `--`. Here's an example:
|
|
|
81
83
|
|
|
82
84
|
```
|
|
83
85
|
> require('./')('one two three -- four five --six'.split(' '), { '--': true })
|
|
84
|
-
{
|
|
85
|
-
|
|
86
|
+
{
|
|
87
|
+
_: ['one', 'two', 'three'],
|
|
88
|
+
'--': ['four', 'five', '--six']
|
|
89
|
+
}
|
|
86
90
|
```
|
|
87
91
|
|
|
88
92
|
Note that with `opts['--']` set, parsing for arguments still stops after the
|