@macula-io/martha 0.0.0 → 1.0.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/LICENSE +201 -0
- package/README.md +53 -8
- package/bin/martha-install.mjs +54 -0
- package/check_the_node_version/check_the_node_version.mjs +19 -0
- package/install_a_release/install_a_release.mjs +166 -0
- package/keep_the_names_in_one_place/names.mjs +49 -0
- package/node_modules/@gar/promise-retry/LICENSE +20 -0
- package/node_modules/@gar/promise-retry/README.md +86 -0
- package/node_modules/@gar/promise-retry/lib/index.d.ts +114 -0
- package/node_modules/@gar/promise-retry/lib/index.js +62 -0
- package/node_modules/@gar/promise-retry/lib/retry.js +109 -0
- package/node_modules/@gar/promise-retry/package.json +45 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/LICENSE.md +55 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/README.md +364 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.d.ts +123 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.js +778 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.min.js +3 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/numeric-range.d.ts +15 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/numeric-range.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/numeric-range.js +76 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/numeric-range.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/parse-class.d.ts +4 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/parse-class.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/parse-class.js +142 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/parse-class.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.d.ts +123 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.js +774 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.min.js +3 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/index.min.js.map +7 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/numeric-range.d.ts +15 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/numeric-range.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/numeric-range.js +72 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/numeric-range.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/parse-class.d.ts +4 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/parse-class.d.ts.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/parse-class.js +138 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/esm/parse-class.js.map +1 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/package.json +56 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/src/index.ts +932 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/src/numeric-range.ts +79 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/src/parse-class.ts +158 -0
- package/node_modules/@npmcli/agent/README.md +40 -0
- package/node_modules/@npmcli/agent/lib/agents.js +268 -0
- package/node_modules/@npmcli/agent/lib/dns.js +53 -0
- package/node_modules/@npmcli/agent/lib/errors.js +61 -0
- package/node_modules/@npmcli/agent/lib/index.js +56 -0
- package/node_modules/@npmcli/agent/lib/options.js +90 -0
- package/node_modules/@npmcli/agent/lib/proxy.js +88 -0
- package/node_modules/@npmcli/agent/package.json +61 -0
- package/node_modules/@npmcli/fs/LICENSE.md +20 -0
- package/node_modules/@npmcli/fs/README.md +97 -0
- package/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
- package/node_modules/@npmcli/fs/lib/common/node.js +9 -0
- package/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
- package/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
- package/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
- package/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
- package/node_modules/@npmcli/fs/lib/index.js +13 -0
- package/node_modules/@npmcli/fs/lib/move-file.js +78 -0
- package/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
- package/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
- package/node_modules/@npmcli/fs/package.json +54 -0
- package/node_modules/@npmcli/redact/LICENSE +21 -0
- package/node_modules/@npmcli/redact/README.md +42 -0
- package/node_modules/@npmcli/redact/lib/deep-map.js +71 -0
- package/node_modules/@npmcli/redact/lib/error.js +28 -0
- package/node_modules/@npmcli/redact/lib/index.js +44 -0
- package/node_modules/@npmcli/redact/lib/matchers.js +88 -0
- package/node_modules/@npmcli/redact/lib/server.js +59 -0
- package/node_modules/@npmcli/redact/lib/utils.js +202 -0
- package/node_modules/@npmcli/redact/package.json +52 -0
- package/node_modules/@sigstore/bundle/LICENSE +202 -0
- package/node_modules/@sigstore/bundle/README.md +19 -0
- package/node_modules/@sigstore/bundle/dist/build.d.ts +18 -0
- package/node_modules/@sigstore/bundle/dist/build.js +100 -0
- package/node_modules/@sigstore/bundle/dist/bundle.d.ts +74 -0
- package/node_modules/@sigstore/bundle/dist/bundle.js +24 -0
- package/node_modules/@sigstore/bundle/dist/error.d.ts +4 -0
- package/node_modules/@sigstore/bundle/dist/error.js +26 -0
- package/node_modules/@sigstore/bundle/dist/index.d.ts +8 -0
- package/node_modules/@sigstore/bundle/dist/index.js +43 -0
- package/node_modules/@sigstore/bundle/dist/serialized.d.ts +74 -0
- package/node_modules/@sigstore/bundle/dist/serialized.js +49 -0
- package/node_modules/@sigstore/bundle/dist/utility.d.ts +14 -0
- package/node_modules/@sigstore/bundle/dist/utility.js +2 -0
- package/node_modules/@sigstore/bundle/dist/validate.d.ts +7 -0
- package/node_modules/@sigstore/bundle/dist/validate.js +199 -0
- package/node_modules/@sigstore/bundle/package.json +35 -0
- package/node_modules/@sigstore/core/LICENSE +202 -0
- package/node_modules/@sigstore/core/README.md +10 -0
- package/node_modules/@sigstore/core/dist/asn1/error.d.ts +4 -0
- package/node_modules/@sigstore/core/dist/asn1/error.js +24 -0
- package/node_modules/@sigstore/core/dist/asn1/index.d.ts +1 -0
- package/node_modules/@sigstore/core/dist/asn1/index.js +20 -0
- package/node_modules/@sigstore/core/dist/asn1/length.d.ts +3 -0
- package/node_modules/@sigstore/core/dist/asn1/length.js +73 -0
- package/node_modules/@sigstore/core/dist/asn1/obj.d.ts +14 -0
- package/node_modules/@sigstore/core/dist/asn1/obj.js +173 -0
- package/node_modules/@sigstore/core/dist/asn1/parse.d.ts +6 -0
- package/node_modules/@sigstore/core/dist/asn1/parse.js +143 -0
- package/node_modules/@sigstore/core/dist/asn1/tag.d.ts +16 -0
- package/node_modules/@sigstore/core/dist/asn1/tag.js +89 -0
- package/node_modules/@sigstore/core/dist/crypto.d.ts +6 -0
- package/node_modules/@sigstore/core/dist/crypto.js +69 -0
- package/node_modules/@sigstore/core/dist/dsse.d.ts +1 -0
- package/node_modules/@sigstore/core/dist/dsse.js +29 -0
- package/node_modules/@sigstore/core/dist/encoding.d.ts +2 -0
- package/node_modules/@sigstore/core/dist/encoding.js +27 -0
- package/node_modules/@sigstore/core/dist/index.d.ts +9 -0
- package/node_modules/@sigstore/core/dist/index.js +66 -0
- package/node_modules/@sigstore/core/dist/json.d.ts +1 -0
- package/node_modules/@sigstore/core/dist/json.js +60 -0
- package/node_modules/@sigstore/core/dist/oid.d.ts +3 -0
- package/node_modules/@sigstore/core/dist/oid.js +20 -0
- package/node_modules/@sigstore/core/dist/pem.d.ts +2 -0
- package/node_modules/@sigstore/core/dist/pem.js +43 -0
- package/node_modules/@sigstore/core/dist/rfc3161/error.d.ts +2 -0
- package/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -0
- package/node_modules/@sigstore/core/dist/rfc3161/index.d.ts +1 -0
- package/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -0
- package/node_modules/@sigstore/core/dist/rfc3161/timestamp.d.ts +36 -0
- package/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +212 -0
- package/node_modules/@sigstore/core/dist/rfc3161/tstinfo.d.ts +12 -0
- package/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +72 -0
- package/node_modules/@sigstore/core/dist/stream.d.ts +21 -0
- package/node_modules/@sigstore/core/dist/stream.js +117 -0
- package/node_modules/@sigstore/core/dist/x509/cert.d.ts +43 -0
- package/node_modules/@sigstore/core/dist/x509/cert.js +245 -0
- package/node_modules/@sigstore/core/dist/x509/ext.d.ts +41 -0
- package/node_modules/@sigstore/core/dist/x509/ext.js +146 -0
- package/node_modules/@sigstore/core/dist/x509/index.d.ts +2 -0
- package/node_modules/@sigstore/core/dist/x509/index.js +23 -0
- package/node_modules/@sigstore/core/dist/x509/sct.d.ts +25 -0
- package/node_modules/@sigstore/core/dist/x509/sct.js +158 -0
- package/node_modules/@sigstore/core/package.json +31 -0
- package/node_modules/@sigstore/protobuf-specs/LICENSE +202 -0
- package/node_modules/@sigstore/protobuf-specs/README.md +5 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.d.ts +44 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.d.ts +64 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.d.ts +74 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.d.ts +74 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.d.ts +1309 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2191 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.d.ts +113 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.d.ts +23 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.d.ts +43 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.d.ts +22 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.d.ts +35 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.d.ts +146 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.d.ts +304 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +612 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_monitor.d.ts +33 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_monitor.js +55 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.d.ts +144 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.d.ts +386 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.d.ts +191 -0
- package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -0
- package/node_modules/@sigstore/protobuf-specs/dist/index.d.ts +6 -0
- package/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -0
- package/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.d.ts +4 -0
- package/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +35 -0
- package/node_modules/@sigstore/protobuf-specs/package.json +35 -0
- package/node_modules/@sigstore/sign/LICENSE +202 -0
- package/node_modules/@sigstore/sign/README.md +185 -0
- package/node_modules/@sigstore/sign/dist/bundler/base.d.ts +22 -0
- package/node_modules/@sigstore/sign/dist/bundler/base.js +52 -0
- package/node_modules/@sigstore/sign/dist/bundler/bundle.d.ts +5 -0
- package/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -0
- package/node_modules/@sigstore/sign/dist/bundler/dsse.d.ts +13 -0
- package/node_modules/@sigstore/sign/dist/bundler/dsse.js +47 -0
- package/node_modules/@sigstore/sign/dist/bundler/index.d.ts +3 -0
- package/node_modules/@sigstore/sign/dist/bundler/index.js +7 -0
- package/node_modules/@sigstore/sign/dist/bundler/message.d.ts +7 -0
- package/node_modules/@sigstore/sign/dist/bundler/message.js +30 -0
- package/node_modules/@sigstore/sign/dist/config.d.ts +18 -0
- package/node_modules/@sigstore/sign/dist/config.js +143 -0
- package/node_modules/@sigstore/sign/dist/error.d.ts +12 -0
- package/node_modules/@sigstore/sign/dist/error.js +41 -0
- package/node_modules/@sigstore/sign/dist/external/error.d.ts +9 -0
- package/node_modules/@sigstore/sign/dist/external/error.js +28 -0
- package/node_modules/@sigstore/sign/dist/external/fetch.d.ts +4 -0
- package/node_modules/@sigstore/sign/dist/external/fetch.js +98 -0
- package/node_modules/@sigstore/sign/dist/external/fulcio.d.ts +37 -0
- package/node_modules/@sigstore/sign/dist/external/fulcio.js +42 -0
- package/node_modules/@sigstore/sign/dist/external/rekor-v2.d.ts +14 -0
- package/node_modules/@sigstore/sign/dist/external/rekor-v2.js +45 -0
- package/node_modules/@sigstore/sign/dist/external/rekor.d.ts +28 -0
- package/node_modules/@sigstore/sign/dist/external/rekor.js +81 -0
- package/node_modules/@sigstore/sign/dist/external/tsa.d.ts +16 -0
- package/node_modules/@sigstore/sign/dist/external/tsa.js +44 -0
- package/node_modules/@sigstore/sign/dist/identity/ci.d.ts +11 -0
- package/node_modules/@sigstore/sign/dist/identity/ci.js +88 -0
- package/node_modules/@sigstore/sign/dist/identity/index.d.ts +2 -0
- package/node_modules/@sigstore/sign/dist/identity/index.js +20 -0
- package/node_modules/@sigstore/sign/dist/identity/provider.d.ts +3 -0
- package/node_modules/@sigstore/sign/dist/identity/provider.js +2 -0
- package/node_modules/@sigstore/sign/dist/index.d.ts +11 -0
- package/node_modules/@sigstore/sign/dist/index.js +19 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/ca.d.ts +12 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +60 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.d.ts +6 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +43 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/index.d.ts +16 -0
- package/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +90 -0
- package/node_modules/@sigstore/sign/dist/signer/index.d.ts +2 -0
- package/node_modules/@sigstore/sign/dist/signer/index.js +22 -0
- package/node_modules/@sigstore/sign/dist/signer/signer.d.ts +15 -0
- package/node_modules/@sigstore/sign/dist/signer/signer.js +17 -0
- package/node_modules/@sigstore/sign/dist/types/fetch.d.ts +6 -0
- package/node_modules/@sigstore/sign/dist/types/fetch.js +2 -0
- package/node_modules/@sigstore/sign/dist/util/index.d.ts +3 -0
- package/node_modules/@sigstore/sign/dist/util/index.js +59 -0
- package/node_modules/@sigstore/sign/dist/util/oidc.d.ts +1 -0
- package/node_modules/@sigstore/sign/dist/util/oidc.js +35 -0
- package/node_modules/@sigstore/sign/dist/util/ua.d.ts +1 -0
- package/node_modules/@sigstore/sign/dist/util/ua.js +32 -0
- package/node_modules/@sigstore/sign/dist/witness/index.d.ts +3 -0
- package/node_modules/@sigstore/sign/dist/witness/index.js +24 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/client.d.ts +29 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/client.js +92 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/entry.d.ts +5 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +197 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/index.d.ts +20 -0
- package/node_modules/@sigstore/sign/dist/witness/tlog/index.js +97 -0
- package/node_modules/@sigstore/sign/dist/witness/tsa/client.d.ts +12 -0
- package/node_modules/@sigstore/sign/dist/witness/tsa/client.js +47 -0
- package/node_modules/@sigstore/sign/dist/witness/tsa/index.d.ts +13 -0
- package/node_modules/@sigstore/sign/dist/witness/tsa/index.js +45 -0
- package/node_modules/@sigstore/sign/dist/witness/witness.d.ts +9 -0
- package/node_modules/@sigstore/sign/dist/witness/witness.js +2 -0
- package/node_modules/@sigstore/sign/package.json +45 -0
- package/node_modules/@sigstore/tuf/LICENSE +202 -0
- package/node_modules/@sigstore/tuf/README.md +69 -0
- package/node_modules/@sigstore/tuf/dist/appdata.d.ts +1 -0
- package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
- package/node_modules/@sigstore/tuf/dist/client.d.ts +23 -0
- package/node_modules/@sigstore/tuf/dist/client.js +116 -0
- package/node_modules/@sigstore/tuf/dist/error.d.ts +11 -0
- package/node_modules/@sigstore/tuf/dist/error.js +14 -0
- package/node_modules/@sigstore/tuf/dist/index.d.ts +10 -0
- package/node_modules/@sigstore/tuf/dist/index.js +56 -0
- package/node_modules/@sigstore/tuf/dist/target.d.ts +2 -0
- package/node_modules/@sigstore/tuf/dist/target.js +79 -0
- package/node_modules/@sigstore/tuf/package.json +41 -0
- package/node_modules/@sigstore/tuf/seeds.json +1 -0
- package/node_modules/@sigstore/verify/README.md +13 -0
- package/node_modules/@sigstore/verify/dist/bundle/dsse.d.ts +13 -0
- package/node_modules/@sigstore/verify/dist/bundle/dsse.js +50 -0
- package/node_modules/@sigstore/verify/dist/bundle/index.d.ts +4 -0
- package/node_modules/@sigstore/verify/dist/bundle/index.js +59 -0
- package/node_modules/@sigstore/verify/dist/bundle/message.d.ts +14 -0
- package/node_modules/@sigstore/verify/dist/bundle/message.js +59 -0
- package/node_modules/@sigstore/verify/dist/error.d.ts +16 -0
- package/node_modules/@sigstore/verify/dist/error.js +34 -0
- package/node_modules/@sigstore/verify/dist/index.d.ts +6 -0
- package/node_modules/@sigstore/verify/dist/index.js +28 -0
- package/node_modules/@sigstore/verify/dist/key/certificate.d.ts +21 -0
- package/node_modules/@sigstore/verify/dist/key/certificate.js +216 -0
- package/node_modules/@sigstore/verify/dist/key/index.d.ts +10 -0
- package/node_modules/@sigstore/verify/dist/key/index.js +75 -0
- package/node_modules/@sigstore/verify/dist/key/sct.d.ts +4 -0
- package/node_modules/@sigstore/verify/dist/key/sct.js +78 -0
- package/node_modules/@sigstore/verify/dist/policy.d.ts +5 -0
- package/node_modules/@sigstore/verify/dist/policy.js +48 -0
- package/node_modules/@sigstore/verify/dist/shared.types.d.ts +55 -0
- package/node_modules/@sigstore/verify/dist/shared.types.js +2 -0
- package/node_modules/@sigstore/verify/dist/timestamp/index.d.ts +11 -0
- package/node_modules/@sigstore/verify/dist/timestamp/index.js +24 -0
- package/node_modules/@sigstore/verify/dist/timestamp/tsa.d.ts +3 -0
- package/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -0
- package/node_modules/@sigstore/verify/dist/tlog/checkpoint.d.ts +11 -0
- package/node_modules/@sigstore/verify/dist/tlog/checkpoint.js +168 -0
- package/node_modules/@sigstore/verify/dist/tlog/dsse.d.ts +6 -0
- package/node_modules/@sigstore/verify/dist/tlog/dsse.js +106 -0
- package/node_modules/@sigstore/verify/dist/tlog/hashedrekord.d.ts +6 -0
- package/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +94 -0
- package/node_modules/@sigstore/verify/dist/tlog/index.d.ts +5 -0
- package/node_modules/@sigstore/verify/dist/tlog/index.js +106 -0
- package/node_modules/@sigstore/verify/dist/tlog/intoto.d.ts +3 -0
- package/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -0
- package/node_modules/@sigstore/verify/dist/tlog/merkle.d.ts +3 -0
- package/node_modules/@sigstore/verify/dist/tlog/merkle.js +115 -0
- package/node_modules/@sigstore/verify/dist/tlog/set.d.ts +3 -0
- package/node_modules/@sigstore/verify/dist/tlog/set.js +60 -0
- package/node_modules/@sigstore/verify/dist/trust/filter.d.ts +8 -0
- package/node_modules/@sigstore/verify/dist/trust/filter.js +23 -0
- package/node_modules/@sigstore/verify/dist/trust/index.d.ts +5 -0
- package/node_modules/@sigstore/verify/dist/trust/index.js +90 -0
- package/node_modules/@sigstore/verify/dist/trust/trust.types.d.ts +29 -0
- package/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -0
- package/node_modules/@sigstore/verify/dist/verifier.d.ts +34 -0
- package/node_modules/@sigstore/verify/dist/verifier.js +172 -0
- package/node_modules/@sigstore/verify/package.json +36 -0
- package/node_modules/@tufjs/canonical-json/LICENSE +21 -0
- package/node_modules/@tufjs/canonical-json/README.md +53 -0
- package/node_modules/@tufjs/canonical-json/lib/index.d.ts +2 -0
- package/node_modules/@tufjs/canonical-json/lib/index.js +64 -0
- package/node_modules/@tufjs/canonical-json/package.json +35 -0
- package/node_modules/@tufjs/models/LICENSE +21 -0
- package/node_modules/@tufjs/models/README.md +3 -0
- package/node_modules/@tufjs/models/dist/base.d.ts +37 -0
- package/node_modules/@tufjs/models/dist/base.js +99 -0
- package/node_modules/@tufjs/models/dist/delegations.d.ts +32 -0
- package/node_modules/@tufjs/models/dist/delegations.js +122 -0
- package/node_modules/@tufjs/models/dist/error.d.ts +12 -0
- package/node_modules/@tufjs/models/dist/error.js +27 -0
- package/node_modules/@tufjs/models/dist/file.d.ts +38 -0
- package/node_modules/@tufjs/models/dist/file.js +191 -0
- package/node_modules/@tufjs/models/dist/index.d.ts +10 -0
- package/node_modules/@tufjs/models/dist/index.js +24 -0
- package/node_modules/@tufjs/models/dist/key.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/key.js +90 -0
- package/node_modules/@tufjs/models/dist/metadata.d.ts +47 -0
- package/node_modules/@tufjs/models/dist/metadata.js +165 -0
- package/node_modules/@tufjs/models/dist/role.d.ts +103 -0
- package/node_modules/@tufjs/models/dist/role.js +310 -0
- package/node_modules/@tufjs/models/dist/root.d.ts +29 -0
- package/node_modules/@tufjs/models/dist/root.js +119 -0
- package/node_modules/@tufjs/models/dist/signature.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/signature.js +40 -0
- package/node_modules/@tufjs/models/dist/snapshot.d.ts +23 -0
- package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
- package/node_modules/@tufjs/models/dist/targets.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/targets.js +94 -0
- package/node_modules/@tufjs/models/dist/timestamp.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
- package/node_modules/@tufjs/models/dist/utils/guard.d.ts +7 -0
- package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
- package/node_modules/@tufjs/models/dist/utils/index.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
- package/node_modules/@tufjs/models/dist/utils/key.d.ts +11 -0
- package/node_modules/@tufjs/models/dist/utils/key.js +170 -0
- package/node_modules/@tufjs/models/dist/utils/oid.d.ts +1 -0
- package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
- package/node_modules/@tufjs/models/dist/utils/types.d.ts +4 -0
- package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
- package/node_modules/@tufjs/models/dist/utils/verify.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
- package/node_modules/@tufjs/models/package.json +37 -0
- package/node_modules/agent-base/LICENSE +22 -0
- package/node_modules/agent-base/README.md +69 -0
- package/node_modules/agent-base/dist/helpers.d.ts +10 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +37 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +37 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +146 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/balanced-match/LICENSE.md +23 -0
- package/node_modules/balanced-match/README.md +57 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/brace-expansion/LICENSE +23 -0
- package/node_modules/brace-expansion/README.md +105 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +12 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +333 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts +12 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/esm/index.js +329 -0
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +65 -0
- package/node_modules/cacache/LICENSE.md +16 -0
- package/node_modules/cacache/README.md +715 -0
- package/node_modules/cacache/lib/content/path.js +29 -0
- package/node_modules/cacache/lib/content/read.js +165 -0
- package/node_modules/cacache/lib/content/rm.js +18 -0
- package/node_modules/cacache/lib/content/write.js +208 -0
- package/node_modules/cacache/lib/entry-index.js +339 -0
- package/node_modules/cacache/lib/get.js +170 -0
- package/node_modules/cacache/lib/index.js +42 -0
- package/node_modules/cacache/lib/memoization.js +72 -0
- package/node_modules/cacache/lib/put.js +80 -0
- package/node_modules/cacache/lib/rm.js +32 -0
- package/node_modules/cacache/lib/util/cache-dir.js +29 -0
- package/node_modules/cacache/lib/util/glob.js +7 -0
- package/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
- package/node_modules/cacache/lib/util/tmp.js +36 -0
- package/node_modules/cacache/lib/verify.js +258 -0
- package/node_modules/cacache/package.json +81 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +71 -0
- package/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/content-type/package.json +52 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/fs-minipass/LICENSE +15 -0
- package/node_modules/fs-minipass/README.md +70 -0
- package/node_modules/fs-minipass/lib/index.js +443 -0
- package/node_modules/fs-minipass/package.json +54 -0
- package/node_modules/glob/LICENSE.md +63 -0
- package/node_modules/glob/README.md +1377 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts +405 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/glob.js +241 -0
- package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +24 -0
- package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts +36 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.js +139 -0
- package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.d.ts +98 -0
- package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.min.js +3 -0
- package/node_modules/glob/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts +86 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/pattern.js +235 -0
- package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts +72 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.js +314 -0
- package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts +99 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.js +402 -0
- package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/glob/dist/esm/glob.d.ts +405 -0
- package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/glob.js +237 -0
- package/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.js +20 -0
- package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/glob/dist/esm/ignore.d.ts +36 -0
- package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/ignore.js +135 -0
- package/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/glob/dist/esm/index.d.ts +98 -0
- package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/glob/dist/esm/index.min.js +3 -0
- package/node_modules/glob/dist/esm/index.min.js.map +7 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.d.ts +86 -0
- package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/pattern.js +231 -0
- package/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/glob/dist/esm/processor.d.ts +72 -0
- package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/processor.js +307 -0
- package/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/glob/dist/esm/walker.d.ts +99 -0
- package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/walker.js +396 -0
- package/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/glob/package.json +114 -0
- package/node_modules/glob/src/glob.ts +655 -0
- package/node_modules/glob/src/has-magic.ts +23 -0
- package/node_modules/glob/src/ignore.ts +162 -0
- package/node_modules/glob/src/index.ts +225 -0
- package/node_modules/glob/src/pattern.ts +286 -0
- package/node_modules/glob/src/processor.ts +333 -0
- package/node_modules/glob/src/walker.ts +523 -0
- package/node_modules/http-cache-semantics/LICENSE +9 -0
- package/node_modules/http-cache-semantics/README.md +268 -0
- package/node_modules/http-cache-semantics/index.js +951 -0
- package/node_modules/http-cache-semantics/package.json +22 -0
- package/node_modules/http-proxy-agent/LICENSE +22 -0
- package/node_modules/http-proxy-agent/README.md +44 -0
- package/node_modules/http-proxy-agent/dist/index.d.ts +47 -0
- package/node_modules/http-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/http-proxy-agent/dist/index.js +132 -0
- package/node_modules/http-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/http-proxy-agent/package.json +48 -0
- package/node_modules/https-proxy-agent/LICENSE +22 -0
- package/node_modules/https-proxy-agent/README.md +70 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +51 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +234 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +12 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +94 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +51 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/ip-address/LICENSE +19 -0
- package/node_modules/ip-address/README.md +308 -0
- package/node_modules/ip-address/dist/address-error.d.ts +15 -0
- package/node_modules/ip-address/dist/address-error.js +12 -0
- package/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/node_modules/ip-address/dist/common.d.ts +74 -0
- package/node_modules/ip-address/dist/common.js +154 -0
- package/node_modules/ip-address/dist/common.js.map +1 -0
- package/node_modules/ip-address/dist/ip-address.d.ts +7 -0
- package/node_modules/ip-address/dist/ip-address.js +35 -0
- package/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/node_modules/ip-address/dist/ipv4.d.ts +347 -0
- package/node_modules/ip-address/dist/ipv4.js +602 -0
- package/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/node_modules/ip-address/dist/ipv6.d.ts +634 -0
- package/node_modules/ip-address/dist/ipv6.js +1461 -0
- package/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts +16 -0
- package/node_modules/ip-address/dist/v4/constants.js +51 -0
- package/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts +61 -0
- package/node_modules/ip-address/dist/v6/constants.js +131 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/node_modules/ip-address/dist/v6/helpers.js +54 -0
- package/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +5 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/node_modules/ip-address/package.json +91 -0
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +469 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/package.json +180 -0
- package/node_modules/make-fetch-happen/LICENSE +16 -0
- package/node_modules/make-fetch-happen/README.md +364 -0
- package/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
- package/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
- package/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
- package/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
- package/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
- package/node_modules/make-fetch-happen/lib/fetch.js +118 -0
- package/node_modules/make-fetch-happen/lib/index.js +41 -0
- package/node_modules/make-fetch-happen/lib/options.js +59 -0
- package/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
- package/node_modules/make-fetch-happen/lib/remote.js +134 -0
- package/node_modules/make-fetch-happen/package.json +75 -0
- package/node_modules/minimatch/LICENSE.md +55 -0
- package/node_modules/minimatch/README.md +556 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +188 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1600 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +188 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1589 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +74 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/minipass-collect/LICENSE +15 -0
- package/node_modules/minipass-collect/README.md +48 -0
- package/node_modules/minipass-collect/index.js +71 -0
- package/node_modules/minipass-collect/package.json +30 -0
- package/node_modules/minipass-fetch/LICENSE +28 -0
- package/node_modules/minipass-fetch/README.md +29 -0
- package/node_modules/minipass-fetch/lib/abort-error.js +17 -0
- package/node_modules/minipass-fetch/lib/blob.js +97 -0
- package/node_modules/minipass-fetch/lib/body.js +360 -0
- package/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
- package/node_modules/minipass-fetch/lib/headers.js +267 -0
- package/node_modules/minipass-fetch/lib/index.js +376 -0
- package/node_modules/minipass-fetch/lib/request.js +282 -0
- package/node_modules/minipass-fetch/lib/response.js +90 -0
- package/node_modules/minipass-fetch/package.json +70 -0
- package/node_modules/minipass-flush/LICENSE.md +55 -0
- package/node_modules/minipass-flush/README.md +47 -0
- package/node_modules/minipass-flush/index.js +39 -0
- package/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
- package/node_modules/minipass-flush/node_modules/minipass/README.md +728 -0
- package/node_modules/minipass-flush/node_modules/minipass/index.d.ts +155 -0
- package/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
- package/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
- package/node_modules/minipass-flush/package.json +42 -0
- package/node_modules/minipass-pipeline/LICENSE +15 -0
- package/node_modules/minipass-pipeline/README.md +69 -0
- package/node_modules/minipass-pipeline/index.js +128 -0
- package/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
- package/node_modules/minipass-pipeline/node_modules/minipass/README.md +728 -0
- package/node_modules/minipass-pipeline/node_modules/minipass/index.d.ts +155 -0
- package/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
- package/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
- package/node_modules/minipass-pipeline/package.json +29 -0
- package/node_modules/minipass-sized/LICENSE +15 -0
- package/node_modules/minipass-sized/README.md +30 -0
- package/node_modules/minipass-sized/dist/commonjs/index.d.ts +21 -0
- package/node_modules/minipass-sized/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass-sized/dist/commonjs/index.js +69 -0
- package/node_modules/minipass-sized/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass-sized/dist/commonjs/package.json +3 -0
- package/node_modules/minipass-sized/dist/esm/index.d.ts +21 -0
- package/node_modules/minipass-sized/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass-sized/dist/esm/index.js +64 -0
- package/node_modules/minipass-sized/dist/esm/index.js.map +1 -0
- package/node_modules/minipass-sized/dist/esm/package.json +3 -0
- package/node_modules/minipass-sized/package.json +69 -0
- package/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/minizlib/README.md +64 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/minizlib/package.json +80 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +145 -0
- package/node_modules/negotiator/lib/encoding.js +184 -0
- package/node_modules/negotiator/lib/language.js +158 -0
- package/node_modules/negotiator/lib/mediaType.js +176 -0
- package/node_modules/negotiator/package.json +49 -0
- package/node_modules/p-map/index.d.ts +392 -0
- package/node_modules/p-map/index.js +663 -0
- package/node_modules/p-map/license +9 -0
- package/node_modules/p-map/package.json +57 -0
- package/node_modules/p-map/readme.md +404 -0
- package/node_modules/path-scurry/LICENSE.md +55 -0
- package/node_modules/path-scurry/README.md +635 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1122 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2056 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1122 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +2011 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/proc-log/LICENSE +15 -0
- package/node_modules/proc-log/README.md +226 -0
- package/node_modules/proc-log/lib/index.js +158 -0
- package/node_modules/proc-log/package.json +46 -0
- package/node_modules/proxy-agent-negotiate/dist/index.d.ts +14 -0
- package/node_modules/proxy-agent-negotiate/dist/index.d.ts.map +1 -0
- package/node_modules/proxy-agent-negotiate/dist/index.js +35 -0
- package/node_modules/proxy-agent-negotiate/dist/index.js.map +1 -0
- package/node_modules/proxy-agent-negotiate/package.json +47 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +67 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/sigstore/LICENSE +202 -0
- package/node_modules/sigstore/README.md +219 -0
- package/node_modules/sigstore/dist/config.d.ts +38 -0
- package/node_modules/sigstore/dist/config.js +126 -0
- package/node_modules/sigstore/dist/index.d.ts +9 -0
- package/node_modules/sigstore/dist/index.js +34 -0
- package/node_modules/sigstore/dist/sigstore.d.ts +11 -0
- package/node_modules/sigstore/dist/sigstore.js +112 -0
- package/node_modules/sigstore/package.json +47 -0
- package/node_modules/smart-buffer/.prettierrc.yaml +5 -0
- package/node_modules/smart-buffer/.travis.yml +13 -0
- package/node_modules/smart-buffer/LICENSE +20 -0
- package/node_modules/smart-buffer/README.md +633 -0
- package/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
- package/node_modules/smart-buffer/build/utils.js +108 -0
- package/node_modules/smart-buffer/build/utils.js.map +1 -0
- package/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
- package/node_modules/smart-buffer/docs/README_v3.md +367 -0
- package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/node_modules/smart-buffer/package.json +79 -0
- package/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
- package/node_modules/smart-buffer/typings/utils.d.ts +66 -0
- package/node_modules/socks/.prettierrc.yaml +7 -0
- package/node_modules/socks/LICENSE +20 -0
- package/node_modules/socks/README.md +686 -0
- package/node_modules/socks/build/client/socksclient.js +793 -0
- package/node_modules/socks/build/client/socksclient.js.map +1 -0
- package/node_modules/socks/build/common/constants.js +108 -0
- package/node_modules/socks/build/common/constants.js.map +1 -0
- package/node_modules/socks/build/common/helpers.js +166 -0
- package/node_modules/socks/build/common/helpers.js.map +1 -0
- package/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/node_modules/socks/build/common/receivebuffer.js.map +1 -0
- package/node_modules/socks/build/common/util.js +25 -0
- package/node_modules/socks/build/common/util.js.map +1 -0
- package/node_modules/socks/build/index.js +18 -0
- package/node_modules/socks/build/index.js.map +1 -0
- package/node_modules/socks/docs/examples/index.md +17 -0
- package/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
- package/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
- package/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
- package/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
- package/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
- package/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
- package/node_modules/socks/docs/index.md +5 -0
- package/node_modules/socks/docs/migratingFromV1.md +86 -0
- package/node_modules/socks/package.json +58 -0
- package/node_modules/socks/typings/client/socksclient.d.ts +162 -0
- package/node_modules/socks/typings/common/constants.d.ts +151 -0
- package/node_modules/socks/typings/common/helpers.d.ts +17 -0
- package/node_modules/socks/typings/common/receiveBuffer.d.ts +12 -0
- package/node_modules/socks/typings/common/util.d.ts +14 -0
- package/node_modules/socks/typings/index.d.ts +1 -0
- package/node_modules/socks-proxy-agent/LICENSE +22 -0
- package/node_modules/socks-proxy-agent/README.md +50 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts +25 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/socks-proxy-agent/dist/index.js +169 -0
- package/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/socks-proxy-agent/package.json +142 -0
- package/node_modules/ssri/LICENSE.md +16 -0
- package/node_modules/ssri/README.md +528 -0
- package/node_modules/ssri/lib/index.js +550 -0
- package/node_modules/ssri/package.json +66 -0
- package/node_modules/tuf-js/LICENSE +21 -0
- package/node_modules/tuf-js/README.md +3 -0
- package/node_modules/tuf-js/dist/config.d.ts +15 -0
- package/node_modules/tuf-js/dist/config.js +16 -0
- package/node_modules/tuf-js/dist/error.d.ts +22 -0
- package/node_modules/tuf-js/dist/error.js +49 -0
- package/node_modules/tuf-js/dist/fetcher.d.ts +25 -0
- package/node_modules/tuf-js/dist/fetcher.js +131 -0
- package/node_modules/tuf-js/dist/index.d.ts +6 -0
- package/node_modules/tuf-js/dist/index.js +9 -0
- package/node_modules/tuf-js/dist/store.d.ts +18 -0
- package/node_modules/tuf-js/dist/store.js +219 -0
- package/node_modules/tuf-js/dist/updater.d.ts +35 -0
- package/node_modules/tuf-js/dist/updater.js +379 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.d.ts +3 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
- package/node_modules/tuf-js/dist/utils/url.d.ts +1 -0
- package/node_modules/tuf-js/dist/utils/url.js +13 -0
- package/node_modules/tuf-js/package.json +43 -0
- package/node_modules/yallist/LICENSE +15 -0
- package/node_modules/yallist/README.md +204 -0
- package/node_modules/yallist/iterator.js +8 -0
- package/node_modules/yallist/package.json +29 -0
- package/node_modules/yallist/yallist.js +426 -0
- package/npm-shrinkwrap.json +771 -0
- package/package.json +56 -2
- package/place_the_release/place_the_release.mjs +132 -0
- package/read_the_release_registry/read_the_release_registry.mjs +255 -0
- package/refuse_in_words/refuse_in_words.mjs +31 -0
- package/signers.txt +11 -0
- package/unpack_the_release_layer/unpack_the_release_layer.mjs +286 -0
- package/verify_the_release_signature/verify_the_release_signature.mjs +174 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
// give it a pattern, and it'll be able to tell you if
|
|
2
|
+
// a given path should be ignored.
|
|
3
|
+
// Ignoring a path ignores its children if the pattern ends in /**
|
|
4
|
+
// Ignores are always parsed in dot:true mode
|
|
5
|
+
|
|
6
|
+
import type { MinimatchOptions } from 'minimatch'
|
|
7
|
+
import { escape, Minimatch } from 'minimatch'
|
|
8
|
+
import type { Path } from 'path-scurry'
|
|
9
|
+
import { Pattern } from './pattern.js'
|
|
10
|
+
import type { GlobWalkerOpts } from './walker.js'
|
|
11
|
+
|
|
12
|
+
export interface IgnoreLike {
|
|
13
|
+
ignored?: (p: Path) => boolean
|
|
14
|
+
childrenIgnored?: (p: Path) => boolean
|
|
15
|
+
add?: (ignore: string) => void
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const defaultPlatform: NodeJS.Platform =
|
|
19
|
+
(
|
|
20
|
+
typeof process === 'object' &&
|
|
21
|
+
process &&
|
|
22
|
+
typeof process.platform === 'string'
|
|
23
|
+
) ?
|
|
24
|
+
process.platform
|
|
25
|
+
: 'linux'
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Class used to process ignored patterns
|
|
29
|
+
*/
|
|
30
|
+
export class Ignore implements IgnoreLike {
|
|
31
|
+
relative: Minimatch[]
|
|
32
|
+
relativeChildren: Minimatch[]
|
|
33
|
+
absolute: Minimatch[]
|
|
34
|
+
absoluteChildren: Minimatch[]
|
|
35
|
+
platform: NodeJS.Platform
|
|
36
|
+
mmopts: MinimatchOptions
|
|
37
|
+
/**
|
|
38
|
+
* The escaped glob for the directory that a pattern starting with
|
|
39
|
+
* `/` is rooted at, with no trailing `/`.
|
|
40
|
+
*/
|
|
41
|
+
slashRoot: string
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Patterns that start with `/` (but not drive letters or UNC paths
|
|
45
|
+
* on Windows) start at the `root` option if it is set, or else at
|
|
46
|
+
* the root of `cwd`, the same as non-ignored patterns. If `cwd` is
|
|
47
|
+
* not provided, they start at `/`.
|
|
48
|
+
*/
|
|
49
|
+
constructor(
|
|
50
|
+
ignored: string[],
|
|
51
|
+
{
|
|
52
|
+
nobrace,
|
|
53
|
+
nocase,
|
|
54
|
+
noext,
|
|
55
|
+
noglobstar,
|
|
56
|
+
normalize,
|
|
57
|
+
platform = defaultPlatform,
|
|
58
|
+
root,
|
|
59
|
+
windowsPathsNoEscape,
|
|
60
|
+
allowWindowsEscape,
|
|
61
|
+
}: GlobWalkerOpts,
|
|
62
|
+
cwd?: Path,
|
|
63
|
+
) {
|
|
64
|
+
this.relative = []
|
|
65
|
+
this.absolute = []
|
|
66
|
+
this.relativeChildren = []
|
|
67
|
+
this.absoluteChildren = []
|
|
68
|
+
this.platform = platform
|
|
69
|
+
windowsPathsNoEscape =
|
|
70
|
+
!!windowsPathsNoEscape || allowWindowsEscape === false
|
|
71
|
+
this.mmopts = {
|
|
72
|
+
dot: true,
|
|
73
|
+
nobrace,
|
|
74
|
+
nocase,
|
|
75
|
+
noext,
|
|
76
|
+
noglobstar,
|
|
77
|
+
normalize,
|
|
78
|
+
optimizationLevel: 2,
|
|
79
|
+
platform,
|
|
80
|
+
nocomment: true,
|
|
81
|
+
nonegate: true,
|
|
82
|
+
windowsPathsNoEscape,
|
|
83
|
+
}
|
|
84
|
+
const slashRoot = cwd?.resolve(root ?? '/').fullpath() ?? '/'
|
|
85
|
+
this.slashRoot = escape(
|
|
86
|
+
slashRoot.replace(/\\/g, '/').replace(/\/$/, ''),
|
|
87
|
+
{ windowsPathsNoEscape },
|
|
88
|
+
)
|
|
89
|
+
for (const ign of ignored) this.add(ign)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
add(ign: string) {
|
|
93
|
+
// this is a little weird, but it gives us a clean set of optimized
|
|
94
|
+
// minimatch matchers, without getting tripped up if one of them
|
|
95
|
+
// ends in /** inside a brace section, and it's only inefficient at
|
|
96
|
+
// the start of the walk, not along it.
|
|
97
|
+
// It'd be nice if the Pattern class just had a .test() method, but
|
|
98
|
+
// handling globstars is a bit of a pita, and that code already lives
|
|
99
|
+
// in minimatch anyway.
|
|
100
|
+
// Another way would be if maybe Minimatch could take its set/globParts
|
|
101
|
+
// as an option, and then we could at least just use Pattern to test
|
|
102
|
+
// for absolute-ness.
|
|
103
|
+
// Yet another way, Minimatch could take an array of glob strings, and
|
|
104
|
+
// a cwd option, and do the right thing.
|
|
105
|
+
const mm = new Minimatch(ign, this.mmopts)
|
|
106
|
+
for (let i = 0; i < mm.set.length; i++) {
|
|
107
|
+
const parsed = mm.set[i]
|
|
108
|
+
const globParts = mm.globParts[i]
|
|
109
|
+
/* c8 ignore start */
|
|
110
|
+
if (!parsed || !globParts) {
|
|
111
|
+
throw new Error('invalid pattern object')
|
|
112
|
+
}
|
|
113
|
+
// strip off leading ./ portions
|
|
114
|
+
// https://github.com/isaacs/node-glob/issues/570
|
|
115
|
+
while (parsed[0] === '.' && globParts[0] === '.') {
|
|
116
|
+
parsed.shift()
|
|
117
|
+
globParts.shift()
|
|
118
|
+
}
|
|
119
|
+
/* c8 ignore stop */
|
|
120
|
+
const p = new Pattern(parsed, globParts, 0, this.platform)
|
|
121
|
+
const glob =
|
|
122
|
+
p.root() === '/' ?
|
|
123
|
+
`${this.slashRoot}/${p.rest()?.globString() ?? ''}`
|
|
124
|
+
: p.globString()
|
|
125
|
+
const m = new Minimatch(glob, this.mmopts)
|
|
126
|
+
const children = globParts[globParts.length - 1] === '**'
|
|
127
|
+
const absolute = p.isAbsolute()
|
|
128
|
+
if (absolute) this.absolute.push(m)
|
|
129
|
+
else this.relative.push(m)
|
|
130
|
+
if (children) {
|
|
131
|
+
if (absolute) this.absoluteChildren.push(m)
|
|
132
|
+
else this.relativeChildren.push(m)
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
ignored(p: Path): boolean {
|
|
138
|
+
const fullpath = p.fullpath()
|
|
139
|
+
const fullpaths = `${fullpath}/`
|
|
140
|
+
const relative = p.relative() || '.'
|
|
141
|
+
const relatives = `${relative}/`
|
|
142
|
+
for (const m of this.relative) {
|
|
143
|
+
if (m.match(relative) || m.match(relatives)) return true
|
|
144
|
+
}
|
|
145
|
+
for (const m of this.absolute) {
|
|
146
|
+
if (m.match(fullpath) || m.match(fullpaths)) return true
|
|
147
|
+
}
|
|
148
|
+
return false
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
childrenIgnored(p: Path): boolean {
|
|
152
|
+
const fullpath = `${p.fullpath()}/`
|
|
153
|
+
const relative = `${p.relative() || '.'}/`
|
|
154
|
+
for (const m of this.relativeChildren) {
|
|
155
|
+
if (m.match(relative)) return true
|
|
156
|
+
}
|
|
157
|
+
for (const m of this.absoluteChildren) {
|
|
158
|
+
if (m.match(fullpath)) return true
|
|
159
|
+
}
|
|
160
|
+
return false
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { escape, unescape } from 'minimatch'
|
|
2
|
+
import type { Minipass } from 'minipass'
|
|
3
|
+
import type { Path } from 'path-scurry'
|
|
4
|
+
import type {
|
|
5
|
+
GlobOptions,
|
|
6
|
+
GlobOptionsWithFileTypesFalse,
|
|
7
|
+
GlobOptionsWithFileTypesTrue,
|
|
8
|
+
GlobOptionsWithFileTypesUnset,
|
|
9
|
+
} from './glob.js'
|
|
10
|
+
import { Glob } from './glob.js'
|
|
11
|
+
import { hasMagic } from './has-magic.js'
|
|
12
|
+
|
|
13
|
+
export { escape, unescape } from 'minimatch'
|
|
14
|
+
export type { Form } from 'minimatch'
|
|
15
|
+
export type {
|
|
16
|
+
FSOption,
|
|
17
|
+
Path,
|
|
18
|
+
WalkOptions,
|
|
19
|
+
WalkOptionsWithFileTypesTrue,
|
|
20
|
+
WalkOptionsWithFileTypesUnset,
|
|
21
|
+
} from 'path-scurry'
|
|
22
|
+
export { Glob } from './glob.js'
|
|
23
|
+
export type {
|
|
24
|
+
GlobOptions,
|
|
25
|
+
GlobOptionsWithFileTypesFalse,
|
|
26
|
+
GlobOptionsWithFileTypesTrue,
|
|
27
|
+
GlobOptionsWithFileTypesUnset,
|
|
28
|
+
} from './glob.js'
|
|
29
|
+
export { hasMagic } from './has-magic.js'
|
|
30
|
+
export { Ignore } from './ignore.js'
|
|
31
|
+
export type { IgnoreLike } from './ignore.js'
|
|
32
|
+
export type { MatchStream } from './walker.js'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Syncronous form of {@link globStream}. Will read all the matches as fast as
|
|
36
|
+
* you consume them, even all in a single tick if you consume them immediately,
|
|
37
|
+
* but will still respond to backpressure if they're not consumed immediately.
|
|
38
|
+
*/
|
|
39
|
+
export function globStreamSync(
|
|
40
|
+
pattern: string | string[],
|
|
41
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
42
|
+
): Minipass<Path, Path>
|
|
43
|
+
export function globStreamSync(
|
|
44
|
+
pattern: string | string[],
|
|
45
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
46
|
+
): Minipass<string, string>
|
|
47
|
+
export function globStreamSync(
|
|
48
|
+
pattern: string | string[],
|
|
49
|
+
options: GlobOptionsWithFileTypesUnset,
|
|
50
|
+
): Minipass<string, string>
|
|
51
|
+
export function globStreamSync(
|
|
52
|
+
pattern: string | string[],
|
|
53
|
+
options: GlobOptions,
|
|
54
|
+
): Minipass<Path, Path> | Minipass<string, string>
|
|
55
|
+
export function globStreamSync(
|
|
56
|
+
pattern: string | string[],
|
|
57
|
+
options: GlobOptions = {},
|
|
58
|
+
) {
|
|
59
|
+
return new Glob(pattern, options).streamSync()
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Return a stream that emits all the strings or `Path` objects and
|
|
64
|
+
* then emits `end` when completed.
|
|
65
|
+
*/
|
|
66
|
+
export function globStream(
|
|
67
|
+
pattern: string | string[],
|
|
68
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
69
|
+
): Minipass<string, string>
|
|
70
|
+
export function globStream(
|
|
71
|
+
pattern: string | string[],
|
|
72
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
73
|
+
): Minipass<Path, Path>
|
|
74
|
+
export function globStream(
|
|
75
|
+
pattern: string | string[],
|
|
76
|
+
options?: GlobOptionsWithFileTypesUnset | undefined,
|
|
77
|
+
): Minipass<string, string>
|
|
78
|
+
export function globStream(
|
|
79
|
+
pattern: string | string[],
|
|
80
|
+
options: GlobOptions,
|
|
81
|
+
): Minipass<Path, Path> | Minipass<string, string>
|
|
82
|
+
export function globStream(
|
|
83
|
+
pattern: string | string[],
|
|
84
|
+
options: GlobOptions = {},
|
|
85
|
+
) {
|
|
86
|
+
return new Glob(pattern, options).stream()
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Synchronous form of {@link glob}
|
|
91
|
+
*/
|
|
92
|
+
export function globSync(
|
|
93
|
+
pattern: string | string[],
|
|
94
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
95
|
+
): string[]
|
|
96
|
+
export function globSync(
|
|
97
|
+
pattern: string | string[],
|
|
98
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
99
|
+
): Path[]
|
|
100
|
+
export function globSync(
|
|
101
|
+
pattern: string | string[],
|
|
102
|
+
options?: GlobOptionsWithFileTypesUnset | undefined,
|
|
103
|
+
): string[]
|
|
104
|
+
export function globSync(
|
|
105
|
+
pattern: string | string[],
|
|
106
|
+
options: GlobOptions,
|
|
107
|
+
): Path[] | string[]
|
|
108
|
+
export function globSync(
|
|
109
|
+
pattern: string | string[],
|
|
110
|
+
options: GlobOptions = {},
|
|
111
|
+
) {
|
|
112
|
+
return new Glob(pattern, options).walkSync()
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Perform an asynchronous glob search for the pattern(s) specified. Returns
|
|
117
|
+
* [Path](https://isaacs.github.io/path-scurry/classes/PathBase) objects if the
|
|
118
|
+
* {@link withFileTypes} option is set to `true`. See {@link GlobOptions} for
|
|
119
|
+
* full option descriptions.
|
|
120
|
+
*/
|
|
121
|
+
async function glob_(
|
|
122
|
+
pattern: string | string[],
|
|
123
|
+
options?: GlobOptionsWithFileTypesUnset | undefined,
|
|
124
|
+
): Promise<string[]>
|
|
125
|
+
async function glob_(
|
|
126
|
+
pattern: string | string[],
|
|
127
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
128
|
+
): Promise<Path[]>
|
|
129
|
+
async function glob_(
|
|
130
|
+
pattern: string | string[],
|
|
131
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
132
|
+
): Promise<string[]>
|
|
133
|
+
async function glob_(
|
|
134
|
+
pattern: string | string[],
|
|
135
|
+
options: GlobOptions,
|
|
136
|
+
): Promise<Path[] | string[]>
|
|
137
|
+
async function glob_(
|
|
138
|
+
pattern: string | string[],
|
|
139
|
+
options: GlobOptions = {},
|
|
140
|
+
) {
|
|
141
|
+
return new Glob(pattern, options).walk()
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Return a sync iterator for walking glob pattern matches.
|
|
146
|
+
*/
|
|
147
|
+
export function globIterateSync(
|
|
148
|
+
pattern: string | string[],
|
|
149
|
+
options?: GlobOptionsWithFileTypesUnset | undefined,
|
|
150
|
+
): Generator<string, void, void>
|
|
151
|
+
export function globIterateSync(
|
|
152
|
+
pattern: string | string[],
|
|
153
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
154
|
+
): Generator<Path, void, void>
|
|
155
|
+
export function globIterateSync(
|
|
156
|
+
pattern: string | string[],
|
|
157
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
158
|
+
): Generator<string, void, void>
|
|
159
|
+
export function globIterateSync(
|
|
160
|
+
pattern: string | string[],
|
|
161
|
+
options: GlobOptions,
|
|
162
|
+
): Generator<Path, void, void> | Generator<string, void, void>
|
|
163
|
+
export function globIterateSync(
|
|
164
|
+
pattern: string | string[],
|
|
165
|
+
options: GlobOptions = {},
|
|
166
|
+
) {
|
|
167
|
+
return new Glob(pattern, options).iterateSync()
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Return an async iterator for walking glob pattern matches.
|
|
172
|
+
*/
|
|
173
|
+
export function globIterate(
|
|
174
|
+
pattern: string | string[],
|
|
175
|
+
options?: GlobOptionsWithFileTypesUnset | undefined,
|
|
176
|
+
): AsyncGenerator<string, void, void>
|
|
177
|
+
export function globIterate(
|
|
178
|
+
pattern: string | string[],
|
|
179
|
+
options: GlobOptionsWithFileTypesTrue,
|
|
180
|
+
): AsyncGenerator<Path, void, void>
|
|
181
|
+
export function globIterate(
|
|
182
|
+
pattern: string | string[],
|
|
183
|
+
options: GlobOptionsWithFileTypesFalse,
|
|
184
|
+
): AsyncGenerator<string, void, void>
|
|
185
|
+
export function globIterate(
|
|
186
|
+
pattern: string | string[],
|
|
187
|
+
options: GlobOptions,
|
|
188
|
+
): AsyncGenerator<Path, void, void> | AsyncGenerator<string, void, void>
|
|
189
|
+
export function globIterate(
|
|
190
|
+
pattern: string | string[],
|
|
191
|
+
options: GlobOptions = {},
|
|
192
|
+
) {
|
|
193
|
+
return new Glob(pattern, options).iterate()
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// aliases: glob.sync.stream() glob.stream.sync() glob.sync() etc
|
|
197
|
+
export const streamSync = globStreamSync
|
|
198
|
+
export const stream = Object.assign(globStream, { sync: globStreamSync })
|
|
199
|
+
export const iterateSync = globIterateSync
|
|
200
|
+
export const iterate = Object.assign(globIterate, {
|
|
201
|
+
sync: globIterateSync,
|
|
202
|
+
})
|
|
203
|
+
export const sync = Object.assign(globSync, {
|
|
204
|
+
stream: globStreamSync,
|
|
205
|
+
iterate: globIterateSync,
|
|
206
|
+
})
|
|
207
|
+
|
|
208
|
+
export const glob = Object.assign(glob_, {
|
|
209
|
+
glob: glob_,
|
|
210
|
+
globSync,
|
|
211
|
+
sync,
|
|
212
|
+
globStream,
|
|
213
|
+
stream,
|
|
214
|
+
globStreamSync,
|
|
215
|
+
streamSync,
|
|
216
|
+
globIterate,
|
|
217
|
+
iterate,
|
|
218
|
+
globIterateSync,
|
|
219
|
+
iterateSync,
|
|
220
|
+
Glob,
|
|
221
|
+
hasMagic,
|
|
222
|
+
escape,
|
|
223
|
+
unescape,
|
|
224
|
+
})
|
|
225
|
+
glob.glob = glob
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
// this is just a very light wrapper around 2 arrays with an offset index
|
|
2
|
+
|
|
3
|
+
import type { ParseReturnFiltered } from 'minimatch'
|
|
4
|
+
import { GLOBSTAR } from 'minimatch'
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* One portion of a parsed minimatch pattern: a string, a Matcher for
|
|
8
|
+
* a portion with magic, or GLOBSTAR for `**`.
|
|
9
|
+
*/
|
|
10
|
+
export type MMPattern = ParseReturnFiltered
|
|
11
|
+
|
|
12
|
+
/** The Matcher that minimatch makes for a portion with magic. */
|
|
13
|
+
export type MMMatcher = Exclude<MMPattern, string | typeof GLOBSTAR>
|
|
14
|
+
|
|
15
|
+
// an array of length >= 1
|
|
16
|
+
export type PatternList = [p: MMPattern, ...rest: MMPattern[]]
|
|
17
|
+
export type UNCPatternList = [
|
|
18
|
+
p0: '',
|
|
19
|
+
p1: '',
|
|
20
|
+
p2: string,
|
|
21
|
+
p3: string,
|
|
22
|
+
...rest: MMPattern[],
|
|
23
|
+
]
|
|
24
|
+
export type DrivePatternList = [p0: string, ...rest: MMPattern[]]
|
|
25
|
+
export type AbsolutePatternList = [p0: '', ...rest: MMPattern[]]
|
|
26
|
+
export type GlobList = [p: string, ...rest: string[]]
|
|
27
|
+
|
|
28
|
+
const isPatternList = (pl: MMPattern[]): pl is PatternList =>
|
|
29
|
+
pl.length >= 1
|
|
30
|
+
const isGlobList = (gl: string[]): gl is GlobList => gl.length >= 1
|
|
31
|
+
|
|
32
|
+
const customInspect = Symbol.for('nodejs.util.inspect.custom')
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* An immutable-ish view on an array of glob parts and their parsed
|
|
36
|
+
* results
|
|
37
|
+
*/
|
|
38
|
+
export class Pattern {
|
|
39
|
+
readonly #patternList: PatternList
|
|
40
|
+
readonly #globList: GlobList
|
|
41
|
+
readonly #index: number
|
|
42
|
+
readonly length: number
|
|
43
|
+
readonly #platform: NodeJS.Platform
|
|
44
|
+
#rest?: Pattern | null
|
|
45
|
+
#globString?: string
|
|
46
|
+
#isDrive?: boolean
|
|
47
|
+
#isUNC?: boolean
|
|
48
|
+
#isAbsolute?: boolean
|
|
49
|
+
#followGlobstar: boolean = true
|
|
50
|
+
|
|
51
|
+
constructor(
|
|
52
|
+
patternList: MMPattern[],
|
|
53
|
+
globList: string[],
|
|
54
|
+
index: number,
|
|
55
|
+
platform: NodeJS.Platform,
|
|
56
|
+
) {
|
|
57
|
+
if (!isPatternList(patternList)) {
|
|
58
|
+
throw new TypeError('empty pattern list')
|
|
59
|
+
}
|
|
60
|
+
if (!isGlobList(globList)) {
|
|
61
|
+
throw new TypeError('empty glob list')
|
|
62
|
+
}
|
|
63
|
+
if (globList.length !== patternList.length) {
|
|
64
|
+
throw new TypeError('mismatched pattern list and glob list lengths')
|
|
65
|
+
}
|
|
66
|
+
this.length = patternList.length
|
|
67
|
+
if (index < 0 || index >= this.length) {
|
|
68
|
+
throw new TypeError('index out of range')
|
|
69
|
+
}
|
|
70
|
+
this.#patternList = patternList
|
|
71
|
+
this.#globList = globList
|
|
72
|
+
this.#index = index
|
|
73
|
+
this.#platform = platform
|
|
74
|
+
|
|
75
|
+
// normalize root entries of absolute patterns on initial creation.
|
|
76
|
+
if (this.#index === 0) {
|
|
77
|
+
// c: => ['c:/']
|
|
78
|
+
// C:/ => ['C:/']
|
|
79
|
+
// C:/x => ['C:/', 'x']
|
|
80
|
+
// //host/share => ['//host/share/']
|
|
81
|
+
// //host/share/ => ['//host/share/']
|
|
82
|
+
// //host/share/x => ['//host/share/', 'x']
|
|
83
|
+
// //?/UNC/host/share/x => ['//?/UNC/host/share/', 'x']
|
|
84
|
+
// /etc => ['/', 'etc']
|
|
85
|
+
// / => ['/']
|
|
86
|
+
if (this.isUNC()) {
|
|
87
|
+
// '' / '' / 'host' / 'share', or
|
|
88
|
+
// '' / '' / '?' / 'UNC' / 'host' / 'share'
|
|
89
|
+
const n = this.#isLongUNC() ? 6 : 4
|
|
90
|
+
const proot = this.#patternList.slice(0, n)
|
|
91
|
+
const groot = this.#globList.slice(0, n)
|
|
92
|
+
const prest = this.#patternList.slice(n)
|
|
93
|
+
const grest = this.#globList.slice(n)
|
|
94
|
+
if (prest[0] === '') {
|
|
95
|
+
// ends in /
|
|
96
|
+
prest.shift()
|
|
97
|
+
grest.shift()
|
|
98
|
+
}
|
|
99
|
+
const p = [...proot, ''].join('/')
|
|
100
|
+
const g = [...groot, ''].join('/')
|
|
101
|
+
this.#patternList = [p, ...prest]
|
|
102
|
+
this.#globList = [g, ...grest]
|
|
103
|
+
this.length = this.#patternList.length
|
|
104
|
+
} else if (this.isDrive() || this.isAbsolute()) {
|
|
105
|
+
const [p1, ...prest] = this.#patternList
|
|
106
|
+
const [g1, ...grest] = this.#globList
|
|
107
|
+
if (prest[0] === '') {
|
|
108
|
+
// ends in /
|
|
109
|
+
prest.shift()
|
|
110
|
+
grest.shift()
|
|
111
|
+
}
|
|
112
|
+
const p = `${p1 as string}/`
|
|
113
|
+
const g = `${g1}/`
|
|
114
|
+
this.#patternList = [p, ...prest]
|
|
115
|
+
this.#globList = [g, ...grest]
|
|
116
|
+
this.length = this.#patternList.length
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[customInspect]() {
|
|
122
|
+
return `Pattern <${this.#globList.slice(this.#index).join('/')}>`
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The first entry in the parsed list of patterns
|
|
127
|
+
*/
|
|
128
|
+
pattern(): MMPattern {
|
|
129
|
+
return this.#patternList[this.#index] as MMPattern
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* true of if pattern() returns a string
|
|
134
|
+
*/
|
|
135
|
+
isString(): boolean {
|
|
136
|
+
return typeof this.#patternList[this.#index] === 'string'
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* true of if pattern() returns GLOBSTAR
|
|
140
|
+
*/
|
|
141
|
+
isGlobstar(): boolean {
|
|
142
|
+
return this.#patternList[this.#index] === GLOBSTAR
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* true if pattern() returns a Matcher, for a portion with magic
|
|
146
|
+
*/
|
|
147
|
+
isMatcher(): boolean {
|
|
148
|
+
return typeof this.#patternList[this.#index] === 'object'
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The /-joined set of glob parts that make up this pattern
|
|
153
|
+
*/
|
|
154
|
+
globString(): string {
|
|
155
|
+
return (this.#globString =
|
|
156
|
+
this.#globString ||
|
|
157
|
+
(this.#index === 0 ?
|
|
158
|
+
this.isAbsolute() ?
|
|
159
|
+
this.#globList[0] + this.#globList.slice(1).join('/')
|
|
160
|
+
: this.#globList.join('/')
|
|
161
|
+
: this.#globList.slice(this.#index).join('/')))
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* true if there are more pattern parts after this one
|
|
166
|
+
*/
|
|
167
|
+
hasMore(): boolean {
|
|
168
|
+
return this.length > this.#index + 1
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* The rest of the pattern after this part, or null if this is the end
|
|
173
|
+
*/
|
|
174
|
+
rest(): Pattern | null {
|
|
175
|
+
if (this.#rest !== undefined) return this.#rest
|
|
176
|
+
if (!this.hasMore()) return (this.#rest = null)
|
|
177
|
+
this.#rest = new Pattern(
|
|
178
|
+
this.#patternList,
|
|
179
|
+
this.#globList,
|
|
180
|
+
this.#index + 1,
|
|
181
|
+
this.#platform,
|
|
182
|
+
)
|
|
183
|
+
this.#rest.#isAbsolute = this.#isAbsolute
|
|
184
|
+
this.#rest.#isUNC = this.#isUNC
|
|
185
|
+
this.#rest.#isDrive = this.#isDrive
|
|
186
|
+
return this.#rest
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// the root is //?/UNC/host/share, the same as //host/share
|
|
190
|
+
#isLongUNC(): boolean {
|
|
191
|
+
const pl = this.#patternList
|
|
192
|
+
return (
|
|
193
|
+
pl[2] === '?' && typeof pl[3] === 'string' && /^unc$/i.test(pl[3])
|
|
194
|
+
)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* true if the pattern represents a //unc/path/ on windows
|
|
199
|
+
*/
|
|
200
|
+
isUNC(): boolean {
|
|
201
|
+
const pl = this.#patternList
|
|
202
|
+
// the host and share, after //?/UNC/ in a long UNC path
|
|
203
|
+
const h = this.#isLongUNC() ? 4 : 2
|
|
204
|
+
return this.#isUNC !== undefined ?
|
|
205
|
+
this.#isUNC
|
|
206
|
+
: (this.#isUNC =
|
|
207
|
+
this.#platform === 'win32' &&
|
|
208
|
+
this.#index === 0 &&
|
|
209
|
+
pl[0] === '' &&
|
|
210
|
+
pl[1] === '' &&
|
|
211
|
+
typeof pl[h] === 'string' &&
|
|
212
|
+
!!pl[h] &&
|
|
213
|
+
typeof pl[h + 1] === 'string' &&
|
|
214
|
+
!!pl[h + 1])
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// pattern like C:/...
|
|
218
|
+
// split = ['C:', ...]
|
|
219
|
+
// XXX: would be nice to handle patterns like `c:*` to test the cwd
|
|
220
|
+
// in c: for *, but I don't know of a way to even figure out what that
|
|
221
|
+
// cwd is without actually chdir'ing into it?
|
|
222
|
+
/**
|
|
223
|
+
* True if the pattern starts with a drive letter on Windows
|
|
224
|
+
*/
|
|
225
|
+
isDrive(): boolean {
|
|
226
|
+
const pl = this.#patternList
|
|
227
|
+
return this.#isDrive !== undefined ?
|
|
228
|
+
this.#isDrive
|
|
229
|
+
: (this.#isDrive =
|
|
230
|
+
this.#platform === 'win32' &&
|
|
231
|
+
this.#index === 0 &&
|
|
232
|
+
this.length > 1 &&
|
|
233
|
+
typeof pl[0] === 'string' &&
|
|
234
|
+
/^[a-z]:$/i.test(pl[0]))
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// pattern = '/' or '/...' or '/x/...'
|
|
238
|
+
// split = ['', ''] or ['', ...] or ['', 'x', ...]
|
|
239
|
+
// Drive and UNC both considered absolute on windows
|
|
240
|
+
/**
|
|
241
|
+
* True if the pattern is rooted on an absolute path
|
|
242
|
+
*/
|
|
243
|
+
isAbsolute(): boolean {
|
|
244
|
+
const pl = this.#patternList
|
|
245
|
+
return this.#isAbsolute !== undefined ?
|
|
246
|
+
this.#isAbsolute
|
|
247
|
+
: (this.#isAbsolute =
|
|
248
|
+
(pl[0] === '' && pl.length > 1) ||
|
|
249
|
+
this.isDrive() ||
|
|
250
|
+
this.isUNC())
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* consume the root of the pattern, and return it
|
|
255
|
+
*/
|
|
256
|
+
root(): string {
|
|
257
|
+
const p = this.#patternList[0]
|
|
258
|
+
return (
|
|
259
|
+
typeof p === 'string' && this.isAbsolute() && this.#index === 0
|
|
260
|
+
) ?
|
|
261
|
+
p
|
|
262
|
+
: ''
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Check to see if the current globstar pattern is allowed to follow
|
|
267
|
+
* a symbolic link.
|
|
268
|
+
*/
|
|
269
|
+
checkFollowGlobstar(): boolean {
|
|
270
|
+
return !(
|
|
271
|
+
this.#index === 0 ||
|
|
272
|
+
!this.isGlobstar() ||
|
|
273
|
+
!this.#followGlobstar
|
|
274
|
+
)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Mark that the current globstar pattern is following a symbolic link
|
|
279
|
+
*/
|
|
280
|
+
markFollowGlobstar(): boolean {
|
|
281
|
+
if (this.#index === 0 || !this.isGlobstar() || !this.#followGlobstar)
|
|
282
|
+
return false
|
|
283
|
+
this.#followGlobstar = false
|
|
284
|
+
return true
|
|
285
|
+
}
|
|
286
|
+
}
|