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
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
declare module "safe-buffer" {
|
|
2
|
+
export class Buffer {
|
|
3
|
+
length: number
|
|
4
|
+
write(string: string, offset?: number, length?: number, encoding?: string): number;
|
|
5
|
+
toString(encoding?: string, start?: number, end?: number): string;
|
|
6
|
+
toJSON(): { type: 'Buffer', data: any[] };
|
|
7
|
+
equals(otherBuffer: Buffer): boolean;
|
|
8
|
+
compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
|
|
9
|
+
copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
|
|
10
|
+
slice(start?: number, end?: number): Buffer;
|
|
11
|
+
writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
|
12
|
+
writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
|
13
|
+
writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
|
14
|
+
writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
|
15
|
+
readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
|
16
|
+
readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
|
17
|
+
readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
|
18
|
+
readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
|
19
|
+
readUInt8(offset: number, noAssert?: boolean): number;
|
|
20
|
+
readUInt16LE(offset: number, noAssert?: boolean): number;
|
|
21
|
+
readUInt16BE(offset: number, noAssert?: boolean): number;
|
|
22
|
+
readUInt32LE(offset: number, noAssert?: boolean): number;
|
|
23
|
+
readUInt32BE(offset: number, noAssert?: boolean): number;
|
|
24
|
+
readInt8(offset: number, noAssert?: boolean): number;
|
|
25
|
+
readInt16LE(offset: number, noAssert?: boolean): number;
|
|
26
|
+
readInt16BE(offset: number, noAssert?: boolean): number;
|
|
27
|
+
readInt32LE(offset: number, noAssert?: boolean): number;
|
|
28
|
+
readInt32BE(offset: number, noAssert?: boolean): number;
|
|
29
|
+
readFloatLE(offset: number, noAssert?: boolean): number;
|
|
30
|
+
readFloatBE(offset: number, noAssert?: boolean): number;
|
|
31
|
+
readDoubleLE(offset: number, noAssert?: boolean): number;
|
|
32
|
+
readDoubleBE(offset: number, noAssert?: boolean): number;
|
|
33
|
+
swap16(): Buffer;
|
|
34
|
+
swap32(): Buffer;
|
|
35
|
+
swap64(): Buffer;
|
|
36
|
+
writeUInt8(value: number, offset: number, noAssert?: boolean): number;
|
|
37
|
+
writeUInt16LE(value: number, offset: number, noAssert?: boolean): number;
|
|
38
|
+
writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
|
39
|
+
writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
|
40
|
+
writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
|
41
|
+
writeInt8(value: number, offset: number, noAssert?: boolean): number;
|
|
42
|
+
writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
|
|
43
|
+
writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
|
44
|
+
writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
|
45
|
+
writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
|
46
|
+
writeFloatLE(value: number, offset: number, noAssert?: boolean): number;
|
|
47
|
+
writeFloatBE(value: number, offset: number, noAssert?: boolean): number;
|
|
48
|
+
writeDoubleLE(value: number, offset: number, noAssert?: boolean): number;
|
|
49
|
+
writeDoubleBE(value: number, offset: number, noAssert?: boolean): number;
|
|
50
|
+
fill(value: any, offset?: number, end?: number): this;
|
|
51
|
+
indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
|
|
52
|
+
lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
|
|
53
|
+
includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Allocates a new buffer containing the given {str}.
|
|
57
|
+
*
|
|
58
|
+
* @param str String to store in buffer.
|
|
59
|
+
* @param encoding encoding to use, optional. Default is 'utf8'
|
|
60
|
+
*/
|
|
61
|
+
constructor (str: string, encoding?: string);
|
|
62
|
+
/**
|
|
63
|
+
* Allocates a new buffer of {size} octets.
|
|
64
|
+
*
|
|
65
|
+
* @param size count of octets to allocate.
|
|
66
|
+
*/
|
|
67
|
+
constructor (size: number);
|
|
68
|
+
/**
|
|
69
|
+
* Allocates a new buffer containing the given {array} of octets.
|
|
70
|
+
*
|
|
71
|
+
* @param array The octets to store.
|
|
72
|
+
*/
|
|
73
|
+
constructor (array: Uint8Array);
|
|
74
|
+
/**
|
|
75
|
+
* Produces a Buffer backed by the same allocated memory as
|
|
76
|
+
* the given {ArrayBuffer}.
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @param arrayBuffer The ArrayBuffer with which to share memory.
|
|
80
|
+
*/
|
|
81
|
+
constructor (arrayBuffer: ArrayBuffer);
|
|
82
|
+
/**
|
|
83
|
+
* Allocates a new buffer containing the given {array} of octets.
|
|
84
|
+
*
|
|
85
|
+
* @param array The octets to store.
|
|
86
|
+
*/
|
|
87
|
+
constructor (array: any[]);
|
|
88
|
+
/**
|
|
89
|
+
* Copies the passed {buffer} data onto a new {Buffer} instance.
|
|
90
|
+
*
|
|
91
|
+
* @param buffer The buffer to copy.
|
|
92
|
+
*/
|
|
93
|
+
constructor (buffer: Buffer);
|
|
94
|
+
prototype: Buffer;
|
|
95
|
+
/**
|
|
96
|
+
* Allocates a new Buffer using an {array} of octets.
|
|
97
|
+
*
|
|
98
|
+
* @param array
|
|
99
|
+
*/
|
|
100
|
+
static from(array: any[]): Buffer;
|
|
101
|
+
/**
|
|
102
|
+
* When passed a reference to the .buffer property of a TypedArray instance,
|
|
103
|
+
* the newly created Buffer will share the same allocated memory as the TypedArray.
|
|
104
|
+
* The optional {byteOffset} and {length} arguments specify a memory range
|
|
105
|
+
* within the {arrayBuffer} that will be shared by the Buffer.
|
|
106
|
+
*
|
|
107
|
+
* @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer()
|
|
108
|
+
* @param byteOffset
|
|
109
|
+
* @param length
|
|
110
|
+
*/
|
|
111
|
+
static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
|
112
|
+
/**
|
|
113
|
+
* Copies the passed {buffer} data onto a new Buffer instance.
|
|
114
|
+
*
|
|
115
|
+
* @param buffer
|
|
116
|
+
*/
|
|
117
|
+
static from(buffer: Buffer): Buffer;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a new Buffer containing the given JavaScript string {str}.
|
|
120
|
+
* If provided, the {encoding} parameter identifies the character encoding.
|
|
121
|
+
* If not provided, {encoding} defaults to 'utf8'.
|
|
122
|
+
*
|
|
123
|
+
* @param str
|
|
124
|
+
*/
|
|
125
|
+
static from(str: string, encoding?: string): Buffer;
|
|
126
|
+
/**
|
|
127
|
+
* Returns true if {obj} is a Buffer
|
|
128
|
+
*
|
|
129
|
+
* @param obj object to test.
|
|
130
|
+
*/
|
|
131
|
+
static isBuffer(obj: any): obj is Buffer;
|
|
132
|
+
/**
|
|
133
|
+
* Returns true if {encoding} is a valid encoding argument.
|
|
134
|
+
* Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'
|
|
135
|
+
*
|
|
136
|
+
* @param encoding string to test.
|
|
137
|
+
*/
|
|
138
|
+
static isEncoding(encoding: string): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Gives the actual byte length of a string. encoding defaults to 'utf8'.
|
|
141
|
+
* This is not the same as String.prototype.length since that returns the number of characters in a string.
|
|
142
|
+
*
|
|
143
|
+
* @param string string to test.
|
|
144
|
+
* @param encoding encoding used to evaluate (defaults to 'utf8')
|
|
145
|
+
*/
|
|
146
|
+
static byteLength(string: string, encoding?: string): number;
|
|
147
|
+
/**
|
|
148
|
+
* Returns a buffer which is the result of concatenating all the buffers in the list together.
|
|
149
|
+
*
|
|
150
|
+
* If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer.
|
|
151
|
+
* If the list has exactly one item, then the first item of the list is returned.
|
|
152
|
+
* If the list has more than one item, then a new Buffer is created.
|
|
153
|
+
*
|
|
154
|
+
* @param list An array of Buffer objects to concatenate
|
|
155
|
+
* @param totalLength Total length of the buffers when concatenated.
|
|
156
|
+
* If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly.
|
|
157
|
+
*/
|
|
158
|
+
static concat(list: Buffer[], totalLength?: number): Buffer;
|
|
159
|
+
/**
|
|
160
|
+
* The same as buf1.compare(buf2).
|
|
161
|
+
*/
|
|
162
|
+
static compare(buf1: Buffer, buf2: Buffer): number;
|
|
163
|
+
/**
|
|
164
|
+
* Allocates a new buffer of {size} octets.
|
|
165
|
+
*
|
|
166
|
+
* @param size count of octets to allocate.
|
|
167
|
+
* @param fill if specified, buffer will be initialized by calling buf.fill(fill).
|
|
168
|
+
* If parameter is omitted, buffer will be filled with zeros.
|
|
169
|
+
* @param encoding encoding used for call to buf.fill while initalizing
|
|
170
|
+
*/
|
|
171
|
+
static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer;
|
|
172
|
+
/**
|
|
173
|
+
* Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
|
|
174
|
+
* of the newly created Buffer are unknown and may contain sensitive data.
|
|
175
|
+
*
|
|
176
|
+
* @param size count of octets to allocate
|
|
177
|
+
*/
|
|
178
|
+
static allocUnsafe(size: number): Buffer;
|
|
179
|
+
/**
|
|
180
|
+
* Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents
|
|
181
|
+
* of the newly created Buffer are unknown and may contain sensitive data.
|
|
182
|
+
*
|
|
183
|
+
* @param size count of octets to allocate
|
|
184
|
+
*/
|
|
185
|
+
static allocUnsafeSlow(size: number): Buffer;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* eslint-disable node/no-deprecated-api */
|
|
2
|
+
var buffer = require('buffer')
|
|
3
|
+
var Buffer = buffer.Buffer
|
|
4
|
+
|
|
5
|
+
// alternative to using Object.keys for old browsers
|
|
6
|
+
function copyProps (src, dst) {
|
|
7
|
+
for (var key in src) {
|
|
8
|
+
dst[key] = src[key]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
|
|
12
|
+
module.exports = buffer
|
|
13
|
+
} else {
|
|
14
|
+
// Copy properties from require('buffer')
|
|
15
|
+
copyProps(buffer, exports)
|
|
16
|
+
exports.Buffer = SafeBuffer
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function SafeBuffer (arg, encodingOrOffset, length) {
|
|
20
|
+
return Buffer(arg, encodingOrOffset, length)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Copy static methods from Buffer
|
|
24
|
+
copyProps(Buffer, SafeBuffer)
|
|
25
|
+
|
|
26
|
+
SafeBuffer.from = function (arg, encodingOrOffset, length) {
|
|
27
|
+
if (typeof arg === 'number') {
|
|
28
|
+
throw new TypeError('Argument must not be a number')
|
|
29
|
+
}
|
|
30
|
+
return Buffer(arg, encodingOrOffset, length)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
SafeBuffer.alloc = function (size, fill, encoding) {
|
|
34
|
+
if (typeof size !== 'number') {
|
|
35
|
+
throw new TypeError('Argument must be a number')
|
|
36
|
+
}
|
|
37
|
+
var buf = Buffer(size)
|
|
38
|
+
if (fill !== undefined) {
|
|
39
|
+
if (typeof encoding === 'string') {
|
|
40
|
+
buf.fill(fill, encoding)
|
|
41
|
+
} else {
|
|
42
|
+
buf.fill(fill)
|
|
43
|
+
}
|
|
44
|
+
} else {
|
|
45
|
+
buf.fill(0)
|
|
46
|
+
}
|
|
47
|
+
return buf
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
SafeBuffer.allocUnsafe = function (size) {
|
|
51
|
+
if (typeof size !== 'number') {
|
|
52
|
+
throw new TypeError('Argument must be a number')
|
|
53
|
+
}
|
|
54
|
+
return Buffer(size)
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
SafeBuffer.allocUnsafeSlow = function (size) {
|
|
58
|
+
if (typeof size !== 'number') {
|
|
59
|
+
throw new TypeError('Argument must be a number')
|
|
60
|
+
}
|
|
61
|
+
return buffer.SlowBuffer(size)
|
|
62
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "safe-buffer",
|
|
3
|
+
"description": "Safer Node.js Buffer API",
|
|
4
|
+
"version": "5.1.2",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Feross Aboukhadijeh",
|
|
7
|
+
"email": "feross@feross.org",
|
|
8
|
+
"url": "http://feross.org"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/feross/safe-buffer/issues"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"standard": "*",
|
|
15
|
+
"tape": "^4.0.0"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/feross/safe-buffer",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"buffer",
|
|
20
|
+
"buffer allocate",
|
|
21
|
+
"node security",
|
|
22
|
+
"safe",
|
|
23
|
+
"safe-buffer",
|
|
24
|
+
"security",
|
|
25
|
+
"uninitialized"
|
|
26
|
+
],
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"main": "index.js",
|
|
29
|
+
"types": "index.d.ts",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git://github.com/feross/safe-buffer.git"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"test": "standard && tape test/*.js"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -7,7 +7,7 @@ Match files using the patterns the shell uses, like stars and stuff.
|
|
|
7
7
|
This is a glob implementation in JavaScript. It uses the `minimatch`
|
|
8
8
|
library to do its matching.
|
|
9
9
|
|
|
10
|
-

|
|
10
|
+

|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
@@ -276,6 +276,9 @@ the filesystem.
|
|
|
276
276
|
* `absolute` Set to true to always receive absolute paths for matched
|
|
277
277
|
files. Unlike `realpath`, this also affects the values returned in
|
|
278
278
|
the `match` event.
|
|
279
|
+
* `fs` File-system object with Node's `fs` API. By default, the built-in
|
|
280
|
+
`fs` module will be used. Set to a volume provided by a library like
|
|
281
|
+
`memfs` to avoid using the "real" file-system.
|
|
279
282
|
|
|
280
283
|
## Comparisons to other fnmatch/glob implementations
|
|
281
284
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
exports.alphasort = alphasort
|
|
2
|
-
exports.alphasorti = alphasorti
|
|
3
1
|
exports.setopts = setopts
|
|
4
2
|
exports.ownProp = ownProp
|
|
5
3
|
exports.makeAbs = makeAbs
|
|
@@ -12,17 +10,14 @@ function ownProp (obj, field) {
|
|
|
12
10
|
return Object.prototype.hasOwnProperty.call(obj, field)
|
|
13
11
|
}
|
|
14
12
|
|
|
13
|
+
var fs = require("fs")
|
|
15
14
|
var path = require("path")
|
|
16
15
|
var minimatch = require("minimatch")
|
|
17
16
|
var isAbsolute = require("path-is-absolute")
|
|
18
17
|
var Minimatch = minimatch.Minimatch
|
|
19
18
|
|
|
20
|
-
function alphasorti (a, b) {
|
|
21
|
-
return a.toLowerCase().localeCompare(b.toLowerCase())
|
|
22
|
-
}
|
|
23
|
-
|
|
24
19
|
function alphasort (a, b) {
|
|
25
|
-
return a.localeCompare(b)
|
|
20
|
+
return a.localeCompare(b, 'en')
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
function setupIgnores (self, options) {
|
|
@@ -81,6 +76,7 @@ function setopts (self, pattern, options) {
|
|
|
81
76
|
self.stat = !!options.stat
|
|
82
77
|
self.noprocess = !!options.noprocess
|
|
83
78
|
self.absolute = !!options.absolute
|
|
79
|
+
self.fs = options.fs || fs
|
|
84
80
|
|
|
85
81
|
self.maxLength = options.maxLength || Infinity
|
|
86
82
|
self.cache = options.cache || Object.create(null)
|
|
@@ -114,6 +110,8 @@ function setopts (self, pattern, options) {
|
|
|
114
110
|
// Note that they are not supported in Glob itself anyway.
|
|
115
111
|
options.nonegate = true
|
|
116
112
|
options.nocomment = true
|
|
113
|
+
// always treat \ in patterns as escapes, not path separators
|
|
114
|
+
options.allowWindowsEscape = false
|
|
117
115
|
|
|
118
116
|
self.minimatch = new Minimatch(pattern, options)
|
|
119
117
|
self.options = self.minimatch.options
|
|
@@ -150,7 +148,7 @@ function finish (self) {
|
|
|
150
148
|
all = Object.keys(all)
|
|
151
149
|
|
|
152
150
|
if (!self.nosort)
|
|
153
|
-
all = all.sort(
|
|
151
|
+
all = all.sort(alphasort)
|
|
154
152
|
|
|
155
153
|
// at *some* point we statted all of these
|
|
156
154
|
if (self.mark) {
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
|
|
41
41
|
module.exports = glob
|
|
42
42
|
|
|
43
|
-
var fs = require('fs')
|
|
44
43
|
var rp = require('fs.realpath')
|
|
45
44
|
var minimatch = require('minimatch')
|
|
46
45
|
var Minimatch = minimatch.Minimatch
|
|
@@ -51,8 +50,6 @@ var assert = require('assert')
|
|
|
51
50
|
var isAbsolute = require('path-is-absolute')
|
|
52
51
|
var globSync = require('./sync.js')
|
|
53
52
|
var common = require('./common.js')
|
|
54
|
-
var alphasort = common.alphasort
|
|
55
|
-
var alphasorti = common.alphasorti
|
|
56
53
|
var setopts = common.setopts
|
|
57
54
|
var ownProp = common.ownProp
|
|
58
55
|
var inflight = require('inflight')
|
|
@@ -345,7 +342,10 @@ Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
|
|
|
345
342
|
var read
|
|
346
343
|
if (prefix === null)
|
|
347
344
|
read = '.'
|
|
348
|
-
else if (isAbsolute(prefix) ||
|
|
345
|
+
else if (isAbsolute(prefix) ||
|
|
346
|
+
isAbsolute(pattern.map(function (p) {
|
|
347
|
+
return typeof p === 'string' ? p : '[*]'
|
|
348
|
+
}).join('/'))) {
|
|
349
349
|
if (!prefix || !isAbsolute(prefix))
|
|
350
350
|
prefix = '/' + prefix
|
|
351
351
|
read = prefix
|
|
@@ -503,7 +503,7 @@ Glob.prototype._readdirInGlobStar = function (abs, cb) {
|
|
|
503
503
|
var lstatcb = inflight(lstatkey, lstatcb_)
|
|
504
504
|
|
|
505
505
|
if (lstatcb)
|
|
506
|
-
fs.lstat(abs, lstatcb)
|
|
506
|
+
self.fs.lstat(abs, lstatcb)
|
|
507
507
|
|
|
508
508
|
function lstatcb_ (er, lstat) {
|
|
509
509
|
if (er && er.code === 'ENOENT')
|
|
@@ -544,7 +544,7 @@ Glob.prototype._readdir = function (abs, inGlobStar, cb) {
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
var self = this
|
|
547
|
-
fs.readdir(abs, readdirCb(this, abs, cb))
|
|
547
|
+
self.fs.readdir(abs, readdirCb(this, abs, cb))
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
function readdirCb (self, abs, cb) {
|
|
@@ -748,13 +748,13 @@ Glob.prototype._stat = function (f, cb) {
|
|
|
748
748
|
var self = this
|
|
749
749
|
var statcb = inflight('stat\0' + abs, lstatcb_)
|
|
750
750
|
if (statcb)
|
|
751
|
-
fs.lstat(abs, statcb)
|
|
751
|
+
self.fs.lstat(abs, statcb)
|
|
752
752
|
|
|
753
753
|
function lstatcb_ (er, lstat) {
|
|
754
754
|
if (lstat && lstat.isSymbolicLink()) {
|
|
755
755
|
// If it's a symlink, then treat it as the target, unless
|
|
756
756
|
// the target does not exist, then treat it as a file.
|
|
757
|
-
return fs.stat(abs, function (er, stat) {
|
|
757
|
+
return self.fs.stat(abs, function (er, stat) {
|
|
758
758
|
if (er)
|
|
759
759
|
self._stat2(f, abs, null, lstat, cb)
|
|
760
760
|
else
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# minimatch
|
|
2
|
+
|
|
3
|
+
A minimal matching utility.
|
|
4
|
+
|
|
5
|
+
[](http://travis-ci.org/isaacs/minimatch)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
This is the matching library used internally by npm.
|
|
9
|
+
|
|
10
|
+
It works by converting glob expressions into JavaScript `RegExp`
|
|
11
|
+
objects.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```javascript
|
|
16
|
+
var minimatch = require("minimatch")
|
|
17
|
+
|
|
18
|
+
minimatch("bar.foo", "*.foo") // true!
|
|
19
|
+
minimatch("bar.foo", "*.bar") // false!
|
|
20
|
+
minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
Supports these glob features:
|
|
26
|
+
|
|
27
|
+
* Brace Expansion
|
|
28
|
+
* Extended glob matching
|
|
29
|
+
* "Globstar" `**` matching
|
|
30
|
+
|
|
31
|
+
See:
|
|
32
|
+
|
|
33
|
+
* `man sh`
|
|
34
|
+
* `man bash`
|
|
35
|
+
* `man 3 fnmatch`
|
|
36
|
+
* `man 5 gitignore`
|
|
37
|
+
|
|
38
|
+
## Minimatch Class
|
|
39
|
+
|
|
40
|
+
Create a minimatch object by instantiating the `minimatch.Minimatch` class.
|
|
41
|
+
|
|
42
|
+
```javascript
|
|
43
|
+
var Minimatch = require("minimatch").Minimatch
|
|
44
|
+
var mm = new Minimatch(pattern, options)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Properties
|
|
48
|
+
|
|
49
|
+
* `pattern` The original pattern the minimatch object represents.
|
|
50
|
+
* `options` The options supplied to the constructor.
|
|
51
|
+
* `set` A 2-dimensional array of regexp or string expressions.
|
|
52
|
+
Each row in the
|
|
53
|
+
array corresponds to a brace-expanded pattern. Each item in the row
|
|
54
|
+
corresponds to a single path-part. For example, the pattern
|
|
55
|
+
`{a,b/c}/d` would expand to a set of patterns like:
|
|
56
|
+
|
|
57
|
+
[ [ a, d ]
|
|
58
|
+
, [ b, c, d ] ]
|
|
59
|
+
|
|
60
|
+
If a portion of the pattern doesn't have any "magic" in it
|
|
61
|
+
(that is, it's something like `"foo"` rather than `fo*o?`), then it
|
|
62
|
+
will be left as a string rather than converted to a regular
|
|
63
|
+
expression.
|
|
64
|
+
|
|
65
|
+
* `regexp` Created by the `makeRe` method. A single regular expression
|
|
66
|
+
expressing the entire pattern. This is useful in cases where you wish
|
|
67
|
+
to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
|
|
68
|
+
* `negate` True if the pattern is negated.
|
|
69
|
+
* `comment` True if the pattern is a comment.
|
|
70
|
+
* `empty` True if the pattern is `""`.
|
|
71
|
+
|
|
72
|
+
### Methods
|
|
73
|
+
|
|
74
|
+
* `makeRe` Generate the `regexp` member if necessary, and return it.
|
|
75
|
+
Will return `false` if the pattern is invalid.
|
|
76
|
+
* `match(fname)` Return true if the filename matches the pattern, or
|
|
77
|
+
false otherwise.
|
|
78
|
+
* `matchOne(fileArray, patternArray, partial)` Take a `/`-split
|
|
79
|
+
filename, and match it against a single row in the `regExpSet`. This
|
|
80
|
+
method is mainly for internal use, but is exposed so that it can be
|
|
81
|
+
used by a glob-walker that needs to avoid excessive filesystem calls.
|
|
82
|
+
|
|
83
|
+
All other methods are internal, and will be called as necessary.
|
|
84
|
+
|
|
85
|
+
### minimatch(path, pattern, options)
|
|
86
|
+
|
|
87
|
+
Main export. Tests a path against the pattern using the options.
|
|
88
|
+
|
|
89
|
+
```javascript
|
|
90
|
+
var isJS = minimatch(file, "*.js", { matchBase: true })
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### minimatch.filter(pattern, options)
|
|
94
|
+
|
|
95
|
+
Returns a function that tests its
|
|
96
|
+
supplied argument, suitable for use with `Array.filter`. Example:
|
|
97
|
+
|
|
98
|
+
```javascript
|
|
99
|
+
var javascripts = fileList.filter(minimatch.filter("*.js", {matchBase: true}))
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### minimatch.match(list, pattern, options)
|
|
103
|
+
|
|
104
|
+
Match against the list of
|
|
105
|
+
files, in the style of fnmatch or glob. If nothing is matched, and
|
|
106
|
+
options.nonull is set, then return a list containing the pattern itself.
|
|
107
|
+
|
|
108
|
+
```javascript
|
|
109
|
+
var javascripts = minimatch.match(fileList, "*.js", {matchBase: true}))
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### minimatch.makeRe(pattern, options)
|
|
113
|
+
|
|
114
|
+
Make a regular expression object from the pattern.
|
|
115
|
+
|
|
116
|
+
## Options
|
|
117
|
+
|
|
118
|
+
All options are `false` by default.
|
|
119
|
+
|
|
120
|
+
### debug
|
|
121
|
+
|
|
122
|
+
Dump a ton of stuff to stderr.
|
|
123
|
+
|
|
124
|
+
### nobrace
|
|
125
|
+
|
|
126
|
+
Do not expand `{a,b}` and `{1..3}` brace sets.
|
|
127
|
+
|
|
128
|
+
### noglobstar
|
|
129
|
+
|
|
130
|
+
Disable `**` matching against multiple folder names.
|
|
131
|
+
|
|
132
|
+
### dot
|
|
133
|
+
|
|
134
|
+
Allow patterns to match filenames starting with a period, even if
|
|
135
|
+
the pattern does not explicitly have a period in that spot.
|
|
136
|
+
|
|
137
|
+
Note that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`
|
|
138
|
+
is set.
|
|
139
|
+
|
|
140
|
+
### noext
|
|
141
|
+
|
|
142
|
+
Disable "extglob" style patterns like `+(a|b)`.
|
|
143
|
+
|
|
144
|
+
### nocase
|
|
145
|
+
|
|
146
|
+
Perform a case-insensitive match.
|
|
147
|
+
|
|
148
|
+
### nonull
|
|
149
|
+
|
|
150
|
+
When a match is not found by `minimatch.match`, return a list containing
|
|
151
|
+
the pattern itself if this option is set. When not set, an empty list
|
|
152
|
+
is returned if there are no matches.
|
|
153
|
+
|
|
154
|
+
### matchBase
|
|
155
|
+
|
|
156
|
+
If set, then patterns without slashes will be matched
|
|
157
|
+
against the basename of the path if it contains slashes. For example,
|
|
158
|
+
`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
|
|
159
|
+
|
|
160
|
+
### nocomment
|
|
161
|
+
|
|
162
|
+
Suppress the behavior of treating `#` at the start of a pattern as a
|
|
163
|
+
comment.
|
|
164
|
+
|
|
165
|
+
### nonegate
|
|
166
|
+
|
|
167
|
+
Suppress the behavior of treating a leading `!` character as negation.
|
|
168
|
+
|
|
169
|
+
### flipNegate
|
|
170
|
+
|
|
171
|
+
Returns from negate expressions the same as if they were not negated.
|
|
172
|
+
(Ie, true on a hit, false on a miss.)
|
|
173
|
+
|
|
174
|
+
### partial
|
|
175
|
+
|
|
176
|
+
Compare a partial path to a pattern. As long as the parts of the path that
|
|
177
|
+
are present are not contradicted by the pattern, it will be treated as a
|
|
178
|
+
match. This is useful in applications where you're walking through a
|
|
179
|
+
folder structure, and don't yet have the full path, but want to ensure that
|
|
180
|
+
you do not walk down paths that can never be a match.
|
|
181
|
+
|
|
182
|
+
For example,
|
|
183
|
+
|
|
184
|
+
```js
|
|
185
|
+
minimatch('/a/b', '/a/*/c/d', { partial: true }) // true, might be /a/b/c/d
|
|
186
|
+
minimatch('/a/b', '/**/d', { partial: true }) // true, might be /a/b/.../d
|
|
187
|
+
minimatch('/x/y/z', '/a/**/z', { partial: true }) // false, because x !== a
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### allowWindowsEscape
|
|
191
|
+
|
|
192
|
+
Windows path separator `\` is by default converted to `/`, which
|
|
193
|
+
prohibits the usage of `\` as a escape character. This flag skips that
|
|
194
|
+
behavior and allows using the escape character.
|
|
195
|
+
|
|
196
|
+
## Comparisons to other fnmatch/glob implementations
|
|
197
|
+
|
|
198
|
+
While strict compliance with the existing standards is a worthwhile
|
|
199
|
+
goal, some discrepancies exist between minimatch and other
|
|
200
|
+
implementations, and are intentional.
|
|
201
|
+
|
|
202
|
+
If the pattern starts with a `!` character, then it is negated. Set the
|
|
203
|
+
`nonegate` flag to suppress this behavior, and treat leading `!`
|
|
204
|
+
characters normally. This is perhaps relevant if you wish to start the
|
|
205
|
+
pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
|
|
206
|
+
characters at the start of a pattern will negate the pattern multiple
|
|
207
|
+
times.
|
|
208
|
+
|
|
209
|
+
If a pattern starts with `#`, then it is treated as a comment, and
|
|
210
|
+
will not match anything. Use `\#` to match a literal `#` at the
|
|
211
|
+
start of a line, or set the `nocomment` flag to suppress this behavior.
|
|
212
|
+
|
|
213
|
+
The double-star character `**` is supported by default, unless the
|
|
214
|
+
`noglobstar` flag is set. This is supported in the manner of bsdglob
|
|
215
|
+
and bash 4.1, where `**` only has special significance if it is the only
|
|
216
|
+
thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
|
|
217
|
+
`a/**b` will not.
|
|
218
|
+
|
|
219
|
+
If an escaped pattern has no matches, and the `nonull` flag is set,
|
|
220
|
+
then minimatch.match returns the pattern as-provided, rather than
|
|
221
|
+
interpreting the character escapes. For example,
|
|
222
|
+
`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
|
|
223
|
+
`"*a?"`. This is akin to setting the `nullglob` option in bash, except
|
|
224
|
+
that it does not resolve escaped pattern characters.
|
|
225
|
+
|
|
226
|
+
If brace expansion is not disabled, then it is performed before any
|
|
227
|
+
other interpretation of the glob pattern. Thus, a pattern like
|
|
228
|
+
`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
|
|
229
|
+
**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
|
|
230
|
+
checked for validity. Since those two are valid, matching proceeds.
|