zedbee 0.1.0-beta.7 → 0.1.0-beta.9
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/README.md +2 -0
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/checks/applicability.d.ts.map +1 -1
- package/dist/checks/applicability.js +15 -2
- package/dist/checks/applicability.js.map +1 -1
- package/dist/checks/dead-code/import-boundary.d.ts.map +1 -1
- package/dist/checks/dead-code/import-boundary.js +2 -1
- package/dist/checks/dead-code/import-boundary.js.map +1 -1
- package/dist/checks/dead-code/knip-worker.js +5 -3
- package/dist/checks/dead-code/knip-worker.js.map +1 -1
- package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
- package/dist/checks/dead-code/managed-config.js +2 -1
- package/dist/checks/dead-code/managed-config.js.map +1 -1
- package/dist/checks/dead-code/managed-knip.d.ts +2 -0
- package/dist/checks/dead-code/managed-knip.d.ts.map +1 -0
- package/dist/checks/dead-code/managed-knip.js +5 -0
- package/dist/checks/dead-code/managed-knip.js.map +1 -0
- package/dist/checks/engine-identity.d.ts.map +1 -1
- package/dist/checks/engine-identity.js +4 -1
- package/dist/checks/engine-identity.js.map +1 -1
- package/dist/checks/typescript/adapter.d.ts.map +1 -1
- package/dist/checks/typescript/adapter.js +7 -5
- package/dist/checks/typescript/adapter.js.map +1 -1
- package/dist/checks/typescript/compare-diagnostics.d.ts +12 -0
- package/dist/checks/typescript/compare-diagnostics.d.ts.map +1 -0
- package/dist/checks/typescript/compare-diagnostics.js +90 -0
- package/dist/checks/typescript/compare-diagnostics.js.map +1 -0
- package/dist/vendor/knip/LICENSE +15 -0
- package/dist/vendor/knip/README.md +75 -0
- package/dist/vendor/knip/bin/knip-bun.js +2 -0
- package/dist/vendor/knip/bin/knip.js +2 -0
- package/dist/vendor/knip/dist/CacheConsultant.d.ts +10 -0
- package/dist/vendor/knip/dist/CacheConsultant.js +25 -0
- package/dist/vendor/knip/dist/CatalogCounselor.d.ts +21 -0
- package/dist/vendor/knip/dist/CatalogCounselor.js +68 -0
- package/dist/vendor/knip/dist/ConfigurationChief.d.ts +1183 -0
- package/dist/vendor/knip/dist/ConfigurationChief.js +414 -0
- package/dist/vendor/knip/dist/ConsoleStreamer.d.ts +16 -0
- package/dist/vendor/knip/dist/ConsoleStreamer.js +60 -0
- package/dist/vendor/knip/dist/DependencyDeputy.d.ts +88 -0
- package/dist/vendor/knip/dist/DependencyDeputy.js +396 -0
- package/dist/vendor/knip/dist/IssueCollector.d.ts +60 -0
- package/dist/vendor/knip/dist/IssueCollector.js +200 -0
- package/dist/vendor/knip/dist/IssueFixer.d.ts +3 -0
- package/dist/vendor/knip/dist/IssueFixer.js +162 -0
- package/dist/vendor/knip/dist/JsonCatalogPeeker.d.ts +12 -0
- package/dist/vendor/knip/dist/JsonCatalogPeeker.js +68 -0
- package/dist/vendor/knip/dist/PackagePeeker.d.ts +18 -0
- package/dist/vendor/knip/dist/PackagePeeker.js +72 -0
- package/dist/vendor/knip/dist/ProjectPrincipal.d.ts +59 -0
- package/dist/vendor/knip/dist/ProjectPrincipal.js +245 -0
- package/dist/vendor/knip/dist/WorkspaceWorker.d.ts +73 -0
- package/dist/vendor/knip/dist/WorkspaceWorker.js +533 -0
- package/dist/vendor/knip/dist/YamlCatalogPeeker.d.ts +12 -0
- package/dist/vendor/knip/dist/YamlCatalogPeeker.js +66 -0
- package/dist/vendor/knip/dist/binaries/bash-parser.d.ts +3 -0
- package/dist/vendor/knip/dist/binaries/bash-parser.js +132 -0
- package/dist/vendor/knip/dist/binaries/create-script-parser-context.d.ts +7 -0
- package/dist/vendor/knip/dist/binaries/create-script-parser-context.js +17 -0
- package/dist/vendor/knip/dist/binaries/fallback.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/fallback.js +21 -0
- package/dist/vendor/knip/dist/binaries/index.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/index.js +22 -0
- package/dist/vendor/knip/dist/binaries/plugins.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/plugins.js +76 -0
- package/dist/vendor/knip/dist/binaries/resolvers/bun.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/bun.js +86 -0
- package/dist/vendor/knip/dist/binaries/resolvers/bunx.d.ts +4 -0
- package/dist/vendor/knip/dist/binaries/resolvers/bunx.js +25 -0
- package/dist/vendor/knip/dist/binaries/resolvers/find.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/find.js +19 -0
- package/dist/vendor/knip/dist/binaries/resolvers/index.d.ts +15 -0
- package/dist/vendor/knip/dist/binaries/resolvers/index.js +23 -0
- package/dist/vendor/knip/dist/binaries/resolvers/npm.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/npm.js +14 -0
- package/dist/vendor/knip/dist/binaries/resolvers/npx.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/npx.js +26 -0
- package/dist/vendor/knip/dist/binaries/resolvers/nub.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/nub.js +46 -0
- package/dist/vendor/knip/dist/binaries/resolvers/pnpm.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/pnpm.js +118 -0
- package/dist/vendor/knip/dist/binaries/resolvers/pnpx.d.ts +4 -0
- package/dist/vendor/knip/dist/binaries/resolvers/pnpx.js +23 -0
- package/dist/vendor/knip/dist/binaries/resolvers/yarn.d.ts +2 -0
- package/dist/vendor/knip/dist/binaries/resolvers/yarn.js +88 -0
- package/dist/vendor/knip/dist/binaries/util.d.ts +8 -0
- package/dist/vendor/knip/dist/binaries/util.js +42 -0
- package/dist/vendor/knip/dist/cli.d.ts +1 -0
- package/dist/vendor/knip/dist/cli.js +107 -0
- package/dist/vendor/knip/dist/compilers/compilers.d.ts +14 -0
- package/dist/vendor/knip/dist/compilers/compilers.js +56 -0
- package/dist/vendor/knip/dist/compilers/index.d.ts +1869 -0
- package/dist/vendor/knip/dist/compilers/index.js +63 -0
- package/dist/vendor/knip/dist/compilers/less.d.ts +7 -0
- package/dist/vendor/knip/dist/compilers/less.js +37 -0
- package/dist/vendor/knip/dist/compilers/mdx.d.ts +6 -0
- package/dist/vendor/knip/dist/compilers/mdx.js +28 -0
- package/dist/vendor/knip/dist/compilers/scss.d.ts +7 -0
- package/dist/vendor/knip/dist/compilers/scss.js +69 -0
- package/dist/vendor/knip/dist/compilers/shared.d.ts +7 -0
- package/dist/vendor/knip/dist/compilers/shared.js +9 -0
- package/dist/vendor/knip/dist/compilers/style-preprocessors.d.ts +2 -0
- package/dist/vendor/knip/dist/compilers/style-preprocessors.js +41 -0
- package/dist/vendor/knip/dist/compilers/stylus.d.ts +7 -0
- package/dist/vendor/knip/dist/compilers/stylus.js +36 -0
- package/dist/vendor/knip/dist/compilers/svelte.d.ts +2 -0
- package/dist/vendor/knip/dist/compilers/svelte.js +22 -0
- package/dist/vendor/knip/dist/compilers/tsrx.d.ts +5 -0
- package/dist/vendor/knip/dist/compilers/tsrx.js +3 -0
- package/dist/vendor/knip/dist/compilers/types.d.ts +9 -0
- package/dist/vendor/knip/dist/compilers/types.js +1 -0
- package/dist/vendor/knip/dist/constants.d.ts +72 -0
- package/dist/vendor/knip/dist/constants.js +277 -0
- package/dist/vendor/knip/dist/graph/analyze.d.ts +21 -0
- package/dist/vendor/knip/dist/graph/analyze.js +303 -0
- package/dist/vendor/knip/dist/graph/build.d.ts +30 -0
- package/dist/vendor/knip/dist/graph/build.js +492 -0
- package/dist/vendor/knip/dist/graph-explorer/cache.d.ts +10 -0
- package/dist/vendor/knip/dist/graph-explorer/cache.js +72 -0
- package/dist/vendor/knip/dist/graph-explorer/constants.d.ts +9 -0
- package/dist/vendor/knip/dist/graph-explorer/constants.js +9 -0
- package/dist/vendor/knip/dist/graph-explorer/explorer.d.ts +20 -0
- package/dist/vendor/knip/dist/graph-explorer/explorer.js +24 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/build-exports-tree.d.ts +15 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/build-exports-tree.js +97 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/find-all-cycles.d.ts +3 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/find-all-cycles.js +43 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/find-cycles.d.ts +3 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/find-cycles.js +32 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-contention.d.ts +3 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-contention.js +142 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-dependency-usage.d.ts +14 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-dependency-usage.js +38 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-usage.d.ts +13 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/get-usage.js +34 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/has-strictly-ns-references.d.ts +2 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/has-strictly-ns-references.js +91 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/is-referenced.d.ts +5 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/is-referenced.js +121 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/resolve-definition.d.ts +16 -0
- package/dist/vendor/knip/dist/graph-explorer/operations/resolve-definition.js +38 -0
- package/dist/vendor/knip/dist/graph-explorer/utils.d.ts +14 -0
- package/dist/vendor/knip/dist/graph-explorer/utils.js +127 -0
- package/dist/vendor/knip/dist/graph-explorer/visitors.d.ts +12 -0
- package/dist/vendor/knip/dist/graph-explorer/visitors.js +30 -0
- package/dist/vendor/knip/dist/graph-explorer/walk-down.d.ts +5 -0
- package/dist/vendor/knip/dist/graph-explorer/walk-down.js +113 -0
- package/dist/vendor/knip/dist/graph-explorer/walk-up.d.ts +6 -0
- package/dist/vendor/knip/dist/graph-explorer/walk-up.js +67 -0
- package/dist/vendor/knip/dist/index.d.ts +12 -0
- package/dist/vendor/knip/dist/index.js +8 -0
- package/dist/vendor/knip/dist/manifest/helpers.d.ts +9 -0
- package/dist/vendor/knip/dist/manifest/helpers.js +62 -0
- package/dist/vendor/knip/dist/manifest/index.d.ts +13 -0
- package/dist/vendor/knip/dist/manifest/index.js +47 -0
- package/dist/vendor/knip/dist/plugins/_custom-elements/custom-element-visitor.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/_custom-elements/custom-element-visitor.js +106 -0
- package/dist/vendor/knip/dist/plugins/_template/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/_template/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/_template/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/_template/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/_vue/auto-import.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/_vue/auto-import.js +332 -0
- package/dist/vendor/knip/dist/plugins/_vue/types.d.ts +45 -0
- package/dist/vendor/knip/dist/plugins/_vue/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/angular/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/angular/index.js +121 -0
- package/dist/vendor/knip/dist/plugins/angular/types.d.ts +1048 -0
- package/dist/vendor/knip/dist/plugins/angular/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/astro/compiler-mdx.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/astro/compiler-mdx.js +17 -0
- package/dist/vendor/knip/dist/plugins/astro/compiler.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/astro/compiler.js +21 -0
- package/dist/vendor/knip/dist/plugins/astro/index.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/astro/index.js +38 -0
- package/dist/vendor/knip/dist/plugins/astro/resolveFromAST.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/astro/resolveFromAST.js +69 -0
- package/dist/vendor/knip/dist/plugins/astro-db/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/astro-db/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/astro-markdoc/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/astro-markdoc/index.js +35 -0
- package/dist/vendor/knip/dist/plugins/astro-markdoc/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/astro-markdoc/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/astro-og-canvas/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/astro-og-canvas/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/ava/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/ava/index.js +36 -0
- package/dist/vendor/knip/dist/plugins/ava/types.d.ts +8 -0
- package/dist/vendor/knip/dist/plugins/ava/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/babel/helpers.d.ts +16 -0
- package/dist/vendor/knip/dist/plugins/babel/helpers.js +42 -0
- package/dist/vendor/knip/dist/plugins/babel/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/babel/index.js +39 -0
- package/dist/vendor/knip/dist/plugins/babel/types.d.ts +11 -0
- package/dist/vendor/knip/dist/plugins/babel/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/biome/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/biome/index.js +28 -0
- package/dist/vendor/knip/dist/plugins/biome/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/biome/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/borp/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/borp/index.js +61 -0
- package/dist/vendor/knip/dist/plugins/borp/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/borp/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/bumpp/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/bumpp/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/bun/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/bun/index.js +57 -0
- package/dist/vendor/knip/dist/plugins/bun/types.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/bun/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/c8/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/c8/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/capacitor/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/capacitor/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/capacitor/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/capacitor/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/catalyst/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/catalyst/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/changelogen/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/changelogen/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/changelogithub/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/changelogithub/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/changesets/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/changesets/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/changesets/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/changesets/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/commitizen/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/commitizen/index.js +21 -0
- package/dist/vendor/knip/dist/plugins/commitizen/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/commitizen/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/commitlint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/commitlint/index.js +37 -0
- package/dist/vendor/knip/dist/plugins/commitlint/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/commitlint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/convex/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/convex/index.js +21 -0
- package/dist/vendor/knip/dist/plugins/convex/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/convex/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/create-typescript-app/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/create-typescript-app/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/cspell/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/cspell/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/cspell/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/cspell/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/cucumber/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/cucumber/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/cucumber/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/cucumber/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/cypress/helpers.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/cypress/helpers.js +23 -0
- package/dist/vendor/knip/dist/plugins/cypress/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/cypress/index.js +34 -0
- package/dist/vendor/knip/dist/plugins/cypress/types.d.ts +13 -0
- package/dist/vendor/knip/dist/plugins/cypress/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/danger/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/danger/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/dependency-cruiser/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/dependency-cruiser/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/helpers.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/helpers.js +96 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/index.js +52 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/types.d.ts +56 -0
- package/dist/vendor/knip/dist/plugins/docusaurus/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/dotenv/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/dotenv/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/drizzle/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/drizzle/index.js +19 -0
- package/dist/vendor/knip/dist/plugins/drizzle/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/drizzle/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/electron-vite/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/electron-vite/index.js +51 -0
- package/dist/vendor/knip/dist/plugins/electron-vite/types.d.ts +23 -0
- package/dist/vendor/knip/dist/plugins/electron-vite/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/eleventy/helpers.d.ts +155 -0
- package/dist/vendor/knip/dist/plugins/eleventy/helpers.js +164 -0
- package/dist/vendor/knip/dist/plugins/eleventy/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/eleventy/index.js +53 -0
- package/dist/vendor/knip/dist/plugins/eleventy/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/eleventy/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/esbuild/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/esbuild/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/eslint/helpers.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/eslint/helpers.js +95 -0
- package/dist/vendor/knip/dist/plugins/eslint/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/eslint/index.js +73 -0
- package/dist/vendor/knip/dist/plugins/eslint/resolveFromAST.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/eslint/resolveFromAST.js +40 -0
- package/dist/vendor/knip/dist/plugins/eslint/types.d.ts +29 -0
- package/dist/vendor/knip/dist/plugins/eslint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/eve/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/eve/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/execa/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/execa/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/execa/visitors/execa.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/execa/visitors/execa.js +41 -0
- package/dist/vendor/knip/dist/plugins/expo/helpers.d.ts +20 -0
- package/dist/vendor/knip/dist/plugins/expo/helpers.js +65 -0
- package/dist/vendor/knip/dist/plugins/expo/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/expo/index.js +37 -0
- package/dist/vendor/knip/dist/plugins/expo/types.d.ts +28 -0
- package/dist/vendor/knip/dist/plugins/expo/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/expressive-code/index.d.ts +8 -0
- package/dist/vendor/knip/dist/plugins/expressive-code/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/fast/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/fast/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/fumadocs/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/fumadocs/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/gatsby/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/gatsby/index.js +41 -0
- package/dist/vendor/knip/dist/plugins/gatsby/types.d.ts +15 -0
- package/dist/vendor/knip/dist/plugins/gatsby/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/github-action/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/github-action/index.js +29 -0
- package/dist/vendor/knip/dist/plugins/github-actions/index.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/github-actions/index.js +58 -0
- package/dist/vendor/knip/dist/plugins/github-actions/types.d.ts +20 -0
- package/dist/vendor/knip/dist/plugins/github-actions/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/glob/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/glob/index.js +11 -0
- package/dist/vendor/knip/dist/plugins/graphql-codegen/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/graphql-codegen/index.js +74 -0
- package/dist/vendor/knip/dist/plugins/graphql-codegen/types.d.ts +37 -0
- package/dist/vendor/knip/dist/plugins/graphql-codegen/types.js +9 -0
- package/dist/vendor/knip/dist/plugins/hardhat/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/hardhat/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/husky/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/husky/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/i18next-parser/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/i18next-parser/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/index.d.ts +189 -0
- package/dist/vendor/knip/dist/plugins/index.js +366 -0
- package/dist/vendor/knip/dist/plugins/jest/helpers.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/jest/helpers.js +41 -0
- package/dist/vendor/knip/dist/plugins/jest/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/jest/index.js +130 -0
- package/dist/vendor/knip/dist/plugins/jest/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/jest/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/karma/helpers.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/karma/helpers.js +32 -0
- package/dist/vendor/knip/dist/plugins/karma/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/karma/index.js +41 -0
- package/dist/vendor/knip/dist/plugins/karma/types.d.ts +22 -0
- package/dist/vendor/knip/dist/plugins/karma/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/knex/helpers.d.ts +1 -0
- package/dist/vendor/knip/dist/plugins/knex/helpers.js +19 -0
- package/dist/vendor/knip/dist/plugins/knex/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/knex/index.js +42 -0
- package/dist/vendor/knip/dist/plugins/knex/types.d.ts +11 -0
- package/dist/vendor/knip/dist/plugins/knex/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/knex/visitors/clientCall.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/knex/visitors/clientCall.js +83 -0
- package/dist/vendor/knip/dist/plugins/ladle/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/ladle/index.js +34 -0
- package/dist/vendor/knip/dist/plugins/ladle/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/ladle/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/laravel-vite-plugin/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/laravel-vite-plugin/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/laravel-vite-plugin/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/laravel-vite-plugin/resolveFromAST.js +27 -0
- package/dist/vendor/knip/dist/plugins/lefthook/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lefthook/index.js +39 -0
- package/dist/vendor/knip/dist/plugins/lint-staged/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lint-staged/index.js +41 -0
- package/dist/vendor/knip/dist/plugins/lint-staged/types.d.ts +10 -0
- package/dist/vendor/knip/dist/plugins/lint-staged/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/linthtml/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/linthtml/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/linthtml/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/linthtml/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/lit/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lit/index.js +25 -0
- package/dist/vendor/knip/dist/plugins/lockfile-lint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lockfile-lint/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/lost-pixel/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lost-pixel/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/lunaria/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/lunaria/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/lunaria/types.d.ts +16 -0
- package/dist/vendor/knip/dist/plugins/lunaria/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/helpers.d.ts +1 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/helpers.js +6 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/index.js +47 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/types.d.ts +9 -0
- package/dist/vendor/knip/dist/plugins/markdownlint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/marko/compiler.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/marko/compiler.js +85 -0
- package/dist/vendor/knip/dist/plugins/marko/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/marko/index.js +63 -0
- package/dist/vendor/knip/dist/plugins/marko/taglibs.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/marko/taglibs.js +111 -0
- package/dist/vendor/knip/dist/plugins/marko/types.d.ts +9 -0
- package/dist/vendor/knip/dist/plugins/marko/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/mdx/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/mdx/index.js +32 -0
- package/dist/vendor/knip/dist/plugins/mdx/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/mdx/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/mdxlint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/mdxlint/index.js +31 -0
- package/dist/vendor/knip/dist/plugins/mdxlint/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/mdxlint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/metro/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/metro/index.js +61 -0
- package/dist/vendor/knip/dist/plugins/metro/types.d.ts +13 -0
- package/dist/vendor/knip/dist/plugins/metro/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/mocha/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/mocha/index.js +87 -0
- package/dist/vendor/knip/dist/plugins/mocha/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/mocha/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/moonrepo/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/moonrepo/index.js +26 -0
- package/dist/vendor/knip/dist/plugins/moonrepo/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/moonrepo/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/msw/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/msw/index.js +22 -0
- package/dist/vendor/knip/dist/plugins/msw/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/msw/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/nano-spawn/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nano-spawn/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/nano-spawn/visitors/nano-spawn.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/nano-spawn/visitors/nano-spawn.js +12 -0
- package/dist/vendor/knip/dist/plugins/nano-staged/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nano-staged/index.js +34 -0
- package/dist/vendor/knip/dist/plugins/nano-staged/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/nano-staged/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/nest/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nest/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/nest/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nest/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/netlify/helpers.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/netlify/helpers.js +4 -0
- package/dist/vendor/knip/dist/plugins/netlify/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/netlify/index.js +32 -0
- package/dist/vendor/knip/dist/plugins/netlify/types.d.ts +11 -0
- package/dist/vendor/knip/dist/plugins/netlify/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/next/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/next/index.js +65 -0
- package/dist/vendor/knip/dist/plugins/next-intl/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/next-intl/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/next-mdx/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/next-mdx/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/next-mdx/resolveFromAST.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/next-mdx/resolveFromAST.js +20 -0
- package/dist/vendor/knip/dist/plugins/nitro/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/nitro/index.js +60 -0
- package/dist/vendor/knip/dist/plugins/nitro/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/nitro/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/node/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/node/index.js +57 -0
- package/dist/vendor/knip/dist/plugins/node-modules-inspector/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/node-modules-inspector/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/nodemon/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nodemon/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/npm-package-json-lint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/npm-package-json-lint/index.js +20 -0
- package/dist/vendor/knip/dist/plugins/npm-package-json-lint/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/npm-package-json-lint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/nuxt/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nuxt/index.js +158 -0
- package/dist/vendor/knip/dist/plugins/nuxt/types.d.ts +27 -0
- package/dist/vendor/knip/dist/plugins/nuxt/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/nuxtjs-i18n/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nuxtjs-i18n/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/nx/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/nx/index.js +96 -0
- package/dist/vendor/knip/dist/plugins/nx/types.d.ts +27 -0
- package/dist/vendor/knip/dist/plugins/nx/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/nyc/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/nyc/index.js +19 -0
- package/dist/vendor/knip/dist/plugins/nyc/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/nyc/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/oclif/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/oclif/index.js +24 -0
- package/dist/vendor/knip/dist/plugins/oclif/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/oclif/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/openapi-ts/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/openapi-ts/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/openclaw/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/openclaw/index.js +52 -0
- package/dist/vendor/knip/dist/plugins/openclaw/types.d.ts +25 -0
- package/dist/vendor/knip/dist/plugins/openclaw/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/orval/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/orval/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/orval/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/orval/resolveFromAST.js +8 -0
- package/dist/vendor/knip/dist/plugins/orval/types.d.ts +9 -0
- package/dist/vendor/knip/dist/plugins/orval/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/oxfmt/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/oxfmt/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/oxlint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/oxlint/index.js +66 -0
- package/dist/vendor/knip/dist/plugins/oxlint/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/oxlint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/panda-css/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/panda-css/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/panda-css/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/panda-css/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/parcel/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/parcel/index.js +54 -0
- package/dist/vendor/knip/dist/plugins/parcel/types.d.ts +13 -0
- package/dist/vendor/knip/dist/plugins/parcel/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/payload/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/payload/index.js +29 -0
- package/dist/vendor/knip/dist/plugins/payload/types.d.ts +10 -0
- package/dist/vendor/knip/dist/plugins/payload/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/pino/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/pino/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/pino/visitors/transportCall.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/pino/visitors/transportCall.js +87 -0
- package/dist/vendor/knip/dist/plugins/playwright/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/playwright/index.js +50 -0
- package/dist/vendor/knip/dist/plugins/playwright/types.d.ts +42 -0
- package/dist/vendor/knip/dist/plugins/playwright/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/playwright-ct/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/playwright-ct/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/playwright-test/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/playwright-test/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/plop/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/plop/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/pm2/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/pm2/index.js +34 -0
- package/dist/vendor/knip/dist/plugins/pm2/types.d.ts +9 -0
- package/dist/vendor/knip/dist/plugins/pm2/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/pnpm/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/pnpm/index.js +33 -0
- package/dist/vendor/knip/dist/plugins/pnpm/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/pnpm/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/postcss/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/postcss/index.js +35 -0
- package/dist/vendor/knip/dist/plugins/postcss/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/postcss/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/pre-commit/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/pre-commit/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/preconstruct/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/preconstruct/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/preconstruct/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/preconstruct/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/prettier/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/prettier/index.js +48 -0
- package/dist/vendor/knip/dist/plugins/prettier/types.d.ts +13 -0
- package/dist/vendor/knip/dist/plugins/prettier/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/prisma/compiler.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/prisma/compiler.js +15 -0
- package/dist/vendor/knip/dist/plugins/prisma/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/prisma/index.js +58 -0
- package/dist/vendor/knip/dist/plugins/prisma/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/prisma/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/quasar/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/quasar/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/quasar/resolveFromAST.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/quasar/resolveFromAST.js +63 -0
- package/dist/vendor/knip/dist/plugins/qwik/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/qwik/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/qwik/resolveFromAST.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/qwik/resolveFromAST.js +38 -0
- package/dist/vendor/knip/dist/plugins/raycast/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/raycast/index.js +25 -0
- package/dist/vendor/knip/dist/plugins/raycast/types.d.ts +11 -0
- package/dist/vendor/knip/dist/plugins/raycast/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/react-cosmos/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/react-cosmos/index.js +31 -0
- package/dist/vendor/knip/dist/plugins/react-cosmos/types.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/react-cosmos/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/react-email/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/react-email/index.js +29 -0
- package/dist/vendor/knip/dist/plugins/react-native/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/react-native/index.js +38 -0
- package/dist/vendor/knip/dist/plugins/react-native/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/react-native/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/react-router/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/react-router/index.js +53 -0
- package/dist/vendor/knip/dist/plugins/react-router/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/react-router/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/relay/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/relay/index.js +32 -0
- package/dist/vendor/knip/dist/plugins/relay/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/relay/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/release-it/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/release-it/index.js +26 -0
- package/dist/vendor/knip/dist/plugins/release-it/types.d.ts +10 -0
- package/dist/vendor/knip/dist/plugins/release-it/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/remark/helpers.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/remark/helpers.js +42 -0
- package/dist/vendor/knip/dist/plugins/remark/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/remark/index.js +28 -0
- package/dist/vendor/knip/dist/plugins/remark/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/remark/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/remix/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/remix/index.js +19 -0
- package/dist/vendor/knip/dist/plugins/rolldown/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rolldown/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/rollup/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rollup/index.js +27 -0
- package/dist/vendor/knip/dist/plugins/rsbuild/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rsbuild/index.js +50 -0
- package/dist/vendor/knip/dist/plugins/rsbuild/types.d.ts +15 -0
- package/dist/vendor/knip/dist/plugins/rsbuild/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/rslib/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rslib/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/rspack/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rspack/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/rstest/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/rstest/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/rstest/types.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/rstest/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/sanity/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/sanity/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/semantic-release/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/semantic-release/index.js +29 -0
- package/dist/vendor/knip/dist/plugins/semantic-release/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/semantic-release/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/sentry/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/sentry/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/serverless-framework/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/serverless-framework/index.js +39 -0
- package/dist/vendor/knip/dist/plugins/serverless-framework/types.d.ts +17 -0
- package/dist/vendor/knip/dist/plugins/serverless-framework/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/simple-git-hooks/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/simple-git-hooks/index.js +28 -0
- package/dist/vendor/knip/dist/plugins/simple-git-hooks/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/simple-git-hooks/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/size-limit/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/size-limit/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/sst/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/sst/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/sst/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/sst/resolveFromAST.js +48 -0
- package/dist/vendor/knip/dist/plugins/starlight/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/starlight/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/starlight/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/starlight/resolveFromAST.js +13 -0
- package/dist/vendor/knip/dist/plugins/stencil/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/stencil/index.js +69 -0
- package/dist/vendor/knip/dist/plugins/stencil/resolveFromAST.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/stencil/resolveFromAST.js +36 -0
- package/dist/vendor/knip/dist/plugins/storybook/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/storybook/index.js +76 -0
- package/dist/vendor/knip/dist/plugins/storybook/types.d.ts +25 -0
- package/dist/vendor/knip/dist/plugins/storybook/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/stryker/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/stryker/index.js +27 -0
- package/dist/vendor/knip/dist/plugins/stryker/types.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/stryker/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/stylelint/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/stylelint/index.js +36 -0
- package/dist/vendor/knip/dist/plugins/stylelint/types.d.ts +9 -0
- package/dist/vendor/knip/dist/plugins/stylelint/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/svelte/compiler.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/svelte/compiler.js +12 -0
- package/dist/vendor/knip/dist/plugins/svelte/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/svelte/index.js +19 -0
- package/dist/vendor/knip/dist/plugins/sveltejs-package/helpers.d.ts +8 -0
- package/dist/vendor/knip/dist/plugins/sveltejs-package/helpers.js +65 -0
- package/dist/vendor/knip/dist/plugins/sveltejs-package/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/sveltejs-package/index.js +27 -0
- package/dist/vendor/knip/dist/plugins/sveltekit/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/sveltekit/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/sveltekit/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/sveltekit/resolveFromAST.js +45 -0
- package/dist/vendor/knip/dist/plugins/svgo/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/svgo/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/svgr/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/svgr/index.js +24 -0
- package/dist/vendor/knip/dist/plugins/svgr/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/svgr/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/swc/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/swc/index.js +20 -0
- package/dist/vendor/knip/dist/plugins/swc/types.d.ts +8 -0
- package/dist/vendor/knip/dist/plugins/swc/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/syncpack/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/syncpack/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/tailwind/compiler.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/tailwind/compiler.js +19 -0
- package/dist/vendor/knip/dist/plugins/tailwind/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tailwind/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/tanstack-router/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tanstack-router/index.js +32 -0
- package/dist/vendor/knip/dist/plugins/tanstack-router/types.d.ts +22 -0
- package/dist/vendor/knip/dist/plugins/tanstack-router/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/taskfile/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/taskfile/index.js +120 -0
- package/dist/vendor/knip/dist/plugins/taskfile/types.d.ts +25 -0
- package/dist/vendor/knip/dist/plugins/taskfile/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/tauri/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tauri/index.js +42 -0
- package/dist/vendor/knip/dist/plugins/tauri/types.d.ts +16 -0
- package/dist/vendor/knip/dist/plugins/tauri/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/temporal/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/temporal/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/travis/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/travis/index.js +24 -0
- package/dist/vendor/knip/dist/plugins/ts-node/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/ts-node/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/tsd/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tsd/index.js +43 -0
- package/dist/vendor/knip/dist/plugins/tsd/types.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/tsd/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/tsdown/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tsdown/index.js +98 -0
- package/dist/vendor/knip/dist/plugins/tsdown/types.d.ts +10 -0
- package/dist/vendor/knip/dist/plugins/tsdown/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/tsup/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tsup/index.js +38 -0
- package/dist/vendor/knip/dist/plugins/tsup/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/tsup/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/tsx/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/tsx/index.js +35 -0
- package/dist/vendor/knip/dist/plugins/typedoc/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/typedoc/index.js +39 -0
- package/dist/vendor/knip/dist/plugins/typedoc/types.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/typedoc/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/typescript/index.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/typescript/index.js +51 -0
- package/dist/vendor/knip/dist/plugins/unbuild/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unbuild/index.js +21 -0
- package/dist/vendor/knip/dist/plugins/unbuild/types.d.ts +13 -0
- package/dist/vendor/knip/dist/plugins/unbuild/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/unocss/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unocss/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/unplugin-auto-import/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-auto-import/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/unplugin-icons/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-icons/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-components/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-components/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-i18n/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-i18n/index.js +10 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-markdown/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-markdown/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-router/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/unplugin-vue-router/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/vercel/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vercel/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/vercel-og/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vercel-og/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/vike/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vike/index.js +13 -0
- package/dist/vendor/knip/dist/plugins/vite/helpers.d.ts +6 -0
- package/dist/vendor/knip/dist/plugins/vite/helpers.js +86 -0
- package/dist/vendor/knip/dist/plugins/vite/index.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/vite/index.js +30 -0
- package/dist/vendor/knip/dist/plugins/vite/visitors/importMetaGlob.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/vite/visitors/importMetaGlob.js +28 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pages/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pages/index.js +26 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pwa/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pwa/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pwa/resolveFromAST.d.ts +4 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-pwa/resolveFromAST.js +37 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-vue-layouts-next/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vite-plugin-vue-layouts-next/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/vite-plus/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vite-plus/index.js +14 -0
- package/dist/vendor/knip/dist/plugins/vite-plus/resolveFromAST.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/vite-plus/resolveFromAST.js +37 -0
- package/dist/vendor/knip/dist/plugins/vite-pwa-assets-generator/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vite-pwa-assets-generator/index.js +12 -0
- package/dist/vendor/knip/dist/plugins/vitepress/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vitepress/index.js +16 -0
- package/dist/vendor/knip/dist/plugins/vitest/helpers.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/vitest/helpers.js +57 -0
- package/dist/vendor/knip/dist/plugins/vitest/index.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/vitest/index.js +223 -0
- package/dist/vendor/knip/dist/plugins/vitest/types.d.ts +70 -0
- package/dist/vendor/knip/dist/plugins/vitest/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/vue/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/vue/index.js +45 -0
- package/dist/vendor/knip/dist/plugins/vue/types.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/vue/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/webdriver-io/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/webdriver-io/index.js +35 -0
- package/dist/vendor/knip/dist/plugins/webdriver-io/types.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins/webdriver-io/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/webpack/index.d.ts +5 -0
- package/dist/vendor/knip/dist/plugins/webpack/index.js +198 -0
- package/dist/vendor/knip/dist/plugins/webpack/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/webpack/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/webpack/visitors/requireContext.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/webpack/visitors/requireContext.js +21 -0
- package/dist/vendor/knip/dist/plugins/wireit/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wireit/index.js +18 -0
- package/dist/vendor/knip/dist/plugins/wireit/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wireit/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/wrangler/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wrangler/index.js +17 -0
- package/dist/vendor/knip/dist/plugins/wrangler/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wrangler/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/wxt/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wxt/index.js +27 -0
- package/dist/vendor/knip/dist/plugins/wxt/types.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/wxt/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/xo/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/xo/index.js +23 -0
- package/dist/vendor/knip/dist/plugins/xo/types.d.ts +12 -0
- package/dist/vendor/knip/dist/plugins/xo/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/yarn/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/yarn/index.js +43 -0
- package/dist/vendor/knip/dist/plugins/yarn/types.d.ts +8 -0
- package/dist/vendor/knip/dist/plugins/yarn/types.js +1 -0
- package/dist/vendor/knip/dist/plugins/yorkie/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/yorkie/index.js +25 -0
- package/dist/vendor/knip/dist/plugins/zx/index.d.ts +3 -0
- package/dist/vendor/knip/dist/plugins/zx/index.js +15 -0
- package/dist/vendor/knip/dist/plugins/zx/visitors/zx.d.ts +2 -0
- package/dist/vendor/knip/dist/plugins/zx/visitors/zx.js +14 -0
- package/dist/vendor/knip/dist/plugins.d.ts +7 -0
- package/dist/vendor/knip/dist/plugins.js +25 -0
- package/dist/vendor/knip/dist/reporters/codeclimate.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/codeclimate.js +82 -0
- package/dist/vendor/knip/dist/reporters/codeowners.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/codeowners.js +49 -0
- package/dist/vendor/knip/dist/reporters/compact.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/compact.js +30 -0
- package/dist/vendor/knip/dist/reporters/cycles.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/cycles.js +79 -0
- package/dist/vendor/knip/dist/reporters/disclosure.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/disclosure.js +15 -0
- package/dist/vendor/knip/dist/reporters/github-actions.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/github-actions.js +114 -0
- package/dist/vendor/knip/dist/reporters/index.d.ts +13 -0
- package/dist/vendor/knip/dist/reporters/index.js +22 -0
- package/dist/vendor/knip/dist/reporters/json.d.ts +38 -0
- package/dist/vendor/knip/dist/reporters/json.js +62 -0
- package/dist/vendor/knip/dist/reporters/markdown.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/markdown.js +32 -0
- package/dist/vendor/knip/dist/reporters/sarif.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/sarif.js +79 -0
- package/dist/vendor/knip/dist/reporters/symbols.d.ts +3 -0
- package/dist/vendor/knip/dist/reporters/symbols.js +35 -0
- package/dist/vendor/knip/dist/reporters/trace.d.ts +14 -0
- package/dist/vendor/knip/dist/reporters/trace.js +95 -0
- package/dist/vendor/knip/dist/reporters/util/configuration-hints.d.ts +23 -0
- package/dist/vendor/knip/dist/reporters/util/configuration-hints.js +149 -0
- package/dist/vendor/knip/dist/reporters/util/util.d.ts +32 -0
- package/dist/vendor/knip/dist/reporters/util/util.js +70 -0
- package/dist/vendor/knip/dist/reporters/watch.d.ts +11 -0
- package/dist/vendor/knip/dist/reporters/watch.js +32 -0
- package/dist/vendor/knip/dist/run.d.ts +32 -0
- package/dist/vendor/knip/dist/run.js +137 -0
- package/dist/vendor/knip/dist/schema/configuration.d.ts +2799 -0
- package/dist/vendor/knip/dist/schema/configuration.js +93 -0
- package/dist/vendor/knip/dist/schema/plugins.d.ts +919 -0
- package/dist/vendor/knip/dist/schema/plugins.js +195 -0
- package/dist/vendor/knip/dist/session/build-maps.d.ts +6 -0
- package/dist/vendor/knip/dist/session/build-maps.js +151 -0
- package/dist/vendor/knip/dist/session/file-descriptor.d.ts +6 -0
- package/dist/vendor/knip/dist/session/file-descriptor.js +43 -0
- package/dist/vendor/knip/dist/session/index.d.ts +12 -0
- package/dist/vendor/knip/dist/session/index.js +7 -0
- package/dist/vendor/knip/dist/session/package-json-descriptor.d.ts +6 -0
- package/dist/vendor/knip/dist/session/package-json-descriptor.js +7 -0
- package/dist/vendor/knip/dist/session/session.d.ts +20 -0
- package/dist/vendor/knip/dist/session/session.js +18 -0
- package/dist/vendor/knip/dist/session/types.d.ts +35 -0
- package/dist/vendor/knip/dist/session/types.js +1 -0
- package/dist/vendor/knip/dist/types/PluginNames.d.ts +2 -0
- package/dist/vendor/knip/dist/types/PluginNames.js +184 -0
- package/dist/vendor/knip/dist/types/args.d.ts +21 -0
- package/dist/vendor/knip/dist/types/args.js +1 -0
- package/dist/vendor/knip/dist/types/config.d.ts +179 -0
- package/dist/vendor/knip/dist/types/config.js +1 -0
- package/dist/vendor/knip/dist/types/entries.d.ts +3 -0
- package/dist/vendor/knip/dist/types/entries.js +1 -0
- package/dist/vendor/knip/dist/types/exports.d.ts +4 -0
- package/dist/vendor/knip/dist/types/exports.js +1 -0
- package/dist/vendor/knip/dist/types/issues.d.ts +94 -0
- package/dist/vendor/knip/dist/types/issues.js +1 -0
- package/dist/vendor/knip/dist/types/module-graph.d.ts +82 -0
- package/dist/vendor/knip/dist/types/module-graph.js +1 -0
- package/dist/vendor/knip/dist/types/options.d.ts +27 -0
- package/dist/vendor/knip/dist/types/options.js +1 -0
- package/dist/vendor/knip/dist/types/package-json.d.ts +88 -0
- package/dist/vendor/knip/dist/types/package-json.js +1 -0
- package/dist/vendor/knip/dist/types/project.d.ts +30 -0
- package/dist/vendor/knip/dist/types/project.js +1 -0
- package/dist/vendor/knip/dist/types/tsconfig-json.d.ts +14 -0
- package/dist/vendor/knip/dist/types/tsconfig-json.js +1 -0
- package/dist/vendor/knip/dist/types/workspace.d.ts +30 -0
- package/dist/vendor/knip/dist/types/workspace.js +1 -0
- package/dist/vendor/knip/dist/types.d.ts +3 -0
- package/dist/vendor/knip/dist/types.js +1 -0
- package/dist/vendor/knip/dist/typescript/SourceFileManager.d.ts +15 -0
- package/dist/vendor/knip/dist/typescript/SourceFileManager.js +59 -0
- package/dist/vendor/knip/dist/typescript/ast-helpers.d.ts +18 -0
- package/dist/vendor/knip/dist/typescript/ast-helpers.js +234 -0
- package/dist/vendor/knip/dist/typescript/ast-nodes.d.ts +29 -0
- package/dist/vendor/knip/dist/typescript/ast-nodes.js +229 -0
- package/dist/vendor/knip/dist/typescript/comments.d.ts +4 -0
- package/dist/vendor/knip/dist/typescript/comments.js +150 -0
- package/dist/vendor/knip/dist/typescript/follow-imports.d.ts +2 -0
- package/dist/vendor/knip/dist/typescript/follow-imports.js +65 -0
- package/dist/vendor/knip/dist/typescript/get-imports-and-exports.d.ts +7 -0
- package/dist/vendor/knip/dist/typescript/get-imports-and-exports.js +335 -0
- package/dist/vendor/knip/dist/typescript/get-published-type-dependencies.d.ts +13 -0
- package/dist/vendor/knip/dist/typescript/get-published-type-dependencies.js +155 -0
- package/dist/vendor/knip/dist/typescript/glob-imports.d.ts +3 -0
- package/dist/vendor/knip/dist/typescript/glob-imports.js +49 -0
- package/dist/vendor/knip/dist/typescript/resolve-module-names.d.ts +18 -0
- package/dist/vendor/knip/dist/typescript/resolve-module-names.js +269 -0
- package/dist/vendor/knip/dist/typescript/visitors/calls.d.ts +5 -0
- package/dist/vendor/knip/dist/typescript/visitors/calls.js +271 -0
- package/dist/vendor/knip/dist/typescript/visitors/exports.d.ts +6 -0
- package/dist/vendor/knip/dist/typescript/visitors/exports.js +425 -0
- package/dist/vendor/knip/dist/typescript/visitors/imports.d.ts +4 -0
- package/dist/vendor/knip/dist/typescript/visitors/imports.js +262 -0
- package/dist/vendor/knip/dist/typescript/visitors/jsdoc.d.ts +3 -0
- package/dist/vendor/knip/dist/typescript/visitors/jsdoc.js +66 -0
- package/dist/vendor/knip/dist/typescript/visitors/members.d.ts +4 -0
- package/dist/vendor/knip/dist/typescript/visitors/members.js +168 -0
- package/dist/vendor/knip/dist/typescript/visitors/script-visitors.d.ts +2 -0
- package/dist/vendor/knip/dist/typescript/visitors/script-visitors.js +13 -0
- package/dist/vendor/knip/dist/typescript/visitors/walk.d.ts +95 -0
- package/dist/vendor/knip/dist/typescript/visitors/walk.js +855 -0
- package/dist/vendor/knip/dist/util/Performance.d.ts +29 -0
- package/dist/vendor/knip/dist/util/Performance.js +148 -0
- package/dist/vendor/knip/dist/util/array.d.ts +5 -0
- package/dist/vendor/knip/dist/util/array.js +8 -0
- package/dist/vendor/knip/dist/util/catalog.d.ts +11 -0
- package/dist/vendor/knip/dist/util/catalog.js +78 -0
- package/dist/vendor/knip/dist/util/cli-arguments.d.ts +51 -0
- package/dist/vendor/knip/dist/util/cli-arguments.js +134 -0
- package/dist/vendor/knip/dist/util/codeowners.d.ts +2 -0
- package/dist/vendor/knip/dist/util/codeowners.js +32 -0
- package/dist/vendor/knip/dist/util/colors.d.ts +18 -0
- package/dist/vendor/knip/dist/util/colors.js +24 -0
- package/dist/vendor/knip/dist/util/create-input-handler.d.ts +8 -0
- package/dist/vendor/knip/dist/util/create-input-handler.js +134 -0
- package/dist/vendor/knip/dist/util/create-options.d.ts +1938 -0
- package/dist/vendor/knip/dist/util/create-options.js +164 -0
- package/dist/vendor/knip/dist/util/create-workspace-graph.d.ts +3 -0
- package/dist/vendor/knip/dist/util/create-workspace-graph.js +30 -0
- package/dist/vendor/knip/dist/util/debug.d.ts +4 -0
- package/dist/vendor/knip/dist/util/debug.js +28 -0
- package/dist/vendor/knip/dist/util/disk-cache.d.ts +11 -0
- package/dist/vendor/knip/dist/util/disk-cache.js +70 -0
- package/dist/vendor/knip/dist/util/empty.d.ts +1 -0
- package/dist/vendor/knip/dist/util/empty.js +1 -0
- package/dist/vendor/knip/dist/util/errors.d.ts +16 -0
- package/dist/vendor/knip/dist/util/errors.js +35 -0
- package/dist/vendor/knip/dist/util/file-entry-cache.d.ts +22 -0
- package/dist/vendor/knip/dist/util/file-entry-cache.js +82 -0
- package/dist/vendor/knip/dist/util/fs.d.ts +13 -0
- package/dist/vendor/knip/dist/util/fs.js +96 -0
- package/dist/vendor/knip/dist/util/get-included-issue-types.d.ts +15 -0
- package/dist/vendor/knip/dist/util/get-included-issue-types.js +39 -0
- package/dist/vendor/knip/dist/util/git.d.ts +1 -0
- package/dist/vendor/knip/dist/util/git.js +24 -0
- package/dist/vendor/knip/dist/util/gitignore-cache.d.ts +12 -0
- package/dist/vendor/knip/dist/util/gitignore-cache.js +74 -0
- package/dist/vendor/knip/dist/util/glob-cache.d.ts +18 -0
- package/dist/vendor/knip/dist/util/glob-cache.js +93 -0
- package/dist/vendor/knip/dist/util/glob-core.d.ts +25 -0
- package/dist/vendor/knip/dist/util/glob-core.js +311 -0
- package/dist/vendor/knip/dist/util/glob.d.ts +23 -0
- package/dist/vendor/knip/dist/util/glob.js +80 -0
- package/dist/vendor/knip/dist/util/graph-sequencer.d.ts +9 -0
- package/dist/vendor/knip/dist/util/graph-sequencer.js +94 -0
- package/dist/vendor/knip/dist/util/input.d.ts +67 -0
- package/dist/vendor/knip/dist/util/input.js +76 -0
- package/dist/vendor/knip/dist/util/issue-initializers.d.ts +4 -0
- package/dist/vendor/knip/dist/util/issue-initializers.js +8 -0
- package/dist/vendor/knip/dist/util/jiti.d.ts +1 -0
- package/dist/vendor/knip/dist/util/jiti.js +13 -0
- package/dist/vendor/knip/dist/util/load-config.d.ts +2 -0
- package/dist/vendor/knip/dist/util/load-config.js +24 -0
- package/dist/vendor/knip/dist/util/load-tsconfig.d.ts +13 -0
- package/dist/vendor/knip/dist/util/load-tsconfig.js +140 -0
- package/dist/vendor/knip/dist/util/loader.d.ts +3 -0
- package/dist/vendor/knip/dist/util/loader.js +51 -0
- package/dist/vendor/knip/dist/util/log.d.ts +2 -0
- package/dist/vendor/knip/dist/util/log.js +7 -0
- package/dist/vendor/knip/dist/util/map-workspaces.d.ts +5 -0
- package/dist/vendor/knip/dist/util/map-workspaces.js +47 -0
- package/dist/vendor/knip/dist/util/module-graph.d.ts +6 -0
- package/dist/vendor/knip/dist/util/module-graph.js +98 -0
- package/dist/vendor/knip/dist/util/modules.d.ts +11 -0
- package/dist/vendor/knip/dist/util/modules.js +116 -0
- package/dist/vendor/knip/dist/util/object.d.ts +4 -0
- package/dist/vendor/knip/dist/util/object.js +43 -0
- package/dist/vendor/knip/dist/util/package-json.d.ts +374 -0
- package/dist/vendor/knip/dist/util/package-json.js +277 -0
- package/dist/vendor/knip/dist/util/package-name.d.ts +2 -0
- package/dist/vendor/knip/dist/util/package-name.js +7 -0
- package/dist/vendor/knip/dist/util/parse-and-convert-gitignores.d.ts +10 -0
- package/dist/vendor/knip/dist/util/parse-and-convert-gitignores.js +54 -0
- package/dist/vendor/knip/dist/util/parse-args.d.ts +15 -0
- package/dist/vendor/knip/dist/util/parse-args.js +119 -0
- package/dist/vendor/knip/dist/util/path.d.ts +14 -0
- package/dist/vendor/knip/dist/util/path.js +25 -0
- package/dist/vendor/knip/dist/util/pattern-extensions.d.ts +1 -0
- package/dist/vendor/knip/dist/util/pattern-extensions.js +32 -0
- package/dist/vendor/knip/dist/util/plugin-config.d.ts +32 -0
- package/dist/vendor/knip/dist/util/plugin-config.js +33 -0
- package/dist/vendor/knip/dist/util/plugin.d.ts +9 -0
- package/dist/vendor/knip/dist/util/plugin.js +43 -0
- package/dist/vendor/knip/dist/util/regex.d.ts +2 -0
- package/dist/vendor/knip/dist/util/regex.js +4 -0
- package/dist/vendor/knip/dist/util/remove-export.d.ts +8 -0
- package/dist/vendor/knip/dist/util/remove-export.js +76 -0
- package/dist/vendor/knip/dist/util/reporter.d.ts +3 -0
- package/dist/vendor/knip/dist/util/reporter.js +19 -0
- package/dist/vendor/knip/dist/util/require.d.ts +1 -0
- package/dist/vendor/knip/dist/util/require.js +4 -0
- package/dist/vendor/knip/dist/util/resolve.d.ts +11 -0
- package/dist/vendor/knip/dist/util/resolve.js +84 -0
- package/dist/vendor/knip/dist/util/scripts.d.ts +7 -0
- package/dist/vendor/knip/dist/util/scripts.js +79 -0
- package/dist/vendor/knip/dist/util/string.d.ts +7 -0
- package/dist/vendor/knip/dist/util/string.js +78 -0
- package/dist/vendor/knip/dist/util/table.d.ts +24 -0
- package/dist/vendor/knip/dist/util/table.js +133 -0
- package/dist/vendor/knip/dist/util/tag.d.ts +6 -0
- package/dist/vendor/knip/dist/util/tag.js +22 -0
- package/dist/vendor/knip/dist/util/to-source-path.d.ts +14 -0
- package/dist/vendor/knip/dist/util/to-source-path.js +122 -0
- package/dist/vendor/knip/dist/util/trace.d.ts +6 -0
- package/dist/vendor/knip/dist/util/trace.js +52 -0
- package/dist/vendor/knip/dist/util/watch.d.ts +46 -0
- package/dist/vendor/knip/dist/util/watch.js +142 -0
- package/dist/vendor/knip/dist/util/workspace-file-filter.d.ts +2 -0
- package/dist/vendor/knip/dist/util/workspace-file-filter.js +17 -0
- package/dist/vendor/knip/dist/util/workspace-selectors.d.ts +12 -0
- package/dist/vendor/knip/dist/util/workspace-selectors.js +104 -0
- package/dist/vendor/knip/dist/util/workspace.d.ts +1 -0
- package/dist/vendor/knip/dist/util/workspace.js +11 -0
- package/dist/vendor/knip/dist/version.d.ts +1 -0
- package/dist/vendor/knip/dist/version.js +1 -0
- package/dist/vendor/knip/package.json +122 -0
- package/dist/vendor/knip/schema-jsonc.json +11 -0
- package/dist/vendor/knip/schema.json +1129 -0
- package/docs/checks.md +13 -0
- package/licenses/production-inventory.json +496 -548
- package/node_modules/@alcalzone/ansi-tokenize/LICENSE +21 -0
- package/node_modules/@alcalzone/ansi-tokenize/README.md +278 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +7 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +57 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/consts.d.ts +17 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/consts.js +28 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/consts.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/diff.d.ts +6 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/diff.js +26 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/index.d.ts +6 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/index.js +7 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/index.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/reduce.d.ts +5 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +37 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.d.ts +6 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js +38 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +16 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +194 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/undo.d.ts +3 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/undo.js +11 -0
- package/node_modules/@alcalzone/ansi-tokenize/build/undo.js.map +1 -0
- package/node_modules/@alcalzone/ansi-tokenize/package.json +55 -0
- package/node_modules/ansi-escapes/base.d.ts +307 -0
- package/node_modules/ansi-escapes/base.js +202 -0
- package/node_modules/ansi-escapes/index.d.ts +2 -0
- package/node_modules/ansi-escapes/index.js +2 -0
- package/node_modules/ansi-escapes/license +9 -0
- package/node_modules/ansi-escapes/package.json +70 -0
- package/node_modules/ansi-escapes/readme.md +296 -0
- package/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/ansi-regex/index.js +15 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +61 -0
- package/node_modules/ansi-regex/readme.md +66 -0
- package/node_modules/ansi-styles/index.d.ts +236 -0
- package/node_modules/ansi-styles/index.js +223 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +54 -0
- package/node_modules/ansi-styles/readme.md +173 -0
- package/node_modules/auto-bind/index.d.ts +50 -0
- package/node_modules/auto-bind/index.js +41 -0
- package/node_modules/auto-bind/license +9 -0
- package/node_modules/auto-bind/package.json +51 -0
- package/node_modules/auto-bind/react.d.ts +26 -0
- package/node_modules/auto-bind/react.js +28 -0
- package/node_modules/auto-bind/readme.md +92 -0
- package/node_modules/chalk/license +9 -0
- package/node_modules/chalk/package.json +83 -0
- package/node_modules/chalk/readme.md +297 -0
- package/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/chalk/source/index.js +225 -0
- package/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/node_modules/cli-boxes/boxes.json +82 -0
- package/node_modules/cli-boxes/index.d.ts +122 -0
- package/node_modules/cli-boxes/index.js +3 -0
- package/node_modules/cli-boxes/license +9 -0
- package/node_modules/cli-boxes/package.json +49 -0
- package/node_modules/cli-boxes/readme.md +103 -0
- package/node_modules/cli-cursor/index.d.ts +47 -0
- package/node_modules/cli-cursor/index.js +39 -0
- package/node_modules/cli-cursor/license +9 -0
- package/node_modules/cli-cursor/package.json +49 -0
- package/node_modules/cli-cursor/readme.md +51 -0
- package/node_modules/cli-truncate/index.d.ts +118 -0
- package/node_modules/cli-truncate/index.js +194 -0
- package/node_modules/cli-truncate/license +9 -0
- package/node_modules/cli-truncate/package.json +52 -0
- package/node_modules/cli-truncate/readme.md +153 -0
- package/node_modules/code-excerpt/dist/index.d.ts +9 -0
- package/node_modules/code-excerpt/dist/index.js +27 -0
- package/node_modules/code-excerpt/license +21 -0
- package/node_modules/code-excerpt/package.json +43 -0
- package/node_modules/code-excerpt/readme.md +65 -0
- package/node_modules/convert-to-spaces/dist/index.d.ts +2 -0
- package/node_modules/convert-to-spaces/dist/index.js +4 -0
- package/node_modules/convert-to-spaces/license +21 -0
- package/node_modules/convert-to-spaces/package.json +40 -0
- package/node_modules/convert-to-spaces/readme.md +39 -0
- package/node_modules/environment/index.d.ts +74 -0
- package/node_modules/environment/index.js +47 -0
- package/node_modules/environment/license +9 -0
- package/node_modules/environment/package.json +74 -0
- package/node_modules/environment/readme.md +94 -0
- package/node_modules/es-toolkit/CHANGELOG.md +936 -0
- package/node_modules/es-toolkit/LICENSE +21 -0
- package/node_modules/es-toolkit/README.md +69 -0
- package/node_modules/es-toolkit/array.d.ts +1 -0
- package/node_modules/es-toolkit/array.js +1 -0
- package/node_modules/es-toolkit/compat/add.d.mts +1 -0
- package/node_modules/es-toolkit/compat/add.d.ts +1 -0
- package/node_modules/es-toolkit/compat/add.js +1 -0
- package/node_modules/es-toolkit/compat/add.mjs +1 -0
- package/node_modules/es-toolkit/compat/after.d.mts +1 -0
- package/node_modules/es-toolkit/compat/after.d.ts +1 -0
- package/node_modules/es-toolkit/compat/after.js +1 -0
- package/node_modules/es-toolkit/compat/after.mjs +1 -0
- package/node_modules/es-toolkit/compat/ary.d.mts +1 -0
- package/node_modules/es-toolkit/compat/ary.d.ts +1 -0
- package/node_modules/es-toolkit/compat/ary.js +1 -0
- package/node_modules/es-toolkit/compat/ary.mjs +1 -0
- package/node_modules/es-toolkit/compat/assign.d.mts +1 -0
- package/node_modules/es-toolkit/compat/assign.d.ts +1 -0
- package/node_modules/es-toolkit/compat/assign.js +1 -0
- package/node_modules/es-toolkit/compat/assign.mjs +1 -0
- package/node_modules/es-toolkit/compat/assignIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/assignIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/assignIn.js +1 -0
- package/node_modules/es-toolkit/compat/assignIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/assignInWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/assignInWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/assignInWith.js +1 -0
- package/node_modules/es-toolkit/compat/assignInWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/assignWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/assignWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/assignWith.js +1 -0
- package/node_modules/es-toolkit/compat/assignWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/at.d.mts +1 -0
- package/node_modules/es-toolkit/compat/at.d.ts +1 -0
- package/node_modules/es-toolkit/compat/at.js +1 -0
- package/node_modules/es-toolkit/compat/at.mjs +1 -0
- package/node_modules/es-toolkit/compat/attempt.d.mts +1 -0
- package/node_modules/es-toolkit/compat/attempt.d.ts +1 -0
- package/node_modules/es-toolkit/compat/attempt.js +1 -0
- package/node_modules/es-toolkit/compat/attempt.mjs +1 -0
- package/node_modules/es-toolkit/compat/before.d.mts +1 -0
- package/node_modules/es-toolkit/compat/before.d.ts +1 -0
- package/node_modules/es-toolkit/compat/before.js +1 -0
- package/node_modules/es-toolkit/compat/before.mjs +1 -0
- package/node_modules/es-toolkit/compat/bind.d.mts +1 -0
- package/node_modules/es-toolkit/compat/bind.d.ts +1 -0
- package/node_modules/es-toolkit/compat/bind.js +1 -0
- package/node_modules/es-toolkit/compat/bind.mjs +1 -0
- package/node_modules/es-toolkit/compat/bindAll.d.mts +1 -0
- package/node_modules/es-toolkit/compat/bindAll.d.ts +1 -0
- package/node_modules/es-toolkit/compat/bindAll.js +1 -0
- package/node_modules/es-toolkit/compat/bindAll.mjs +1 -0
- package/node_modules/es-toolkit/compat/bindKey.d.mts +1 -0
- package/node_modules/es-toolkit/compat/bindKey.d.ts +1 -0
- package/node_modules/es-toolkit/compat/bindKey.js +1 -0
- package/node_modules/es-toolkit/compat/bindKey.mjs +1 -0
- package/node_modules/es-toolkit/compat/camelCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/camelCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/camelCase.js +1 -0
- package/node_modules/es-toolkit/compat/camelCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/capitalize.d.mts +1 -0
- package/node_modules/es-toolkit/compat/capitalize.d.ts +1 -0
- package/node_modules/es-toolkit/compat/capitalize.js +1 -0
- package/node_modules/es-toolkit/compat/capitalize.mjs +1 -0
- package/node_modules/es-toolkit/compat/castArray.d.mts +1 -0
- package/node_modules/es-toolkit/compat/castArray.d.ts +1 -0
- package/node_modules/es-toolkit/compat/castArray.js +1 -0
- package/node_modules/es-toolkit/compat/castArray.mjs +1 -0
- package/node_modules/es-toolkit/compat/ceil.d.mts +1 -0
- package/node_modules/es-toolkit/compat/ceil.d.ts +1 -0
- package/node_modules/es-toolkit/compat/ceil.js +1 -0
- package/node_modules/es-toolkit/compat/ceil.mjs +1 -0
- package/node_modules/es-toolkit/compat/chunk.d.mts +1 -0
- package/node_modules/es-toolkit/compat/chunk.d.ts +1 -0
- package/node_modules/es-toolkit/compat/chunk.js +1 -0
- package/node_modules/es-toolkit/compat/chunk.mjs +1 -0
- package/node_modules/es-toolkit/compat/clamp.d.mts +1 -0
- package/node_modules/es-toolkit/compat/clamp.d.ts +1 -0
- package/node_modules/es-toolkit/compat/clamp.js +1 -0
- package/node_modules/es-toolkit/compat/clamp.mjs +1 -0
- package/node_modules/es-toolkit/compat/clone.d.mts +1 -0
- package/node_modules/es-toolkit/compat/clone.d.ts +1 -0
- package/node_modules/es-toolkit/compat/clone.js +1 -0
- package/node_modules/es-toolkit/compat/clone.mjs +1 -0
- package/node_modules/es-toolkit/compat/cloneDeep.d.mts +1 -0
- package/node_modules/es-toolkit/compat/cloneDeep.d.ts +1 -0
- package/node_modules/es-toolkit/compat/cloneDeep.js +1 -0
- package/node_modules/es-toolkit/compat/cloneDeep.mjs +1 -0
- package/node_modules/es-toolkit/compat/cloneDeepWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/cloneDeepWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/cloneDeepWith.js +1 -0
- package/node_modules/es-toolkit/compat/cloneDeepWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/cloneWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/cloneWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/cloneWith.js +1 -0
- package/node_modules/es-toolkit/compat/cloneWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/compact.d.mts +1 -0
- package/node_modules/es-toolkit/compat/compact.d.ts +1 -0
- package/node_modules/es-toolkit/compat/compact.js +1 -0
- package/node_modules/es-toolkit/compat/compact.mjs +1 -0
- package/node_modules/es-toolkit/compat/concat.d.mts +1 -0
- package/node_modules/es-toolkit/compat/concat.d.ts +1 -0
- package/node_modules/es-toolkit/compat/concat.js +1 -0
- package/node_modules/es-toolkit/compat/concat.mjs +1 -0
- package/node_modules/es-toolkit/compat/cond.d.mts +1 -0
- package/node_modules/es-toolkit/compat/cond.d.ts +1 -0
- package/node_modules/es-toolkit/compat/cond.js +1 -0
- package/node_modules/es-toolkit/compat/cond.mjs +1 -0
- package/node_modules/es-toolkit/compat/conforms.d.mts +1 -0
- package/node_modules/es-toolkit/compat/conforms.d.ts +1 -0
- package/node_modules/es-toolkit/compat/conforms.js +1 -0
- package/node_modules/es-toolkit/compat/conforms.mjs +1 -0
- package/node_modules/es-toolkit/compat/conformsTo.d.mts +1 -0
- package/node_modules/es-toolkit/compat/conformsTo.d.ts +1 -0
- package/node_modules/es-toolkit/compat/conformsTo.js +1 -0
- package/node_modules/es-toolkit/compat/conformsTo.mjs +1 -0
- package/node_modules/es-toolkit/compat/constant.d.mts +1 -0
- package/node_modules/es-toolkit/compat/constant.d.ts +1 -0
- package/node_modules/es-toolkit/compat/constant.js +1 -0
- package/node_modules/es-toolkit/compat/constant.mjs +1 -0
- package/node_modules/es-toolkit/compat/countBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/countBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/countBy.js +1 -0
- package/node_modules/es-toolkit/compat/countBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/create.d.mts +1 -0
- package/node_modules/es-toolkit/compat/create.d.ts +1 -0
- package/node_modules/es-toolkit/compat/create.js +1 -0
- package/node_modules/es-toolkit/compat/create.mjs +1 -0
- package/node_modules/es-toolkit/compat/curry.d.mts +1 -0
- package/node_modules/es-toolkit/compat/curry.d.ts +1 -0
- package/node_modules/es-toolkit/compat/curry.js +1 -0
- package/node_modules/es-toolkit/compat/curry.mjs +1 -0
- package/node_modules/es-toolkit/compat/curryRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/curryRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/curryRight.js +1 -0
- package/node_modules/es-toolkit/compat/curryRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/debounce.d.mts +1 -0
- package/node_modules/es-toolkit/compat/debounce.d.ts +1 -0
- package/node_modules/es-toolkit/compat/debounce.js +1 -0
- package/node_modules/es-toolkit/compat/debounce.mjs +1 -0
- package/node_modules/es-toolkit/compat/deburr.d.mts +1 -0
- package/node_modules/es-toolkit/compat/deburr.d.ts +1 -0
- package/node_modules/es-toolkit/compat/deburr.js +1 -0
- package/node_modules/es-toolkit/compat/deburr.mjs +1 -0
- package/node_modules/es-toolkit/compat/defaultTo.d.mts +1 -0
- package/node_modules/es-toolkit/compat/defaultTo.d.ts +1 -0
- package/node_modules/es-toolkit/compat/defaultTo.js +1 -0
- package/node_modules/es-toolkit/compat/defaultTo.mjs +1 -0
- package/node_modules/es-toolkit/compat/defaults.d.mts +1 -0
- package/node_modules/es-toolkit/compat/defaults.d.ts +1 -0
- package/node_modules/es-toolkit/compat/defaults.js +1 -0
- package/node_modules/es-toolkit/compat/defaults.mjs +1 -0
- package/node_modules/es-toolkit/compat/defaultsDeep.d.mts +1 -0
- package/node_modules/es-toolkit/compat/defaultsDeep.d.ts +1 -0
- package/node_modules/es-toolkit/compat/defaultsDeep.js +1 -0
- package/node_modules/es-toolkit/compat/defaultsDeep.mjs +1 -0
- package/node_modules/es-toolkit/compat/defer.d.mts +1 -0
- package/node_modules/es-toolkit/compat/defer.d.ts +1 -0
- package/node_modules/es-toolkit/compat/defer.js +1 -0
- package/node_modules/es-toolkit/compat/defer.mjs +1 -0
- package/node_modules/es-toolkit/compat/delay.d.mts +1 -0
- package/node_modules/es-toolkit/compat/delay.d.ts +1 -0
- package/node_modules/es-toolkit/compat/delay.js +1 -0
- package/node_modules/es-toolkit/compat/delay.mjs +1 -0
- package/node_modules/es-toolkit/compat/difference.d.mts +1 -0
- package/node_modules/es-toolkit/compat/difference.d.ts +1 -0
- package/node_modules/es-toolkit/compat/difference.js +1 -0
- package/node_modules/es-toolkit/compat/difference.mjs +1 -0
- package/node_modules/es-toolkit/compat/differenceBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/differenceBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/differenceBy.js +1 -0
- package/node_modules/es-toolkit/compat/differenceBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/differenceWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/differenceWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/differenceWith.js +1 -0
- package/node_modules/es-toolkit/compat/differenceWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/divide.d.mts +1 -0
- package/node_modules/es-toolkit/compat/divide.d.ts +1 -0
- package/node_modules/es-toolkit/compat/divide.js +1 -0
- package/node_modules/es-toolkit/compat/divide.mjs +1 -0
- package/node_modules/es-toolkit/compat/drop.d.mts +1 -0
- package/node_modules/es-toolkit/compat/drop.d.ts +1 -0
- package/node_modules/es-toolkit/compat/drop.js +1 -0
- package/node_modules/es-toolkit/compat/drop.mjs +1 -0
- package/node_modules/es-toolkit/compat/dropRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/dropRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/dropRight.js +1 -0
- package/node_modules/es-toolkit/compat/dropRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/dropRightWhile.d.mts +1 -0
- package/node_modules/es-toolkit/compat/dropRightWhile.d.ts +1 -0
- package/node_modules/es-toolkit/compat/dropRightWhile.js +1 -0
- package/node_modules/es-toolkit/compat/dropRightWhile.mjs +1 -0
- package/node_modules/es-toolkit/compat/dropWhile.d.mts +1 -0
- package/node_modules/es-toolkit/compat/dropWhile.d.ts +1 -0
- package/node_modules/es-toolkit/compat/dropWhile.js +1 -0
- package/node_modules/es-toolkit/compat/dropWhile.mjs +1 -0
- package/node_modules/es-toolkit/compat/each.d.mts +1 -0
- package/node_modules/es-toolkit/compat/each.d.ts +1 -0
- package/node_modules/es-toolkit/compat/each.js +1 -0
- package/node_modules/es-toolkit/compat/each.mjs +1 -0
- package/node_modules/es-toolkit/compat/eachRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/eachRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/eachRight.js +1 -0
- package/node_modules/es-toolkit/compat/eachRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/endsWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/endsWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/endsWith.js +1 -0
- package/node_modules/es-toolkit/compat/endsWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/eq.d.mts +1 -0
- package/node_modules/es-toolkit/compat/eq.d.ts +1 -0
- package/node_modules/es-toolkit/compat/eq.js +1 -0
- package/node_modules/es-toolkit/compat/eq.mjs +1 -0
- package/node_modules/es-toolkit/compat/escape.d.mts +1 -0
- package/node_modules/es-toolkit/compat/escape.d.ts +1 -0
- package/node_modules/es-toolkit/compat/escape.js +1 -0
- package/node_modules/es-toolkit/compat/escape.mjs +1 -0
- package/node_modules/es-toolkit/compat/escapeRegExp.d.mts +1 -0
- package/node_modules/es-toolkit/compat/escapeRegExp.d.ts +1 -0
- package/node_modules/es-toolkit/compat/escapeRegExp.js +1 -0
- package/node_modules/es-toolkit/compat/escapeRegExp.mjs +1 -0
- package/node_modules/es-toolkit/compat/every.d.mts +1 -0
- package/node_modules/es-toolkit/compat/every.d.ts +1 -0
- package/node_modules/es-toolkit/compat/every.js +1 -0
- package/node_modules/es-toolkit/compat/every.mjs +1 -0
- package/node_modules/es-toolkit/compat/extend.d.mts +1 -0
- package/node_modules/es-toolkit/compat/extend.d.ts +1 -0
- package/node_modules/es-toolkit/compat/extend.js +1 -0
- package/node_modules/es-toolkit/compat/extend.mjs +1 -0
- package/node_modules/es-toolkit/compat/extendWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/extendWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/extendWith.js +1 -0
- package/node_modules/es-toolkit/compat/extendWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/fill.d.mts +1 -0
- package/node_modules/es-toolkit/compat/fill.d.ts +1 -0
- package/node_modules/es-toolkit/compat/fill.js +1 -0
- package/node_modules/es-toolkit/compat/fill.mjs +1 -0
- package/node_modules/es-toolkit/compat/filter.d.mts +1 -0
- package/node_modules/es-toolkit/compat/filter.d.ts +1 -0
- package/node_modules/es-toolkit/compat/filter.js +1 -0
- package/node_modules/es-toolkit/compat/filter.mjs +1 -0
- package/node_modules/es-toolkit/compat/find.d.mts +1 -0
- package/node_modules/es-toolkit/compat/find.d.ts +1 -0
- package/node_modules/es-toolkit/compat/find.js +1 -0
- package/node_modules/es-toolkit/compat/find.mjs +1 -0
- package/node_modules/es-toolkit/compat/findIndex.d.mts +1 -0
- package/node_modules/es-toolkit/compat/findIndex.d.ts +1 -0
- package/node_modules/es-toolkit/compat/findIndex.js +1 -0
- package/node_modules/es-toolkit/compat/findIndex.mjs +1 -0
- package/node_modules/es-toolkit/compat/findKey.d.mts +1 -0
- package/node_modules/es-toolkit/compat/findKey.d.ts +1 -0
- package/node_modules/es-toolkit/compat/findKey.js +1 -0
- package/node_modules/es-toolkit/compat/findKey.mjs +1 -0
- package/node_modules/es-toolkit/compat/findLast.d.mts +1 -0
- package/node_modules/es-toolkit/compat/findLast.d.ts +1 -0
- package/node_modules/es-toolkit/compat/findLast.js +1 -0
- package/node_modules/es-toolkit/compat/findLast.mjs +1 -0
- package/node_modules/es-toolkit/compat/findLastIndex.d.mts +1 -0
- package/node_modules/es-toolkit/compat/findLastIndex.d.ts +1 -0
- package/node_modules/es-toolkit/compat/findLastIndex.js +1 -0
- package/node_modules/es-toolkit/compat/findLastIndex.mjs +1 -0
- package/node_modules/es-toolkit/compat/findLastKey.d.mts +1 -0
- package/node_modules/es-toolkit/compat/findLastKey.d.ts +1 -0
- package/node_modules/es-toolkit/compat/findLastKey.js +1 -0
- package/node_modules/es-toolkit/compat/findLastKey.mjs +1 -0
- package/node_modules/es-toolkit/compat/first.d.mts +1 -0
- package/node_modules/es-toolkit/compat/first.d.ts +1 -0
- package/node_modules/es-toolkit/compat/first.js +1 -0
- package/node_modules/es-toolkit/compat/first.mjs +1 -0
- package/node_modules/es-toolkit/compat/flatMap.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flatMap.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flatMap.js +1 -0
- package/node_modules/es-toolkit/compat/flatMap.mjs +1 -0
- package/node_modules/es-toolkit/compat/flatMapDeep.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flatMapDeep.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flatMapDeep.js +1 -0
- package/node_modules/es-toolkit/compat/flatMapDeep.mjs +1 -0
- package/node_modules/es-toolkit/compat/flatMapDepth.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flatMapDepth.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flatMapDepth.js +1 -0
- package/node_modules/es-toolkit/compat/flatMapDepth.mjs +1 -0
- package/node_modules/es-toolkit/compat/flatten.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flatten.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flatten.js +1 -0
- package/node_modules/es-toolkit/compat/flatten.mjs +1 -0
- package/node_modules/es-toolkit/compat/flattenDeep.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flattenDeep.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flattenDeep.js +1 -0
- package/node_modules/es-toolkit/compat/flattenDeep.mjs +1 -0
- package/node_modules/es-toolkit/compat/flattenDepth.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flattenDepth.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flattenDepth.js +1 -0
- package/node_modules/es-toolkit/compat/flattenDepth.mjs +1 -0
- package/node_modules/es-toolkit/compat/flip.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flip.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flip.js +1 -0
- package/node_modules/es-toolkit/compat/flip.mjs +1 -0
- package/node_modules/es-toolkit/compat/floor.d.mts +1 -0
- package/node_modules/es-toolkit/compat/floor.d.ts +1 -0
- package/node_modules/es-toolkit/compat/floor.js +1 -0
- package/node_modules/es-toolkit/compat/floor.mjs +1 -0
- package/node_modules/es-toolkit/compat/flow.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flow.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flow.js +1 -0
- package/node_modules/es-toolkit/compat/flow.mjs +1 -0
- package/node_modules/es-toolkit/compat/flowRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/flowRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/flowRight.js +1 -0
- package/node_modules/es-toolkit/compat/flowRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/forEach.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forEach.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forEach.js +1 -0
- package/node_modules/es-toolkit/compat/forEach.mjs +1 -0
- package/node_modules/es-toolkit/compat/forEachRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forEachRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forEachRight.js +1 -0
- package/node_modules/es-toolkit/compat/forEachRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/forIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forIn.js +1 -0
- package/node_modules/es-toolkit/compat/forIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/forInRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forInRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forInRight.js +1 -0
- package/node_modules/es-toolkit/compat/forInRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/forOwn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forOwn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forOwn.js +1 -0
- package/node_modules/es-toolkit/compat/forOwn.mjs +1 -0
- package/node_modules/es-toolkit/compat/forOwnRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/forOwnRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/forOwnRight.js +1 -0
- package/node_modules/es-toolkit/compat/forOwnRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/fromPairs.d.mts +1 -0
- package/node_modules/es-toolkit/compat/fromPairs.d.ts +1 -0
- package/node_modules/es-toolkit/compat/fromPairs.js +1 -0
- package/node_modules/es-toolkit/compat/fromPairs.mjs +1 -0
- package/node_modules/es-toolkit/compat/functions.d.mts +1 -0
- package/node_modules/es-toolkit/compat/functions.d.ts +1 -0
- package/node_modules/es-toolkit/compat/functions.js +1 -0
- package/node_modules/es-toolkit/compat/functions.mjs +1 -0
- package/node_modules/es-toolkit/compat/functionsIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/functionsIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/functionsIn.js +1 -0
- package/node_modules/es-toolkit/compat/functionsIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/get.d.mts +1 -0
- package/node_modules/es-toolkit/compat/get.d.ts +1 -0
- package/node_modules/es-toolkit/compat/get.js +1 -0
- package/node_modules/es-toolkit/compat/get.mjs +1 -0
- package/node_modules/es-toolkit/compat/groupBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/groupBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/groupBy.js +1 -0
- package/node_modules/es-toolkit/compat/groupBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/gt.d.mts +1 -0
- package/node_modules/es-toolkit/compat/gt.d.ts +1 -0
- package/node_modules/es-toolkit/compat/gt.js +1 -0
- package/node_modules/es-toolkit/compat/gt.mjs +1 -0
- package/node_modules/es-toolkit/compat/gte.d.mts +1 -0
- package/node_modules/es-toolkit/compat/gte.d.ts +1 -0
- package/node_modules/es-toolkit/compat/gte.js +1 -0
- package/node_modules/es-toolkit/compat/gte.mjs +1 -0
- package/node_modules/es-toolkit/compat/has.d.mts +1 -0
- package/node_modules/es-toolkit/compat/has.d.ts +1 -0
- package/node_modules/es-toolkit/compat/has.js +1 -0
- package/node_modules/es-toolkit/compat/has.mjs +1 -0
- package/node_modules/es-toolkit/compat/hasIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/hasIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/hasIn.js +1 -0
- package/node_modules/es-toolkit/compat/hasIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/head.d.mts +1 -0
- package/node_modules/es-toolkit/compat/head.d.ts +1 -0
- package/node_modules/es-toolkit/compat/head.js +1 -0
- package/node_modules/es-toolkit/compat/head.mjs +1 -0
- package/node_modules/es-toolkit/compat/identity.d.mts +1 -0
- package/node_modules/es-toolkit/compat/identity.d.ts +1 -0
- package/node_modules/es-toolkit/compat/identity.js +1 -0
- package/node_modules/es-toolkit/compat/identity.mjs +1 -0
- package/node_modules/es-toolkit/compat/inRange.d.mts +1 -0
- package/node_modules/es-toolkit/compat/inRange.d.ts +1 -0
- package/node_modules/es-toolkit/compat/inRange.js +1 -0
- package/node_modules/es-toolkit/compat/inRange.mjs +1 -0
- package/node_modules/es-toolkit/compat/includes.d.mts +1 -0
- package/node_modules/es-toolkit/compat/includes.d.ts +1 -0
- package/node_modules/es-toolkit/compat/includes.js +1 -0
- package/node_modules/es-toolkit/compat/includes.mjs +1 -0
- package/node_modules/es-toolkit/compat/indexOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/indexOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/indexOf.js +1 -0
- package/node_modules/es-toolkit/compat/indexOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/initial.d.mts +1 -0
- package/node_modules/es-toolkit/compat/initial.d.ts +1 -0
- package/node_modules/es-toolkit/compat/initial.js +1 -0
- package/node_modules/es-toolkit/compat/initial.mjs +1 -0
- package/node_modules/es-toolkit/compat/intersection.d.mts +1 -0
- package/node_modules/es-toolkit/compat/intersection.d.ts +1 -0
- package/node_modules/es-toolkit/compat/intersection.js +1 -0
- package/node_modules/es-toolkit/compat/intersection.mjs +1 -0
- package/node_modules/es-toolkit/compat/intersectionBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/intersectionBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/intersectionBy.js +1 -0
- package/node_modules/es-toolkit/compat/intersectionBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/intersectionWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/intersectionWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/intersectionWith.js +1 -0
- package/node_modules/es-toolkit/compat/intersectionWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/invert.d.mts +1 -0
- package/node_modules/es-toolkit/compat/invert.d.ts +1 -0
- package/node_modules/es-toolkit/compat/invert.js +1 -0
- package/node_modules/es-toolkit/compat/invert.mjs +1 -0
- package/node_modules/es-toolkit/compat/invertBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/invertBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/invertBy.js +1 -0
- package/node_modules/es-toolkit/compat/invertBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/invoke.d.mts +1 -0
- package/node_modules/es-toolkit/compat/invoke.d.ts +1 -0
- package/node_modules/es-toolkit/compat/invoke.js +1 -0
- package/node_modules/es-toolkit/compat/invoke.mjs +1 -0
- package/node_modules/es-toolkit/compat/invokeMap.d.mts +1 -0
- package/node_modules/es-toolkit/compat/invokeMap.d.ts +1 -0
- package/node_modules/es-toolkit/compat/invokeMap.js +1 -0
- package/node_modules/es-toolkit/compat/invokeMap.mjs +1 -0
- package/node_modules/es-toolkit/compat/isArguments.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isArguments.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isArguments.js +1 -0
- package/node_modules/es-toolkit/compat/isArguments.mjs +1 -0
- package/node_modules/es-toolkit/compat/isArray.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isArray.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isArray.js +1 -0
- package/node_modules/es-toolkit/compat/isArray.mjs +1 -0
- package/node_modules/es-toolkit/compat/isArrayBuffer.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isArrayBuffer.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isArrayBuffer.js +1 -0
- package/node_modules/es-toolkit/compat/isArrayBuffer.mjs +1 -0
- package/node_modules/es-toolkit/compat/isArrayLike.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isArrayLike.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isArrayLike.js +1 -0
- package/node_modules/es-toolkit/compat/isArrayLike.mjs +1 -0
- package/node_modules/es-toolkit/compat/isArrayLikeObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isArrayLikeObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isArrayLikeObject.js +1 -0
- package/node_modules/es-toolkit/compat/isArrayLikeObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/isBoolean.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isBoolean.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isBoolean.js +1 -0
- package/node_modules/es-toolkit/compat/isBoolean.mjs +1 -0
- package/node_modules/es-toolkit/compat/isBuffer.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isBuffer.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isBuffer.js +1 -0
- package/node_modules/es-toolkit/compat/isBuffer.mjs +1 -0
- package/node_modules/es-toolkit/compat/isDate.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isDate.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isDate.js +1 -0
- package/node_modules/es-toolkit/compat/isDate.mjs +1 -0
- package/node_modules/es-toolkit/compat/isElement.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isElement.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isElement.js +1 -0
- package/node_modules/es-toolkit/compat/isElement.mjs +1 -0
- package/node_modules/es-toolkit/compat/isEmpty.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isEmpty.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isEmpty.js +1 -0
- package/node_modules/es-toolkit/compat/isEmpty.mjs +1 -0
- package/node_modules/es-toolkit/compat/isEqual.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isEqual.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isEqual.js +1 -0
- package/node_modules/es-toolkit/compat/isEqual.mjs +1 -0
- package/node_modules/es-toolkit/compat/isEqualWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isEqualWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isEqualWith.js +1 -0
- package/node_modules/es-toolkit/compat/isEqualWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/isError.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isError.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isError.js +1 -0
- package/node_modules/es-toolkit/compat/isError.mjs +1 -0
- package/node_modules/es-toolkit/compat/isFinite.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isFinite.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isFinite.js +1 -0
- package/node_modules/es-toolkit/compat/isFinite.mjs +1 -0
- package/node_modules/es-toolkit/compat/isFunction.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isFunction.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isFunction.js +1 -0
- package/node_modules/es-toolkit/compat/isFunction.mjs +1 -0
- package/node_modules/es-toolkit/compat/isInteger.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isInteger.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isInteger.js +1 -0
- package/node_modules/es-toolkit/compat/isInteger.mjs +1 -0
- package/node_modules/es-toolkit/compat/isLength.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isLength.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isLength.js +1 -0
- package/node_modules/es-toolkit/compat/isLength.mjs +1 -0
- package/node_modules/es-toolkit/compat/isMap.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isMap.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isMap.js +1 -0
- package/node_modules/es-toolkit/compat/isMap.mjs +1 -0
- package/node_modules/es-toolkit/compat/isMatch.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isMatch.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isMatch.js +1 -0
- package/node_modules/es-toolkit/compat/isMatch.mjs +1 -0
- package/node_modules/es-toolkit/compat/isMatchWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isMatchWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isMatchWith.js +1 -0
- package/node_modules/es-toolkit/compat/isMatchWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/isNaN.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isNaN.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isNaN.js +1 -0
- package/node_modules/es-toolkit/compat/isNaN.mjs +1 -0
- package/node_modules/es-toolkit/compat/isNative.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isNative.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isNative.js +1 -0
- package/node_modules/es-toolkit/compat/isNative.mjs +1 -0
- package/node_modules/es-toolkit/compat/isNil.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isNil.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isNil.js +1 -0
- package/node_modules/es-toolkit/compat/isNil.mjs +1 -0
- package/node_modules/es-toolkit/compat/isNull.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isNull.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isNull.js +1 -0
- package/node_modules/es-toolkit/compat/isNull.mjs +1 -0
- package/node_modules/es-toolkit/compat/isNumber.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isNumber.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isNumber.js +1 -0
- package/node_modules/es-toolkit/compat/isNumber.mjs +1 -0
- package/node_modules/es-toolkit/compat/isObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isObject.js +1 -0
- package/node_modules/es-toolkit/compat/isObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/isObjectLike.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isObjectLike.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isObjectLike.js +1 -0
- package/node_modules/es-toolkit/compat/isObjectLike.mjs +1 -0
- package/node_modules/es-toolkit/compat/isPlainObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isPlainObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isPlainObject.js +1 -0
- package/node_modules/es-toolkit/compat/isPlainObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/isRegExp.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isRegExp.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isRegExp.js +1 -0
- package/node_modules/es-toolkit/compat/isRegExp.mjs +1 -0
- package/node_modules/es-toolkit/compat/isSafeInteger.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isSafeInteger.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isSafeInteger.js +1 -0
- package/node_modules/es-toolkit/compat/isSafeInteger.mjs +1 -0
- package/node_modules/es-toolkit/compat/isSet.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isSet.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isSet.js +1 -0
- package/node_modules/es-toolkit/compat/isSet.mjs +1 -0
- package/node_modules/es-toolkit/compat/isString.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isString.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isString.js +1 -0
- package/node_modules/es-toolkit/compat/isString.mjs +1 -0
- package/node_modules/es-toolkit/compat/isSymbol.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isSymbol.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isSymbol.js +1 -0
- package/node_modules/es-toolkit/compat/isSymbol.mjs +1 -0
- package/node_modules/es-toolkit/compat/isTypedArray.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isTypedArray.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isTypedArray.js +1 -0
- package/node_modules/es-toolkit/compat/isTypedArray.mjs +1 -0
- package/node_modules/es-toolkit/compat/isUndefined.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isUndefined.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isUndefined.js +1 -0
- package/node_modules/es-toolkit/compat/isUndefined.mjs +1 -0
- package/node_modules/es-toolkit/compat/isWeakMap.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isWeakMap.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isWeakMap.js +1 -0
- package/node_modules/es-toolkit/compat/isWeakMap.mjs +1 -0
- package/node_modules/es-toolkit/compat/isWeakSet.d.mts +1 -0
- package/node_modules/es-toolkit/compat/isWeakSet.d.ts +1 -0
- package/node_modules/es-toolkit/compat/isWeakSet.js +1 -0
- package/node_modules/es-toolkit/compat/isWeakSet.mjs +1 -0
- package/node_modules/es-toolkit/compat/iteratee.d.mts +1 -0
- package/node_modules/es-toolkit/compat/iteratee.d.ts +1 -0
- package/node_modules/es-toolkit/compat/iteratee.js +1 -0
- package/node_modules/es-toolkit/compat/iteratee.mjs +1 -0
- package/node_modules/es-toolkit/compat/join.d.mts +1 -0
- package/node_modules/es-toolkit/compat/join.d.ts +1 -0
- package/node_modules/es-toolkit/compat/join.js +1 -0
- package/node_modules/es-toolkit/compat/join.mjs +1 -0
- package/node_modules/es-toolkit/compat/kebabCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/kebabCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/kebabCase.js +1 -0
- package/node_modules/es-toolkit/compat/kebabCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/keyBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/keyBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/keyBy.js +1 -0
- package/node_modules/es-toolkit/compat/keyBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/keys.d.mts +1 -0
- package/node_modules/es-toolkit/compat/keys.d.ts +1 -0
- package/node_modules/es-toolkit/compat/keys.js +1 -0
- package/node_modules/es-toolkit/compat/keys.mjs +1 -0
- package/node_modules/es-toolkit/compat/keysIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/keysIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/keysIn.js +1 -0
- package/node_modules/es-toolkit/compat/keysIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/last.d.mts +1 -0
- package/node_modules/es-toolkit/compat/last.d.ts +1 -0
- package/node_modules/es-toolkit/compat/last.js +1 -0
- package/node_modules/es-toolkit/compat/last.mjs +1 -0
- package/node_modules/es-toolkit/compat/lastIndexOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/lastIndexOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/lastIndexOf.js +1 -0
- package/node_modules/es-toolkit/compat/lastIndexOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/lowerCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/lowerCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/lowerCase.js +1 -0
- package/node_modules/es-toolkit/compat/lowerCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/lowerFirst.d.mts +1 -0
- package/node_modules/es-toolkit/compat/lowerFirst.d.ts +1 -0
- package/node_modules/es-toolkit/compat/lowerFirst.js +1 -0
- package/node_modules/es-toolkit/compat/lowerFirst.mjs +1 -0
- package/node_modules/es-toolkit/compat/lt.d.mts +1 -0
- package/node_modules/es-toolkit/compat/lt.d.ts +1 -0
- package/node_modules/es-toolkit/compat/lt.js +1 -0
- package/node_modules/es-toolkit/compat/lt.mjs +1 -0
- package/node_modules/es-toolkit/compat/lte.d.mts +1 -0
- package/node_modules/es-toolkit/compat/lte.d.ts +1 -0
- package/node_modules/es-toolkit/compat/lte.js +1 -0
- package/node_modules/es-toolkit/compat/lte.mjs +1 -0
- package/node_modules/es-toolkit/compat/map.d.mts +1 -0
- package/node_modules/es-toolkit/compat/map.d.ts +1 -0
- package/node_modules/es-toolkit/compat/map.js +1 -0
- package/node_modules/es-toolkit/compat/map.mjs +1 -0
- package/node_modules/es-toolkit/compat/mapKeys.d.mts +1 -0
- package/node_modules/es-toolkit/compat/mapKeys.d.ts +1 -0
- package/node_modules/es-toolkit/compat/mapKeys.js +1 -0
- package/node_modules/es-toolkit/compat/mapKeys.mjs +1 -0
- package/node_modules/es-toolkit/compat/mapValues.d.mts +1 -0
- package/node_modules/es-toolkit/compat/mapValues.d.ts +1 -0
- package/node_modules/es-toolkit/compat/mapValues.js +1 -0
- package/node_modules/es-toolkit/compat/mapValues.mjs +1 -0
- package/node_modules/es-toolkit/compat/matches.d.mts +1 -0
- package/node_modules/es-toolkit/compat/matches.d.ts +1 -0
- package/node_modules/es-toolkit/compat/matches.js +1 -0
- package/node_modules/es-toolkit/compat/matches.mjs +1 -0
- package/node_modules/es-toolkit/compat/matchesProperty.d.mts +1 -0
- package/node_modules/es-toolkit/compat/matchesProperty.d.ts +1 -0
- package/node_modules/es-toolkit/compat/matchesProperty.js +1 -0
- package/node_modules/es-toolkit/compat/matchesProperty.mjs +1 -0
- package/node_modules/es-toolkit/compat/max.d.mts +1 -0
- package/node_modules/es-toolkit/compat/max.d.ts +1 -0
- package/node_modules/es-toolkit/compat/max.js +1 -0
- package/node_modules/es-toolkit/compat/max.mjs +1 -0
- package/node_modules/es-toolkit/compat/maxBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/maxBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/maxBy.js +1 -0
- package/node_modules/es-toolkit/compat/maxBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/mean.d.mts +1 -0
- package/node_modules/es-toolkit/compat/mean.d.ts +1 -0
- package/node_modules/es-toolkit/compat/mean.js +1 -0
- package/node_modules/es-toolkit/compat/mean.mjs +1 -0
- package/node_modules/es-toolkit/compat/meanBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/meanBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/meanBy.js +1 -0
- package/node_modules/es-toolkit/compat/meanBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/memoize.d.mts +1 -0
- package/node_modules/es-toolkit/compat/memoize.d.ts +1 -0
- package/node_modules/es-toolkit/compat/memoize.js +1 -0
- package/node_modules/es-toolkit/compat/memoize.mjs +1 -0
- package/node_modules/es-toolkit/compat/merge.d.mts +1 -0
- package/node_modules/es-toolkit/compat/merge.d.ts +1 -0
- package/node_modules/es-toolkit/compat/merge.js +1 -0
- package/node_modules/es-toolkit/compat/merge.mjs +1 -0
- package/node_modules/es-toolkit/compat/mergeWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/mergeWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/mergeWith.js +1 -0
- package/node_modules/es-toolkit/compat/mergeWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/method.d.mts +1 -0
- package/node_modules/es-toolkit/compat/method.d.ts +1 -0
- package/node_modules/es-toolkit/compat/method.js +1 -0
- package/node_modules/es-toolkit/compat/method.mjs +1 -0
- package/node_modules/es-toolkit/compat/methodOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/methodOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/methodOf.js +1 -0
- package/node_modules/es-toolkit/compat/methodOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/min.d.mts +1 -0
- package/node_modules/es-toolkit/compat/min.d.ts +1 -0
- package/node_modules/es-toolkit/compat/min.js +1 -0
- package/node_modules/es-toolkit/compat/min.mjs +1 -0
- package/node_modules/es-toolkit/compat/minBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/minBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/minBy.js +1 -0
- package/node_modules/es-toolkit/compat/minBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/multiply.d.mts +1 -0
- package/node_modules/es-toolkit/compat/multiply.d.ts +1 -0
- package/node_modules/es-toolkit/compat/multiply.js +1 -0
- package/node_modules/es-toolkit/compat/multiply.mjs +1 -0
- package/node_modules/es-toolkit/compat/negate.d.mts +1 -0
- package/node_modules/es-toolkit/compat/negate.d.ts +1 -0
- package/node_modules/es-toolkit/compat/negate.js +1 -0
- package/node_modules/es-toolkit/compat/negate.mjs +1 -0
- package/node_modules/es-toolkit/compat/noop.d.mts +1 -0
- package/node_modules/es-toolkit/compat/noop.d.ts +1 -0
- package/node_modules/es-toolkit/compat/noop.js +1 -0
- package/node_modules/es-toolkit/compat/noop.mjs +1 -0
- package/node_modules/es-toolkit/compat/now.d.mts +1 -0
- package/node_modules/es-toolkit/compat/now.d.ts +1 -0
- package/node_modules/es-toolkit/compat/now.js +1 -0
- package/node_modules/es-toolkit/compat/now.mjs +1 -0
- package/node_modules/es-toolkit/compat/nth.d.mts +1 -0
- package/node_modules/es-toolkit/compat/nth.d.ts +1 -0
- package/node_modules/es-toolkit/compat/nth.js +1 -0
- package/node_modules/es-toolkit/compat/nth.mjs +1 -0
- package/node_modules/es-toolkit/compat/nthArg.d.mts +1 -0
- package/node_modules/es-toolkit/compat/nthArg.d.ts +1 -0
- package/node_modules/es-toolkit/compat/nthArg.js +1 -0
- package/node_modules/es-toolkit/compat/nthArg.mjs +1 -0
- package/node_modules/es-toolkit/compat/omit.d.mts +1 -0
- package/node_modules/es-toolkit/compat/omit.d.ts +1 -0
- package/node_modules/es-toolkit/compat/omit.js +1 -0
- package/node_modules/es-toolkit/compat/omit.mjs +1 -0
- package/node_modules/es-toolkit/compat/omitBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/omitBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/omitBy.js +1 -0
- package/node_modules/es-toolkit/compat/omitBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/once.d.mts +1 -0
- package/node_modules/es-toolkit/compat/once.d.ts +1 -0
- package/node_modules/es-toolkit/compat/once.js +1 -0
- package/node_modules/es-toolkit/compat/once.mjs +1 -0
- package/node_modules/es-toolkit/compat/orderBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/orderBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/orderBy.js +1 -0
- package/node_modules/es-toolkit/compat/orderBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/over.d.mts +1 -0
- package/node_modules/es-toolkit/compat/over.d.ts +1 -0
- package/node_modules/es-toolkit/compat/over.js +1 -0
- package/node_modules/es-toolkit/compat/over.mjs +1 -0
- package/node_modules/es-toolkit/compat/overArgs.d.mts +1 -0
- package/node_modules/es-toolkit/compat/overArgs.d.ts +1 -0
- package/node_modules/es-toolkit/compat/overArgs.js +1 -0
- package/node_modules/es-toolkit/compat/overArgs.mjs +1 -0
- package/node_modules/es-toolkit/compat/overEvery.d.mts +1 -0
- package/node_modules/es-toolkit/compat/overEvery.d.ts +1 -0
- package/node_modules/es-toolkit/compat/overEvery.js +1 -0
- package/node_modules/es-toolkit/compat/overEvery.mjs +1 -0
- package/node_modules/es-toolkit/compat/overSome.d.mts +1 -0
- package/node_modules/es-toolkit/compat/overSome.d.ts +1 -0
- package/node_modules/es-toolkit/compat/overSome.js +1 -0
- package/node_modules/es-toolkit/compat/overSome.mjs +1 -0
- package/node_modules/es-toolkit/compat/pad.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pad.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pad.js +1 -0
- package/node_modules/es-toolkit/compat/pad.mjs +1 -0
- package/node_modules/es-toolkit/compat/padEnd.d.mts +1 -0
- package/node_modules/es-toolkit/compat/padEnd.d.ts +1 -0
- package/node_modules/es-toolkit/compat/padEnd.js +1 -0
- package/node_modules/es-toolkit/compat/padEnd.mjs +1 -0
- package/node_modules/es-toolkit/compat/padStart.d.mts +1 -0
- package/node_modules/es-toolkit/compat/padStart.d.ts +1 -0
- package/node_modules/es-toolkit/compat/padStart.js +1 -0
- package/node_modules/es-toolkit/compat/padStart.mjs +1 -0
- package/node_modules/es-toolkit/compat/parseInt.d.mts +1 -0
- package/node_modules/es-toolkit/compat/parseInt.d.ts +1 -0
- package/node_modules/es-toolkit/compat/parseInt.js +1 -0
- package/node_modules/es-toolkit/compat/parseInt.mjs +1 -0
- package/node_modules/es-toolkit/compat/partial.d.mts +1 -0
- package/node_modules/es-toolkit/compat/partial.d.ts +1 -0
- package/node_modules/es-toolkit/compat/partial.js +1 -0
- package/node_modules/es-toolkit/compat/partial.mjs +1 -0
- package/node_modules/es-toolkit/compat/partialRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/partialRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/partialRight.js +1 -0
- package/node_modules/es-toolkit/compat/partialRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/partition.d.mts +1 -0
- package/node_modules/es-toolkit/compat/partition.d.ts +1 -0
- package/node_modules/es-toolkit/compat/partition.js +1 -0
- package/node_modules/es-toolkit/compat/partition.mjs +1 -0
- package/node_modules/es-toolkit/compat/pick.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pick.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pick.js +1 -0
- package/node_modules/es-toolkit/compat/pick.mjs +1 -0
- package/node_modules/es-toolkit/compat/pickBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pickBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pickBy.js +1 -0
- package/node_modules/es-toolkit/compat/pickBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/property.d.mts +1 -0
- package/node_modules/es-toolkit/compat/property.d.ts +1 -0
- package/node_modules/es-toolkit/compat/property.js +1 -0
- package/node_modules/es-toolkit/compat/property.mjs +1 -0
- package/node_modules/es-toolkit/compat/propertyOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/propertyOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/propertyOf.js +1 -0
- package/node_modules/es-toolkit/compat/propertyOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/pull.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pull.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pull.js +1 -0
- package/node_modules/es-toolkit/compat/pull.mjs +1 -0
- package/node_modules/es-toolkit/compat/pullAll.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pullAll.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pullAll.js +1 -0
- package/node_modules/es-toolkit/compat/pullAll.mjs +1 -0
- package/node_modules/es-toolkit/compat/pullAllBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pullAllBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pullAllBy.js +1 -0
- package/node_modules/es-toolkit/compat/pullAllBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/pullAllWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pullAllWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pullAllWith.js +1 -0
- package/node_modules/es-toolkit/compat/pullAllWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/pullAt.d.mts +1 -0
- package/node_modules/es-toolkit/compat/pullAt.d.ts +1 -0
- package/node_modules/es-toolkit/compat/pullAt.js +1 -0
- package/node_modules/es-toolkit/compat/pullAt.mjs +1 -0
- package/node_modules/es-toolkit/compat/random.d.mts +1 -0
- package/node_modules/es-toolkit/compat/random.d.ts +1 -0
- package/node_modules/es-toolkit/compat/random.js +1 -0
- package/node_modules/es-toolkit/compat/random.mjs +1 -0
- package/node_modules/es-toolkit/compat/range.d.mts +1 -0
- package/node_modules/es-toolkit/compat/range.d.ts +1 -0
- package/node_modules/es-toolkit/compat/range.js +1 -0
- package/node_modules/es-toolkit/compat/range.mjs +1 -0
- package/node_modules/es-toolkit/compat/rangeRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/rangeRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/rangeRight.js +1 -0
- package/node_modules/es-toolkit/compat/rangeRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/rearg.d.mts +1 -0
- package/node_modules/es-toolkit/compat/rearg.d.ts +1 -0
- package/node_modules/es-toolkit/compat/rearg.js +1 -0
- package/node_modules/es-toolkit/compat/rearg.mjs +1 -0
- package/node_modules/es-toolkit/compat/reduce.d.mts +1 -0
- package/node_modules/es-toolkit/compat/reduce.d.ts +1 -0
- package/node_modules/es-toolkit/compat/reduce.js +1 -0
- package/node_modules/es-toolkit/compat/reduce.mjs +1 -0
- package/node_modules/es-toolkit/compat/reduceRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/reduceRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/reduceRight.js +1 -0
- package/node_modules/es-toolkit/compat/reduceRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/reject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/reject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/reject.js +1 -0
- package/node_modules/es-toolkit/compat/reject.mjs +1 -0
- package/node_modules/es-toolkit/compat/remove.d.mts +1 -0
- package/node_modules/es-toolkit/compat/remove.d.ts +1 -0
- package/node_modules/es-toolkit/compat/remove.js +1 -0
- package/node_modules/es-toolkit/compat/remove.mjs +1 -0
- package/node_modules/es-toolkit/compat/repeat.d.mts +1 -0
- package/node_modules/es-toolkit/compat/repeat.d.ts +1 -0
- package/node_modules/es-toolkit/compat/repeat.js +1 -0
- package/node_modules/es-toolkit/compat/repeat.mjs +1 -0
- package/node_modules/es-toolkit/compat/replace.d.mts +1 -0
- package/node_modules/es-toolkit/compat/replace.d.ts +1 -0
- package/node_modules/es-toolkit/compat/replace.js +1 -0
- package/node_modules/es-toolkit/compat/replace.mjs +1 -0
- package/node_modules/es-toolkit/compat/rest.d.mts +1 -0
- package/node_modules/es-toolkit/compat/rest.d.ts +1 -0
- package/node_modules/es-toolkit/compat/rest.js +1 -0
- package/node_modules/es-toolkit/compat/rest.mjs +1 -0
- package/node_modules/es-toolkit/compat/result.d.mts +1 -0
- package/node_modules/es-toolkit/compat/result.d.ts +1 -0
- package/node_modules/es-toolkit/compat/result.js +1 -0
- package/node_modules/es-toolkit/compat/result.mjs +1 -0
- package/node_modules/es-toolkit/compat/reverse.d.mts +1 -0
- package/node_modules/es-toolkit/compat/reverse.d.ts +1 -0
- package/node_modules/es-toolkit/compat/reverse.js +1 -0
- package/node_modules/es-toolkit/compat/reverse.mjs +1 -0
- package/node_modules/es-toolkit/compat/round.d.mts +1 -0
- package/node_modules/es-toolkit/compat/round.d.ts +1 -0
- package/node_modules/es-toolkit/compat/round.js +1 -0
- package/node_modules/es-toolkit/compat/round.mjs +1 -0
- package/node_modules/es-toolkit/compat/sample.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sample.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sample.js +1 -0
- package/node_modules/es-toolkit/compat/sample.mjs +1 -0
- package/node_modules/es-toolkit/compat/sampleSize.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sampleSize.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sampleSize.js +1 -0
- package/node_modules/es-toolkit/compat/sampleSize.mjs +1 -0
- package/node_modules/es-toolkit/compat/set.d.mts +1 -0
- package/node_modules/es-toolkit/compat/set.d.ts +1 -0
- package/node_modules/es-toolkit/compat/set.js +1 -0
- package/node_modules/es-toolkit/compat/set.mjs +1 -0
- package/node_modules/es-toolkit/compat/setWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/setWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/setWith.js +1 -0
- package/node_modules/es-toolkit/compat/setWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/shuffle.d.mts +1 -0
- package/node_modules/es-toolkit/compat/shuffle.d.ts +1 -0
- package/node_modules/es-toolkit/compat/shuffle.js +1 -0
- package/node_modules/es-toolkit/compat/shuffle.mjs +1 -0
- package/node_modules/es-toolkit/compat/size.d.mts +1 -0
- package/node_modules/es-toolkit/compat/size.d.ts +1 -0
- package/node_modules/es-toolkit/compat/size.js +1 -0
- package/node_modules/es-toolkit/compat/size.mjs +1 -0
- package/node_modules/es-toolkit/compat/slice.d.mts +1 -0
- package/node_modules/es-toolkit/compat/slice.d.ts +1 -0
- package/node_modules/es-toolkit/compat/slice.js +1 -0
- package/node_modules/es-toolkit/compat/slice.mjs +1 -0
- package/node_modules/es-toolkit/compat/snakeCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/snakeCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/snakeCase.js +1 -0
- package/node_modules/es-toolkit/compat/snakeCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/some.d.mts +1 -0
- package/node_modules/es-toolkit/compat/some.d.ts +1 -0
- package/node_modules/es-toolkit/compat/some.js +1 -0
- package/node_modules/es-toolkit/compat/some.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortBy.js +1 -0
- package/node_modules/es-toolkit/compat/sortBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedIndex.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndex.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndex.js +1 -0
- package/node_modules/es-toolkit/compat/sortedIndex.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexBy.js +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexOf.js +1 -0
- package/node_modules/es-toolkit/compat/sortedIndexOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndex.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndex.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndex.js +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndex.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexBy.js +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexOf.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexOf.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexOf.js +1 -0
- package/node_modules/es-toolkit/compat/sortedLastIndexOf.mjs +1 -0
- package/node_modules/es-toolkit/compat/split.d.mts +1 -0
- package/node_modules/es-toolkit/compat/split.d.ts +1 -0
- package/node_modules/es-toolkit/compat/split.js +1 -0
- package/node_modules/es-toolkit/compat/split.mjs +1 -0
- package/node_modules/es-toolkit/compat/spread.d.mts +1 -0
- package/node_modules/es-toolkit/compat/spread.d.ts +1 -0
- package/node_modules/es-toolkit/compat/spread.js +1 -0
- package/node_modules/es-toolkit/compat/spread.mjs +1 -0
- package/node_modules/es-toolkit/compat/startCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/startCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/startCase.js +1 -0
- package/node_modules/es-toolkit/compat/startCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/startsWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/startsWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/startsWith.js +1 -0
- package/node_modules/es-toolkit/compat/startsWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/stubArray.d.mts +1 -0
- package/node_modules/es-toolkit/compat/stubArray.d.ts +1 -0
- package/node_modules/es-toolkit/compat/stubArray.js +1 -0
- package/node_modules/es-toolkit/compat/stubArray.mjs +1 -0
- package/node_modules/es-toolkit/compat/stubFalse.d.mts +1 -0
- package/node_modules/es-toolkit/compat/stubFalse.d.ts +1 -0
- package/node_modules/es-toolkit/compat/stubFalse.js +1 -0
- package/node_modules/es-toolkit/compat/stubFalse.mjs +1 -0
- package/node_modules/es-toolkit/compat/stubObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/stubObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/stubObject.js +1 -0
- package/node_modules/es-toolkit/compat/stubObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/stubString.d.mts +1 -0
- package/node_modules/es-toolkit/compat/stubString.d.ts +1 -0
- package/node_modules/es-toolkit/compat/stubString.js +1 -0
- package/node_modules/es-toolkit/compat/stubString.mjs +1 -0
- package/node_modules/es-toolkit/compat/stubTrue.d.mts +1 -0
- package/node_modules/es-toolkit/compat/stubTrue.d.ts +1 -0
- package/node_modules/es-toolkit/compat/stubTrue.js +1 -0
- package/node_modules/es-toolkit/compat/stubTrue.mjs +1 -0
- package/node_modules/es-toolkit/compat/subtract.d.mts +1 -0
- package/node_modules/es-toolkit/compat/subtract.d.ts +1 -0
- package/node_modules/es-toolkit/compat/subtract.js +1 -0
- package/node_modules/es-toolkit/compat/subtract.mjs +1 -0
- package/node_modules/es-toolkit/compat/sum.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sum.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sum.js +1 -0
- package/node_modules/es-toolkit/compat/sum.mjs +1 -0
- package/node_modules/es-toolkit/compat/sumBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/sumBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/sumBy.js +1 -0
- package/node_modules/es-toolkit/compat/sumBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/tail.d.mts +1 -0
- package/node_modules/es-toolkit/compat/tail.d.ts +1 -0
- package/node_modules/es-toolkit/compat/tail.js +1 -0
- package/node_modules/es-toolkit/compat/tail.mjs +1 -0
- package/node_modules/es-toolkit/compat/take.d.mts +1 -0
- package/node_modules/es-toolkit/compat/take.d.ts +1 -0
- package/node_modules/es-toolkit/compat/take.js +1 -0
- package/node_modules/es-toolkit/compat/take.mjs +1 -0
- package/node_modules/es-toolkit/compat/takeRight.d.mts +1 -0
- package/node_modules/es-toolkit/compat/takeRight.d.ts +1 -0
- package/node_modules/es-toolkit/compat/takeRight.js +1 -0
- package/node_modules/es-toolkit/compat/takeRight.mjs +1 -0
- package/node_modules/es-toolkit/compat/takeRightWhile.d.mts +1 -0
- package/node_modules/es-toolkit/compat/takeRightWhile.d.ts +1 -0
- package/node_modules/es-toolkit/compat/takeRightWhile.js +1 -0
- package/node_modules/es-toolkit/compat/takeRightWhile.mjs +1 -0
- package/node_modules/es-toolkit/compat/takeWhile.d.mts +1 -0
- package/node_modules/es-toolkit/compat/takeWhile.d.ts +1 -0
- package/node_modules/es-toolkit/compat/takeWhile.js +1 -0
- package/node_modules/es-toolkit/compat/takeWhile.mjs +1 -0
- package/node_modules/es-toolkit/compat/template.d.mts +1 -0
- package/node_modules/es-toolkit/compat/template.d.ts +1 -0
- package/node_modules/es-toolkit/compat/template.js +1 -0
- package/node_modules/es-toolkit/compat/template.mjs +1 -0
- package/node_modules/es-toolkit/compat/templateSettings.d.mts +1 -0
- package/node_modules/es-toolkit/compat/templateSettings.d.ts +1 -0
- package/node_modules/es-toolkit/compat/templateSettings.js +1 -0
- package/node_modules/es-toolkit/compat/templateSettings.mjs +1 -0
- package/node_modules/es-toolkit/compat/throttle.d.mts +1 -0
- package/node_modules/es-toolkit/compat/throttle.d.ts +1 -0
- package/node_modules/es-toolkit/compat/throttle.js +1 -0
- package/node_modules/es-toolkit/compat/throttle.mjs +1 -0
- package/node_modules/es-toolkit/compat/times.d.mts +1 -0
- package/node_modules/es-toolkit/compat/times.d.ts +1 -0
- package/node_modules/es-toolkit/compat/times.js +1 -0
- package/node_modules/es-toolkit/compat/times.mjs +1 -0
- package/node_modules/es-toolkit/compat/toArray.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toArray.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toArray.js +1 -0
- package/node_modules/es-toolkit/compat/toArray.mjs +1 -0
- package/node_modules/es-toolkit/compat/toDefaulted.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toDefaulted.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toDefaulted.js +1 -0
- package/node_modules/es-toolkit/compat/toDefaulted.mjs +1 -0
- package/node_modules/es-toolkit/compat/toFinite.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toFinite.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toFinite.js +1 -0
- package/node_modules/es-toolkit/compat/toFinite.mjs +1 -0
- package/node_modules/es-toolkit/compat/toInteger.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toInteger.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toInteger.js +1 -0
- package/node_modules/es-toolkit/compat/toInteger.mjs +1 -0
- package/node_modules/es-toolkit/compat/toLength.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toLength.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toLength.js +1 -0
- package/node_modules/es-toolkit/compat/toLength.mjs +1 -0
- package/node_modules/es-toolkit/compat/toLower.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toLower.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toLower.js +1 -0
- package/node_modules/es-toolkit/compat/toLower.mjs +1 -0
- package/node_modules/es-toolkit/compat/toNumber.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toNumber.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toNumber.js +1 -0
- package/node_modules/es-toolkit/compat/toNumber.mjs +1 -0
- package/node_modules/es-toolkit/compat/toPairs.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toPairs.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toPairs.js +1 -0
- package/node_modules/es-toolkit/compat/toPairs.mjs +1 -0
- package/node_modules/es-toolkit/compat/toPairsIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toPairsIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toPairsIn.js +1 -0
- package/node_modules/es-toolkit/compat/toPairsIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/toPath.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toPath.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toPath.js +1 -0
- package/node_modules/es-toolkit/compat/toPath.mjs +1 -0
- package/node_modules/es-toolkit/compat/toPlainObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toPlainObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toPlainObject.js +1 -0
- package/node_modules/es-toolkit/compat/toPlainObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/toSafeInteger.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toSafeInteger.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toSafeInteger.js +1 -0
- package/node_modules/es-toolkit/compat/toSafeInteger.mjs +1 -0
- package/node_modules/es-toolkit/compat/toString.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toString.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toString.js +1 -0
- package/node_modules/es-toolkit/compat/toString.mjs +1 -0
- package/node_modules/es-toolkit/compat/toUpper.d.mts +1 -0
- package/node_modules/es-toolkit/compat/toUpper.d.ts +1 -0
- package/node_modules/es-toolkit/compat/toUpper.js +1 -0
- package/node_modules/es-toolkit/compat/toUpper.mjs +1 -0
- package/node_modules/es-toolkit/compat/transform.d.mts +1 -0
- package/node_modules/es-toolkit/compat/transform.d.ts +1 -0
- package/node_modules/es-toolkit/compat/transform.js +1 -0
- package/node_modules/es-toolkit/compat/transform.mjs +1 -0
- package/node_modules/es-toolkit/compat/trim.d.mts +1 -0
- package/node_modules/es-toolkit/compat/trim.d.ts +1 -0
- package/node_modules/es-toolkit/compat/trim.js +1 -0
- package/node_modules/es-toolkit/compat/trim.mjs +1 -0
- package/node_modules/es-toolkit/compat/trimEnd.d.mts +1 -0
- package/node_modules/es-toolkit/compat/trimEnd.d.ts +1 -0
- package/node_modules/es-toolkit/compat/trimEnd.js +1 -0
- package/node_modules/es-toolkit/compat/trimEnd.mjs +1 -0
- package/node_modules/es-toolkit/compat/trimStart.d.mts +1 -0
- package/node_modules/es-toolkit/compat/trimStart.d.ts +1 -0
- package/node_modules/es-toolkit/compat/trimStart.js +1 -0
- package/node_modules/es-toolkit/compat/trimStart.mjs +1 -0
- package/node_modules/es-toolkit/compat/truncate.d.mts +1 -0
- package/node_modules/es-toolkit/compat/truncate.d.ts +1 -0
- package/node_modules/es-toolkit/compat/truncate.js +1 -0
- package/node_modules/es-toolkit/compat/truncate.mjs +1 -0
- package/node_modules/es-toolkit/compat/unary.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unary.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unary.js +1 -0
- package/node_modules/es-toolkit/compat/unary.mjs +1 -0
- package/node_modules/es-toolkit/compat/unescape.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unescape.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unescape.js +1 -0
- package/node_modules/es-toolkit/compat/unescape.mjs +1 -0
- package/node_modules/es-toolkit/compat/union.d.mts +1 -0
- package/node_modules/es-toolkit/compat/union.d.ts +1 -0
- package/node_modules/es-toolkit/compat/union.js +1 -0
- package/node_modules/es-toolkit/compat/union.mjs +1 -0
- package/node_modules/es-toolkit/compat/unionBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unionBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unionBy.js +1 -0
- package/node_modules/es-toolkit/compat/unionBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/unionWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unionWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unionWith.js +1 -0
- package/node_modules/es-toolkit/compat/unionWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/uniq.d.mts +1 -0
- package/node_modules/es-toolkit/compat/uniq.d.ts +1 -0
- package/node_modules/es-toolkit/compat/uniq.js +1 -0
- package/node_modules/es-toolkit/compat/uniq.mjs +1 -0
- package/node_modules/es-toolkit/compat/uniqBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/uniqBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/uniqBy.js +1 -0
- package/node_modules/es-toolkit/compat/uniqBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/uniqWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/uniqWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/uniqWith.js +1 -0
- package/node_modules/es-toolkit/compat/uniqWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/uniqueId.d.mts +1 -0
- package/node_modules/es-toolkit/compat/uniqueId.d.ts +1 -0
- package/node_modules/es-toolkit/compat/uniqueId.js +1 -0
- package/node_modules/es-toolkit/compat/uniqueId.mjs +1 -0
- package/node_modules/es-toolkit/compat/unset.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unset.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unset.js +1 -0
- package/node_modules/es-toolkit/compat/unset.mjs +1 -0
- package/node_modules/es-toolkit/compat/unzip.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unzip.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unzip.js +1 -0
- package/node_modules/es-toolkit/compat/unzip.mjs +1 -0
- package/node_modules/es-toolkit/compat/unzipWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/unzipWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/unzipWith.js +1 -0
- package/node_modules/es-toolkit/compat/unzipWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/update.d.mts +1 -0
- package/node_modules/es-toolkit/compat/update.d.ts +1 -0
- package/node_modules/es-toolkit/compat/update.js +1 -0
- package/node_modules/es-toolkit/compat/update.mjs +1 -0
- package/node_modules/es-toolkit/compat/updateWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/updateWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/updateWith.js +1 -0
- package/node_modules/es-toolkit/compat/updateWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/upperCase.d.mts +1 -0
- package/node_modules/es-toolkit/compat/upperCase.d.ts +1 -0
- package/node_modules/es-toolkit/compat/upperCase.js +1 -0
- package/node_modules/es-toolkit/compat/upperCase.mjs +1 -0
- package/node_modules/es-toolkit/compat/upperFirst.d.mts +1 -0
- package/node_modules/es-toolkit/compat/upperFirst.d.ts +1 -0
- package/node_modules/es-toolkit/compat/upperFirst.js +1 -0
- package/node_modules/es-toolkit/compat/upperFirst.mjs +1 -0
- package/node_modules/es-toolkit/compat/values.d.mts +1 -0
- package/node_modules/es-toolkit/compat/values.d.ts +1 -0
- package/node_modules/es-toolkit/compat/values.js +1 -0
- package/node_modules/es-toolkit/compat/values.mjs +1 -0
- package/node_modules/es-toolkit/compat/valuesIn.d.mts +1 -0
- package/node_modules/es-toolkit/compat/valuesIn.d.ts +1 -0
- package/node_modules/es-toolkit/compat/valuesIn.js +1 -0
- package/node_modules/es-toolkit/compat/valuesIn.mjs +1 -0
- package/node_modules/es-toolkit/compat/without.d.mts +1 -0
- package/node_modules/es-toolkit/compat/without.d.ts +1 -0
- package/node_modules/es-toolkit/compat/without.js +1 -0
- package/node_modules/es-toolkit/compat/without.mjs +1 -0
- package/node_modules/es-toolkit/compat/words.d.mts +1 -0
- package/node_modules/es-toolkit/compat/words.d.ts +1 -0
- package/node_modules/es-toolkit/compat/words.js +1 -0
- package/node_modules/es-toolkit/compat/words.mjs +1 -0
- package/node_modules/es-toolkit/compat/wrap.d.mts +1 -0
- package/node_modules/es-toolkit/compat/wrap.d.ts +1 -0
- package/node_modules/es-toolkit/compat/wrap.js +1 -0
- package/node_modules/es-toolkit/compat/wrap.mjs +1 -0
- package/node_modules/es-toolkit/compat/xor.d.mts +1 -0
- package/node_modules/es-toolkit/compat/xor.d.ts +1 -0
- package/node_modules/es-toolkit/compat/xor.js +1 -0
- package/node_modules/es-toolkit/compat/xor.mjs +1 -0
- package/node_modules/es-toolkit/compat/xorBy.d.mts +1 -0
- package/node_modules/es-toolkit/compat/xorBy.d.ts +1 -0
- package/node_modules/es-toolkit/compat/xorBy.js +1 -0
- package/node_modules/es-toolkit/compat/xorBy.mjs +1 -0
- package/node_modules/es-toolkit/compat/xorWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/xorWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/xorWith.js +1 -0
- package/node_modules/es-toolkit/compat/xorWith.mjs +1 -0
- package/node_modules/es-toolkit/compat/zip.d.mts +1 -0
- package/node_modules/es-toolkit/compat/zip.d.ts +1 -0
- package/node_modules/es-toolkit/compat/zip.js +1 -0
- package/node_modules/es-toolkit/compat/zip.mjs +1 -0
- package/node_modules/es-toolkit/compat/zipObject.d.mts +1 -0
- package/node_modules/es-toolkit/compat/zipObject.d.ts +1 -0
- package/node_modules/es-toolkit/compat/zipObject.js +1 -0
- package/node_modules/es-toolkit/compat/zipObject.mjs +1 -0
- package/node_modules/es-toolkit/compat/zipObjectDeep.d.mts +1 -0
- package/node_modules/es-toolkit/compat/zipObjectDeep.d.ts +1 -0
- package/node_modules/es-toolkit/compat/zipObjectDeep.js +1 -0
- package/node_modules/es-toolkit/compat/zipObjectDeep.mjs +1 -0
- package/node_modules/es-toolkit/compat/zipWith.d.mts +1 -0
- package/node_modules/es-toolkit/compat/zipWith.d.ts +1 -0
- package/node_modules/es-toolkit/compat/zipWith.js +1 -0
- package/node_modules/es-toolkit/compat/zipWith.mjs +1 -0
- package/node_modules/es-toolkit/compat.d.ts +1 -0
- package/node_modules/es-toolkit/compat.js +1 -0
- package/node_modules/es-toolkit/dist/_internal/DOMException.d.mts +6 -0
- package/node_modules/es-toolkit/dist/_internal/DOMException.d.ts +6 -0
- package/node_modules/es-toolkit/dist/_internal/DOMException.js +5 -0
- package/node_modules/es-toolkit/dist/_internal/DOMException.mjs +5 -0
- package/node_modules/es-toolkit/dist/_internal/compareValues.js +21 -0
- package/node_modules/es-toolkit/dist/_internal/compareValues.mjs +21 -0
- package/node_modules/es-toolkit/dist/_internal/globalThis.d.mts +4 -0
- package/node_modules/es-toolkit/dist/_internal/globalThis.d.ts +4 -0
- package/node_modules/es-toolkit/dist/_internal/globalThis.js +6 -0
- package/node_modules/es-toolkit/dist/_internal/globalThis.mjs +6 -0
- package/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +16 -0
- package/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs +16 -0
- package/node_modules/es-toolkit/dist/_virtual/_rolldown/runtime.js +13 -0
- package/node_modules/es-toolkit/dist/_virtual/_rolldown/runtime.mjs +13 -0
- package/node_modules/es-toolkit/dist/array/at.d.mts +19 -0
- package/node_modules/es-toolkit/dist/array/at.d.ts +19 -0
- package/node_modules/es-toolkit/dist/array/at.js +29 -0
- package/node_modules/es-toolkit/dist/array/at.mjs +29 -0
- package/node_modules/es-toolkit/dist/array/cartesianProduct.d.mts +75 -0
- package/node_modules/es-toolkit/dist/array/cartesianProduct.d.ts +75 -0
- package/node_modules/es-toolkit/dist/array/cartesianProduct.js +23 -0
- package/node_modules/es-toolkit/dist/array/cartesianProduct.mjs +23 -0
- package/node_modules/es-toolkit/dist/array/chunk.d.mts +27 -0
- package/node_modules/es-toolkit/dist/array/chunk.d.ts +27 -0
- package/node_modules/es-toolkit/dist/array/chunk.js +37 -0
- package/node_modules/es-toolkit/dist/array/chunk.mjs +37 -0
- package/node_modules/es-toolkit/dist/array/chunkBy.d.mts +32 -0
- package/node_modules/es-toolkit/dist/array/chunkBy.d.ts +32 -0
- package/node_modules/es-toolkit/dist/array/chunkBy.js +42 -0
- package/node_modules/es-toolkit/dist/array/chunkBy.mjs +42 -0
- package/node_modules/es-toolkit/dist/array/combinations.d.mts +35 -0
- package/node_modules/es-toolkit/dist/array/combinations.d.ts +35 -0
- package/node_modules/es-toolkit/dist/array/combinations.js +53 -0
- package/node_modules/es-toolkit/dist/array/combinations.mjs +53 -0
- package/node_modules/es-toolkit/dist/array/compact.d.mts +16 -0
- package/node_modules/es-toolkit/dist/array/compact.d.ts +16 -0
- package/node_modules/es-toolkit/dist/array/compact.js +22 -0
- package/node_modules/es-toolkit/dist/array/compact.mjs +22 -0
- package/node_modules/es-toolkit/dist/array/countBy.d.mts +37 -0
- package/node_modules/es-toolkit/dist/array/countBy.d.ts +37 -0
- package/node_modules/es-toolkit/dist/array/countBy.js +45 -0
- package/node_modules/es-toolkit/dist/array/countBy.mjs +45 -0
- package/node_modules/es-toolkit/dist/array/difference.d.mts +26 -0
- package/node_modules/es-toolkit/dist/array/difference.d.ts +26 -0
- package/node_modules/es-toolkit/dist/array/difference.js +29 -0
- package/node_modules/es-toolkit/dist/array/difference.mjs +29 -0
- package/node_modules/es-toolkit/dist/array/differenceBy.d.mts +36 -0
- package/node_modules/es-toolkit/dist/array/differenceBy.d.ts +36 -0
- package/node_modules/es-toolkit/dist/array/differenceBy.js +41 -0
- package/node_modules/es-toolkit/dist/array/differenceBy.mjs +41 -0
- package/node_modules/es-toolkit/dist/array/differenceWith.d.mts +32 -0
- package/node_modules/es-toolkit/dist/array/differenceWith.d.ts +32 -0
- package/node_modules/es-toolkit/dist/array/differenceWith.js +38 -0
- package/node_modules/es-toolkit/dist/array/differenceWith.mjs +38 -0
- package/node_modules/es-toolkit/dist/array/drop.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/drop.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/drop.js +23 -0
- package/node_modules/es-toolkit/dist/array/drop.mjs +23 -0
- package/node_modules/es-toolkit/dist/array/dropRight.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/dropRight.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/dropRight.js +24 -0
- package/node_modules/es-toolkit/dist/array/dropRight.mjs +24 -0
- package/node_modules/es-toolkit/dist/array/dropRightWhile.d.mts +22 -0
- package/node_modules/es-toolkit/dist/array/dropRightWhile.d.ts +22 -0
- package/node_modules/es-toolkit/dist/array/dropRightWhile.js +25 -0
- package/node_modules/es-toolkit/dist/array/dropRightWhile.mjs +25 -0
- package/node_modules/es-toolkit/dist/array/dropWhile.d.mts +22 -0
- package/node_modules/es-toolkit/dist/array/dropWhile.d.ts +22 -0
- package/node_modules/es-toolkit/dist/array/dropWhile.js +26 -0
- package/node_modules/es-toolkit/dist/array/dropWhile.mjs +26 -0
- package/node_modules/es-toolkit/dist/array/fill.d.mts +86 -0
- package/node_modules/es-toolkit/dist/array/fill.d.ts +86 -0
- package/node_modules/es-toolkit/dist/array/fill.js +38 -0
- package/node_modules/es-toolkit/dist/array/fill.mjs +38 -0
- package/node_modules/es-toolkit/dist/array/filterAsync.d.mts +36 -0
- package/node_modules/es-toolkit/dist/array/filterAsync.d.ts +36 -0
- package/node_modules/es-toolkit/dist/array/filterAsync.js +38 -0
- package/node_modules/es-toolkit/dist/array/filterAsync.mjs +38 -0
- package/node_modules/es-toolkit/dist/array/flatMap.d.mts +24 -0
- package/node_modules/es-toolkit/dist/array/flatMap.d.ts +24 -0
- package/node_modules/es-toolkit/dist/array/flatMap.js +27 -0
- package/node_modules/es-toolkit/dist/array/flatMap.mjs +27 -0
- package/node_modules/es-toolkit/dist/array/flatMapAsync.d.mts +38 -0
- package/node_modules/es-toolkit/dist/array/flatMapAsync.d.ts +38 -0
- package/node_modules/es-toolkit/dist/array/flatMapAsync.js +41 -0
- package/node_modules/es-toolkit/dist/array/flatMapAsync.mjs +40 -0
- package/node_modules/es-toolkit/dist/array/flatMapDeep.d.mts +19 -0
- package/node_modules/es-toolkit/dist/array/flatMapDeep.d.ts +19 -0
- package/node_modules/es-toolkit/dist/array/flatMapDeep.js +20 -0
- package/node_modules/es-toolkit/dist/array/flatMapDeep.mjs +20 -0
- package/node_modules/es-toolkit/dist/array/flatten.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/flatten.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/flatten.js +32 -0
- package/node_modules/es-toolkit/dist/array/flatten.mjs +32 -0
- package/node_modules/es-toolkit/dist/array/flattenDeep.d.mts +26 -0
- package/node_modules/es-toolkit/dist/array/flattenDeep.d.ts +26 -0
- package/node_modules/es-toolkit/dist/array/flattenDeep.js +18 -0
- package/node_modules/es-toolkit/dist/array/flattenDeep.mjs +18 -0
- package/node_modules/es-toolkit/dist/array/forEachAsync.d.mts +36 -0
- package/node_modules/es-toolkit/dist/array/forEachAsync.d.ts +36 -0
- package/node_modules/es-toolkit/dist/array/forEachAsync.js +37 -0
- package/node_modules/es-toolkit/dist/array/forEachAsync.mjs +37 -0
- package/node_modules/es-toolkit/dist/array/forEachRight.d.mts +49 -0
- package/node_modules/es-toolkit/dist/array/forEachRight.d.ts +49 -0
- package/node_modules/es-toolkit/dist/array/forEachRight.js +31 -0
- package/node_modules/es-toolkit/dist/array/forEachRight.mjs +31 -0
- package/node_modules/es-toolkit/dist/array/groupBy.d.mts +42 -0
- package/node_modules/es-toolkit/dist/array/groupBy.d.ts +42 -0
- package/node_modules/es-toolkit/dist/array/groupBy.js +51 -0
- package/node_modules/es-toolkit/dist/array/groupBy.mjs +51 -0
- package/node_modules/es-toolkit/dist/array/head.d.mts +35 -0
- package/node_modules/es-toolkit/dist/array/head.d.ts +35 -0
- package/node_modules/es-toolkit/dist/array/head.js +21 -0
- package/node_modules/es-toolkit/dist/array/head.mjs +21 -0
- package/node_modules/es-toolkit/dist/array/index.d.mts +70 -0
- package/node_modules/es-toolkit/dist/array/index.d.ts +70 -0
- package/node_modules/es-toolkit/dist/array/index.js +139 -0
- package/node_modules/es-toolkit/dist/array/index.mjs +70 -0
- package/node_modules/es-toolkit/dist/array/initial.d.mts +55 -0
- package/node_modules/es-toolkit/dist/array/initial.d.ts +55 -0
- package/node_modules/es-toolkit/dist/array/initial.js +19 -0
- package/node_modules/es-toolkit/dist/array/initial.mjs +19 -0
- package/node_modules/es-toolkit/dist/array/intersection.d.mts +22 -0
- package/node_modules/es-toolkit/dist/array/intersection.d.ts +22 -0
- package/node_modules/es-toolkit/dist/array/intersection.js +25 -0
- package/node_modules/es-toolkit/dist/array/intersection.mjs +25 -0
- package/node_modules/es-toolkit/dist/array/intersectionBy.d.mts +37 -0
- package/node_modules/es-toolkit/dist/array/intersectionBy.d.ts +37 -0
- package/node_modules/es-toolkit/dist/array/intersectionBy.js +49 -0
- package/node_modules/es-toolkit/dist/array/intersectionBy.mjs +49 -0
- package/node_modules/es-toolkit/dist/array/intersectionWith.d.mts +38 -0
- package/node_modules/es-toolkit/dist/array/intersectionWith.d.ts +38 -0
- package/node_modules/es-toolkit/dist/array/intersectionWith.js +44 -0
- package/node_modules/es-toolkit/dist/array/intersectionWith.mjs +44 -0
- package/node_modules/es-toolkit/dist/array/isSubset.d.mts +27 -0
- package/node_modules/es-toolkit/dist/array/isSubset.d.ts +27 -0
- package/node_modules/es-toolkit/dist/array/isSubset.js +30 -0
- package/node_modules/es-toolkit/dist/array/isSubset.mjs +30 -0
- package/node_modules/es-toolkit/dist/array/isSubsetWith.d.mts +34 -0
- package/node_modules/es-toolkit/dist/array/isSubsetWith.d.ts +34 -0
- package/node_modules/es-toolkit/dist/array/isSubsetWith.js +37 -0
- package/node_modules/es-toolkit/dist/array/isSubsetWith.mjs +37 -0
- package/node_modules/es-toolkit/dist/array/keyBy.d.mts +37 -0
- package/node_modules/es-toolkit/dist/array/keyBy.d.ts +37 -0
- package/node_modules/es-toolkit/dist/array/keyBy.js +45 -0
- package/node_modules/es-toolkit/dist/array/keyBy.mjs +45 -0
- package/node_modules/es-toolkit/dist/array/last.d.mts +49 -0
- package/node_modules/es-toolkit/dist/array/last.d.ts +49 -0
- package/node_modules/es-toolkit/dist/array/last.js +28 -0
- package/node_modules/es-toolkit/dist/array/last.mjs +28 -0
- package/node_modules/es-toolkit/dist/array/limitAsync.d.mts +35 -0
- package/node_modules/es-toolkit/dist/array/limitAsync.d.ts +35 -0
- package/node_modules/es-toolkit/dist/array/limitAsync.js +46 -0
- package/node_modules/es-toolkit/dist/array/limitAsync.mjs +46 -0
- package/node_modules/es-toolkit/dist/array/mapAsync.d.mts +35 -0
- package/node_modules/es-toolkit/dist/array/mapAsync.d.ts +35 -0
- package/node_modules/es-toolkit/dist/array/mapAsync.js +36 -0
- package/node_modules/es-toolkit/dist/array/mapAsync.mjs +36 -0
- package/node_modules/es-toolkit/dist/array/maxBy.d.mts +48 -0
- package/node_modules/es-toolkit/dist/array/maxBy.d.ts +48 -0
- package/node_modules/es-toolkit/dist/array/maxBy.js +40 -0
- package/node_modules/es-toolkit/dist/array/maxBy.mjs +40 -0
- package/node_modules/es-toolkit/dist/array/minBy.d.mts +48 -0
- package/node_modules/es-toolkit/dist/array/minBy.d.ts +48 -0
- package/node_modules/es-toolkit/dist/array/minBy.js +40 -0
- package/node_modules/es-toolkit/dist/array/minBy.mjs +40 -0
- package/node_modules/es-toolkit/dist/array/orderBy.d.mts +38 -0
- package/node_modules/es-toolkit/dist/array/orderBy.d.ts +38 -0
- package/node_modules/es-toolkit/dist/array/orderBy.js +53 -0
- package/node_modules/es-toolkit/dist/array/orderBy.mjs +51 -0
- package/node_modules/es-toolkit/dist/array/partition.d.mts +51 -0
- package/node_modules/es-toolkit/dist/array/partition.d.ts +51 -0
- package/node_modules/es-toolkit/dist/array/partition.js +13 -0
- package/node_modules/es-toolkit/dist/array/partition.mjs +13 -0
- package/node_modules/es-toolkit/dist/array/pull.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/pull.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/pull.js +33 -0
- package/node_modules/es-toolkit/dist/array/pull.mjs +33 -0
- package/node_modules/es-toolkit/dist/array/pullAt.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/pullAt.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/pullAt.js +26 -0
- package/node_modules/es-toolkit/dist/array/pullAt.mjs +26 -0
- package/node_modules/es-toolkit/dist/array/reduceAsync.d.mts +72 -0
- package/node_modules/es-toolkit/dist/array/reduceAsync.d.ts +72 -0
- package/node_modules/es-toolkit/dist/array/reduceAsync.js +13 -0
- package/node_modules/es-toolkit/dist/array/reduceAsync.mjs +13 -0
- package/node_modules/es-toolkit/dist/array/remove.d.mts +20 -0
- package/node_modules/es-toolkit/dist/array/remove.d.ts +20 -0
- package/node_modules/es-toolkit/dist/array/remove.js +37 -0
- package/node_modules/es-toolkit/dist/array/remove.mjs +37 -0
- package/node_modules/es-toolkit/dist/array/sample.d.mts +18 -0
- package/node_modules/es-toolkit/dist/array/sample.d.ts +18 -0
- package/node_modules/es-toolkit/dist/array/sample.js +20 -0
- package/node_modules/es-toolkit/dist/array/sample.mjs +20 -0
- package/node_modules/es-toolkit/dist/array/sampleSize.d.mts +22 -0
- package/node_modules/es-toolkit/dist/array/sampleSize.d.ts +22 -0
- package/node_modules/es-toolkit/dist/array/sampleSize.js +34 -0
- package/node_modules/es-toolkit/dist/array/sampleSize.mjs +34 -0
- package/node_modules/es-toolkit/dist/array/shuffle.d.mts +18 -0
- package/node_modules/es-toolkit/dist/array/shuffle.d.ts +18 -0
- package/node_modules/es-toolkit/dist/array/shuffle.js +28 -0
- package/node_modules/es-toolkit/dist/array/shuffle.mjs +28 -0
- package/node_modules/es-toolkit/dist/array/sortBy.d.mts +36 -0
- package/node_modules/es-toolkit/dist/array/sortBy.d.ts +36 -0
- package/node_modules/es-toolkit/dist/array/sortBy.js +39 -0
- package/node_modules/es-toolkit/dist/array/sortBy.mjs +39 -0
- package/node_modules/es-toolkit/dist/array/tail.d.mts +68 -0
- package/node_modules/es-toolkit/dist/array/tail.d.ts +68 -0
- package/node_modules/es-toolkit/dist/array/tail.js +30 -0
- package/node_modules/es-toolkit/dist/array/tail.mjs +30 -0
- package/node_modules/es-toolkit/dist/array/take.d.mts +26 -0
- package/node_modules/es-toolkit/dist/array/take.d.ts +26 -0
- package/node_modules/es-toolkit/dist/array/take.js +28 -0
- package/node_modules/es-toolkit/dist/array/take.mjs +28 -0
- package/node_modules/es-toolkit/dist/array/takeRight.d.mts +25 -0
- package/node_modules/es-toolkit/dist/array/takeRight.d.ts +25 -0
- package/node_modules/es-toolkit/dist/array/takeRight.js +28 -0
- package/node_modules/es-toolkit/dist/array/takeRight.mjs +28 -0
- package/node_modules/es-toolkit/dist/array/takeRightWhile.d.mts +26 -0
- package/node_modules/es-toolkit/dist/array/takeRightWhile.d.ts +26 -0
- package/node_modules/es-toolkit/dist/array/takeRightWhile.js +29 -0
- package/node_modules/es-toolkit/dist/array/takeRightWhile.mjs +29 -0
- package/node_modules/es-toolkit/dist/array/takeWhile.d.mts +27 -0
- package/node_modules/es-toolkit/dist/array/takeWhile.d.ts +27 -0
- package/node_modules/es-toolkit/dist/array/takeWhile.js +35 -0
- package/node_modules/es-toolkit/dist/array/takeWhile.mjs +35 -0
- package/node_modules/es-toolkit/dist/array/toFilled.d.mts +93 -0
- package/node_modules/es-toolkit/dist/array/toFilled.d.ts +93 -0
- package/node_modules/es-toolkit/dist/array/toFilled.js +23 -0
- package/node_modules/es-toolkit/dist/array/toFilled.mjs +23 -0
- package/node_modules/es-toolkit/dist/array/union.d.mts +21 -0
- package/node_modules/es-toolkit/dist/array/union.d.ts +21 -0
- package/node_modules/es-toolkit/dist/array/union.js +24 -0
- package/node_modules/es-toolkit/dist/array/union.mjs +24 -0
- package/node_modules/es-toolkit/dist/array/unionBy.d.mts +26 -0
- package/node_modules/es-toolkit/dist/array/unionBy.d.ts +26 -0
- package/node_modules/es-toolkit/dist/array/unionBy.js +29 -0
- package/node_modules/es-toolkit/dist/array/unionBy.mjs +29 -0
- package/node_modules/es-toolkit/dist/array/unionWith.d.mts +24 -0
- package/node_modules/es-toolkit/dist/array/unionWith.d.ts +24 -0
- package/node_modules/es-toolkit/dist/array/unionWith.js +27 -0
- package/node_modules/es-toolkit/dist/array/unionWith.mjs +27 -0
- package/node_modules/es-toolkit/dist/array/uniq.d.mts +19 -0
- package/node_modules/es-toolkit/dist/array/uniq.d.ts +19 -0
- package/node_modules/es-toolkit/dist/array/uniq.js +21 -0
- package/node_modules/es-toolkit/dist/array/uniq.mjs +21 -0
- package/node_modules/es-toolkit/dist/array/uniqBy.d.mts +32 -0
- package/node_modules/es-toolkit/dist/array/uniqBy.d.ts +32 -0
- package/node_modules/es-toolkit/dist/array/uniqBy.js +40 -0
- package/node_modules/es-toolkit/dist/array/uniqBy.mjs +40 -0
- package/node_modules/es-toolkit/dist/array/uniqWith.d.mts +19 -0
- package/node_modules/es-toolkit/dist/array/uniqWith.d.ts +19 -0
- package/node_modules/es-toolkit/dist/array/uniqWith.js +26 -0
- package/node_modules/es-toolkit/dist/array/uniqWith.mjs +26 -0
- package/node_modules/es-toolkit/dist/array/unzip.d.mts +18 -0
- package/node_modules/es-toolkit/dist/array/unzip.d.ts +18 -0
- package/node_modules/es-toolkit/dist/array/unzip.js +26 -0
- package/node_modules/es-toolkit/dist/array/unzip.mjs +26 -0
- package/node_modules/es-toolkit/dist/array/unzipWith.d.mts +18 -0
- package/node_modules/es-toolkit/dist/array/unzipWith.d.ts +18 -0
- package/node_modules/es-toolkit/dist/array/unzipWith.js +27 -0
- package/node_modules/es-toolkit/dist/array/unzipWith.mjs +27 -0
- package/node_modules/es-toolkit/dist/array/windowed.d.mts +53 -0
- package/node_modules/es-toolkit/dist/array/windowed.d.ts +53 -0
- package/node_modules/es-toolkit/dist/array/windowed.js +41 -0
- package/node_modules/es-toolkit/dist/array/windowed.mjs +41 -0
- package/node_modules/es-toolkit/dist/array/without.d.mts +24 -0
- package/node_modules/es-toolkit/dist/array/without.d.ts +24 -0
- package/node_modules/es-toolkit/dist/array/without.js +27 -0
- package/node_modules/es-toolkit/dist/array/without.mjs +27 -0
- package/node_modules/es-toolkit/dist/array/xor.d.mts +21 -0
- package/node_modules/es-toolkit/dist/array/xor.d.ts +21 -0
- package/node_modules/es-toolkit/dist/array/xor.js +26 -0
- package/node_modules/es-toolkit/dist/array/xor.mjs +26 -0
- package/node_modules/es-toolkit/dist/array/xorBy.d.mts +23 -0
- package/node_modules/es-toolkit/dist/array/xorBy.d.ts +23 -0
- package/node_modules/es-toolkit/dist/array/xorBy.js +30 -0
- package/node_modules/es-toolkit/dist/array/xorBy.mjs +28 -0
- package/node_modules/es-toolkit/dist/array/xorWith.d.mts +22 -0
- package/node_modules/es-toolkit/dist/array/xorWith.d.ts +22 -0
- package/node_modules/es-toolkit/dist/array/xorWith.js +29 -0
- package/node_modules/es-toolkit/dist/array/xorWith.mjs +27 -0
- package/node_modules/es-toolkit/dist/array/zip.d.mts +107 -0
- package/node_modules/es-toolkit/dist/array/zip.d.ts +107 -0
- package/node_modules/es-toolkit/dist/array/zip.js +34 -0
- package/node_modules/es-toolkit/dist/array/zip.mjs +34 -0
- package/node_modules/es-toolkit/dist/array/zipObject.d.mts +34 -0
- package/node_modules/es-toolkit/dist/array/zipObject.d.ts +34 -0
- package/node_modules/es-toolkit/dist/array/zipObject.js +38 -0
- package/node_modules/es-toolkit/dist/array/zipObject.mjs +38 -0
- package/node_modules/es-toolkit/dist/array/zipWith.d.mts +73 -0
- package/node_modules/es-toolkit/dist/array/zipWith.d.ts +73 -0
- package/node_modules/es-toolkit/dist/array/zipWith.js +32 -0
- package/node_modules/es-toolkit/dist/array/zipWith.mjs +32 -0
- package/node_modules/es-toolkit/dist/browser.global.js +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ArrayIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ArrayIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ConformsPredicateObject.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ConformsPredicateObject.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/EmptyObjectOf.d.mts +5 -0
- package/node_modules/es-toolkit/dist/compat/_internal/EmptyObjectOf.d.ts +5 -0
- package/node_modules/es-toolkit/dist/compat/_internal/Equals.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/Equals.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/GetFieldType.d.mts +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/GetFieldType.d.ts +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsEqualCustomizer.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsEqualCustomizer.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsMatchWithCustomizer.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsMatchWithCustomizer.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsWritable.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IsWritable.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IterateeShorthand.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/IterateeShorthand.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIteratee.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIteratee.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterateeCustom.d.mts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterateeCustom.d.ts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIteratorTypeGuard.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListIteratorTypeGuard.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListOfRecursiveArraysOrValues.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ListOfRecursiveArraysOrValues.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MAX_ARRAY_LENGTH.js +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MAX_ARRAY_LENGTH.mjs +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MAX_SAFE_INTEGER.js +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MAX_SAFE_INTEGER.mjs +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/Many.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/Many.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MemoListIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MemoListIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MemoObjectIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MemoObjectIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MutableList.d.mts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/MutableList.d.ts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ObjectIteratee.d.mts +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ObjectIteratee.d.ts +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ObjectIterator.d.mts +5 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ObjectIterator.d.ts +5 -0
- package/node_modules/es-toolkit/dist/compat/_internal/PartialShallow.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/PartialShallow.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/PropertyPath.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/PropertyPath.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/RecursiveArray.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/RecursiveArray.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/RejectReadonly.d.mts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/RejectReadonly.d.ts +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/StringIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/StringIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/TupleIterator.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/TupleIterator.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIteratee.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIteratee.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIterateeCustom.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIterateeCustom.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIteratorTypeGuard.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueIteratorTypeGuard.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueKeyIteratee.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueKeyIteratee.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueKeyIterateeTypeGuard.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/ValueKeyIterateeTypeGuard.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/assignValue.mjs +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +22 -0
- package/node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/_internal/copyArray.js +17 -0
- package/node_modules/es-toolkit/dist/compat/_internal/copyArray.mjs +17 -0
- package/node_modules/es-toolkit/dist/compat/_internal/createPadding.js +14 -0
- package/node_modules/es-toolkit/dist/compat/_internal/createPadding.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/decimalAdjust.js +16 -0
- package/node_modules/es-toolkit/dist/compat/_internal/decimalAdjust.mjs +16 -0
- package/node_modules/es-toolkit/dist/compat/_internal/flattenArrayLike.js +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/flattenArrayLike.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getSymbolsIn.js +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getSymbolsIn.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getTag.js +14 -0
- package/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs +14 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +40 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +11 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs +11 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isKey.js +26 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isKey.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs +7 -0
- package/node_modules/es-toolkit/dist/compat/_internal/mapToEntries.js +10 -0
- package/node_modules/es-toolkit/dist/compat/_internal/mapToEntries.mjs +10 -0
- package/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.js +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.mjs +8 -0
- package/node_modules/es-toolkit/dist/compat/_internal/regexMultiByte.js +11 -0
- package/node_modules/es-toolkit/dist/compat/_internal/regexMultiByte.mjs +11 -0
- package/node_modules/es-toolkit/dist/compat/_internal/setToEntries.js +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/setToEntries.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/_internal/tags.js +54 -0
- package/node_modules/es-toolkit/dist/compat/_internal/tags.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/_internal/toArray.js +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/toArray.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/_internal/toKey.js +15 -0
- package/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs +15 -0
- package/node_modules/es-toolkit/dist/compat/array/castArray.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/array/castArray.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/array/castArray.js +33 -0
- package/node_modules/es-toolkit/dist/compat/array/castArray.mjs +33 -0
- package/node_modules/es-toolkit/dist/compat/array/chunk.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/chunk.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/chunk.js +35 -0
- package/node_modules/es-toolkit/dist/compat/array/chunk.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/array/compact.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/array/compact.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/array/compact.js +20 -0
- package/node_modules/es-toolkit/dist/compat/array/compact.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/array/concat.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/concat.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/concat.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/concat.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/countBy.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/array/countBy.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/array/countBy.js +17 -0
- package/node_modules/es-toolkit/dist/compat/array/countBy.mjs +17 -0
- package/node_modules/es-toolkit/dist/compat/array/difference.d.mts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/difference.d.ts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/difference.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/difference.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceBy.d.mts +109 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceBy.d.ts +109 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceBy.js +24 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceBy.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.d.mts +92 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.d.ts +92 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +42 -0
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/array/drop.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/array/drop.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/array/drop.js +12 -0
- package/node_modules/es-toolkit/dist/compat/array/drop.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRight.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRight.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRight.js +29 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRight.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRightWhile.d.mts +38 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRightWhile.d.ts +38 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRightWhile.js +45 -0
- package/node_modules/es-toolkit/dist/compat/array/dropRightWhile.mjs +45 -0
- package/node_modules/es-toolkit/dist/compat/array/dropWhile.d.mts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/dropWhile.d.ts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/dropWhile.js +50 -0
- package/node_modules/es-toolkit/dist/compat/array/dropWhile.mjs +50 -0
- package/node_modules/es-toolkit/dist/compat/array/each.d.mts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/each.d.ts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/each.js +1 -0
- package/node_modules/es-toolkit/dist/compat/array/each.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/array/eachRight.d.mts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/eachRight.d.ts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/eachRight.js +1 -0
- package/node_modules/es-toolkit/dist/compat/array/eachRight.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/array/every.d.mts +65 -0
- package/node_modules/es-toolkit/dist/compat/array/every.d.ts +65 -0
- package/node_modules/es-toolkit/dist/compat/array/every.js +39 -0
- package/node_modules/es-toolkit/dist/compat/array/every.mjs +39 -0
- package/node_modules/es-toolkit/dist/compat/array/fill.d.mts +54 -0
- package/node_modules/es-toolkit/dist/compat/array/fill.d.ts +54 -0
- package/node_modules/es-toolkit/dist/compat/array/fill.js +42 -0
- package/node_modules/es-toolkit/dist/compat/array/fill.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/array/filter.d.mts +79 -0
- package/node_modules/es-toolkit/dist/compat/array/filter.d.ts +79 -0
- package/node_modules/es-toolkit/dist/compat/array/filter.js +50 -0
- package/node_modules/es-toolkit/dist/compat/array/filter.mjs +50 -0
- package/node_modules/es-toolkit/dist/compat/array/find.d.mts +70 -0
- package/node_modules/es-toolkit/dist/compat/array/find.d.ts +70 -0
- package/node_modules/es-toolkit/dist/compat/array/find.js +35 -0
- package/node_modules/es-toolkit/dist/compat/array/find.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/array/findIndex.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/findIndex.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/findIndex.js +46 -0
- package/node_modules/es-toolkit/dist/compat/array/findIndex.mjs +46 -0
- package/node_modules/es-toolkit/dist/compat/array/findLast.d.mts +83 -0
- package/node_modules/es-toolkit/dist/compat/array/findLast.d.ts +83 -0
- package/node_modules/es-toolkit/dist/compat/array/findLast.js +39 -0
- package/node_modules/es-toolkit/dist/compat/array/findLast.mjs +39 -0
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/array/first.d.mts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/first.d.ts +1 -0
- package/node_modules/es-toolkit/dist/compat/array/first.js +1 -0
- package/node_modules/es-toolkit/dist/compat/array/first.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMap.d.mts +94 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMap.d.ts +94 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMap.js +24 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMap.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDeep.d.mts +83 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDeep.d.ts +83 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDeep.js +19 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDeep.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.d.mts +87 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.d.ts +87 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.js +26 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/array/flatten.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/array/flatten.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/array/flatten.js +18 -0
- package/node_modules/es-toolkit/dist/compat/array/flatten.mjs +18 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.js +18 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.mjs +18 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/array/forEach.d.mts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/forEach.d.ts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/forEach.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/forEach.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/forEachRight.d.mts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/forEachRight.d.ts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/forEachRight.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/forEachRight.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/groupBy.d.mts +36 -0
- package/node_modules/es-toolkit/dist/compat/array/groupBy.d.ts +36 -0
- package/node_modules/es-toolkit/dist/compat/array/groupBy.js +44 -0
- package/node_modules/es-toolkit/dist/compat/array/groupBy.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/array/head.d.mts +33 -0
- package/node_modules/es-toolkit/dist/compat/array/head.d.ts +33 -0
- package/node_modules/es-toolkit/dist/compat/array/head.js +25 -0
- package/node_modules/es-toolkit/dist/compat/array/head.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/array/includes.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/includes.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/includes.js +46 -0
- package/node_modules/es-toolkit/dist/compat/array/includes.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/array/indexOf.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/indexOf.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/indexOf.js +31 -0
- package/node_modules/es-toolkit/dist/compat/array/indexOf.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/array/initial.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/initial.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/initial.js +22 -0
- package/node_modules/es-toolkit/dist/compat/array/initial.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/array/intersection.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/intersection.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/intersection.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/intersection.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.d.mts +74 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.d.ts +74 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.js +59 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.mjs +59 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.d.mts +69 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.d.ts +69 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.js +53 -0
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.mjs +53 -0
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.d.mts +33 -0
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.d.ts +33 -0
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/array/join.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/array/join.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/array/join.js +20 -0
- package/node_modules/es-toolkit/dist/compat/array/join.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/array/keyBy.d.mts +40 -0
- package/node_modules/es-toolkit/dist/compat/array/keyBy.d.ts +40 -0
- package/node_modules/es-toolkit/dist/compat/array/keyBy.js +44 -0
- package/node_modules/es-toolkit/dist/compat/array/keyBy.mjs +44 -0
- package/node_modules/es-toolkit/dist/compat/array/last.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/last.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/last.js +32 -0
- package/node_modules/es-toolkit/dist/compat/array/last.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.js +15 -0
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.mjs +15 -0
- package/node_modules/es-toolkit/dist/compat/array/map.d.mts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/map.d.ts +111 -0
- package/node_modules/es-toolkit/dist/compat/array/map.js +19 -0
- package/node_modules/es-toolkit/dist/compat/array/map.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/array/nth.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/array/nth.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/array/nth.js +22 -0
- package/node_modules/es-toolkit/dist/compat/array/nth.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/array/orderBy.d.mts +86 -0
- package/node_modules/es-toolkit/dist/compat/array/orderBy.d.ts +86 -0
- package/node_modules/es-toolkit/dist/compat/array/orderBy.js +80 -0
- package/node_modules/es-toolkit/dist/compat/array/orderBy.mjs +80 -0
- package/node_modules/es-toolkit/dist/compat/array/partition.d.mts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/partition.d.ts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/partition.js +42 -0
- package/node_modules/es-toolkit/dist/compat/array/partition.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/array/pull.d.mts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/pull.d.ts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/pull.js +23 -0
- package/node_modules/es-toolkit/dist/compat/array/pull.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAll.d.mts +42 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAll.d.ts +42 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAll.js +23 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAll.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllBy.d.mts +87 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllBy.d.ts +87 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllBy.js +43 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllBy.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.d.mts +90 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.d.ts +90 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.js +43 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAt.d.mts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAt.d.ts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAt.js +44 -0
- package/node_modules/es-toolkit/dist/compat/array/pullAt.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/array/reduce.d.mts +81 -0
- package/node_modules/es-toolkit/dist/compat/array/reduce.d.ts +81 -0
- package/node_modules/es-toolkit/dist/compat/array/reduce.js +54 -0
- package/node_modules/es-toolkit/dist/compat/array/reduce.mjs +54 -0
- package/node_modules/es-toolkit/dist/compat/array/reduceRight.d.mts +119 -0
- package/node_modules/es-toolkit/dist/compat/array/reduceRight.d.ts +119 -0
- package/node_modules/es-toolkit/dist/compat/array/reduceRight.js +54 -0
- package/node_modules/es-toolkit/dist/compat/array/reduceRight.mjs +54 -0
- package/node_modules/es-toolkit/dist/compat/array/reject.d.mts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/reject.d.ts +51 -0
- package/node_modules/es-toolkit/dist/compat/array/reject.js +32 -0
- package/node_modules/es-toolkit/dist/compat/array/reject.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/array/remove.d.mts +22 -0
- package/node_modules/es-toolkit/dist/compat/array/remove.d.ts +22 -0
- package/node_modules/es-toolkit/dist/compat/array/remove.js +36 -0
- package/node_modules/es-toolkit/dist/compat/array/remove.mjs +36 -0
- package/node_modules/es-toolkit/dist/compat/array/reverse.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/reverse.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/reverse.js +28 -0
- package/node_modules/es-toolkit/dist/compat/array/reverse.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/array/sample.d.mts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/sample.d.ts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/sample.js +21 -0
- package/node_modules/es-toolkit/dist/compat/array/sample.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/array/sampleSize.d.mts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/sampleSize.d.ts +29 -0
- package/node_modules/es-toolkit/dist/compat/array/sampleSize.js +31 -0
- package/node_modules/es-toolkit/dist/compat/array/sampleSize.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/array/shuffle.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/shuffle.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/array/shuffle.js +25 -0
- package/node_modules/es-toolkit/dist/compat/array/shuffle.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/array/size.d.mts +44 -0
- package/node_modules/es-toolkit/dist/compat/array/size.d.ts +44 -0
- package/node_modules/es-toolkit/dist/compat/array/size.js +13 -0
- package/node_modules/es-toolkit/dist/compat/array/size.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/array/slice.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/slice.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/slice.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/slice.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/array/some.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/array/some.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/array/some.js +90 -0
- package/node_modules/es-toolkit/dist/compat/array/some.mjs +90 -0
- package/node_modules/es-toolkit/dist/compat/array/sortBy.d.mts +74 -0
- package/node_modules/es-toolkit/dist/compat/array/sortBy.d.ts +74 -0
- package/node_modules/es-toolkit/dist/compat/array/sortBy.js +12 -0
- package/node_modules/es-toolkit/dist/compat/array/sortBy.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndex.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndex.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndex.js +36 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndex.mjs +36 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +54 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +54 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.d.mts +35 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.d.ts +35 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.js +42 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndex.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndex.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndex.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndex.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexBy.js +22 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexBy.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.d.mts +36 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.d.ts +36 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.js +43 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/array/tail.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/array/tail.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/array/tail.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/tail.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/take.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/take.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/take.js +35 -0
- package/node_modules/es-toolkit/dist/compat/array/take.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRight.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRight.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRight.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRight.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRightWhile.d.mts +37 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRightWhile.d.ts +37 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRightWhile.js +59 -0
- package/node_modules/es-toolkit/dist/compat/array/takeRightWhile.mjs +59 -0
- package/node_modules/es-toolkit/dist/compat/array/takeWhile.d.mts +37 -0
- package/node_modules/es-toolkit/dist/compat/array/takeWhile.d.ts +37 -0
- package/node_modules/es-toolkit/dist/compat/array/takeWhile.js +59 -0
- package/node_modules/es-toolkit/dist/compat/array/takeWhile.mjs +59 -0
- package/node_modules/es-toolkit/dist/compat/array/union.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/union.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/union.js +38 -0
- package/node_modules/es-toolkit/dist/compat/array/union.mjs +36 -0
- package/node_modules/es-toolkit/dist/compat/array/unionBy.d.mts +94 -0
- package/node_modules/es-toolkit/dist/compat/array/unionBy.d.ts +94 -0
- package/node_modules/es-toolkit/dist/compat/array/unionBy.js +37 -0
- package/node_modules/es-toolkit/dist/compat/array/unionBy.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/array/unionWith.d.mts +53 -0
- package/node_modules/es-toolkit/dist/compat/array/unionWith.d.ts +53 -0
- package/node_modules/es-toolkit/dist/compat/array/unionWith.js +41 -0
- package/node_modules/es-toolkit/dist/compat/array/unionWith.mjs +41 -0
- package/node_modules/es-toolkit/dist/compat/array/uniq.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/uniq.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/array/uniq.js +24 -0
- package/node_modules/es-toolkit/dist/compat/array/uniq.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqBy.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqBy.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqBy.js +12 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqBy.mjs +12 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqWith.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqWith.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqWith.js +34 -0
- package/node_modules/es-toolkit/dist/compat/array/uniqWith.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/array/unzip.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/unzip.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/array/unzip.js +25 -0
- package/node_modules/es-toolkit/dist/compat/array/unzip.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/array/unzipWith.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/unzipWith.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/array/unzipWith.js +33 -0
- package/node_modules/es-toolkit/dist/compat/array/unzipWith.mjs +33 -0
- package/node_modules/es-toolkit/dist/compat/array/without.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/array/without.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/array/without.js +29 -0
- package/node_modules/es-toolkit/dist/compat/array/without.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/array/xor.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/array/xor.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/array/xor.js +38 -0
- package/node_modules/es-toolkit/dist/compat/array/xor.mjs +38 -0
- package/node_modules/es-toolkit/dist/compat/array/xorBy.d.mts +57 -0
- package/node_modules/es-toolkit/dist/compat/array/xorBy.d.ts +57 -0
- package/node_modules/es-toolkit/dist/compat/array/xorBy.js +40 -0
- package/node_modules/es-toolkit/dist/compat/array/xorBy.mjs +38 -0
- package/node_modules/es-toolkit/dist/compat/array/xorWith.d.mts +53 -0
- package/node_modules/es-toolkit/dist/compat/array/xorWith.d.ts +53 -0
- package/node_modules/es-toolkit/dist/compat/array/xorWith.js +39 -0
- package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/array/zip.d.mts +187 -0
- package/node_modules/es-toolkit/dist/compat/array/zip.d.ts +187 -0
- package/node_modules/es-toolkit/dist/compat/array/zip.js +30 -0
- package/node_modules/es-toolkit/dist/compat/array/zip.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObject.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObject.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObject.js +39 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObject.mjs +39 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObjectDeep.d.mts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObjectDeep.d.ts +39 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObjectDeep.js +50 -0
- package/node_modules/es-toolkit/dist/compat/array/zipObjectDeep.mjs +50 -0
- package/node_modules/es-toolkit/dist/compat/array/zipWith.d.mts +93 -0
- package/node_modules/es-toolkit/dist/compat/array/zipWith.d.ts +93 -0
- package/node_modules/es-toolkit/dist/compat/array/zipWith.js +35 -0
- package/node_modules/es-toolkit/dist/compat/array/zipWith.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/compat.d.mts +299 -0
- package/node_modules/es-toolkit/dist/compat/compat.d.ts +299 -0
- package/node_modules/es-toolkit/dist/compat/compat.js +605 -0
- package/node_modules/es-toolkit/dist/compat/compat.mjs +600 -0
- package/node_modules/es-toolkit/dist/compat/function/after.d.mts +25 -0
- package/node_modules/es-toolkit/dist/compat/function/after.d.ts +25 -0
- package/node_modules/es-toolkit/dist/compat/function/after.js +32 -0
- package/node_modules/es-toolkit/dist/compat/function/after.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/function/ary.d.mts +25 -0
- package/node_modules/es-toolkit/dist/compat/function/ary.d.ts +25 -0
- package/node_modules/es-toolkit/dist/compat/function/ary.js +28 -0
- package/node_modules/es-toolkit/dist/compat/function/ary.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/function/attempt.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/function/attempt.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/function/attempt.js +40 -0
- package/node_modules/es-toolkit/dist/compat/function/attempt.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/function/before.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/function/before.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/function/before.js +37 -0
- package/node_modules/es-toolkit/dist/compat/function/before.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/function/bind.d.mts +33 -0
- package/node_modules/es-toolkit/dist/compat/function/bind.d.ts +33 -0
- package/node_modules/es-toolkit/dist/compat/function/bind.js +44 -0
- package/node_modules/es-toolkit/dist/compat/function/bind.mjs +44 -0
- package/node_modules/es-toolkit/dist/compat/function/bindKey.d.mts +46 -0
- package/node_modules/es-toolkit/dist/compat/function/bindKey.d.ts +46 -0
- package/node_modules/es-toolkit/dist/compat/function/bindKey.js +57 -0
- package/node_modules/es-toolkit/dist/compat/function/bindKey.mjs +57 -0
- package/node_modules/es-toolkit/dist/compat/function/curry.d.mts +155 -0
- package/node_modules/es-toolkit/dist/compat/function/curry.d.ts +155 -0
- package/node_modules/es-toolkit/dist/compat/function/curry.js +81 -0
- package/node_modules/es-toolkit/dist/compat/function/curry.mjs +81 -0
- package/node_modules/es-toolkit/dist/compat/function/curryRight.d.mts +86 -0
- package/node_modules/es-toolkit/dist/compat/function/curryRight.d.ts +86 -0
- package/node_modules/es-toolkit/dist/compat/function/curryRight.js +86 -0
- package/node_modules/es-toolkit/dist/compat/function/curryRight.mjs +86 -0
- package/node_modules/es-toolkit/dist/compat/function/debounce.d.mts +145 -0
- package/node_modules/es-toolkit/dist/compat/function/debounce.d.ts +145 -0
- package/node_modules/es-toolkit/dist/compat/function/debounce.js +38 -0
- package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +38 -0
- package/node_modules/es-toolkit/dist/compat/function/defer.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/function/defer.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/function/defer.js +20 -0
- package/node_modules/es-toolkit/dist/compat/function/defer.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/function/delay.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/function/delay.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/function/delay.js +34 -0
- package/node_modules/es-toolkit/dist/compat/function/delay.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/function/flip.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/flip.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/flip.js +24 -0
- package/node_modules/es-toolkit/dist/compat/function/flip.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/function/flow.d.mts +120 -0
- package/node_modules/es-toolkit/dist/compat/function/flow.d.ts +120 -0
- package/node_modules/es-toolkit/dist/compat/function/flow.js +26 -0
- package/node_modules/es-toolkit/dist/compat/function/flow.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/function/flowRight.d.mts +118 -0
- package/node_modules/es-toolkit/dist/compat/function/flowRight.d.ts +118 -0
- package/node_modules/es-toolkit/dist/compat/function/flowRight.js +28 -0
- package/node_modules/es-toolkit/dist/compat/function/flowRight.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/function/identity.d.mts +43 -0
- package/node_modules/es-toolkit/dist/compat/function/identity.d.ts +43 -0
- package/node_modules/es-toolkit/dist/compat/function/identity.js +6 -0
- package/node_modules/es-toolkit/dist/compat/function/identity.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/function/memoize.d.mts +120 -0
- package/node_modules/es-toolkit/dist/compat/function/memoize.d.ts +120 -0
- package/node_modules/es-toolkit/dist/compat/function/memoize.js +28 -0
- package/node_modules/es-toolkit/dist/compat/function/memoize.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/function/negate.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/negate.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/negate.js +22 -0
- package/node_modules/es-toolkit/dist/compat/function/negate.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/function/noop.d.mts +13 -0
- package/node_modules/es-toolkit/dist/compat/function/noop.d.ts +13 -0
- package/node_modules/es-toolkit/dist/compat/function/noop.js +13 -0
- package/node_modules/es-toolkit/dist/compat/function/noop.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/function/nthArg.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/nthArg.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/function/nthArg.js +28 -0
- package/node_modules/es-toolkit/dist/compat/function/nthArg.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/function/once.d.mts +4 -0
- package/node_modules/es-toolkit/dist/compat/function/once.d.ts +4 -0
- package/node_modules/es-toolkit/dist/compat/function/once.js +7 -0
- package/node_modules/es-toolkit/dist/compat/function/once.mjs +7 -0
- package/node_modules/es-toolkit/dist/compat/function/overArgs.d.mts +51 -0
- package/node_modules/es-toolkit/dist/compat/function/overArgs.d.ts +51 -0
- package/node_modules/es-toolkit/dist/compat/function/overArgs.js +60 -0
- package/node_modules/es-toolkit/dist/compat/function/overArgs.mjs +60 -0
- package/node_modules/es-toolkit/dist/compat/function/partial.d.mts +205 -0
- package/node_modules/es-toolkit/dist/compat/function/partial.d.ts +205 -0
- package/node_modules/es-toolkit/dist/compat/function/partial.js +34 -0
- package/node_modules/es-toolkit/dist/compat/function/partial.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/function/partialRight.d.mts +623 -0
- package/node_modules/es-toolkit/dist/compat/function/partialRight.d.ts +623 -0
- package/node_modules/es-toolkit/dist/compat/function/partialRight.js +34 -0
- package/node_modules/es-toolkit/dist/compat/function/partialRight.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/function/rearg.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/function/rearg.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/function/rearg.js +26 -0
- package/node_modules/es-toolkit/dist/compat/function/rearg.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/function/rest.d.mts +33 -0
- package/node_modules/es-toolkit/dist/compat/function/rest.d.ts +33 -0
- package/node_modules/es-toolkit/dist/compat/function/rest.js +38 -0
- package/node_modules/es-toolkit/dist/compat/function/rest.mjs +38 -0
- package/node_modules/es-toolkit/dist/compat/function/spread.d.mts +48 -0
- package/node_modules/es-toolkit/dist/compat/function/spread.d.ts +48 -0
- package/node_modules/es-toolkit/dist/compat/function/spread.js +57 -0
- package/node_modules/es-toolkit/dist/compat/function/spread.mjs +57 -0
- package/node_modules/es-toolkit/dist/compat/function/throttle.d.mts +82 -0
- package/node_modules/es-toolkit/dist/compat/function/throttle.d.ts +82 -0
- package/node_modules/es-toolkit/dist/compat/function/throttle.js +42 -0
- package/node_modules/es-toolkit/dist/compat/function/throttle.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/function/unary.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/function/unary.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/function/unary.js +21 -0
- package/node_modules/es-toolkit/dist/compat/function/unary.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/function/wrap.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/function/wrap.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/function/wrap.js +34 -0
- package/node_modules/es-toolkit/dist/compat/function/wrap.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/index.d.mts +294 -0
- package/node_modules/es-toolkit/dist/compat/index.d.ts +294 -0
- package/node_modules/es-toolkit/dist/compat/index.js +596 -0
- package/node_modules/es-toolkit/dist/compat/index.mjs +295 -0
- package/node_modules/es-toolkit/dist/compat/math/add.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/add.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/add.js +32 -0
- package/node_modules/es-toolkit/dist/compat/math/add.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/math/ceil.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/ceil.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/ceil.js +19 -0
- package/node_modules/es-toolkit/dist/compat/math/ceil.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/math/clamp.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/math/clamp.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/math/clamp.js +36 -0
- package/node_modules/es-toolkit/dist/compat/math/clamp.mjs +36 -0
- package/node_modules/es-toolkit/dist/compat/math/divide.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/divide.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/divide.js +32 -0
- package/node_modules/es-toolkit/dist/compat/math/divide.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/math/floor.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/floor.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/floor.js +19 -0
- package/node_modules/es-toolkit/dist/compat/math/floor.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/math/inRange.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/math/inRange.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/math/inRange.js +31 -0
- package/node_modules/es-toolkit/dist/compat/math/inRange.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/math/max.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/math/max.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/math/max.js +20 -0
- package/node_modules/es-toolkit/dist/compat/math/max.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/math/maxBy.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/maxBy.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/maxBy.js +52 -0
- package/node_modules/es-toolkit/dist/compat/math/maxBy.mjs +52 -0
- package/node_modules/es-toolkit/dist/compat/math/mean.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/math/mean.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/math/mean.js +21 -0
- package/node_modules/es-toolkit/dist/compat/math/mean.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/math/meanBy.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/math/meanBy.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/math/meanBy.js +32 -0
- package/node_modules/es-toolkit/dist/compat/math/meanBy.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/math/min.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/math/min.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/math/min.js +20 -0
- package/node_modules/es-toolkit/dist/compat/math/min.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/math/minBy.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/minBy.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/minBy.js +52 -0
- package/node_modules/es-toolkit/dist/compat/math/minBy.mjs +52 -0
- package/node_modules/es-toolkit/dist/compat/math/multiply.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/multiply.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/math/multiply.js +32 -0
- package/node_modules/es-toolkit/dist/compat/math/multiply.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/math/parseInt.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/math/parseInt.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/math/parseInt.js +25 -0
- package/node_modules/es-toolkit/dist/compat/math/parseInt.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/math/random.d.mts +47 -0
- package/node_modules/es-toolkit/dist/compat/math/random.d.ts +47 -0
- package/node_modules/es-toolkit/dist/compat/math/random.js +58 -0
- package/node_modules/es-toolkit/dist/compat/math/random.mjs +58 -0
- package/node_modules/es-toolkit/dist/compat/math/range.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/range.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/math/range.js +37 -0
- package/node_modules/es-toolkit/dist/compat/math/range.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/math/rangeRight.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/math/rangeRight.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/math/rangeRight.js +38 -0
- package/node_modules/es-toolkit/dist/compat/math/rangeRight.mjs +38 -0
- package/node_modules/es-toolkit/dist/compat/math/round.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/round.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/math/round.js +19 -0
- package/node_modules/es-toolkit/dist/compat/math/round.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/math/subtract.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/math/subtract.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/math/subtract.js +31 -0
- package/node_modules/es-toolkit/dist/compat/math/subtract.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/math/sum.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/math/sum.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/math/sum.js +23 -0
- package/node_modules/es-toolkit/dist/compat/math/sum.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/math/sumBy.d.mts +22 -0
- package/node_modules/es-toolkit/dist/compat/math/sumBy.d.ts +22 -0
- package/node_modules/es-toolkit/dist/compat/math/sumBy.js +33 -0
- package/node_modules/es-toolkit/dist/compat/math/sumBy.mjs +33 -0
- package/node_modules/es-toolkit/dist/compat/object/assign.d.mts +111 -0
- package/node_modules/es-toolkit/dist/compat/object/assign.d.ts +111 -0
- package/node_modules/es-toolkit/dist/compat/object/assign.js +32 -0
- package/node_modules/es-toolkit/dist/compat/object/assign.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/object/assignIn.d.mts +112 -0
- package/node_modules/es-toolkit/dist/compat/object/assignIn.d.ts +112 -0
- package/node_modules/es-toolkit/dist/compat/object/assignIn.js +32 -0
- package/node_modules/es-toolkit/dist/compat/object/assignIn.mjs +32 -0
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.d.mts +127 -0
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.d.ts +127 -0
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.js +47 -0
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.mjs +47 -0
- package/node_modules/es-toolkit/dist/compat/object/assignWith.d.mts +127 -0
- package/node_modules/es-toolkit/dist/compat/object/assignWith.d.ts +127 -0
- package/node_modules/es-toolkit/dist/compat/object/assignWith.js +47 -0
- package/node_modules/es-toolkit/dist/compat/object/assignWith.mjs +47 -0
- package/node_modules/es-toolkit/dist/compat/object/at.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/object/at.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/object/at.js +37 -0
- package/node_modules/es-toolkit/dist/compat/object/at.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/object/clone.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/object/clone.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/object/clone.js +156 -0
- package/node_modules/es-toolkit/dist/compat/object/clone.mjs +156 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeep.d.mts +50 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeep.d.ts +50 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +53 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs +53 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.d.mts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.d.ts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +71 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs +71 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneWith.d.mts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneWith.d.ts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneWith.js +55 -0
- package/node_modules/es-toolkit/dist/compat/object/cloneWith.mjs +55 -0
- package/node_modules/es-toolkit/dist/compat/object/create.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/object/create.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/object/create.js +31 -0
- package/node_modules/es-toolkit/dist/compat/object/create.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/object/defaults.d.mts +101 -0
- package/node_modules/es-toolkit/dist/compat/object/defaults.d.ts +101 -0
- package/node_modules/es-toolkit/dist/compat/object/defaults.js +46 -0
- package/node_modules/es-toolkit/dist/compat/object/defaults.mjs +46 -0
- package/node_modules/es-toolkit/dist/compat/object/defaultsDeep.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/object/defaultsDeep.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/object/defaultsDeep.js +70 -0
- package/node_modules/es-toolkit/dist/compat/object/defaultsDeep.mjs +70 -0
- package/node_modules/es-toolkit/dist/compat/object/extend.d.mts +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extend.d.ts +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extend.js +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extend.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extendWith.d.mts +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extendWith.d.ts +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extendWith.js +1 -0
- package/node_modules/es-toolkit/dist/compat/object/extendWith.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/object/findKey.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/object/findKey.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/object/findKey.js +24 -0
- package/node_modules/es-toolkit/dist/compat/object/findKey.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/object/findLastKey.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/object/findLastKey.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/object/findLastKey.js +23 -0
- package/node_modules/es-toolkit/dist/compat/object/findLastKey.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/object/forIn.d.mts +59 -0
- package/node_modules/es-toolkit/dist/compat/object/forIn.d.ts +59 -0
- package/node_modules/es-toolkit/dist/compat/object/forIn.js +36 -0
- package/node_modules/es-toolkit/dist/compat/object/forIn.mjs +36 -0
- package/node_modules/es-toolkit/dist/compat/object/forInRight.d.mts +59 -0
- package/node_modules/es-toolkit/dist/compat/object/forInRight.d.ts +59 -0
- package/node_modules/es-toolkit/dist/compat/object/forInRight.js +41 -0
- package/node_modules/es-toolkit/dist/compat/object/forInRight.mjs +41 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwn.d.mts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwn.d.ts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwn.js +40 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwn.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwnRight.d.mts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwnRight.d.ts +55 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwnRight.js +40 -0
- package/node_modules/es-toolkit/dist/compat/object/forOwnRight.mjs +40 -0
- package/node_modules/es-toolkit/dist/compat/object/fromPairs.d.mts +29 -0
- package/node_modules/es-toolkit/dist/compat/object/fromPairs.d.ts +29 -0
- package/node_modules/es-toolkit/dist/compat/object/fromPairs.js +27 -0
- package/node_modules/es-toolkit/dist/compat/object/fromPairs.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/object/functions.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/functions.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/functions.js +29 -0
- package/node_modules/es-toolkit/dist/compat/object/functions.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/object/functionsIn.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/functionsIn.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/functionsIn.js +27 -0
- package/node_modules/es-toolkit/dist/compat/object/functionsIn.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/object/get.d.mts +328 -0
- package/node_modules/es-toolkit/dist/compat/object/get.d.ts +328 -0
- package/node_modules/es-toolkit/dist/compat/object/get.js +65 -0
- package/node_modules/es-toolkit/dist/compat/object/get.mjs +65 -0
- package/node_modules/es-toolkit/dist/compat/object/has.d.mts +51 -0
- package/node_modules/es-toolkit/dist/compat/object/has.d.ts +51 -0
- package/node_modules/es-toolkit/dist/compat/object/has.js +52 -0
- package/node_modules/es-toolkit/dist/compat/object/has.mjs +52 -0
- package/node_modules/es-toolkit/dist/compat/object/hasIn.d.mts +44 -0
- package/node_modules/es-toolkit/dist/compat/object/hasIn.d.ts +44 -0
- package/node_modules/es-toolkit/dist/compat/object/hasIn.js +62 -0
- package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +62 -0
- package/node_modules/es-toolkit/dist/compat/object/invert.d.mts +14 -0
- package/node_modules/es-toolkit/dist/compat/object/invert.d.ts +14 -0
- package/node_modules/es-toolkit/dist/compat/object/invert.js +25 -0
- package/node_modules/es-toolkit/dist/compat/object/invert.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/object/invertBy.d.mts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/invertBy.d.ts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/invertBy.js +45 -0
- package/node_modules/es-toolkit/dist/compat/object/invertBy.mjs +45 -0
- package/node_modules/es-toolkit/dist/compat/object/keys.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/object/keys.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/object/keys.js +49 -0
- package/node_modules/es-toolkit/dist/compat/object/keys.mjs +49 -0
- package/node_modules/es-toolkit/dist/compat/object/keysIn.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/object/keysIn.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/object/keysIn.js +66 -0
- package/node_modules/es-toolkit/dist/compat/object/keysIn.mjs +66 -0
- package/node_modules/es-toolkit/dist/compat/object/mapKeys.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/object/mapKeys.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/object/mapKeys.js +28 -0
- package/node_modules/es-toolkit/dist/compat/object/mapKeys.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/object/mapValues.d.mts +125 -0
- package/node_modules/es-toolkit/dist/compat/object/mapValues.d.ts +125 -0
- package/node_modules/es-toolkit/dist/compat/object/mapValues.js +29 -0
- package/node_modules/es-toolkit/dist/compat/object/mapValues.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/object/merge.d.mts +85 -0
- package/node_modules/es-toolkit/dist/compat/object/merge.d.ts +85 -0
- package/node_modules/es-toolkit/dist/compat/object/merge.js +45 -0
- package/node_modules/es-toolkit/dist/compat/object/merge.mjs +45 -0
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.d.mts +126 -0
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.d.ts +126 -0
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +111 -0
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +111 -0
- package/node_modules/es-toolkit/dist/compat/object/omit.d.mts +46 -0
- package/node_modules/es-toolkit/dist/compat/object/omit.d.ts +46 -0
- package/node_modules/es-toolkit/dist/compat/object/omit.js +78 -0
- package/node_modules/es-toolkit/dist/compat/object/omit.mjs +78 -0
- package/node_modules/es-toolkit/dist/compat/object/omitBy.d.mts +44 -0
- package/node_modules/es-toolkit/dist/compat/object/omitBy.d.ts +44 -0
- package/node_modules/es-toolkit/dist/compat/object/omitBy.js +39 -0
- package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +39 -0
- package/node_modules/es-toolkit/dist/compat/object/pick.d.mts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/pick.d.ts +35 -0
- package/node_modules/es-toolkit/dist/compat/object/pick.js +60 -0
- package/node_modules/es-toolkit/dist/compat/object/pick.mjs +60 -0
- package/node_modules/es-toolkit/dist/compat/object/pickBy.d.mts +81 -0
- package/node_modules/es-toolkit/dist/compat/object/pickBy.d.ts +81 -0
- package/node_modules/es-toolkit/dist/compat/object/pickBy.js +41 -0
- package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +41 -0
- package/node_modules/es-toolkit/dist/compat/object/property.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/object/property.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/object/property.js +27 -0
- package/node_modules/es-toolkit/dist/compat/object/property.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/object/propertyOf.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/object/propertyOf.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/object/propertyOf.js +29 -0
- package/node_modules/es-toolkit/dist/compat/object/propertyOf.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/object/result.d.mts +38 -0
- package/node_modules/es-toolkit/dist/compat/object/result.d.ts +38 -0
- package/node_modules/es-toolkit/dist/compat/object/result.js +50 -0
- package/node_modules/es-toolkit/dist/compat/object/result.mjs +50 -0
- package/node_modules/es-toolkit/dist/compat/object/set.d.mts +61 -0
- package/node_modules/es-toolkit/dist/compat/object/set.d.ts +61 -0
- package/node_modules/es-toolkit/dist/compat/object/set.js +34 -0
- package/node_modules/es-toolkit/dist/compat/object/set.mjs +34 -0
- package/node_modules/es-toolkit/dist/compat/object/setWith.d.mts +52 -0
- package/node_modules/es-toolkit/dist/compat/object/setWith.d.ts +52 -0
- package/node_modules/es-toolkit/dist/compat/object/setWith.js +33 -0
- package/node_modules/es-toolkit/dist/compat/object/setWith.mjs +33 -0
- package/node_modules/es-toolkit/dist/compat/object/toDefaulted.d.mts +123 -0
- package/node_modules/es-toolkit/dist/compat/object/toDefaulted.d.ts +123 -0
- package/node_modules/es-toolkit/dist/compat/object/toDefaulted.js +31 -0
- package/node_modules/es-toolkit/dist/compat/object/toDefaulted.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairs.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairs.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairs.js +37 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairs.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairsIn.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairsIn.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairsIn.js +35 -0
- package/node_modules/es-toolkit/dist/compat/object/toPairsIn.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/object/transform.d.mts +75 -0
- package/node_modules/es-toolkit/dist/compat/object/transform.d.ts +75 -0
- package/node_modules/es-toolkit/dist/compat/object/transform.js +44 -0
- package/node_modules/es-toolkit/dist/compat/object/transform.mjs +44 -0
- package/node_modules/es-toolkit/dist/compat/object/unset.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/unset.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/object/unset.js +66 -0
- package/node_modules/es-toolkit/dist/compat/object/unset.mjs +66 -0
- package/node_modules/es-toolkit/dist/compat/object/update.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/object/update.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/object/update.js +16 -0
- package/node_modules/es-toolkit/dist/compat/object/update.mjs +16 -0
- package/node_modules/es-toolkit/dist/compat/object/updateWith.d.mts +40 -0
- package/node_modules/es-toolkit/dist/compat/object/updateWith.d.ts +40 -0
- package/node_modules/es-toolkit/dist/compat/object/updateWith.js +51 -0
- package/node_modules/es-toolkit/dist/compat/object/updateWith.mjs +51 -0
- package/node_modules/es-toolkit/dist/compat/object/values.d.mts +38 -0
- package/node_modules/es-toolkit/dist/compat/object/values.d.ts +38 -0
- package/node_modules/es-toolkit/dist/compat/object/values.js +20 -0
- package/node_modules/es-toolkit/dist/compat/object/values.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/object/valuesIn.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/object/valuesIn.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/object/valuesIn.js +25 -0
- package/node_modules/es-toolkit/dist/compat/object/valuesIn.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conforms.d.mts +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conforms.d.ts +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conforms.js +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conforms.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conformsTo.d.mts +33 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conformsTo.d.ts +33 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conformsTo.js +43 -0
- package/node_modules/es-toolkit/dist/compat/predicate/conformsTo.mjs +43 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArguments.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArguments.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArray.d.mts +46 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArray.d.ts +46 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArray.js +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArray.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayBuffer.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayBuffer.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayBuffer.js +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayBuffer.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.d.mts +10 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.d.ts +10 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBoolean.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBoolean.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBoolean.js +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBoolean.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBuffer.d.mts +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBuffer.d.ts +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBuffer.js +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isBuffer.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isDate.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isDate.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isDate.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isDate.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isElement.d.mts +14 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isElement.d.ts +14 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isElement.js +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isElement.mjs +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEmpty.d.mts +13 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEmpty.d.ts +13 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +48 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs +48 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.d.mts +41 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.d.ts +41 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +49 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.mjs +49 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isError.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isError.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isError.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isError.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFinite.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFinite.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFinite.js +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFinite.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFunction.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFunction.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFunction.js +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isFunction.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isInteger.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isInteger.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isInteger.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isInteger.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isLength.d.mts +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isLength.d.ts +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isLength.js +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isLength.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMap.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMap.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMap.js +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMap.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatch.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatch.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +35 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs +35 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +155 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs +155 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNaN.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNaN.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNaN.js +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNaN.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNative.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNative.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNative.js +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNative.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNil.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNil.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNil.js +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNil.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNull.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNull.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNull.js +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNull.mjs +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNumber.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNumber.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNumber.js +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isNumber.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObject.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObject.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObject.js +29 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObject.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.d.mts +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.d.ts +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +29 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs +29 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +39 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs +39 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isRegExp.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isRegExp.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isRegExp.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isRegExp.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSafeInteger.d.mts +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSafeInteger.d.ts +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSafeInteger.js +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSafeInteger.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSet.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSet.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSet.js +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSet.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isString.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isString.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isString.js +23 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isString.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSymbol.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSymbol.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isUndefined.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isUndefined.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isUndefined.js +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isUndefined.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakMap.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakMap.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakMap.js +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakMap.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakSet.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakSet.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakSet.js +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/isWeakSet.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matches.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matches.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matches.js +37 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matches.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.d.mts +39 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.d.ts +39 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +50 -0
- package/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs +50 -0
- package/node_modules/es-toolkit/dist/compat/string/camelCase.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/string/camelCase.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/string/camelCase.js +28 -0
- package/node_modules/es-toolkit/dist/compat/string/camelCase.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/string/capitalize.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/capitalize.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/capitalize.js +19 -0
- package/node_modules/es-toolkit/dist/compat/string/capitalize.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/string/deburr.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/string/deburr.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/string/deburr.js +27 -0
- package/node_modules/es-toolkit/dist/compat/string/deburr.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/string/endsWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/endsWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/endsWith.js +25 -0
- package/node_modules/es-toolkit/dist/compat/string/endsWith.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/string/escape.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/escape.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/escape.js +21 -0
- package/node_modules/es-toolkit/dist/compat/string/escape.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/string/escapeRegExp.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/escapeRegExp.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js +19 -0
- package/node_modules/es-toolkit/dist/compat/string/escapeRegExp.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.js +23 -0
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.js +23 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerFirst.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerFirst.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerFirst.js +19 -0
- package/node_modules/es-toolkit/dist/compat/string/lowerFirst.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/string/pad.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/string/pad.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/string/pad.js +31 -0
- package/node_modules/es-toolkit/dist/compat/string/pad.mjs +31 -0
- package/node_modules/es-toolkit/dist/compat/string/padEnd.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/padEnd.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/padEnd.js +30 -0
- package/node_modules/es-toolkit/dist/compat/string/padEnd.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/string/padStart.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/padStart.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/padStart.js +30 -0
- package/node_modules/es-toolkit/dist/compat/string/padStart.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/string/repeat.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/repeat.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/repeat.js +27 -0
- package/node_modules/es-toolkit/dist/compat/string/repeat.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/string/replace.d.mts +6 -0
- package/node_modules/es-toolkit/dist/compat/string/replace.d.ts +6 -0
- package/node_modules/es-toolkit/dist/compat/string/replace.js +22 -0
- package/node_modules/es-toolkit/dist/compat/string/replace.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.js +23 -0
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/string/split.d.mts +37 -0
- package/node_modules/es-toolkit/dist/compat/string/split.d.ts +37 -0
- package/node_modules/es-toolkit/dist/compat/string/split.js +7 -0
- package/node_modules/es-toolkit/dist/compat/string/split.mjs +7 -0
- package/node_modules/es-toolkit/dist/compat/string/startCase.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/startCase.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/startCase.js +30 -0
- package/node_modules/es-toolkit/dist/compat/string/startCase.mjs +30 -0
- package/node_modules/es-toolkit/dist/compat/string/startsWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/startsWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/startsWith.js +25 -0
- package/node_modules/es-toolkit/dist/compat/string/startsWith.mjs +25 -0
- package/node_modules/es-toolkit/dist/compat/string/template.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/string/template.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/string/template.js +138 -0
- package/node_modules/es-toolkit/dist/compat/string/template.mjs +137 -0
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.js +4 -0
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.mjs +5 -0
- package/node_modules/es-toolkit/dist/compat/string/toLower.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/toLower.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/toLower.js +24 -0
- package/node_modules/es-toolkit/dist/compat/string/toLower.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/string/toUpper.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/toUpper.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/string/toUpper.js +24 -0
- package/node_modules/es-toolkit/dist/compat/string/toUpper.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/string/trim.d.mts +29 -0
- package/node_modules/es-toolkit/dist/compat/string/trim.d.ts +29 -0
- package/node_modules/es-toolkit/dist/compat/string/trim.js +13 -0
- package/node_modules/es-toolkit/dist/compat/string/trim.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/string/trimEnd.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/string/trimEnd.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/string/trimEnd.js +24 -0
- package/node_modules/es-toolkit/dist/compat/string/trimEnd.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/string/trimStart.d.mts +31 -0
- package/node_modules/es-toolkit/dist/compat/string/trimStart.d.ts +31 -0
- package/node_modules/es-toolkit/dist/compat/string/trimStart.js +24 -0
- package/node_modules/es-toolkit/dist/compat/string/trimStart.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/string/truncate.d.mts +35 -0
- package/node_modules/es-toolkit/dist/compat/string/truncate.d.ts +35 -0
- package/node_modules/es-toolkit/dist/compat/string/truncate.js +65 -0
- package/node_modules/es-toolkit/dist/compat/string/truncate.mjs +65 -0
- package/node_modules/es-toolkit/dist/compat/string/unescape.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/unescape.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/string/unescape.js +21 -0
- package/node_modules/es-toolkit/dist/compat/string/unescape.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/string/upperCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/upperCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/string/upperCase.js +23 -0
- package/node_modules/es-toolkit/dist/compat/string/upperCase.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/string/upperFirst.d.mts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/upperFirst.d.ts +15 -0
- package/node_modules/es-toolkit/dist/compat/string/upperFirst.js +19 -0
- package/node_modules/es-toolkit/dist/compat/string/upperFirst.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/string/words.d.mts +28 -0
- package/node_modules/es-toolkit/dist/compat/string/words.d.ts +28 -0
- package/node_modules/es-toolkit/dist/compat/string/words.js +42 -0
- package/node_modules/es-toolkit/dist/compat/string/words.mjs +42 -0
- package/node_modules/es-toolkit/dist/compat/toolkit.d.mts +9 -0
- package/node_modules/es-toolkit/dist/compat/toolkit.d.ts +9 -0
- package/node_modules/es-toolkit/dist/compat/toolkit.js +10 -0
- package/node_modules/es-toolkit/dist/compat/toolkit.mjs +10 -0
- package/node_modules/es-toolkit/dist/compat/util/bindAll.d.mts +32 -0
- package/node_modules/es-toolkit/dist/compat/util/bindAll.d.ts +32 -0
- package/node_modules/es-toolkit/dist/compat/util/bindAll.js +53 -0
- package/node_modules/es-toolkit/dist/compat/util/bindAll.mjs +53 -0
- package/node_modules/es-toolkit/dist/compat/util/cond.d.mts +59 -0
- package/node_modules/es-toolkit/dist/compat/util/cond.d.ts +59 -0
- package/node_modules/es-toolkit/dist/compat/util/cond.js +22 -0
- package/node_modules/es-toolkit/dist/compat/util/cond.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/util/constant.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/constant.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/constant.js +20 -0
- package/node_modules/es-toolkit/dist/compat/util/constant.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/util/defaultTo.d.mts +22 -0
- package/node_modules/es-toolkit/dist/compat/util/defaultTo.d.ts +22 -0
- package/node_modules/es-toolkit/dist/compat/util/defaultTo.js +23 -0
- package/node_modules/es-toolkit/dist/compat/util/defaultTo.mjs +23 -0
- package/node_modules/es-toolkit/dist/compat/util/eq.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/util/eq.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/util/eq.js +19 -0
- package/node_modules/es-toolkit/dist/compat/util/eq.mjs +19 -0
- package/node_modules/es-toolkit/dist/compat/util/gt.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/gt.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/gt.js +20 -0
- package/node_modules/es-toolkit/dist/compat/util/gt.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/util/gte.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/gte.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/gte.js +20 -0
- package/node_modules/es-toolkit/dist/compat/util/gte.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/util/invoke.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/util/invoke.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/util/invoke.js +49 -0
- package/node_modules/es-toolkit/dist/compat/util/invoke.mjs +49 -0
- package/node_modules/es-toolkit/dist/compat/util/iteratee.d.mts +34 -0
- package/node_modules/es-toolkit/dist/compat/util/iteratee.d.ts +34 -0
- package/node_modules/es-toolkit/dist/compat/util/iteratee.js +49 -0
- package/node_modules/es-toolkit/dist/compat/util/iteratee.mjs +49 -0
- package/node_modules/es-toolkit/dist/compat/util/lt.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/lt.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/lt.js +20 -0
- package/node_modules/es-toolkit/dist/compat/util/lt.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/util/lte.d.mts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/lte.d.ts +16 -0
- package/node_modules/es-toolkit/dist/compat/util/lte.js +20 -0
- package/node_modules/es-toolkit/dist/compat/util/lte.mjs +20 -0
- package/node_modules/es-toolkit/dist/compat/util/method.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/util/method.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/util/method.js +28 -0
- package/node_modules/es-toolkit/dist/compat/util/method.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/util/methodOf.d.mts +23 -0
- package/node_modules/es-toolkit/dist/compat/util/methodOf.d.ts +23 -0
- package/node_modules/es-toolkit/dist/compat/util/methodOf.js +28 -0
- package/node_modules/es-toolkit/dist/compat/util/methodOf.mjs +28 -0
- package/node_modules/es-toolkit/dist/compat/util/now.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/now.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/now.js +21 -0
- package/node_modules/es-toolkit/dist/compat/util/now.mjs +21 -0
- package/node_modules/es-toolkit/dist/compat/util/over.d.mts +30 -0
- package/node_modules/es-toolkit/dist/compat/util/over.d.ts +30 -0
- package/node_modules/es-toolkit/dist/compat/util/over.js +37 -0
- package/node_modules/es-toolkit/dist/compat/util/over.mjs +37 -0
- package/node_modules/es-toolkit/dist/compat/util/overEvery.d.mts +68 -0
- package/node_modules/es-toolkit/dist/compat/util/overEvery.d.ts +68 -0
- package/node_modules/es-toolkit/dist/compat/util/overEvery.js +61 -0
- package/node_modules/es-toolkit/dist/compat/util/overEvery.mjs +61 -0
- package/node_modules/es-toolkit/dist/compat/util/overSome.d.mts +70 -0
- package/node_modules/es-toolkit/dist/compat/util/overSome.d.ts +70 -0
- package/node_modules/es-toolkit/dist/compat/util/overSome.js +63 -0
- package/node_modules/es-toolkit/dist/compat/util/overSome.mjs +63 -0
- package/node_modules/es-toolkit/dist/compat/util/stubArray.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubArray.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubArray.js +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubArray.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubFalse.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/stubFalse.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/stubFalse.js +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubFalse.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubObject.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubObject.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubObject.js +13 -0
- package/node_modules/es-toolkit/dist/compat/util/stubObject.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/util/stubString.d.mts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubString.d.ts +11 -0
- package/node_modules/es-toolkit/dist/compat/util/stubString.js +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubString.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubTrue.d.mts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/stubTrue.d.ts +19 -0
- package/node_modules/es-toolkit/dist/compat/util/stubTrue.js +6 -0
- package/node_modules/es-toolkit/dist/compat/util/stubTrue.mjs +6 -0
- package/node_modules/es-toolkit/dist/compat/util/times.d.mts +24 -0
- package/node_modules/es-toolkit/dist/compat/util/times.d.ts +24 -0
- package/node_modules/es-toolkit/dist/compat/util/times.js +22 -0
- package/node_modules/es-toolkit/dist/compat/util/times.mjs +22 -0
- package/node_modules/es-toolkit/dist/compat/util/toArray.d.mts +36 -0
- package/node_modules/es-toolkit/dist/compat/util/toArray.d.ts +36 -0
- package/node_modules/es-toolkit/dist/compat/util/toArray.js +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toArray.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toFinite.d.mts +18 -0
- package/node_modules/es-toolkit/dist/compat/util/toFinite.d.ts +18 -0
- package/node_modules/es-toolkit/dist/compat/util/toFinite.js +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toFinite.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toInteger.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toInteger.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toInteger.js +26 -0
- package/node_modules/es-toolkit/dist/compat/util/toInteger.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/util/toLength.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toLength.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toLength.js +26 -0
- package/node_modules/es-toolkit/dist/compat/util/toLength.mjs +26 -0
- package/node_modules/es-toolkit/dist/compat/util/toNumber.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toNumber.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toNumber.js +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toNumber.mjs +24 -0
- package/node_modules/es-toolkit/dist/compat/util/toPath.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toPath.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toPath.js +66 -0
- package/node_modules/es-toolkit/dist/compat/util/toPath.mjs +66 -0
- package/node_modules/es-toolkit/dist/compat/util/toPlainObject.d.mts +17 -0
- package/node_modules/es-toolkit/dist/compat/util/toPlainObject.d.ts +17 -0
- package/node_modules/es-toolkit/dist/compat/util/toPlainObject.js +33 -0
- package/node_modules/es-toolkit/dist/compat/util/toPlainObject.mjs +33 -0
- package/node_modules/es-toolkit/dist/compat/util/toSafeInteger.d.mts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toSafeInteger.d.ts +21 -0
- package/node_modules/es-toolkit/dist/compat/util/toSafeInteger.js +27 -0
- package/node_modules/es-toolkit/dist/compat/util/toSafeInteger.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/util/toString.d.mts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toString.d.ts +20 -0
- package/node_modules/es-toolkit/dist/compat/util/toString.js +27 -0
- package/node_modules/es-toolkit/dist/compat/util/toString.mjs +27 -0
- package/node_modules/es-toolkit/dist/compat/util/uniqueId.d.mts +26 -0
- package/node_modules/es-toolkit/dist/compat/util/uniqueId.d.ts +26 -0
- package/node_modules/es-toolkit/dist/compat/util/uniqueId.js +30 -0
- package/node_modules/es-toolkit/dist/compat/util/uniqueId.mjs +30 -0
- package/node_modules/es-toolkit/dist/error/AbortError.d.mts +12 -0
- package/node_modules/es-toolkit/dist/error/AbortError.d.ts +12 -0
- package/node_modules/es-toolkit/dist/error/AbortError.js +13 -0
- package/node_modules/es-toolkit/dist/error/AbortError.mjs +13 -0
- package/node_modules/es-toolkit/dist/error/TimeoutError.d.mts +12 -0
- package/node_modules/es-toolkit/dist/error/TimeoutError.d.ts +12 -0
- package/node_modules/es-toolkit/dist/error/TimeoutError.js +13 -0
- package/node_modules/es-toolkit/dist/error/TimeoutError.mjs +13 -0
- package/node_modules/es-toolkit/dist/error/index.d.mts +3 -0
- package/node_modules/es-toolkit/dist/error/index.d.ts +3 -0
- package/node_modules/es-toolkit/dist/error/index.js +5 -0
- package/node_modules/es-toolkit/dist/error/index.mjs +3 -0
- package/node_modules/es-toolkit/dist/fp/_internal/lazy.js +58 -0
- package/node_modules/es-toolkit/dist/fp/_internal/lazy.mjs +57 -0
- package/node_modules/es-toolkit/dist/fp/array/at.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/at.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/at.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/at.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/cartesianProduct.d.mts +61 -0
- package/node_modules/es-toolkit/dist/fp/array/cartesianProduct.d.ts +61 -0
- package/node_modules/es-toolkit/dist/fp/array/cartesianProduct.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/cartesianProduct.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/chunk.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/chunk.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/chunk.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/chunk.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/chunkBy.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/chunkBy.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/chunkBy.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/chunkBy.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/combinations.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/combinations.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/combinations.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/combinations.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/compact.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/compact.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/compact.js +31 -0
- package/node_modules/es-toolkit/dist/fp/array/compact.mjs +30 -0
- package/node_modules/es-toolkit/dist/fp/array/countBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/countBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/countBy.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/countBy.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/difference.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/difference.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/difference.js +32 -0
- package/node_modules/es-toolkit/dist/fp/array/difference.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceBy.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceBy.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceBy.js +33 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceBy.mjs +32 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceWith.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceWith.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceWith.js +32 -0
- package/node_modules/es-toolkit/dist/fp/array/differenceWith.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/drop.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/drop.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/drop.js +31 -0
- package/node_modules/es-toolkit/dist/fp/array/drop.mjs +30 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRight.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRight.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRight.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRight.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRightWhile.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRightWhile.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRightWhile.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/dropRightWhile.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/dropWhile.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropWhile.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/dropWhile.js +36 -0
- package/node_modules/es-toolkit/dist/fp/array/dropWhile.mjs +36 -0
- package/node_modules/es-toolkit/dist/fp/array/filter.d.mts +45 -0
- package/node_modules/es-toolkit/dist/fp/array/filter.d.ts +45 -0
- package/node_modules/es-toolkit/dist/fp/array/filter.js +13 -0
- package/node_modules/es-toolkit/dist/fp/array/filter.mjs +12 -0
- package/node_modules/es-toolkit/dist/fp/array/find.d.mts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/find.d.ts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/find.js +8 -0
- package/node_modules/es-toolkit/dist/fp/array/find.mjs +8 -0
- package/node_modules/es-toolkit/dist/fp/array/findIndex.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/findIndex.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/findIndex.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/findIndex.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/findLast.d.mts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/findLast.d.ts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/findLast.js +11 -0
- package/node_modules/es-toolkit/dist/fp/array/findLast.mjs +11 -0
- package/node_modules/es-toolkit/dist/fp/array/findLastIndex.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/findLastIndex.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/findLastIndex.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/findLastIndex.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMap.d.mts +28 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMap.d.ts +28 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMap.js +39 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMap.mjs +38 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMapDeep.d.mts +23 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMapDeep.d.ts +23 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMapDeep.js +38 -0
- package/node_modules/es-toolkit/dist/fp/array/flatMapDeep.mjs +37 -0
- package/node_modules/es-toolkit/dist/fp/array/flatten.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/flatten.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/flatten.js +39 -0
- package/node_modules/es-toolkit/dist/fp/array/flatten.mjs +38 -0
- package/node_modules/es-toolkit/dist/fp/array/flattenDeep.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/flattenDeep.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/flattenDeep.js +36 -0
- package/node_modules/es-toolkit/dist/fp/array/flattenDeep.mjs +35 -0
- package/node_modules/es-toolkit/dist/fp/array/forEach.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/forEach.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/forEach.js +33 -0
- package/node_modules/es-toolkit/dist/fp/array/forEach.mjs +32 -0
- package/node_modules/es-toolkit/dist/fp/array/groupBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/groupBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/groupBy.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/groupBy.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/head.d.mts +35 -0
- package/node_modules/es-toolkit/dist/fp/array/head.d.ts +35 -0
- package/node_modules/es-toolkit/dist/fp/array/head.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/head.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/index.d.mts +69 -0
- package/node_modules/es-toolkit/dist/fp/array/index.d.ts +69 -0
- package/node_modules/es-toolkit/dist/fp/array/index.js +68 -0
- package/node_modules/es-toolkit/dist/fp/array/index.mjs +68 -0
- package/node_modules/es-toolkit/dist/fp/array/initial.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/initial.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/initial.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/initial.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/intersection.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/intersection.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/intersection.js +32 -0
- package/node_modules/es-toolkit/dist/fp/array/intersection.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionBy.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionBy.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionBy.js +33 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionBy.mjs +32 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionWith.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionWith.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionWith.js +32 -0
- package/node_modules/es-toolkit/dist/fp/array/intersectionWith.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubset.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubset.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubset.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubset.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubsetWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubsetWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubsetWith.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/isSubsetWith.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/join.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/join.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/join.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/join.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/keyBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/keyBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/keyBy.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/keyBy.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/last.d.mts +35 -0
- package/node_modules/es-toolkit/dist/fp/array/last.d.ts +35 -0
- package/node_modules/es-toolkit/dist/fp/array/last.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/last.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/length.d.mts +18 -0
- package/node_modules/es-toolkit/dist/fp/array/length.d.ts +18 -0
- package/node_modules/es-toolkit/dist/fp/array/length.js +22 -0
- package/node_modules/es-toolkit/dist/fp/array/length.mjs +22 -0
- package/node_modules/es-toolkit/dist/fp/array/map.d.mts +27 -0
- package/node_modules/es-toolkit/dist/fp/array/map.d.ts +27 -0
- package/node_modules/es-toolkit/dist/fp/array/map.js +36 -0
- package/node_modules/es-toolkit/dist/fp/array/map.mjs +35 -0
- package/node_modules/es-toolkit/dist/fp/array/maxBy.d.mts +37 -0
- package/node_modules/es-toolkit/dist/fp/array/maxBy.d.ts +37 -0
- package/node_modules/es-toolkit/dist/fp/array/maxBy.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/maxBy.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/minBy.d.mts +37 -0
- package/node_modules/es-toolkit/dist/fp/array/minBy.d.ts +37 -0
- package/node_modules/es-toolkit/dist/fp/array/minBy.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/minBy.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/orderBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/orderBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/orderBy.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/orderBy.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/partition.d.mts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/partition.d.ts +39 -0
- package/node_modules/es-toolkit/dist/fp/array/partition.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/partition.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/reverse.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/reverse.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/reverse.js +23 -0
- package/node_modules/es-toolkit/dist/fp/array/reverse.mjs +23 -0
- package/node_modules/es-toolkit/dist/fp/array/sample.d.mts +18 -0
- package/node_modules/es-toolkit/dist/fp/array/sample.d.ts +18 -0
- package/node_modules/es-toolkit/dist/fp/array/sample.js +23 -0
- package/node_modules/es-toolkit/dist/fp/array/sample.mjs +23 -0
- package/node_modules/es-toolkit/dist/fp/array/sampleSize.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/sampleSize.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/sampleSize.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/sampleSize.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/shuffle.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/shuffle.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/shuffle.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/shuffle.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/sortBy.d.mts +26 -0
- package/node_modules/es-toolkit/dist/fp/array/sortBy.d.ts +26 -0
- package/node_modules/es-toolkit/dist/fp/array/sortBy.js +31 -0
- package/node_modules/es-toolkit/dist/fp/array/sortBy.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/tail.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/tail.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/tail.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/tail.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/take.d.mts +26 -0
- package/node_modules/es-toolkit/dist/fp/array/take.d.ts +26 -0
- package/node_modules/es-toolkit/dist/fp/array/take.js +39 -0
- package/node_modules/es-toolkit/dist/fp/array/take.mjs +38 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRight.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRight.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRight.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRight.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRightWhile.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRightWhile.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRightWhile.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/takeRightWhile.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/takeWhile.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/takeWhile.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/takeWhile.js +32 -0
- package/node_modules/es-toolkit/dist/fp/array/takeWhile.mjs +31 -0
- package/node_modules/es-toolkit/dist/fp/array/toFilled.d.mts +23 -0
- package/node_modules/es-toolkit/dist/fp/array/toFilled.d.ts +23 -0
- package/node_modules/es-toolkit/dist/fp/array/toFilled.js +30 -0
- package/node_modules/es-toolkit/dist/fp/array/toFilled.mjs +30 -0
- package/node_modules/es-toolkit/dist/fp/array/union.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/union.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/union.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/union.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/unionBy.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/unionBy.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/unionBy.js +27 -0
- package/node_modules/es-toolkit/dist/fp/array/unionBy.mjs +27 -0
- package/node_modules/es-toolkit/dist/fp/array/unionWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/unionWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/unionWith.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/unionWith.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/uniq.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/uniq.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/uniq.js +36 -0
- package/node_modules/es-toolkit/dist/fp/array/uniq.mjs +36 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqBy.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqBy.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqBy.js +38 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqBy.mjs +38 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqWith.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqWith.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqWith.js +35 -0
- package/node_modules/es-toolkit/dist/fp/array/uniqWith.mjs +35 -0
- package/node_modules/es-toolkit/dist/fp/array/unzip.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/unzip.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/unzip.js +24 -0
- package/node_modules/es-toolkit/dist/fp/array/unzip.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/array/unzipWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/unzipWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/unzipWith.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/unzipWith.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/windowed.d.mts +25 -0
- package/node_modules/es-toolkit/dist/fp/array/windowed.d.ts +25 -0
- package/node_modules/es-toolkit/dist/fp/array/windowed.js +50 -0
- package/node_modules/es-toolkit/dist/fp/array/windowed.mjs +50 -0
- package/node_modules/es-toolkit/dist/fp/array/without.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/without.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/array/without.js +30 -0
- package/node_modules/es-toolkit/dist/fp/array/without.mjs +29 -0
- package/node_modules/es-toolkit/dist/fp/array/xor.d.mts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/xor.d.ts +20 -0
- package/node_modules/es-toolkit/dist/fp/array/xor.js +25 -0
- package/node_modules/es-toolkit/dist/fp/array/xor.mjs +25 -0
- package/node_modules/es-toolkit/dist/fp/array/xorBy.d.mts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/xorBy.d.ts +22 -0
- package/node_modules/es-toolkit/dist/fp/array/xorBy.js +27 -0
- package/node_modules/es-toolkit/dist/fp/array/xorBy.mjs +27 -0
- package/node_modules/es-toolkit/dist/fp/array/xorWith.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/xorWith.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/xorWith.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/xorWith.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/zip.d.mts +61 -0
- package/node_modules/es-toolkit/dist/fp/array/zip.d.ts +61 -0
- package/node_modules/es-toolkit/dist/fp/array/zip.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/zip.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/array/zipObject.d.mts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/zipObject.d.ts +21 -0
- package/node_modules/es-toolkit/dist/fp/array/zipObject.js +26 -0
- package/node_modules/es-toolkit/dist/fp/array/zipObject.mjs +26 -0
- package/node_modules/es-toolkit/dist/fp/array/zipWith.d.mts +57 -0
- package/node_modules/es-toolkit/dist/fp/array/zipWith.d.ts +57 -0
- package/node_modules/es-toolkit/dist/fp/array/zipWith.js +9 -0
- package/node_modules/es-toolkit/dist/fp/array/zipWith.mjs +9 -0
- package/node_modules/es-toolkit/dist/fp/flow.d.mts +213 -0
- package/node_modules/es-toolkit/dist/fp/flow.d.ts +213 -0
- package/node_modules/es-toolkit/dist/fp/flow.js +50 -0
- package/node_modules/es-toolkit/dist/fp/flow.mjs +50 -0
- package/node_modules/es-toolkit/dist/fp/index.d.mts +76 -0
- package/node_modules/es-toolkit/dist/fp/index.d.ts +76 -0
- package/node_modules/es-toolkit/dist/fp/index.js +152 -0
- package/node_modules/es-toolkit/dist/fp/index.mjs +78 -0
- package/node_modules/es-toolkit/dist/fp/math/add.d.mts +17 -0
- package/node_modules/es-toolkit/dist/fp/math/add.d.ts +17 -0
- package/node_modules/es-toolkit/dist/fp/math/add.js +21 -0
- package/node_modules/es-toolkit/dist/fp/math/add.mjs +21 -0
- package/node_modules/es-toolkit/dist/fp/math/index.d.mts +2 -0
- package/node_modules/es-toolkit/dist/fp/math/index.d.ts +2 -0
- package/node_modules/es-toolkit/dist/fp/math/index.js +2 -0
- package/node_modules/es-toolkit/dist/fp/math/index.mjs +2 -0
- package/node_modules/es-toolkit/dist/fp/math/multiply.d.mts +17 -0
- package/node_modules/es-toolkit/dist/fp/math/multiply.d.ts +17 -0
- package/node_modules/es-toolkit/dist/fp/math/multiply.js +21 -0
- package/node_modules/es-toolkit/dist/fp/math/multiply.mjs +21 -0
- package/node_modules/es-toolkit/dist/fp/object/index.d.mts +2 -0
- package/node_modules/es-toolkit/dist/fp/object/index.d.ts +2 -0
- package/node_modules/es-toolkit/dist/fp/object/index.js +2 -0
- package/node_modules/es-toolkit/dist/fp/object/index.mjs +2 -0
- package/node_modules/es-toolkit/dist/fp/object/omit.d.mts +18 -0
- package/node_modules/es-toolkit/dist/fp/object/omit.d.ts +18 -0
- package/node_modules/es-toolkit/dist/fp/object/omit.js +23 -0
- package/node_modules/es-toolkit/dist/fp/object/omit.mjs +23 -0
- package/node_modules/es-toolkit/dist/fp/object/pick.d.mts +19 -0
- package/node_modules/es-toolkit/dist/fp/object/pick.d.ts +19 -0
- package/node_modules/es-toolkit/dist/fp/object/pick.js +24 -0
- package/node_modules/es-toolkit/dist/fp/object/pick.mjs +24 -0
- package/node_modules/es-toolkit/dist/fp/pipe.d.mts +235 -0
- package/node_modules/es-toolkit/dist/fp/pipe.d.ts +235 -0
- package/node_modules/es-toolkit/dist/fp/pipe.js +112 -0
- package/node_modules/es-toolkit/dist/fp/pipe.mjs +112 -0
- package/node_modules/es-toolkit/dist/function/after.d.mts +32 -0
- package/node_modules/es-toolkit/dist/function/after.d.ts +32 -0
- package/node_modules/es-toolkit/dist/function/after.js +38 -0
- package/node_modules/es-toolkit/dist/function/after.mjs +38 -0
- package/node_modules/es-toolkit/dist/function/ary.d.mts +22 -0
- package/node_modules/es-toolkit/dist/function/ary.d.ts +22 -0
- package/node_modules/es-toolkit/dist/function/ary.js +26 -0
- package/node_modules/es-toolkit/dist/function/ary.mjs +26 -0
- package/node_modules/es-toolkit/dist/function/asyncNoop.d.mts +13 -0
- package/node_modules/es-toolkit/dist/function/asyncNoop.d.ts +13 -0
- package/node_modules/es-toolkit/dist/function/asyncNoop.js +13 -0
- package/node_modules/es-toolkit/dist/function/asyncNoop.mjs +13 -0
- package/node_modules/es-toolkit/dist/function/before.d.mts +32 -0
- package/node_modules/es-toolkit/dist/function/before.d.ts +32 -0
- package/node_modules/es-toolkit/dist/function/before.js +38 -0
- package/node_modules/es-toolkit/dist/function/before.mjs +38 -0
- package/node_modules/es-toolkit/dist/function/curry.d.mts +127 -0
- package/node_modules/es-toolkit/dist/function/curry.d.ts +127 -0
- package/node_modules/es-toolkit/dist/function/curry.js +41 -0
- package/node_modules/es-toolkit/dist/function/curry.mjs +41 -0
- package/node_modules/es-toolkit/dist/function/curryRight.d.mts +141 -0
- package/node_modules/es-toolkit/dist/function/curryRight.d.ts +141 -0
- package/node_modules/es-toolkit/dist/function/curryRight.js +43 -0
- package/node_modules/es-toolkit/dist/function/curryRight.mjs +43 -0
- package/node_modules/es-toolkit/dist/function/debounce.d.mts +77 -0
- package/node_modules/es-toolkit/dist/function/debounce.d.ts +77 -0
- package/node_modules/es-toolkit/dist/function/debounce.js +91 -0
- package/node_modules/es-toolkit/dist/function/debounce.mjs +91 -0
- package/node_modules/es-toolkit/dist/function/flow.d.mts +133 -0
- package/node_modules/es-toolkit/dist/function/flow.d.ts +133 -0
- package/node_modules/es-toolkit/dist/function/flow.js +25 -0
- package/node_modules/es-toolkit/dist/function/flow.mjs +25 -0
- package/node_modules/es-toolkit/dist/function/flowRight.d.mts +145 -0
- package/node_modules/es-toolkit/dist/function/flowRight.d.ts +145 -0
- package/node_modules/es-toolkit/dist/function/flowRight.js +24 -0
- package/node_modules/es-toolkit/dist/function/flowRight.mjs +24 -0
- package/node_modules/es-toolkit/dist/function/identity.d.mts +23 -0
- package/node_modules/es-toolkit/dist/function/identity.d.ts +23 -0
- package/node_modules/es-toolkit/dist/function/identity.js +25 -0
- package/node_modules/es-toolkit/dist/function/identity.mjs +25 -0
- package/node_modules/es-toolkit/dist/function/index.d.mts +22 -0
- package/node_modules/es-toolkit/dist/function/index.d.ts +22 -0
- package/node_modules/es-toolkit/dist/function/index.js +43 -0
- package/node_modules/es-toolkit/dist/function/index.mjs +22 -0
- package/node_modules/es-toolkit/dist/function/memoize.d.mts +125 -0
- package/node_modules/es-toolkit/dist/function/memoize.d.ts +125 -0
- package/node_modules/es-toolkit/dist/function/memoize.js +87 -0
- package/node_modules/es-toolkit/dist/function/memoize.mjs +87 -0
- package/node_modules/es-toolkit/dist/function/negate.d.mts +17 -0
- package/node_modules/es-toolkit/dist/function/negate.d.ts +17 -0
- package/node_modules/es-toolkit/dist/function/negate.js +19 -0
- package/node_modules/es-toolkit/dist/function/negate.mjs +19 -0
- package/node_modules/es-toolkit/dist/function/noop.d.mts +13 -0
- package/node_modules/es-toolkit/dist/function/noop.d.ts +13 -0
- package/node_modules/es-toolkit/dist/function/noop.js +13 -0
- package/node_modules/es-toolkit/dist/function/noop.mjs +13 -0
- package/node_modules/es-toolkit/dist/function/once.d.mts +18 -0
- package/node_modules/es-toolkit/dist/function/once.d.ts +18 -0
- package/node_modules/es-toolkit/dist/function/once.js +31 -0
- package/node_modules/es-toolkit/dist/function/once.mjs +31 -0
- package/node_modules/es-toolkit/dist/function/partial.d.mts +622 -0
- package/node_modules/es-toolkit/dist/function/partial.d.ts +622 -0
- package/node_modules/es-toolkit/dist/function/partial.js +45 -0
- package/node_modules/es-toolkit/dist/function/partial.mjs +44 -0
- package/node_modules/es-toolkit/dist/function/partialRight.d.mts +630 -0
- package/node_modules/es-toolkit/dist/function/partialRight.d.ts +630 -0
- package/node_modules/es-toolkit/dist/function/partialRight.js +47 -0
- package/node_modules/es-toolkit/dist/function/partialRight.mjs +46 -0
- package/node_modules/es-toolkit/dist/function/rest.d.mts +34 -0
- package/node_modules/es-toolkit/dist/function/rest.d.ts +34 -0
- package/node_modules/es-toolkit/dist/function/rest.js +41 -0
- package/node_modules/es-toolkit/dist/function/rest.mjs +41 -0
- package/node_modules/es-toolkit/dist/function/retry.d.mts +91 -0
- package/node_modules/es-toolkit/dist/function/retry.d.ts +91 -0
- package/node_modules/es-toolkit/dist/function/retry.js +45 -0
- package/node_modules/es-toolkit/dist/function/retry.mjs +44 -0
- package/node_modules/es-toolkit/dist/function/spread.d.mts +20 -0
- package/node_modules/es-toolkit/dist/function/spread.d.ts +20 -0
- package/node_modules/es-toolkit/dist/function/spread.js +24 -0
- package/node_modules/es-toolkit/dist/function/spread.mjs +24 -0
- package/node_modules/es-toolkit/dist/function/throttle.d.mts +52 -0
- package/node_modules/es-toolkit/dist/function/throttle.d.ts +52 -0
- package/node_modules/es-toolkit/dist/function/throttle.js +54 -0
- package/node_modules/es-toolkit/dist/function/throttle.mjs +54 -0
- package/node_modules/es-toolkit/dist/function/unary.d.mts +18 -0
- package/node_modules/es-toolkit/dist/function/unary.d.ts +18 -0
- package/node_modules/es-toolkit/dist/function/unary.js +21 -0
- package/node_modules/es-toolkit/dist/function/unary.mjs +21 -0
- package/node_modules/es-toolkit/dist/index.d.mts +188 -0
- package/node_modules/es-toolkit/dist/index.d.ts +188 -0
- package/node_modules/es-toolkit/dist/index.js +387 -0
- package/node_modules/es-toolkit/dist/index.mjs +197 -0
- package/node_modules/es-toolkit/dist/map/countBy.d.mts +36 -0
- package/node_modules/es-toolkit/dist/map/countBy.d.ts +36 -0
- package/node_modules/es-toolkit/dist/map/countBy.js +43 -0
- package/node_modules/es-toolkit/dist/map/countBy.mjs +43 -0
- package/node_modules/es-toolkit/dist/map/every.d.mts +29 -0
- package/node_modules/es-toolkit/dist/map/every.d.ts +29 -0
- package/node_modules/es-toolkit/dist/map/every.js +32 -0
- package/node_modules/es-toolkit/dist/map/every.mjs +32 -0
- package/node_modules/es-toolkit/dist/map/filter.d.mts +30 -0
- package/node_modules/es-toolkit/dist/map/filter.d.ts +30 -0
- package/node_modules/es-toolkit/dist/map/filter.js +34 -0
- package/node_modules/es-toolkit/dist/map/filter.mjs +34 -0
- package/node_modules/es-toolkit/dist/map/findKey.d.mts +26 -0
- package/node_modules/es-toolkit/dist/map/findKey.d.ts +26 -0
- package/node_modules/es-toolkit/dist/map/findKey.js +33 -0
- package/node_modules/es-toolkit/dist/map/findKey.mjs +33 -0
- package/node_modules/es-toolkit/dist/map/findValue.d.mts +26 -0
- package/node_modules/es-toolkit/dist/map/findValue.d.ts +26 -0
- package/node_modules/es-toolkit/dist/map/findValue.js +33 -0
- package/node_modules/es-toolkit/dist/map/findValue.mjs +33 -0
- package/node_modules/es-toolkit/dist/map/forEach.d.mts +29 -0
- package/node_modules/es-toolkit/dist/map/forEach.d.ts +29 -0
- package/node_modules/es-toolkit/dist/map/forEach.js +31 -0
- package/node_modules/es-toolkit/dist/map/forEach.mjs +31 -0
- package/node_modules/es-toolkit/dist/map/hasValue.d.mts +29 -0
- package/node_modules/es-toolkit/dist/map/hasValue.d.ts +29 -0
- package/node_modules/es-toolkit/dist/map/hasValue.js +33 -0
- package/node_modules/es-toolkit/dist/map/hasValue.mjs +33 -0
- package/node_modules/es-toolkit/dist/map/index.d.mts +13 -0
- package/node_modules/es-toolkit/dist/map/index.d.ts +13 -0
- package/node_modules/es-toolkit/dist/map/index.js +25 -0
- package/node_modules/es-toolkit/dist/map/index.mjs +13 -0
- package/node_modules/es-toolkit/dist/map/keyBy.d.mts +32 -0
- package/node_modules/es-toolkit/dist/map/keyBy.d.ts +32 -0
- package/node_modules/es-toolkit/dist/map/keyBy.js +39 -0
- package/node_modules/es-toolkit/dist/map/keyBy.mjs +39 -0
- package/node_modules/es-toolkit/dist/map/mapKeys.d.mts +31 -0
- package/node_modules/es-toolkit/dist/map/mapKeys.d.ts +31 -0
- package/node_modules/es-toolkit/dist/map/mapKeys.js +38 -0
- package/node_modules/es-toolkit/dist/map/mapKeys.mjs +38 -0
- package/node_modules/es-toolkit/dist/map/mapValues.d.mts +31 -0
- package/node_modules/es-toolkit/dist/map/mapValues.d.ts +31 -0
- package/node_modules/es-toolkit/dist/map/mapValues.js +38 -0
- package/node_modules/es-toolkit/dist/map/mapValues.mjs +38 -0
- package/node_modules/es-toolkit/dist/map/reduce.d.mts +36 -0
- package/node_modules/es-toolkit/dist/map/reduce.d.ts +36 -0
- package/node_modules/es-toolkit/dist/map/reduce.js +42 -0
- package/node_modules/es-toolkit/dist/map/reduce.mjs +42 -0
- package/node_modules/es-toolkit/dist/map/some.d.mts +29 -0
- package/node_modules/es-toolkit/dist/map/some.d.ts +29 -0
- package/node_modules/es-toolkit/dist/map/some.js +32 -0
- package/node_modules/es-toolkit/dist/map/some.mjs +32 -0
- package/node_modules/es-toolkit/dist/math/clamp.d.mts +33 -0
- package/node_modules/es-toolkit/dist/math/clamp.d.ts +33 -0
- package/node_modules/es-toolkit/dist/math/clamp.js +24 -0
- package/node_modules/es-toolkit/dist/math/clamp.mjs +24 -0
- package/node_modules/es-toolkit/dist/math/inRange.d.mts +28 -0
- package/node_modules/es-toolkit/dist/math/inRange.d.ts +28 -0
- package/node_modules/es-toolkit/dist/math/inRange.js +25 -0
- package/node_modules/es-toolkit/dist/math/inRange.mjs +25 -0
- package/node_modules/es-toolkit/dist/math/index.d.mts +15 -0
- package/node_modules/es-toolkit/dist/math/index.d.ts +15 -0
- package/node_modules/es-toolkit/dist/math/index.js +29 -0
- package/node_modules/es-toolkit/dist/math/index.mjs +15 -0
- package/node_modules/es-toolkit/dist/math/mean.d.mts +17 -0
- package/node_modules/es-toolkit/dist/math/mean.d.ts +17 -0
- package/node_modules/es-toolkit/dist/math/mean.js +20 -0
- package/node_modules/es-toolkit/dist/math/mean.mjs +20 -0
- package/node_modules/es-toolkit/dist/math/meanBy.d.mts +19 -0
- package/node_modules/es-toolkit/dist/math/meanBy.d.ts +19 -0
- package/node_modules/es-toolkit/dist/math/meanBy.js +22 -0
- package/node_modules/es-toolkit/dist/math/meanBy.mjs +22 -0
- package/node_modules/es-toolkit/dist/math/median.d.mts +26 -0
- package/node_modules/es-toolkit/dist/math/median.d.ts +26 -0
- package/node_modules/es-toolkit/dist/math/median.js +32 -0
- package/node_modules/es-toolkit/dist/math/median.mjs +32 -0
- package/node_modules/es-toolkit/dist/math/medianBy.d.mts +24 -0
- package/node_modules/es-toolkit/dist/math/medianBy.d.ts +24 -0
- package/node_modules/es-toolkit/dist/math/medianBy.js +28 -0
- package/node_modules/es-toolkit/dist/math/medianBy.mjs +27 -0
- package/node_modules/es-toolkit/dist/math/percentile.d.mts +29 -0
- package/node_modules/es-toolkit/dist/math/percentile.d.ts +29 -0
- package/node_modules/es-toolkit/dist/math/percentile.js +39 -0
- package/node_modules/es-toolkit/dist/math/percentile.mjs +39 -0
- package/node_modules/es-toolkit/dist/math/random.d.mts +31 -0
- package/node_modules/es-toolkit/dist/math/random.d.ts +31 -0
- package/node_modules/es-toolkit/dist/math/random.js +24 -0
- package/node_modules/es-toolkit/dist/math/random.mjs +24 -0
- package/node_modules/es-toolkit/dist/math/randomInt.d.mts +27 -0
- package/node_modules/es-toolkit/dist/math/randomInt.d.ts +27 -0
- package/node_modules/es-toolkit/dist/math/randomInt.js +21 -0
- package/node_modules/es-toolkit/dist/math/randomInt.mjs +21 -0
- package/node_modules/es-toolkit/dist/math/range.d.mts +39 -0
- package/node_modules/es-toolkit/dist/math/range.d.ts +39 -0
- package/node_modules/es-toolkit/dist/math/range.js +31 -0
- package/node_modules/es-toolkit/dist/math/range.mjs +31 -0
- package/node_modules/es-toolkit/dist/math/rangeRight.d.mts +39 -0
- package/node_modules/es-toolkit/dist/math/rangeRight.d.ts +39 -0
- package/node_modules/es-toolkit/dist/math/rangeRight.js +31 -0
- package/node_modules/es-toolkit/dist/math/rangeRight.mjs +31 -0
- package/node_modules/es-toolkit/dist/math/round.d.mts +21 -0
- package/node_modules/es-toolkit/dist/math/round.d.ts +21 -0
- package/node_modules/es-toolkit/dist/math/round.js +25 -0
- package/node_modules/es-toolkit/dist/math/round.mjs +25 -0
- package/node_modules/es-toolkit/dist/math/sum.d.mts +17 -0
- package/node_modules/es-toolkit/dist/math/sum.d.ts +17 -0
- package/node_modules/es-toolkit/dist/math/sum.js +21 -0
- package/node_modules/es-toolkit/dist/math/sum.mjs +21 -0
- package/node_modules/es-toolkit/dist/math/sumBy.d.mts +20 -0
- package/node_modules/es-toolkit/dist/math/sumBy.d.ts +20 -0
- package/node_modules/es-toolkit/dist/math/sumBy.js +24 -0
- package/node_modules/es-toolkit/dist/math/sumBy.mjs +24 -0
- package/node_modules/es-toolkit/dist/object/clone.d.mts +32 -0
- package/node_modules/es-toolkit/dist/object/clone.d.ts +32 -0
- package/node_modules/es-toolkit/dist/object/clone.js +61 -0
- package/node_modules/es-toolkit/dist/object/clone.mjs +61 -0
- package/node_modules/es-toolkit/dist/object/cloneDeep.d.mts +50 -0
- package/node_modules/es-toolkit/dist/object/cloneDeep.d.ts +50 -0
- package/node_modules/es-toolkit/dist/object/cloneDeep.js +53 -0
- package/node_modules/es-toolkit/dist/object/cloneDeep.mjs +53 -0
- package/node_modules/es-toolkit/dist/object/cloneDeepWith.d.mts +46 -0
- package/node_modules/es-toolkit/dist/object/cloneDeepWith.d.ts +46 -0
- package/node_modules/es-toolkit/dist/object/cloneDeepWith.js +183 -0
- package/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs +181 -0
- package/node_modules/es-toolkit/dist/object/findKey.d.mts +22 -0
- package/node_modules/es-toolkit/dist/object/findKey.d.ts +22 -0
- package/node_modules/es-toolkit/dist/object/findKey.js +24 -0
- package/node_modules/es-toolkit/dist/object/findKey.mjs +24 -0
- package/node_modules/es-toolkit/dist/object/flattenObject.d.mts +39 -0
- package/node_modules/es-toolkit/dist/object/flattenObject.d.ts +39 -0
- package/node_modules/es-toolkit/dist/object/flattenObject.js +52 -0
- package/node_modules/es-toolkit/dist/object/flattenObject.mjs +52 -0
- package/node_modules/es-toolkit/dist/object/index.d.mts +19 -0
- package/node_modules/es-toolkit/dist/object/index.d.ts +19 -0
- package/node_modules/es-toolkit/dist/object/index.js +37 -0
- package/node_modules/es-toolkit/dist/object/index.mjs +19 -0
- package/node_modules/es-toolkit/dist/object/invert.d.mts +22 -0
- package/node_modules/es-toolkit/dist/object/invert.d.ts +22 -0
- package/node_modules/es-toolkit/dist/object/invert.js +31 -0
- package/node_modules/es-toolkit/dist/object/invert.mjs +31 -0
- package/node_modules/es-toolkit/dist/object/mapKeys.d.mts +21 -0
- package/node_modules/es-toolkit/dist/object/mapKeys.d.ts +21 -0
- package/node_modules/es-toolkit/dist/object/mapKeys.js +30 -0
- package/node_modules/es-toolkit/dist/object/mapKeys.mjs +30 -0
- package/node_modules/es-toolkit/dist/object/mapValues.d.mts +22 -0
- package/node_modules/es-toolkit/dist/object/mapValues.d.ts +22 -0
- package/node_modules/es-toolkit/dist/object/mapValues.js +31 -0
- package/node_modules/es-toolkit/dist/object/mapValues.mjs +31 -0
- package/node_modules/es-toolkit/dist/object/merge.d.mts +44 -0
- package/node_modules/es-toolkit/dist/object/merge.d.ts +44 -0
- package/node_modules/es-toolkit/dist/object/merge.js +62 -0
- package/node_modules/es-toolkit/dist/object/merge.mjs +62 -0
- package/node_modules/es-toolkit/dist/object/mergeWith.d.mts +52 -0
- package/node_modules/es-toolkit/dist/object/mergeWith.d.ts +52 -0
- package/node_modules/es-toolkit/dist/object/mergeWith.js +70 -0
- package/node_modules/es-toolkit/dist/object/mergeWith.mjs +70 -0
- package/node_modules/es-toolkit/dist/object/omit.d.mts +21 -0
- package/node_modules/es-toolkit/dist/object/omit.d.ts +21 -0
- package/node_modules/es-toolkit/dist/object/omit.js +28 -0
- package/node_modules/es-toolkit/dist/object/omit.mjs +28 -0
- package/node_modules/es-toolkit/dist/object/omitBy.d.mts +23 -0
- package/node_modules/es-toolkit/dist/object/omitBy.d.ts +23 -0
- package/node_modules/es-toolkit/dist/object/omitBy.js +32 -0
- package/node_modules/es-toolkit/dist/object/omitBy.mjs +32 -0
- package/node_modules/es-toolkit/dist/object/pick.d.mts +21 -0
- package/node_modules/es-toolkit/dist/object/pick.d.ts +21 -0
- package/node_modules/es-toolkit/dist/object/pick.js +28 -0
- package/node_modules/es-toolkit/dist/object/pick.mjs +28 -0
- package/node_modules/es-toolkit/dist/object/pickBy.d.mts +23 -0
- package/node_modules/es-toolkit/dist/object/pickBy.d.ts +23 -0
- package/node_modules/es-toolkit/dist/object/pickBy.js +32 -0
- package/node_modules/es-toolkit/dist/object/pickBy.mjs +32 -0
- package/node_modules/es-toolkit/dist/object/sortKeys.d.mts +22 -0
- package/node_modules/es-toolkit/dist/object/sortKeys.d.ts +22 -0
- package/node_modules/es-toolkit/dist/object/sortKeys.js +30 -0
- package/node_modules/es-toolkit/dist/object/sortKeys.mjs +30 -0
- package/node_modules/es-toolkit/dist/object/toCamelCaseKeys.d.mts +56 -0
- package/node_modules/es-toolkit/dist/object/toCamelCaseKeys.d.ts +56 -0
- package/node_modules/es-toolkit/dist/object/toCamelCaseKeys.js +66 -0
- package/node_modules/es-toolkit/dist/object/toCamelCaseKeys.mjs +66 -0
- package/node_modules/es-toolkit/dist/object/toMerged.d.mts +46 -0
- package/node_modules/es-toolkit/dist/object/toMerged.d.ts +46 -0
- package/node_modules/es-toolkit/dist/object/toMerged.js +57 -0
- package/node_modules/es-toolkit/dist/object/toMerged.mjs +57 -0
- package/node_modules/es-toolkit/dist/object/toSnakeCaseKeys.d.mts +53 -0
- package/node_modules/es-toolkit/dist/object/toSnakeCaseKeys.d.ts +53 -0
- package/node_modules/es-toolkit/dist/object/toSnakeCaseKeys.js +66 -0
- package/node_modules/es-toolkit/dist/object/toSnakeCaseKeys.mjs +66 -0
- package/node_modules/es-toolkit/dist/predicate/index.d.mts +34 -0
- package/node_modules/es-toolkit/dist/predicate/index.d.ts +34 -0
- package/node_modules/es-toolkit/dist/predicate/index.js +69 -0
- package/node_modules/es-toolkit/dist/predicate/index.mjs +34 -0
- package/node_modules/es-toolkit/dist/predicate/isArrayBuffer.d.mts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isArrayBuffer.d.ts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isArrayBuffer.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isArrayBuffer.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isBlob.d.mts +20 -0
- package/node_modules/es-toolkit/dist/predicate/isBlob.d.ts +20 -0
- package/node_modules/es-toolkit/dist/predicate/isBlob.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isBlob.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isBoolean.d.mts +26 -0
- package/node_modules/es-toolkit/dist/predicate/isBoolean.d.ts +26 -0
- package/node_modules/es-toolkit/dist/predicate/isBoolean.js +28 -0
- package/node_modules/es-toolkit/dist/predicate/isBoolean.mjs +28 -0
- package/node_modules/es-toolkit/dist/predicate/isBrowser.d.mts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isBrowser.d.ts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isBrowser.js +20 -0
- package/node_modules/es-toolkit/dist/predicate/isBrowser.mjs +20 -0
- package/node_modules/es-toolkit/dist/predicate/isBuffer.d.mts +22 -0
- package/node_modules/es-toolkit/dist/predicate/isBuffer.d.ts +22 -0
- package/node_modules/es-toolkit/dist/predicate/isBuffer.js +25 -0
- package/node_modules/es-toolkit/dist/predicate/isBuffer.mjs +25 -0
- package/node_modules/es-toolkit/dist/predicate/isDate.d.mts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isDate.d.ts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isDate.js +19 -0
- package/node_modules/es-toolkit/dist/predicate/isDate.mjs +19 -0
- package/node_modules/es-toolkit/dist/predicate/isEmptyObject.d.mts +16 -0
- package/node_modules/es-toolkit/dist/predicate/isEmptyObject.d.ts +16 -0
- package/node_modules/es-toolkit/dist/predicate/isEmptyObject.js +19 -0
- package/node_modules/es-toolkit/dist/predicate/isEmptyObject.mjs +19 -0
- package/node_modules/es-toolkit/dist/predicate/isEqual.d.mts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isEqual.d.ts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isEqual.js +22 -0
- package/node_modules/es-toolkit/dist/predicate/isEqual.mjs +22 -0
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.d.mts +39 -0
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.d.ts +39 -0
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.js +152 -0
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs +148 -0
- package/node_modules/es-toolkit/dist/predicate/isError.d.mts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isError.d.ts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isError.js +19 -0
- package/node_modules/es-toolkit/dist/predicate/isError.mjs +19 -0
- package/node_modules/es-toolkit/dist/predicate/isFile.d.mts +22 -0
- package/node_modules/es-toolkit/dist/predicate/isFile.d.ts +22 -0
- package/node_modules/es-toolkit/dist/predicate/isFile.js +26 -0
- package/node_modules/es-toolkit/dist/predicate/isFile.mjs +26 -0
- package/node_modules/es-toolkit/dist/predicate/isFunction.d.mts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isFunction.d.ts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isFunction.js +19 -0
- package/node_modules/es-toolkit/dist/predicate/isFunction.mjs +19 -0
- package/node_modules/es-toolkit/dist/predicate/isIterable.d.mts +26 -0
- package/node_modules/es-toolkit/dist/predicate/isIterable.d.ts +26 -0
- package/node_modules/es-toolkit/dist/predicate/isIterable.js +28 -0
- package/node_modules/es-toolkit/dist/predicate/isIterable.mjs +28 -0
- package/node_modules/es-toolkit/dist/predicate/isJSON.d.mts +32 -0
- package/node_modules/es-toolkit/dist/predicate/isJSON.d.ts +32 -0
- package/node_modules/es-toolkit/dist/predicate/isJSON.js +40 -0
- package/node_modules/es-toolkit/dist/predicate/isJSON.mjs +40 -0
- package/node_modules/es-toolkit/dist/predicate/isJSONValue.d.mts +57 -0
- package/node_modules/es-toolkit/dist/predicate/isJSONValue.d.ts +57 -0
- package/node_modules/es-toolkit/dist/predicate/isJSONValue.js +85 -0
- package/node_modules/es-toolkit/dist/predicate/isJSONValue.mjs +83 -0
- package/node_modules/es-toolkit/dist/predicate/isLength.d.mts +25 -0
- package/node_modules/es-toolkit/dist/predicate/isLength.d.ts +25 -0
- package/node_modules/es-toolkit/dist/predicate/isLength.js +27 -0
- package/node_modules/es-toolkit/dist/predicate/isLength.mjs +27 -0
- package/node_modules/es-toolkit/dist/predicate/isMap.d.mts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isMap.d.ts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isMap.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isMap.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isNil.d.mts +23 -0
- package/node_modules/es-toolkit/dist/predicate/isNil.d.ts +23 -0
- package/node_modules/es-toolkit/dist/predicate/isNil.js +25 -0
- package/node_modules/es-toolkit/dist/predicate/isNil.mjs +25 -0
- package/node_modules/es-toolkit/dist/predicate/isNode.d.mts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isNode.d.ts +18 -0
- package/node_modules/es-toolkit/dist/predicate/isNode.js +20 -0
- package/node_modules/es-toolkit/dist/predicate/isNode.mjs +20 -0
- package/node_modules/es-toolkit/dist/predicate/isNotNil.d.mts +20 -0
- package/node_modules/es-toolkit/dist/predicate/isNotNil.d.ts +20 -0
- package/node_modules/es-toolkit/dist/predicate/isNotNil.js +22 -0
- package/node_modules/es-toolkit/dist/predicate/isNotNil.mjs +22 -0
- package/node_modules/es-toolkit/dist/predicate/isNull.d.mts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isNull.d.ts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isNull.js +26 -0
- package/node_modules/es-toolkit/dist/predicate/isNull.mjs +26 -0
- package/node_modules/es-toolkit/dist/predicate/isNumber.d.mts +28 -0
- package/node_modules/es-toolkit/dist/predicate/isNumber.d.ts +28 -0
- package/node_modules/es-toolkit/dist/predicate/isNumber.js +30 -0
- package/node_modules/es-toolkit/dist/predicate/isNumber.mjs +30 -0
- package/node_modules/es-toolkit/dist/predicate/isPlainObject.d.mts +46 -0
- package/node_modules/es-toolkit/dist/predicate/isPlainObject.d.ts +46 -0
- package/node_modules/es-toolkit/dist/predicate/isPlainObject.js +51 -0
- package/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs +51 -0
- package/node_modules/es-toolkit/dist/predicate/isPrimitive.d.mts +25 -0
- package/node_modules/es-toolkit/dist/predicate/isPrimitive.d.ts +25 -0
- package/node_modules/es-toolkit/dist/predicate/isPrimitive.js +27 -0
- package/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs +27 -0
- package/node_modules/es-toolkit/dist/predicate/isPromise.d.mts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isPromise.d.ts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isPromise.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isPromise.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isRegExp.d.mts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isRegExp.d.ts +17 -0
- package/node_modules/es-toolkit/dist/predicate/isRegExp.js +19 -0
- package/node_modules/es-toolkit/dist/predicate/isRegExp.mjs +19 -0
- package/node_modules/es-toolkit/dist/predicate/isSet.d.mts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isSet.d.ts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isSet.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isSet.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isString.d.mts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isString.d.ts +21 -0
- package/node_modules/es-toolkit/dist/predicate/isString.js +23 -0
- package/node_modules/es-toolkit/dist/predicate/isString.mjs +23 -0
- package/node_modules/es-toolkit/dist/predicate/isSymbol.d.mts +27 -0
- package/node_modules/es-toolkit/dist/predicate/isSymbol.d.ts +27 -0
- package/node_modules/es-toolkit/dist/predicate/isSymbol.js +29 -0
- package/node_modules/es-toolkit/dist/predicate/isSymbol.mjs +29 -0
- package/node_modules/es-toolkit/dist/predicate/isTypedArray.d.mts +19 -0
- package/node_modules/es-toolkit/dist/predicate/isTypedArray.d.ts +19 -0
- package/node_modules/es-toolkit/dist/predicate/isTypedArray.js +21 -0
- package/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs +21 -0
- package/node_modules/es-toolkit/dist/predicate/isUndefined.d.mts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isUndefined.d.ts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isUndefined.js +26 -0
- package/node_modules/es-toolkit/dist/predicate/isUndefined.mjs +26 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakMap.d.mts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakMap.d.ts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakMap.js +26 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakMap.mjs +26 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakSet.d.mts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakSet.d.ts +24 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakSet.js +26 -0
- package/node_modules/es-toolkit/dist/predicate/isWeakSet.mjs +26 -0
- package/node_modules/es-toolkit/dist/promise/allKeyed.d.mts +31 -0
- package/node_modules/es-toolkit/dist/promise/allKeyed.d.ts +31 -0
- package/node_modules/es-toolkit/dist/promise/allKeyed.js +37 -0
- package/node_modules/es-toolkit/dist/promise/allKeyed.mjs +37 -0
- package/node_modules/es-toolkit/dist/promise/delay.d.mts +41 -0
- package/node_modules/es-toolkit/dist/promise/delay.d.ts +41 -0
- package/node_modules/es-toolkit/dist/promise/delay.js +53 -0
- package/node_modules/es-toolkit/dist/promise/delay.mjs +53 -0
- package/node_modules/es-toolkit/dist/promise/index.d.mts +7 -0
- package/node_modules/es-toolkit/dist/promise/index.d.ts +7 -0
- package/node_modules/es-toolkit/dist/promise/index.js +13 -0
- package/node_modules/es-toolkit/dist/promise/index.mjs +7 -0
- package/node_modules/es-toolkit/dist/promise/mutex.d.mts +65 -0
- package/node_modules/es-toolkit/dist/promise/mutex.d.ts +65 -0
- package/node_modules/es-toolkit/dist/promise/mutex.js +72 -0
- package/node_modules/es-toolkit/dist/promise/mutex.mjs +72 -0
- package/node_modules/es-toolkit/dist/promise/semaphore.d.mts +82 -0
- package/node_modules/es-toolkit/dist/promise/semaphore.d.ts +82 -0
- package/node_modules/es-toolkit/dist/promise/semaphore.js +100 -0
- package/node_modules/es-toolkit/dist/promise/semaphore.mjs +100 -0
- package/node_modules/es-toolkit/dist/promise/timeout.d.mts +41 -0
- package/node_modules/es-toolkit/dist/promise/timeout.d.ts +41 -0
- package/node_modules/es-toolkit/dist/promise/timeout.js +49 -0
- package/node_modules/es-toolkit/dist/promise/timeout.mjs +49 -0
- package/node_modules/es-toolkit/dist/promise/withTimeout.d.mts +47 -0
- package/node_modules/es-toolkit/dist/promise/withTimeout.d.ts +47 -0
- package/node_modules/es-toolkit/dist/promise/withTimeout.js +45 -0
- package/node_modules/es-toolkit/dist/promise/withTimeout.mjs +45 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/parseHex.js +32 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/parseHex.mjs +32 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/wrapAnsi.js +21 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/wrapAnsi.mjs +21 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/wrapAnsiBg.js +30 -0
- package/node_modules/es-toolkit/dist/server/colors/_internal/wrapAnsiBg.mjs +30 -0
- package/node_modules/es-toolkit/dist/server/colors/ansi256.d.mts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/ansi256.d.ts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/ansi256.js +19 -0
- package/node_modules/es-toolkit/dist/server/colors/ansi256.mjs +19 -0
- package/node_modules/es-toolkit/dist/server/colors/bgAnsi256.d.mts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgAnsi256.d.ts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgAnsi256.js +19 -0
- package/node_modules/es-toolkit/dist/server/colors/bgAnsi256.mjs +19 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlack.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlack.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlack.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlack.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlackBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlackBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlackBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlackBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlue.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlue.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlue.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlue.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlueBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlueBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlueBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgBlueBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyan.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyan.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyan.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyan.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyanBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyanBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyanBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgCyanBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreen.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreen.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreen.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreen.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreenBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreenBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreenBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgGreenBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgHex.d.mts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgHex.d.ts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgHex.js +21 -0
- package/node_modules/es-toolkit/dist/server/colors/bgHex.mjs +21 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagenta.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagenta.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagenta.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagenta.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagentaBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagentaBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagentaBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgMagentaBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRed.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRed.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRed.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRed.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRedBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRedBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRedBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRedBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRgb.d.mts +20 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRgb.d.ts +20 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRgb.js +21 -0
- package/node_modules/es-toolkit/dist/server/colors/bgRgb.mjs +21 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhite.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhite.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhite.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhite.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhiteBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhiteBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhiteBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgWhiteBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellow.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellow.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellow.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellow.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellowBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellowBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellowBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bgYellowBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/black.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/black.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/black.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/black.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blackBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blackBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blackBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blackBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blue.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blue.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blue.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blue.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blueBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blueBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/blueBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/blueBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bold.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bold.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/bold.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/bold.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/cyan.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/cyan.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/cyan.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/cyan.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/cyanBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/cyanBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/cyanBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/cyanBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/dim.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/dim.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/dim.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/dim.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/gray.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/gray.mjs +19 -0
- package/node_modules/es-toolkit/dist/server/colors/green.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/green.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/green.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/green.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/greenBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/greenBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/greenBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/greenBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/hex.d.mts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/hex.d.ts +18 -0
- package/node_modules/es-toolkit/dist/server/colors/hex.js +21 -0
- package/node_modules/es-toolkit/dist/server/colors/hex.mjs +21 -0
- package/node_modules/es-toolkit/dist/server/colors/hidden.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/hidden.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/hidden.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/hidden.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/index.d.mts +99 -0
- package/node_modules/es-toolkit/dist/server/colors/index.d.ts +99 -0
- package/node_modules/es-toolkit/dist/server/colors/index.js +99 -0
- package/node_modules/es-toolkit/dist/server/colors/index.mjs +99 -0
- package/node_modules/es-toolkit/dist/server/colors/inverse.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/inverse.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/inverse.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/inverse.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/italic.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/italic.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/italic.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/italic.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/magenta.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/magenta.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/magenta.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/magenta.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/magentaBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/magentaBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/magentaBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/magentaBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/red.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/red.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/red.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/red.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/redBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/redBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/redBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/redBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/reset.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/reset.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/reset.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/reset.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/rgb.d.mts +20 -0
- package/node_modules/es-toolkit/dist/server/colors/rgb.d.ts +20 -0
- package/node_modules/es-toolkit/dist/server/colors/rgb.js +21 -0
- package/node_modules/es-toolkit/dist/server/colors/rgb.mjs +21 -0
- package/node_modules/es-toolkit/dist/server/colors/strikethrough.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/strikethrough.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/strikethrough.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/strikethrough.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/types.d.mts +4 -0
- package/node_modules/es-toolkit/dist/server/colors/types.d.ts +4 -0
- package/node_modules/es-toolkit/dist/server/colors/underline.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/underline.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/underline.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/underline.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/white.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/white.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/white.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/white.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/whiteBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/whiteBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/whiteBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/whiteBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/yellow.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/yellow.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/yellow.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/yellow.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/colors/yellowBright.d.mts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/yellowBright.d.ts +15 -0
- package/node_modules/es-toolkit/dist/server/colors/yellowBright.js +18 -0
- package/node_modules/es-toolkit/dist/server/colors/yellowBright.mjs +18 -0
- package/node_modules/es-toolkit/dist/server/exec.d.mts +63 -0
- package/node_modules/es-toolkit/dist/server/exec.d.ts +63 -0
- package/node_modules/es-toolkit/dist/server/exec.js +103 -0
- package/node_modules/es-toolkit/dist/server/exec.mjs +102 -0
- package/node_modules/es-toolkit/dist/server/index.d.mts +4 -0
- package/node_modules/es-toolkit/dist/server/index.d.ts +4 -0
- package/node_modules/es-toolkit/dist/server/index.js +6 -0
- package/node_modules/es-toolkit/dist/server/index.mjs +3 -0
- package/node_modules/es-toolkit/dist/set/countBy.d.mts +27 -0
- package/node_modules/es-toolkit/dist/set/countBy.d.ts +27 -0
- package/node_modules/es-toolkit/dist/set/countBy.js +34 -0
- package/node_modules/es-toolkit/dist/set/countBy.mjs +34 -0
- package/node_modules/es-toolkit/dist/set/every.d.mts +24 -0
- package/node_modules/es-toolkit/dist/set/every.d.ts +24 -0
- package/node_modules/es-toolkit/dist/set/every.js +27 -0
- package/node_modules/es-toolkit/dist/set/every.mjs +27 -0
- package/node_modules/es-toolkit/dist/set/filter.d.mts +21 -0
- package/node_modules/es-toolkit/dist/set/filter.d.ts +21 -0
- package/node_modules/es-toolkit/dist/set/filter.js +25 -0
- package/node_modules/es-toolkit/dist/set/filter.mjs +25 -0
- package/node_modules/es-toolkit/dist/set/find.d.mts +25 -0
- package/node_modules/es-toolkit/dist/set/find.d.ts +25 -0
- package/node_modules/es-toolkit/dist/set/find.js +27 -0
- package/node_modules/es-toolkit/dist/set/find.mjs +27 -0
- package/node_modules/es-toolkit/dist/set/forEach.d.mts +25 -0
- package/node_modules/es-toolkit/dist/set/forEach.d.ts +25 -0
- package/node_modules/es-toolkit/dist/set/forEach.js +27 -0
- package/node_modules/es-toolkit/dist/set/forEach.mjs +27 -0
- package/node_modules/es-toolkit/dist/set/index.d.mts +10 -0
- package/node_modules/es-toolkit/dist/set/index.d.ts +10 -0
- package/node_modules/es-toolkit/dist/set/index.js +19 -0
- package/node_modules/es-toolkit/dist/set/index.mjs +10 -0
- package/node_modules/es-toolkit/dist/set/keyBy.d.mts +31 -0
- package/node_modules/es-toolkit/dist/set/keyBy.d.ts +31 -0
- package/node_modules/es-toolkit/dist/set/keyBy.js +38 -0
- package/node_modules/es-toolkit/dist/set/keyBy.mjs +38 -0
- package/node_modules/es-toolkit/dist/set/map.d.mts +22 -0
- package/node_modules/es-toolkit/dist/set/map.d.ts +22 -0
- package/node_modules/es-toolkit/dist/set/map.js +29 -0
- package/node_modules/es-toolkit/dist/set/map.mjs +29 -0
- package/node_modules/es-toolkit/dist/set/reduce.d.mts +29 -0
- package/node_modules/es-toolkit/dist/set/reduce.d.ts +29 -0
- package/node_modules/es-toolkit/dist/set/reduce.js +35 -0
- package/node_modules/es-toolkit/dist/set/reduce.mjs +35 -0
- package/node_modules/es-toolkit/dist/set/some.d.mts +24 -0
- package/node_modules/es-toolkit/dist/set/some.d.ts +24 -0
- package/node_modules/es-toolkit/dist/set/some.js +27 -0
- package/node_modules/es-toolkit/dist/set/some.mjs +27 -0
- package/node_modules/es-toolkit/dist/string/camelCase.d.mts +20 -0
- package/node_modules/es-toolkit/dist/string/camelCase.d.ts +20 -0
- package/node_modules/es-toolkit/dist/string/camelCase.js +27 -0
- package/node_modules/es-toolkit/dist/string/camelCase.mjs +27 -0
- package/node_modules/es-toolkit/dist/string/capitalize.d.mts +16 -0
- package/node_modules/es-toolkit/dist/string/capitalize.d.ts +16 -0
- package/node_modules/es-toolkit/dist/string/capitalize.js +17 -0
- package/node_modules/es-toolkit/dist/string/capitalize.mjs +17 -0
- package/node_modules/es-toolkit/dist/string/constantCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/constantCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/constantCase.js +21 -0
- package/node_modules/es-toolkit/dist/string/constantCase.mjs +21 -0
- package/node_modules/es-toolkit/dist/string/deburr.d.mts +23 -0
- package/node_modules/es-toolkit/dist/string/deburr.d.ts +23 -0
- package/node_modules/es-toolkit/dist/string/deburr.js +63 -0
- package/node_modules/es-toolkit/dist/string/deburr.mjs +63 -0
- package/node_modules/es-toolkit/dist/string/escape.d.mts +17 -0
- package/node_modules/es-toolkit/dist/string/escape.d.ts +17 -0
- package/node_modules/es-toolkit/dist/string/escape.js +26 -0
- package/node_modules/es-toolkit/dist/string/escape.mjs +26 -0
- package/node_modules/es-toolkit/dist/string/escapeRegExp.d.mts +15 -0
- package/node_modules/es-toolkit/dist/string/escapeRegExp.d.ts +15 -0
- package/node_modules/es-toolkit/dist/string/escapeRegExp.js +17 -0
- package/node_modules/es-toolkit/dist/string/escapeRegExp.mjs +17 -0
- package/node_modules/es-toolkit/dist/string/index.d.mts +22 -0
- package/node_modules/es-toolkit/dist/string/index.d.ts +22 -0
- package/node_modules/es-toolkit/dist/string/index.js +43 -0
- package/node_modules/es-toolkit/dist/string/index.mjs +22 -0
- package/node_modules/es-toolkit/dist/string/kebabCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/kebabCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/kebabCase.js +21 -0
- package/node_modules/es-toolkit/dist/string/kebabCase.mjs +21 -0
- package/node_modules/es-toolkit/dist/string/lowerCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/lowerCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/lowerCase.js +21 -0
- package/node_modules/es-toolkit/dist/string/lowerCase.mjs +21 -0
- package/node_modules/es-toolkit/dist/string/lowerFirst.d.mts +15 -0
- package/node_modules/es-toolkit/dist/string/lowerFirst.d.ts +15 -0
- package/node_modules/es-toolkit/dist/string/lowerFirst.js +17 -0
- package/node_modules/es-toolkit/dist/string/lowerFirst.mjs +17 -0
- package/node_modules/es-toolkit/dist/string/pad.d.mts +20 -0
- package/node_modules/es-toolkit/dist/string/pad.d.ts +20 -0
- package/node_modules/es-toolkit/dist/string/pad.js +22 -0
- package/node_modules/es-toolkit/dist/string/pad.mjs +22 -0
- package/node_modules/es-toolkit/dist/string/pascalCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/pascalCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/pascalCase.js +22 -0
- package/node_modules/es-toolkit/dist/string/pascalCase.mjs +22 -0
- package/node_modules/es-toolkit/dist/string/reverseString.d.mts +17 -0
- package/node_modules/es-toolkit/dist/string/reverseString.d.ts +17 -0
- package/node_modules/es-toolkit/dist/string/reverseString.js +19 -0
- package/node_modules/es-toolkit/dist/string/reverseString.mjs +19 -0
- package/node_modules/es-toolkit/dist/string/snakeCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/snakeCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/snakeCase.js +21 -0
- package/node_modules/es-toolkit/dist/string/snakeCase.mjs +21 -0
- package/node_modules/es-toolkit/dist/string/startCase.d.mts +17 -0
- package/node_modules/es-toolkit/dist/string/startCase.d.ts +17 -0
- package/node_modules/es-toolkit/dist/string/startCase.js +27 -0
- package/node_modules/es-toolkit/dist/string/startCase.mjs +27 -0
- package/node_modules/es-toolkit/dist/string/trim.d.mts +16 -0
- package/node_modules/es-toolkit/dist/string/trim.d.ts +16 -0
- package/node_modules/es-toolkit/dist/string/trim.js +21 -0
- package/node_modules/es-toolkit/dist/string/trim.mjs +21 -0
- package/node_modules/es-toolkit/dist/string/trimEnd.d.mts +20 -0
- package/node_modules/es-toolkit/dist/string/trimEnd.d.ts +20 -0
- package/node_modules/es-toolkit/dist/string/trimEnd.js +31 -0
- package/node_modules/es-toolkit/dist/string/trimEnd.mjs +31 -0
- package/node_modules/es-toolkit/dist/string/trimStart.d.mts +20 -0
- package/node_modules/es-toolkit/dist/string/trimStart.d.ts +20 -0
- package/node_modules/es-toolkit/dist/string/trimStart.js +31 -0
- package/node_modules/es-toolkit/dist/string/trimStart.mjs +31 -0
- package/node_modules/es-toolkit/dist/string/unescape.d.mts +17 -0
- package/node_modules/es-toolkit/dist/string/unescape.d.ts +17 -0
- package/node_modules/es-toolkit/dist/string/unescape.js +26 -0
- package/node_modules/es-toolkit/dist/string/unescape.mjs +26 -0
- package/node_modules/es-toolkit/dist/string/upperCase.d.mts +18 -0
- package/node_modules/es-toolkit/dist/string/upperCase.d.ts +18 -0
- package/node_modules/es-toolkit/dist/string/upperCase.js +27 -0
- package/node_modules/es-toolkit/dist/string/upperCase.mjs +27 -0
- package/node_modules/es-toolkit/dist/string/upperFirst.d.mts +15 -0
- package/node_modules/es-toolkit/dist/string/upperFirst.d.ts +15 -0
- package/node_modules/es-toolkit/dist/string/upperFirst.js +17 -0
- package/node_modules/es-toolkit/dist/string/upperFirst.mjs +17 -0
- package/node_modules/es-toolkit/dist/string/words.d.mts +39 -0
- package/node_modules/es-toolkit/dist/string/words.d.ts +39 -0
- package/node_modules/es-toolkit/dist/string/words.js +41 -0
- package/node_modules/es-toolkit/dist/string/words.mjs +41 -0
- package/node_modules/es-toolkit/dist/types/DeepPartial.d.mts +21 -0
- package/node_modules/es-toolkit/dist/types/DeepPartial.d.ts +21 -0
- package/node_modules/es-toolkit/dist/types/DeepReadonly.d.mts +22 -0
- package/node_modules/es-toolkit/dist/types/DeepReadonly.d.ts +22 -0
- package/node_modules/es-toolkit/dist/types/NonEmptyArray.d.mts +14 -0
- package/node_modules/es-toolkit/dist/types/NonEmptyArray.d.ts +14 -0
- package/node_modules/es-toolkit/dist/types/Simplify.d.mts +18 -0
- package/node_modules/es-toolkit/dist/types/Simplify.d.ts +18 -0
- package/node_modules/es-toolkit/dist/types/ValueOf.d.mts +14 -0
- package/node_modules/es-toolkit/dist/types/ValueOf.d.ts +14 -0
- package/node_modules/es-toolkit/dist/types/Writable.d.mts +15 -0
- package/node_modules/es-toolkit/dist/types/Writable.d.ts +15 -0
- package/node_modules/es-toolkit/dist/types/index.d.mts +7 -0
- package/node_modules/es-toolkit/dist/types/index.d.ts +7 -0
- package/node_modules/es-toolkit/dist/util/attempt.d.mts +43 -0
- package/node_modules/es-toolkit/dist/util/attempt.d.ts +43 -0
- package/node_modules/es-toolkit/dist/util/attempt.js +49 -0
- package/node_modules/es-toolkit/dist/util/attempt.mjs +49 -0
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +36 -0
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +36 -0
- package/node_modules/es-toolkit/dist/util/attemptAsync.js +42 -0
- package/node_modules/es-toolkit/dist/util/attemptAsync.mjs +42 -0
- package/node_modules/es-toolkit/dist/util/index.d.mts +4 -0
- package/node_modules/es-toolkit/dist/util/index.d.ts +4 -0
- package/node_modules/es-toolkit/dist/util/index.js +8 -0
- package/node_modules/es-toolkit/dist/util/index.mjs +4 -0
- package/node_modules/es-toolkit/dist/util/invariant.d.mts +41 -0
- package/node_modules/es-toolkit/dist/util/invariant.d.ts +41 -0
- package/node_modules/es-toolkit/dist/util/invariant.js +32 -0
- package/node_modules/es-toolkit/dist/util/invariant.mjs +32 -0
- package/node_modules/es-toolkit/error.d.ts +1 -0
- package/node_modules/es-toolkit/error.js +1 -0
- package/node_modules/es-toolkit/fp.d.ts +1 -0
- package/node_modules/es-toolkit/fp.js +1 -0
- package/node_modules/es-toolkit/function.d.ts +1 -0
- package/node_modules/es-toolkit/function.js +1 -0
- package/node_modules/es-toolkit/map.d.ts +1 -0
- package/node_modules/es-toolkit/map.js +1 -0
- package/node_modules/es-toolkit/math.d.ts +1 -0
- package/node_modules/es-toolkit/math.js +1 -0
- package/node_modules/es-toolkit/object.d.ts +1 -0
- package/node_modules/es-toolkit/object.js +1 -0
- package/node_modules/es-toolkit/package.json +453 -0
- package/node_modules/es-toolkit/predicate.d.ts +1 -0
- package/node_modules/es-toolkit/predicate.js +1 -0
- package/node_modules/es-toolkit/promise.d.ts +1 -0
- package/node_modules/es-toolkit/promise.js +1 -0
- package/node_modules/es-toolkit/server.d.ts +1 -0
- package/node_modules/es-toolkit/server.js +1 -0
- package/node_modules/es-toolkit/set.d.ts +1 -0
- package/node_modules/es-toolkit/set.js +1 -0
- package/node_modules/es-toolkit/src/compat/_internal/Equals.d.ts +1 -0
- package/node_modules/es-toolkit/src/compat/_internal/IsWritable.d.ts +3 -0
- package/node_modules/es-toolkit/src/compat/_internal/MutableList.d.ts +4 -0
- package/node_modules/es-toolkit/src/compat/_internal/RejectReadonly.d.ts +4 -0
- package/node_modules/es-toolkit/string.d.ts +1 -0
- package/node_modules/es-toolkit/string.js +1 -0
- package/node_modules/es-toolkit/types.d.ts +1 -0
- package/node_modules/es-toolkit/util.d.ts +1 -0
- package/node_modules/es-toolkit/util.js +1 -0
- package/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/node_modules/escape-string-regexp/index.js +11 -0
- package/node_modules/escape-string-regexp/license +9 -0
- package/node_modules/escape-string-regexp/package.json +43 -0
- package/node_modules/escape-string-regexp/readme.md +29 -0
- package/node_modules/fd-package-json/LICENSE +21 -0
- package/node_modules/fd-package-json/README.md +45 -0
- package/node_modules/fd-package-json/lib/main.d.ts +29 -0
- package/node_modules/fd-package-json/lib/main.js +102 -0
- package/node_modules/fd-package-json/package.json +63 -0
- package/node_modules/formatly/LICENSE.md +20 -0
- package/node_modules/formatly/README.md +210 -0
- package/node_modules/formatly/bin/index.mjs +4 -0
- package/node_modules/formatly/lib/cli.d.ts +3 -0
- package/node_modules/formatly/lib/cli.js +12 -0
- package/node_modules/formatly/lib/formatly.d.ts +5 -0
- package/node_modules/formatly/lib/formatly.js +23 -0
- package/node_modules/formatly/lib/formatters/all.d.ts +34 -0
- package/node_modules/formatly/lib/formatters/all.js +40 -0
- package/node_modules/formatly/lib/formatters/createRunCommand.d.ts +5 -0
- package/node_modules/formatly/lib/formatters/createRunCommand.js +7 -0
- package/node_modules/formatly/lib/formatters/runFormatterCommand.d.ts +5 -0
- package/node_modules/formatly/lib/formatters/runFormatterCommand.js +18 -0
- package/node_modules/formatly/lib/formatters/runPrettier.d.ts +5 -0
- package/node_modules/formatly/lib/formatters/runPrettier.js +20 -0
- package/node_modules/formatly/lib/formatters/wrapSafe.d.ts +3 -0
- package/node_modules/formatly/lib/formatters/wrapSafe.js +10 -0
- package/node_modules/formatly/lib/index.d.ts +4 -0
- package/node_modules/formatly/lib/index.js +4 -0
- package/node_modules/formatly/lib/resolveFormatter.d.ts +5 -0
- package/node_modules/formatly/lib/resolveFormatter.js +34 -0
- package/node_modules/formatly/lib/types.d.ts +42 -0
- package/node_modules/formatly/lib/types.js +0 -0
- package/node_modules/formatly/package.json +85 -0
- package/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/node_modules/get-east-asian-width/index.js +30 -0
- package/node_modules/get-east-asian-width/license +9 -0
- package/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/node_modules/get-east-asian-width/lookup.js +138 -0
- package/node_modules/get-east-asian-width/package.json +71 -0
- package/node_modules/get-east-asian-width/readme.md +65 -0
- package/node_modules/get-east-asian-width/utilities.js +24 -0
- package/node_modules/get-tsconfig/LICENSE +21 -0
- package/node_modules/get-tsconfig/README.md +268 -0
- package/node_modules/get-tsconfig/dist/index.cjs +7 -0
- package/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
- package/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
- package/node_modules/get-tsconfig/dist/index.mjs +7 -0
- package/node_modules/get-tsconfig/package.json +46 -0
- package/node_modules/indent-string/index.d.ts +38 -0
- package/node_modules/indent-string/index.js +38 -0
- package/node_modules/indent-string/license +9 -0
- package/node_modules/indent-string/package.json +40 -0
- package/node_modules/indent-string/readme.md +73 -0
- package/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
- package/node_modules/ink/build/ansi-tokenizer.js +316 -0
- package/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
- package/node_modules/ink/build/colorize.d.ts +3 -0
- package/node_modules/ink/build/colorize.js +48 -0
- package/node_modules/ink/build/colorize.js.map +1 -0
- package/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
- package/node_modules/ink/build/components/AccessibilityContext.js +5 -0
- package/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
- package/node_modules/ink/build/components/AnimationContext.d.ts +9 -0
- package/node_modules/ink/build/components/AnimationContext.js +13 -0
- package/node_modules/ink/build/components/AnimationContext.js.map +1 -0
- package/node_modules/ink/build/components/App.d.ts +24 -0
- package/node_modules/ink/build/components/App.js +554 -0
- package/node_modules/ink/build/components/App.js.map +1 -0
- package/node_modules/ink/build/components/AppContext.d.ts +80 -0
- package/node_modules/ink/build/components/AppContext.js +25 -0
- package/node_modules/ink/build/components/AppContext.js.map +1 -0
- package/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
- package/node_modules/ink/build/components/BackgroundContext.js +3 -0
- package/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
- package/node_modules/ink/build/components/Box.d.ts +130 -0
- package/node_modules/ink/build/components/Box.js +34 -0
- package/node_modules/ink/build/components/Box.js.map +1 -0
- package/node_modules/ink/build/components/CursorContext.d.ts +11 -0
- package/node_modules/ink/build/components/CursorContext.js +8 -0
- package/node_modules/ink/build/components/CursorContext.js.map +1 -0
- package/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
- package/node_modules/ink/build/components/ErrorBoundary.js +23 -0
- package/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
- package/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
- package/node_modules/ink/build/components/ErrorOverview.js +90 -0
- package/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
- package/node_modules/ink/build/components/FocusContext.d.ts +16 -0
- package/node_modules/ink/build/components/FocusContext.js +17 -0
- package/node_modules/ink/build/components/FocusContext.js.map +1 -0
- package/node_modules/ink/build/components/Newline.d.ts +13 -0
- package/node_modules/ink/build/components/Newline.js +8 -0
- package/node_modules/ink/build/components/Newline.js.map +1 -0
- package/node_modules/ink/build/components/Spacer.d.ts +7 -0
- package/node_modules/ink/build/components/Spacer.js +11 -0
- package/node_modules/ink/build/components/Spacer.js.map +1 -0
- package/node_modules/ink/build/components/Static.d.ts +24 -0
- package/node_modules/ink/build/components/Static.js +28 -0
- package/node_modules/ink/build/components/Static.js.map +1 -0
- package/node_modules/ink/build/components/StderrContext.d.ts +15 -0
- package/node_modules/ink/build/components/StderrContext.js +13 -0
- package/node_modules/ink/build/components/StderrContext.js.map +1 -0
- package/node_modules/ink/build/components/StdinContext.d.ts +28 -0
- package/node_modules/ink/build/components/StdinContext.js +20 -0
- package/node_modules/ink/build/components/StdinContext.js.map +1 -0
- package/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
- package/node_modules/ink/build/components/StdoutContext.js +13 -0
- package/node_modules/ink/build/components/StdoutContext.js.map +1 -0
- package/node_modules/ink/build/components/Text.d.ts +55 -0
- package/node_modules/ink/build/components/Text.js +50 -0
- package/node_modules/ink/build/components/Text.js.map +1 -0
- package/node_modules/ink/build/components/Transform.d.ts +16 -0
- package/node_modules/ink/build/components/Transform.js +15 -0
- package/node_modules/ink/build/components/Transform.js.map +1 -0
- package/node_modules/ink/build/cursor-helpers.d.ts +38 -0
- package/node_modules/ink/build/cursor-helpers.js +56 -0
- package/node_modules/ink/build/cursor-helpers.js.map +1 -0
- package/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
- package/node_modules/ink/build/devtools-window-polyfill.js +68 -0
- package/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
- package/node_modules/ink/build/devtools.d.ts +1 -0
- package/node_modules/ink/build/devtools.js +36 -0
- package/node_modules/ink/build/devtools.js.map +1 -0
- package/node_modules/ink/build/dom.d.ts +62 -0
- package/node_modules/ink/build/dom.js +143 -0
- package/node_modules/ink/build/dom.js.map +1 -0
- package/node_modules/ink/build/get-max-width.d.ts +3 -0
- package/node_modules/ink/build/get-max-width.js +10 -0
- package/node_modules/ink/build/get-max-width.js.map +1 -0
- package/node_modules/ink/build/hooks/use-animation.d.ts +49 -0
- package/node_modules/ink/build/hooks/use-animation.js +87 -0
- package/node_modules/ink/build/hooks/use-animation.js.map +1 -0
- package/node_modules/ink/build/hooks/use-app.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-app.js +8 -0
- package/node_modules/ink/build/hooks/use-app.js.map +1 -0
- package/node_modules/ink/build/hooks/use-box-metrics.d.ts +59 -0
- package/node_modules/ink/build/hooks/use-box-metrics.js +81 -0
- package/node_modules/ink/build/hooks/use-box-metrics.js.map +1 -0
- package/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
- package/node_modules/ink/build/hooks/use-cursor.js +29 -0
- package/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
- package/node_modules/ink/build/hooks/use-focus-manager.d.ts +43 -0
- package/node_modules/ink/build/hooks/use-focus-manager.js +18 -0
- package/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
- package/node_modules/ink/build/hooks/use-focus.d.ts +30 -0
- package/node_modules/ink/build/hooks/use-focus.js +43 -0
- package/node_modules/ink/build/hooks/use-focus.js.map +1 -0
- package/node_modules/ink/build/hooks/use-input.d.ts +132 -0
- package/node_modules/ink/build/hooks/use-input.js +126 -0
- package/node_modules/ink/build/hooks/use-input.js.map +1 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +6 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +12 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
- package/node_modules/ink/build/hooks/use-paste.d.ts +35 -0
- package/node_modules/ink/build/hooks/use-paste.js +62 -0
- package/node_modules/ink/build/hooks/use-paste.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-stderr.js +8 -0
- package/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stdin.d.ts +7 -0
- package/node_modules/ink/build/hooks/use-stdin.js +9 -0
- package/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-stdout.js +8 -0
- package/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
- package/node_modules/ink/build/hooks/use-window-size.d.ts +18 -0
- package/node_modules/ink/build/hooks/use-window-size.js +22 -0
- package/node_modules/ink/build/hooks/use-window-size.js.map +1 -0
- package/node_modules/ink/build/index.d.ts +43 -0
- package/node_modules/ink/build/index.js +24 -0
- package/node_modules/ink/build/index.js.map +1 -0
- package/node_modules/ink/build/ink.d.ts +146 -0
- package/node_modules/ink/build/ink.js +950 -0
- package/node_modules/ink/build/ink.js.map +1 -0
- package/node_modules/ink/build/input-parser.d.ts +10 -0
- package/node_modules/ink/build/input-parser.js +194 -0
- package/node_modules/ink/build/input-parser.js.map +1 -0
- package/node_modules/ink/build/instances.d.ts +3 -0
- package/node_modules/ink/build/instances.js +8 -0
- package/node_modules/ink/build/instances.js.map +1 -0
- package/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
- package/node_modules/ink/build/kitty-keyboard.js +32 -0
- package/node_modules/ink/build/kitty-keyboard.js.map +1 -0
- package/node_modules/ink/build/log-update.d.ts +20 -0
- package/node_modules/ink/build/log-update.js +254 -0
- package/node_modules/ink/build/log-update.js.map +1 -0
- package/node_modules/ink/build/measure-element.d.ts +30 -0
- package/node_modules/ink/build/measure-element.js +32 -0
- package/node_modules/ink/build/measure-element.js.map +1 -0
- package/node_modules/ink/build/measure-text.d.ts +6 -0
- package/node_modules/ink/build/measure-text.js +21 -0
- package/node_modules/ink/build/measure-text.js.map +1 -0
- package/node_modules/ink/build/output.d.ts +35 -0
- package/node_modules/ink/build/output.js +208 -0
- package/node_modules/ink/build/output.js.map +1 -0
- package/node_modules/ink/build/parse-keypress.d.ts +20 -0
- package/node_modules/ink/build/parse-keypress.js +495 -0
- package/node_modules/ink/build/parse-keypress.js.map +1 -0
- package/node_modules/ink/build/reconciler.d.ts +4 -0
- package/node_modules/ink/build/reconciler.js +306 -0
- package/node_modules/ink/build/reconciler.js.map +1 -0
- package/node_modules/ink/build/render-background.d.ts +4 -0
- package/node_modules/ink/build/render-background.js +25 -0
- package/node_modules/ink/build/render-background.js.map +1 -0
- package/node_modules/ink/build/render-border.d.ts +4 -0
- package/node_modules/ink/build/render-border.js +84 -0
- package/node_modules/ink/build/render-border.js.map +1 -0
- package/node_modules/ink/build/render-node-to-output.d.ts +14 -0
- package/node_modules/ink/build/render-node-to-output.js +147 -0
- package/node_modules/ink/build/render-node-to-output.js.map +1 -0
- package/node_modules/ink/build/render-to-string.d.ts +38 -0
- package/node_modules/ink/build/render-to-string.js +116 -0
- package/node_modules/ink/build/render-to-string.js.map +1 -0
- package/node_modules/ink/build/render.d.ts +176 -0
- package/node_modules/ink/build/render.js +62 -0
- package/node_modules/ink/build/render.js.map +1 -0
- package/node_modules/ink/build/renderer.d.ts +8 -0
- package/node_modules/ink/build/renderer.js +55 -0
- package/node_modules/ink/build/renderer.js.map +1 -0
- package/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
- package/node_modules/ink/build/sanitize-ansi.js +27 -0
- package/node_modules/ink/build/sanitize-ansi.js.map +1 -0
- package/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
- package/node_modules/ink/build/squash-text-nodes.js +36 -0
- package/node_modules/ink/build/squash-text-nodes.js.map +1 -0
- package/node_modules/ink/build/styles.d.ts +302 -0
- package/node_modules/ink/build/styles.js +303 -0
- package/node_modules/ink/build/styles.js.map +1 -0
- package/node_modules/ink/build/utils.d.ts +9 -0
- package/node_modules/ink/build/utils.js +19 -0
- package/node_modules/ink/build/utils.js.map +1 -0
- package/node_modules/ink/build/wrap-text.d.ts +3 -0
- package/node_modules/ink/build/wrap-text.js +38 -0
- package/node_modules/ink/build/wrap-text.js.map +1 -0
- package/node_modules/ink/build/write-synchronized.d.ts +4 -0
- package/node_modules/ink/build/write-synchronized.js +9 -0
- package/node_modules/ink/build/write-synchronized.js.map +1 -0
- package/node_modules/ink/license +10 -0
- package/node_modules/ink/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/ink/node_modules/signal-exit/README.md +39 -0
- package/node_modules/ink/node_modules/signal-exit/index.js +202 -0
- package/node_modules/ink/node_modules/signal-exit/package.json +38 -0
- package/node_modules/ink/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/ink/package.json +137 -0
- package/node_modules/ink/readme.md +3193 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +12 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +53 -0
- package/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/node_modules/is-in-ci/cli.js +5 -0
- package/node_modules/is-in-ci/index.d.ts +15 -0
- package/node_modules/is-in-ci/index.js +7 -0
- package/node_modules/is-in-ci/license +9 -0
- package/node_modules/is-in-ci/package.json +49 -0
- package/node_modules/is-in-ci/readme.md +44 -0
- package/node_modules/jiti/LICENSE +21 -0
- package/node_modules/jiti/README.md +258 -0
- package/node_modules/jiti/dist/babel.cjs +257 -0
- package/node_modules/jiti/dist/jiti.cjs +1 -0
- package/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- package/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
- package/node_modules/jiti/lib/jiti-native.mjs +121 -0
- package/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- package/node_modules/jiti/lib/jiti-register.mjs +4 -0
- package/node_modules/jiti/lib/jiti-static.mjs +23 -0
- package/node_modules/jiti/lib/jiti.cjs +30 -0
- package/node_modules/jiti/lib/jiti.d.cts +8 -0
- package/node_modules/jiti/lib/jiti.d.mts +8 -0
- package/node_modules/jiti/lib/jiti.mjs +29 -0
- package/node_modules/jiti/lib/types.d.ts +420 -0
- package/node_modules/jiti/package.json +146 -0
- package/node_modules/mimic-fn/index.d.ts +54 -0
- package/node_modules/mimic-fn/index.js +13 -0
- package/node_modules/mimic-fn/license +9 -0
- package/node_modules/mimic-fn/package.json +42 -0
- package/node_modules/mimic-fn/readme.md +69 -0
- package/node_modules/onetime/index.d.ts +64 -0
- package/node_modules/onetime/index.js +44 -0
- package/node_modules/onetime/license +9 -0
- package/node_modules/onetime/package.json +43 -0
- package/node_modules/onetime/readme.md +94 -0
- package/node_modules/patch-console/dist/index.d.ts +4 -0
- package/node_modules/patch-console/dist/index.js +45 -0
- package/node_modules/patch-console/dist/index.js.map +1 -0
- package/node_modules/patch-console/license +9 -0
- package/node_modules/patch-console/package.json +53 -0
- package/node_modules/patch-console/readme.md +62 -0
- package/node_modules/react/LICENSE +21 -0
- package/node_modules/react/README.md +37 -0
- package/node_modules/react/cjs/react-compiler-runtime.development.js +24 -0
- package/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
- package/node_modules/react/cjs/react-compiler-runtime.profiling.js +16 -0
- package/node_modules/react/cjs/react-jsx-dev-runtime.development.js +345 -0
- package/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
- package/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +385 -0
- package/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
- package/node_modules/react/cjs/react-jsx-runtime.development.js +363 -0
- package/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
- package/node_modules/react/cjs/react-jsx-runtime.profiling.js +34 -0
- package/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +385 -0
- package/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
- package/node_modules/react/cjs/react.development.js +1330 -0
- package/node_modules/react/cjs/react.production.js +565 -0
- package/node_modules/react/cjs/react.react-server.development.js +878 -0
- package/node_modules/react/cjs/react.react-server.production.js +436 -0
- package/node_modules/react/compiler-runtime.js +14 -0
- package/node_modules/react/index.js +7 -0
- package/node_modules/react/jsx-dev-runtime.js +7 -0
- package/node_modules/react/jsx-dev-runtime.react-server.js +7 -0
- package/node_modules/react/jsx-runtime.js +7 -0
- package/node_modules/react/jsx-runtime.react-server.js +7 -0
- package/node_modules/react/package.json +51 -0
- package/node_modules/react/react.react-server.js +7 -0
- package/node_modules/react-reconciler/LICENSE +21 -0
- package/node_modules/react-reconciler/README.md +353 -0
- package/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +19 -0
- package/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js +18 -0
- package/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +394 -0
- package/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.js +382 -0
- package/node_modules/react-reconciler/cjs/react-reconciler.development.js +19736 -0
- package/node_modules/react-reconciler/cjs/react-reconciler.production.js +11594 -0
- package/node_modules/react-reconciler/cjs/react-reconciler.profiling.js +13427 -0
- package/node_modules/react-reconciler/constants.js +7 -0
- package/node_modules/react-reconciler/index.js +7 -0
- package/node_modules/react-reconciler/package.json +34 -0
- package/node_modules/react-reconciler/reflection.js +7 -0
- package/node_modules/resolve-pkg-maps/LICENSE +21 -0
- package/node_modules/resolve-pkg-maps/README.md +216 -0
- package/node_modules/resolve-pkg-maps/dist/index.cjs +1 -0
- package/node_modules/resolve-pkg-maps/dist/index.d.cts +11 -0
- package/node_modules/resolve-pkg-maps/dist/index.d.mts +11 -0
- package/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
- package/node_modules/resolve-pkg-maps/package.json +42 -0
- package/node_modules/restore-cursor/index.d.ts +11 -0
- package/node_modules/restore-cursor/index.js +11 -0
- package/node_modules/restore-cursor/license +9 -0
- package/node_modules/restore-cursor/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/restore-cursor/node_modules/signal-exit/README.md +39 -0
- package/node_modules/restore-cursor/node_modules/signal-exit/index.js +202 -0
- package/node_modules/restore-cursor/node_modules/signal-exit/package.json +38 -0
- package/node_modules/restore-cursor/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/restore-cursor/package.json +55 -0
- package/node_modules/restore-cursor/readme.md +31 -0
- package/node_modules/scheduler/LICENSE +21 -0
- package/node_modules/scheduler/README.md +9 -0
- package/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
- package/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
- package/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
- package/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
- package/node_modules/scheduler/cjs/scheduler.development.js +364 -0
- package/node_modules/scheduler/cjs/scheduler.native.development.js +350 -0
- package/node_modules/scheduler/cjs/scheduler.native.production.js +330 -0
- package/node_modules/scheduler/cjs/scheduler.production.js +340 -0
- package/node_modules/scheduler/index.js +7 -0
- package/node_modules/scheduler/index.native.js +7 -0
- package/node_modules/scheduler/package.json +27 -0
- package/node_modules/scheduler/unstable_mock.js +7 -0
- package/node_modules/scheduler/unstable_post_task.js +7 -0
- package/node_modules/slice-ansi/index.d.ts +19 -0
- package/node_modules/slice-ansi/index.js +317 -0
- package/node_modules/slice-ansi/license +10 -0
- package/node_modules/slice-ansi/package.json +59 -0
- package/node_modules/slice-ansi/readme.md +55 -0
- package/node_modules/slice-ansi/tokenize-ansi.js +752 -0
- package/node_modules/stack-utils/LICENSE.md +21 -0
- package/node_modules/stack-utils/index.js +344 -0
- package/node_modules/stack-utils/package.json +39 -0
- package/node_modules/stack-utils/readme.md +143 -0
- package/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/string-width/index.js +207 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +65 -0
- package/node_modules/string-width/readme.md +66 -0
- package/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/strip-ansi/index.js +19 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +59 -0
- package/node_modules/strip-ansi/readme.md +37 -0
- package/node_modules/strip-json-comments/index.d.ts +41 -0
- package/node_modules/strip-json-comments/index.js +113 -0
- package/node_modules/strip-json-comments/license +9 -0
- package/node_modules/strip-json-comments/package.json +56 -0
- package/node_modules/strip-json-comments/readme.md +75 -0
- package/node_modules/tagged-tag/index.d.ts +3 -0
- package/node_modules/tagged-tag/license +9 -0
- package/node_modules/tagged-tag/package.json +36 -0
- package/node_modules/tagged-tag/readme.md +5 -0
- package/node_modules/terminal-size/index.d.ts +17 -0
- package/node_modules/terminal-size/index.js +139 -0
- package/node_modules/terminal-size/license +9 -0
- package/node_modules/terminal-size/package.json +49 -0
- package/node_modules/terminal-size/readme.md +32 -0
- package/node_modules/type-fest/index.d.ts +227 -0
- package/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/type-fest/license-mit +9 -0
- package/node_modules/type-fest/package.json +75 -0
- package/node_modules/type-fest/readme.md +1085 -0
- package/node_modules/type-fest/source/absolute.d.ts +52 -0
- package/node_modules/type-fest/source/all-extend.d.ts +121 -0
- package/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
- package/node_modules/type-fest/source/and-all.d.ts +76 -0
- package/node_modules/type-fest/source/and.d.ts +82 -0
- package/node_modules/type-fest/source/array-element.d.ts +46 -0
- package/node_modules/type-fest/source/array-indices.d.ts +25 -0
- package/node_modules/type-fest/source/array-length.d.ts +36 -0
- package/node_modules/type-fest/source/array-reverse.d.ts +85 -0
- package/node_modules/type-fest/source/array-slice.d.ts +132 -0
- package/node_modules/type-fest/source/array-splice.d.ts +104 -0
- package/node_modules/type-fest/source/array-tail.d.ts +70 -0
- package/node_modules/type-fest/source/array-values.d.ts +24 -0
- package/node_modules/type-fest/source/arrayable.d.ts +31 -0
- package/node_modules/type-fest/source/async-return-type.d.ts +28 -0
- package/node_modules/type-fest/source/asyncify.d.ts +25 -0
- package/node_modules/type-fest/source/basic.d.ts +38 -0
- package/node_modules/type-fest/source/camel-case.d.ts +125 -0
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
- package/node_modules/type-fest/source/characters.d.ts +67 -0
- package/node_modules/type-fest/source/conditional-except.d.ts +47 -0
- package/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
- package/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
- package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
- package/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
- package/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
- package/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
- package/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
- package/node_modules/type-fest/source/empty-object.d.ts +51 -0
- package/node_modules/type-fest/source/entries.d.ts +64 -0
- package/node_modules/type-fest/source/entry.d.ts +67 -0
- package/node_modules/type-fest/source/exact.d.ts +73 -0
- package/node_modules/type-fest/source/except.d.ts +112 -0
- package/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
- package/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
- package/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
- package/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
- package/node_modules/type-fest/source/extends-strict.d.ts +151 -0
- package/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
- package/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
- package/node_modules/type-fest/source/extract-strict.d.ts +51 -0
- package/node_modules/type-fest/source/find-global-type.d.ts +68 -0
- package/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
- package/node_modules/type-fest/source/get.d.ts +227 -0
- package/node_modules/type-fest/source/global-this.d.ts +24 -0
- package/node_modules/type-fest/source/globals/index.d.ts +3 -0
- package/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
- package/node_modules/type-fest/source/greater-than.d.ts +92 -0
- package/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
- package/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
- package/node_modules/type-fest/source/if-any.d.ts +28 -0
- package/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
- package/node_modules/type-fest/source/if-never.d.ts +28 -0
- package/node_modules/type-fest/source/if-null.d.ts +28 -0
- package/node_modules/type-fest/source/if-unknown.d.ts +28 -0
- package/node_modules/type-fest/source/if.d.ts +102 -0
- package/node_modules/type-fest/source/includes.d.ts +24 -0
- package/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
- package/node_modules/type-fest/source/int-range.d.ts +67 -0
- package/node_modules/type-fest/source/internal/array.d.ts +144 -0
- package/node_modules/type-fest/source/internal/characters.d.ts +65 -0
- package/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
- package/node_modules/type-fest/source/internal/index.d.ts +11 -0
- package/node_modules/type-fest/source/internal/keys.d.ts +100 -0
- package/node_modules/type-fest/source/internal/numeric.d.ts +143 -0
- package/node_modules/type-fest/source/internal/object.d.ts +301 -0
- package/node_modules/type-fest/source/internal/string.d.ts +127 -0
- package/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
- package/node_modules/type-fest/source/internal/type.d.ts +171 -0
- package/node_modules/type-fest/source/invariant-of.d.ts +85 -0
- package/node_modules/type-fest/source/is-any.d.ts +31 -0
- package/node_modules/type-fest/source/is-equal.d.ts +41 -0
- package/node_modules/type-fest/source/is-float.d.ts +43 -0
- package/node_modules/type-fest/source/is-integer.d.ts +60 -0
- package/node_modules/type-fest/source/is-literal.d.ts +317 -0
- package/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-never.d.ts +56 -0
- package/node_modules/type-fest/source/is-null.d.ts +22 -0
- package/node_modules/type-fest/source/is-nullable.d.ts +30 -0
- package/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/is-optional.d.ts +28 -0
- package/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
- package/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/is-tuple.d.ts +92 -0
- package/node_modules/type-fest/source/is-undefined.d.ts +22 -0
- package/node_modules/type-fest/source/is-union.d.ts +40 -0
- package/node_modules/type-fest/source/is-unknown.d.ts +43 -0
- package/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/iterable-element.d.ts +66 -0
- package/node_modules/type-fest/source/join.d.ts +79 -0
- package/node_modules/type-fest/source/json-value.d.ts +33 -0
- package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/type-fest/source/jsonify.d.ts +127 -0
- package/node_modules/type-fest/source/kebab-case.d.ts +47 -0
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/key-as-string.d.ts +27 -0
- package/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
- package/node_modules/type-fest/source/last-array-element.d.ts +89 -0
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
- package/node_modules/type-fest/source/less-than.d.ts +60 -0
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
- package/node_modules/type-fest/source/literal-union.d.ts +39 -0
- package/node_modules/type-fest/source/merge-deep.d.ts +495 -0
- package/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
- package/node_modules/type-fest/source/merge.d.ts +87 -0
- package/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
- package/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
- package/node_modules/type-fest/source/numeric.d.ts +226 -0
- package/node_modules/type-fest/source/object-merge.d.ts +199 -0
- package/node_modules/type-fest/source/omit-deep.d.ts +153 -0
- package/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
- package/node_modules/type-fest/source/opaque.d.ts +3 -0
- package/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
- package/node_modules/type-fest/source/optional.d.ts +31 -0
- package/node_modules/type-fest/source/or-all.d.ts +73 -0
- package/node_modules/type-fest/source/or.d.ts +82 -0
- package/node_modules/type-fest/source/override-properties.d.ts +43 -0
- package/node_modules/type-fest/source/package-json.d.ts +710 -0
- package/node_modules/type-fest/source/partial-deep.d.ts +157 -0
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
- package/node_modules/type-fest/source/pascal-case.d.ts +52 -0
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/paths.d.ts +241 -0
- package/node_modules/type-fest/source/pick-deep.d.ts +139 -0
- package/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
- package/node_modules/type-fest/source/primitive.d.ts +15 -0
- package/node_modules/type-fest/source/promisable.d.ts +27 -0
- package/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
- package/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
- package/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
- package/node_modules/type-fest/source/replace.d.ts +87 -0
- package/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
- package/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
- package/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/schema.d.ts +127 -0
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
- package/node_modules/type-fest/source/set-field-type.d.ts +67 -0
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
- package/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
- package/node_modules/type-fest/source/set-optional.d.ts +42 -0
- package/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
- package/node_modules/type-fest/source/set-readonly.d.ts +40 -0
- package/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
- package/node_modules/type-fest/source/set-required.d.ts +75 -0
- package/node_modules/type-fest/source/set-return-type.d.ts +31 -0
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
- package/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
- package/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
- package/node_modules/type-fest/source/simplify.d.ts +61 -0
- package/node_modules/type-fest/source/single-key-object.d.ts +28 -0
- package/node_modules/type-fest/source/snake-case.d.ts +48 -0
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/some-extend.d.ts +115 -0
- package/node_modules/type-fest/source/split-on-rest-element.d.ts +108 -0
- package/node_modules/type-fest/source/split.d.ts +90 -0
- package/node_modules/type-fest/source/spread.d.ts +78 -0
- package/node_modules/type-fest/source/string-length.d.ts +38 -0
- package/node_modules/type-fest/source/string-repeat.d.ts +76 -0
- package/node_modules/type-fest/source/string-slice.d.ts +39 -0
- package/node_modules/type-fest/source/string-to-array.d.ts +97 -0
- package/node_modules/type-fest/source/string-to-number.d.ts +67 -0
- package/node_modules/type-fest/source/stringified.d.ts +25 -0
- package/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
- package/node_modules/type-fest/source/subtract.d.ts +87 -0
- package/node_modules/type-fest/source/sum.d.ts +82 -0
- package/node_modules/type-fest/source/tagged-union.d.ts +53 -0
- package/node_modules/type-fest/source/tagged.d.ts +261 -0
- package/node_modules/type-fest/source/trim.d.ts +29 -0
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
- package/node_modules/type-fest/source/tuple-of.d.ts +114 -0
- package/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
- package/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
- package/node_modules/type-fest/source/typed-array.d.ts +19 -0
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
- package/node_modules/type-fest/source/union-length.d.ts +27 -0
- package/node_modules/type-fest/source/union-member.d.ts +65 -0
- package/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
- package/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
- package/node_modules/type-fest/source/unknown-array.d.ts +27 -0
- package/node_modules/type-fest/source/unknown-map.d.ts +26 -0
- package/node_modules/type-fest/source/unknown-record.d.ts +33 -0
- package/node_modules/type-fest/source/unknown-set.d.ts +26 -0
- package/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
- package/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
- package/node_modules/type-fest/source/value-of.d.ts +24 -0
- package/node_modules/type-fest/source/words.d.ts +148 -0
- package/node_modules/type-fest/source/writable-deep.d.ts +84 -0
- package/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
- package/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/type-fest/source/xor.d.ts +83 -0
- package/node_modules/unbash/LICENSE +15 -0
- package/node_modules/unbash/README.md +281 -0
- package/node_modules/unbash/dist/ansi-c.d.ts +5 -0
- package/node_modules/unbash/dist/ansi-c.js +130 -0
- package/node_modules/unbash/dist/arithmetic.d.ts +11 -0
- package/node_modules/unbash/dist/arithmetic.js +521 -0
- package/node_modules/unbash/dist/chars.d.ts +41 -0
- package/node_modules/unbash/dist/chars.js +41 -0
- package/node_modules/unbash/dist/lexer.d.ts +187 -0
- package/node_modules/unbash/dist/lexer.js +3651 -0
- package/node_modules/unbash/dist/parser.d.ts +4 -0
- package/node_modules/unbash/dist/parser.js +1413 -0
- package/node_modules/unbash/dist/parts.d.ts +16 -0
- package/node_modules/unbash/dist/parts.js +81 -0
- package/node_modules/unbash/dist/printer.d.ts +2 -0
- package/node_modules/unbash/dist/printer.js +485 -0
- package/node_modules/unbash/dist/source-map.d.ts +11 -0
- package/node_modules/unbash/dist/source-map.js +22 -0
- package/node_modules/unbash/dist/types.d.ts +362 -0
- package/node_modules/unbash/dist/types.js +1 -0
- package/node_modules/unbash/dist/word.d.ts +22 -0
- package/node_modules/unbash/dist/word.js +93 -0
- package/node_modules/unbash/package.json +79 -0
- package/node_modules/walk-up-path/LICENSE +15 -0
- package/node_modules/walk-up-path/README.md +46 -0
- package/node_modules/walk-up-path/dist/commonjs/index.d.ts +2 -0
- package/node_modules/walk-up-path/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/walk-up-path/dist/commonjs/index.js +18 -0
- package/node_modules/walk-up-path/dist/commonjs/index.js.map +1 -0
- package/node_modules/walk-up-path/dist/commonjs/package.json +3 -0
- package/node_modules/walk-up-path/dist/esm/index.d.ts +2 -0
- package/node_modules/walk-up-path/dist/esm/index.d.ts.map +1 -0
- package/node_modules/walk-up-path/dist/esm/index.js +14 -0
- package/node_modules/walk-up-path/dist/esm/index.js.map +1 -0
- package/node_modules/walk-up-path/dist/esm/package.json +3 -0
- package/node_modules/walk-up-path/package.json +71 -0
- package/node_modules/widest-line/index.d.ts +12 -0
- package/node_modules/widest-line/index.js +11 -0
- package/node_modules/widest-line/license +9 -0
- package/node_modules/widest-line/package.json +60 -0
- package/node_modules/widest-line/readme.md +26 -0
- package/node_modules/wrap-ansi/index.d.ts +41 -0
- package/node_modules/wrap-ansi/index.js +468 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +69 -0
- package/node_modules/wrap-ansi/readme.md +77 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -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 +131 -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 +607 -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 +1407 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/yoga-layout/README.md +40 -0
- package/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js +75 -0
- package/node_modules/yoga-layout/dist/src/generated/YGEnums.d.ts +189 -0
- package/node_modules/yoga-layout/dist/src/generated/YGEnums.js +211 -0
- package/node_modules/yoga-layout/dist/src/generated/YGEnums.js.map +1 -0
- package/node_modules/yoga-layout/dist/src/index.d.ts +12 -0
- package/node_modules/yoga-layout/dist/src/index.js +16 -0
- package/node_modules/yoga-layout/dist/src/index.js.map +1 -0
- package/node_modules/yoga-layout/dist/src/load.d.ts +11 -0
- package/node_modules/yoga-layout/dist/src/load.js +17 -0
- package/node_modules/yoga-layout/dist/src/load.js.map +1 -0
- package/node_modules/yoga-layout/dist/src/wrapAssembly.d.ts +155 -0
- package/node_modules/yoga-layout/dist/src/wrapAssembly.js +125 -0
- package/node_modules/yoga-layout/dist/src/wrapAssembly.js.map +1 -0
- package/node_modules/yoga-layout/package.json +53 -0
- package/node_modules/yoga-layout/src/Config.cpp +54 -0
- package/node_modules/yoga-layout/src/Config.h +44 -0
- package/node_modules/yoga-layout/src/Layout.h +19 -0
- package/node_modules/yoga-layout/src/Node.cpp +507 -0
- package/node_modules/yoga-layout/src/Node.h +239 -0
- package/node_modules/yoga-layout/src/Size.h +17 -0
- package/node_modules/yoga-layout/src/Value.h +23 -0
- package/node_modules/yoga-layout/src/embind.cpp +207 -0
- package/node_modules/yoga-layout/src/generated/YGEnums.ts +210 -0
- package/node_modules/yoga-layout/src/index.ts +23 -0
- package/node_modules/yoga-layout/src/load.ts +25 -0
- package/node_modules/yoga-layout/src/wrapAssembly.ts +336 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +77 -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 +33 -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 +17 -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 +32 -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 +146 -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 +55 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +721 -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 +2862 -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 +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +351 -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 +83 -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 +720 -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 +836 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +296 -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 +979 -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 +1310 -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/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 +281 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +107 -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 +183 -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 +342 -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 +362 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +950 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -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 +74 -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/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 +662 -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 +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -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 +1346 -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 +780 -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 +4537 -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 +76 -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 +1859 -0
- package/node_modules/zod/src/v4/core/checks.ts +1306 -0
- package/node_modules/zod/src/v4/core/compile.ts +2188 -0
- package/node_modules/zod/src/v4/core/core.ts +232 -0
- package/node_modules/zod/src/v4/core/doc.ts +48 -0
- package/node_modules/zod/src/v4/core/errors.ts +546 -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 +830 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
- package/node_modules/zod/src/v4/core/parse.ts +288 -0
- package/node_modules/zod/src/v4/core/regexes.ts +207 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5028 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -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 +1639 -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/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/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 +31 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +855 -0
- package/node_modules/zod/src/v4/core/util.ts +1209 -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 +118 -0
- package/node_modules/zod/src/v4/locales/az.ts +114 -0
- package/node_modules/zod/src/v4/locales/be.ts +186 -0
- package/node_modules/zod/src/v4/locales/bg.ts +131 -0
- package/node_modules/zod/src/v4/locales/bn.ts +121 -0
- package/node_modules/zod/src/v4/locales/ca.ts +119 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
- package/node_modules/zod/src/v4/locales/cs.ts +121 -0
- package/node_modules/zod/src/v4/locales/da.ts +126 -0
- package/node_modules/zod/src/v4/locales/de.ts +119 -0
- package/node_modules/zod/src/v4/locales/el.ts +122 -0
- package/node_modules/zod/src/v4/locales/en.ts +134 -0
- package/node_modules/zod/src/v4/locales/eo.ts +121 -0
- package/node_modules/zod/src/v4/locales/es.ts +143 -0
- package/node_modules/zod/src/v4/locales/fa.ts +129 -0
- package/node_modules/zod/src/v4/locales/fi.ts +124 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +119 -0
- package/node_modules/zod/src/v4/locales/fr.ts +137 -0
- package/node_modules/zod/src/v4/locales/gu.ts +121 -0
- package/node_modules/zod/src/v4/locales/he.ts +251 -0
- package/node_modules/zod/src/v4/locales/hi.ts +124 -0
- package/node_modules/zod/src/v4/locales/hr.ts +133 -0
- package/node_modules/zod/src/v4/locales/hu.ts +120 -0
- package/node_modules/zod/src/v4/locales/hy.ts +173 -0
- package/node_modules/zod/src/v4/locales/id.ts +118 -0
- package/node_modules/zod/src/v4/locales/index.ts +62 -0
- package/node_modules/zod/src/v4/locales/is.ts +122 -0
- package/node_modules/zod/src/v4/locales/it.ts +119 -0
- package/node_modules/zod/src/v4/locales/ja.ts +117 -0
- package/node_modules/zod/src/v4/locales/ka.ts +126 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +122 -0
- package/node_modules/zod/src/v4/locales/kn.ts +124 -0
- package/node_modules/zod/src/v4/locales/ko.ts +124 -0
- package/node_modules/zod/src/v4/locales/lt.ts +241 -0
- package/node_modules/zod/src/v4/locales/mk.ts +121 -0
- package/node_modules/zod/src/v4/locales/ms.ts +118 -0
- package/node_modules/zod/src/v4/locales/ne.ts +126 -0
- package/node_modules/zod/src/v4/locales/nl.ts +124 -0
- package/node_modules/zod/src/v4/locales/nn.ts +119 -0
- package/node_modules/zod/src/v4/locales/no.ts +119 -0
- package/node_modules/zod/src/v4/locales/ota.ts +120 -0
- package/node_modules/zod/src/v4/locales/pl.ts +121 -0
- package/node_modules/zod/src/v4/locales/ps.ts +129 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
- package/node_modules/zod/src/v4/locales/pt.ts +157 -0
- package/node_modules/zod/src/v4/locales/ro.ts +130 -0
- package/node_modules/zod/src/v4/locales/ru.ts +186 -0
- package/node_modules/zod/src/v4/locales/sk.ts +121 -0
- package/node_modules/zod/src/v4/locales/sl.ts +121 -0
- package/node_modules/zod/src/v4/locales/sv.ts +122 -0
- package/node_modules/zod/src/v4/locales/ta.ts +121 -0
- package/node_modules/zod/src/v4/locales/th.ts +122 -0
- package/node_modules/zod/src/v4/locales/tk.ts +111 -0
- package/node_modules/zod/src/v4/locales/tr.ts +114 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +120 -0
- package/node_modules/zod/src/v4/locales/ur.ts +122 -0
- package/node_modules/zod/src/v4/locales/uz.ts +118 -0
- package/node_modules/zod/src/v4/locales/vi.ts +120 -0
- package/node_modules/zod/src/v4/locales/yo.ts +127 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +119 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +118 -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 +50 -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 +2026 -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 +36 -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 +1060 -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 +325 -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 +373 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +148 -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 +17 -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 +22 -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 +2 -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 +9 -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 +124 -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 +2 -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 +2 -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 +137 -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 +33 -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 +2 -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 +3779 -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 +34 -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 +47 -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 +61 -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 +39 -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 +83 -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 +76 -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 +686 -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 +660 -0
- package/node_modules/zod/v4/classic/in-out.cjs +63 -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 +33 -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 +49 -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 +44 -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 +1611 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +802 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +802 -0
- package/node_modules/zod/v4/classic/schemas.js +1491 -0
- package/node_modules/zod/v4/core/api.cjs +1246 -0
- package/node_modules/zod/v4/core/api.d.cts +329 -0
- package/node_modules/zod/v4/core/api.d.ts +329 -0
- package/node_modules/zod/v4/core/api.js +1104 -0
- package/node_modules/zod/v4/core/checks.cjs +607 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +581 -0
- package/node_modules/zod/v4/core/compile.cjs +1813 -0
- package/node_modules/zod/v4/core/compile.d.cts +51 -0
- package/node_modules/zod/v4/core/compile.d.ts +51 -0
- package/node_modules/zod/v4/core/compile.js +1783 -0
- package/node_modules/zod/v4/core/core.cjs +148 -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 +37 -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 +33 -0
- package/node_modules/zod/v4/core/errors.cjs +301 -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 +270 -0
- package/node_modules/zod/v4/core/index.cjs +51 -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 +103 -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 +813 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +747 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -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 +272 -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 +265 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +193 -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 +154 -0
- package/node_modules/zod/v4/core/regexes.cjs +184 -0
- package/node_modules/zod/v4/core/regexes.d.cts +87 -0
- package/node_modules/zod/v4/core/regexes.d.ts +87 -0
- package/node_modules/zod/v4/core/regexes.js +150 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -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 +2481 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1253 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1253 -0
- package/node_modules/zod/v4/core/schemas.js +2440 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -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 +660 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +153 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +153 -0
- package/node_modules/zod/v4/core/to-json-schema.js +650 -0
- package/node_modules/zod/v4/core/util.cjs +915 -0
- package/node_modules/zod/v4/core/util.d.cts +257 -0
- package/node_modules/zod/v4/core/util.d.ts +257 -0
- package/node_modules/zod/v4/core/util.js +846 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -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 +195 -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 +32 -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 +136 -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 +109 -0
- package/node_modules/zod/v4/locales/az.cjs +135 -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 +108 -0
- package/node_modules/zod/v4/locales/be.cjs +193 -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 +166 -0
- package/node_modules/zod/v4/locales/bg.cjs +150 -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 +123 -0
- package/node_modules/zod/v4/locales/bn.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/ca.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/ckb.cjs +158 -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 +131 -0
- package/node_modules/zod/v4/locales/cs.cjs +141 -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 +114 -0
- package/node_modules/zod/v4/locales/da.cjs +145 -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 +118 -0
- package/node_modules/zod/v4/locales/de.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/el.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/en.cjs +150 -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 +123 -0
- package/node_modules/zod/v4/locales/eo.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/es.cjs +161 -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 +134 -0
- package/node_modules/zod/v4/locales/fa.cjs +144 -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 +117 -0
- package/node_modules/zod/v4/locales/fi.cjs +142 -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 +115 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/fr.cjs +154 -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 +127 -0
- package/node_modules/zod/v4/locales/gu.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/he.cjs +246 -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 +219 -0
- package/node_modules/zod/v4/locales/hi.cjs +136 -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 +109 -0
- package/node_modules/zod/v4/locales/hr.cjs +151 -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 +124 -0
- package/node_modules/zod/v4/locales/hu.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/hy.cjs +183 -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 +156 -0
- package/node_modules/zod/v4/locales/id.cjs +136 -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 +109 -0
- package/node_modules/zod/v4/locales/index.cjs +131 -0
- package/node_modules/zod/v4/locales/index.d.cts +62 -0
- package/node_modules/zod/v4/locales/index.d.ts +62 -0
- package/node_modules/zod/v4/locales/index.js +62 -0
- package/node_modules/zod/v4/locales/is.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/it.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/ja.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/ka.cjs +142 -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 +115 -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 +140 -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 +113 -0
- package/node_modules/zod/v4/locales/kn.cjs +141 -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 +114 -0
- package/node_modules/zod/v4/locales/ko.cjs +141 -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 +114 -0
- package/node_modules/zod/v4/locales/lt.cjs +232 -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 +205 -0
- package/node_modules/zod/v4/locales/mk.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/ms.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/ne.cjs +136 -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 +109 -0
- package/node_modules/zod/v4/locales/nl.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/nn.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/no.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/ota.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/ps.cjs +144 -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 +117 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +168 -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 +141 -0
- package/node_modules/zod/v4/locales/pt.cjs +167 -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 +140 -0
- package/node_modules/zod/v4/locales/ro.cjs +147 -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 +120 -0
- package/node_modules/zod/v4/locales/ru.cjs +193 -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 +166 -0
- package/node_modules/zod/v4/locales/sk.cjs +141 -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 +114 -0
- package/node_modules/zod/v4/locales/sl.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/sv.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/ta.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/th.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/tk.cjs +132 -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 +105 -0
- package/node_modules/zod/v4/locales/tr.cjs +135 -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 +108 -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 +138 -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 +111 -0
- package/node_modules/zod/v4/locales/ur.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/uz.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/vi.cjs +138 -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 +111 -0
- package/node_modules/zod/v4/locales/yo.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +139 -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 +112 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/mini/checks.cjs +35 -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 +52 -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 +39 -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 +74 -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 +63 -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 +32 -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 +64 -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 +18 -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 +1111 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +475 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +475 -0
- package/node_modules/zod/v4/mini/schemas.js +987 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -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 +30 -5
|
@@ -0,0 +1,4537 @@
|
|
|
1
|
+
import { Validator } from "@seriousme/openapi-schema-validator";
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
|
+
import * as z from "zod";
|
|
4
|
+
// import * as zCore from "zod/v4/core";
|
|
5
|
+
|
|
6
|
+
const openAPI30Validator = new Validator();
|
|
7
|
+
/** @see https://github.com/colinhacks/zod/issues/5147 */
|
|
8
|
+
const validateOpenAPI30Schema = async (zodJSONSchema: Record<string, unknown>): Promise<true> => {
|
|
9
|
+
const res = await openAPI30Validator.validate({
|
|
10
|
+
openapi: "3.0.0",
|
|
11
|
+
info: {
|
|
12
|
+
title: "SampleApi",
|
|
13
|
+
description: "Sample backend service",
|
|
14
|
+
version: "1.0.0",
|
|
15
|
+
},
|
|
16
|
+
components: { schemas: { test: zodJSONSchema } },
|
|
17
|
+
paths: {},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
if (!res.valid) {
|
|
21
|
+
// `console.error` should make `vitest` trow an unhandled error printing the validation messages in consoles
|
|
22
|
+
console.error(
|
|
23
|
+
`OpenAPI schema is not valid against ${openAPI30Validator.version}`,
|
|
24
|
+
JSON.stringify(res.errors, null, 2)
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return true;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
describe("toJSONSchema", () => {
|
|
32
|
+
test("primitive types", () => {
|
|
33
|
+
expect(z.toJSONSchema(z.string())).toMatchInlineSnapshot(`
|
|
34
|
+
{
|
|
35
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
36
|
+
"type": "string",
|
|
37
|
+
}
|
|
38
|
+
`);
|
|
39
|
+
expect(z.toJSONSchema(z.number())).toMatchInlineSnapshot(`
|
|
40
|
+
{
|
|
41
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
42
|
+
"type": "number",
|
|
43
|
+
}
|
|
44
|
+
`);
|
|
45
|
+
expect(z.toJSONSchema(z.boolean())).toMatchInlineSnapshot(`
|
|
46
|
+
{
|
|
47
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
}
|
|
50
|
+
`);
|
|
51
|
+
expect(z.toJSONSchema(z.null())).toMatchInlineSnapshot(`
|
|
52
|
+
{
|
|
53
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
54
|
+
"type": "null",
|
|
55
|
+
}
|
|
56
|
+
`);
|
|
57
|
+
expect(z.toJSONSchema(z.undefined(), { unrepresentable: "any" })).toMatchInlineSnapshot(`
|
|
58
|
+
{
|
|
59
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
60
|
+
}
|
|
61
|
+
`);
|
|
62
|
+
expect(z.toJSONSchema(z.any())).toMatchInlineSnapshot(`
|
|
63
|
+
{
|
|
64
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
65
|
+
}
|
|
66
|
+
`);
|
|
67
|
+
expect(z.toJSONSchema(z.unknown())).toMatchInlineSnapshot(`
|
|
68
|
+
{
|
|
69
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
70
|
+
}
|
|
71
|
+
`);
|
|
72
|
+
expect(z.toJSONSchema(z.never())).toMatchInlineSnapshot(`
|
|
73
|
+
{
|
|
74
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
75
|
+
"not": {},
|
|
76
|
+
}
|
|
77
|
+
`);
|
|
78
|
+
expect(z.toJSONSchema(z.email())).toMatchInlineSnapshot(`
|
|
79
|
+
{
|
|
80
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
81
|
+
"format": "email",
|
|
82
|
+
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
|
|
83
|
+
"type": "string",
|
|
84
|
+
}
|
|
85
|
+
`);
|
|
86
|
+
expect(z.toJSONSchema(z.iso.datetime())).toMatchInlineSnapshot(`
|
|
87
|
+
{
|
|
88
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
89
|
+
"format": "date-time",
|
|
90
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
91
|
+
"type": "string",
|
|
92
|
+
}
|
|
93
|
+
`);
|
|
94
|
+
expect(z.toJSONSchema(z.iso.date())).toMatchInlineSnapshot(`
|
|
95
|
+
{
|
|
96
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
97
|
+
"format": "date",
|
|
98
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
|
|
99
|
+
"type": "string",
|
|
100
|
+
}
|
|
101
|
+
`);
|
|
102
|
+
// only shapes keeping both an offset and seconds may advertise `date-time`, composed onto a string as well as constructed
|
|
103
|
+
expect(z.toJSONSchema(z.iso.datetime()).format).toEqual("date-time");
|
|
104
|
+
expect(z.toJSONSchema(z.iso.datetime({ offset: true })).format).toEqual("date-time");
|
|
105
|
+
expect(z.toJSONSchema(z.iso.datetime({ precision: 0 })).format).toEqual("date-time");
|
|
106
|
+
expect(z.toJSONSchema(z.iso.datetime({ local: true })).format).toEqual(undefined);
|
|
107
|
+
expect(z.toJSONSchema(z.iso.datetime({ precision: -1 })).format).toEqual(undefined);
|
|
108
|
+
expect(z.toJSONSchema(z.string().check(z.iso.datetime({ local: true }))).format).toEqual(undefined);
|
|
109
|
+
expect(z.toJSONSchema(z.string().check(z.iso.datetime())).format).toEqual("date-time");
|
|
110
|
+
// the pattern still describes what the schema accepts
|
|
111
|
+
expect(z.toJSONSchema(z.iso.datetime({ local: true })).pattern).toBeDefined();
|
|
112
|
+
|
|
113
|
+
expect(z.toJSONSchema(z.iso.time())).toMatchInlineSnapshot(`
|
|
114
|
+
{
|
|
115
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
116
|
+
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?$",
|
|
117
|
+
"type": "string",
|
|
118
|
+
}
|
|
119
|
+
`);
|
|
120
|
+
expect(z.toJSONSchema(z.iso.time({ precision: -1 }))).toMatchInlineSnapshot(`
|
|
121
|
+
{
|
|
122
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
123
|
+
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
|
|
124
|
+
"type": "string",
|
|
125
|
+
}
|
|
126
|
+
`);
|
|
127
|
+
expect(z.toJSONSchema(z.iso.time({ precision: 0 }))).toMatchInlineSnapshot(`
|
|
128
|
+
{
|
|
129
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
130
|
+
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$",
|
|
131
|
+
"type": "string",
|
|
132
|
+
}
|
|
133
|
+
`);
|
|
134
|
+
expect(z.toJSONSchema(z.iso.time({ precision: 3 }))).toMatchInlineSnapshot(`
|
|
135
|
+
{
|
|
136
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
137
|
+
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}$",
|
|
138
|
+
"type": "string",
|
|
139
|
+
}
|
|
140
|
+
`);
|
|
141
|
+
expect(z.toJSONSchema(z.iso.duration())).toMatchInlineSnapshot(`
|
|
142
|
+
{
|
|
143
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
144
|
+
"format": "duration",
|
|
145
|
+
"pattern": "^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$",
|
|
146
|
+
"type": "string",
|
|
147
|
+
}
|
|
148
|
+
`);
|
|
149
|
+
expect(z.toJSONSchema(z.ipv4())).toMatchInlineSnapshot(`
|
|
150
|
+
{
|
|
151
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
152
|
+
"format": "ipv4",
|
|
153
|
+
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
|
|
154
|
+
"type": "string",
|
|
155
|
+
}
|
|
156
|
+
`);
|
|
157
|
+
expect(z.toJSONSchema(z.ipv6())).toMatchInlineSnapshot(`
|
|
158
|
+
{
|
|
159
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
160
|
+
"format": "ipv6",
|
|
161
|
+
"pattern": "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$",
|
|
162
|
+
"type": "string",
|
|
163
|
+
}
|
|
164
|
+
`);
|
|
165
|
+
expect(z.toJSONSchema(z.mac())).toMatchInlineSnapshot(`
|
|
166
|
+
{
|
|
167
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
168
|
+
"format": "mac",
|
|
169
|
+
"pattern": "^(?:[0-9A-F]{2}:){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
|
|
170
|
+
"type": "string",
|
|
171
|
+
}
|
|
172
|
+
`);
|
|
173
|
+
expect(z.toJSONSchema(z.mac({ delimiter: ":" }))).toMatchInlineSnapshot(`
|
|
174
|
+
{
|
|
175
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
176
|
+
"format": "mac",
|
|
177
|
+
"pattern": "^(?:[0-9A-F]{2}:){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
|
|
178
|
+
"type": "string",
|
|
179
|
+
}
|
|
180
|
+
`);
|
|
181
|
+
expect(z.toJSONSchema(z.mac({ delimiter: "-" }))).toMatchInlineSnapshot(`
|
|
182
|
+
{
|
|
183
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
184
|
+
"format": "mac",
|
|
185
|
+
"pattern": "^(?:[0-9A-F]{2}-){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}-){5}[0-9a-f]{2}$",
|
|
186
|
+
"type": "string",
|
|
187
|
+
}
|
|
188
|
+
`);
|
|
189
|
+
expect(z.toJSONSchema(z.uuid())).toMatchInlineSnapshot(`
|
|
190
|
+
{
|
|
191
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
192
|
+
"format": "uuid",
|
|
193
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
194
|
+
"type": "string",
|
|
195
|
+
}
|
|
196
|
+
`);
|
|
197
|
+
expect(z.toJSONSchema(z.guid())).toMatchInlineSnapshot(`
|
|
198
|
+
{
|
|
199
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
200
|
+
"format": "uuid",
|
|
201
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
|
|
202
|
+
"type": "string",
|
|
203
|
+
}
|
|
204
|
+
`);
|
|
205
|
+
expect(z.toJSONSchema(z.url())).toMatchInlineSnapshot(`
|
|
206
|
+
{
|
|
207
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
208
|
+
"format": "uri",
|
|
209
|
+
"type": "string",
|
|
210
|
+
}
|
|
211
|
+
`);
|
|
212
|
+
expect(z.toJSONSchema(z.base64())).toMatchInlineSnapshot(`
|
|
213
|
+
{
|
|
214
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
215
|
+
"contentEncoding": "base64",
|
|
216
|
+
"format": "base64",
|
|
217
|
+
"pattern": "^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$",
|
|
218
|
+
"type": "string",
|
|
219
|
+
}
|
|
220
|
+
`);
|
|
221
|
+
expect(z.toJSONSchema(z.cuid())).toMatchInlineSnapshot(`
|
|
222
|
+
{
|
|
223
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
224
|
+
"format": "cuid",
|
|
225
|
+
"pattern": "^[cC][0-9a-z]{6,}$",
|
|
226
|
+
"type": "string",
|
|
227
|
+
}
|
|
228
|
+
`);
|
|
229
|
+
// expect(z.toJSONSchema(z.regex(/asdf/))).toMatchInlineSnapshot();
|
|
230
|
+
expect(z.toJSONSchema(z.emoji())).toMatchInlineSnapshot(`
|
|
231
|
+
{
|
|
232
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
233
|
+
"format": "emoji",
|
|
234
|
+
"pattern": "^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$",
|
|
235
|
+
"type": "string",
|
|
236
|
+
}
|
|
237
|
+
`);
|
|
238
|
+
expect(z.toJSONSchema(z.nanoid())).toMatchInlineSnapshot(`
|
|
239
|
+
{
|
|
240
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
241
|
+
"format": "nanoid",
|
|
242
|
+
"pattern": "^[a-zA-Z0-9_-]{21}$",
|
|
243
|
+
"type": "string",
|
|
244
|
+
}
|
|
245
|
+
`);
|
|
246
|
+
expect(z.toJSONSchema(z.nanoid({ length: 64 }))).toMatchInlineSnapshot(`
|
|
247
|
+
{
|
|
248
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
249
|
+
"format": "nanoid",
|
|
250
|
+
"pattern": "^[a-zA-Z0-9_-]{64}$",
|
|
251
|
+
"type": "string",
|
|
252
|
+
}
|
|
253
|
+
`);
|
|
254
|
+
expect(z.toJSONSchema(z.cuid2())).toMatchInlineSnapshot(`
|
|
255
|
+
{
|
|
256
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
257
|
+
"format": "cuid2",
|
|
258
|
+
"pattern": "^[0-9a-z]+$",
|
|
259
|
+
"type": "string",
|
|
260
|
+
}
|
|
261
|
+
`);
|
|
262
|
+
expect(z.toJSONSchema(z.ulid())).toMatchInlineSnapshot(`
|
|
263
|
+
{
|
|
264
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
265
|
+
"format": "ulid",
|
|
266
|
+
"pattern": "^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$",
|
|
267
|
+
"type": "string",
|
|
268
|
+
}
|
|
269
|
+
`);
|
|
270
|
+
// expect(z.toJSONSchema(z.cidr())).toMatchInlineSnapshot();
|
|
271
|
+
expect(z.toJSONSchema(z.number())).toMatchInlineSnapshot(`
|
|
272
|
+
{
|
|
273
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
274
|
+
"type": "number",
|
|
275
|
+
}
|
|
276
|
+
`);
|
|
277
|
+
expect(z.toJSONSchema(z.int())).toMatchInlineSnapshot(`
|
|
278
|
+
{
|
|
279
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
280
|
+
"maximum": 9007199254740991,
|
|
281
|
+
"minimum": -9007199254740991,
|
|
282
|
+
"type": "integer",
|
|
283
|
+
}
|
|
284
|
+
`);
|
|
285
|
+
expect(z.toJSONSchema(z.int32())).toMatchInlineSnapshot(`
|
|
286
|
+
{
|
|
287
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
288
|
+
"maximum": 2147483647,
|
|
289
|
+
"minimum": -2147483648,
|
|
290
|
+
"type": "integer",
|
|
291
|
+
}
|
|
292
|
+
`);
|
|
293
|
+
expect(z.toJSONSchema(z.float32())).toMatchInlineSnapshot(`
|
|
294
|
+
{
|
|
295
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
296
|
+
"maximum": 3.4028234663852886e+38,
|
|
297
|
+
"minimum": -3.4028234663852886e+38,
|
|
298
|
+
"type": "number",
|
|
299
|
+
}
|
|
300
|
+
`);
|
|
301
|
+
expect(z.toJSONSchema(z.float64())).toMatchInlineSnapshot(`
|
|
302
|
+
{
|
|
303
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
304
|
+
"maximum": 1.7976931348623157e+308,
|
|
305
|
+
"minimum": -1.7976931348623157e+308,
|
|
306
|
+
"type": "number",
|
|
307
|
+
}
|
|
308
|
+
`);
|
|
309
|
+
expect(z.toJSONSchema(z.jwt())).toMatchInlineSnapshot(`
|
|
310
|
+
{
|
|
311
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
312
|
+
"format": "jwt",
|
|
313
|
+
"type": "string",
|
|
314
|
+
}
|
|
315
|
+
`);
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
test("unsupported schema types", () => {
|
|
319
|
+
expect(() => z.toJSONSchema(z.bigint())).toThrow("BigInt cannot be represented in JSON Schema");
|
|
320
|
+
expect(() => z.toJSONSchema(z.int64())).toThrow("BigInt cannot be represented in JSON Schema");
|
|
321
|
+
expect(() => z.toJSONSchema(z.symbol())).toThrow("Symbols cannot be represented in JSON Schema");
|
|
322
|
+
expect(() => z.toJSONSchema(z.void())).toThrow("Void cannot be represented in JSON Schema");
|
|
323
|
+
expect(() => z.toJSONSchema(z.undefined())).toThrow("Undefined cannot be represented in JSON Schema");
|
|
324
|
+
expect(() => z.toJSONSchema(z.date())).toThrow("Date cannot be represented in JSON Schema");
|
|
325
|
+
expect(() => z.toJSONSchema(z.map(z.string(), z.number()))).toThrow("Map cannot be represented in JSON Schema");
|
|
326
|
+
expect(() => z.toJSONSchema(z.set(z.string()))).toThrow("Set cannot be represented in JSON Schema");
|
|
327
|
+
expect(() => z.toJSONSchema(z.custom(() => true))).toThrow("Custom types cannot be represented in JSON Schema");
|
|
328
|
+
|
|
329
|
+
// Transform
|
|
330
|
+
const transformSchema = z.string().transform((val) => Number.parseInt(val));
|
|
331
|
+
expect(() => z.toJSONSchema(transformSchema)).toThrow("Transforms cannot be represented in JSON Schema");
|
|
332
|
+
|
|
333
|
+
// Static catch values
|
|
334
|
+
const staticCatchSchema = z.string().catch(() => "sup");
|
|
335
|
+
expect(z.toJSONSchema(staticCatchSchema)).toMatchInlineSnapshot(`
|
|
336
|
+
{
|
|
337
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
338
|
+
"default": "sup",
|
|
339
|
+
"type": "string",
|
|
340
|
+
}
|
|
341
|
+
`);
|
|
342
|
+
|
|
343
|
+
// Dynamic catch values
|
|
344
|
+
const dynamicCatchSchema = z.string().catch((ctx) => `${ctx.issues.length}`);
|
|
345
|
+
expect(() => z.toJSONSchema(dynamicCatchSchema)).toThrow("Dynamic catch values are not supported in JSON Schema");
|
|
346
|
+
expect(z.toJSONSchema(dynamicCatchSchema, { unrepresentable: "any" })).toMatchInlineSnapshot(`
|
|
347
|
+
{
|
|
348
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
349
|
+
"type": "string",
|
|
350
|
+
}
|
|
351
|
+
`);
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
test("string formats", () => {
|
|
355
|
+
expect(z.toJSONSchema(z.string().email())).toMatchInlineSnapshot(`
|
|
356
|
+
{
|
|
357
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
358
|
+
"format": "email",
|
|
359
|
+
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
|
|
360
|
+
"type": "string",
|
|
361
|
+
}
|
|
362
|
+
`);
|
|
363
|
+
expect(z.toJSONSchema(z.string().uuid())).toMatchInlineSnapshot(`
|
|
364
|
+
{
|
|
365
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
366
|
+
"format": "uuid",
|
|
367
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
368
|
+
"type": "string",
|
|
369
|
+
}
|
|
370
|
+
`);
|
|
371
|
+
expect(z.toJSONSchema(z.iso.datetime())).toMatchInlineSnapshot(`
|
|
372
|
+
{
|
|
373
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
374
|
+
"format": "date-time",
|
|
375
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
376
|
+
"type": "string",
|
|
377
|
+
}
|
|
378
|
+
`);
|
|
379
|
+
|
|
380
|
+
expect(z.toJSONSchema(z.iso.date())).toMatchInlineSnapshot(`
|
|
381
|
+
{
|
|
382
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
383
|
+
"format": "date",
|
|
384
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
|
|
385
|
+
"type": "string",
|
|
386
|
+
}
|
|
387
|
+
`);
|
|
388
|
+
expect(z.toJSONSchema(z.iso.time())).toMatchInlineSnapshot(`
|
|
389
|
+
{
|
|
390
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
391
|
+
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?$",
|
|
392
|
+
"type": "string",
|
|
393
|
+
}
|
|
394
|
+
`);
|
|
395
|
+
expect(z.toJSONSchema(z.iso.duration())).toMatchInlineSnapshot(`
|
|
396
|
+
{
|
|
397
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
398
|
+
"format": "duration",
|
|
399
|
+
"pattern": "^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$",
|
|
400
|
+
"type": "string",
|
|
401
|
+
}
|
|
402
|
+
`);
|
|
403
|
+
// expect(z.toJSONSchema(z.string().ip())).toMatchInlineSnapshot(`
|
|
404
|
+
// {
|
|
405
|
+
// "pattern": /\\(\\^\\(\\?:\\(\\?:25\\[0-5\\]\\|2\\[0-4\\]\\[0-9\\]\\|1\\[0-9\\]\\[0-9\\]\\|\\[1-9\\]\\[0-9\\]\\|\\[0-9\\]\\)\\\\\\.\\)\\{3\\}\\(\\?:25\\[0-5\\]\\|2\\[0-4\\]\\[0-9\\]\\|1\\[0-9\\]\\[0-9\\]\\|\\[1-9\\]\\[0-9\\]\\|\\[0-9\\]\\)\\$\\)\\|\\(\\^\\(\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{7\\}\\|::\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,6\\}\\|\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{1\\}:\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,5\\}\\|\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{2\\}:\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,4\\}\\|\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{3\\}:\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,3\\}\\|\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{4\\}:\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,2\\}\\|\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{5\\}:\\(\\[a-fA-F0-9\\]\\{1,4\\}:\\)\\{0,1\\}\\)\\(\\[a-fA-F0-9\\]\\{1,4\\}\\|\\(\\(\\(25\\[0-5\\]\\)\\|\\(2\\[0-4\\]\\[0-9\\]\\)\\|\\(1\\[0-9\\]\\{2\\}\\)\\|\\(\\[0-9\\]\\{1,2\\}\\)\\)\\\\\\.\\)\\{3\\}\\(\\(25\\[0-5\\]\\)\\|\\(2\\[0-4\\]\\[0-9\\]\\)\\|\\(1\\[0-9\\]\\{2\\}\\)\\|\\(\\[0-9\\]\\{1,2\\}\\)\\)\\)\\$\\)/,
|
|
406
|
+
// "type": "string",
|
|
407
|
+
// }
|
|
408
|
+
// `);
|
|
409
|
+
expect(z.toJSONSchema(z.ipv4())).toMatchInlineSnapshot(`
|
|
410
|
+
{
|
|
411
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
412
|
+
"format": "ipv4",
|
|
413
|
+
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
|
|
414
|
+
"type": "string",
|
|
415
|
+
}
|
|
416
|
+
`);
|
|
417
|
+
|
|
418
|
+
expect(z.toJSONSchema(z.ipv6())).toMatchInlineSnapshot(`
|
|
419
|
+
{
|
|
420
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
421
|
+
"format": "ipv6",
|
|
422
|
+
"pattern": "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$",
|
|
423
|
+
"type": "string",
|
|
424
|
+
}
|
|
425
|
+
`);
|
|
426
|
+
|
|
427
|
+
expect(z.toJSONSchema(z.mac())).toMatchInlineSnapshot(`
|
|
428
|
+
{
|
|
429
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
430
|
+
"format": "mac",
|
|
431
|
+
"pattern": "^(?:[0-9A-F]{2}:){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
|
|
432
|
+
"type": "string",
|
|
433
|
+
}
|
|
434
|
+
`);
|
|
435
|
+
expect(z.toJSONSchema(z.mac({ delimiter: ":" }))).toMatchInlineSnapshot(`
|
|
436
|
+
{
|
|
437
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
438
|
+
"format": "mac",
|
|
439
|
+
"pattern": "^(?:[0-9A-F]{2}:){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
|
|
440
|
+
"type": "string",
|
|
441
|
+
}
|
|
442
|
+
`);
|
|
443
|
+
expect(z.toJSONSchema(z.mac({ delimiter: "-" }))).toMatchInlineSnapshot(`
|
|
444
|
+
{
|
|
445
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
446
|
+
"format": "mac",
|
|
447
|
+
"pattern": "^(?:[0-9A-F]{2}-){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}-){5}[0-9a-f]{2}$",
|
|
448
|
+
"type": "string",
|
|
449
|
+
}
|
|
450
|
+
`);
|
|
451
|
+
|
|
452
|
+
expect(z.toJSONSchema(z.base64())).toMatchInlineSnapshot(`
|
|
453
|
+
{
|
|
454
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
455
|
+
"contentEncoding": "base64",
|
|
456
|
+
"format": "base64",
|
|
457
|
+
"pattern": "^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$",
|
|
458
|
+
"type": "string",
|
|
459
|
+
}
|
|
460
|
+
`);
|
|
461
|
+
expect(z.toJSONSchema(z.url())).toMatchInlineSnapshot(`
|
|
462
|
+
{
|
|
463
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
464
|
+
"format": "uri",
|
|
465
|
+
"type": "string",
|
|
466
|
+
}
|
|
467
|
+
`);
|
|
468
|
+
expect(z.toJSONSchema(z.guid())).toMatchInlineSnapshot(`
|
|
469
|
+
{
|
|
470
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
471
|
+
"format": "uuid",
|
|
472
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
|
|
473
|
+
"type": "string",
|
|
474
|
+
}
|
|
475
|
+
`);
|
|
476
|
+
expect(z.toJSONSchema(z.string().regex(/asdf/))).toMatchInlineSnapshot(`
|
|
477
|
+
{
|
|
478
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
479
|
+
"pattern": "asdf",
|
|
480
|
+
"type": "string",
|
|
481
|
+
}
|
|
482
|
+
`);
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
test("string patterns", () => {
|
|
486
|
+
expect(
|
|
487
|
+
z.toJSONSchema(
|
|
488
|
+
z
|
|
489
|
+
.string()
|
|
490
|
+
.startsWith("hello")
|
|
491
|
+
.includes("cruel")
|
|
492
|
+
.includes("dark", { position: 10 })
|
|
493
|
+
.endsWith("world")
|
|
494
|
+
.regex(/stuff/)
|
|
495
|
+
)
|
|
496
|
+
).toMatchInlineSnapshot(`
|
|
497
|
+
{
|
|
498
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
499
|
+
"allOf": [
|
|
500
|
+
{
|
|
501
|
+
"pattern": "^hello.*",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"pattern": "cruel",
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"pattern": "^.{10,}dark",
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"pattern": ".*world$",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"pattern": "stuff",
|
|
514
|
+
},
|
|
515
|
+
],
|
|
516
|
+
"type": "string",
|
|
517
|
+
}
|
|
518
|
+
`);
|
|
519
|
+
|
|
520
|
+
expect(
|
|
521
|
+
z.toJSONSchema(
|
|
522
|
+
z
|
|
523
|
+
.string()
|
|
524
|
+
.startsWith("hello")
|
|
525
|
+
.includes("cruel")
|
|
526
|
+
.includes("dark", { position: 10 })
|
|
527
|
+
.endsWith("world")
|
|
528
|
+
.regex(/stuff/),
|
|
529
|
+
{
|
|
530
|
+
target: "draft-7",
|
|
531
|
+
}
|
|
532
|
+
)
|
|
533
|
+
).toMatchInlineSnapshot(`
|
|
534
|
+
{
|
|
535
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
536
|
+
"allOf": [
|
|
537
|
+
{
|
|
538
|
+
"pattern": "^hello.*",
|
|
539
|
+
"type": "string",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"pattern": "cruel",
|
|
543
|
+
"type": "string",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"pattern": "^.{10,}dark",
|
|
547
|
+
"type": "string",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"pattern": ".*world$",
|
|
551
|
+
"type": "string",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"pattern": "stuff",
|
|
555
|
+
"type": "string",
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
"type": "string",
|
|
559
|
+
}
|
|
560
|
+
`);
|
|
561
|
+
});
|
|
562
|
+
|
|
563
|
+
test("includes with position emits a pattern matching runtime semantics", () => {
|
|
564
|
+
// String.prototype.includes(sub, position) matches `sub` at `position` OR
|
|
565
|
+
// LATER, so the JSON Schema pattern must allow >= position leading chars.
|
|
566
|
+
const schema = z.string().includes("foo", { position: 2 });
|
|
567
|
+
const json = z.toJSONSchema(schema) as { pattern?: string };
|
|
568
|
+
expect(json.pattern).toBe("^.{2,}foo");
|
|
569
|
+
|
|
570
|
+
const re = new RegExp(json.pattern!);
|
|
571
|
+
for (const input of ["xxfoo", "xxxfoo", "xfoo", "ab"]) {
|
|
572
|
+
expect(re.test(input)).toBe(schema.safeParse(input).success);
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
|
|
576
|
+
test("number constraints", () => {
|
|
577
|
+
expect(z.toJSONSchema(z.number().min(5).max(10))).toMatchInlineSnapshot(
|
|
578
|
+
`
|
|
579
|
+
{
|
|
580
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
581
|
+
"maximum": 10,
|
|
582
|
+
"minimum": 5,
|
|
583
|
+
"type": "number",
|
|
584
|
+
}
|
|
585
|
+
`
|
|
586
|
+
);
|
|
587
|
+
|
|
588
|
+
expect(z.toJSONSchema(z.number().gt(5).gt(10))).toMatchInlineSnapshot(`
|
|
589
|
+
{
|
|
590
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
591
|
+
"exclusiveMinimum": 10,
|
|
592
|
+
"type": "number",
|
|
593
|
+
}
|
|
594
|
+
`);
|
|
595
|
+
|
|
596
|
+
expect(z.toJSONSchema(z.number().gt(5).gte(10))).toMatchInlineSnapshot(`
|
|
597
|
+
{
|
|
598
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
599
|
+
"minimum": 10,
|
|
600
|
+
"type": "number",
|
|
601
|
+
}
|
|
602
|
+
`);
|
|
603
|
+
|
|
604
|
+
expect(z.toJSONSchema(z.number().lt(5).lt(3))).toMatchInlineSnapshot(`
|
|
605
|
+
{
|
|
606
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
607
|
+
"exclusiveMaximum": 3,
|
|
608
|
+
"type": "number",
|
|
609
|
+
}
|
|
610
|
+
`);
|
|
611
|
+
|
|
612
|
+
expect(z.toJSONSchema(z.number().lt(5).lt(3).lte(2))).toMatchInlineSnapshot(`
|
|
613
|
+
{
|
|
614
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
615
|
+
"maximum": 2,
|
|
616
|
+
"type": "number",
|
|
617
|
+
}
|
|
618
|
+
`);
|
|
619
|
+
|
|
620
|
+
expect(z.toJSONSchema(z.number().lt(5).lte(3))).toMatchInlineSnapshot(`
|
|
621
|
+
{
|
|
622
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
623
|
+
"maximum": 3,
|
|
624
|
+
"type": "number",
|
|
625
|
+
}
|
|
626
|
+
`);
|
|
627
|
+
|
|
628
|
+
expect(z.toJSONSchema(z.number().gt(5).lt(10))).toMatchInlineSnapshot(`
|
|
629
|
+
{
|
|
630
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
631
|
+
"exclusiveMaximum": 10,
|
|
632
|
+
"exclusiveMinimum": 5,
|
|
633
|
+
"type": "number",
|
|
634
|
+
}
|
|
635
|
+
`);
|
|
636
|
+
expect(z.toJSONSchema(z.number().gte(5).lte(10))).toMatchInlineSnapshot(`
|
|
637
|
+
{
|
|
638
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
639
|
+
"maximum": 10,
|
|
640
|
+
"minimum": 5,
|
|
641
|
+
"type": "number",
|
|
642
|
+
}
|
|
643
|
+
`);
|
|
644
|
+
expect(z.toJSONSchema(z.number().positive())).toMatchInlineSnapshot(`
|
|
645
|
+
{
|
|
646
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
647
|
+
"exclusiveMinimum": 0,
|
|
648
|
+
"type": "number",
|
|
649
|
+
}
|
|
650
|
+
`);
|
|
651
|
+
expect(z.toJSONSchema(z.number().negative())).toMatchInlineSnapshot(`
|
|
652
|
+
{
|
|
653
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
654
|
+
"exclusiveMaximum": 0,
|
|
655
|
+
"type": "number",
|
|
656
|
+
}
|
|
657
|
+
`);
|
|
658
|
+
expect(z.toJSONSchema(z.number().nonpositive())).toMatchInlineSnapshot(`
|
|
659
|
+
{
|
|
660
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
661
|
+
"maximum": 0,
|
|
662
|
+
"type": "number",
|
|
663
|
+
}
|
|
664
|
+
`);
|
|
665
|
+
expect(z.toJSONSchema(z.number().nonnegative())).toMatchInlineSnapshot(`
|
|
666
|
+
{
|
|
667
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
668
|
+
"minimum": 0,
|
|
669
|
+
"type": "number",
|
|
670
|
+
}
|
|
671
|
+
`);
|
|
672
|
+
});
|
|
673
|
+
|
|
674
|
+
test("number constraints draft-4", () => {
|
|
675
|
+
expect(z.toJSONSchema(z.number().gt(5).lt(10), { target: "draft-4" })).toMatchInlineSnapshot(`
|
|
676
|
+
{
|
|
677
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
678
|
+
"exclusiveMaximum": true,
|
|
679
|
+
"exclusiveMinimum": true,
|
|
680
|
+
"maximum": 10,
|
|
681
|
+
"minimum": 5,
|
|
682
|
+
"type": "number",
|
|
683
|
+
}
|
|
684
|
+
`);
|
|
685
|
+
});
|
|
686
|
+
|
|
687
|
+
test("number constraints intersection draft-04", () => {
|
|
688
|
+
// When both minimum (from .int()) and exclusiveMinimum (from .positive()) exist, the more restrictive constraint should be used
|
|
689
|
+
expect(z.toJSONSchema(z.number().int().positive().lte(65535), { target: "draft-04" })).toMatchInlineSnapshot(`
|
|
690
|
+
{
|
|
691
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
692
|
+
"exclusiveMinimum": true,
|
|
693
|
+
"maximum": 65535,
|
|
694
|
+
"minimum": 0,
|
|
695
|
+
"type": "integer",
|
|
696
|
+
}
|
|
697
|
+
`);
|
|
698
|
+
// Same for openapi-3.0
|
|
699
|
+
expect(z.toJSONSchema(z.number().int().positive().lte(65535), { target: "openapi-3.0" })).toMatchInlineSnapshot(`
|
|
700
|
+
{
|
|
701
|
+
"exclusiveMinimum": true,
|
|
702
|
+
"maximum": 65535,
|
|
703
|
+
"minimum": 0,
|
|
704
|
+
"type": "integer",
|
|
705
|
+
}
|
|
706
|
+
`);
|
|
707
|
+
// When inclusive minimum is more restrictive than exclusive minimum
|
|
708
|
+
expect(z.toJSONSchema(z.number().gt(3).gte(10), { target: "draft-04" })).toMatchInlineSnapshot(`
|
|
709
|
+
{
|
|
710
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
711
|
+
"minimum": 10,
|
|
712
|
+
"type": "number",
|
|
713
|
+
}
|
|
714
|
+
`);
|
|
715
|
+
// Same logic for maximum constraints
|
|
716
|
+
expect(z.toJSONSchema(z.number().int().negative(), { target: "draft-04" })).toMatchInlineSnapshot(`
|
|
717
|
+
{
|
|
718
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
719
|
+
"exclusiveMaximum": true,
|
|
720
|
+
"maximum": 0,
|
|
721
|
+
"minimum": -9007199254740991,
|
|
722
|
+
"type": "integer",
|
|
723
|
+
}
|
|
724
|
+
`);
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
test("target normalization draft-04 and draft-07", () => {
|
|
728
|
+
// Test that both old (draft-4, draft-7) and new (draft-04, draft-07) target formats work
|
|
729
|
+
|
|
730
|
+
// Test draft-04 / draft-4
|
|
731
|
+
expect(z.toJSONSchema(z.number().gt(5), { target: "draft-04" })).toMatchInlineSnapshot(`
|
|
732
|
+
{
|
|
733
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
734
|
+
"exclusiveMinimum": true,
|
|
735
|
+
"minimum": 5,
|
|
736
|
+
"type": "number",
|
|
737
|
+
}
|
|
738
|
+
`);
|
|
739
|
+
expect(z.toJSONSchema(z.number().gt(5), { target: "draft-4" })).toMatchInlineSnapshot(`
|
|
740
|
+
{
|
|
741
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
742
|
+
"exclusiveMinimum": true,
|
|
743
|
+
"minimum": 5,
|
|
744
|
+
"type": "number",
|
|
745
|
+
}
|
|
746
|
+
`);
|
|
747
|
+
// Test draft-07 / draft-7
|
|
748
|
+
expect(z.toJSONSchema(z.number().gt(5), { target: "draft-07" })).toMatchInlineSnapshot(`
|
|
749
|
+
{
|
|
750
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
751
|
+
"exclusiveMinimum": 5,
|
|
752
|
+
"type": "number",
|
|
753
|
+
}
|
|
754
|
+
`);
|
|
755
|
+
expect(z.toJSONSchema(z.number().gt(5), { target: "draft-7" })).toMatchInlineSnapshot(`
|
|
756
|
+
{
|
|
757
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
758
|
+
"exclusiveMinimum": 5,
|
|
759
|
+
"type": "number",
|
|
760
|
+
}
|
|
761
|
+
`);
|
|
762
|
+
});
|
|
763
|
+
|
|
764
|
+
test("nullable openapi-3.0", () => {
|
|
765
|
+
const schema = z.string().nullable();
|
|
766
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
767
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
768
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
769
|
+
{
|
|
770
|
+
"nullable": true,
|
|
771
|
+
"type": "string",
|
|
772
|
+
}
|
|
773
|
+
`);
|
|
774
|
+
});
|
|
775
|
+
|
|
776
|
+
test("union with null openapi-3.0", () => {
|
|
777
|
+
const schema = z.union([z.string(), z.null()]);
|
|
778
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
779
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
780
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
781
|
+
{
|
|
782
|
+
"anyOf": [
|
|
783
|
+
{
|
|
784
|
+
"type": "string",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"enum": [
|
|
788
|
+
null,
|
|
789
|
+
],
|
|
790
|
+
"nullable": true,
|
|
791
|
+
"type": "string",
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
}
|
|
795
|
+
`);
|
|
796
|
+
});
|
|
797
|
+
|
|
798
|
+
test("number with exclusive min-max openapi-3.0", () => {
|
|
799
|
+
const schema = z.number().lt(100).gt(1);
|
|
800
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
801
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
802
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
803
|
+
{
|
|
804
|
+
"exclusiveMaximum": true,
|
|
805
|
+
"exclusiveMinimum": true,
|
|
806
|
+
"maximum": 100,
|
|
807
|
+
"minimum": 1,
|
|
808
|
+
"type": "number",
|
|
809
|
+
}
|
|
810
|
+
`);
|
|
811
|
+
});
|
|
812
|
+
|
|
813
|
+
test("arrays", () => {
|
|
814
|
+
expect(z.toJSONSchema(z.array(z.string()))).toMatchInlineSnapshot(`
|
|
815
|
+
{
|
|
816
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
817
|
+
"items": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
},
|
|
820
|
+
"type": "array",
|
|
821
|
+
}
|
|
822
|
+
`);
|
|
823
|
+
});
|
|
824
|
+
|
|
825
|
+
test("unions", () => {
|
|
826
|
+
const schema = z.union([z.string(), z.number()]);
|
|
827
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
828
|
+
{
|
|
829
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
830
|
+
"type": [
|
|
831
|
+
"string",
|
|
832
|
+
"number",
|
|
833
|
+
],
|
|
834
|
+
}
|
|
835
|
+
`);
|
|
836
|
+
});
|
|
837
|
+
|
|
838
|
+
test("nullable compacts to a type array", () => {
|
|
839
|
+
expect(z.toJSONSchema(z.string().nullable())).toMatchInlineSnapshot(`
|
|
840
|
+
{
|
|
841
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
842
|
+
"type": [
|
|
843
|
+
"string",
|
|
844
|
+
"null",
|
|
845
|
+
],
|
|
846
|
+
}
|
|
847
|
+
`);
|
|
848
|
+
|
|
849
|
+
// a nested union folds into the outer type array rather than leaving a mixed shape
|
|
850
|
+
expect(z.toJSONSchema(z.union([z.string(), z.number()]).nullable())).toMatchInlineSnapshot(`
|
|
851
|
+
{
|
|
852
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
853
|
+
"type": [
|
|
854
|
+
"string",
|
|
855
|
+
"number",
|
|
856
|
+
"null",
|
|
857
|
+
],
|
|
858
|
+
}
|
|
859
|
+
`);
|
|
860
|
+
|
|
861
|
+
// the null branch is bare but the object branch is not, so this stays an anyOf
|
|
862
|
+
expect(z.toJSONSchema(z.object({ a: z.string() }).nullable())).toMatchInlineSnapshot(`
|
|
863
|
+
{
|
|
864
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
865
|
+
"anyOf": [
|
|
866
|
+
{
|
|
867
|
+
"additionalProperties": false,
|
|
868
|
+
"properties": {
|
|
869
|
+
"a": {
|
|
870
|
+
"type": "string",
|
|
871
|
+
},
|
|
872
|
+
},
|
|
873
|
+
"required": [
|
|
874
|
+
"a",
|
|
875
|
+
],
|
|
876
|
+
"type": "object",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"type": "null",
|
|
880
|
+
},
|
|
881
|
+
],
|
|
882
|
+
}
|
|
883
|
+
`);
|
|
884
|
+
});
|
|
885
|
+
|
|
886
|
+
test("duplicate branches dedupe, single branch stays a bare type", () => {
|
|
887
|
+
// a `type` array must have unique members, so two branches that erase to the same bare type collapse
|
|
888
|
+
const refined = z.union([z.string().refine((s) => s.length > 2), z.string().refine((s) => s.length < 9)]);
|
|
889
|
+
expect(z.toJSONSchema(refined)).toMatchInlineSnapshot(`
|
|
890
|
+
{
|
|
891
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
892
|
+
"type": "string",
|
|
893
|
+
}
|
|
894
|
+
`);
|
|
895
|
+
expect(z.toJSONSchema(z.union([z.string()]))).toMatchInlineSnapshot(`
|
|
896
|
+
{
|
|
897
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
898
|
+
"type": "string",
|
|
899
|
+
}
|
|
900
|
+
`);
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
test("compaction runs after overrides and ref extraction", () => {
|
|
904
|
+
// an override decorates the string branch, so it is no longer a bare type and must survive in anyOf
|
|
905
|
+
const decorated = z.toJSONSchema(z.union([z.string(), z.number()]), {
|
|
906
|
+
override(ctx) {
|
|
907
|
+
if (ctx.zodSchema._zod.def.type === "string") ctx.jsonSchema.whatever = "sup";
|
|
908
|
+
},
|
|
909
|
+
});
|
|
910
|
+
expect(decorated).toMatchInlineSnapshot(`
|
|
911
|
+
{
|
|
912
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
913
|
+
"anyOf": [
|
|
914
|
+
{
|
|
915
|
+
"type": "string",
|
|
916
|
+
"whatever": "sup",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"type": "number",
|
|
920
|
+
},
|
|
921
|
+
],
|
|
922
|
+
}
|
|
923
|
+
`);
|
|
924
|
+
|
|
925
|
+
// a branch extracted into $defs is a $ref, not a bare type, so `reused` is not silently bypassed
|
|
926
|
+
const shared = z.string();
|
|
927
|
+
expect(
|
|
928
|
+
z.toJSONSchema(z.object({ a: shared, b: z.union([shared, z.null()]) }), { reused: "ref" })
|
|
929
|
+
).toMatchInlineSnapshot(`
|
|
930
|
+
{
|
|
931
|
+
"$defs": {
|
|
932
|
+
"__schema0": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
},
|
|
935
|
+
},
|
|
936
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
937
|
+
"additionalProperties": false,
|
|
938
|
+
"properties": {
|
|
939
|
+
"a": {
|
|
940
|
+
"$ref": "#/$defs/__schema0",
|
|
941
|
+
},
|
|
942
|
+
"b": {
|
|
943
|
+
"anyOf": [
|
|
944
|
+
{
|
|
945
|
+
"$ref": "#/$defs/__schema0",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"type": "null",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
"required": [
|
|
954
|
+
"a",
|
|
955
|
+
"b",
|
|
956
|
+
],
|
|
957
|
+
"type": "object",
|
|
958
|
+
}
|
|
959
|
+
`);
|
|
960
|
+
});
|
|
961
|
+
|
|
962
|
+
test("openapi-3.0 keeps a single-string type", () => {
|
|
963
|
+
// OpenAPI 3.0 has no type arrays; nullability is spelled with `nullable`
|
|
964
|
+
expect(z.toJSONSchema(z.string().nullable(), { target: "openapi-3.0" })).toMatchInlineSnapshot(`
|
|
965
|
+
{
|
|
966
|
+
"nullable": true,
|
|
967
|
+
"type": "string",
|
|
968
|
+
}
|
|
969
|
+
`);
|
|
970
|
+
});
|
|
971
|
+
|
|
972
|
+
test("union with constrained branch is not compacted", () => {
|
|
973
|
+
const schema = z.union([z.string().min(1), z.number()]);
|
|
974
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
975
|
+
{
|
|
976
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
977
|
+
"anyOf": [
|
|
978
|
+
{
|
|
979
|
+
"minLength": 1,
|
|
980
|
+
"type": "string",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"type": "number",
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
}
|
|
987
|
+
`);
|
|
988
|
+
});
|
|
989
|
+
|
|
990
|
+
test("union of literals is not compacted", () => {
|
|
991
|
+
const schema = z.union([z.literal("a"), z.literal("b")]);
|
|
992
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
993
|
+
{
|
|
994
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
995
|
+
"anyOf": [
|
|
996
|
+
{
|
|
997
|
+
"const": "a",
|
|
998
|
+
"type": "string",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"const": "b",
|
|
1002
|
+
"type": "string",
|
|
1003
|
+
},
|
|
1004
|
+
],
|
|
1005
|
+
}
|
|
1006
|
+
`);
|
|
1007
|
+
});
|
|
1008
|
+
|
|
1009
|
+
test("discriminated unions", () => {
|
|
1010
|
+
const schema = z.discriminatedUnion("type", [
|
|
1011
|
+
z.object({ type: z.literal("success"), data: z.string() }),
|
|
1012
|
+
z.object({ type: z.literal("error"), message: z.string() }),
|
|
1013
|
+
]);
|
|
1014
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1015
|
+
{
|
|
1016
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1017
|
+
"oneOf": [
|
|
1018
|
+
{
|
|
1019
|
+
"additionalProperties": false,
|
|
1020
|
+
"properties": {
|
|
1021
|
+
"data": {
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
},
|
|
1024
|
+
"type": {
|
|
1025
|
+
"const": "success",
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
"required": [
|
|
1030
|
+
"type",
|
|
1031
|
+
"data",
|
|
1032
|
+
],
|
|
1033
|
+
"type": "object",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"additionalProperties": false,
|
|
1037
|
+
"properties": {
|
|
1038
|
+
"message": {
|
|
1039
|
+
"type": "string",
|
|
1040
|
+
},
|
|
1041
|
+
"type": {
|
|
1042
|
+
"const": "error",
|
|
1043
|
+
"type": "string",
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
"required": [
|
|
1047
|
+
"type",
|
|
1048
|
+
"message",
|
|
1049
|
+
],
|
|
1050
|
+
"type": "object",
|
|
1051
|
+
},
|
|
1052
|
+
],
|
|
1053
|
+
}
|
|
1054
|
+
`);
|
|
1055
|
+
});
|
|
1056
|
+
|
|
1057
|
+
test("intersections", () => {
|
|
1058
|
+
const schema = z.intersection(z.object({ name: z.string() }), z.object({ age: z.number() }));
|
|
1059
|
+
|
|
1060
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1061
|
+
{
|
|
1062
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1063
|
+
"additionalProperties": false,
|
|
1064
|
+
"properties": {
|
|
1065
|
+
"age": {
|
|
1066
|
+
"type": "number",
|
|
1067
|
+
},
|
|
1068
|
+
"name": {
|
|
1069
|
+
"type": "string",
|
|
1070
|
+
},
|
|
1071
|
+
},
|
|
1072
|
+
"required": [
|
|
1073
|
+
"name",
|
|
1074
|
+
"age",
|
|
1075
|
+
],
|
|
1076
|
+
"type": "object",
|
|
1077
|
+
}
|
|
1078
|
+
`);
|
|
1079
|
+
});
|
|
1080
|
+
|
|
1081
|
+
test("record", () => {
|
|
1082
|
+
const schema = z.record(z.string(), z.boolean());
|
|
1083
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1084
|
+
{
|
|
1085
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1086
|
+
"additionalProperties": {
|
|
1087
|
+
"type": "boolean",
|
|
1088
|
+
},
|
|
1089
|
+
"propertyNames": {
|
|
1090
|
+
"type": "string",
|
|
1091
|
+
},
|
|
1092
|
+
"type": "object",
|
|
1093
|
+
}
|
|
1094
|
+
`);
|
|
1095
|
+
});
|
|
1096
|
+
|
|
1097
|
+
test("record openapi-3.0", () => {
|
|
1098
|
+
const schema = z.record(z.string(), z.boolean());
|
|
1099
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1100
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
1101
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
1102
|
+
{
|
|
1103
|
+
"additionalProperties": {
|
|
1104
|
+
"type": "boolean",
|
|
1105
|
+
},
|
|
1106
|
+
"type": "object",
|
|
1107
|
+
}
|
|
1108
|
+
`);
|
|
1109
|
+
});
|
|
1110
|
+
|
|
1111
|
+
test("record with enum keys adds required", () => {
|
|
1112
|
+
const schema = z.record(z.enum(["key1", "key2"]), z.number());
|
|
1113
|
+
|
|
1114
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1115
|
+
{
|
|
1116
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1117
|
+
"additionalProperties": {
|
|
1118
|
+
"type": "number",
|
|
1119
|
+
},
|
|
1120
|
+
"propertyNames": {
|
|
1121
|
+
"enum": [
|
|
1122
|
+
"key1",
|
|
1123
|
+
"key2",
|
|
1124
|
+
],
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
},
|
|
1127
|
+
"required": [
|
|
1128
|
+
"key1",
|
|
1129
|
+
"key2",
|
|
1130
|
+
],
|
|
1131
|
+
"type": "object",
|
|
1132
|
+
}
|
|
1133
|
+
`);
|
|
1134
|
+
});
|
|
1135
|
+
|
|
1136
|
+
test("record with enum keys drops required for an optional-in value under io: input", () => {
|
|
1137
|
+
const schema = z.record(z.enum(["key1", "key2"]), z.number().default(0));
|
|
1138
|
+
|
|
1139
|
+
expect(z.toJSONSchema(schema, { io: "input" }).required).toBeUndefined();
|
|
1140
|
+
expect(z.toJSONSchema(schema).required).toEqual(["key1", "key2"]);
|
|
1141
|
+
expect(z.toJSONSchema(z.record(z.enum(["key1", "key2"]), z.number()), { io: "input" }).required).toEqual([
|
|
1142
|
+
"key1",
|
|
1143
|
+
"key2",
|
|
1144
|
+
]);
|
|
1145
|
+
// A caught value keeps required, matching the input type and z.object().
|
|
1146
|
+
expect(z.toJSONSchema(z.record(z.enum(["key1", "key2"]), z.number().catch(0)), { io: "input" }).required).toEqual([
|
|
1147
|
+
"key1",
|
|
1148
|
+
"key2",
|
|
1149
|
+
]);
|
|
1150
|
+
});
|
|
1151
|
+
|
|
1152
|
+
test("record stringifies numeric enum keys for propertyNames and required", () => {
|
|
1153
|
+
enum NumberEnum {
|
|
1154
|
+
Zero = 0,
|
|
1155
|
+
One = 1,
|
|
1156
|
+
}
|
|
1157
|
+
const schema = z.record(z.enum(NumberEnum), z.string());
|
|
1158
|
+
|
|
1159
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1160
|
+
{
|
|
1161
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1162
|
+
"additionalProperties": {
|
|
1163
|
+
"type": "string",
|
|
1164
|
+
},
|
|
1165
|
+
"propertyNames": {
|
|
1166
|
+
"enum": [
|
|
1167
|
+
"0",
|
|
1168
|
+
"1",
|
|
1169
|
+
],
|
|
1170
|
+
"type": "string",
|
|
1171
|
+
},
|
|
1172
|
+
"required": [
|
|
1173
|
+
"0",
|
|
1174
|
+
"1",
|
|
1175
|
+
],
|
|
1176
|
+
"type": "object",
|
|
1177
|
+
}
|
|
1178
|
+
`);
|
|
1179
|
+
});
|
|
1180
|
+
|
|
1181
|
+
test("record with a numeric key emits propertyNames over the numeric-string form", () => {
|
|
1182
|
+
expect(z.toJSONSchema(z.record(z.number(), z.boolean())).propertyNames).toEqual({
|
|
1183
|
+
type: "string",
|
|
1184
|
+
pattern: "^-?\\d+(?:\\.\\d+)?$",
|
|
1185
|
+
});
|
|
1186
|
+
// range checks can't apply to a key, so only the integer shape survives
|
|
1187
|
+
expect(z.toJSONSchema(z.record(z.int32(), z.boolean())).propertyNames).toEqual({
|
|
1188
|
+
type: "string",
|
|
1189
|
+
pattern: "^-?\\d+$",
|
|
1190
|
+
});
|
|
1191
|
+
expect(z.toJSONSchema(z.record(z.literal([1, 2]), z.boolean()))).toMatchObject({
|
|
1192
|
+
propertyNames: { type: "string", enum: ["1", "2"] },
|
|
1193
|
+
required: ["1", "2"],
|
|
1194
|
+
});
|
|
1195
|
+
expect(z.toJSONSchema(z.record(z.literal(1), z.boolean())).propertyNames).toEqual({
|
|
1196
|
+
type: "string",
|
|
1197
|
+
const: "1",
|
|
1198
|
+
});
|
|
1199
|
+
});
|
|
1200
|
+
|
|
1201
|
+
test("record key rewrite reaches through wrappers and union branches", () => {
|
|
1202
|
+
const numericString = { type: "string", pattern: "^-?\\d+(?:\\.\\d+)?$" };
|
|
1203
|
+
// a wrapper only carries its inner type once the refs are flattened, so this is decided after the record itself is emitted
|
|
1204
|
+
expect(
|
|
1205
|
+
z.toJSONSchema(
|
|
1206
|
+
z.record(
|
|
1207
|
+
z.lazy(() => z.number()),
|
|
1208
|
+
z.boolean()
|
|
1209
|
+
)
|
|
1210
|
+
).propertyNames
|
|
1211
|
+
).toEqual(numericString);
|
|
1212
|
+
expect(z.toJSONSchema(z.record(z.number().pipe(z.number()), z.boolean())).propertyNames).toEqual(numericString);
|
|
1213
|
+
expect(z.toJSONSchema(z.record(z.number().readonly(), z.boolean())).propertyNames).toMatchObject(numericString);
|
|
1214
|
+
expect(z.toJSONSchema(z.record(z.union([z.literal("Tuna"), z.literal(21)]), z.string()))).toMatchObject({
|
|
1215
|
+
propertyNames: {
|
|
1216
|
+
anyOf: [
|
|
1217
|
+
{ type: "string", const: "Tuna" },
|
|
1218
|
+
{ type: "string", const: "21" },
|
|
1219
|
+
],
|
|
1220
|
+
},
|
|
1221
|
+
required: ["Tuna", "21"],
|
|
1222
|
+
});
|
|
1223
|
+
});
|
|
1224
|
+
|
|
1225
|
+
test("record with a numeric key inlines an extracted key, and leaves a string one referenced", () => {
|
|
1226
|
+
expect(z.toJSONSchema(z.record(z.number().meta({ id: "Num" }), z.boolean())).propertyNames).toEqual({
|
|
1227
|
+
type: "string",
|
|
1228
|
+
pattern: "^-?\\d+(?:\\.\\d+)?$",
|
|
1229
|
+
});
|
|
1230
|
+
expect(z.toJSONSchema(z.record(z.string().meta({ id: "Str" }), z.boolean())).propertyNames).toEqual({
|
|
1231
|
+
$ref: "#/$defs/Str",
|
|
1232
|
+
});
|
|
1233
|
+
// the value position still wants the number form, so the two cannot share one def
|
|
1234
|
+
const key = z.number().meta({ id: "Shared" });
|
|
1235
|
+
expect(z.toJSONSchema(z.object({ a: key, b: z.record(key, z.string()) }))).toMatchObject({
|
|
1236
|
+
properties: { a: { $ref: "#/$defs/Shared" }, b: { propertyNames: { type: "string" } } },
|
|
1237
|
+
$defs: { Shared: { type: "number" } },
|
|
1238
|
+
});
|
|
1239
|
+
});
|
|
1240
|
+
|
|
1241
|
+
test("record key rewrite reaches a wrapped record", () => {
|
|
1242
|
+
// the flatten copies a record's properties onto its wrapper by reference, so the rewrite has to find every copy
|
|
1243
|
+
expect(z.toJSONSchema(z.record(z.number(), z.boolean()).optional()).propertyNames).toEqual({
|
|
1244
|
+
type: "string",
|
|
1245
|
+
pattern: "^-?\\d+(?:\\.\\d+)?$",
|
|
1246
|
+
});
|
|
1247
|
+
expect(z.toJSONSchema(z.object({ a: z.record(z.literal([1, 2]), z.boolean()).optional() }))).toMatchObject({
|
|
1248
|
+
properties: { a: { propertyNames: { type: "string", enum: ["1", "2"] }, required: ["1", "2"] } },
|
|
1249
|
+
});
|
|
1250
|
+
});
|
|
1251
|
+
|
|
1252
|
+
test("record with a recursive key converts without looping", () => {
|
|
1253
|
+
const numeric: any = z.lazy(() => z.union([z.number(), numeric]));
|
|
1254
|
+
expect(z.toJSONSchema(z.record(numeric, z.boolean())).propertyNames).toMatchObject({
|
|
1255
|
+
anyOf: [{ type: "string", pattern: "^-?\\d+(?:\\.\\d+)?$" }, { $ref: "#/$defs/__schema0" }],
|
|
1256
|
+
});
|
|
1257
|
+
// a key with nothing to re-express keeps the reference it had
|
|
1258
|
+
const stringy: any = z.lazy(() => z.union([z.string(), stringy]));
|
|
1259
|
+
expect(z.toJSONSchema(z.record(stringy, z.boolean())).propertyNames).toEqual({ $ref: "#/$defs/__schema0" });
|
|
1260
|
+
expect(
|
|
1261
|
+
z.toJSONSchema(z.record(z.union([z.literal("a"), z.literal("b")]).meta({ id: "Keys" }), z.boolean()))
|
|
1262
|
+
.propertyNames
|
|
1263
|
+
).toEqual({ $ref: "#/$defs/Keys" });
|
|
1264
|
+
});
|
|
1265
|
+
|
|
1266
|
+
test("record with a heterogeneous key stringifies only its numeric members", () => {
|
|
1267
|
+
// a mixed key carries no `type`, so the numeric members are caught by value rather than by type
|
|
1268
|
+
expect(z.toJSONSchema(z.record(z.literal(["a", 1]), z.boolean()))).toMatchObject({
|
|
1269
|
+
propertyNames: { enum: ["a", "1"] },
|
|
1270
|
+
required: ["a", "1"],
|
|
1271
|
+
});
|
|
1272
|
+
// a member no key can spell is left as it was, since the parser only ever retries a key as a number
|
|
1273
|
+
expect(z.toJSONSchema(z.record(z.literal(["a", true]) as any, z.boolean())).propertyNames).toEqual({
|
|
1274
|
+
enum: ["a", true],
|
|
1275
|
+
});
|
|
1276
|
+
});
|
|
1277
|
+
|
|
1278
|
+
test("record stringifies required for every target", () => {
|
|
1279
|
+
const schema = z.record(z.literal([1, 2]), z.boolean());
|
|
1280
|
+
for (const target of ["draft-2020-12", "draft-7", "draft-4", "openapi-3.0"] as const) {
|
|
1281
|
+
expect(z.toJSONSchema(schema, { target }).required).toEqual(["1", "2"]);
|
|
1282
|
+
}
|
|
1283
|
+
});
|
|
1284
|
+
|
|
1285
|
+
test("strict record with regex key uses propertyNames", () => {
|
|
1286
|
+
const schema = z.record(z.string().regex(/^label:[a-z]{2}$/), z.string());
|
|
1287
|
+
|
|
1288
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1289
|
+
{
|
|
1290
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1291
|
+
"additionalProperties": {
|
|
1292
|
+
"type": "string",
|
|
1293
|
+
},
|
|
1294
|
+
"propertyNames": {
|
|
1295
|
+
"pattern": "^label:[a-z]{2}$",
|
|
1296
|
+
"type": "string",
|
|
1297
|
+
},
|
|
1298
|
+
"type": "object",
|
|
1299
|
+
}
|
|
1300
|
+
`);
|
|
1301
|
+
});
|
|
1302
|
+
|
|
1303
|
+
test("looseRecord with regex key uses patternProperties", () => {
|
|
1304
|
+
const schema = z.looseRecord(z.string().regex(/^label:[a-z]{2}$/), z.string());
|
|
1305
|
+
|
|
1306
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1307
|
+
{
|
|
1308
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1309
|
+
"patternProperties": {
|
|
1310
|
+
"^label:[a-z]{2}$": {
|
|
1311
|
+
"type": "string",
|
|
1312
|
+
},
|
|
1313
|
+
},
|
|
1314
|
+
"type": "object",
|
|
1315
|
+
}
|
|
1316
|
+
`);
|
|
1317
|
+
});
|
|
1318
|
+
|
|
1319
|
+
test("looseRecord with multiple regex patterns uses patternProperties", () => {
|
|
1320
|
+
const schema = z.looseRecord(
|
|
1321
|
+
z
|
|
1322
|
+
.string()
|
|
1323
|
+
.regex(/^prefix_/)
|
|
1324
|
+
.regex(/_suffix$/),
|
|
1325
|
+
z.number()
|
|
1326
|
+
);
|
|
1327
|
+
|
|
1328
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1329
|
+
{
|
|
1330
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1331
|
+
"patternProperties": {
|
|
1332
|
+
"^prefix_": {
|
|
1333
|
+
"type": "number",
|
|
1334
|
+
},
|
|
1335
|
+
"_suffix$": {
|
|
1336
|
+
"type": "number",
|
|
1337
|
+
},
|
|
1338
|
+
},
|
|
1339
|
+
"type": "object",
|
|
1340
|
+
}
|
|
1341
|
+
`);
|
|
1342
|
+
});
|
|
1343
|
+
|
|
1344
|
+
test("looseRecord without regex key uses propertyNames", () => {
|
|
1345
|
+
// looseRecord with plain string key should still use propertyNames
|
|
1346
|
+
const schema = z.looseRecord(z.string(), z.boolean());
|
|
1347
|
+
|
|
1348
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1349
|
+
{
|
|
1350
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1351
|
+
"additionalProperties": {
|
|
1352
|
+
"type": "boolean",
|
|
1353
|
+
},
|
|
1354
|
+
"propertyNames": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
},
|
|
1357
|
+
"type": "object",
|
|
1358
|
+
}
|
|
1359
|
+
`);
|
|
1360
|
+
});
|
|
1361
|
+
|
|
1362
|
+
test("intersection of object with looseRecord uses patternProperties", () => {
|
|
1363
|
+
const zLabeled = z.object({ label: z.string() });
|
|
1364
|
+
const zLocalizedLabeled = z.looseRecord(z.string().regex(/^label:[a-z]{2}$/), z.string());
|
|
1365
|
+
const schema = zLabeled.and(zLocalizedLabeled);
|
|
1366
|
+
|
|
1367
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1368
|
+
{
|
|
1369
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1370
|
+
"allOf": [
|
|
1371
|
+
{
|
|
1372
|
+
"additionalProperties": false,
|
|
1373
|
+
"properties": {
|
|
1374
|
+
"label": {
|
|
1375
|
+
"type": "string",
|
|
1376
|
+
},
|
|
1377
|
+
},
|
|
1378
|
+
"required": [
|
|
1379
|
+
"label",
|
|
1380
|
+
],
|
|
1381
|
+
"type": "object",
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"patternProperties": {
|
|
1385
|
+
"^label:[a-z]{2}$": {
|
|
1386
|
+
"type": "string",
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
"type": "object",
|
|
1390
|
+
},
|
|
1391
|
+
],
|
|
1392
|
+
}
|
|
1393
|
+
`);
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
test("tuple", () => {
|
|
1397
|
+
const schema = z.tuple([z.string(), z.number()]);
|
|
1398
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1399
|
+
{
|
|
1400
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1401
|
+
"items": false,
|
|
1402
|
+
"maxItems": 2,
|
|
1403
|
+
"minItems": 2,
|
|
1404
|
+
"prefixItems": [
|
|
1405
|
+
{
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"type": "number",
|
|
1410
|
+
},
|
|
1411
|
+
],
|
|
1412
|
+
"type": "array",
|
|
1413
|
+
}
|
|
1414
|
+
`);
|
|
1415
|
+
});
|
|
1416
|
+
|
|
1417
|
+
test("tuple with rest", () => {
|
|
1418
|
+
const schema = z.tuple([z.string(), z.number()]).rest(z.boolean());
|
|
1419
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1420
|
+
{
|
|
1421
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1422
|
+
"items": {
|
|
1423
|
+
"type": "boolean",
|
|
1424
|
+
},
|
|
1425
|
+
"minItems": 2,
|
|
1426
|
+
"prefixItems": [
|
|
1427
|
+
{
|
|
1428
|
+
"type": "string",
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"type": "number",
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1434
|
+
"type": "array",
|
|
1435
|
+
}
|
|
1436
|
+
`);
|
|
1437
|
+
});
|
|
1438
|
+
|
|
1439
|
+
test("tuple openapi-3.0", () => {
|
|
1440
|
+
const schema = z.tuple([z.string(), z.number()]);
|
|
1441
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1442
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
1443
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
1444
|
+
{
|
|
1445
|
+
"items": {
|
|
1446
|
+
"anyOf": [
|
|
1447
|
+
{
|
|
1448
|
+
"type": "string",
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"type": "number",
|
|
1452
|
+
},
|
|
1453
|
+
],
|
|
1454
|
+
},
|
|
1455
|
+
"maxItems": 2,
|
|
1456
|
+
"minItems": 2,
|
|
1457
|
+
"type": "array",
|
|
1458
|
+
}
|
|
1459
|
+
`);
|
|
1460
|
+
});
|
|
1461
|
+
|
|
1462
|
+
test("tuple with rest openapi-3.0", () => {
|
|
1463
|
+
const schema = z.tuple([z.string(), z.number()]).rest(z.boolean());
|
|
1464
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1465
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
1466
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
1467
|
+
{
|
|
1468
|
+
"items": {
|
|
1469
|
+
"anyOf": [
|
|
1470
|
+
{
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"type": "number",
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"type": "boolean",
|
|
1478
|
+
},
|
|
1479
|
+
],
|
|
1480
|
+
},
|
|
1481
|
+
"minItems": 2,
|
|
1482
|
+
"type": "array",
|
|
1483
|
+
}
|
|
1484
|
+
`);
|
|
1485
|
+
});
|
|
1486
|
+
|
|
1487
|
+
test("tuple with null openapi-3.0", () => {
|
|
1488
|
+
const schema = z.tuple([z.string(), z.number(), z.null()]);
|
|
1489
|
+
const jsonSchema = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1490
|
+
validateOpenAPI30Schema(jsonSchema);
|
|
1491
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
1492
|
+
{
|
|
1493
|
+
"items": {
|
|
1494
|
+
"anyOf": [
|
|
1495
|
+
{
|
|
1496
|
+
"type": "string",
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"type": "number",
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"enum": [
|
|
1503
|
+
null,
|
|
1504
|
+
],
|
|
1505
|
+
"nullable": true,
|
|
1506
|
+
"type": "string",
|
|
1507
|
+
},
|
|
1508
|
+
],
|
|
1509
|
+
},
|
|
1510
|
+
"maxItems": 3,
|
|
1511
|
+
"minItems": 3,
|
|
1512
|
+
"type": "array",
|
|
1513
|
+
}
|
|
1514
|
+
`);
|
|
1515
|
+
});
|
|
1516
|
+
|
|
1517
|
+
test("tuple draft-7", () => {
|
|
1518
|
+
const schema = z.tuple([z.string(), z.number()]);
|
|
1519
|
+
expect(z.toJSONSchema(schema, { target: "draft-7", io: "input" })).toMatchInlineSnapshot(`
|
|
1520
|
+
{
|
|
1521
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1522
|
+
"additionalItems": false,
|
|
1523
|
+
"items": [
|
|
1524
|
+
{
|
|
1525
|
+
"type": "string",
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"type": "number",
|
|
1529
|
+
},
|
|
1530
|
+
],
|
|
1531
|
+
"maxItems": 2,
|
|
1532
|
+
"minItems": 2,
|
|
1533
|
+
"type": "array",
|
|
1534
|
+
}
|
|
1535
|
+
`);
|
|
1536
|
+
});
|
|
1537
|
+
|
|
1538
|
+
test("tuple with rest draft-7", () => {
|
|
1539
|
+
const schema = z.tuple([z.string(), z.number()]).rest(z.boolean());
|
|
1540
|
+
expect(z.toJSONSchema(schema, { target: "draft-7", io: "input" })).toMatchInlineSnapshot(`
|
|
1541
|
+
{
|
|
1542
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1543
|
+
"additionalItems": {
|
|
1544
|
+
"type": "boolean",
|
|
1545
|
+
},
|
|
1546
|
+
"items": [
|
|
1547
|
+
{
|
|
1548
|
+
"type": "string",
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"type": "number",
|
|
1552
|
+
},
|
|
1553
|
+
],
|
|
1554
|
+
"minItems": 2,
|
|
1555
|
+
"type": "array",
|
|
1556
|
+
}
|
|
1557
|
+
`);
|
|
1558
|
+
});
|
|
1559
|
+
|
|
1560
|
+
test("tuple with rest draft-7 - issue #5151 regression test", () => {
|
|
1561
|
+
// This test addresses issue #5151: tuple with rest elements and ids in draft-7 had incorrect internal path handling affecting complex scenarios
|
|
1562
|
+
const primarySchema = z.string().meta({ id: "primary" });
|
|
1563
|
+
const restSchema = z.number().meta({ id: "rest" });
|
|
1564
|
+
const testSchema = z.tuple([primarySchema], restSchema);
|
|
1565
|
+
|
|
1566
|
+
// Test both final output structure AND internal path handling
|
|
1567
|
+
const capturedPaths: string[] = [];
|
|
1568
|
+
const result = z.toJSONSchema(testSchema, {
|
|
1569
|
+
target: "draft-7",
|
|
1570
|
+
override: (ctx) => capturedPaths.push(ctx.path.join("/")),
|
|
1571
|
+
});
|
|
1572
|
+
|
|
1573
|
+
// Verify correct draft-7 structure with metadata extraction
|
|
1574
|
+
expect(result).toMatchInlineSnapshot(`
|
|
1575
|
+
{
|
|
1576
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1577
|
+
"additionalItems": {
|
|
1578
|
+
"$ref": "#/definitions/rest",
|
|
1579
|
+
},
|
|
1580
|
+
"definitions": {
|
|
1581
|
+
"primary": {
|
|
1582
|
+
"type": "string",
|
|
1583
|
+
},
|
|
1584
|
+
"rest": {
|
|
1585
|
+
"type": "number",
|
|
1586
|
+
},
|
|
1587
|
+
},
|
|
1588
|
+
"items": [
|
|
1589
|
+
{
|
|
1590
|
+
"$ref": "#/definitions/primary",
|
|
1591
|
+
},
|
|
1592
|
+
],
|
|
1593
|
+
"minItems": 1,
|
|
1594
|
+
"type": "array",
|
|
1595
|
+
}
|
|
1596
|
+
`);
|
|
1597
|
+
|
|
1598
|
+
// Verify internal paths are correct (this was the actual bug)
|
|
1599
|
+
expect(capturedPaths).toContain("items/0"); // prefix items should use "items" path
|
|
1600
|
+
expect(capturedPaths).toContain("additionalItems"); // rest should use "additionalItems" path
|
|
1601
|
+
expect(capturedPaths).not.toContain("prefixItems/0"); // should not use draft-2020-12 paths
|
|
1602
|
+
|
|
1603
|
+
// Structural validations
|
|
1604
|
+
expect(Array.isArray(result.items)).toBe(true);
|
|
1605
|
+
expect(result.additionalItems).toBeDefined();
|
|
1606
|
+
});
|
|
1607
|
+
|
|
1608
|
+
test("closed tuple length constraints - issue #6193", () => {
|
|
1609
|
+
const schema = z.tuple([z.string(), z.string(), z.object({ lang: z.string() })]);
|
|
1610
|
+
|
|
1611
|
+
expect(schema.safeParse(["a", "b", { lang: "en" }, "extra"]).success).toBe(false);
|
|
1612
|
+
|
|
1613
|
+
const draft2020 = z.toJSONSchema(schema, { target: "draft-2020-12" });
|
|
1614
|
+
expect(draft2020.items).toBe(false);
|
|
1615
|
+
expect(draft2020.minItems).toBe(3);
|
|
1616
|
+
expect(draft2020.maxItems).toBe(3);
|
|
1617
|
+
|
|
1618
|
+
const draft7 = z.toJSONSchema(schema, { target: "draft-7", io: "input" });
|
|
1619
|
+
expect(draft7.additionalItems).toBe(false);
|
|
1620
|
+
expect(draft7.minItems).toBe(3);
|
|
1621
|
+
expect(draft7.maxItems).toBe(3);
|
|
1622
|
+
|
|
1623
|
+
const openapi = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1624
|
+
validateOpenAPI30Schema(openapi);
|
|
1625
|
+
expect(openapi.minItems).toBe(3);
|
|
1626
|
+
expect(openapi.maxItems).toBe(3);
|
|
1627
|
+
});
|
|
1628
|
+
|
|
1629
|
+
test("closed tuple with optional trailing items", () => {
|
|
1630
|
+
const schema = z.tuple([z.string(), z.number().optional()]);
|
|
1631
|
+
|
|
1632
|
+
const draft2020 = z.toJSONSchema(schema, { target: "draft-2020-12" });
|
|
1633
|
+
expect(draft2020.items).toBe(false);
|
|
1634
|
+
expect(draft2020.minItems).toBe(1);
|
|
1635
|
+
expect(draft2020.maxItems).toBe(2);
|
|
1636
|
+
|
|
1637
|
+
const draft7 = z.toJSONSchema(schema, { target: "draft-7", io: "input" });
|
|
1638
|
+
expect(draft7.additionalItems).toBe(false);
|
|
1639
|
+
expect(draft7.minItems).toBe(1);
|
|
1640
|
+
expect(draft7.maxItems).toBe(2);
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
test("empty closed tuple rejects extra elements", () => {
|
|
1644
|
+
const schema = z.tuple([]);
|
|
1645
|
+
|
|
1646
|
+
const draft2020 = z.toJSONSchema(schema, { target: "draft-2020-12" });
|
|
1647
|
+
expect(draft2020.items).toBe(false);
|
|
1648
|
+
expect(draft2020.maxItems).toBe(0);
|
|
1649
|
+
|
|
1650
|
+
const draft7 = z.toJSONSchema(schema, { target: "draft-7", io: "input" });
|
|
1651
|
+
expect(draft7.additionalItems).toBe(false);
|
|
1652
|
+
expect(draft7.maxItems).toBe(0);
|
|
1653
|
+
|
|
1654
|
+
const openapi = z.toJSONSchema(schema, { target: "openapi-3.0" });
|
|
1655
|
+
validateOpenAPI30Schema(openapi);
|
|
1656
|
+
expect(openapi.maxItems).toBe(0);
|
|
1657
|
+
});
|
|
1658
|
+
|
|
1659
|
+
test("closed tuple length respects io direction with defaults", () => {
|
|
1660
|
+
const schema = z.tuple([z.string(), z.string().default("x")]);
|
|
1661
|
+
|
|
1662
|
+
const input = z.toJSONSchema(schema, { target: "draft-2020-12", io: "input" });
|
|
1663
|
+
expect(input.items).toBe(false);
|
|
1664
|
+
expect(input.minItems).toBe(1);
|
|
1665
|
+
expect(input.maxItems).toBe(2);
|
|
1666
|
+
|
|
1667
|
+
const output = z.toJSONSchema(schema, { target: "draft-2020-12", io: "output" });
|
|
1668
|
+
expect(output.items).toBe(false);
|
|
1669
|
+
expect(output.minItems).toBe(2);
|
|
1670
|
+
expect(output.maxItems).toBe(2);
|
|
1671
|
+
});
|
|
1672
|
+
|
|
1673
|
+
test("closed tuple length resolves input optionality past transform and catch", () => {
|
|
1674
|
+
const minItems = (schema: z.core.$ZodType, io: "input" | "output") =>
|
|
1675
|
+
z.toJSONSchema(schema, { target: "draft-2020-12", io }).minItems;
|
|
1676
|
+
|
|
1677
|
+
// Both let the parser observe an absent slot, but declare a required input.
|
|
1678
|
+
const pre = z.tuple([z.string(), z.preprocess((v) => v, z.string())]);
|
|
1679
|
+
expect(minItems(pre, "input")).toBe(2);
|
|
1680
|
+
expect(minItems(pre, "output")).toBe(2);
|
|
1681
|
+
|
|
1682
|
+
const caught = z.tuple([z.string(), z.string().catch("x")]);
|
|
1683
|
+
expect(minItems(caught, "input")).toBe(2);
|
|
1684
|
+
expect(minItems(caught, "output")).toBe(2);
|
|
1685
|
+
|
|
1686
|
+
// Resolution passes through the wrapper rather than stopping at it.
|
|
1687
|
+
expect(minItems(z.tuple([z.string(), z.string().optional().catch("x")]), "input")).toBe(1);
|
|
1688
|
+
});
|
|
1689
|
+
|
|
1690
|
+
test("promise", () => {
|
|
1691
|
+
const schema = z.promise(z.string());
|
|
1692
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1693
|
+
{
|
|
1694
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1695
|
+
"type": "string",
|
|
1696
|
+
}
|
|
1697
|
+
`);
|
|
1698
|
+
});
|
|
1699
|
+
|
|
1700
|
+
test("lazy", () => {
|
|
1701
|
+
const schema = z.lazy(() => z.string());
|
|
1702
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1703
|
+
{
|
|
1704
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
}
|
|
1707
|
+
`);
|
|
1708
|
+
});
|
|
1709
|
+
|
|
1710
|
+
// enum
|
|
1711
|
+
test("enum", () => {
|
|
1712
|
+
const a = z.enum(["a", "b", "c"]);
|
|
1713
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
1714
|
+
{
|
|
1715
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1716
|
+
"enum": [
|
|
1717
|
+
"a",
|
|
1718
|
+
"b",
|
|
1719
|
+
"c",
|
|
1720
|
+
],
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
}
|
|
1723
|
+
`);
|
|
1724
|
+
|
|
1725
|
+
enum B {
|
|
1726
|
+
A = 0,
|
|
1727
|
+
B = 1,
|
|
1728
|
+
C = 2,
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
const b = z.enum(B);
|
|
1732
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
1733
|
+
{
|
|
1734
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1735
|
+
"enum": [
|
|
1736
|
+
0,
|
|
1737
|
+
1,
|
|
1738
|
+
2,
|
|
1739
|
+
],
|
|
1740
|
+
"type": "number",
|
|
1741
|
+
}
|
|
1742
|
+
`);
|
|
1743
|
+
});
|
|
1744
|
+
|
|
1745
|
+
// literal
|
|
1746
|
+
test("literal", () => {
|
|
1747
|
+
const a = z.literal("hello");
|
|
1748
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
1749
|
+
{
|
|
1750
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1751
|
+
"const": "hello",
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
}
|
|
1754
|
+
`);
|
|
1755
|
+
|
|
1756
|
+
const b = z.literal(7);
|
|
1757
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
1758
|
+
{
|
|
1759
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1760
|
+
"const": 7,
|
|
1761
|
+
"type": "number",
|
|
1762
|
+
}
|
|
1763
|
+
`);
|
|
1764
|
+
|
|
1765
|
+
const c = z.literal(["hello", undefined, null, 5, BigInt(1324)]);
|
|
1766
|
+
expect(() => z.toJSONSchema(c)).toThrow();
|
|
1767
|
+
|
|
1768
|
+
const d = z.literal(["hello", null, 5]);
|
|
1769
|
+
expect(z.toJSONSchema(d)).toMatchInlineSnapshot(`
|
|
1770
|
+
{
|
|
1771
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1772
|
+
"enum": [
|
|
1773
|
+
"hello",
|
|
1774
|
+
null,
|
|
1775
|
+
5,
|
|
1776
|
+
],
|
|
1777
|
+
}
|
|
1778
|
+
`);
|
|
1779
|
+
|
|
1780
|
+
const e = z.literal(["hello", "zod", "v4"]);
|
|
1781
|
+
expect(z.toJSONSchema(e)).toMatchInlineSnapshot(`
|
|
1782
|
+
{
|
|
1783
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1784
|
+
"enum": [
|
|
1785
|
+
"hello",
|
|
1786
|
+
"zod",
|
|
1787
|
+
"v4",
|
|
1788
|
+
],
|
|
1789
|
+
"type": "string",
|
|
1790
|
+
}
|
|
1791
|
+
`);
|
|
1792
|
+
});
|
|
1793
|
+
|
|
1794
|
+
test("literal draft-4", () => {
|
|
1795
|
+
const a = z.literal("hello");
|
|
1796
|
+
expect(z.toJSONSchema(a, { target: "draft-4" })).toMatchInlineSnapshot(`
|
|
1797
|
+
{
|
|
1798
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
1799
|
+
"enum": [
|
|
1800
|
+
"hello",
|
|
1801
|
+
],
|
|
1802
|
+
"type": "string",
|
|
1803
|
+
}
|
|
1804
|
+
`);
|
|
1805
|
+
});
|
|
1806
|
+
|
|
1807
|
+
// pipe
|
|
1808
|
+
test("pipe", () => {
|
|
1809
|
+
const schema = z
|
|
1810
|
+
.string()
|
|
1811
|
+
.transform((val) => Number.parseInt(val))
|
|
1812
|
+
.pipe(z.number());
|
|
1813
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
1814
|
+
{
|
|
1815
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1816
|
+
"type": "number",
|
|
1817
|
+
}
|
|
1818
|
+
`);
|
|
1819
|
+
});
|
|
1820
|
+
|
|
1821
|
+
test("simple objects", () => {
|
|
1822
|
+
const schema = z.object({
|
|
1823
|
+
name: z.string(),
|
|
1824
|
+
age: z.number(),
|
|
1825
|
+
});
|
|
1826
|
+
|
|
1827
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(
|
|
1828
|
+
`
|
|
1829
|
+
{
|
|
1830
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1831
|
+
"additionalProperties": false,
|
|
1832
|
+
"properties": {
|
|
1833
|
+
"age": {
|
|
1834
|
+
"type": "number",
|
|
1835
|
+
},
|
|
1836
|
+
"name": {
|
|
1837
|
+
"type": "string",
|
|
1838
|
+
},
|
|
1839
|
+
},
|
|
1840
|
+
"required": [
|
|
1841
|
+
"name",
|
|
1842
|
+
"age",
|
|
1843
|
+
],
|
|
1844
|
+
"type": "object",
|
|
1845
|
+
}
|
|
1846
|
+
`
|
|
1847
|
+
);
|
|
1848
|
+
});
|
|
1849
|
+
|
|
1850
|
+
test("additionalproperties in z.object", () => {
|
|
1851
|
+
const a = z.object({
|
|
1852
|
+
name: z.string(),
|
|
1853
|
+
});
|
|
1854
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
1855
|
+
{
|
|
1856
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1857
|
+
"additionalProperties": false,
|
|
1858
|
+
"properties": {
|
|
1859
|
+
"name": {
|
|
1860
|
+
"type": "string",
|
|
1861
|
+
},
|
|
1862
|
+
},
|
|
1863
|
+
"required": [
|
|
1864
|
+
"name",
|
|
1865
|
+
],
|
|
1866
|
+
"type": "object",
|
|
1867
|
+
}
|
|
1868
|
+
`);
|
|
1869
|
+
expect(z.toJSONSchema(a, { io: "input" })).toMatchInlineSnapshot(`
|
|
1870
|
+
{
|
|
1871
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1872
|
+
"properties": {
|
|
1873
|
+
"name": {
|
|
1874
|
+
"type": "string",
|
|
1875
|
+
},
|
|
1876
|
+
},
|
|
1877
|
+
"required": [
|
|
1878
|
+
"name",
|
|
1879
|
+
],
|
|
1880
|
+
"type": "object",
|
|
1881
|
+
}
|
|
1882
|
+
`);
|
|
1883
|
+
expect(
|
|
1884
|
+
z.toJSONSchema(a, {
|
|
1885
|
+
io: "input",
|
|
1886
|
+
override(ctx) {
|
|
1887
|
+
const def = ctx.zodSchema._zod.def;
|
|
1888
|
+
if (def.type === "object" && !def.catchall) {
|
|
1889
|
+
(ctx.jsonSchema as z.core.JSONSchema.ObjectSchema).additionalProperties = false;
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
})
|
|
1893
|
+
).toMatchInlineSnapshot(`
|
|
1894
|
+
{
|
|
1895
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1896
|
+
"additionalProperties": false,
|
|
1897
|
+
"properties": {
|
|
1898
|
+
"name": {
|
|
1899
|
+
"type": "string",
|
|
1900
|
+
},
|
|
1901
|
+
},
|
|
1902
|
+
"required": [
|
|
1903
|
+
"name",
|
|
1904
|
+
],
|
|
1905
|
+
"type": "object",
|
|
1906
|
+
}
|
|
1907
|
+
`);
|
|
1908
|
+
});
|
|
1909
|
+
|
|
1910
|
+
test("catchall objects", () => {
|
|
1911
|
+
const a = z.strictObject({
|
|
1912
|
+
name: z.string(),
|
|
1913
|
+
age: z.number(),
|
|
1914
|
+
});
|
|
1915
|
+
|
|
1916
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
1917
|
+
{
|
|
1918
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1919
|
+
"additionalProperties": false,
|
|
1920
|
+
"properties": {
|
|
1921
|
+
"age": {
|
|
1922
|
+
"type": "number",
|
|
1923
|
+
},
|
|
1924
|
+
"name": {
|
|
1925
|
+
"type": "string",
|
|
1926
|
+
},
|
|
1927
|
+
},
|
|
1928
|
+
"required": [
|
|
1929
|
+
"name",
|
|
1930
|
+
"age",
|
|
1931
|
+
],
|
|
1932
|
+
"type": "object",
|
|
1933
|
+
}
|
|
1934
|
+
`);
|
|
1935
|
+
|
|
1936
|
+
const b = z
|
|
1937
|
+
.object({
|
|
1938
|
+
name: z.string(),
|
|
1939
|
+
})
|
|
1940
|
+
.catchall(z.string());
|
|
1941
|
+
|
|
1942
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
1943
|
+
{
|
|
1944
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1945
|
+
"additionalProperties": {
|
|
1946
|
+
"type": "string",
|
|
1947
|
+
},
|
|
1948
|
+
"properties": {
|
|
1949
|
+
"name": {
|
|
1950
|
+
"type": "string",
|
|
1951
|
+
},
|
|
1952
|
+
},
|
|
1953
|
+
"required": [
|
|
1954
|
+
"name",
|
|
1955
|
+
],
|
|
1956
|
+
"type": "object",
|
|
1957
|
+
}
|
|
1958
|
+
`);
|
|
1959
|
+
|
|
1960
|
+
const c = z.looseObject({
|
|
1961
|
+
name: z.string(),
|
|
1962
|
+
});
|
|
1963
|
+
|
|
1964
|
+
expect(z.toJSONSchema(c)).toMatchInlineSnapshot(`
|
|
1965
|
+
{
|
|
1966
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1967
|
+
"additionalProperties": {},
|
|
1968
|
+
"properties": {
|
|
1969
|
+
"name": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
},
|
|
1972
|
+
},
|
|
1973
|
+
"required": [
|
|
1974
|
+
"name",
|
|
1975
|
+
],
|
|
1976
|
+
"type": "object",
|
|
1977
|
+
}
|
|
1978
|
+
`);
|
|
1979
|
+
});
|
|
1980
|
+
|
|
1981
|
+
test("optional fields - object", () => {
|
|
1982
|
+
const schema = z.object({
|
|
1983
|
+
required: z.string(),
|
|
1984
|
+
optional: z.string().optional(),
|
|
1985
|
+
nonoptional: z.string().optional().nonoptional(),
|
|
1986
|
+
});
|
|
1987
|
+
|
|
1988
|
+
const result = z.toJSONSchema(schema);
|
|
1989
|
+
|
|
1990
|
+
expect(result).toMatchInlineSnapshot(`
|
|
1991
|
+
{
|
|
1992
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1993
|
+
"additionalProperties": false,
|
|
1994
|
+
"properties": {
|
|
1995
|
+
"nonoptional": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
},
|
|
1998
|
+
"optional": {
|
|
1999
|
+
"type": "string",
|
|
2000
|
+
},
|
|
2001
|
+
"required": {
|
|
2002
|
+
"type": "string",
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
"required": [
|
|
2006
|
+
"required",
|
|
2007
|
+
"nonoptional",
|
|
2008
|
+
],
|
|
2009
|
+
"type": "object",
|
|
2010
|
+
}
|
|
2011
|
+
`);
|
|
2012
|
+
});
|
|
2013
|
+
|
|
2014
|
+
test("recursive object", () => {
|
|
2015
|
+
interface Category {
|
|
2016
|
+
name: string;
|
|
2017
|
+
subcategories: Category[];
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
const categorySchema: z.ZodType<Category> = z.object({
|
|
2021
|
+
name: z.string(),
|
|
2022
|
+
subcategories: z.array(z.lazy(() => categorySchema)),
|
|
2023
|
+
});
|
|
2024
|
+
|
|
2025
|
+
const result = z.toJSONSchema(categorySchema);
|
|
2026
|
+
expect(result).toMatchInlineSnapshot(`
|
|
2027
|
+
{
|
|
2028
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2029
|
+
"additionalProperties": false,
|
|
2030
|
+
"properties": {
|
|
2031
|
+
"name": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
},
|
|
2034
|
+
"subcategories": {
|
|
2035
|
+
"items": {
|
|
2036
|
+
"$ref": "#",
|
|
2037
|
+
},
|
|
2038
|
+
"type": "array",
|
|
2039
|
+
},
|
|
2040
|
+
},
|
|
2041
|
+
"required": [
|
|
2042
|
+
"name",
|
|
2043
|
+
"subcategories",
|
|
2044
|
+
],
|
|
2045
|
+
"type": "object",
|
|
2046
|
+
}
|
|
2047
|
+
`);
|
|
2048
|
+
});
|
|
2049
|
+
|
|
2050
|
+
test("simple interface", () => {
|
|
2051
|
+
const userSchema = z.object({
|
|
2052
|
+
name: z.string(),
|
|
2053
|
+
age: z.number().optional(),
|
|
2054
|
+
});
|
|
2055
|
+
|
|
2056
|
+
const result = z.toJSONSchema(userSchema);
|
|
2057
|
+
expect(result).toMatchInlineSnapshot(`
|
|
2058
|
+
{
|
|
2059
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2060
|
+
"additionalProperties": false,
|
|
2061
|
+
"properties": {
|
|
2062
|
+
"age": {
|
|
2063
|
+
"type": "number",
|
|
2064
|
+
},
|
|
2065
|
+
"name": {
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
},
|
|
2068
|
+
},
|
|
2069
|
+
"required": [
|
|
2070
|
+
"name",
|
|
2071
|
+
],
|
|
2072
|
+
"type": "object",
|
|
2073
|
+
}
|
|
2074
|
+
`);
|
|
2075
|
+
});
|
|
2076
|
+
|
|
2077
|
+
test("catchall interface", () => {
|
|
2078
|
+
const a = z.strictObject({
|
|
2079
|
+
name: z.string(),
|
|
2080
|
+
age: z.number(),
|
|
2081
|
+
});
|
|
2082
|
+
|
|
2083
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
2084
|
+
{
|
|
2085
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2086
|
+
"additionalProperties": false,
|
|
2087
|
+
"properties": {
|
|
2088
|
+
"age": {
|
|
2089
|
+
"type": "number",
|
|
2090
|
+
},
|
|
2091
|
+
"name": {
|
|
2092
|
+
"type": "string",
|
|
2093
|
+
},
|
|
2094
|
+
},
|
|
2095
|
+
"required": [
|
|
2096
|
+
"name",
|
|
2097
|
+
"age",
|
|
2098
|
+
],
|
|
2099
|
+
"type": "object",
|
|
2100
|
+
}
|
|
2101
|
+
`);
|
|
2102
|
+
|
|
2103
|
+
const b = z
|
|
2104
|
+
.object({
|
|
2105
|
+
name: z.string(),
|
|
2106
|
+
})
|
|
2107
|
+
.catchall(z.string());
|
|
2108
|
+
|
|
2109
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
2110
|
+
{
|
|
2111
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2112
|
+
"additionalProperties": {
|
|
2113
|
+
"type": "string",
|
|
2114
|
+
},
|
|
2115
|
+
"properties": {
|
|
2116
|
+
"name": {
|
|
2117
|
+
"type": "string",
|
|
2118
|
+
},
|
|
2119
|
+
},
|
|
2120
|
+
"required": [
|
|
2121
|
+
"name",
|
|
2122
|
+
],
|
|
2123
|
+
"type": "object",
|
|
2124
|
+
}
|
|
2125
|
+
`);
|
|
2126
|
+
|
|
2127
|
+
const c = z.looseObject({
|
|
2128
|
+
name: z.string(),
|
|
2129
|
+
});
|
|
2130
|
+
|
|
2131
|
+
expect(z.toJSONSchema(c)).toMatchInlineSnapshot(`
|
|
2132
|
+
{
|
|
2133
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2134
|
+
"additionalProperties": {},
|
|
2135
|
+
"properties": {
|
|
2136
|
+
"name": {
|
|
2137
|
+
"type": "string",
|
|
2138
|
+
},
|
|
2139
|
+
},
|
|
2140
|
+
"required": [
|
|
2141
|
+
"name",
|
|
2142
|
+
],
|
|
2143
|
+
"type": "object",
|
|
2144
|
+
}
|
|
2145
|
+
`);
|
|
2146
|
+
});
|
|
2147
|
+
|
|
2148
|
+
test("recursive interface schemas", () => {
|
|
2149
|
+
const TreeNodeSchema = z.object({
|
|
2150
|
+
id: z.string(),
|
|
2151
|
+
get children() {
|
|
2152
|
+
return TreeNodeSchema;
|
|
2153
|
+
},
|
|
2154
|
+
});
|
|
2155
|
+
|
|
2156
|
+
const result = z.toJSONSchema(TreeNodeSchema);
|
|
2157
|
+
|
|
2158
|
+
// Should have definitions for recursive schema
|
|
2159
|
+
expect(JSON.stringify(result, null, 2)).toMatchInlineSnapshot(
|
|
2160
|
+
`
|
|
2161
|
+
"{
|
|
2162
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2163
|
+
"type": "object",
|
|
2164
|
+
"properties": {
|
|
2165
|
+
"id": {
|
|
2166
|
+
"type": "string"
|
|
2167
|
+
},
|
|
2168
|
+
"children": {
|
|
2169
|
+
"$ref": "#"
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
"required": [
|
|
2173
|
+
"id",
|
|
2174
|
+
"children"
|
|
2175
|
+
],
|
|
2176
|
+
"additionalProperties": false
|
|
2177
|
+
}"
|
|
2178
|
+
`
|
|
2179
|
+
);
|
|
2180
|
+
});
|
|
2181
|
+
|
|
2182
|
+
test("mutually recursive interface schemas", () => {
|
|
2183
|
+
const FolderSchema = z.object({
|
|
2184
|
+
name: z.string(),
|
|
2185
|
+
get files() {
|
|
2186
|
+
return z.array(FileSchema);
|
|
2187
|
+
},
|
|
2188
|
+
});
|
|
2189
|
+
|
|
2190
|
+
const FileSchema = z.object({
|
|
2191
|
+
name: z.string(),
|
|
2192
|
+
get parent() {
|
|
2193
|
+
return FolderSchema;
|
|
2194
|
+
},
|
|
2195
|
+
});
|
|
2196
|
+
|
|
2197
|
+
const result = z.toJSONSchema(FolderSchema);
|
|
2198
|
+
|
|
2199
|
+
// Should have definitions for both schemas
|
|
2200
|
+
expect(JSON.stringify(result, null, 2)).toMatchInlineSnapshot(
|
|
2201
|
+
`
|
|
2202
|
+
"{
|
|
2203
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2204
|
+
"type": "object",
|
|
2205
|
+
"properties": {
|
|
2206
|
+
"name": {
|
|
2207
|
+
"type": "string"
|
|
2208
|
+
},
|
|
2209
|
+
"files": {
|
|
2210
|
+
"type": "array",
|
|
2211
|
+
"items": {
|
|
2212
|
+
"type": "object",
|
|
2213
|
+
"properties": {
|
|
2214
|
+
"name": {
|
|
2215
|
+
"type": "string"
|
|
2216
|
+
},
|
|
2217
|
+
"parent": {
|
|
2218
|
+
"$ref": "#"
|
|
2219
|
+
}
|
|
2220
|
+
},
|
|
2221
|
+
"required": [
|
|
2222
|
+
"name",
|
|
2223
|
+
"parent"
|
|
2224
|
+
],
|
|
2225
|
+
"additionalProperties": false
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
"required": [
|
|
2230
|
+
"name",
|
|
2231
|
+
"files"
|
|
2232
|
+
],
|
|
2233
|
+
"additionalProperties": false
|
|
2234
|
+
}"
|
|
2235
|
+
`
|
|
2236
|
+
);
|
|
2237
|
+
});
|
|
2238
|
+
});
|
|
2239
|
+
|
|
2240
|
+
test("override", () => {
|
|
2241
|
+
const schema = z.toJSONSchema(z.string(), {
|
|
2242
|
+
override: (ctx) => {
|
|
2243
|
+
ctx.zodSchema;
|
|
2244
|
+
ctx.jsonSchema;
|
|
2245
|
+
ctx.jsonSchema.whatever = "sup";
|
|
2246
|
+
},
|
|
2247
|
+
});
|
|
2248
|
+
expect(schema).toMatchInlineSnapshot(`
|
|
2249
|
+
{
|
|
2250
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"whatever": "sup",
|
|
2253
|
+
}
|
|
2254
|
+
`);
|
|
2255
|
+
});
|
|
2256
|
+
|
|
2257
|
+
test("override: do not run on references", () => {
|
|
2258
|
+
let overrideCount = 0;
|
|
2259
|
+
const schema = z
|
|
2260
|
+
.union([z.string().date(), z.string().datetime(), z.string().datetime({ local: true })])
|
|
2261
|
+
.meta({ a: true })
|
|
2262
|
+
.transform((str) => new Date(str))
|
|
2263
|
+
.meta({ b: true })
|
|
2264
|
+
.pipe(z.date())
|
|
2265
|
+
.meta({ c: true })
|
|
2266
|
+
.brand("dateIn");
|
|
2267
|
+
z.toJSONSchema(schema, {
|
|
2268
|
+
unrepresentable: "any",
|
|
2269
|
+
io: "input",
|
|
2270
|
+
override(_) {
|
|
2271
|
+
overrideCount++;
|
|
2272
|
+
},
|
|
2273
|
+
});
|
|
2274
|
+
|
|
2275
|
+
expect(overrideCount).toBe(12);
|
|
2276
|
+
});
|
|
2277
|
+
|
|
2278
|
+
test("override with refs", () => {
|
|
2279
|
+
const a = z.string().optional();
|
|
2280
|
+
const result = z.toJSONSchema(a, {
|
|
2281
|
+
override(ctx) {
|
|
2282
|
+
if (ctx.zodSchema._zod.def.type === "string") {
|
|
2283
|
+
ctx.jsonSchema.type = "STRING" as "string";
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
});
|
|
2287
|
+
|
|
2288
|
+
expect(result).toMatchInlineSnapshot(`
|
|
2289
|
+
{
|
|
2290
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2291
|
+
"type": "STRING",
|
|
2292
|
+
}
|
|
2293
|
+
`);
|
|
2294
|
+
});
|
|
2295
|
+
|
|
2296
|
+
test("override execution order", () => {
|
|
2297
|
+
const schema = z.union([z.string(), z.number()]);
|
|
2298
|
+
let unionSchema!: any;
|
|
2299
|
+
z.toJSONSchema(schema, {
|
|
2300
|
+
override(ctx) {
|
|
2301
|
+
if (ctx.zodSchema._zod.def.type === "union") {
|
|
2302
|
+
unionSchema = ctx.jsonSchema;
|
|
2303
|
+
}
|
|
2304
|
+
},
|
|
2305
|
+
});
|
|
2306
|
+
|
|
2307
|
+
expect(unionSchema).toMatchInlineSnapshot(`
|
|
2308
|
+
{
|
|
2309
|
+
"type": [
|
|
2310
|
+
"string",
|
|
2311
|
+
"number",
|
|
2312
|
+
],
|
|
2313
|
+
}
|
|
2314
|
+
`);
|
|
2315
|
+
});
|
|
2316
|
+
|
|
2317
|
+
test("override with path", () => {
|
|
2318
|
+
const userSchema = z.object({
|
|
2319
|
+
name: z.string(),
|
|
2320
|
+
age: z.number(),
|
|
2321
|
+
});
|
|
2322
|
+
|
|
2323
|
+
const capturedPaths: (string | number)[][] = [];
|
|
2324
|
+
|
|
2325
|
+
z.toJSONSchema(userSchema, {
|
|
2326
|
+
override(ctx) {
|
|
2327
|
+
capturedPaths.push(ctx.path);
|
|
2328
|
+
},
|
|
2329
|
+
});
|
|
2330
|
+
|
|
2331
|
+
expect(capturedPaths).toMatchInlineSnapshot(`
|
|
2332
|
+
[
|
|
2333
|
+
[
|
|
2334
|
+
"properties",
|
|
2335
|
+
"age",
|
|
2336
|
+
],
|
|
2337
|
+
[
|
|
2338
|
+
"properties",
|
|
2339
|
+
"name",
|
|
2340
|
+
],
|
|
2341
|
+
[],
|
|
2342
|
+
]
|
|
2343
|
+
`);
|
|
2344
|
+
});
|
|
2345
|
+
|
|
2346
|
+
test("pipe", () => {
|
|
2347
|
+
const mySchema = z
|
|
2348
|
+
.string()
|
|
2349
|
+
.transform((val) => val.length)
|
|
2350
|
+
.pipe(z.number());
|
|
2351
|
+
// ZodPipe
|
|
2352
|
+
|
|
2353
|
+
const a = z.toJSONSchema(mySchema);
|
|
2354
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2355
|
+
{
|
|
2356
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2357
|
+
"type": "number",
|
|
2358
|
+
}
|
|
2359
|
+
`);
|
|
2360
|
+
// => { type: "number" }
|
|
2361
|
+
|
|
2362
|
+
const b = z.toJSONSchema(mySchema, { io: "input" });
|
|
2363
|
+
expect(b).toMatchInlineSnapshot(`
|
|
2364
|
+
{
|
|
2365
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2366
|
+
"type": "string",
|
|
2367
|
+
}
|
|
2368
|
+
`);
|
|
2369
|
+
// => { type: "string" }
|
|
2370
|
+
});
|
|
2371
|
+
|
|
2372
|
+
test("passthrough schemas", () => {
|
|
2373
|
+
const Internal = z.object({
|
|
2374
|
+
num: z.number(),
|
|
2375
|
+
str: z.string(),
|
|
2376
|
+
});
|
|
2377
|
+
//.meta({ id: "Internal" });
|
|
2378
|
+
|
|
2379
|
+
const External = z.object({
|
|
2380
|
+
a: Internal,
|
|
2381
|
+
b: Internal.optional(),
|
|
2382
|
+
c: z.lazy(() => Internal),
|
|
2383
|
+
d: z.promise(Internal),
|
|
2384
|
+
e: z.pipe(Internal, Internal),
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
const result = z.toJSONSchema(External, {
|
|
2388
|
+
reused: "ref",
|
|
2389
|
+
});
|
|
2390
|
+
expect(result).toMatchInlineSnapshot(`
|
|
2391
|
+
{
|
|
2392
|
+
"$defs": {
|
|
2393
|
+
"__schema0": {
|
|
2394
|
+
"additionalProperties": false,
|
|
2395
|
+
"properties": {
|
|
2396
|
+
"num": {
|
|
2397
|
+
"type": "number",
|
|
2398
|
+
},
|
|
2399
|
+
"str": {
|
|
2400
|
+
"type": "string",
|
|
2401
|
+
},
|
|
2402
|
+
},
|
|
2403
|
+
"required": [
|
|
2404
|
+
"num",
|
|
2405
|
+
"str",
|
|
2406
|
+
],
|
|
2407
|
+
"type": "object",
|
|
2408
|
+
},
|
|
2409
|
+
},
|
|
2410
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2411
|
+
"additionalProperties": false,
|
|
2412
|
+
"properties": {
|
|
2413
|
+
"a": {
|
|
2414
|
+
"$ref": "#/$defs/__schema0",
|
|
2415
|
+
},
|
|
2416
|
+
"b": {
|
|
2417
|
+
"$ref": "#/$defs/__schema0",
|
|
2418
|
+
},
|
|
2419
|
+
"c": {
|
|
2420
|
+
"$ref": "#/$defs/__schema0",
|
|
2421
|
+
},
|
|
2422
|
+
"d": {
|
|
2423
|
+
"$ref": "#/$defs/__schema0",
|
|
2424
|
+
},
|
|
2425
|
+
"e": {
|
|
2426
|
+
"$ref": "#/$defs/__schema0",
|
|
2427
|
+
},
|
|
2428
|
+
},
|
|
2429
|
+
"required": [
|
|
2430
|
+
"a",
|
|
2431
|
+
"c",
|
|
2432
|
+
"d",
|
|
2433
|
+
"e",
|
|
2434
|
+
],
|
|
2435
|
+
"type": "object",
|
|
2436
|
+
}
|
|
2437
|
+
`);
|
|
2438
|
+
});
|
|
2439
|
+
|
|
2440
|
+
test("extract schemas with id", () => {
|
|
2441
|
+
const name = z.string().meta({ id: "name" });
|
|
2442
|
+
const result = z.toJSONSchema(
|
|
2443
|
+
z.object({
|
|
2444
|
+
first_name: name,
|
|
2445
|
+
last_name: name.nullable(),
|
|
2446
|
+
middle_name: name.optional(),
|
|
2447
|
+
age: z.number().meta({ id: "age" }),
|
|
2448
|
+
})
|
|
2449
|
+
);
|
|
2450
|
+
expect(result).toMatchInlineSnapshot(`
|
|
2451
|
+
{
|
|
2452
|
+
"$defs": {
|
|
2453
|
+
"age": {
|
|
2454
|
+
"type": "number",
|
|
2455
|
+
},
|
|
2456
|
+
"name": {
|
|
2457
|
+
"type": "string",
|
|
2458
|
+
},
|
|
2459
|
+
},
|
|
2460
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2461
|
+
"additionalProperties": false,
|
|
2462
|
+
"properties": {
|
|
2463
|
+
"age": {
|
|
2464
|
+
"$ref": "#/$defs/age",
|
|
2465
|
+
},
|
|
2466
|
+
"first_name": {
|
|
2467
|
+
"$ref": "#/$defs/name",
|
|
2468
|
+
},
|
|
2469
|
+
"last_name": {
|
|
2470
|
+
"anyOf": [
|
|
2471
|
+
{
|
|
2472
|
+
"$ref": "#/$defs/name",
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"type": "null",
|
|
2476
|
+
},
|
|
2477
|
+
],
|
|
2478
|
+
},
|
|
2479
|
+
"middle_name": {
|
|
2480
|
+
"$ref": "#/$defs/name",
|
|
2481
|
+
},
|
|
2482
|
+
},
|
|
2483
|
+
"required": [
|
|
2484
|
+
"first_name",
|
|
2485
|
+
"last_name",
|
|
2486
|
+
"age",
|
|
2487
|
+
],
|
|
2488
|
+
"type": "object",
|
|
2489
|
+
}
|
|
2490
|
+
`);
|
|
2491
|
+
});
|
|
2492
|
+
|
|
2493
|
+
test("escapes JSON Pointer reserved characters in $ref but not in $defs key", () => {
|
|
2494
|
+
const User = z.object({ name: z.string() }).meta({ id: "Shared/User~" });
|
|
2495
|
+
const result = z.toJSONSchema(z.object({ User }));
|
|
2496
|
+
// the $ref pointer escapes `/` -> `~1` and `~` -> `~0` (RFC 6901),
|
|
2497
|
+
// while the $defs key keeps the original id
|
|
2498
|
+
expect((result.properties!.User as any).$ref).toBe("#/$defs/Shared~1User~0");
|
|
2499
|
+
expect(Object.keys(result.$defs!)).toEqual(["Shared/User~"]);
|
|
2500
|
+
});
|
|
2501
|
+
|
|
2502
|
+
test("escapes JSON Pointer reserved characters in the root $ref", () => {
|
|
2503
|
+
const User = z.object({ name: z.string() }).meta({ id: "Shared/User~" });
|
|
2504
|
+
const result = z.toJSONSchema(User);
|
|
2505
|
+
expect(result.$ref).toBe("#/$defs/Shared~1User~0");
|
|
2506
|
+
expect(Object.keys(result.$defs!)).toEqual(["Shared/User~"]);
|
|
2507
|
+
});
|
|
2508
|
+
|
|
2509
|
+
test("a multipleOf divisor JSON Schema cannot express goes through `unrepresentable`", () => {
|
|
2510
|
+
// the keyword must be strictly greater than zero, and NaN/Infinity do not survive JSON at all
|
|
2511
|
+
for (const divisor of [0, Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]) {
|
|
2512
|
+
expect(() => z.toJSONSchema(z.number().multipleOf(divisor))).toThrow(/cannot be represented in JSON Schema/);
|
|
2513
|
+
expect(z.toJSONSchema(z.number().multipleOf(divisor), { unrepresentable: "any" })).toMatchObject({
|
|
2514
|
+
type: "number",
|
|
2515
|
+
});
|
|
2516
|
+
expect(z.toJSONSchema(z.number().multipleOf(divisor), { unrepresentable: "any" })).not.toHaveProperty("multipleOf");
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
// a negative divisor accepts exactly what its absolute value accepts, so it still maps
|
|
2520
|
+
expect(z.number().multipleOf(-5).safeParse(10).success).toEqual(true);
|
|
2521
|
+
expect(z.number().multipleOf(-5).safeParse(13).success).toEqual(false);
|
|
2522
|
+
expect(z.toJSONSchema(z.number().multipleOf(-5))).toMatchObject({ multipleOf: 5 });
|
|
2523
|
+
expect(z.toJSONSchema(z.number().multipleOf(0.1))).toMatchObject({ multipleOf: 0.1 });
|
|
2524
|
+
});
|
|
2525
|
+
|
|
2526
|
+
test("unrepresentable default values go through `unrepresentable`", () => {
|
|
2527
|
+
// a bigint default has no reliable JSON encoding, so it is dropped rather than approximated
|
|
2528
|
+
expect(z.toJSONSchema(z.bigint().default(0n), { unrepresentable: "any" })).toMatchInlineSnapshot(`
|
|
2529
|
+
{
|
|
2530
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2531
|
+
}
|
|
2532
|
+
`);
|
|
2533
|
+
expect(z.toJSONSchema(z.bigint().prefault(2n), { io: "input", unrepresentable: "any" })).toMatchInlineSnapshot(`
|
|
2534
|
+
{
|
|
2535
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2536
|
+
}
|
|
2537
|
+
`);
|
|
2538
|
+
// including when nested inside an otherwise representable default
|
|
2539
|
+
expect(
|
|
2540
|
+
z.toJSONSchema(z.object({ a: z.bigint() }).default({ a: 1n }), { unrepresentable: "any" })
|
|
2541
|
+
).toMatchInlineSnapshot(`
|
|
2542
|
+
{
|
|
2543
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2544
|
+
"additionalProperties": false,
|
|
2545
|
+
"properties": {
|
|
2546
|
+
"a": {},
|
|
2547
|
+
},
|
|
2548
|
+
"required": [
|
|
2549
|
+
"a",
|
|
2550
|
+
],
|
|
2551
|
+
"type": "object",
|
|
2552
|
+
}
|
|
2553
|
+
`);
|
|
2554
|
+
|
|
2555
|
+
// under the default strict mode the inner type throws first; a representable inner type surfaces the default's own error rather than a raw `JSON.stringify` TypeError
|
|
2556
|
+
expect(() => z.toJSONSchema(z.bigint().default(0n))).toThrow("BigInt cannot be represented in JSON Schema");
|
|
2557
|
+
expect(() => z.toJSONSchema(z.unknown().default(1n))).toThrow("BigInt defaults cannot be represented in JSON Schema");
|
|
2558
|
+
|
|
2559
|
+
// representable defaults are untouched
|
|
2560
|
+
expect(z.toJSONSchema(z.object({ a: z.number() }).default({ a: 2 }))).toMatchInlineSnapshot(`
|
|
2561
|
+
{
|
|
2562
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2563
|
+
"additionalProperties": false,
|
|
2564
|
+
"default": {
|
|
2565
|
+
"a": 2,
|
|
2566
|
+
},
|
|
2567
|
+
"properties": {
|
|
2568
|
+
"a": {
|
|
2569
|
+
"type": "number",
|
|
2570
|
+
},
|
|
2571
|
+
},
|
|
2572
|
+
"required": [
|
|
2573
|
+
"a",
|
|
2574
|
+
],
|
|
2575
|
+
"type": "object",
|
|
2576
|
+
}
|
|
2577
|
+
`);
|
|
2578
|
+
});
|
|
2579
|
+
|
|
2580
|
+
test("an `unrepresentable` handler can represent a bigint default", () => {
|
|
2581
|
+
// one handler covers both the type and its default, so no `unrepresentable: "any"` is needed and every other unrepresentable type still throws
|
|
2582
|
+
expect(
|
|
2583
|
+
z.toJSONSchema(z.object({ startAt: z.coerce.bigint().optional().default(0n) }), {
|
|
2584
|
+
io: "input",
|
|
2585
|
+
unrepresentable: ({ zodSchema }) => {
|
|
2586
|
+
const def = zodSchema._zod.def;
|
|
2587
|
+
if (def.type === "bigint") return { type: "integer", format: "int64" };
|
|
2588
|
+
if (def.type === "default") return { default: String(def.defaultValue) };
|
|
2589
|
+
return "throw";
|
|
2590
|
+
},
|
|
2591
|
+
})
|
|
2592
|
+
).toMatchInlineSnapshot(`
|
|
2593
|
+
{
|
|
2594
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2595
|
+
"properties": {
|
|
2596
|
+
"startAt": {
|
|
2597
|
+
"default": "0",
|
|
2598
|
+
"format": "int64",
|
|
2599
|
+
"type": "integer",
|
|
2600
|
+
},
|
|
2601
|
+
},
|
|
2602
|
+
"type": "object",
|
|
2603
|
+
}
|
|
2604
|
+
`);
|
|
2605
|
+
|
|
2606
|
+
// a handler may also drop just the default while still representing the type
|
|
2607
|
+
expect(
|
|
2608
|
+
z.toJSONSchema(z.bigint().default(0n), {
|
|
2609
|
+
unrepresentable: ({ zodSchema }) =>
|
|
2610
|
+
zodSchema._zod.def.type === "bigint" ? { type: "integer", format: "int64" } : "any",
|
|
2611
|
+
})
|
|
2612
|
+
).toMatchInlineSnapshot(`
|
|
2613
|
+
{
|
|
2614
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2615
|
+
"format": "int64",
|
|
2616
|
+
"type": "integer",
|
|
2617
|
+
}
|
|
2618
|
+
`);
|
|
2619
|
+
});
|
|
2620
|
+
|
|
2621
|
+
test("unrepresentable literal values are ignored", () => {
|
|
2622
|
+
const a = z.toJSONSchema(z.literal(["hello", null, 5, BigInt(1324), undefined]), { unrepresentable: "any" });
|
|
2623
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2624
|
+
{
|
|
2625
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2626
|
+
"enum": [
|
|
2627
|
+
"hello",
|
|
2628
|
+
null,
|
|
2629
|
+
5,
|
|
2630
|
+
1324,
|
|
2631
|
+
],
|
|
2632
|
+
}
|
|
2633
|
+
`);
|
|
2634
|
+
|
|
2635
|
+
const b = z.toJSONSchema(z.literal([undefined, null, 5, BigInt(1324)]), {
|
|
2636
|
+
unrepresentable: "any",
|
|
2637
|
+
});
|
|
2638
|
+
expect(b).toMatchInlineSnapshot(`
|
|
2639
|
+
{
|
|
2640
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2641
|
+
"enum": [
|
|
2642
|
+
null,
|
|
2643
|
+
5,
|
|
2644
|
+
1324,
|
|
2645
|
+
],
|
|
2646
|
+
}
|
|
2647
|
+
`);
|
|
2648
|
+
|
|
2649
|
+
const c = z.toJSONSchema(z.literal([undefined]), {
|
|
2650
|
+
unrepresentable: "any",
|
|
2651
|
+
});
|
|
2652
|
+
expect(c).toMatchInlineSnapshot(`
|
|
2653
|
+
{
|
|
2654
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2655
|
+
}
|
|
2656
|
+
`);
|
|
2657
|
+
});
|
|
2658
|
+
|
|
2659
|
+
test("describe with id", () => {
|
|
2660
|
+
const jobId = z.string().meta({ id: "jobId" });
|
|
2661
|
+
|
|
2662
|
+
const a = z.toJSONSchema(
|
|
2663
|
+
z.object({
|
|
2664
|
+
current: jobId.describe("Current job"),
|
|
2665
|
+
previous: jobId.describe("Previous job"),
|
|
2666
|
+
})
|
|
2667
|
+
);
|
|
2668
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2669
|
+
{
|
|
2670
|
+
"$defs": {
|
|
2671
|
+
"jobId": {
|
|
2672
|
+
"type": "string",
|
|
2673
|
+
},
|
|
2674
|
+
},
|
|
2675
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2676
|
+
"additionalProperties": false,
|
|
2677
|
+
"properties": {
|
|
2678
|
+
"current": {
|
|
2679
|
+
"$ref": "#/$defs/jobId",
|
|
2680
|
+
"description": "Current job",
|
|
2681
|
+
},
|
|
2682
|
+
"previous": {
|
|
2683
|
+
"$ref": "#/$defs/jobId",
|
|
2684
|
+
"description": "Previous job",
|
|
2685
|
+
},
|
|
2686
|
+
},
|
|
2687
|
+
"required": [
|
|
2688
|
+
"current",
|
|
2689
|
+
"previous",
|
|
2690
|
+
],
|
|
2691
|
+
"type": "object",
|
|
2692
|
+
}
|
|
2693
|
+
`);
|
|
2694
|
+
});
|
|
2695
|
+
|
|
2696
|
+
test("id is stripped from $defs entries (draft-2020-12)", () => {
|
|
2697
|
+
// The `id` in `.meta()` is a registration tag — it determines the $defs key but should not leak into the definition body, where it is redundant.
|
|
2698
|
+
const inner = z.string().meta({ id: "Inner" });
|
|
2699
|
+
const result = z.toJSONSchema(z.object({ a: inner, b: inner }));
|
|
2700
|
+
expect(result.$defs?.Inner).toEqual({ type: "string" });
|
|
2701
|
+
expect((result.$defs?.Inner as any).id).toBeUndefined();
|
|
2702
|
+
});
|
|
2703
|
+
|
|
2704
|
+
test("id is stripped from definitions entries (draft-04)", () => {
|
|
2705
|
+
// In draft-04, `id` is a reserved keyword that sets a base URI for the subschema. Leaking Zod's registration tag here is semantically wrong, so ensure it is stripped.
|
|
2706
|
+
const inner = z.string().meta({ id: "Inner" });
|
|
2707
|
+
const result = z.toJSONSchema(z.object({ a: inner, b: inner }), { target: "draft-04" }) as any;
|
|
2708
|
+
expect(result.definitions?.Inner).toEqual({ type: "string" });
|
|
2709
|
+
expect(result.definitions?.Inner?.id).toBeUndefined();
|
|
2710
|
+
});
|
|
2711
|
+
|
|
2712
|
+
test("id is stripped from root schema", () => {
|
|
2713
|
+
// The registration tag should not appear on the root either.
|
|
2714
|
+
const A = z.object({ name: z.string() }).meta({ id: "A" });
|
|
2715
|
+
const result = z.toJSONSchema(A);
|
|
2716
|
+
expect((result as any).id).toBeUndefined();
|
|
2717
|
+
});
|
|
2718
|
+
|
|
2719
|
+
test("root schema with id is hoisted into $defs", () => {
|
|
2720
|
+
const A = z.object({ name: z.string() }).meta({ id: "A" });
|
|
2721
|
+
const result = z.toJSONSchema(A);
|
|
2722
|
+
|
|
2723
|
+
expect(result).toEqual({
|
|
2724
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
2725
|
+
$ref: "#/$defs/A",
|
|
2726
|
+
$defs: {
|
|
2727
|
+
A: {
|
|
2728
|
+
type: "object",
|
|
2729
|
+
properties: {
|
|
2730
|
+
name: {
|
|
2731
|
+
type: "string",
|
|
2732
|
+
},
|
|
2733
|
+
},
|
|
2734
|
+
required: ["name"],
|
|
2735
|
+
additionalProperties: false,
|
|
2736
|
+
},
|
|
2737
|
+
},
|
|
2738
|
+
});
|
|
2739
|
+
});
|
|
2740
|
+
|
|
2741
|
+
test("root schema with id uses definitions on legacy targets", () => {
|
|
2742
|
+
const A = z.object({ name: z.string() }).meta({ id: "A" });
|
|
2743
|
+
const result = z.toJSONSchema(A, { target: "draft-07" });
|
|
2744
|
+
|
|
2745
|
+
expect(result).toEqual({
|
|
2746
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
2747
|
+
$ref: "#/definitions/A",
|
|
2748
|
+
definitions: {
|
|
2749
|
+
A: {
|
|
2750
|
+
type: "object",
|
|
2751
|
+
properties: {
|
|
2752
|
+
name: {
|
|
2753
|
+
type: "string",
|
|
2754
|
+
},
|
|
2755
|
+
},
|
|
2756
|
+
required: ["name"],
|
|
2757
|
+
additionalProperties: false,
|
|
2758
|
+
},
|
|
2759
|
+
},
|
|
2760
|
+
});
|
|
2761
|
+
});
|
|
2762
|
+
|
|
2763
|
+
test("id is observable in override callback", () => {
|
|
2764
|
+
// The strip happens after override callbacks run, so userland override code can still read `jsonSchema.id` if it wants to.
|
|
2765
|
+
const inner = z.string().meta({ id: "Inner" });
|
|
2766
|
+
const seenIds: Array<string | undefined> = [];
|
|
2767
|
+
z.toJSONSchema(z.object({ a: inner }), {
|
|
2768
|
+
override: ({ jsonSchema }) => {
|
|
2769
|
+
if (jsonSchema.id !== undefined) seenIds.push(jsonSchema.id as string);
|
|
2770
|
+
},
|
|
2771
|
+
});
|
|
2772
|
+
expect(seenIds).toContain("Inner");
|
|
2773
|
+
});
|
|
2774
|
+
|
|
2775
|
+
test("describe with id on wrapper", () => {
|
|
2776
|
+
// Test that $ref propagation works when processor sets a different ref (readonly -> innerType) but parent was extracted due to having an id
|
|
2777
|
+
const roJobId = z.string().readonly().meta({ id: "roJobId" });
|
|
2778
|
+
|
|
2779
|
+
const a = z.toJSONSchema(
|
|
2780
|
+
z.object({
|
|
2781
|
+
current: roJobId.describe("Current readonly job"),
|
|
2782
|
+
previous: roJobId.describe("Previous readonly job"),
|
|
2783
|
+
})
|
|
2784
|
+
);
|
|
2785
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2786
|
+
{
|
|
2787
|
+
"$defs": {
|
|
2788
|
+
"roJobId": {
|
|
2789
|
+
"readOnly": true,
|
|
2790
|
+
"type": "string",
|
|
2791
|
+
},
|
|
2792
|
+
},
|
|
2793
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2794
|
+
"additionalProperties": false,
|
|
2795
|
+
"properties": {
|
|
2796
|
+
"current": {
|
|
2797
|
+
"$ref": "#/$defs/roJobId",
|
|
2798
|
+
"description": "Current readonly job",
|
|
2799
|
+
},
|
|
2800
|
+
"previous": {
|
|
2801
|
+
"$ref": "#/$defs/roJobId",
|
|
2802
|
+
"description": "Previous readonly job",
|
|
2803
|
+
},
|
|
2804
|
+
},
|
|
2805
|
+
"required": [
|
|
2806
|
+
"current",
|
|
2807
|
+
"previous",
|
|
2808
|
+
],
|
|
2809
|
+
"type": "object",
|
|
2810
|
+
}
|
|
2811
|
+
`);
|
|
2812
|
+
});
|
|
2813
|
+
|
|
2814
|
+
test("overwrite id", () => {
|
|
2815
|
+
const jobId = z.string().meta({ id: "aaa" });
|
|
2816
|
+
|
|
2817
|
+
const a = z.toJSONSchema(
|
|
2818
|
+
z.object({
|
|
2819
|
+
current: jobId,
|
|
2820
|
+
previous: jobId.meta({ id: "bbb" }),
|
|
2821
|
+
})
|
|
2822
|
+
);
|
|
2823
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2824
|
+
{
|
|
2825
|
+
"$defs": {
|
|
2826
|
+
"aaa": {
|
|
2827
|
+
"type": "string",
|
|
2828
|
+
},
|
|
2829
|
+
"bbb": {
|
|
2830
|
+
"$ref": "#/$defs/aaa",
|
|
2831
|
+
},
|
|
2832
|
+
},
|
|
2833
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2834
|
+
"additionalProperties": false,
|
|
2835
|
+
"properties": {
|
|
2836
|
+
"current": {
|
|
2837
|
+
"$ref": "#/$defs/aaa",
|
|
2838
|
+
},
|
|
2839
|
+
"previous": {
|
|
2840
|
+
"$ref": "#/$defs/bbb",
|
|
2841
|
+
},
|
|
2842
|
+
},
|
|
2843
|
+
"required": [
|
|
2844
|
+
"current",
|
|
2845
|
+
"previous",
|
|
2846
|
+
],
|
|
2847
|
+
"type": "object",
|
|
2848
|
+
}
|
|
2849
|
+
`);
|
|
2850
|
+
|
|
2851
|
+
const b = z.toJSONSchema(
|
|
2852
|
+
z.object({
|
|
2853
|
+
current: jobId,
|
|
2854
|
+
previous: jobId.meta({ id: "ccc" }),
|
|
2855
|
+
}),
|
|
2856
|
+
{
|
|
2857
|
+
reused: "ref",
|
|
2858
|
+
}
|
|
2859
|
+
);
|
|
2860
|
+
expect(b).toMatchInlineSnapshot(`
|
|
2861
|
+
{
|
|
2862
|
+
"$defs": {
|
|
2863
|
+
"aaa": {
|
|
2864
|
+
"type": "string",
|
|
2865
|
+
},
|
|
2866
|
+
"ccc": {
|
|
2867
|
+
"$ref": "#/$defs/aaa",
|
|
2868
|
+
},
|
|
2869
|
+
},
|
|
2870
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2871
|
+
"additionalProperties": false,
|
|
2872
|
+
"properties": {
|
|
2873
|
+
"current": {
|
|
2874
|
+
"$ref": "#/$defs/aaa",
|
|
2875
|
+
},
|
|
2876
|
+
"previous": {
|
|
2877
|
+
"$ref": "#/$defs/ccc",
|
|
2878
|
+
},
|
|
2879
|
+
},
|
|
2880
|
+
"required": [
|
|
2881
|
+
"current",
|
|
2882
|
+
"previous",
|
|
2883
|
+
],
|
|
2884
|
+
"type": "object",
|
|
2885
|
+
}
|
|
2886
|
+
`);
|
|
2887
|
+
});
|
|
2888
|
+
|
|
2889
|
+
test("overwrite descriptions", () => {
|
|
2890
|
+
const field = z.string().describe("a").describe("b").describe("c");
|
|
2891
|
+
|
|
2892
|
+
const a = z.toJSONSchema(
|
|
2893
|
+
z.object({
|
|
2894
|
+
d: field.describe("d"),
|
|
2895
|
+
e: field.describe("e"),
|
|
2896
|
+
})
|
|
2897
|
+
);
|
|
2898
|
+
expect(a).toMatchInlineSnapshot(`
|
|
2899
|
+
{
|
|
2900
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2901
|
+
"additionalProperties": false,
|
|
2902
|
+
"properties": {
|
|
2903
|
+
"d": {
|
|
2904
|
+
"description": "d",
|
|
2905
|
+
"type": "string",
|
|
2906
|
+
},
|
|
2907
|
+
"e": {
|
|
2908
|
+
"description": "e",
|
|
2909
|
+
"type": "string",
|
|
2910
|
+
},
|
|
2911
|
+
},
|
|
2912
|
+
"required": [
|
|
2913
|
+
"d",
|
|
2914
|
+
"e",
|
|
2915
|
+
],
|
|
2916
|
+
"type": "object",
|
|
2917
|
+
}
|
|
2918
|
+
`);
|
|
2919
|
+
|
|
2920
|
+
const b = z.toJSONSchema(
|
|
2921
|
+
z.object({
|
|
2922
|
+
d: field.describe("d"),
|
|
2923
|
+
e: field.describe("e"),
|
|
2924
|
+
}),
|
|
2925
|
+
{
|
|
2926
|
+
reused: "ref",
|
|
2927
|
+
}
|
|
2928
|
+
);
|
|
2929
|
+
expect(b).toMatchInlineSnapshot(`
|
|
2930
|
+
{
|
|
2931
|
+
"$defs": {
|
|
2932
|
+
"__schema0": {
|
|
2933
|
+
"description": "c",
|
|
2934
|
+
"type": "string",
|
|
2935
|
+
},
|
|
2936
|
+
},
|
|
2937
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2938
|
+
"additionalProperties": false,
|
|
2939
|
+
"properties": {
|
|
2940
|
+
"d": {
|
|
2941
|
+
"$ref": "#/$defs/__schema0",
|
|
2942
|
+
"description": "d",
|
|
2943
|
+
},
|
|
2944
|
+
"e": {
|
|
2945
|
+
"$ref": "#/$defs/__schema0",
|
|
2946
|
+
"description": "e",
|
|
2947
|
+
},
|
|
2948
|
+
},
|
|
2949
|
+
"required": [
|
|
2950
|
+
"d",
|
|
2951
|
+
"e",
|
|
2952
|
+
],
|
|
2953
|
+
"type": "object",
|
|
2954
|
+
}
|
|
2955
|
+
`);
|
|
2956
|
+
});
|
|
2957
|
+
|
|
2958
|
+
test("top-level readonly", () => {
|
|
2959
|
+
const A = z
|
|
2960
|
+
.object({
|
|
2961
|
+
name: z.string(),
|
|
2962
|
+
get b() {
|
|
2963
|
+
return B;
|
|
2964
|
+
},
|
|
2965
|
+
})
|
|
2966
|
+
.readonly()
|
|
2967
|
+
.meta({ id: "A" });
|
|
2968
|
+
// z.globalRegistry.add(A, { id: "A" });
|
|
2969
|
+
// .meta({ id: "A" });
|
|
2970
|
+
|
|
2971
|
+
const B = z
|
|
2972
|
+
.object({
|
|
2973
|
+
name: z.string(),
|
|
2974
|
+
get a() {
|
|
2975
|
+
return A;
|
|
2976
|
+
},
|
|
2977
|
+
})
|
|
2978
|
+
.readonly()
|
|
2979
|
+
.meta({ id: "B" });
|
|
2980
|
+
// z.globalRegistry.add(B, { id: "B" });
|
|
2981
|
+
// .meta({ id: "B" });
|
|
2982
|
+
|
|
2983
|
+
const result = z.toJSONSchema(A);
|
|
2984
|
+
expect(result).toEqual({
|
|
2985
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
2986
|
+
$ref: "#/$defs/A",
|
|
2987
|
+
$defs: {
|
|
2988
|
+
A: {
|
|
2989
|
+
additionalProperties: false,
|
|
2990
|
+
properties: {
|
|
2991
|
+
b: {
|
|
2992
|
+
$ref: "#/$defs/B",
|
|
2993
|
+
},
|
|
2994
|
+
name: {
|
|
2995
|
+
type: "string",
|
|
2996
|
+
},
|
|
2997
|
+
},
|
|
2998
|
+
readOnly: true,
|
|
2999
|
+
required: ["name", "b"],
|
|
3000
|
+
type: "object",
|
|
3001
|
+
},
|
|
3002
|
+
B: {
|
|
3003
|
+
additionalProperties: false,
|
|
3004
|
+
properties: {
|
|
3005
|
+
a: {
|
|
3006
|
+
$ref: "#/$defs/A",
|
|
3007
|
+
},
|
|
3008
|
+
name: {
|
|
3009
|
+
type: "string",
|
|
3010
|
+
},
|
|
3011
|
+
},
|
|
3012
|
+
readOnly: true,
|
|
3013
|
+
required: ["name", "a"],
|
|
3014
|
+
type: "object",
|
|
3015
|
+
},
|
|
3016
|
+
},
|
|
3017
|
+
});
|
|
3018
|
+
});
|
|
3019
|
+
|
|
3020
|
+
test("basic registry", () => {
|
|
3021
|
+
const myRegistry = z.registry<{ id: string }>();
|
|
3022
|
+
const User = z.object({
|
|
3023
|
+
name: z.string(),
|
|
3024
|
+
get posts() {
|
|
3025
|
+
return z.array(Post);
|
|
3026
|
+
},
|
|
3027
|
+
});
|
|
3028
|
+
|
|
3029
|
+
const Post = z.object({
|
|
3030
|
+
title: z.string(),
|
|
3031
|
+
content: z.string(),
|
|
3032
|
+
get author() {
|
|
3033
|
+
return User;
|
|
3034
|
+
},
|
|
3035
|
+
});
|
|
3036
|
+
|
|
3037
|
+
myRegistry.add(User, { id: "User" });
|
|
3038
|
+
myRegistry.add(Post, { id: "Post" });
|
|
3039
|
+
|
|
3040
|
+
const result = z.toJSONSchema(myRegistry, {
|
|
3041
|
+
uri: (id) => `https://example.com/${id}.json`,
|
|
3042
|
+
});
|
|
3043
|
+
expect(result).toMatchInlineSnapshot(`
|
|
3044
|
+
{
|
|
3045
|
+
"schemas": {
|
|
3046
|
+
"Post": {
|
|
3047
|
+
"$id": "https://example.com/Post.json",
|
|
3048
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3049
|
+
"additionalProperties": false,
|
|
3050
|
+
"properties": {
|
|
3051
|
+
"author": {
|
|
3052
|
+
"$ref": "https://example.com/User.json",
|
|
3053
|
+
},
|
|
3054
|
+
"content": {
|
|
3055
|
+
"type": "string",
|
|
3056
|
+
},
|
|
3057
|
+
"title": {
|
|
3058
|
+
"type": "string",
|
|
3059
|
+
},
|
|
3060
|
+
},
|
|
3061
|
+
"required": [
|
|
3062
|
+
"title",
|
|
3063
|
+
"content",
|
|
3064
|
+
"author",
|
|
3065
|
+
],
|
|
3066
|
+
"type": "object",
|
|
3067
|
+
},
|
|
3068
|
+
"User": {
|
|
3069
|
+
"$id": "https://example.com/User.json",
|
|
3070
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3071
|
+
"additionalProperties": false,
|
|
3072
|
+
"properties": {
|
|
3073
|
+
"name": {
|
|
3074
|
+
"type": "string",
|
|
3075
|
+
},
|
|
3076
|
+
"posts": {
|
|
3077
|
+
"items": {
|
|
3078
|
+
"$ref": "https://example.com/Post.json",
|
|
3079
|
+
},
|
|
3080
|
+
"type": "array",
|
|
3081
|
+
},
|
|
3082
|
+
},
|
|
3083
|
+
"required": [
|
|
3084
|
+
"name",
|
|
3085
|
+
"posts",
|
|
3086
|
+
],
|
|
3087
|
+
"type": "object",
|
|
3088
|
+
},
|
|
3089
|
+
},
|
|
3090
|
+
}
|
|
3091
|
+
`);
|
|
3092
|
+
});
|
|
3093
|
+
|
|
3094
|
+
test("large registry converts in linear time", () => {
|
|
3095
|
+
const count = 2000;
|
|
3096
|
+
const convert = (withIntersection: boolean) => {
|
|
3097
|
+
const registry = z.registry<{ id: string }>();
|
|
3098
|
+
for (let i = 0; i < count; i++) {
|
|
3099
|
+
registry.add(
|
|
3100
|
+
z.object({ id: z.string(), name: z.string(), count: z.number(), nested: z.object({ a: z.boolean() }) }),
|
|
3101
|
+
{ id: `Type${i}` }
|
|
3102
|
+
);
|
|
3103
|
+
}
|
|
3104
|
+
if (withIntersection) registry.add(z.object({ a: z.string() }).and(z.object({ b: z.string() })), { id: "Inter" });
|
|
3105
|
+
|
|
3106
|
+
const start = performance.now();
|
|
3107
|
+
const { schemas } = z.toJSONSchema(registry, { uri: (id) => `https://example.com/${id}.json` });
|
|
3108
|
+
return { schemas, elapsed: performance.now() - start };
|
|
3109
|
+
};
|
|
3110
|
+
|
|
3111
|
+
const plain = convert(false);
|
|
3112
|
+
expect(Object.keys(plain.schemas)).toHaveLength(count);
|
|
3113
|
+
expect(plain.schemas.Type0).toMatchObject({
|
|
3114
|
+
$id: "https://example.com/Type0.json",
|
|
3115
|
+
type: "object",
|
|
3116
|
+
properties: { nested: { type: "object" } },
|
|
3117
|
+
});
|
|
3118
|
+
expect(plain.schemas[`Type${count - 1}`]!.$id).toBe(`https://example.com/Type${count - 1}.json`);
|
|
3119
|
+
|
|
3120
|
+
// The whole-map passes in extractDefs/finalize used to re-run once per registered schema, which made this quadratic: ~9s of CPU at this size before the passes were hoisted, ~50ms after.
|
|
3121
|
+
expect(plain.elapsed).toBeLessThan(5000);
|
|
3122
|
+
|
|
3123
|
+
// The intersection fold walks the whole map as well, so it has to run inside the same guard. Hoisting it back out costs ~10x at this size. Comparing the two conversions rather than asserting a fixed budget keeps this independent of how fast the machine is.
|
|
3124
|
+
const folded = convert(true);
|
|
3125
|
+
expect(folded.schemas.Inter).toMatchObject({ type: "object", properties: { a: {}, b: {} } });
|
|
3126
|
+
expect(folded.elapsed).toBeLessThan(plain.elapsed * 4 + 100);
|
|
3127
|
+
});
|
|
3128
|
+
|
|
3129
|
+
test("a registry of records with numeric keys converts in linear time", () => {
|
|
3130
|
+
const count = 2000;
|
|
3131
|
+
const convert = (key: (i: number) => z.core.$ZodType) => {
|
|
3132
|
+
const registry = z.registry<{ id: string }>();
|
|
3133
|
+
for (let i = 0; i < count; i++) {
|
|
3134
|
+
registry.add(z.object({ m: z.record(key(i) as z.core.$ZodRecordKey, z.boolean()) }), { id: `Type${i}` });
|
|
3135
|
+
}
|
|
3136
|
+
const start = performance.now();
|
|
3137
|
+
const { schemas } = z.toJSONSchema(registry, { uri: (id) => `https://example.com/${id}.json` });
|
|
3138
|
+
return { schemas, elapsed: performance.now() - start };
|
|
3139
|
+
};
|
|
3140
|
+
|
|
3141
|
+
const string = convert(() => z.string());
|
|
3142
|
+
const numeric = convert(() => z.number());
|
|
3143
|
+
expect(numeric.schemas.Type0).toMatchObject({
|
|
3144
|
+
properties: { m: { propertyNames: { type: "string", pattern: "^-?\\d+(?:\\.\\d+)?$" } } },
|
|
3145
|
+
});
|
|
3146
|
+
|
|
3147
|
+
// The rewrite has to find every carrier the flatten copied `propertyNames` onto, which means a pass over the whole seen map. Running that once per record rather than once per conversion cost ~10x at this size. A string key needs no rewrite at all, so comparing against it keeps this independent of how fast the machine is.
|
|
3148
|
+
expect(numeric.elapsed).toBeLessThan(string.elapsed * 2 + 50);
|
|
3149
|
+
|
|
3150
|
+
// An extracted key resolves through a map built once per conversion rather than a search per reference. There is no stable timing control for that — extraction has its own $defs cost, which swamps the difference — so this only pins the shape.
|
|
3151
|
+
const extracted = convert((i) => z.number().meta({ id: `Key${i}` }));
|
|
3152
|
+
expect(extracted.schemas.Type0).toMatchObject({
|
|
3153
|
+
properties: { m: { propertyNames: { type: "string", pattern: "^-?\\d+(?:\\.\\d+)?$" } } },
|
|
3154
|
+
});
|
|
3155
|
+
});
|
|
3156
|
+
|
|
3157
|
+
test("registry extracts unregistered subschemas into __shared", () => {
|
|
3158
|
+
const registry = z.registry<{ id: string }>();
|
|
3159
|
+
const address = z.object({ street: z.string() }).meta({ id: "Address" });
|
|
3160
|
+
registry.add(z.object({ home: address, work: address }), { id: "Person" });
|
|
3161
|
+
registry.add(z.object({ hq: address }), { id: "Company" });
|
|
3162
|
+
|
|
3163
|
+
const { schemas } = z.toJSONSchema(registry, { uri: (id) => `https://example.com/${id}.json` });
|
|
3164
|
+
|
|
3165
|
+
expect(schemas.__shared).toMatchInlineSnapshot(`
|
|
3166
|
+
{
|
|
3167
|
+
"$defs": {
|
|
3168
|
+
"Address": {
|
|
3169
|
+
"additionalProperties": false,
|
|
3170
|
+
"properties": {
|
|
3171
|
+
"street": {
|
|
3172
|
+
"type": "string",
|
|
3173
|
+
},
|
|
3174
|
+
},
|
|
3175
|
+
"required": [
|
|
3176
|
+
"street",
|
|
3177
|
+
],
|
|
3178
|
+
"type": "object",
|
|
3179
|
+
},
|
|
3180
|
+
},
|
|
3181
|
+
}
|
|
3182
|
+
`);
|
|
3183
|
+
expect(schemas.Person).toMatchInlineSnapshot(`
|
|
3184
|
+
{
|
|
3185
|
+
"$id": "https://example.com/Person.json",
|
|
3186
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3187
|
+
"additionalProperties": false,
|
|
3188
|
+
"properties": {
|
|
3189
|
+
"home": {
|
|
3190
|
+
"$ref": "https://example.com/__shared.json#/$defs/Address",
|
|
3191
|
+
},
|
|
3192
|
+
"work": {
|
|
3193
|
+
"$ref": "https://example.com/__shared.json#/$defs/Address",
|
|
3194
|
+
},
|
|
3195
|
+
},
|
|
3196
|
+
"required": [
|
|
3197
|
+
"home",
|
|
3198
|
+
"work",
|
|
3199
|
+
],
|
|
3200
|
+
"type": "object",
|
|
3201
|
+
}
|
|
3202
|
+
`);
|
|
3203
|
+
// Company is emitted after Person, so it only resolves if the shared $defs built on the first finalize are still reachable — the pass that writes them no longer runs per schema.
|
|
3204
|
+
expect(schemas.Company!.properties!.hq).toEqual({
|
|
3205
|
+
$ref: "https://example.com/__shared.json#/$defs/Address",
|
|
3206
|
+
});
|
|
3207
|
+
});
|
|
3208
|
+
|
|
3209
|
+
test("registry extracts reused subschemas into __shared without an id", () => {
|
|
3210
|
+
const registry = z.registry<{ id: string }>();
|
|
3211
|
+
const shared = z.object({ q: z.string() });
|
|
3212
|
+
registry.add(z.object({ a: shared, b: shared }), { id: "First" });
|
|
3213
|
+
registry.add(z.object({ c: shared }), { id: "Second" });
|
|
3214
|
+
|
|
3215
|
+
const { schemas } = z.toJSONSchema(registry, { uri: (id) => `${id}.json`, reused: "ref" });
|
|
3216
|
+
|
|
3217
|
+
// The id is counter-generated, so this pins that ctx.counter is consumed exactly once.
|
|
3218
|
+
expect(Object.keys(schemas.__shared!.$defs!)).toEqual(["schema0"]);
|
|
3219
|
+
expect(schemas.First!.properties!.a).toEqual({ $ref: "__shared.json#/$defs/schema0" });
|
|
3220
|
+
expect(schemas.Second!.properties!.c).toEqual({ $ref: "__shared.json#/$defs/schema0" });
|
|
3221
|
+
});
|
|
3222
|
+
|
|
3223
|
+
test("JSONSchemaGenerator re-runs shared passes when emit params change", () => {
|
|
3224
|
+
const shared = z.object({ s: z.string() });
|
|
3225
|
+
const a = z.object({ x: shared, y: shared });
|
|
3226
|
+
const registry = z.registry<{ id: string }>();
|
|
3227
|
+
registry.add(a, { id: "A" });
|
|
3228
|
+
|
|
3229
|
+
const gen = new z.core.JSONSchemaGenerator({ target: "draft-2020-12" });
|
|
3230
|
+
gen.process(a);
|
|
3231
|
+
const defs: Record<string, any> = {};
|
|
3232
|
+
const external = { registry, uri: (id: string) => `${id}.json`, defs };
|
|
3233
|
+
|
|
3234
|
+
gen.emit(a, { external, reused: "inline" });
|
|
3235
|
+
// Same `external`, different `reused` — the second emit must still extract `shared`.
|
|
3236
|
+
const second: any = gen.emit(a, { external, reused: "ref" });
|
|
3237
|
+
|
|
3238
|
+
expect(Object.keys(defs)).toEqual(["schema0"]);
|
|
3239
|
+
expect(second.properties.x).toEqual({ $ref: "__shared.json#/$defs/schema0" });
|
|
3240
|
+
expect(second.properties.y).toEqual({ $ref: "__shared.json#/$defs/schema0" });
|
|
3241
|
+
});
|
|
3242
|
+
|
|
3243
|
+
test("JSONSchemaGenerator still throws on cycles when a later emit asks for it", () => {
|
|
3244
|
+
const Node: any = z.object({
|
|
3245
|
+
v: z.string(),
|
|
3246
|
+
get next() {
|
|
3247
|
+
return Node;
|
|
3248
|
+
},
|
|
3249
|
+
});
|
|
3250
|
+
const registry = z.registry<{ id: string }>();
|
|
3251
|
+
registry.add(Node, { id: "Node" });
|
|
3252
|
+
|
|
3253
|
+
const gen = new z.core.JSONSchemaGenerator({ target: "draft-2020-12" });
|
|
3254
|
+
gen.process(Node);
|
|
3255
|
+
const external = { registry, uri: (id: string) => `${id}.json`, defs: {} };
|
|
3256
|
+
|
|
3257
|
+
gen.emit(Node, { external, cycles: "ref" });
|
|
3258
|
+
expect(() => gen.emit(Node, { external, cycles: "throw" })).toThrow(/Cycle detected/);
|
|
3259
|
+
});
|
|
3260
|
+
|
|
3261
|
+
test("JSONSchemaGenerator re-runs shared passes on a no-params emit", () => {
|
|
3262
|
+
const shared = z.object({ s: z.string() });
|
|
3263
|
+
const a = z.object({ x: shared });
|
|
3264
|
+
const registry = z.registry<{ id: string }>();
|
|
3265
|
+
registry.add(a, { id: "A" });
|
|
3266
|
+
|
|
3267
|
+
const gen = new z.core.JSONSchemaGenerator({ target: "draft-2020-12" });
|
|
3268
|
+
gen.process(a);
|
|
3269
|
+
const defs: Record<string, any> = {};
|
|
3270
|
+
gen.emit(a, { external: { registry, uri: (id: string) => `${id}.json`, defs }, reused: "ref" });
|
|
3271
|
+
|
|
3272
|
+
// Re-processing an already-seen schema bumps `seen.count`, which `extractDefs` branches on under `reused: "ref"` — and it returns early, so it cannot clear the guards itself.
|
|
3273
|
+
gen.process(shared);
|
|
3274
|
+
const second: any = gen.emit(a);
|
|
3275
|
+
|
|
3276
|
+
expect(Object.keys(defs)).toEqual(["schema0"]);
|
|
3277
|
+
expect(second.properties.x).toEqual({ $ref: "__shared.json#/$defs/schema0" });
|
|
3278
|
+
});
|
|
3279
|
+
|
|
3280
|
+
test("_ref", () => {
|
|
3281
|
+
// const a = z.promise(z.string().describe("a"));
|
|
3282
|
+
const a = z.toJSONSchema(z.promise(z.string().describe("a")));
|
|
3283
|
+
expect(a).toMatchInlineSnapshot(`
|
|
3284
|
+
{
|
|
3285
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3286
|
+
"description": "a",
|
|
3287
|
+
"type": "string",
|
|
3288
|
+
}
|
|
3289
|
+
`);
|
|
3290
|
+
|
|
3291
|
+
const b = z.toJSONSchema(z.lazy(() => z.string().describe("a")));
|
|
3292
|
+
expect(b).toMatchInlineSnapshot(`
|
|
3293
|
+
{
|
|
3294
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3295
|
+
"description": "a",
|
|
3296
|
+
"type": "string",
|
|
3297
|
+
}
|
|
3298
|
+
`);
|
|
3299
|
+
|
|
3300
|
+
const c = z.toJSONSchema(z.optional(z.string().describe("a")));
|
|
3301
|
+
expect(c).toMatchInlineSnapshot(`
|
|
3302
|
+
{
|
|
3303
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3304
|
+
"description": "a",
|
|
3305
|
+
"type": "string",
|
|
3306
|
+
}
|
|
3307
|
+
`);
|
|
3308
|
+
|
|
3309
|
+
const d = z.toJSONSchema(z.string().meta({ id: "foo" }).describe("bar").optional());
|
|
3310
|
+
expect(d).toMatchInlineSnapshot(`
|
|
3311
|
+
{
|
|
3312
|
+
"$defs": {
|
|
3313
|
+
"foo": {
|
|
3314
|
+
"type": "string",
|
|
3315
|
+
},
|
|
3316
|
+
},
|
|
3317
|
+
"$ref": "#/$defs/foo",
|
|
3318
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3319
|
+
"description": "bar",
|
|
3320
|
+
}
|
|
3321
|
+
`);
|
|
3322
|
+
});
|
|
3323
|
+
|
|
3324
|
+
test("defaults/prefaults", () => {
|
|
3325
|
+
const a = z
|
|
3326
|
+
.string()
|
|
3327
|
+
.transform((val) => val.length)
|
|
3328
|
+
.pipe(z.number());
|
|
3329
|
+
const b = a.prefault("hello");
|
|
3330
|
+
const c = a.default(1234);
|
|
3331
|
+
|
|
3332
|
+
// a
|
|
3333
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
3334
|
+
{
|
|
3335
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3336
|
+
"type": "number",
|
|
3337
|
+
}
|
|
3338
|
+
`);
|
|
3339
|
+
expect(z.toJSONSchema(a, { io: "input" })).toMatchInlineSnapshot(`
|
|
3340
|
+
{
|
|
3341
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3342
|
+
"type": "string",
|
|
3343
|
+
}
|
|
3344
|
+
`);
|
|
3345
|
+
|
|
3346
|
+
// b
|
|
3347
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
3348
|
+
{
|
|
3349
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3350
|
+
"type": "number",
|
|
3351
|
+
}
|
|
3352
|
+
`);
|
|
3353
|
+
expect(z.toJSONSchema(b, { io: "input" })).toMatchInlineSnapshot(`
|
|
3354
|
+
{
|
|
3355
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3356
|
+
"default": "hello",
|
|
3357
|
+
"type": "string",
|
|
3358
|
+
}
|
|
3359
|
+
`);
|
|
3360
|
+
// c
|
|
3361
|
+
expect(z.toJSONSchema(c)).toMatchInlineSnapshot(`
|
|
3362
|
+
{
|
|
3363
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3364
|
+
"default": 1234,
|
|
3365
|
+
"type": "number",
|
|
3366
|
+
}
|
|
3367
|
+
`);
|
|
3368
|
+
expect(z.toJSONSchema(c, { io: "input" })).toMatchInlineSnapshot(`
|
|
3369
|
+
{
|
|
3370
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3371
|
+
"type": "string",
|
|
3372
|
+
}
|
|
3373
|
+
`);
|
|
3374
|
+
});
|
|
3375
|
+
|
|
3376
|
+
test("catch on a transforming schema", () => {
|
|
3377
|
+
const a = z
|
|
3378
|
+
.string()
|
|
3379
|
+
.transform((val) => val.length)
|
|
3380
|
+
.pipe(z.number())
|
|
3381
|
+
.catch(0);
|
|
3382
|
+
|
|
3383
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
3384
|
+
{
|
|
3385
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3386
|
+
"default": 0,
|
|
3387
|
+
"type": "number",
|
|
3388
|
+
}
|
|
3389
|
+
`);
|
|
3390
|
+
// catch values are output-typed, so they are not valid input
|
|
3391
|
+
expect(z.toJSONSchema(a, { io: "input" })).toMatchInlineSnapshot(`
|
|
3392
|
+
{
|
|
3393
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3394
|
+
"type": "string",
|
|
3395
|
+
}
|
|
3396
|
+
`);
|
|
3397
|
+
|
|
3398
|
+
// the catch no longer hides the inner transform from ancestors, so their output-typed metadata is stripped too — matching a bare nested transform
|
|
3399
|
+
expect(z.toJSONSchema(z.object({ a }).meta({ examples: [{ a: 1 }] }), { io: "input" })).toMatchInlineSnapshot(`
|
|
3400
|
+
{
|
|
3401
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3402
|
+
"properties": {
|
|
3403
|
+
"a": {
|
|
3404
|
+
"type": "string",
|
|
3405
|
+
},
|
|
3406
|
+
},
|
|
3407
|
+
"required": [
|
|
3408
|
+
"a",
|
|
3409
|
+
],
|
|
3410
|
+
"type": "object",
|
|
3411
|
+
}
|
|
3412
|
+
`);
|
|
3413
|
+
});
|
|
3414
|
+
|
|
3415
|
+
test("falsy prefaults (false, 0, empty string)", () => {
|
|
3416
|
+
// boolean prefault false
|
|
3417
|
+
const a = z.boolean().prefault(false);
|
|
3418
|
+
expect(z.toJSONSchema(a, { io: "input" })).toMatchInlineSnapshot(`
|
|
3419
|
+
{
|
|
3420
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3421
|
+
"default": false,
|
|
3422
|
+
"type": "boolean",
|
|
3423
|
+
}
|
|
3424
|
+
`);
|
|
3425
|
+
|
|
3426
|
+
// number prefault 0
|
|
3427
|
+
const b = z.number().prefault(0);
|
|
3428
|
+
expect(z.toJSONSchema(b, { io: "input" })).toMatchInlineSnapshot(`
|
|
3429
|
+
{
|
|
3430
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3431
|
+
"default": 0,
|
|
3432
|
+
"type": "number",
|
|
3433
|
+
}
|
|
3434
|
+
`);
|
|
3435
|
+
|
|
3436
|
+
// string prefault empty string
|
|
3437
|
+
const c = z.string().prefault("");
|
|
3438
|
+
expect(z.toJSONSchema(c, { io: "input" })).toMatchInlineSnapshot(`
|
|
3439
|
+
{
|
|
3440
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3441
|
+
"default": "",
|
|
3442
|
+
"type": "string",
|
|
3443
|
+
}
|
|
3444
|
+
`);
|
|
3445
|
+
});
|
|
3446
|
+
|
|
3447
|
+
test("input type", () => {
|
|
3448
|
+
const schema = z.object({
|
|
3449
|
+
a: z.string(),
|
|
3450
|
+
b: z.string().optional(),
|
|
3451
|
+
c: z.string().default("hello"),
|
|
3452
|
+
d: z.string().nullable(),
|
|
3453
|
+
e: z.string().prefault("hello"),
|
|
3454
|
+
f: z.string().catch("hello"),
|
|
3455
|
+
g: z.never(),
|
|
3456
|
+
h: z.union([z.string(), z.number().default(2)]),
|
|
3457
|
+
i: z.union([z.string(), z.string().optional()]),
|
|
3458
|
+
});
|
|
3459
|
+
expect(z.toJSONSchema(schema, { io: "input" })).toMatchInlineSnapshot(`
|
|
3460
|
+
{
|
|
3461
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3462
|
+
"properties": {
|
|
3463
|
+
"a": {
|
|
3464
|
+
"type": "string",
|
|
3465
|
+
},
|
|
3466
|
+
"b": {
|
|
3467
|
+
"type": "string",
|
|
3468
|
+
},
|
|
3469
|
+
"c": {
|
|
3470
|
+
"default": "hello",
|
|
3471
|
+
"type": "string",
|
|
3472
|
+
},
|
|
3473
|
+
"d": {
|
|
3474
|
+
"type": [
|
|
3475
|
+
"string",
|
|
3476
|
+
"null",
|
|
3477
|
+
],
|
|
3478
|
+
},
|
|
3479
|
+
"e": {
|
|
3480
|
+
"default": "hello",
|
|
3481
|
+
"type": "string",
|
|
3482
|
+
},
|
|
3483
|
+
"f": {
|
|
3484
|
+
"default": "hello",
|
|
3485
|
+
"type": "string",
|
|
3486
|
+
},
|
|
3487
|
+
"g": {
|
|
3488
|
+
"not": {},
|
|
3489
|
+
},
|
|
3490
|
+
"h": {
|
|
3491
|
+
"anyOf": [
|
|
3492
|
+
{
|
|
3493
|
+
"type": "string",
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"default": 2,
|
|
3497
|
+
"type": "number",
|
|
3498
|
+
},
|
|
3499
|
+
],
|
|
3500
|
+
},
|
|
3501
|
+
"i": {
|
|
3502
|
+
"type": "string",
|
|
3503
|
+
},
|
|
3504
|
+
},
|
|
3505
|
+
"required": [
|
|
3506
|
+
"a",
|
|
3507
|
+
"d",
|
|
3508
|
+
"f",
|
|
3509
|
+
"g",
|
|
3510
|
+
],
|
|
3511
|
+
"type": "object",
|
|
3512
|
+
}
|
|
3513
|
+
`);
|
|
3514
|
+
expect(z.toJSONSchema(schema, { io: "output" })).toMatchInlineSnapshot(`
|
|
3515
|
+
{
|
|
3516
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3517
|
+
"additionalProperties": false,
|
|
3518
|
+
"properties": {
|
|
3519
|
+
"a": {
|
|
3520
|
+
"type": "string",
|
|
3521
|
+
},
|
|
3522
|
+
"b": {
|
|
3523
|
+
"type": "string",
|
|
3524
|
+
},
|
|
3525
|
+
"c": {
|
|
3526
|
+
"default": "hello",
|
|
3527
|
+
"type": "string",
|
|
3528
|
+
},
|
|
3529
|
+
"d": {
|
|
3530
|
+
"type": [
|
|
3531
|
+
"string",
|
|
3532
|
+
"null",
|
|
3533
|
+
],
|
|
3534
|
+
},
|
|
3535
|
+
"e": {
|
|
3536
|
+
"type": "string",
|
|
3537
|
+
},
|
|
3538
|
+
"f": {
|
|
3539
|
+
"default": "hello",
|
|
3540
|
+
"type": "string",
|
|
3541
|
+
},
|
|
3542
|
+
"g": {
|
|
3543
|
+
"not": {},
|
|
3544
|
+
},
|
|
3545
|
+
"h": {
|
|
3546
|
+
"anyOf": [
|
|
3547
|
+
{
|
|
3548
|
+
"type": "string",
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"default": 2,
|
|
3552
|
+
"type": "number",
|
|
3553
|
+
},
|
|
3554
|
+
],
|
|
3555
|
+
},
|
|
3556
|
+
"i": {
|
|
3557
|
+
"type": "string",
|
|
3558
|
+
},
|
|
3559
|
+
},
|
|
3560
|
+
"required": [
|
|
3561
|
+
"a",
|
|
3562
|
+
"c",
|
|
3563
|
+
"d",
|
|
3564
|
+
"e",
|
|
3565
|
+
"f",
|
|
3566
|
+
"g",
|
|
3567
|
+
"h",
|
|
3568
|
+
],
|
|
3569
|
+
"type": "object",
|
|
3570
|
+
}
|
|
3571
|
+
`);
|
|
3572
|
+
});
|
|
3573
|
+
|
|
3574
|
+
test("examples on pipe", () => {
|
|
3575
|
+
const schema = z
|
|
3576
|
+
.string()
|
|
3577
|
+
.meta({ examples: ["test"] })
|
|
3578
|
+
.transform(Number)
|
|
3579
|
+
// .pipe(z.transform(Number).meta({ examples: [4] }))
|
|
3580
|
+
.meta({ examples: [4] });
|
|
3581
|
+
|
|
3582
|
+
const i = z.toJSONSchema(schema, { io: "input", unrepresentable: "any" });
|
|
3583
|
+
expect(i).toMatchInlineSnapshot(`
|
|
3584
|
+
{
|
|
3585
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3586
|
+
"examples": [
|
|
3587
|
+
"test",
|
|
3588
|
+
],
|
|
3589
|
+
"type": "string",
|
|
3590
|
+
}
|
|
3591
|
+
`);
|
|
3592
|
+
const o = z.toJSONSchema(schema, { io: "output", unrepresentable: "any" });
|
|
3593
|
+
expect(o).toMatchInlineSnapshot(`
|
|
3594
|
+
{
|
|
3595
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3596
|
+
"examples": [
|
|
3597
|
+
4,
|
|
3598
|
+
],
|
|
3599
|
+
}
|
|
3600
|
+
`);
|
|
3601
|
+
});
|
|
3602
|
+
|
|
3603
|
+
// test("number checks", () => {
|
|
3604
|
+
// expect(z.toJSONSchema(z.number().int())).toMatchInlineSnapshot(`
|
|
3605
|
+
// {
|
|
3606
|
+
// "maximum": 9007199254740991,
|
|
3607
|
+
// "minimum": -9007199254740991,
|
|
3608
|
+
// "type": "integer",
|
|
3609
|
+
// }
|
|
3610
|
+
// `);
|
|
3611
|
+
// expect(z.toJSONSchema(z.int())).toMatchInlineSnapshot(`
|
|
3612
|
+
// {
|
|
3613
|
+
// "maximum": 9007199254740991,
|
|
3614
|
+
// "minimum": -9007199254740991,
|
|
3615
|
+
// "type": "integer",
|
|
3616
|
+
// }
|
|
3617
|
+
// `);
|
|
3618
|
+
// expect(z.toJSONSchema(z.int().positive())).toMatchInlineSnapshot(`
|
|
3619
|
+
// {
|
|
3620
|
+
// "exclusiveMinimum": 0,
|
|
3621
|
+
// "maximum": 9007199254740991,
|
|
3622
|
+
// "minimum": -9007199254740991,
|
|
3623
|
+
// "type": "integer",
|
|
3624
|
+
// }
|
|
3625
|
+
// `);
|
|
3626
|
+
// expect(z.toJSONSchema(z.int().nonnegative())).toMatchInlineSnapshot(`
|
|
3627
|
+
// {
|
|
3628
|
+
// "maximum": 9007199254740991,
|
|
3629
|
+
// "minimum": 0,
|
|
3630
|
+
// "type": "integer",
|
|
3631
|
+
// }
|
|
3632
|
+
// `);
|
|
3633
|
+
// expect(z.toJSONSchema(z.int().gt(0))).toMatchInlineSnapshot(`
|
|
3634
|
+
// {
|
|
3635
|
+
// "exclusiveMinimum": 0,
|
|
3636
|
+
// "maximum": 9007199254740991,
|
|
3637
|
+
// "minimum": -9007199254740991,
|
|
3638
|
+
// "type": "integer",
|
|
3639
|
+
// }
|
|
3640
|
+
// `);
|
|
3641
|
+
// expect(z.toJSONSchema(z.int().gte(0))).toMatchInlineSnapshot(`
|
|
3642
|
+
// {
|
|
3643
|
+
// "maximum": 9007199254740991,
|
|
3644
|
+
// "minimum": 0,
|
|
3645
|
+
// "type": "integer",
|
|
3646
|
+
// }
|
|
3647
|
+
// `);
|
|
3648
|
+
|
|
3649
|
+
// });
|
|
3650
|
+
|
|
3651
|
+
test("use output type for preprocess", () => {
|
|
3652
|
+
const a = z.preprocess((val) => String(val), z.string());
|
|
3653
|
+
|
|
3654
|
+
expect(z.toJSONSchema(a, { io: "input" })).toMatchInlineSnapshot(`
|
|
3655
|
+
{
|
|
3656
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3657
|
+
"type": "string",
|
|
3658
|
+
}
|
|
3659
|
+
`);
|
|
3660
|
+
});
|
|
3661
|
+
|
|
3662
|
+
test("object property with preprocess stays required in input JSON schema", () => {
|
|
3663
|
+
const schema = z.object({
|
|
3664
|
+
noPreprocess: z.string(),
|
|
3665
|
+
withPreprocess: z.preprocess((v) => v, z.string()),
|
|
3666
|
+
optionalPreprocess: z.preprocess((v) => v, z.string().optional()),
|
|
3667
|
+
});
|
|
3668
|
+
|
|
3669
|
+
// A preprocessed property is only optional when its inner schema is — the
|
|
3670
|
+
// transform wrapper must not make a required property optional in the input
|
|
3671
|
+
// JSON schema (matches runtime: `schema.parse({})` rejects `withPreprocess`).
|
|
3672
|
+
expect(z.toJSONSchema(schema, { io: "input" })).toMatchInlineSnapshot(`
|
|
3673
|
+
{
|
|
3674
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3675
|
+
"properties": {
|
|
3676
|
+
"noPreprocess": {
|
|
3677
|
+
"type": "string",
|
|
3678
|
+
},
|
|
3679
|
+
"optionalPreprocess": {
|
|
3680
|
+
"type": "string",
|
|
3681
|
+
},
|
|
3682
|
+
"withPreprocess": {
|
|
3683
|
+
"type": "string",
|
|
3684
|
+
},
|
|
3685
|
+
},
|
|
3686
|
+
"required": [
|
|
3687
|
+
"noPreprocess",
|
|
3688
|
+
"withPreprocess",
|
|
3689
|
+
],
|
|
3690
|
+
"type": "object",
|
|
3691
|
+
}
|
|
3692
|
+
`);
|
|
3693
|
+
});
|
|
3694
|
+
|
|
3695
|
+
test("input JSON schema resolves requiredness past transform and catch wrappers", () => {
|
|
3696
|
+
const required = (schema: z.ZodObject) =>
|
|
3697
|
+
(z.toJSONSchema(schema, { io: "input" }) as z.core.JSONSchema.ObjectSchema).required;
|
|
3698
|
+
const id = (v: unknown) => v;
|
|
3699
|
+
|
|
3700
|
+
// catch observes an absent key at runtime, but its declared input type stays required (#5003)
|
|
3701
|
+
expect(required(z.object({ a: z.string().catch("x") }))).toEqual(["a"]);
|
|
3702
|
+
expect(required(z.object({ a: z.string().optional().catch("x") }))).toBeUndefined();
|
|
3703
|
+
// nested preprocess and the legacy transform-pipe form both resolve through to the inner schema
|
|
3704
|
+
expect(required(z.object({ a: z.preprocess(id, z.preprocess(id, z.string())) }))).toEqual(["a"]);
|
|
3705
|
+
expect(required(z.object({ a: z.transform((v: unknown) => String(v)).pipe(z.string()) }))).toEqual(["a"]);
|
|
3706
|
+
});
|
|
3707
|
+
|
|
3708
|
+
test("strip output-side examples from input JSON schema for codec", () => {
|
|
3709
|
+
const codec = z
|
|
3710
|
+
.codec(z.string(), z.number(), { decode: (s) => Number(s), encode: (n) => String(n) })
|
|
3711
|
+
.meta({ examples: [42] });
|
|
3712
|
+
|
|
3713
|
+
expect(z.toJSONSchema(codec, { io: "input" })).toMatchInlineSnapshot(`
|
|
3714
|
+
{
|
|
3715
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3716
|
+
"type": "string",
|
|
3717
|
+
}
|
|
3718
|
+
`);
|
|
3719
|
+
expect(z.toJSONSchema(codec, { io: "output" })).toMatchInlineSnapshot(`
|
|
3720
|
+
{
|
|
3721
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3722
|
+
"examples": [
|
|
3723
|
+
42,
|
|
3724
|
+
],
|
|
3725
|
+
"type": "number",
|
|
3726
|
+
}
|
|
3727
|
+
`);
|
|
3728
|
+
});
|
|
3729
|
+
|
|
3730
|
+
// test("isTransforming", () => {
|
|
3731
|
+
// const tx = z.core.isTransforming;
|
|
3732
|
+
// expect(tx(z.string())).toEqual(false);
|
|
3733
|
+
// expect(tx(z.string().transform((val) => val))).toEqual(true);
|
|
3734
|
+
// expect(tx(z.string().pipe(z.string()))).toEqual(false);
|
|
3735
|
+
// expect(
|
|
3736
|
+
// tx(
|
|
3737
|
+
// z
|
|
3738
|
+
// .string()
|
|
3739
|
+
// .transform((val) => val)
|
|
3740
|
+
// .pipe(z.string())
|
|
3741
|
+
// )
|
|
3742
|
+
// ).toEqual(true);
|
|
3743
|
+
|
|
3744
|
+
// const a = z.transform((val) => val);
|
|
3745
|
+
// expect(tx(z.transform((val) => val))).toEqual(true);
|
|
3746
|
+
// expect(tx(a.optional())).toEqual(true);
|
|
3747
|
+
|
|
3748
|
+
// const b = z.string().optional();
|
|
3749
|
+
// expect(tx(b)).toEqual(false);
|
|
3750
|
+
|
|
3751
|
+
// const c = z.string().prefault("hello");
|
|
3752
|
+
// expect(tx(c)).toEqual(false);
|
|
3753
|
+
|
|
3754
|
+
// const d = z.string().default("hello");
|
|
3755
|
+
// expect(tx(d)).toEqual(false);
|
|
3756
|
+
// });
|
|
3757
|
+
|
|
3758
|
+
test("flatten simple intersections", () => {
|
|
3759
|
+
const FirstSchema = z.object({
|
|
3760
|
+
testNum: z.number(),
|
|
3761
|
+
});
|
|
3762
|
+
|
|
3763
|
+
const SecondSchema = z.object({
|
|
3764
|
+
testStr: z.string(),
|
|
3765
|
+
});
|
|
3766
|
+
|
|
3767
|
+
const ThirdSchema = z.object({
|
|
3768
|
+
testBool: z.boolean(),
|
|
3769
|
+
});
|
|
3770
|
+
|
|
3771
|
+
const HelloSchema = FirstSchema.and(SecondSchema).and(ThirdSchema).describe("123");
|
|
3772
|
+
|
|
3773
|
+
// Zod 3
|
|
3774
|
+
// console.log(JSON.stringify(zodToJsonSchema(HelloSchema), null, 2));
|
|
3775
|
+
|
|
3776
|
+
// Zod 4
|
|
3777
|
+
const result = z.toJSONSchema(HelloSchema, { target: "draft-7" });
|
|
3778
|
+
expect(result).toMatchInlineSnapshot(`
|
|
3779
|
+
{
|
|
3780
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3781
|
+
"additionalProperties": false,
|
|
3782
|
+
"description": "123",
|
|
3783
|
+
"properties": {
|
|
3784
|
+
"testBool": {
|
|
3785
|
+
"type": "boolean",
|
|
3786
|
+
},
|
|
3787
|
+
"testNum": {
|
|
3788
|
+
"type": "number",
|
|
3789
|
+
},
|
|
3790
|
+
"testStr": {
|
|
3791
|
+
"type": "string",
|
|
3792
|
+
},
|
|
3793
|
+
},
|
|
3794
|
+
"required": [
|
|
3795
|
+
"testNum",
|
|
3796
|
+
"testStr",
|
|
3797
|
+
"testBool",
|
|
3798
|
+
],
|
|
3799
|
+
"type": "object",
|
|
3800
|
+
}
|
|
3801
|
+
`);
|
|
3802
|
+
});
|
|
3803
|
+
|
|
3804
|
+
test("z.file()", () => {
|
|
3805
|
+
const a = z.file();
|
|
3806
|
+
expect(z.toJSONSchema(a)).toMatchInlineSnapshot(`
|
|
3807
|
+
{
|
|
3808
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3809
|
+
"contentEncoding": "binary",
|
|
3810
|
+
"format": "binary",
|
|
3811
|
+
"type": "string",
|
|
3812
|
+
}
|
|
3813
|
+
`);
|
|
3814
|
+
|
|
3815
|
+
const b = z.file().mime("image/png").min(1000).max(10000);
|
|
3816
|
+
expect(z.toJSONSchema(b)).toMatchInlineSnapshot(`
|
|
3817
|
+
{
|
|
3818
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3819
|
+
"contentEncoding": "binary",
|
|
3820
|
+
"contentMediaType": "image/png",
|
|
3821
|
+
"format": "binary",
|
|
3822
|
+
"maxLength": 10000,
|
|
3823
|
+
"minLength": 1000,
|
|
3824
|
+
"type": "string",
|
|
3825
|
+
}
|
|
3826
|
+
`);
|
|
3827
|
+
|
|
3828
|
+
const c = z.file().mime(["image/png", "image/jpg"]).min(1000).max(10000);
|
|
3829
|
+
expect(z.toJSONSchema(c)).toMatchInlineSnapshot(`
|
|
3830
|
+
{
|
|
3831
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3832
|
+
"anyOf": [
|
|
3833
|
+
{
|
|
3834
|
+
"contentMediaType": "image/png",
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"contentMediaType": "image/jpg",
|
|
3838
|
+
},
|
|
3839
|
+
],
|
|
3840
|
+
"contentEncoding": "binary",
|
|
3841
|
+
"format": "binary",
|
|
3842
|
+
"maxLength": 10000,
|
|
3843
|
+
"minLength": 1000,
|
|
3844
|
+
"type": "string",
|
|
3845
|
+
}
|
|
3846
|
+
`);
|
|
3847
|
+
});
|
|
3848
|
+
|
|
3849
|
+
test("custom toJSONSchema", () => {
|
|
3850
|
+
const schema = z.instanceof(Date);
|
|
3851
|
+
schema._zod.toJSONSchema = () => ({
|
|
3852
|
+
type: "string",
|
|
3853
|
+
format: "date-time",
|
|
3854
|
+
});
|
|
3855
|
+
|
|
3856
|
+
expect(z.toJSONSchema(schema)).toMatchInlineSnapshot(`
|
|
3857
|
+
{
|
|
3858
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3859
|
+
"format": "date-time",
|
|
3860
|
+
"type": "string",
|
|
3861
|
+
}
|
|
3862
|
+
`);
|
|
3863
|
+
});
|
|
3864
|
+
|
|
3865
|
+
test("cycle detection - root", () => {
|
|
3866
|
+
const schema = z.object({
|
|
3867
|
+
name: z.string(),
|
|
3868
|
+
get subcategories() {
|
|
3869
|
+
return z.array(schema);
|
|
3870
|
+
},
|
|
3871
|
+
});
|
|
3872
|
+
|
|
3873
|
+
expect(() => z.toJSONSchema(schema, { cycles: "throw" })).toThrowErrorMatchingInlineSnapshot(`
|
|
3874
|
+
[Error: Cycle detected: #/properties/subcategories/items/<root>
|
|
3875
|
+
|
|
3876
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.]
|
|
3877
|
+
`);
|
|
3878
|
+
});
|
|
3879
|
+
|
|
3880
|
+
test("cycle detection - mutual recursion", () => {
|
|
3881
|
+
const A = z.object({
|
|
3882
|
+
name: z.string(),
|
|
3883
|
+
get subcategories() {
|
|
3884
|
+
return z.array(B);
|
|
3885
|
+
},
|
|
3886
|
+
});
|
|
3887
|
+
|
|
3888
|
+
const B = z.object({
|
|
3889
|
+
name: z.string(),
|
|
3890
|
+
get subcategories() {
|
|
3891
|
+
return z.array(A);
|
|
3892
|
+
},
|
|
3893
|
+
});
|
|
3894
|
+
|
|
3895
|
+
expect(() => z.toJSONSchema(A, { cycles: "throw" })).toThrowErrorMatchingInlineSnapshot(`
|
|
3896
|
+
[Error: Cycle detected: #/properties/subcategories/items/properties/subcategories/items/<root>
|
|
3897
|
+
|
|
3898
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.]
|
|
3899
|
+
`);
|
|
3900
|
+
});
|
|
3901
|
+
|
|
3902
|
+
test("recursive lazy with describe does not stack overflow", () => {
|
|
3903
|
+
const NodeSchema: z.ZodType = z.lazy(() =>
|
|
3904
|
+
z
|
|
3905
|
+
.object({
|
|
3906
|
+
value: z.string().describe("node value"),
|
|
3907
|
+
children: z.array(NodeSchema.describe("child node")).optional().describe("child list"),
|
|
3908
|
+
})
|
|
3909
|
+
.describe("tree node")
|
|
3910
|
+
);
|
|
3911
|
+
|
|
3912
|
+
const result = z.toJSONSchema(NodeSchema, { cycles: "ref", reused: "ref" });
|
|
3913
|
+
expect(result).toBeDefined();
|
|
3914
|
+
expect(result.$defs).toBeDefined();
|
|
3915
|
+
});
|
|
3916
|
+
|
|
3917
|
+
test("__proto__ shape key is emitted as an own property", () => {
|
|
3918
|
+
const schema = z.object({ ["__proto__"]: z.literal("admin"), role: z.string() });
|
|
3919
|
+
const result = z.toJSONSchema(schema, { io: "input" });
|
|
3920
|
+
|
|
3921
|
+
expect(result.required).toEqual(["__proto__", "role"]);
|
|
3922
|
+
// every required key needs a matching entry in properties
|
|
3923
|
+
for (const key of result.required!) {
|
|
3924
|
+
expect(Object.prototype.hasOwnProperty.call(result.properties, key)).toBe(true);
|
|
3925
|
+
}
|
|
3926
|
+
expect(JSON.parse(JSON.stringify(result)).properties.__proto__).toEqual({ type: "string", const: "admin" });
|
|
3927
|
+
});
|
|
3928
|
+
|
|
3929
|
+
test("__proto__ registry id is emitted as an own entry", () => {
|
|
3930
|
+
const myRegistry = z.registry<{ id: string }>();
|
|
3931
|
+
myRegistry.add(z.object({ a: z.string() }), { id: "__proto__" });
|
|
3932
|
+
myRegistry.add(z.object({ b: z.string() }), { id: "normal" });
|
|
3933
|
+
|
|
3934
|
+
expect(Object.keys(z.toJSONSchema(myRegistry).schemas)).toEqual(["__proto__", "normal"]);
|
|
3935
|
+
});
|
|
3936
|
+
|
|
3937
|
+
test("__proto__ def id emits a resolvable $ref", () => {
|
|
3938
|
+
const myRegistry = z.registry<{ id: string }>();
|
|
3939
|
+
const Inner = z.object({ x: z.string() });
|
|
3940
|
+
myRegistry.add(Inner, { id: "__proto__" });
|
|
3941
|
+
|
|
3942
|
+
const json = JSON.parse(JSON.stringify(z.toJSONSchema(z.object({ a: Inner, b: Inner }), { metadata: myRegistry })));
|
|
3943
|
+
expect(json.properties.a.$ref).toBe("#/$defs/__proto__");
|
|
3944
|
+
expect(json.$defs.__proto__).toBeDefined();
|
|
3945
|
+
});
|
|
3946
|
+
|
|
3947
|
+
test("__proto__ patternProperties key is emitted as an own property", () => {
|
|
3948
|
+
const result = z.toJSONSchema(z.looseRecord(z.string().regex(/__proto__/), z.string()));
|
|
3949
|
+
|
|
3950
|
+
expect(Object.getPrototypeOf(result.patternProperties)).toBe(Object.prototype);
|
|
3951
|
+
expect(Object.prototype.hasOwnProperty.call(result.patternProperties, "__proto__")).toBe(true);
|
|
3952
|
+
expect(result.patternProperties?.__proto__).toEqual({ type: "string" });
|
|
3953
|
+
});
|
|
3954
|
+
|
|
3955
|
+
test("__proto__ metadata survives direct and wrapper metadata merges", () => {
|
|
3956
|
+
for (const schema of [z.string(), z.readonly(z.string())]) {
|
|
3957
|
+
const registry = z.registry<Record<string, unknown>>();
|
|
3958
|
+
registry.add(schema, Object.fromEntries([["__proto__", { marker: true }]]));
|
|
3959
|
+
|
|
3960
|
+
const result: any = z.toJSONSchema(schema, { metadata: registry });
|
|
3961
|
+
expect(Object.getPrototypeOf(result)).toBe(Object.prototype);
|
|
3962
|
+
expect(Object.prototype.hasOwnProperty.call(result, "__proto__")).toBe(true);
|
|
3963
|
+
expect(result.__proto__).toEqual({ marker: true });
|
|
3964
|
+
expect(JSON.parse(JSON.stringify(result)).__proto__).toEqual({ marker: true });
|
|
3965
|
+
}
|
|
3966
|
+
});
|
|
3967
|
+
|
|
3968
|
+
test("partialRecord does not require finite keys", () => {
|
|
3969
|
+
const result = z.toJSONSchema(z.partialRecord(z.enum(["__proto__", "b"]), z.string()));
|
|
3970
|
+
|
|
3971
|
+
expect(result.required).toBeUndefined();
|
|
3972
|
+
expect(result.propertyNames).toEqual({ type: "string", enum: ["__proto__", "b"] });
|
|
3973
|
+
expect(result.additionalProperties).toEqual({ type: "string" });
|
|
3974
|
+
});
|
|
3975
|
+
|
|
3976
|
+
describe("unrepresentable callback", () => {
|
|
3977
|
+
test("is consulted for every unrepresentable type", () => {
|
|
3978
|
+
const seen: string[] = [];
|
|
3979
|
+
const collect: z.core.UnrepresentableHandler<z.core.$ZodTypes> = ({ zodSchema }) => {
|
|
3980
|
+
seen.push(zodSchema._zod.def.type);
|
|
3981
|
+
return "any";
|
|
3982
|
+
};
|
|
3983
|
+
|
|
3984
|
+
const schemas = [
|
|
3985
|
+
z.bigint(),
|
|
3986
|
+
z.symbol(),
|
|
3987
|
+
z.undefined(),
|
|
3988
|
+
z.void(),
|
|
3989
|
+
z.date(),
|
|
3990
|
+
z.nan(),
|
|
3991
|
+
z.custom<string>(),
|
|
3992
|
+
z.map(z.string(), z.string()),
|
|
3993
|
+
z.set(z.string()),
|
|
3994
|
+
z.transform((x: unknown) => x),
|
|
3995
|
+
z.literal([undefined]),
|
|
3996
|
+
z.literal([1n]),
|
|
3997
|
+
z.string().catch(() => {
|
|
3998
|
+
throw new Error("dynamic");
|
|
3999
|
+
}),
|
|
4000
|
+
// z.function() is not a ZodType, but its processor is reachable through the same path
|
|
4001
|
+
z.function() as unknown as z.ZodType,
|
|
4002
|
+
];
|
|
4003
|
+
for (const schema of schemas) z.toJSONSchema(schema, { unrepresentable: collect });
|
|
4004
|
+
|
|
4005
|
+
expect(seen).toEqual([
|
|
4006
|
+
"bigint",
|
|
4007
|
+
"symbol",
|
|
4008
|
+
"undefined",
|
|
4009
|
+
"void",
|
|
4010
|
+
"date",
|
|
4011
|
+
"nan",
|
|
4012
|
+
"custom",
|
|
4013
|
+
"map",
|
|
4014
|
+
"set",
|
|
4015
|
+
"transform",
|
|
4016
|
+
"literal",
|
|
4017
|
+
"literal",
|
|
4018
|
+
"catch",
|
|
4019
|
+
"function",
|
|
4020
|
+
]);
|
|
4021
|
+
});
|
|
4022
|
+
|
|
4023
|
+
test("returned JSON Schema replaces the unrepresentable node", () => {
|
|
4024
|
+
// the motivating case: represent dates, keep throwing for everything else
|
|
4025
|
+
const params: z.core.ToJSONSchemaParams = {
|
|
4026
|
+
unrepresentable: ({ zodSchema }) =>
|
|
4027
|
+
zodSchema._zod.def.type === "date" ? { type: "string", format: "date-time" } : "throw",
|
|
4028
|
+
};
|
|
4029
|
+
expect(z.toJSONSchema(z.object({ when: z.date() }), params)).toMatchInlineSnapshot(`
|
|
4030
|
+
{
|
|
4031
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4032
|
+
"additionalProperties": false,
|
|
4033
|
+
"properties": {
|
|
4034
|
+
"when": {
|
|
4035
|
+
"format": "date-time",
|
|
4036
|
+
"type": "string",
|
|
4037
|
+
},
|
|
4038
|
+
},
|
|
4039
|
+
"required": [
|
|
4040
|
+
"when",
|
|
4041
|
+
],
|
|
4042
|
+
"type": "object",
|
|
4043
|
+
}
|
|
4044
|
+
`);
|
|
4045
|
+
expect(() => z.toJSONSchema(z.object({ id: z.bigint() }), params)).toThrow(
|
|
4046
|
+
"BigInt cannot be represented in JSON Schema"
|
|
4047
|
+
);
|
|
4048
|
+
});
|
|
4049
|
+
|
|
4050
|
+
test("`throw` and `undefined` returns produce the default error", () => {
|
|
4051
|
+
expect(() => z.toJSONSchema(z.date(), { unrepresentable: () => "throw" })).toThrow(
|
|
4052
|
+
"Date cannot be represented in JSON Schema"
|
|
4053
|
+
);
|
|
4054
|
+
expect(() => z.toJSONSchema(z.date(), { unrepresentable: () => undefined })).toThrow(
|
|
4055
|
+
"Date cannot be represented in JSON Schema"
|
|
4056
|
+
);
|
|
4057
|
+
});
|
|
4058
|
+
|
|
4059
|
+
test("`any` return matches the string option", () => {
|
|
4060
|
+
expect(z.toJSONSchema(z.date(), { unrepresentable: () => "any" })).toEqual(
|
|
4061
|
+
z.toJSONSchema(z.date(), { unrepresentable: "any" })
|
|
4062
|
+
);
|
|
4063
|
+
});
|
|
4064
|
+
|
|
4065
|
+
test("`message` distinguishes sites that share a schema", () => {
|
|
4066
|
+
const seen: string[] = [];
|
|
4067
|
+
expect(
|
|
4068
|
+
z.toJSONSchema(z.literal([undefined, 1n, "a"]), {
|
|
4069
|
+
unrepresentable: ({ zodSchema, message }) => {
|
|
4070
|
+
seen.push(`${zodSchema._zod.def.type}: ${message}`);
|
|
4071
|
+
return "any";
|
|
4072
|
+
},
|
|
4073
|
+
})
|
|
4074
|
+
).toMatchInlineSnapshot(`
|
|
4075
|
+
{
|
|
4076
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4077
|
+
"enum": [
|
|
4078
|
+
1,
|
|
4079
|
+
"a",
|
|
4080
|
+
],
|
|
4081
|
+
}
|
|
4082
|
+
`);
|
|
4083
|
+
// same `zodSchema`, different message -- the only way to tell the two literal sites apart
|
|
4084
|
+
expect(seen).toEqual([
|
|
4085
|
+
"literal: Literal `undefined` cannot be represented in JSON Schema",
|
|
4086
|
+
"literal: BigInt literals cannot be represented in JSON Schema",
|
|
4087
|
+
]);
|
|
4088
|
+
});
|
|
4089
|
+
|
|
4090
|
+
test("errors thrown by the callback propagate", () => {
|
|
4091
|
+
expect(() =>
|
|
4092
|
+
z.toJSONSchema(z.object({ when: z.date() }), {
|
|
4093
|
+
unrepresentable: ({ zodSchema, path }) => {
|
|
4094
|
+
throw new Error(`${zodSchema._zod.def.type} at /${path.join("/")}`);
|
|
4095
|
+
},
|
|
4096
|
+
})
|
|
4097
|
+
).toThrow("date at /properties/when");
|
|
4098
|
+
});
|
|
4099
|
+
|
|
4100
|
+
test("runs before `override`", () => {
|
|
4101
|
+
const order: string[] = [];
|
|
4102
|
+
expect(
|
|
4103
|
+
z.toJSONSchema(z.date(), {
|
|
4104
|
+
unrepresentable: () => {
|
|
4105
|
+
order.push("unrepresentable");
|
|
4106
|
+
return { type: "string" };
|
|
4107
|
+
},
|
|
4108
|
+
override: (ctx) => {
|
|
4109
|
+
order.push("override");
|
|
4110
|
+
if (ctx.jsonSchema.type === "string") ctx.jsonSchema.format = "date-time";
|
|
4111
|
+
},
|
|
4112
|
+
})
|
|
4113
|
+
).toMatchInlineSnapshot(`
|
|
4114
|
+
{
|
|
4115
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4116
|
+
"format": "date-time",
|
|
4117
|
+
"type": "string",
|
|
4118
|
+
}
|
|
4119
|
+
`);
|
|
4120
|
+
expect(order).toEqual(["unrepresentable", "override"]);
|
|
4121
|
+
});
|
|
4122
|
+
|
|
4123
|
+
test("a returned schema replaces the whole literal", () => {
|
|
4124
|
+
expect(
|
|
4125
|
+
z.toJSONSchema(z.literal(["a", 1n]), {
|
|
4126
|
+
unrepresentable: () => ({ type: "string", pattern: "^\\d+$" }),
|
|
4127
|
+
})
|
|
4128
|
+
).toMatchInlineSnapshot(`
|
|
4129
|
+
{
|
|
4130
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4131
|
+
"pattern": "^\\d+$",
|
|
4132
|
+
"type": "string",
|
|
4133
|
+
}
|
|
4134
|
+
`);
|
|
4135
|
+
|
|
4136
|
+
// "any" keeps the existing per-value behavior: undefined dropped, bigint coerced
|
|
4137
|
+
expect(z.toJSONSchema(z.literal(["a", 1n, undefined]), { unrepresentable: () => "any" })).toEqual(
|
|
4138
|
+
z.toJSONSchema(z.literal(["a", 1n, undefined]), { unrepresentable: "any" })
|
|
4139
|
+
);
|
|
4140
|
+
});
|
|
4141
|
+
|
|
4142
|
+
const dateToString: z.core.ToJSONSchemaParams["unrepresentable"] = ({ zodSchema }) =>
|
|
4143
|
+
zodSchema._zod.def.type === "date" ? { type: "string", format: "date-time" } : "throw";
|
|
4144
|
+
|
|
4145
|
+
test("emits a valid OpenAPI 3.0 schema", async () => {
|
|
4146
|
+
const jsonSchema = z.toJSONSchema(z.object({ start: z.date() }), {
|
|
4147
|
+
target: "openapi-3.0",
|
|
4148
|
+
unrepresentable: dateToString,
|
|
4149
|
+
});
|
|
4150
|
+
expect(jsonSchema).toMatchInlineSnapshot(`
|
|
4151
|
+
{
|
|
4152
|
+
"additionalProperties": false,
|
|
4153
|
+
"properties": {
|
|
4154
|
+
"start": {
|
|
4155
|
+
"format": "date-time",
|
|
4156
|
+
"type": "string",
|
|
4157
|
+
},
|
|
4158
|
+
},
|
|
4159
|
+
"required": [
|
|
4160
|
+
"start",
|
|
4161
|
+
],
|
|
4162
|
+
"type": "object",
|
|
4163
|
+
}
|
|
4164
|
+
`);
|
|
4165
|
+
await expect(validateOpenAPI30Schema(jsonSchema)).resolves.toBe(true);
|
|
4166
|
+
});
|
|
4167
|
+
|
|
4168
|
+
test("the returned schema survives extraction into $defs", () => {
|
|
4169
|
+
const When = z.date().meta({ id: "When" });
|
|
4170
|
+
expect(
|
|
4171
|
+
z.toJSONSchema(z.object({ start: When, end: When }), { unrepresentable: dateToString })
|
|
4172
|
+
).toMatchInlineSnapshot(`
|
|
4173
|
+
{
|
|
4174
|
+
"$defs": {
|
|
4175
|
+
"When": {
|
|
4176
|
+
"format": "date-time",
|
|
4177
|
+
"type": "string",
|
|
4178
|
+
},
|
|
4179
|
+
},
|
|
4180
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4181
|
+
"additionalProperties": false,
|
|
4182
|
+
"properties": {
|
|
4183
|
+
"end": {
|
|
4184
|
+
"$ref": "#/$defs/When",
|
|
4185
|
+
},
|
|
4186
|
+
"start": {
|
|
4187
|
+
"$ref": "#/$defs/When",
|
|
4188
|
+
},
|
|
4189
|
+
},
|
|
4190
|
+
"required": [
|
|
4191
|
+
"start",
|
|
4192
|
+
"end",
|
|
4193
|
+
],
|
|
4194
|
+
"type": "object",
|
|
4195
|
+
}
|
|
4196
|
+
`);
|
|
4197
|
+
});
|
|
4198
|
+
|
|
4199
|
+
test("applies to dynamic catch values", () => {
|
|
4200
|
+
const schema = z.string().catch(() => {
|
|
4201
|
+
throw new Error("dynamic");
|
|
4202
|
+
});
|
|
4203
|
+
expect(
|
|
4204
|
+
z.toJSONSchema(schema, {
|
|
4205
|
+
unrepresentable: () => ({ default: "fallback" }),
|
|
4206
|
+
})
|
|
4207
|
+
).toMatchInlineSnapshot(`
|
|
4208
|
+
{
|
|
4209
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4210
|
+
"default": "fallback",
|
|
4211
|
+
"type": "string",
|
|
4212
|
+
}
|
|
4213
|
+
`);
|
|
4214
|
+
});
|
|
4215
|
+
});
|
|
4216
|
+
|
|
4217
|
+
describe("intersection folding", () => {
|
|
4218
|
+
const TARGETS = ["draft-2020-12", "draft-07", "draft-04", "openapi-3.0"] as const;
|
|
4219
|
+
const body = (schema: z.ZodType, params?: Parameters<typeof z.toJSONSchema>[1]) => {
|
|
4220
|
+
const { $schema, ...rest } = z.toJSONSchema(schema, params) as Record<string, unknown>;
|
|
4221
|
+
return rest;
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
test("two objects become one object", () => {
|
|
4225
|
+
expect(body(z.object({ name: z.string() }).and(z.object({ age: z.number() })))).toMatchInlineSnapshot(`
|
|
4226
|
+
{
|
|
4227
|
+
"additionalProperties": false,
|
|
4228
|
+
"properties": {
|
|
4229
|
+
"age": {
|
|
4230
|
+
"type": "number",
|
|
4231
|
+
},
|
|
4232
|
+
"name": {
|
|
4233
|
+
"type": "string",
|
|
4234
|
+
},
|
|
4235
|
+
},
|
|
4236
|
+
"required": [
|
|
4237
|
+
"name",
|
|
4238
|
+
"age",
|
|
4239
|
+
],
|
|
4240
|
+
"type": "object",
|
|
4241
|
+
}
|
|
4242
|
+
`);
|
|
4243
|
+
});
|
|
4244
|
+
|
|
4245
|
+
test("the folded shape is identical on every target", () => {
|
|
4246
|
+
const schema = z.object({ name: z.string() }).and(z.object({ age: z.number() }));
|
|
4247
|
+
const bodies = TARGETS.map((target) => body(schema, { target }));
|
|
4248
|
+
for (const emitted of bodies) expect(emitted).toEqual(bodies[0]);
|
|
4249
|
+
});
|
|
4250
|
+
|
|
4251
|
+
test("closed only when every member is closed", () => {
|
|
4252
|
+
expect(body(z.strictObject({ a: z.string() }).and(z.strictObject({ b: z.number() })))).toMatchObject({
|
|
4253
|
+
additionalProperties: false,
|
|
4254
|
+
});
|
|
4255
|
+
// A loose member keeps the intersection open, which is what the parser does: it merges both results, so the loose side's extra keys survive.
|
|
4256
|
+
expect(body(z.looseObject({ a: z.string() }).and(z.object({ b: z.number() })))).not.toHaveProperty(
|
|
4257
|
+
"additionalProperties"
|
|
4258
|
+
);
|
|
4259
|
+
});
|
|
4260
|
+
|
|
4261
|
+
test("chained and nested intersections fold flat", () => {
|
|
4262
|
+
const chained = z
|
|
4263
|
+
.object({ a: z.string() })
|
|
4264
|
+
.and(z.object({ b: z.string() }))
|
|
4265
|
+
.and(z.object({ c: z.string() }));
|
|
4266
|
+
expect(body(chained)).toMatchObject({ properties: { a: {}, b: {}, c: {} }, required: ["a", "b", "c"] });
|
|
4267
|
+
const nested = z.object({ a: z.string() }).and(z.object({ b: z.string() }).and(z.object({ c: z.string() })));
|
|
4268
|
+
expect(body(nested)).toEqual(body(chained));
|
|
4269
|
+
});
|
|
4270
|
+
|
|
4271
|
+
test("required is the union, and an optional key stays optional", () => {
|
|
4272
|
+
expect(body(z.object({ a: z.string().optional() }).and(z.object({ b: z.string() })))).toMatchObject({
|
|
4273
|
+
properties: { a: { type: "string" }, b: { type: "string" } },
|
|
4274
|
+
required: ["b"],
|
|
4275
|
+
});
|
|
4276
|
+
});
|
|
4277
|
+
|
|
4278
|
+
test("a key both members declare has to satisfy both", () => {
|
|
4279
|
+
// identical declarations collapse
|
|
4280
|
+
expect(body(z.object({ k: z.string() }).and(z.object({ k: z.string() })))).toMatchObject({
|
|
4281
|
+
properties: { k: { type: "string" } },
|
|
4282
|
+
});
|
|
4283
|
+
// object declarations fold, matching the parser's deep merge
|
|
4284
|
+
expect(
|
|
4285
|
+
body(z.object({ k: z.object({ a: z.string() }) }).and(z.object({ k: z.object({ b: z.string() }) })))
|
|
4286
|
+
).toMatchObject({
|
|
4287
|
+
properties: { k: { type: "object", properties: { a: {}, b: {} }, required: ["a", "b"] } },
|
|
4288
|
+
});
|
|
4289
|
+
// anything else stays an intersection one level down
|
|
4290
|
+
expect(body(z.object({ k: z.string() }).and(z.object({ k: z.number() })))).toMatchObject({
|
|
4291
|
+
properties: { k: { allOf: [{ type: "string" }, { type: "number" }] } },
|
|
4292
|
+
});
|
|
4293
|
+
});
|
|
4294
|
+
|
|
4295
|
+
test("an intersection distributes over a union", () => {
|
|
4296
|
+
const schema = z
|
|
4297
|
+
.object({ name: z.string() })
|
|
4298
|
+
.and(
|
|
4299
|
+
z.discriminatedUnion("type", [
|
|
4300
|
+
z.object({ type: z.literal("a"), value: z.string() }),
|
|
4301
|
+
z.object({ type: z.literal("b"), count: z.number() }),
|
|
4302
|
+
])
|
|
4303
|
+
);
|
|
4304
|
+
expect(body(schema)).toMatchObject({
|
|
4305
|
+
oneOf: [
|
|
4306
|
+
{ type: "object", properties: { name: {}, type: {}, value: {} }, additionalProperties: false },
|
|
4307
|
+
{ type: "object", properties: { name: {}, type: {}, count: {} }, additionalProperties: false },
|
|
4308
|
+
],
|
|
4309
|
+
});
|
|
4310
|
+
const inclusive = z
|
|
4311
|
+
.object({ name: z.string() })
|
|
4312
|
+
.and(z.union([z.object({ v: z.string() }), z.object({ c: z.number() })]));
|
|
4313
|
+
expect(body(inclusive)).toMatchObject({
|
|
4314
|
+
anyOf: [{ properties: { name: {}, v: {} } }, { properties: { name: {}, c: {} } }],
|
|
4315
|
+
});
|
|
4316
|
+
});
|
|
4317
|
+
|
|
4318
|
+
test("input conversion has nothing to close", () => {
|
|
4319
|
+
expect(body(z.object({ a: z.string() }).and(z.object({ b: z.string() })), { io: "input" })).toEqual({
|
|
4320
|
+
type: "object",
|
|
4321
|
+
properties: { a: { type: "string" }, b: { type: "string" } },
|
|
4322
|
+
required: ["a", "b"],
|
|
4323
|
+
});
|
|
4324
|
+
});
|
|
4325
|
+
|
|
4326
|
+
test("folds through a property and through z.lazy", () => {
|
|
4327
|
+
expect(body(z.object({ inner: z.object({ a: z.string() }).and(z.object({ b: z.string() })) }))).toMatchObject({
|
|
4328
|
+
properties: { inner: { type: "object", properties: { a: {}, b: {} } } },
|
|
4329
|
+
});
|
|
4330
|
+
const self: z.ZodType = z.lazy(() => z.object({ a: z.string() }).and(z.object({ next: z.optional(self) })));
|
|
4331
|
+
expect(body(self)).toMatchObject({ type: "object", properties: { a: {}, next: { $ref: "#" } } });
|
|
4332
|
+
});
|
|
4333
|
+
|
|
4334
|
+
test("metadata on the intersection itself survives", () => {
|
|
4335
|
+
expect(
|
|
4336
|
+
body(
|
|
4337
|
+
z
|
|
4338
|
+
.object({ a: z.string() })
|
|
4339
|
+
.and(z.object({ b: z.string() }))
|
|
4340
|
+
.meta({ title: "T" })
|
|
4341
|
+
)
|
|
4342
|
+
).toMatchObject({
|
|
4343
|
+
title: "T",
|
|
4344
|
+
type: "object",
|
|
4345
|
+
properties: { a: {}, b: {} },
|
|
4346
|
+
});
|
|
4347
|
+
});
|
|
4348
|
+
|
|
4349
|
+
test("a catchall constrains the sibling's keys too", () => {
|
|
4350
|
+
// The catchall member does not declare `b`, so its `additionalProperties` is what it demands of `b`. Folding `b` into `properties` has to carry that demand across, or the key would escape it.
|
|
4351
|
+
const schema = z
|
|
4352
|
+
.object({ a: z.string() })
|
|
4353
|
+
.catchall(z.number())
|
|
4354
|
+
.and(z.object({ b: z.string() }));
|
|
4355
|
+
expect(body(schema)).toEqual({
|
|
4356
|
+
type: "object",
|
|
4357
|
+
properties: { a: { type: "string" }, b: { allOf: [{ type: "number" }, { type: "string" }] } },
|
|
4358
|
+
required: ["a", "b"],
|
|
4359
|
+
additionalProperties: { type: "number" },
|
|
4360
|
+
});
|
|
4361
|
+
});
|
|
4362
|
+
|
|
4363
|
+
test("two catchalls both constrain the keys neither declares", () => {
|
|
4364
|
+
const schema = z
|
|
4365
|
+
.object({})
|
|
4366
|
+
.catchall(z.number())
|
|
4367
|
+
.and(z.object({}).catchall(z.number().min(0)));
|
|
4368
|
+
expect(body(schema)).toEqual({
|
|
4369
|
+
type: "object",
|
|
4370
|
+
properties: {},
|
|
4371
|
+
additionalProperties: { allOf: [{ type: "number" }, { type: "number", minimum: 0 }] },
|
|
4372
|
+
});
|
|
4373
|
+
expect(schema.safeParse({ zz: 5 }).success).toBe(true);
|
|
4374
|
+
expect(schema.safeParse({ zz: -1 }).success).toBe(false);
|
|
4375
|
+
});
|
|
4376
|
+
|
|
4377
|
+
test("the emitted openness agrees with the parser for every pair of object modes", () => {
|
|
4378
|
+
const modes = {
|
|
4379
|
+
strip: (shape: z.ZodRawShape) => z.object(shape),
|
|
4380
|
+
strict: (shape: z.ZodRawShape) => z.strictObject(shape),
|
|
4381
|
+
loose: (shape: z.ZodRawShape) => z.looseObject(shape),
|
|
4382
|
+
catchall: (shape: z.ZodRawShape) => z.object(shape).catchall(z.number()),
|
|
4383
|
+
};
|
|
4384
|
+
const grid: Record<string, unknown> = {};
|
|
4385
|
+
for (const [leftName, left] of Object.entries(modes)) {
|
|
4386
|
+
for (const [rightName, right] of Object.entries(modes)) {
|
|
4387
|
+
const schema = left({ a: z.string() }).and(right({ b: z.number() }));
|
|
4388
|
+
const emitted = body(schema) as { additionalProperties?: unknown };
|
|
4389
|
+
grid[`${leftName} & ${rightName}`] = emitted.additionalProperties ?? "open";
|
|
4390
|
+
|
|
4391
|
+
// Whatever the emitted keyword says, it has to agree with what the parser does with a key neither member declares.
|
|
4392
|
+
const parsed = schema.safeParse({ a: "s", b: 1, zz: 7 });
|
|
4393
|
+
const keepsUnknown = parsed.success && Object.prototype.hasOwnProperty.call(parsed.data, "zz");
|
|
4394
|
+
if (keepsUnknown) expect(emitted.additionalProperties).not.toBe(false);
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
expect(grid).toMatchInlineSnapshot(`
|
|
4398
|
+
{
|
|
4399
|
+
"catchall & catchall": {
|
|
4400
|
+
"type": "number",
|
|
4401
|
+
},
|
|
4402
|
+
"catchall & loose": {
|
|
4403
|
+
"type": "number",
|
|
4404
|
+
},
|
|
4405
|
+
"catchall & strict": {
|
|
4406
|
+
"type": "number",
|
|
4407
|
+
},
|
|
4408
|
+
"catchall & strip": {
|
|
4409
|
+
"type": "number",
|
|
4410
|
+
},
|
|
4411
|
+
"loose & catchall": {
|
|
4412
|
+
"type": "number",
|
|
4413
|
+
},
|
|
4414
|
+
"loose & loose": "open",
|
|
4415
|
+
"loose & strict": "open",
|
|
4416
|
+
"loose & strip": "open",
|
|
4417
|
+
"strict & catchall": {
|
|
4418
|
+
"type": "number",
|
|
4419
|
+
},
|
|
4420
|
+
"strict & loose": "open",
|
|
4421
|
+
"strict & strict": false,
|
|
4422
|
+
"strict & strip": false,
|
|
4423
|
+
"strip & catchall": {
|
|
4424
|
+
"type": "number",
|
|
4425
|
+
},
|
|
4426
|
+
"strip & loose": "open",
|
|
4427
|
+
"strip & strict": false,
|
|
4428
|
+
"strip & strip": false,
|
|
4429
|
+
}
|
|
4430
|
+
`);
|
|
4431
|
+
});
|
|
4432
|
+
|
|
4433
|
+
test("a __proto__ key stays an own property", () => {
|
|
4434
|
+
const folded = body(z.object({ ["__proto__"]: z.string() }).and(z.object({ b: z.number() }))) as any;
|
|
4435
|
+
expect(Object.prototype.hasOwnProperty.call(folded.properties, "__proto__")).toBe(true);
|
|
4436
|
+
expect(folded.required).toEqual(["__proto__", "b"]);
|
|
4437
|
+
});
|
|
4438
|
+
});
|
|
4439
|
+
|
|
4440
|
+
describe("intersection folding declines", () => {
|
|
4441
|
+
// Every case here keeps the `allOf` it produces today. The fold only understands the four object keywords, so a member carrying anything else is left alone rather than having a constraint dropped or an annotation re-scoped.
|
|
4442
|
+
const allOf = (schema: z.ZodType, params?: Parameters<typeof z.toJSONSchema>[1]) =>
|
|
4443
|
+
(z.toJSONSchema(schema, params) as any).allOf;
|
|
4444
|
+
|
|
4445
|
+
test("a member that is a reference keeps its reference", () => {
|
|
4446
|
+
const named = z.object({ a: z.string() }).meta({ id: "Named" });
|
|
4447
|
+
expect(allOf(named.and(z.object({ b: z.string() })))[0]).toEqual({ $ref: "#/$defs/Named" });
|
|
4448
|
+
|
|
4449
|
+
const shared = z.object({ c: z.string() });
|
|
4450
|
+
const reused = z.toJSONSchema(z.object({ x: shared.and(z.object({ d: z.string() })), y: shared }), {
|
|
4451
|
+
reused: "ref",
|
|
4452
|
+
}) as any;
|
|
4453
|
+
expect(reused.properties.x.allOf[0]).toEqual({ $ref: "#/$defs/__schema0" });
|
|
4454
|
+
|
|
4455
|
+
const cyclic: any = z.object({
|
|
4456
|
+
get next() {
|
|
4457
|
+
return z.optional(cyclic);
|
|
4458
|
+
},
|
|
4459
|
+
n: z.string(),
|
|
4460
|
+
});
|
|
4461
|
+
expect(allOf(cyclic.and(z.object({ m: z.string() })))[0].$ref).toBe("#/$defs/__schema0");
|
|
4462
|
+
});
|
|
4463
|
+
|
|
4464
|
+
test("an annotated member keeps its place", () => {
|
|
4465
|
+
expect(
|
|
4466
|
+
allOf(
|
|
4467
|
+
z
|
|
4468
|
+
.object({ a: z.string() })
|
|
4469
|
+
.describe("A")
|
|
4470
|
+
.and(z.object({ b: z.string() }))
|
|
4471
|
+
)[0]
|
|
4472
|
+
).toMatchObject({
|
|
4473
|
+
description: "A",
|
|
4474
|
+
});
|
|
4475
|
+
});
|
|
4476
|
+
|
|
4477
|
+
test("members that are not plain objects are left alone", () => {
|
|
4478
|
+
expect(allOf(z.intersection(z.string().min(2), z.string().max(5)))).toHaveLength(2);
|
|
4479
|
+
expect(allOf(z.object({ a: z.string() }).and(z.nullable(z.object({ b: z.string() }))))).toHaveLength(2);
|
|
4480
|
+
expect(
|
|
4481
|
+
allOf(z.object({ label: z.string() }).and(z.looseRecord(z.string().regex(/^label:[a-z]{2}$/), z.string())))
|
|
4482
|
+
).toHaveLength(2);
|
|
4483
|
+
});
|
|
4484
|
+
|
|
4485
|
+
test("a shared member is never rewritten for its other uses", () => {
|
|
4486
|
+
const shared = z.object({ c: z.string() });
|
|
4487
|
+
const result = z.toJSONSchema(z.object({ x: shared.and(z.object({ d: z.string() })), y: shared })) as any;
|
|
4488
|
+
expect(result.properties.x).toMatchObject({ properties: { c: {}, d: {} }, additionalProperties: false });
|
|
4489
|
+
// `y` is the same Zod schema, emitted separately, and keeps the closedness it had on its own.
|
|
4490
|
+
expect(result.properties.y).toEqual({
|
|
4491
|
+
type: "object",
|
|
4492
|
+
properties: { c: { type: "string" } },
|
|
4493
|
+
required: ["c"],
|
|
4494
|
+
additionalProperties: false,
|
|
4495
|
+
});
|
|
4496
|
+
});
|
|
4497
|
+
|
|
4498
|
+
test("registry conversion keeps its cross-references", () => {
|
|
4499
|
+
const registry = z.registry<{ id: string }>();
|
|
4500
|
+
const left = z.object({ p: z.string() });
|
|
4501
|
+
const right = z.object({ q: z.string() });
|
|
4502
|
+
registry.add(left, { id: "P" });
|
|
4503
|
+
registry.add(right, { id: "Q" });
|
|
4504
|
+
registry.add(left.and(right), { id: "PQ" });
|
|
4505
|
+
expect((z.toJSONSchema(registry) as any).schemas.PQ.allOf).toEqual([{ $ref: "P" }, { $ref: "Q" }]);
|
|
4506
|
+
});
|
|
4507
|
+
|
|
4508
|
+
test("override still runs, and sees the intersection before it folds", () => {
|
|
4509
|
+
const schema = z.object({ a: z.string() }).and(z.object({ b: z.string() }));
|
|
4510
|
+
const result = z.toJSONSchema(schema, {
|
|
4511
|
+
override(ctx) {
|
|
4512
|
+
if ((ctx.jsonSchema as any).allOf) (ctx.jsonSchema as any).title = "intersection";
|
|
4513
|
+
},
|
|
4514
|
+
}) as any;
|
|
4515
|
+
expect(result).toMatchObject({ title: "intersection", type: "object", properties: { a: {}, b: {} } });
|
|
4516
|
+
});
|
|
4517
|
+
|
|
4518
|
+
test("an override that writes object keywords wins over the fold", () => {
|
|
4519
|
+
// The override runs first, so anything it puts on the intersection is deliberate. Folding would overwrite it silently, so the fold stands down instead.
|
|
4520
|
+
const result = z.toJSONSchema(z.object({ a: z.string() }).and(z.object({ b: z.string() })), {
|
|
4521
|
+
override(ctx) {
|
|
4522
|
+
if ((ctx.jsonSchema as any).allOf) (ctx.jsonSchema as any).additionalProperties = true;
|
|
4523
|
+
},
|
|
4524
|
+
}) as any;
|
|
4525
|
+
expect(result.additionalProperties).toBe(true);
|
|
4526
|
+
expect(result.allOf).toHaveLength(2);
|
|
4527
|
+
});
|
|
4528
|
+
|
|
4529
|
+
test("more than one union member is left alone rather than multiplied out", () => {
|
|
4530
|
+
// The second union lands among the members the first is distributed across, and a union is not an object, so every branch fails to fold and the whole intersection stands down.
|
|
4531
|
+
const schema = z
|
|
4532
|
+
.object({ a: z.string() })
|
|
4533
|
+
.and(z.union([z.object({ v: z.string() }), z.object({ w: z.string() })]))
|
|
4534
|
+
.and(z.union([z.object({ x: z.string() }), z.object({ y: z.string() })]));
|
|
4535
|
+
expect(allOf(schema)).toHaveLength(3);
|
|
4536
|
+
});
|
|
4537
|
+
});
|