playwright-smart-test 0.0.0-stage → 1.0.2
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 +21 -0
- package/README.md +289 -2
- package/dist/ai/ai-analyzer.d.ts +17 -0
- package/dist/ai/ai-analyzer.js +224 -0
- package/dist/catalog/test-catalog.d.ts +8 -0
- package/dist/catalog/test-catalog.js +111 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +147 -0
- package/dist/config/index.d.ts +3 -0
- package/dist/config/index.js +39 -0
- package/dist/config/schema.d.ts +97 -0
- package/dist/config/schema.js +72 -0
- package/dist/diff/git-diff-analyzer.d.ts +24 -0
- package/dist/diff/git-diff-analyzer.js +105 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/reporters/github-reporter.d.ts +5 -0
- package/dist/reporters/github-reporter.js +72 -0
- package/dist/reporters/terminal-reporter.d.ts +5 -0
- package/dist/reporters/terminal-reporter.js +69 -0
- package/dist/runner/playwright-runner.d.ts +7 -0
- package/dist/runner/playwright-runner.js +25 -0
- package/dist/selector/test-selector.d.ts +18 -0
- package/dist/selector/test-selector.js +303 -0
- package/node_modules/@colors/colors/LICENSE +26 -0
- package/node_modules/@colors/colors/README.md +219 -0
- package/node_modules/@colors/colors/examples/normal-usage.js +83 -0
- package/node_modules/@colors/colors/examples/safe-string.js +80 -0
- package/node_modules/@colors/colors/index.d.ts +136 -0
- package/node_modules/@colors/colors/lib/colors.js +211 -0
- package/node_modules/@colors/colors/lib/custom/trap.js +46 -0
- package/node_modules/@colors/colors/lib/custom/zalgo.js +110 -0
- package/node_modules/@colors/colors/lib/extendStringPrototype.js +110 -0
- package/node_modules/@colors/colors/lib/index.js +13 -0
- package/node_modules/@colors/colors/lib/maps/america.js +10 -0
- package/node_modules/@colors/colors/lib/maps/rainbow.js +12 -0
- package/node_modules/@colors/colors/lib/maps/random.js +11 -0
- package/node_modules/@colors/colors/lib/maps/zebra.js +5 -0
- package/node_modules/@colors/colors/lib/styles.js +95 -0
- package/node_modules/@colors/colors/lib/system/has-flag.js +35 -0
- package/node_modules/@colors/colors/lib/system/supports-colors.js +151 -0
- package/node_modules/@colors/colors/package.json +45 -0
- package/node_modules/@colors/colors/safe.d.ts +48 -0
- package/node_modules/@colors/colors/safe.js +10 -0
- package/node_modules/@colors/colors/themes/generic-logging.js +12 -0
- package/node_modules/@google/genai/LICENSE +202 -0
- package/node_modules/@google/genai/README.md +244 -0
- package/node_modules/@google/genai/dist/genai.d.ts +3329 -0
- package/node_modules/@google/genai/dist/index.js +6999 -0
- package/node_modules/@google/genai/dist/index.js.map +1 -0
- package/node_modules/@google/genai/dist/index.mjs +6961 -0
- package/node_modules/@google/genai/dist/index.mjs.map +1 -0
- package/node_modules/@google/genai/dist/node/index.js +7308 -0
- package/node_modules/@google/genai/dist/node/index.js.map +1 -0
- package/node_modules/@google/genai/dist/node/node.d.ts +3334 -0
- package/node_modules/@google/genai/dist/web/index.mjs +7007 -0
- package/node_modules/@google/genai/dist/web/index.mjs.map +1 -0
- package/node_modules/@google/genai/dist/web/web.d.ts +3329 -0
- package/node_modules/@google/genai/node/package.json +4 -0
- package/node_modules/@google/genai/package.json +104 -0
- package/node_modules/@google/genai/web/package.json +4 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/LICENSE.md +55 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/README.md +333 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/dist/commonjs/index.d.ts +114 -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 +762 -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/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 +114 -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 +758 -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/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 +900 -0
- package/node_modules/@isaacs/nonrecursive-glob-match/src/parse-class.ts +158 -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 +15 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +41 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +178 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -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/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bignumber.js/CHANGELOG.md +381 -0
- package/node_modules/bignumber.js/LICENCE.md +26 -0
- package/node_modules/bignumber.js/README.md +289 -0
- package/node_modules/bignumber.js/bignumber.d.mts +6 -0
- package/node_modules/bignumber.js/bignumber.d.ts +5 -0
- package/node_modules/bignumber.js/bignumber.js +2922 -0
- package/node_modules/bignumber.js/bignumber.mjs +2907 -0
- package/node_modules/bignumber.js/doc/API.html +2249 -0
- package/node_modules/bignumber.js/package.json +60 -0
- package/node_modules/bignumber.js/types.d.ts +1821 -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/buffer-equal-constant-time/.npmignore +2 -0
- package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
- package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
- package/node_modules/buffer-equal-constant-time/README.md +50 -0
- package/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/node_modules/buffer-equal-constant-time/test.js +42 -0
- package/node_modules/cli-table3/LICENSE +21 -0
- package/node_modules/cli-table3/README.md +236 -0
- package/node_modules/cli-table3/index.d.ts +96 -0
- package/node_modules/cli-table3/index.js +1 -0
- package/node_modules/cli-table3/package.json +100 -0
- package/node_modules/cli-table3/src/cell.js +409 -0
- package/node_modules/cli-table3/src/debug.js +28 -0
- package/node_modules/cli-table3/src/layout-manager.js +254 -0
- package/node_modules/cli-table3/src/table.js +106 -0
- package/node_modules/cli-table3/src/utils.js +344 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1157 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +149 -0
- package/node_modules/commander/lib/command.js +2509 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +520 -0
- package/node_modules/commander/lib/option.js +330 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +16 -0
- package/node_modules/commander/package.json +84 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +969 -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/dotenv/CHANGELOG.md +520 -0
- package/node_modules/dotenv/LICENSE +23 -0
- package/node_modules/dotenv/README-es.md +411 -0
- package/node_modules/dotenv/README.md +645 -0
- package/node_modules/dotenv/SECURITY.md +1 -0
- package/node_modules/dotenv/config.d.ts +1 -0
- package/node_modules/dotenv/config.js +9 -0
- package/node_modules/dotenv/lib/cli-options.js +17 -0
- package/node_modules/dotenv/lib/env-options.js +28 -0
- package/node_modules/dotenv/lib/main.d.ts +162 -0
- package/node_modules/dotenv/lib/main.js +386 -0
- package/node_modules/dotenv/package.json +62 -0
- package/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
- package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
- package/node_modules/ecdsa-sig-formatter/README.md +65 -0
- package/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/extend/.editorconfig +20 -0
- package/node_modules/extend/.eslintrc +17 -0
- package/node_modules/extend/.jscs.json +175 -0
- package/node_modules/extend/.travis.yml +230 -0
- package/node_modules/extend/CHANGELOG.md +83 -0
- package/node_modules/extend/LICENSE +23 -0
- package/node_modules/extend/README.md +81 -0
- package/node_modules/extend/component.json +32 -0
- package/node_modules/extend/index.js +117 -0
- package/node_modules/extend/package.json +42 -0
- package/node_modules/gaxios/LICENSE +202 -0
- package/node_modules/gaxios/README.md +171 -0
- package/node_modules/gaxios/build/src/common.d.ts +220 -0
- package/node_modules/gaxios/build/src/common.js +172 -0
- package/node_modules/gaxios/build/src/common.js.map +1 -0
- package/node_modules/gaxios/build/src/gaxios.d.ts +51 -0
- package/node_modules/gaxios/build/src/gaxios.js +363 -0
- package/node_modules/gaxios/build/src/gaxios.js.map +1 -0
- package/node_modules/gaxios/build/src/index.d.ts +14 -0
- package/node_modules/gaxios/build/src/index.js +33 -0
- package/node_modules/gaxios/build/src/index.js.map +1 -0
- package/node_modules/gaxios/build/src/retry.d.ts +8 -0
- package/node_modules/gaxios/build/src/retry.js +139 -0
- package/node_modules/gaxios/build/src/retry.js.map +1 -0
- package/node_modules/gaxios/build/src/util.d.ts +4 -0
- package/node_modules/gaxios/build/src/util.js +17 -0
- package/node_modules/gaxios/build/src/util.js.map +1 -0
- package/node_modules/gaxios/package.json +95 -0
- package/node_modules/gcp-metadata/LICENSE +202 -0
- package/node_modules/gcp-metadata/README.md +235 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.d.ts +57 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.js.map +1 -0
- package/node_modules/gcp-metadata/build/src/index.d.ts +156 -0
- package/node_modules/gcp-metadata/build/src/index.js +408 -0
- package/node_modules/gcp-metadata/build/src/index.js.map +1 -0
- package/node_modules/gcp-metadata/package.json +73 -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/google-auth-library/LICENSE +202 -0
- package/node_modules/google-auth-library/README.md +1470 -0
- package/node_modules/google-auth-library/build/src/auth/authclient.d.ts +202 -0
- package/node_modules/google-auth-library/build/src/auth/authclient.js +116 -0
- package/node_modules/google-auth-library/build/src/auth/awsclient.d.ts +120 -0
- package/node_modules/google-auth-library/build/src/auth/awsclient.js +164 -0
- package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.d.ts +40 -0
- package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +209 -0
- package/node_modules/google-auth-library/build/src/auth/baseexternalclient.d.ts +322 -0
- package/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +468 -0
- package/node_modules/google-auth-library/build/src/auth/computeclient.d.ts +37 -0
- package/node_modules/google-auth-library/build/src/auth/computeclient.js +117 -0
- package/node_modules/google-auth-library/build/src/auth/credentials.d.ts +75 -0
- package/node_modules/google-auth-library/build/src/auth/credentials.js +15 -0
- package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.d.ts +79 -0
- package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +196 -0
- package/node_modules/google-auth-library/build/src/auth/downscopedclient.d.ts +139 -0
- package/node_modules/google-auth-library/build/src/auth/downscopedclient.js +262 -0
- package/node_modules/google-auth-library/build/src/auth/envDetect.d.ts +10 -0
- package/node_modules/google-auth-library/build/src/auth/envDetect.js +89 -0
- package/node_modules/google-auth-library/build/src/auth/executable-response.d.ts +137 -0
- package/node_modules/google-auth-library/build/src/auth/executable-response.js +146 -0
- package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.d.ts +78 -0
- package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +239 -0
- package/node_modules/google-auth-library/build/src/auth/externalclient.d.ts +26 -0
- package/node_modules/google-auth-library/build/src/auth/externalclient.js +64 -0
- package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.d.ts +42 -0
- package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +81 -0
- package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +375 -0
- package/node_modules/google-auth-library/build/src/auth/googleauth.js +841 -0
- package/node_modules/google-auth-library/build/src/auth/iam.d.ts +23 -0
- package/node_modules/google-auth-library/build/src/auth/iam.js +41 -0
- package/node_modules/google-auth-library/build/src/auth/identitypoolclient.d.ts +102 -0
- package/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +107 -0
- package/node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts +27 -0
- package/node_modules/google-auth-library/build/src/auth/idtokenclient.js +55 -0
- package/node_modules/google-auth-library/build/src/auth/impersonated.d.ts +127 -0
- package/node_modules/google-auth-library/build/src/auth/impersonated.js +186 -0
- package/node_modules/google-auth-library/build/src/auth/jwtaccess.d.ts +62 -0
- package/node_modules/google-auth-library/build/src/auth/jwtaccess.js +192 -0
- package/node_modules/google-auth-library/build/src/auth/jwtclient.d.ts +117 -0
- package/node_modules/google-auth-library/build/src/auth/jwtclient.js +284 -0
- package/node_modules/google-auth-library/build/src/auth/loginticket.d.ts +140 -0
- package/node_modules/google-auth-library/build/src/auth/loginticket.js +57 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2client.d.ts +575 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2client.js +794 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts +92 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2common.js +192 -0
- package/node_modules/google-auth-library/build/src/auth/passthrough.d.ts +38 -0
- package/node_modules/google-auth-library/build/src/auth/passthrough.js +61 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.d.ts +155 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +215 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.d.ts +51 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +156 -0
- package/node_modules/google-auth-library/build/src/auth/refreshclient.d.ts +50 -0
- package/node_modules/google-auth-library/build/src/auth/refreshclient.js +132 -0
- package/node_modules/google-auth-library/build/src/auth/stscredentials.d.ts +114 -0
- package/node_modules/google-auth-library/build/src/auth/stscredentials.js +109 -0
- package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.d.ts +57 -0
- package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +63 -0
- package/node_modules/google-auth-library/build/src/crypto/browser/crypto.d.ts +27 -0
- package/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +126 -0
- package/node_modules/google-auth-library/build/src/crypto/crypto.d.ts +44 -0
- package/node_modules/google-auth-library/build/src/crypto/crypto.js +47 -0
- package/node_modules/google-auth-library/build/src/crypto/node/crypto.d.ts +25 -0
- package/node_modules/google-auth-library/build/src/crypto/node/crypto.js +82 -0
- package/node_modules/google-auth-library/build/src/index.d.ts +33 -0
- package/node_modules/google-auth-library/build/src/index.js +68 -0
- package/node_modules/google-auth-library/build/src/messages.d.ts +11 -0
- package/node_modules/google-auth-library/build/src/messages.js +39 -0
- package/node_modules/google-auth-library/build/src/options.d.ts +1 -0
- package/node_modules/google-auth-library/build/src/options.js +34 -0
- package/node_modules/google-auth-library/build/src/transporters.d.ts +40 -0
- package/node_modules/google-auth-library/build/src/transporters.js +110 -0
- package/node_modules/google-auth-library/build/src/util.d.ts +151 -0
- package/node_modules/google-auth-library/build/src/util.js +125 -0
- package/node_modules/google-auth-library/package.json +94 -0
- package/node_modules/google-logging-utils/LICENSE +202 -0
- package/node_modules/google-logging-utils/build/src/colours.d.ts +29 -0
- package/node_modules/google-logging-utils/build/src/colours.js +80 -0
- package/node_modules/google-logging-utils/build/src/colours.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
- package/node_modules/google-logging-utils/build/src/index.js +31 -0
- package/node_modules/google-logging-utils/build/src/index.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.d.ts +222 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.js +406 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/temporal.d.ts +45 -0
- package/node_modules/google-logging-utils/build/src/temporal.js +68 -0
- package/node_modules/google-logging-utils/build/src/temporal.js.map +1 -0
- package/node_modules/google-logging-utils/package.json +39 -0
- package/node_modules/gtoken/LICENSE +21 -0
- package/node_modules/gtoken/README.md +187 -0
- package/node_modules/gtoken/build/src/index.d.ts +93 -0
- package/node_modules/gtoken/build/src/index.js +276 -0
- package/node_modules/gtoken/package.json +62 -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 +47 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +180 -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 +15 -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 +101 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-stream/index.d.ts +79 -0
- package/node_modules/is-stream/index.js +28 -0
- package/node_modules/is-stream/license +9 -0
- package/node_modules/is-stream/package.json +42 -0
- package/node_modules/is-stream/readme.md +60 -0
- package/node_modules/json-bigint/LICENSE +20 -0
- package/node_modules/json-bigint/README.md +240 -0
- package/node_modules/json-bigint/index.js +12 -0
- package/node_modules/json-bigint/lib/parse.js +443 -0
- package/node_modules/json-bigint/lib/stringify.js +384 -0
- package/node_modules/json-bigint/package.json +34 -0
- package/node_modules/jwa/LICENSE +17 -0
- package/node_modules/jwa/README.md +150 -0
- package/node_modules/jwa/index.js +266 -0
- package/node_modules/jwa/opslevel.yml +6 -0
- package/node_modules/jwa/package.json +37 -0
- package/node_modules/jws/CHANGELOG.md +56 -0
- package/node_modules/jws/LICENSE +17 -0
- package/node_modules/jws/index.js +22 -0
- package/node_modules/jws/lib/data-stream.js +55 -0
- package/node_modules/jws/lib/sign-stream.js +83 -0
- package/node_modules/jws/lib/tostring.js +10 -0
- package/node_modules/jws/lib/verify-stream.js +125 -0
- package/node_modules/jws/opslevel.yml +6 -0
- package/node_modules/jws/package.json +34 -0
- package/node_modules/jws/readme.md +255 -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/minimatch/LICENSE.md +55 -0
- package/node_modules/minimatch/README.md +546 -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 +185 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1550 -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 +185 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1539 -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/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/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +634 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1777 -0
- package/node_modules/node-fetch/lib/index.js +1787 -0
- package/node_modules/node-fetch/lib/index.mjs +1775 -0
- package/node_modules/node-fetch/package.json +89 -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/picocolors/LICENSE +15 -0
- package/node_modules/picocolors/README.md +21 -0
- package/node_modules/picocolors/package.json +25 -0
- package/node_modules/picocolors/picocolors.browser.js +4 -0
- package/node_modules/picocolors/picocolors.d.ts +5 -0
- package/node_modules/picocolors/picocolors.js +75 -0
- package/node_modules/picocolors/types.d.ts +51 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +31 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +540 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +142 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +610 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1426 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1866 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/node_modules/zod/v4/core/schemas.js +2636 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +964 -0
- package/node_modules/zod/v4/core/util.d.cts +280 -0
- package/node_modules/zod/v4/core/util.d.ts +280 -0
- package/node_modules/zod/v4/core/util.js +873 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +66 -4
|
@@ -0,0 +1,1377 @@
|
|
|
1
|
+
# Glob
|
|
2
|
+
|
|
3
|
+
Match files using the patterns the shell uses.
|
|
4
|
+
|
|
5
|
+
The safest ([no ReDoS](#redos-protection)), most correct, and
|
|
6
|
+
second fastest glob implementation in JavaScript. (See
|
|
7
|
+
[**Comparison to Other JavaScript Glob
|
|
8
|
+
Implementations**](#comparison-to-other-javascript-glob-implementations)
|
|
9
|
+
at the bottom of this readme.)
|
|
10
|
+
|
|
11
|
+

|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
Install with npm
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
npm i glob
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
> [!NOTE]
|
|
23
|
+
> The npm package name is _not_ `node-glob` that's a
|
|
24
|
+
> different thing that was abandoned years ago. Just `glob`.
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
// load using import
|
|
28
|
+
import { glob, globSync, globStream, globStreamSync, Glob } from 'glob'
|
|
29
|
+
// or using commonjs, that's fine, too
|
|
30
|
+
const {
|
|
31
|
+
glob,
|
|
32
|
+
globSync,
|
|
33
|
+
globStream,
|
|
34
|
+
globStreamSync,
|
|
35
|
+
Glob,
|
|
36
|
+
} = require('glob')
|
|
37
|
+
|
|
38
|
+
// the main glob() and globSync() resolve/return array of filenames
|
|
39
|
+
|
|
40
|
+
// all js files, but don't look in node_modules
|
|
41
|
+
const jsfiles = await glob('**/*.js', { ignore: 'node_modules/**' })
|
|
42
|
+
|
|
43
|
+
// pass in a signal to cancel the glob walk
|
|
44
|
+
const stopAfter100ms = await glob('**/*.css', {
|
|
45
|
+
signal: AbortSignal.timeout(100),
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
// multiple patterns supported as well
|
|
49
|
+
const images = await glob(['css/*.{png,jpeg}', 'public/*.{png,jpeg}'])
|
|
50
|
+
|
|
51
|
+
// but of course you can do that with the glob pattern also
|
|
52
|
+
// the sync function is the same, just returns a string[] instead
|
|
53
|
+
// of Promise<string[]>
|
|
54
|
+
const imagesAlt = globSync('{css,public}/*.{png,jpeg}')
|
|
55
|
+
|
|
56
|
+
// you can also stream them, this is a Minipass stream
|
|
57
|
+
const filesStream = globStream(['**/*.dat', 'logs/**/*.log'])
|
|
58
|
+
|
|
59
|
+
// construct a Glob object if you wanna do it that way, which
|
|
60
|
+
// allows for much faster walks if you have to look in the same
|
|
61
|
+
// folder multiple times.
|
|
62
|
+
const g = new Glob('**/foo', {})
|
|
63
|
+
// glob objects are async iterators, can also do globIterate() or
|
|
64
|
+
// g.iterate(), same deal
|
|
65
|
+
for await (const file of g) {
|
|
66
|
+
console.log('found a foo file:', file)
|
|
67
|
+
}
|
|
68
|
+
// pass a glob as the glob options to reuse its settings and caches
|
|
69
|
+
const g2 = new Glob('**/bar', g)
|
|
70
|
+
// sync iteration works as well
|
|
71
|
+
for (const file of g2) {
|
|
72
|
+
console.log('found a bar file:', file)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// you can also pass withFileTypes: true to get Path objects
|
|
76
|
+
// these are like a fs.Dirent, but with some more added powers
|
|
77
|
+
// check out https://isaacs.github.io/path-scurry/classes/PathBase.html
|
|
78
|
+
// for more info on their API
|
|
79
|
+
const g3 = new Glob('**/baz/**', { withFileTypes: true })
|
|
80
|
+
g3.stream().on('data', path => {
|
|
81
|
+
console.log(
|
|
82
|
+
'got a path object',
|
|
83
|
+
path.fullpath(),
|
|
84
|
+
path.isDirectory(),
|
|
85
|
+
path.readdirSync().map(e => e.name),
|
|
86
|
+
)
|
|
87
|
+
})
|
|
88
|
+
|
|
89
|
+
// if you use stat:true and withFileTypes, you can sort results
|
|
90
|
+
// by things like modified time, filter by permission mode, etc.
|
|
91
|
+
// All Stats fields will be available in that case. Slightly
|
|
92
|
+
// slower, though.
|
|
93
|
+
// For example:
|
|
94
|
+
const results = await glob('**', { stat: true, withFileTypes: true })
|
|
95
|
+
|
|
96
|
+
const timeSortedFiles = results
|
|
97
|
+
.sort((a, b) => a.mtimeMs - b.mtimeMs)
|
|
98
|
+
.map(path => path.fullpath())
|
|
99
|
+
|
|
100
|
+
const groupReadableFiles = results
|
|
101
|
+
.filter(path => path.mode & 0o040)
|
|
102
|
+
.map(path => path.fullpath())
|
|
103
|
+
|
|
104
|
+
// custom ignores can be done like this, for example by saying
|
|
105
|
+
// you'll ignore all markdown files, and all folders named 'docs'
|
|
106
|
+
const customIgnoreResults = await glob('**', {
|
|
107
|
+
ignore: {
|
|
108
|
+
ignored: p => /\.md$/.test(p.name),
|
|
109
|
+
childrenIgnored: p => p.isNamed('docs'),
|
|
110
|
+
},
|
|
111
|
+
})
|
|
112
|
+
|
|
113
|
+
// another fun use case, only return files with the same name as
|
|
114
|
+
// their parent folder, plus either `.ts` or `.js`
|
|
115
|
+
const folderNamedModules = await glob('**/*.{ts,js}', {
|
|
116
|
+
ignore: {
|
|
117
|
+
ignored: p => {
|
|
118
|
+
const pp = p.parent
|
|
119
|
+
return !(p.isNamed(pp.name + '.ts') || p.isNamed(pp.name + '.js'))
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
// find all files edited in the last hour, to do this, we ignore
|
|
125
|
+
// all of them that are more than an hour old
|
|
126
|
+
const newFiles = await glob('**', {
|
|
127
|
+
// need stat so we have mtime
|
|
128
|
+
stat: true,
|
|
129
|
+
// only want the files, not the dirs
|
|
130
|
+
nodir: true,
|
|
131
|
+
ignore: {
|
|
132
|
+
ignored: p => {
|
|
133
|
+
return new Date() - p.mtime > 60 * 60 * 1000
|
|
134
|
+
},
|
|
135
|
+
// could add similar childrenIgnored here as well, but
|
|
136
|
+
// directory mtime is inconsistent across platforms, so
|
|
137
|
+
// probably better not to, unless you know the system
|
|
138
|
+
// tracks this reliably.
|
|
139
|
+
},
|
|
140
|
+
})
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
> [!NOTE]
|
|
144
|
+
> Glob patterns should always use `/` as a path separator,
|
|
145
|
+
> even on Windows systems, as `\` is used to escape glob
|
|
146
|
+
> characters. If you wish to use `\` as a path separator _instead
|
|
147
|
+
> of_ using it as an escape character on Windows platforms, you may
|
|
148
|
+
> set `windowsPathsNoEscape:true` in the options. In this mode,
|
|
149
|
+
> special glob characters cannot be escaped, making it impossible
|
|
150
|
+
> to match a literal `*` `?` and so on in filenames.
|
|
151
|
+
|
|
152
|
+
## Command Line Interface
|
|
153
|
+
|
|
154
|
+
The glob CLI has been moved to the `glob-bin` package, and must
|
|
155
|
+
be installed separately, as of version 13.
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
npm install glob-bin
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## `glob(pattern: string | string[], options?: GlobOptions) => Promise<string[] | Path[]>`
|
|
162
|
+
|
|
163
|
+
Perform an asynchronous glob search for the pattern(s) specified.
|
|
164
|
+
Returns
|
|
165
|
+
[Path](https://isaacs.github.io/path-scurry/classes/PathBase)
|
|
166
|
+
objects if the `withFileTypes` option is set to `true`. See below
|
|
167
|
+
for full options field desciptions.
|
|
168
|
+
|
|
169
|
+
## `globSync(pattern: string | string[], options?: GlobOptions) => string[] | Path[]`
|
|
170
|
+
|
|
171
|
+
Synchronous form of `glob()`.
|
|
172
|
+
|
|
173
|
+
Alias: `glob.sync()`
|
|
174
|
+
|
|
175
|
+
## `globIterate(pattern: string | string[], options?: GlobOptions) => AsyncGenerator<string>`
|
|
176
|
+
|
|
177
|
+
Return an async iterator for walking glob pattern matches.
|
|
178
|
+
|
|
179
|
+
Alias: `glob.iterate()`
|
|
180
|
+
|
|
181
|
+
## `globIterateSync(pattern: string | string[], options?: GlobOptions) => Generator<string>`
|
|
182
|
+
|
|
183
|
+
Return a sync iterator for walking glob pattern matches.
|
|
184
|
+
|
|
185
|
+
Alias: `glob.iterate.sync()`, `glob.sync.iterate()`
|
|
186
|
+
|
|
187
|
+
## `globStream(pattern: string | string[], options?: GlobOptions) => Minipass<string | Path>`
|
|
188
|
+
|
|
189
|
+
Return a stream that emits all the strings or `Path` objects and
|
|
190
|
+
then emits `end` when completed.
|
|
191
|
+
|
|
192
|
+
Alias: `glob.stream()`
|
|
193
|
+
|
|
194
|
+
## `globStreamSync(pattern: string | string[], options?: GlobOptions) => Minipass<string | Path>`
|
|
195
|
+
|
|
196
|
+
Syncronous form of `globStream()`. Will read all the matches as
|
|
197
|
+
fast as you consume them, even all in a single tick if you
|
|
198
|
+
consume them immediately, but will still respond to backpressure
|
|
199
|
+
if they're not consumed immediately.
|
|
200
|
+
|
|
201
|
+
Alias: `glob.stream.sync()`, `glob.sync.stream()`
|
|
202
|
+
|
|
203
|
+
## `hasMagic(pattern: string | string[], options?: GlobOptions) => boolean`
|
|
204
|
+
|
|
205
|
+
Returns `true` if the provided pattern contains any "magic" glob
|
|
206
|
+
characters, given the options provided.
|
|
207
|
+
|
|
208
|
+
Brace expansion is not considered "magic" unless the
|
|
209
|
+
`magicalBraces` option is set, as brace expansion just turns one
|
|
210
|
+
string into an array of strings. So a pattern like `'x{a,b}y'`
|
|
211
|
+
would return `false`, because `'xay'` and `'xby'` both do not
|
|
212
|
+
contain any magic glob characters, and it's treated the same as
|
|
213
|
+
if you had called it on `['xay', 'xby']`. When
|
|
214
|
+
`magicalBraces:true` is in the options, brace expansion _is_
|
|
215
|
+
treated as a pattern having magic.
|
|
216
|
+
|
|
217
|
+
## `escape(pattern: string, options?: GlobOptions) => string`
|
|
218
|
+
|
|
219
|
+
Escape all magic characters in a glob pattern, so that it will
|
|
220
|
+
only ever match literal strings
|
|
221
|
+
|
|
222
|
+
If the `windowsPathsNoEscape` option is used, then characters are
|
|
223
|
+
escaped by wrapping in `[]`, because a magic character wrapped in
|
|
224
|
+
a character class can only be satisfied by that exact character.
|
|
225
|
+
|
|
226
|
+
Slashes (and backslashes in `windowsPathsNoEscape` mode) cannot
|
|
227
|
+
be escaped or unescaped.
|
|
228
|
+
|
|
229
|
+
## `unescape(pattern: string, options?: GlobOptions) => string`
|
|
230
|
+
|
|
231
|
+
Un-escape a glob string that may contain some escaped characters.
|
|
232
|
+
|
|
233
|
+
If the `windowsPathsNoEscape` option is used, then square-brace
|
|
234
|
+
escapes are removed, but not backslash escapes. For example, it
|
|
235
|
+
will turn the string `'[*]'` into `*`, but it will not turn
|
|
236
|
+
`'\\*'` into `'*'`, because `\` is a path separator in
|
|
237
|
+
`windowsPathsNoEscape` mode.
|
|
238
|
+
|
|
239
|
+
When `windowsPathsNoEscape` is not set, then both brace escapes
|
|
240
|
+
and backslash escapes are removed.
|
|
241
|
+
|
|
242
|
+
Slashes (and backslashes in `windowsPathsNoEscape` mode) cannot
|
|
243
|
+
be escaped or unescaped.
|
|
244
|
+
|
|
245
|
+
## Class `Glob`
|
|
246
|
+
|
|
247
|
+
An object that can perform glob pattern traversals.
|
|
248
|
+
|
|
249
|
+
### `const g = new Glob(pattern: string | string[], options: GlobOptions)`
|
|
250
|
+
|
|
251
|
+
Options object is required.
|
|
252
|
+
|
|
253
|
+
See full options descriptions below.
|
|
254
|
+
|
|
255
|
+
> [!NOTE]
|
|
256
|
+
> A previous `Glob` object can be passed as the
|
|
257
|
+
> `GlobOptions` to another `Glob` instantiation to re-use settings
|
|
258
|
+
> and caches with a new pattern.
|
|
259
|
+
|
|
260
|
+
Traversal functions can be called multiple times to run the walk
|
|
261
|
+
again.
|
|
262
|
+
|
|
263
|
+
### `g.stream()`
|
|
264
|
+
|
|
265
|
+
Stream results asynchronously.
|
|
266
|
+
|
|
267
|
+
### `g.streamSync()`
|
|
268
|
+
|
|
269
|
+
Stream results synchronously.
|
|
270
|
+
|
|
271
|
+
### `g.iterate()`
|
|
272
|
+
|
|
273
|
+
Default async iteration function. Returns an AsyncGenerator that
|
|
274
|
+
iterates over the results.
|
|
275
|
+
|
|
276
|
+
### `g.iterateSync()`
|
|
277
|
+
|
|
278
|
+
Default sync iteration function. Returns a Generator that
|
|
279
|
+
iterates over the results.
|
|
280
|
+
|
|
281
|
+
### `g.walk()`
|
|
282
|
+
|
|
283
|
+
Returns a Promise that resolves to the results array.
|
|
284
|
+
|
|
285
|
+
### `g.walkSync()`
|
|
286
|
+
|
|
287
|
+
Returns a results array.
|
|
288
|
+
|
|
289
|
+
### Properties
|
|
290
|
+
|
|
291
|
+
All options are stored as properties on the `Glob` object.
|
|
292
|
+
|
|
293
|
+
- `opts` The options provided to the constructor.
|
|
294
|
+
- `patterns` An array of parsed immutable `Pattern` objects.
|
|
295
|
+
|
|
296
|
+
## Options
|
|
297
|
+
|
|
298
|
+
Exported as `GlobOptions` TypeScript interface. A `GlobOptions`
|
|
299
|
+
object may be provided to any of the exported methods, and must
|
|
300
|
+
be provided to the `Glob` constructor.
|
|
301
|
+
|
|
302
|
+
All options are optional, boolean, and false by default, unless
|
|
303
|
+
otherwise noted.
|
|
304
|
+
|
|
305
|
+
All resolved options are added to the Glob object as properties.
|
|
306
|
+
|
|
307
|
+
If you are running many `glob` operations, you can pass a Glob
|
|
308
|
+
object as the `options` argument to a subsequent operation to
|
|
309
|
+
share the previously loaded cache.
|
|
310
|
+
|
|
311
|
+
- `cwd` String path or `file://` string or URL object. The
|
|
312
|
+
current working directory in which to search. Defaults to
|
|
313
|
+
`process.cwd()`. See also: "Windows, CWDs, Drive Letters, and
|
|
314
|
+
UNC Paths", below.
|
|
315
|
+
|
|
316
|
+
This option may be either a string path or a `file://` URL
|
|
317
|
+
object or string.
|
|
318
|
+
|
|
319
|
+
- `root` A string path resolved against the `cwd` option, which
|
|
320
|
+
is used as the starting point for absolute patterns that start
|
|
321
|
+
with `/`, (but not drive letters or UNC paths on Windows).
|
|
322
|
+
|
|
323
|
+
To start absolute and non-absolute patterns in the same path,
|
|
324
|
+
you can use `{root:''}`. However, be aware that on Windows
|
|
325
|
+
systems, a pattern like `x:/*` or `//host/share/*` will
|
|
326
|
+
_always_ start in the `x:/` or `//host/share` directory,
|
|
327
|
+
regardless of the `root` setting.
|
|
328
|
+
|
|
329
|
+
> [!NOTE] This _doesn't_ necessarily limit the walk to the
|
|
330
|
+
> `root` directory, and doesn't affect the cwd starting point
|
|
331
|
+
> for non-absolute patterns. A pattern containing `..` will
|
|
332
|
+
> still be able to traverse out of the root directory, if it
|
|
333
|
+
> is not an actual root directory on the filesystem, and any
|
|
334
|
+
> non-absolute patterns will be matched in the `cwd`. For
|
|
335
|
+
> example, the pattern `/../*` with `{root:'/some/path'}`
|
|
336
|
+
> will return all files in `/some`, not all files in
|
|
337
|
+
> `/some/path`. The pattern `*` with `{root:'/some/path'}`
|
|
338
|
+
> will return all the entries in the cwd, not the entries in
|
|
339
|
+
> `/some/path`.
|
|
340
|
+
|
|
341
|
+
- `windowsPathsNoEscape` Use `\\` as a path separator _only_, and
|
|
342
|
+
_never_ as an escape character. If set, all `\\` characters are
|
|
343
|
+
replaced with `/` in the pattern.
|
|
344
|
+
|
|
345
|
+
> [!NOTE]
|
|
346
|
+
> This makes it **impossible** to match against paths
|
|
347
|
+
> containing literal glob pattern characters, but allows matching
|
|
348
|
+
> with patterns constructed using `path.join()` and
|
|
349
|
+
> `path.resolve()` on Windows platforms, mimicking the (buggy!)
|
|
350
|
+
> behavior of Glob v7 and before on Windows. Please use with
|
|
351
|
+
> caution, and be mindful of [the caveat below about Windows
|
|
352
|
+
> paths](#windows). (For legacy reasons, this is also set if
|
|
353
|
+
> `allowWindowsEscape` is set to the exact value `false`.)
|
|
354
|
+
|
|
355
|
+
- `dot` Include `.dot` files in normal matches and `globstar`
|
|
356
|
+
matches. Note that an explicit dot in a portion of the pattern
|
|
357
|
+
will always match dot files.
|
|
358
|
+
|
|
359
|
+
- `magicalBraces` Treat brace expansion like `{a,b}` as a "magic"
|
|
360
|
+
pattern. Has no effect if {@link nobrace} is set.
|
|
361
|
+
|
|
362
|
+
Only has effect on the {@link hasMagic} function, no effect on
|
|
363
|
+
glob pattern matching itself.
|
|
364
|
+
|
|
365
|
+
- `dotRelative` Prepend all relative path strings with `./` (or
|
|
366
|
+
`.\` on Windows).
|
|
367
|
+
|
|
368
|
+
Without this option, returned relative paths are "bare", so
|
|
369
|
+
instead of returning `'./foo/bar'`, they are returned as
|
|
370
|
+
`'foo/bar'`.
|
|
371
|
+
|
|
372
|
+
Relative patterns starting with `'../'` are not prepended with
|
|
373
|
+
`./`, even if this option is set.
|
|
374
|
+
|
|
375
|
+
- `mark` Add a `/` character to directory matches. Note that this
|
|
376
|
+
requires additional stat calls.
|
|
377
|
+
|
|
378
|
+
- `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.
|
|
379
|
+
|
|
380
|
+
- `noglobstar` Do not match `**` against multiple filenames. (Ie,
|
|
381
|
+
treat it as a normal `*` instead.)
|
|
382
|
+
|
|
383
|
+
- `noext` Do not match "extglob" patterns such as `+(a|b)`.
|
|
384
|
+
|
|
385
|
+
- `normalize` Normalize unicode in the pattern, and in the file
|
|
386
|
+
names that it is matched against, with this form: `'NFC'`,
|
|
387
|
+
`'NFD'`, `'NFKC'`, or `'NFKD'`. `true` means `'NFC'`. A char
|
|
388
|
+
such as `é` can be one code point, or `e` followed by a
|
|
389
|
+
combining accent, and some file systems (such as on macOS) can
|
|
390
|
+
give names in either form. This is passed to minimatch, so it
|
|
391
|
+
applies to the portions of the pattern with magic, and to the
|
|
392
|
+
`ignore` patterns. The portions of the pattern without magic
|
|
393
|
+
are looked up with path-scurry, which already compares the
|
|
394
|
+
names of the entries that it knows in their `'NFKD'` form.
|
|
395
|
+
|
|
396
|
+
- `nocase` Perform a case-insensitive match. This defaults to
|
|
397
|
+
`true` on macOS and Windows systems, and `false` on all others.
|
|
398
|
+
|
|
399
|
+
> [!NOTE]
|
|
400
|
+
> `nocase` should only be explicitly set when it is known that
|
|
401
|
+
> the filesystem's case sensitivity differs from the platform
|
|
402
|
+
> default. If set `true` on case-sensitive file systems, or
|
|
403
|
+
> `false` on case-insensitive file systems, then the walk may
|
|
404
|
+
> return more or less results than expected.
|
|
405
|
+
>
|
|
406
|
+
> As a shortcut, `Glob` will use string portions as-is to
|
|
407
|
+
> `readdir()` calls while doing its traversal, in place of making
|
|
408
|
+
> a case-insensitive matcher for each of them. If you are setting a `nocase: true` match on a
|
|
409
|
+
> file system that is in fact case sensitive, then this will
|
|
410
|
+
> result in matches not being found that you might expect,
|
|
411
|
+
> because for example the pattern `Foo/*` will fail to read the
|
|
412
|
+
> `FOO/` or `foo/` directories.
|
|
413
|
+
>
|
|
414
|
+
> On the other hand, if you set `nocase: false` on a
|
|
415
|
+
> case-_insensitive_ system, then the opposite problem occurs:
|
|
416
|
+
> `Foo/*` will match `foo/bar`, but because we only detect the
|
|
417
|
+
> existence of the `foo/` folder by successfully performing a
|
|
418
|
+
> `readdir`, there's no way to know what the "real" case is, and
|
|
419
|
+
> the match will be reported as `Foo/bar`, using the case of the
|
|
420
|
+
> string portion of the glob pattern.
|
|
421
|
+
>
|
|
422
|
+
> The default is usually correct, however it _is_ possible to
|
|
423
|
+
> mount file systems with a different case-sensitivity from the
|
|
424
|
+
> host system. If you know this is the case, set this flag
|
|
425
|
+
> appropriately to the file system you are searching.
|
|
426
|
+
|
|
427
|
+
- `maxDepth` Specify a number to limit the depth of the directory
|
|
428
|
+
traversal to this many levels below the `cwd`.
|
|
429
|
+
|
|
430
|
+
- `matchBase` Perform a basename-only match if the pattern does
|
|
431
|
+
not contain any slash characters. That is, `*.js` would be
|
|
432
|
+
treated as equivalent to `**/*.js`, matching all js files in
|
|
433
|
+
all directories.
|
|
434
|
+
|
|
435
|
+
- `nodir` Do not match directories, only files. (Note: to match
|
|
436
|
+
_only_ directories, put a `/` at the end of the pattern.)
|
|
437
|
+
|
|
438
|
+
> [!NOTE]
|
|
439
|
+
> When `follow` and `nodir` are both set, then symbolic
|
|
440
|
+
> links to directories are also omitted.
|
|
441
|
+
|
|
442
|
+
- `stat` Call `lstat()` on all entries, whether required or not
|
|
443
|
+
to determine whether it's a valid match. When used with
|
|
444
|
+
`withFileTypes`, this means that matches will include data such
|
|
445
|
+
as modified time, permissions, and so on. Note that this will
|
|
446
|
+
incur a performance cost due to the added system calls.
|
|
447
|
+
|
|
448
|
+
- `ignore` string or string[], or an object with `ignored` and
|
|
449
|
+
`childrenIgnored` methods.
|
|
450
|
+
|
|
451
|
+
If a string or string[] is provided, then this is treated as
|
|
452
|
+
a glob pattern or array of glob patterns to exclude from
|
|
453
|
+
matches. To ignore all children within a directory, as well
|
|
454
|
+
as the entry itself, append `'/**'` to the ignore pattern.
|
|
455
|
+
Ignore patterns that start with `/` start at the same place as
|
|
456
|
+
other patterns that start with `/` (see the `root` option).
|
|
457
|
+
|
|
458
|
+
If an object is provided that has `ignored(path)` and/or
|
|
459
|
+
`childrenIgnored(path)` methods, then these methods will be
|
|
460
|
+
called to determine whether any Path is a match or if its
|
|
461
|
+
children should be traversed, respectively.
|
|
462
|
+
|
|
463
|
+
The `path` argument to the methods will be a
|
|
464
|
+
[`path-scurry`](https://isaacs.github.io/path-scurry/index.html)
|
|
465
|
+
[`Path`](https://isaacs.github.io/path-scurry/classes/PathBase)
|
|
466
|
+
object, which extends
|
|
467
|
+
[`fs.Dirent`](https://nodejs.org/docs/latest/api/fs.html#class-fsdirent)
|
|
468
|
+
with additional useful methods like
|
|
469
|
+
[`.fullpath()`](https://isaacs.github.io/path-scurry/classes/PathBase.html#fullpath),
|
|
470
|
+
[`.relative()`](https://isaacs.github.io/path-scurry/classes/PathBase.html#relative),
|
|
471
|
+
and more.
|
|
472
|
+
|
|
473
|
+
> [!NOTE]
|
|
474
|
+
> `ignore` patterns are _always_ in `dot:true` mode,
|
|
475
|
+
> regardless of any other settings.
|
|
476
|
+
|
|
477
|
+
- `follow` Follow symlinked directories when expanding `**`
|
|
478
|
+
patterns. This can result in a lot of duplicate references in
|
|
479
|
+
the presence of cyclic links, and make performance quite bad.
|
|
480
|
+
|
|
481
|
+
By default, a `**` in a pattern will follow 1 symbolic link if
|
|
482
|
+
it is not the first item in the pattern, or none if it is the
|
|
483
|
+
first item in the pattern, following the same behavior as Bash.
|
|
484
|
+
|
|
485
|
+
> [!NOTE]
|
|
486
|
+
> When `follow` and `nodir` are both set, then symbolic
|
|
487
|
+
> links to directories are also omitted.
|
|
488
|
+
|
|
489
|
+
- `realpath` Set to true to call `fs.realpath` on all of the
|
|
490
|
+
results. In the case of an entry that cannot be resolved, the
|
|
491
|
+
entry is omitted. This incurs a slight performance penalty, of
|
|
492
|
+
course, because of the added system calls.
|
|
493
|
+
|
|
494
|
+
- `absolute` Set to true to always receive absolute paths for
|
|
495
|
+
matched files. Set to `false` to always receive relative paths
|
|
496
|
+
for matched files.
|
|
497
|
+
|
|
498
|
+
By default, when this option is not set, absolute paths are
|
|
499
|
+
returned for patterns that are absolute, and otherwise paths
|
|
500
|
+
are returned that are relative to the `cwd` setting.
|
|
501
|
+
|
|
502
|
+
This does _not_ make an extra system call to get the realpath,
|
|
503
|
+
it only does string path resolution.
|
|
504
|
+
|
|
505
|
+
`absolute` may not be used along with `withFileTypes`.
|
|
506
|
+
|
|
507
|
+
- `posix` Set to true to use `/` as the path separator in
|
|
508
|
+
returned results. On POSIX systems, this has no effect. On
|
|
509
|
+
Windows systems, this will return `/` delimited path results,
|
|
510
|
+
and absolute paths will be returned in their fully resolved UNC
|
|
511
|
+
path form, e.g. instead of `'C:\\foo\\bar'`, it will return
|
|
512
|
+
`//?/C:/foo/bar`.
|
|
513
|
+
|
|
514
|
+
- `platform` Defaults to the value of `process.platform` if
|
|
515
|
+
available, or `'linux'` if not. Setting `platform:'win32'` on
|
|
516
|
+
non-Windows systems may cause strange behavior.
|
|
517
|
+
|
|
518
|
+
- `withFileTypes` Return
|
|
519
|
+
[`path-scurry`](http://npm.im/path-scurry)
|
|
520
|
+
[`Path`](https://isaacs.github.io/path-scurry/classes/PathBase.html)
|
|
521
|
+
objects instead of strings. These are similar to a NodeJS
|
|
522
|
+
`fs.Dirent` object, but with additional methods and properties.
|
|
523
|
+
|
|
524
|
+
`withFileTypes` may not be used along with `absolute`.
|
|
525
|
+
|
|
526
|
+
- `signal` An AbortSignal which will cancel the Glob walk when
|
|
527
|
+
triggered.
|
|
528
|
+
|
|
529
|
+
- `fs` An override object to pass in custom filesystem methods.
|
|
530
|
+
See [`path-scurry`
|
|
531
|
+
docs](https://isaacs.github.io/path-scurry/interfaces/FSOption.html)
|
|
532
|
+
for what can be overridden.
|
|
533
|
+
|
|
534
|
+
- `scurry` A
|
|
535
|
+
[`PathScurry`](https://isaacs.github.io/path-scurry/classes/PathScurryBase.html)
|
|
536
|
+
object used to traverse the file system. If the `nocase` option
|
|
537
|
+
is set explicitly, then any provided `scurry` object must match
|
|
538
|
+
this setting.
|
|
539
|
+
|
|
540
|
+
- `includeChildMatches` boolean, default `true`. Do not match any
|
|
541
|
+
children of any matches. For example, the pattern `**\/foo`
|
|
542
|
+
would match `a/foo`, but not `a/foo/b/foo` in this mode.
|
|
543
|
+
|
|
544
|
+
This is especially useful for cases like "find all
|
|
545
|
+
`node_modules` folders, but not the ones in `node_modules`".
|
|
546
|
+
|
|
547
|
+
In order to support this, the `Ignore` implementation must
|
|
548
|
+
support an `add(pattern: string)` method. If using the default
|
|
549
|
+
`Ignore` class, then this is fine, but if this is set to
|
|
550
|
+
`false`, and a custom `Ignore` is provided that does not have
|
|
551
|
+
an `add()` method, then it will throw an error.
|
|
552
|
+
|
|
553
|
+
For example:
|
|
554
|
+
|
|
555
|
+
```js
|
|
556
|
+
const results = await glob(
|
|
557
|
+
[
|
|
558
|
+
// likely to match first, since it's just a stat
|
|
559
|
+
'a/b/c/d/e/f',
|
|
560
|
+
|
|
561
|
+
// this pattern is more complicated! It must to various readdir()
|
|
562
|
+
// calls and test the results against the pattern, and that is
|
|
563
|
+
// certainly going to take a little bit longer.
|
|
564
|
+
//
|
|
565
|
+
// So, later on, it encounters a match at 'a/b/c/d/e', but it's too
|
|
566
|
+
// late to ignore a/b/c/d/e/f, because it's already been emitted.
|
|
567
|
+
'a/[bdf]/?/[a-z]/*',
|
|
568
|
+
],
|
|
569
|
+
{ includeChildMatches: false },
|
|
570
|
+
)
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
It's best to only set this to `false` if you can be reasonably
|
|
574
|
+
sure that no components of the pattern will potentially match
|
|
575
|
+
one another's file system descendants, or if the occasional
|
|
576
|
+
included child entry will not cause problems.
|
|
577
|
+
|
|
578
|
+
> [!NOTE]
|
|
579
|
+
> It _only_ ignores matches that would be a descendant
|
|
580
|
+
> of a previous match, and only if that descendant is matched
|
|
581
|
+
> _after_ the ancestor is encountered. Since the file system walk
|
|
582
|
+
> happens in indeterminate order, it's possible that a match will
|
|
583
|
+
> already be added before its ancestor, if multiple or braced
|
|
584
|
+
> patterns are used.
|
|
585
|
+
|
|
586
|
+
- `braceExpandMax` number, defaults to `10_000`. This is the
|
|
587
|
+
maximum number of `{x,y,...}` patterns to expand. It is very
|
|
588
|
+
unlikely that you'll need more than this, and setting it higher
|
|
589
|
+
exposes the system to out-of-memory errors.
|
|
590
|
+
|
|
591
|
+
## Glob Primer
|
|
592
|
+
|
|
593
|
+
Much more information about glob pattern expansion can be found
|
|
594
|
+
by running `man bash` and searching for `Pattern Matching`.
|
|
595
|
+
|
|
596
|
+
"Globs" are the patterns you type when you do stuff like `ls
|
|
597
|
+
*.js` on the command line, or put `build/*` in a `.gitignore`
|
|
598
|
+
file.
|
|
599
|
+
|
|
600
|
+
Before parsing the path part patterns, braced sections are
|
|
601
|
+
expanded into a set. Braced sections start with `{` and end with
|
|
602
|
+
`}`, with 2 or more comma-delimited sections within. Braced
|
|
603
|
+
sections may contain slash characters, so `a{/b/c,bcd}` would
|
|
604
|
+
expand into `a/b/c` and `abcd`.
|
|
605
|
+
|
|
606
|
+
The following characters have special magic meaning when used in
|
|
607
|
+
a path portion. With the exception of `**`, none of these match
|
|
608
|
+
path separators (ie, `/` on all platforms, and `\` on Windows).
|
|
609
|
+
|
|
610
|
+
- `*` Matches 0 or more characters in a single path portion.
|
|
611
|
+
When alone in a path portion, it must match at least 1
|
|
612
|
+
character. If `dot:true` is not specified, then `*` will not
|
|
613
|
+
match against a `.` character at the start of a path portion.
|
|
614
|
+
- `?` Matches 1 character. If `dot:true` is not specified, then
|
|
615
|
+
`?` will not match against a `.` character at the start of a
|
|
616
|
+
path portion.
|
|
617
|
+
- `[...]` Matches a range of characters, similar to a RegExp
|
|
618
|
+
range. If the first character of the range is `!` or `^` then
|
|
619
|
+
it matches any character not in the range. If the first
|
|
620
|
+
character is `]`, then it will be considered the same as `\]`,
|
|
621
|
+
rather than the end of the character class.
|
|
622
|
+
- `!(pattern|pattern|pattern)` Matches anything that does not
|
|
623
|
+
match any of the patterns provided. May _not_ contain `/`
|
|
624
|
+
characters. Similar to `*`, if alone in a path portion, then
|
|
625
|
+
the path portion must have at least one character.
|
|
626
|
+
- `?(pattern|pattern|pattern)` Matches zero or one occurrence of
|
|
627
|
+
the patterns provided. May _not_ contain `/` characters.
|
|
628
|
+
- `+(pattern|pattern|pattern)` Matches one or more occurrences of
|
|
629
|
+
the patterns provided. May _not_ contain `/` characters.
|
|
630
|
+
- `*(a|b|c)` Matches zero or more occurrences of the patterns
|
|
631
|
+
provided. May _not_ contain `/` characters.
|
|
632
|
+
- `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
|
|
633
|
+
provided. May _not_ contain `/` characters.
|
|
634
|
+
- `**` If a "globstar" is alone in a path portion, then it
|
|
635
|
+
matches zero or more directories and subdirectories searching
|
|
636
|
+
for matches. It does not crawl symlinked directories, unless
|
|
637
|
+
`{follow:true}` is passed in the options object. A pattern
|
|
638
|
+
like `a/b/**` will only match `a/b` if it is a directory.
|
|
639
|
+
Follows 1 symbolic link if not the first item in the pattern,
|
|
640
|
+
or 0 if it is the first item, unless `follow:true` is set, in
|
|
641
|
+
which case it follows all symbolic links.
|
|
642
|
+
|
|
643
|
+
`[:class:]` patterns are supported by this implementation, but
|
|
644
|
+
`[=c=]` and `[.symbol.]` style class patterns are not.
|
|
645
|
+
|
|
646
|
+
### Dots
|
|
647
|
+
|
|
648
|
+
If a file or directory path portion has a `.` as the first
|
|
649
|
+
character, then it will only match a portion of the pattern if a
|
|
650
|
+
literal `.` in the pattern matches that first character.
|
|
651
|
+
|
|
652
|
+
For example, the pattern `a/.*/c` would match the file at
|
|
653
|
+
`a/.b/c`. However the pattern `a/*/c` would not, because `*` does
|
|
654
|
+
not start with a dot character.
|
|
655
|
+
|
|
656
|
+
You can make glob treat dots as normal characters by setting
|
|
657
|
+
`dot:true` in the options.
|
|
658
|
+
|
|
659
|
+
### Basename Matching
|
|
660
|
+
|
|
661
|
+
If you set `matchBase:true` in the options, and the pattern has
|
|
662
|
+
no slashes in it, then it will seek for any file anywhere in the
|
|
663
|
+
tree with a matching basename. For example, `*.js` would match
|
|
664
|
+
`test/simple/basic.js`.
|
|
665
|
+
|
|
666
|
+
### Empty Sets
|
|
667
|
+
|
|
668
|
+
If no matching files are found, then an empty array is returned.
|
|
669
|
+
This differs from the shell, where the pattern itself is
|
|
670
|
+
returned. For example:
|
|
671
|
+
|
|
672
|
+
```sh
|
|
673
|
+
$ echo a*s*d*f
|
|
674
|
+
a*s*d*f
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
## Comparisons to other fnmatch/glob implementations
|
|
678
|
+
|
|
679
|
+
While strict compliance with the existing standards is a
|
|
680
|
+
worthwhile goal, some discrepancies exist between node-glob and
|
|
681
|
+
other implementations, and are intentional.
|
|
682
|
+
|
|
683
|
+
The double-star character `**` is supported by default, unless
|
|
684
|
+
the `noglobstar` flag is set. This is supported in the manner of
|
|
685
|
+
bsdglob and bash 5, where `**` only has special significance if
|
|
686
|
+
it is the only thing in a path part. That is, `a/**/b` will match
|
|
687
|
+
`a/x/y/b`, but `a/**b` will not.
|
|
688
|
+
|
|
689
|
+
> [!NOTE]
|
|
690
|
+
> Symlinked directories are not traversed as part of a
|
|
691
|
+
> `**`, though their contents may match against subsequent portions
|
|
692
|
+
> of the pattern. This prevents infinite loops and duplicates and
|
|
693
|
+
> the like. You can force glob to traverse symlinks with `**` by
|
|
694
|
+
> setting `{follow:true}` in the options.
|
|
695
|
+
|
|
696
|
+
There is no equivalent of the `nonull` option. A pattern that
|
|
697
|
+
does not find any matches simply resolves to nothing. (An empty
|
|
698
|
+
array, immediately ended stream, etc.)
|
|
699
|
+
|
|
700
|
+
If brace expansion is not disabled, then it is performed before
|
|
701
|
+
any other interpretation of the glob pattern. Thus, a pattern
|
|
702
|
+
like `+(a|{b),c)}`, which would not be valid in bash or zsh, is
|
|
703
|
+
expanded **first** into the set of `+(a|b)` and `+(a|c)`, and
|
|
704
|
+
those patterns are checked for validity. Since those two are
|
|
705
|
+
valid, matching proceeds.
|
|
706
|
+
|
|
707
|
+
The character class patterns `[:class:]` (POSIX standard named
|
|
708
|
+
classes) style class patterns are supported and Unicode-aware,
|
|
709
|
+
but `[=c=]` (locale-specific character collation weight), and
|
|
710
|
+
`[.symbol.]` (collating symbol), are not.
|
|
711
|
+
|
|
712
|
+
Each portion of a pattern is matched by
|
|
713
|
+
[minimatch](https://github.com/isaacs/minimatch), with Bash 5 as
|
|
714
|
+
the reference, and patterns are never compiled to regular
|
|
715
|
+
expressions. These are the known differences from Bash:
|
|
716
|
+
|
|
717
|
+
- If `dot` is not set, a portion of a pattern can match a file
|
|
718
|
+
name that starts with `.` when extglobs before a literal `.`
|
|
719
|
+
match the empty string. For example, `@(|x).*` matches `.a`.
|
|
720
|
+
Bash does not match these dotfiles.
|
|
721
|
+
- If an extglob such as `?(a` is not closed, Bash matches the
|
|
722
|
+
whole pattern as a literal string. In this module, only the
|
|
723
|
+
`?(` is literal, and the rest of the pattern is still matched
|
|
724
|
+
as a glob.
|
|
725
|
+
- A pattern is split into portions on every `/`, including a `/`
|
|
726
|
+
inside an extglob, so `@(a|b/c)/*` has an extglob that is not
|
|
727
|
+
closed. Bash keeps the extglob whole, and drops each alternative
|
|
728
|
+
with a `/` in it, as no file name can contain a `/`. So in Bash,
|
|
729
|
+
`@(a|b/c)/*` is the same as `@(a)/*`.
|
|
730
|
+
- With `nocase`, case is folded with Unicode simple case folding,
|
|
731
|
+
one code point at a time. Bash uses the case functions of the C
|
|
732
|
+
library for the current locale.
|
|
733
|
+
|
|
734
|
+
### Repeated Slashes
|
|
735
|
+
|
|
736
|
+
Unlike Bash and zsh, repeated `/` are always coalesced into a
|
|
737
|
+
single path separator.
|
|
738
|
+
|
|
739
|
+
### Comments and Negation
|
|
740
|
+
|
|
741
|
+
Previously, this module let you mark a pattern as a "comment" if
|
|
742
|
+
it started with a `#` character, or a "negated" pattern if it
|
|
743
|
+
started with a `!` character.
|
|
744
|
+
|
|
745
|
+
These options were deprecated in version 5, and removed in
|
|
746
|
+
version 6.
|
|
747
|
+
|
|
748
|
+
To specify things that should not match, use the `ignore` option.
|
|
749
|
+
|
|
750
|
+
## Windows
|
|
751
|
+
|
|
752
|
+
**Please only use forward-slashes in glob expressions.**
|
|
753
|
+
|
|
754
|
+
Though Windows uses either `/` or `\` as its path separator, only
|
|
755
|
+
`/` characters are used by this glob implementation. You must use
|
|
756
|
+
forward-slashes **only** in glob expressions. Back-slashes will
|
|
757
|
+
always be interpreted as escape characters, not path separators.
|
|
758
|
+
|
|
759
|
+
Results from absolute patterns such as `/foo/*` are mounted onto
|
|
760
|
+
the root setting using `path.join`. On Windows, this will by
|
|
761
|
+
default result in `/foo/*` matching `C:\foo\bar.txt`.
|
|
762
|
+
|
|
763
|
+
To automatically coerce all `\` characters to `/` in pattern
|
|
764
|
+
strings, **thus making it impossible to escape literal glob
|
|
765
|
+
characters**, you may set the `windowsPathsNoEscape` option to
|
|
766
|
+
`true`.
|
|
767
|
+
|
|
768
|
+
### Windows, CWDs, Drive Letters, and UNC Paths
|
|
769
|
+
|
|
770
|
+
On POSIX systems, when a pattern starts with `/`, any `cwd`
|
|
771
|
+
option is ignored, and the traversal starts at `/`, plus any
|
|
772
|
+
non-magic path portions specified in the pattern.
|
|
773
|
+
|
|
774
|
+
On Windows systems, the behavior is similar, but the concept of
|
|
775
|
+
an "absolute path" is somewhat more involved.
|
|
776
|
+
|
|
777
|
+
#### UNC Paths
|
|
778
|
+
|
|
779
|
+
A UNC path may be used as the start of a pattern on Windows
|
|
780
|
+
platforms. For example, a pattern like: `//?/x:/*` will return
|
|
781
|
+
all file entries in the root of the `x:` drive. A pattern like
|
|
782
|
+
`//ComputerName/Share/*` will return all files in the associated
|
|
783
|
+
share.
|
|
784
|
+
|
|
785
|
+
UNC path roots are always compared case insensitively.
|
|
786
|
+
|
|
787
|
+
#### Drive Letters
|
|
788
|
+
|
|
789
|
+
A pattern starting with a drive letter, like `c:/*`, will search
|
|
790
|
+
in that drive, regardless of any `cwd` option provided.
|
|
791
|
+
|
|
792
|
+
If the pattern starts with `/`, and is not a UNC path, and there
|
|
793
|
+
is an explicit `cwd` option set with a drive letter, then the
|
|
794
|
+
drive letter in the `cwd` is used as the root of the directory
|
|
795
|
+
traversal.
|
|
796
|
+
|
|
797
|
+
For example, `glob('/tmp', { cwd: 'c:/any/thing' })` will return
|
|
798
|
+
`['c:/tmp']` as the result.
|
|
799
|
+
|
|
800
|
+
If an explicit `cwd` option is not provided, and the pattern
|
|
801
|
+
starts with `/`, then the traversal will run on the root of the
|
|
802
|
+
drive provided as the `cwd` option. (That is, it is the result of
|
|
803
|
+
`path.resolve('/')`.)
|
|
804
|
+
|
|
805
|
+
## ReDoS Protection
|
|
806
|
+
|
|
807
|
+
Many glob implementations make a regular expression from each
|
|
808
|
+
pattern. A pattern such as `a*a*a*a*a*a*a*a*a*a*a`, tested against
|
|
809
|
+
a name such as `aaaaaaaaaaaaaaaaaaaaaaaaaaaaab` that does not
|
|
810
|
+
match, can make a backtracking regular expression engine try each
|
|
811
|
+
way that the `*` characters can split the name. The time that
|
|
812
|
+
this takes grows exponentially with the length of the name, so a
|
|
813
|
+
pattern from an untrusted source can stop a process for minutes
|
|
814
|
+
or more. This is a Regular Expression Denial of Service (ReDoS).
|
|
815
|
+
|
|
816
|
+
This module never makes a regular expression from a pattern.
|
|
817
|
+
Each portion of a pattern between `/` characters that has magic
|
|
818
|
+
is matched by a `Matcher` from
|
|
819
|
+
[@isaacs/nonrecursive-glob-match](http://npm.im/@isaacs/nonrecursive-glob-match).
|
|
820
|
+
A `Matcher` is not a `RegExp`, and it does not backtrack. It tests
|
|
821
|
+
all of the ways that the pattern can match at the same time, in
|
|
822
|
+
one pass over the name, so no pattern can make it try the ways one
|
|
823
|
+
after another. The time to match a name grows no faster than its
|
|
824
|
+
length times the size of the portion of the pattern, for each
|
|
825
|
+
kind of pattern, including nested and negated extglobs such as
|
|
826
|
+
`+(a|*(b|!(c)))`. The pattern above matches or fails in about a
|
|
827
|
+
millisecond.
|
|
828
|
+
|
|
829
|
+
The only regular expressions that a `Matcher` uses are for `[...]`
|
|
830
|
+
classes and case folding, and each of them only tests one
|
|
831
|
+
character at a time, so they can not backtrack over a name.
|
|
832
|
+
|
|
833
|
+
These limits also apply:
|
|
834
|
+
|
|
835
|
+
- The states that a `Matcher` reaches are cached, so that names
|
|
836
|
+
are matched faster, but the cache has a fixed size. When it is
|
|
837
|
+
full, it is cleared.
|
|
838
|
+
- Brace expansion makes no more than `braceExpandMax` patterns
|
|
839
|
+
(10,000 by default), so a pattern such as `{1..1000000}` can not
|
|
840
|
+
use an unbounded amount of memory.
|
|
841
|
+
- A pattern can have at most 65,536 characters. A longer pattern
|
|
842
|
+
throws an error.
|
|
843
|
+
- An `ignore` pattern with many `**` portions that are not next to
|
|
844
|
+
each other is matched with a limit on how deeply minimatch
|
|
845
|
+
recurses (200 by default). Past that limit, a path is not
|
|
846
|
+
treated as a match, so that path is not ignored.
|
|
847
|
+
|
|
848
|
+
The time that a walk takes still depends on the file system. A
|
|
849
|
+
pattern such as `**` walks every directory under the `cwd`, so if
|
|
850
|
+
the patterns come from an untrusted source, set the `cwd` to the
|
|
851
|
+
folder that they can search, and use `maxDepth` and an abort
|
|
852
|
+
`signal` to limit the walk. Symbolic links to directories are not
|
|
853
|
+
followed by `**` unless the `follow` option is set.
|
|
854
|
+
|
|
855
|
+
## Race Conditions
|
|
856
|
+
|
|
857
|
+
Glob searching, by its very nature, is susceptible to race
|
|
858
|
+
conditions, since it relies on directory walking.
|
|
859
|
+
|
|
860
|
+
As a result, it is possible that a file that exists when glob
|
|
861
|
+
looks for it may have been deleted or modified by the time it
|
|
862
|
+
returns the result.
|
|
863
|
+
|
|
864
|
+
By design, this implementation caches all readdir calls that it
|
|
865
|
+
makes, in order to cut down on system overhead. However, this
|
|
866
|
+
also makes it even more susceptible to races, especially if the
|
|
867
|
+
cache object is reused between glob calls.
|
|
868
|
+
|
|
869
|
+
Users are thus advised not to use a glob result as a guarantee of
|
|
870
|
+
filesystem state in the face of rapid changes. For the vast
|
|
871
|
+
majority of operations, this is never a problem.
|
|
872
|
+
|
|
873
|
+
### See Also:
|
|
874
|
+
|
|
875
|
+
- `man sh`
|
|
876
|
+
- `man bash` [Pattern
|
|
877
|
+
Matching](https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html)
|
|
878
|
+
- `man 3 fnmatch`
|
|
879
|
+
- `man 5 gitignore`
|
|
880
|
+
- [minimatch documentation](https://github.com/isaacs/minimatch)
|
|
881
|
+
|
|
882
|
+
## Glob Logo
|
|
883
|
+
|
|
884
|
+
Glob's logo was created by [Tanya
|
|
885
|
+
Brassie](http://tanyabrassie.com/). Logo files can be found
|
|
886
|
+
[here](https://github.com/isaacs/node-glob/tree/master/logo).
|
|
887
|
+
|
|
888
|
+
The logo is licensed under a [Creative Commons
|
|
889
|
+
Attribution-ShareAlike 4.0 International
|
|
890
|
+
License](https://creativecommons.org/licenses/by-sa/4.0/).
|
|
891
|
+
|
|
892
|
+
## Contributing
|
|
893
|
+
|
|
894
|
+
Any change to behavior (including bugfixes) must come with a
|
|
895
|
+
test.
|
|
896
|
+
|
|
897
|
+
Patches that fail tests or reduce performance will be rejected.
|
|
898
|
+
|
|
899
|
+
```sh
|
|
900
|
+
# to run tests
|
|
901
|
+
npm test
|
|
902
|
+
|
|
903
|
+
# to re-generate test fixtures
|
|
904
|
+
npm run test-regen
|
|
905
|
+
|
|
906
|
+
# run the benchmarks
|
|
907
|
+
npm run bench
|
|
908
|
+
|
|
909
|
+
# run the benchmarks in a Docker container that is limited to 4
|
|
910
|
+
# CPUs and 8GB of memory, a few times, and print the medians
|
|
911
|
+
npm run bench:docker
|
|
912
|
+
|
|
913
|
+
# to profile javascript
|
|
914
|
+
npm run prof
|
|
915
|
+
```
|
|
916
|
+
|
|
917
|
+
## Comparison to Other JavaScript Glob Implementations
|
|
918
|
+
|
|
919
|
+
**tl;dr**
|
|
920
|
+
|
|
921
|
+
- If you want glob matching that is as faithful as possible to
|
|
922
|
+
Bash pattern expansion semantics, and as fast as possible
|
|
923
|
+
within that constraint, _use this module_.
|
|
924
|
+
- If you are reasonably sure that the patterns you will encounter
|
|
925
|
+
are relatively simple, and want the fastest sync glob matcher
|
|
926
|
+
out there, _use [fast-glob](http://npm.im/fast-glob)_.
|
|
927
|
+
- If you are reasonably sure that the patterns you will encounter
|
|
928
|
+
are relatively simple, and want the convenience of
|
|
929
|
+
automatically respecting `.gitignore` files, _use
|
|
930
|
+
[globby](http://npm.im/globby)_.
|
|
931
|
+
|
|
932
|
+
There are some other glob matcher libraries on npm, but these
|
|
933
|
+
three are (in my opinion, as of 2023) the best.
|
|
934
|
+
|
|
935
|
+
---
|
|
936
|
+
|
|
937
|
+
**full explanation**
|
|
938
|
+
|
|
939
|
+
Every library reflects a set of opinions and priorities in the
|
|
940
|
+
trade-offs it makes. Other than this library, I can personally
|
|
941
|
+
recommend both [globby](http://npm.im/globby) and
|
|
942
|
+
[fast-glob](http://npm.im/fast-glob), though they differ in their
|
|
943
|
+
benefits and drawbacks.
|
|
944
|
+
|
|
945
|
+
Both have very nice APIs and are reasonably fast.
|
|
946
|
+
|
|
947
|
+
`fast-glob` is, as far as I am aware, the fastest sync glob
|
|
948
|
+
implementation in JavaScript today. However, there are many
|
|
949
|
+
cases where the choices that `fast-glob` makes in pursuit of
|
|
950
|
+
speed mean that its results differ from the results returned by
|
|
951
|
+
Bash and other sh-like shells, which may be surprising.
|
|
952
|
+
|
|
953
|
+
In the [benchmarks below](#benchmark-results), which walk over
|
|
954
|
+
200k files nested 4 directories deep, the sync `fast-glob` takes
|
|
955
|
+
about 25% less time than this module, and the async `fast-glob`
|
|
956
|
+
takes about 5% more, for the patterns where they return the same
|
|
957
|
+
results[1](#fn-webscale). However, there are some inconsistencies
|
|
958
|
+
with Bash matching behavior that this module does not suffer
|
|
959
|
+
from:
|
|
960
|
+
|
|
961
|
+
- `**` only matches files, not directories
|
|
962
|
+
- `..` path portions are not handled unless they appear at the
|
|
963
|
+
start of the pattern
|
|
964
|
+
- `./!(<pattern>)` will not match any files that _start_ with
|
|
965
|
+
`<pattern>`, even if they do not match `<pattern>`. For
|
|
966
|
+
example, `!(9).txt` will not match `9999.txt`.
|
|
967
|
+
- Some brace patterns in the middle of a pattern will result in
|
|
968
|
+
failing to find certain matches.
|
|
969
|
+
- Extglob patterns are allowed to contain `/` characters.
|
|
970
|
+
|
|
971
|
+
Globby exhibits all of the same pattern semantics as fast-glob,
|
|
972
|
+
(as it is a wrapper around fast-glob). In the benchmarks below,
|
|
973
|
+
the sync `globby` takes about 10% less time than this module, and
|
|
974
|
+
the async `globby` takes about 15% more, for the patterns where
|
|
975
|
+
they return the same results. It takes about 10-20% more time
|
|
976
|
+
than `fast-glob`. However, it adds some API conveniences that may
|
|
977
|
+
be worth the costs.
|
|
978
|
+
|
|
979
|
+
- Support for `.gitignore` and other ignore files.
|
|
980
|
+
- Support for negated globs (ie, patterns starting with `!`
|
|
981
|
+
rather than using a separate `ignore` option).
|
|
982
|
+
|
|
983
|
+
The priority of this module is "correctness" in the sense of
|
|
984
|
+
performing a glob pattern expansion as faithfully as possible to
|
|
985
|
+
the behavior of Bash and other sh-like shells, with as much speed
|
|
986
|
+
as possible.
|
|
987
|
+
|
|
988
|
+
> [!NOTE]
|
|
989
|
+
> Prior versions of `node-glob` are _not_ on this list.
|
|
990
|
+
> Former versions of this module are far too slow for any cases
|
|
991
|
+
> where performance matters at all, and were designed with APIs
|
|
992
|
+
> that are extremely dated by current JavaScript standards.
|
|
993
|
+
|
|
994
|
+
---
|
|
995
|
+
|
|
996
|
+
<small id="fn-webscale">[1]: In the cases where this module
|
|
997
|
+
returns results and `fast-glob` doesn't, it's even faster, of
|
|
998
|
+
course.</small>
|
|
999
|
+
|
|
1000
|
+

|
|
1001
|
+
|
|
1002
|
+
### Benchmark Results
|
|
1003
|
+
|
|
1004
|
+
These are from `npm run bench:docker`, which runs the benchmarks
|
|
1005
|
+
in a Linux Docker container that is limited to 4 CPUs and 8GB of
|
|
1006
|
+
memory, with the test files in memory. Each time is the median of
|
|
1007
|
+
3 runs, and includes starting node.
|
|
1008
|
+
|
|
1009
|
+
The first number is time, smaller is better.
|
|
1010
|
+
|
|
1011
|
+
The second number is the count of results returned. The totals at
|
|
1012
|
+
the end are over all of the patterns, including the ones where the
|
|
1013
|
+
implementations return different results.
|
|
1014
|
+
|
|
1015
|
+
```
|
|
1016
|
+
--- pattern: '{0000,0,1111,1}/{0000,0,1111,1}/{0000,0,1111,1}/**' ---
|
|
1017
|
+
~~ sync ~~
|
|
1018
|
+
fast-glob sync 0m0.046s 1600
|
|
1019
|
+
globby sync 0m0.050s 1600
|
|
1020
|
+
fs.globSync 0m0.040s 1776
|
|
1021
|
+
current globSync mjs 0m0.048s 1776
|
|
1022
|
+
current glob syncStream 0m0.046s 1776
|
|
1023
|
+
~~ async ~~
|
|
1024
|
+
fast-glob async 0m0.047s 1600
|
|
1025
|
+
globby async 0m0.053s 1600
|
|
1026
|
+
fs.glob 0m0.054s 1776
|
|
1027
|
+
current glob async mjs 0m0.050s 1776
|
|
1028
|
+
current glob stream 0m0.051s 1776
|
|
1029
|
+
|
|
1030
|
+
--- pattern: '**' ---
|
|
1031
|
+
~~ sync ~~
|
|
1032
|
+
fast-glob sync 0m0.340s 200002
|
|
1033
|
+
globby sync 0m0.423s 200002
|
|
1034
|
+
fs.globSync 0m0.692s 222223
|
|
1035
|
+
current globSync mjs 0m0.437s 222223
|
|
1036
|
+
current glob syncStream 0m0.408s 222223
|
|
1037
|
+
~~ async ~~
|
|
1038
|
+
fast-glob async 0m0.491s 200002
|
|
1039
|
+
globby async 0m0.569s 200002
|
|
1040
|
+
fs.glob 0m1.889s 222223
|
|
1041
|
+
current glob async mjs 0m0.464s 222223
|
|
1042
|
+
current glob stream 0m0.442s 222223
|
|
1043
|
+
|
|
1044
|
+
--- pattern: '**/..' ---
|
|
1045
|
+
~~ sync ~~
|
|
1046
|
+
fast-glob sync 0m0.260s 0
|
|
1047
|
+
globby sync 0m0.432s 200002
|
|
1048
|
+
fs.globSync 0m0.531s 2222
|
|
1049
|
+
current globSync mjs 0m0.351s 2222
|
|
1050
|
+
current glob syncStream 0m0.347s 2222
|
|
1051
|
+
~~ async ~~
|
|
1052
|
+
fast-glob async 0m0.381s 0
|
|
1053
|
+
globby async 0m0.569s 200002
|
|
1054
|
+
fs.glob 0m1.632s 2222
|
|
1055
|
+
current glob async mjs 0m0.373s 2222
|
|
1056
|
+
current glob stream 0m0.366s 2222
|
|
1057
|
+
|
|
1058
|
+
--- pattern: './**/0/**/0/**/0/**/0/**/*.txt' ---
|
|
1059
|
+
~~ sync ~~
|
|
1060
|
+
fast-glob sync 0m0.263s 10
|
|
1061
|
+
globby sync 0m0.267s 10
|
|
1062
|
+
fs.globSync 0m0.547s 10
|
|
1063
|
+
current globSync mjs 0m0.335s 10
|
|
1064
|
+
current glob syncStream 0m0.334s 10
|
|
1065
|
+
~~ async ~~
|
|
1066
|
+
fast-glob async 0m0.374s 10
|
|
1067
|
+
globby async 0m0.388s 10
|
|
1068
|
+
fs.glob 0m1.676s 10
|
|
1069
|
+
current glob async mjs 0m0.342s 10
|
|
1070
|
+
current glob stream 0m0.340s 10
|
|
1071
|
+
|
|
1072
|
+
--- pattern: './**/[01]/**/[12]/**/[23]/**/[45]/**/*.txt' ---
|
|
1073
|
+
~~ sync ~~
|
|
1074
|
+
fast-glob sync 0m0.270s 160
|
|
1075
|
+
globby sync 0m0.269s 160
|
|
1076
|
+
fs.globSync 0m0.588s 160
|
|
1077
|
+
current globSync mjs 0m0.344s 160
|
|
1078
|
+
current glob syncStream 0m0.348s 160
|
|
1079
|
+
~~ async ~~
|
|
1080
|
+
fast-glob async 0m0.380s 160
|
|
1081
|
+
globby async 0m0.401s 160
|
|
1082
|
+
fs.glob 0m1.715s 160
|
|
1083
|
+
current glob async mjs 0m0.346s 160
|
|
1084
|
+
current glob stream 0m0.345s 160
|
|
1085
|
+
|
|
1086
|
+
--- pattern: './**/0/**/0/**/*.txt' ---
|
|
1087
|
+
~~ sync ~~
|
|
1088
|
+
fast-glob sync 0m0.269s 5230
|
|
1089
|
+
globby sync 0m0.276s 5230
|
|
1090
|
+
fs.globSync 0m0.555s 5230
|
|
1091
|
+
current globSync mjs 0m0.343s 5230
|
|
1092
|
+
current glob syncStream 0m0.340s 5230
|
|
1093
|
+
~~ async ~~
|
|
1094
|
+
fast-glob async 0m0.381s 5230
|
|
1095
|
+
globby async 0m0.399s 5230
|
|
1096
|
+
fs.glob 0m1.662s 5230
|
|
1097
|
+
current glob async mjs 0m0.345s 5230
|
|
1098
|
+
current glob stream 0m0.344s 5230
|
|
1099
|
+
|
|
1100
|
+
--- pattern: '**/*.txt' ---
|
|
1101
|
+
~~ sync ~~
|
|
1102
|
+
fast-glob sync 0m0.336s 200000
|
|
1103
|
+
globby sync 0m0.425s 200000
|
|
1104
|
+
fs.globSync 0m0.697s 200000
|
|
1105
|
+
current globSync mjs 0m0.438s 200000
|
|
1106
|
+
current glob syncStream 0m0.411s 200000
|
|
1107
|
+
~~ async ~~
|
|
1108
|
+
fast-glob async 0m0.489s 200000
|
|
1109
|
+
globby async 0m0.563s 200000
|
|
1110
|
+
fs.glob 0m1.866s 200000
|
|
1111
|
+
current glob async mjs 0m0.467s 200000
|
|
1112
|
+
current glob stream 0m0.429s 200000
|
|
1113
|
+
|
|
1114
|
+
--- pattern: '{**/*.txt,**/?/**/*.txt,**/?/**/?/**/*.txt,**/?/**/?/**/?/**/*.txt,**/?/**/?/**/?/**/?/**/*.txt}' ---
|
|
1115
|
+
~~ sync ~~
|
|
1116
|
+
fast-glob sync 0m0.339s 200000
|
|
1117
|
+
globby sync 0m0.428s 200000
|
|
1118
|
+
fs.globSync 0m1.093s 200000
|
|
1119
|
+
current globSync mjs 0m0.463s 200000
|
|
1120
|
+
current glob syncStream 0m0.436s 200000
|
|
1121
|
+
~~ async ~~
|
|
1122
|
+
fast-glob async 0m0.485s 200000
|
|
1123
|
+
globby async 0m0.570s 200000
|
|
1124
|
+
fs.glob 0m2.303s 200000
|
|
1125
|
+
current glob async mjs 0m0.499s 200000
|
|
1126
|
+
current glob stream 0m0.480s 200000
|
|
1127
|
+
|
|
1128
|
+
--- pattern: '**/5555/0000/*.txt' ---
|
|
1129
|
+
~~ sync ~~
|
|
1130
|
+
fast-glob sync 0m0.265s 1000
|
|
1131
|
+
globby sync 0m0.269s 1000
|
|
1132
|
+
fs.globSync 0m0.525s 1000
|
|
1133
|
+
current globSync mjs 0m0.356s 1000
|
|
1134
|
+
current glob syncStream 0m0.360s 1000
|
|
1135
|
+
~~ async ~~
|
|
1136
|
+
fast-glob async 0m0.375s 1000
|
|
1137
|
+
globby async 0m0.383s 1000
|
|
1138
|
+
fs.glob 0m1.592s 1000
|
|
1139
|
+
current glob async mjs 0m0.361s 1000
|
|
1140
|
+
current glob stream 0m0.366s 1000
|
|
1141
|
+
|
|
1142
|
+
--- pattern: './**/0/**/../[01]/**/0/../**/0/*.txt' ---
|
|
1143
|
+
~~ sync ~~
|
|
1144
|
+
fast-glob sync 0m0.261s 0
|
|
1145
|
+
globby sync 0m0.263s 0
|
|
1146
|
+
fs.globSync 0m0.754s 4880
|
|
1147
|
+
current globSync mjs 0m0.351s 4880
|
|
1148
|
+
current glob syncStream 0m0.350s 4880
|
|
1149
|
+
~~ async ~~
|
|
1150
|
+
fast-glob async 0m0.363s 0
|
|
1151
|
+
globby async 0m0.382s 0
|
|
1152
|
+
fs.glob 0m1.869s 4880
|
|
1153
|
+
current glob async mjs 0m0.370s 4880
|
|
1154
|
+
current glob stream 0m0.367s 4880
|
|
1155
|
+
|
|
1156
|
+
--- pattern: '**/????/????/????/????/*.txt' ---
|
|
1157
|
+
~~ sync ~~
|
|
1158
|
+
fast-glob sync 0m0.297s 100000
|
|
1159
|
+
globby sync 0m0.349s 100000
|
|
1160
|
+
fs.globSync 0m0.681s 100000
|
|
1161
|
+
current globSync mjs 0m0.404s 100000
|
|
1162
|
+
current glob syncStream 0m0.399s 100000
|
|
1163
|
+
~~ async ~~
|
|
1164
|
+
fast-glob async 0m0.440s 100000
|
|
1165
|
+
globby async 0m0.484s 100000
|
|
1166
|
+
fs.glob 0m1.805s 100000
|
|
1167
|
+
current glob async mjs 0m0.418s 100000
|
|
1168
|
+
current glob stream 0m0.413s 100000
|
|
1169
|
+
|
|
1170
|
+
--- pattern: './{**/?{/**/?{/**/?{/**/?,,,,},,,,},,,,},,,}/**/*.txt' ---
|
|
1171
|
+
~~ sync ~~
|
|
1172
|
+
fast-glob sync 0m0.337s 200000
|
|
1173
|
+
globby sync 0m0.427s 200000
|
|
1174
|
+
fs.globSync 0m1.264s 200000
|
|
1175
|
+
current globSync mjs 0m0.465s 200000
|
|
1176
|
+
current glob syncStream 0m0.446s 200000
|
|
1177
|
+
~~ async ~~
|
|
1178
|
+
fast-glob async 0m0.491s 200000
|
|
1179
|
+
globby async 0m0.562s 200000
|
|
1180
|
+
fs.glob 0m2.508s 200000
|
|
1181
|
+
current glob async mjs 0m0.494s 200000
|
|
1182
|
+
current glob stream 0m0.473s 200000
|
|
1183
|
+
|
|
1184
|
+
--- pattern: '**/!(0|9).txt' ---
|
|
1185
|
+
~~ sync ~~
|
|
1186
|
+
fast-glob sync 0m0.327s 160000
|
|
1187
|
+
globby sync 0m0.404s 160000
|
|
1188
|
+
fs.globSync 0m0.687s 180000
|
|
1189
|
+
current globSync mjs 0m0.462s 180000
|
|
1190
|
+
current glob syncStream 0m0.418s 180000
|
|
1191
|
+
~~ async ~~
|
|
1192
|
+
fast-glob async 0m0.474s 160000
|
|
1193
|
+
globby async 0m0.552s 160000
|
|
1194
|
+
fs.glob 0m1.876s 180000
|
|
1195
|
+
current glob async mjs 0m0.465s 180000
|
|
1196
|
+
current glob stream 0m0.436s 180000
|
|
1197
|
+
|
|
1198
|
+
--- pattern: './{*/**/../{*/**/../{*/**/../{*/**/../{*/**,,,,},,,,},,,,},,,,},,,,}/*.txt' ---
|
|
1199
|
+
~~ sync ~~
|
|
1200
|
+
fast-glob sync 0m0.262s 0
|
|
1201
|
+
globby sync 0m0.264s 0
|
|
1202
|
+
fs.globSync 0m0.933s 200000
|
|
1203
|
+
current globSync mjs 0m0.557s 200000
|
|
1204
|
+
current glob syncStream 0m0.541s 200000
|
|
1205
|
+
~~ async ~~
|
|
1206
|
+
fast-glob async 0m0.377s 0
|
|
1207
|
+
globby async 0m0.414s 0
|
|
1208
|
+
fs.glob 0m2.135s 200000
|
|
1209
|
+
current glob async mjs 0m0.662s 200000
|
|
1210
|
+
current glob stream 0m0.639s 200000
|
|
1211
|
+
|
|
1212
|
+
--- pattern: './*/**/../*/**/../*/**/../*/**/../*/**/../*/**/../*/**/../*/**/*.txt' ---
|
|
1213
|
+
~~ sync ~~
|
|
1214
|
+
fast-glob sync 0m0.256s 0
|
|
1215
|
+
globby sync 0m0.262s 0
|
|
1216
|
+
fs.globSync 0m0.716s 200000
|
|
1217
|
+
current globSync mjs 0m0.519s 200000
|
|
1218
|
+
current glob syncStream 0m0.494s 200000
|
|
1219
|
+
~~ async ~~
|
|
1220
|
+
fast-glob async 0m0.363s 0
|
|
1221
|
+
globby async 0m0.374s 0
|
|
1222
|
+
fs.glob 0m1.870s 200000
|
|
1223
|
+
current glob async mjs 0m0.565s 200000
|
|
1224
|
+
current glob stream 0m0.542s 200000
|
|
1225
|
+
|
|
1226
|
+
--- pattern: './*/**/../*/**/../*/**/../*/**/../*/**/*.txt' ---
|
|
1227
|
+
~~ sync ~~
|
|
1228
|
+
fast-glob sync 0m0.259s 0
|
|
1229
|
+
globby sync 0m0.262s 0
|
|
1230
|
+
fs.globSync 0m0.725s 200000
|
|
1231
|
+
current globSync mjs 0m0.488s 200000
|
|
1232
|
+
current glob syncStream 0m0.459s 200000
|
|
1233
|
+
~~ async ~~
|
|
1234
|
+
fast-glob async 0m0.366s 0
|
|
1235
|
+
globby async 0m0.379s 0
|
|
1236
|
+
fs.glob 0m1.878s 200000
|
|
1237
|
+
current glob async mjs 0m0.522s 200000
|
|
1238
|
+
current glob stream 0m0.495s 200000
|
|
1239
|
+
|
|
1240
|
+
--- pattern: './0/**/../1/**/../2/**/../3/**/../4/**/../5/**/../6/**/../7/**/*.txt' ---
|
|
1241
|
+
~~ sync ~~
|
|
1242
|
+
fast-glob sync 0m0.050s 0
|
|
1243
|
+
globby sync 0m0.055s 0
|
|
1244
|
+
fs.globSync 0m1.134s 28970
|
|
1245
|
+
current globSync mjs 0m0.290s 28970
|
|
1246
|
+
current glob syncStream 0m0.287s 28970
|
|
1247
|
+
~~ async ~~
|
|
1248
|
+
fast-glob async 0m0.055s 0
|
|
1249
|
+
globby async 0m0.064s 0
|
|
1250
|
+
fs.glob 0m1.745s 28970
|
|
1251
|
+
current glob async mjs 0m0.307s 28970
|
|
1252
|
+
current glob stream 0m0.301s 28970
|
|
1253
|
+
|
|
1254
|
+
--- pattern: './**/?/**/?/**/?/**/?/**/*.txt' ---
|
|
1255
|
+
~~ sync ~~
|
|
1256
|
+
fast-glob sync 0m0.305s 100000
|
|
1257
|
+
globby sync 0m0.353s 100000
|
|
1258
|
+
fs.globSync 0m0.750s 100000
|
|
1259
|
+
current globSync mjs 0m0.400s 100000
|
|
1260
|
+
current glob syncStream 0m0.403s 100000
|
|
1261
|
+
~~ async ~~
|
|
1262
|
+
fast-glob async 0m0.466s 100000
|
|
1263
|
+
globby async 0m0.513s 100000
|
|
1264
|
+
fs.glob 0m1.900s 100000
|
|
1265
|
+
current glob async mjs 0m0.415s 100000
|
|
1266
|
+
current glob stream 0m0.412s 100000
|
|
1267
|
+
|
|
1268
|
+
--- pattern: '**/*/**/*/**/*/**/*/**' ---
|
|
1269
|
+
~~ sync ~~
|
|
1270
|
+
fast-glob sync 0m0.371s 200000
|
|
1271
|
+
globby sync 0m0.470s 200000
|
|
1272
|
+
fs.globSync 0m0.907s 220000
|
|
1273
|
+
current globSync mjs 0m0.476s 220000
|
|
1274
|
+
current glob syncStream 0m0.452s 220000
|
|
1275
|
+
~~ async ~~
|
|
1276
|
+
fast-glob async 0m0.526s 200000
|
|
1277
|
+
globby async 0m0.611s 200000
|
|
1278
|
+
fs.glob 0m2.094s 220000
|
|
1279
|
+
current glob async mjs 0m0.521s 220000
|
|
1280
|
+
current glob stream 0m0.498s 220000
|
|
1281
|
+
|
|
1282
|
+
--- pattern: './**/*/**/*/**/*/**/*/**/*.txt' ---
|
|
1283
|
+
~~ sync ~~
|
|
1284
|
+
fast-glob sync 0m0.367s 200000
|
|
1285
|
+
globby sync 0m0.459s 200000
|
|
1286
|
+
fs.globSync 0m0.911s 200000
|
|
1287
|
+
current globSync mjs 0m0.481s 200000
|
|
1288
|
+
current glob syncStream 0m0.454s 200000
|
|
1289
|
+
~~ async ~~
|
|
1290
|
+
fast-glob async 0m0.519s 200000
|
|
1291
|
+
globby async 0m0.596s 200000
|
|
1292
|
+
fs.glob 0m2.140s 200000
|
|
1293
|
+
current glob async mjs 0m0.508s 200000
|
|
1294
|
+
current glob stream 0m0.483s 200000
|
|
1295
|
+
|
|
1296
|
+
--- pattern: '**/*.txt' ---
|
|
1297
|
+
~~ sync ~~
|
|
1298
|
+
fast-glob sync 0m0.336s 200000
|
|
1299
|
+
globby sync 0m0.425s 200000
|
|
1300
|
+
fs.globSync 0m0.698s 200000
|
|
1301
|
+
current globSync mjs 0m0.437s 200000
|
|
1302
|
+
current glob syncStream 0m0.430s 200000
|
|
1303
|
+
~~ async ~~
|
|
1304
|
+
fast-glob async 0m0.483s 200000
|
|
1305
|
+
globby async 0m0.565s 200000
|
|
1306
|
+
fs.glob 0m1.874s 200000
|
|
1307
|
+
current glob async mjs 0m0.462s 200000
|
|
1308
|
+
current glob stream 0m0.468s 200000
|
|
1309
|
+
|
|
1310
|
+
--- pattern: './**/**/**/**/**/**/**/**/*.txt' ---
|
|
1311
|
+
~~ sync ~~
|
|
1312
|
+
fast-glob sync 0m0.346s 200000
|
|
1313
|
+
globby sync 0m0.442s 200000
|
|
1314
|
+
fs.globSync 0m0.721s 200000
|
|
1315
|
+
current globSync mjs 0m0.437s 200000
|
|
1316
|
+
current glob syncStream 0m0.417s 200000
|
|
1317
|
+
~~ async ~~
|
|
1318
|
+
fast-glob async 0m0.522s 200000
|
|
1319
|
+
globby async 0m0.595s 200000
|
|
1320
|
+
fs.glob 0m1.892s 200000
|
|
1321
|
+
current glob async mjs 0m0.486s 200000
|
|
1322
|
+
current glob stream 0m0.468s 200000
|
|
1323
|
+
|
|
1324
|
+
--- pattern: '**/*/*.txt' ---
|
|
1325
|
+
~~ sync ~~
|
|
1326
|
+
fast-glob sync 0m0.343s 200000
|
|
1327
|
+
globby sync 0m0.434s 200000
|
|
1328
|
+
fs.globSync 0m0.753s 200000
|
|
1329
|
+
current globSync mjs 0m0.448s 200000
|
|
1330
|
+
current glob syncStream 0m0.446s 200000
|
|
1331
|
+
~~ async ~~
|
|
1332
|
+
fast-glob async 0m0.516s 200000
|
|
1333
|
+
globby async 0m0.576s 200000
|
|
1334
|
+
fs.glob 0m1.936s 200000
|
|
1335
|
+
current glob async mjs 0m0.492s 200000
|
|
1336
|
+
current glob stream 0m0.465s 200000
|
|
1337
|
+
|
|
1338
|
+
--- pattern: '**/*/**/*.txt' ---
|
|
1339
|
+
~~ sync ~~
|
|
1340
|
+
fast-glob sync 0m0.341s 200000
|
|
1341
|
+
globby sync 0m0.429s 200000
|
|
1342
|
+
fs.globSync 0m0.772s 200000
|
|
1343
|
+
current globSync mjs 0m0.451s 200000
|
|
1344
|
+
current glob syncStream 0m0.434s 200000
|
|
1345
|
+
~~ async ~~
|
|
1346
|
+
fast-glob async 0m0.492s 200000
|
|
1347
|
+
globby async 0m0.565s 200000
|
|
1348
|
+
fs.glob 0m1.927s 200000
|
|
1349
|
+
current glob async mjs 0m0.480s 200000
|
|
1350
|
+
current glob stream 0m0.447s 200000
|
|
1351
|
+
|
|
1352
|
+
--- pattern: '**/[0-9]/**/*.txt' ---
|
|
1353
|
+
~~ sync ~~
|
|
1354
|
+
fast-glob sync 0m0.307s 100000
|
|
1355
|
+
globby sync 0m0.347s 100000
|
|
1356
|
+
fs.globSync 0m0.667s 100000
|
|
1357
|
+
current globSync mjs 0m0.393s 100000
|
|
1358
|
+
current glob syncStream 0m0.396s 100000
|
|
1359
|
+
~~ async ~~
|
|
1360
|
+
fast-glob async 0m0.458s 100000
|
|
1361
|
+
globby async 0m0.490s 100000
|
|
1362
|
+
fs.glob 0m1.894s 100000
|
|
1363
|
+
current glob async mjs 0m0.433s 100000
|
|
1364
|
+
current glob stream 0m0.426s 100000
|
|
1365
|
+
|
|
1366
|
+
--- total of the medians ---
|
|
1367
|
+
fast-glob sync (sync) 7.153s
|
|
1368
|
+
globby sync (sync) 8.484s
|
|
1369
|
+
fs.globSync (sync) 18.341s
|
|
1370
|
+
current globSync mjs (sync) 10.174s
|
|
1371
|
+
current glob syncStream (sync) 9.856s
|
|
1372
|
+
fast-glob async (async) 10.314s
|
|
1373
|
+
globby async (async) 11.617s
|
|
1374
|
+
fs.glob (async) 45.732s
|
|
1375
|
+
current glob async mjs (async) 10.847s
|
|
1376
|
+
current glob stream (async) 10.496s
|
|
1377
|
+
```
|