@capybara-hq/device 0.1.0-rc.13 → 0.1.0-rc.14
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 +34 -0
- package/dist/args.d.ts +12 -2
- package/dist/args.js +35 -0
- package/dist/boot-id.d.ts +17 -0
- package/dist/boot-id.js +43 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +38 -0
- package/dist/client.d.ts +8 -0
- package/dist/client.js +15 -3
- package/dist/commands/ceiling.d.ts +28 -0
- package/dist/commands/ceiling.js +120 -0
- package/dist/commands/login.js +18 -4
- package/dist/commands/mode.js +7 -3
- package/dist/commands/policy.js +3 -3
- package/dist/commands/start.d.ts +16 -1
- package/dist/commands/start.js +73 -8
- package/dist/commands/status.js +2 -2
- package/dist/exec/docker-operations.d.ts +44 -0
- package/dist/exec/docker-operations.js +288 -0
- package/dist/exec/docker.d.ts +11 -0
- package/dist/exec/docker.js +22 -1
- package/dist/exec/instance-binding.d.ts +107 -0
- package/dist/exec/instance-binding.js +267 -0
- package/dist/exec/linux-agent.d.ts +27 -0
- package/dist/exec/linux-agent.js +866 -0
- package/dist/exec/linux-operation-backend.d.ts +60 -0
- package/dist/exec/linux-operation-backend.js +85 -0
- package/dist/exec/linux-operation-worker.d.ts +33 -0
- package/dist/exec/linux-operation-worker.js +304 -0
- package/dist/exec/linux-runtime.d.ts +80 -0
- package/dist/exec/linux-runtime.js +181 -0
- package/dist/exec/mac-operation-backend.d.ts +113 -0
- package/dist/exec/mac-operation-backend.js +370 -0
- package/dist/exec/mac-self-check.d.ts +37 -0
- package/dist/exec/mac-self-check.js +163 -0
- package/dist/exec/mac-write-policy.d.ts +34 -0
- package/dist/exec/mac-write-policy.js +194 -0
- package/dist/exec/native-helper-client.d.ts +46 -0
- package/dist/exec/native-helper-client.js +204 -0
- package/dist/exec/operation-supervisor.d.ts +187 -0
- package/dist/exec/operation-supervisor.js +1307 -0
- package/dist/exec/operation-types.d.ts +55 -0
- package/dist/exec/operation-types.js +164 -0
- package/dist/exec/operation-worker.d.ts +83 -0
- package/dist/exec/operation-worker.js +649 -0
- package/dist/exec/output-spool-helper.d.ts +2 -0
- package/dist/exec/output-spool-helper.js +149 -0
- package/dist/exec/output-spool.d.ts +72 -0
- package/dist/exec/output-spool.js +324 -0
- package/dist/exec/runtime-manifest.d.ts +115 -0
- package/dist/exec/runtime-manifest.js +642 -0
- package/dist/exec/runtime-source.d.ts +87 -0
- package/dist/exec/runtime-source.js +305 -0
- package/dist/exec/switch.js +6 -5
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/CAPYBARA-MODIFICATIONS.md +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/CAPYBARA-MODIFICATIONS.patch +70 -0
- package/{LICENSE → dist/node_modules/@anthropic-ai/sandbox-runtime/LICENSE} +1 -2
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/README.md +1288 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js +527 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts +22 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js +20 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.d.ts +4 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.js +119 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.d.ts +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.js +5 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.d.ts +52 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.js +153 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.d.ts +168 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.js +250 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.d.ts +58 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.js +128 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.d.ts +124 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.js +258 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.d.ts +87 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.js +138 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.d.ts +67 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.js +113 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.d.ts +70 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.js +171 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.d.ts +121 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.js +282 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.d.ts +108 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.js +208 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.d.ts +130 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.js +780 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.d.ts +106 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.js +221 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.d.ts +98 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.js +194 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts +44 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js +220 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.d.ts +89 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.js +230 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts +316 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js +920 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.d.ts +32 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.js +111 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts +348 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js +3147 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.d.ts +55 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.js +152 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.d.ts +12 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.js +43 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts +117 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js +1286 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts +209 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js +464 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js +139 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.d.ts +64 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.js +182 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.d.ts +13 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.js +32 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts +179 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js +510 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.d.ts +133 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.js +340 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.d.ts +99 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.js +259 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.d.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.js +176 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts +332 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js +754 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.d.ts +76 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.js +221 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts +1967 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js +1311 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts +188 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js +2646 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts +158 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts +479 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js +1637 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts +50 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js +143 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts +67 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js +345 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts +212 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js +1174 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts +1615 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js +2848 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts +31 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js +69 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts +7 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js +25 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts +15 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js +49 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.d.ts +35 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.js +106 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts +29 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js +51 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.d.ts +27 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.js +47 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts +9 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js +25 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/package.json +90 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/java-proxy-agent/build.ts +95 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/java-proxy-agent/srt-proxy-agent.jar +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/arm64/apply-seccomp +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/build.ts +73 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/x64/apply-seccomp +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/arm64/srt-win.exe +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/build.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/x64/srt-win.exe +0 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/NOTICE +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/README.md +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/agent-templates.md +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/concepts.md +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/connector-templates.md +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/channel.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/config-source.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/connector.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/context.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/counter.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/directory.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/file-preview.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/identity-source.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/model-provider.md +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/object-store.md +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/sandbox.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/secret-store.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/web-fetch.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/web-search.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extensions.md +88 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/plugin-format.md +100 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/setup.md +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/skills.md +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/tool-naming.md +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/agent-template.d.ts +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/agent-template.js +501 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/bootstrap.d.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/bootstrap.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/cards.d.ts +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/cards.js +287 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/channel.d.ts +293 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/channel.js +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-css.d.ts +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-css.js +326 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-section.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-section.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/config-ui.d.ts +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/config-ui.js +662 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector-auth.d.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector-auth.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector.d.ts +196 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/context.d.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/context.js +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ctx.d.ts +287 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ctx.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/define-extension.d.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/define-extension.js +92 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol-v3.d.ts +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol-v3.js +409 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol.d.ts +330 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol.js +567 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/directory.d.ts +38 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/directory.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/extension-point.d.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/extension-point.js +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/file-preview.d.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/file-preview.js +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/frontmatter.d.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/frontmatter.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/git-hosts.d.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/git-hosts.js +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/hooks.d.ts +295 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/hooks.js +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/http-access.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/http-access.js +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/identity.d.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/identity.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/index.d.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/index.js +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/marketplace.d.ts +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/marketplace.js +326 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model-params.d.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model-params.js +235 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model.d.ts +336 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model.js +204 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/net.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/net.js +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/org-access.d.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/org-access.js +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/permissions.d.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/permissions.js +328 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-manifest.d.ts +204 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-manifest.js +504 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-package.d.ts +183 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-package.js +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-linux-runtime-source.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-linux-runtime-source.js +1886 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-native-runtime-source.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-native-runtime-source.js +325 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-operation.d.ts +248 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-operation.js +245 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-runtime-source.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-runtime-source.js +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-write-denies.d.ts +60 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-write-denies.js +630 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox.d.ts +417 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox.js +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/secret.d.ts +11 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/secret.js +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/semver-range.d.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/semver-range.js +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-check.d.ts +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-check.js +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-parse.d.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-parse.js +350 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-render.d.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-render.js +351 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide.d.ts +94 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide.js +336 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-invocation.d.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-invocation.js +211 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-keys.d.ts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-keys.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill.d.ts +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill.js +283 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/storage.d.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/storage.js +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-assets.d.ts +39 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-assets.js +449 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-readability.d.ts +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-readability.js +145 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-tokens.generated.d.ts +279 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-tokens.generated.js +174 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme.d.ts +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme.js +392 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool-key.d.ts +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool-key.js +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool.d.ts +205 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool.js +238 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-parts.d.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-parts.js +337 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-resolve.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-resolve.js +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-slots.d.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-slots.js +238 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui.d.ts +385 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui.js +432 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/url.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/url.js +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/web.d.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/web.js +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/README.md +218 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.cjs +96 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.js +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.js +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.cjs +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/package.json +147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/compile.ts +56 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/index.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/locales/index.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/types.ts +5138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/core.ts +230 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/index.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.cjs +167 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.js +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.cjs +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.cjs +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.cjs +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.cjs +3798 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.d.cts +1034 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.d.ts +1034 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.js +3697 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.js +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.js +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.cjs +97 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.js +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.js +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.cjs +1269 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.d.cts +335 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.d.ts +335 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.js +1107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.cjs +561 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.js +516 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.js +1866 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.cjs +167 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.d.cts +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.d.ts +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.js +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.cjs +61 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.cjs +317 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.js +267 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.cjs +70 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.d.cts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.js +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.js +311 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.cjs +233 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.js +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.js +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.cjs +75 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.js +2636 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.cjs +964 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.d.cts +280 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.d.ts +280 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.js +873 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.cjs +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.cjs +214 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.js +169 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.cjs +137 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.js +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.cjs +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.js +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.cjs +147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.js +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.cjs +163 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.js +136 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.js +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.js +129 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.cjs +248 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.js +221 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.js +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.js +158 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.js +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.js +207 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.js +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.js +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.js +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.js +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.js +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.js +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.js +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.cjs +95 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.js +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/package.json +61 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/bootstrap.v1.schema.json +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/connector-template.v1.schema.json +151 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/marketplace.v1.schema.json +320 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/plugin.v1.schema.json +487 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/theme.v1.schema.json +225 -0
- package/dist/node_modules/@pondwader/socks5-server/.github/workflows/ci.yml +27 -0
- package/dist/node_modules/@pondwader/socks5-server/LICENSE +20 -0
- package/dist/node_modules/@pondwader/socks5-server/README.md +151 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.d.mts +87 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.d.ts +87 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.js +346 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.mjs +307 -0
- package/dist/node_modules/@pondwader/socks5-server/package.json +31 -0
- package/dist/node_modules/@types/debug/LICENSE +21 -0
- package/dist/node_modules/@types/debug/README.md +69 -0
- package/dist/node_modules/@types/debug/index.d.ts +50 -0
- package/dist/node_modules/@types/debug/package.json +58 -0
- package/dist/node_modules/@types/mdast/LICENSE +21 -0
- package/dist/node_modules/@types/mdast/README.md +15 -0
- package/dist/node_modules/@types/mdast/index.d.ts +1123 -0
- package/dist/node_modules/@types/mdast/package.json +47 -0
- package/dist/node_modules/@types/ms/LICENSE +21 -0
- package/dist/node_modules/@types/ms/README.md +82 -0
- package/dist/node_modules/@types/ms/index.d.ts +63 -0
- package/dist/node_modules/@types/ms/package.json +26 -0
- package/dist/node_modules/@types/unist/LICENSE +21 -0
- package/dist/node_modules/@types/unist/README.md +15 -0
- package/dist/node_modules/@types/unist/index.d.ts +119 -0
- package/dist/node_modules/@types/unist/package.json +60 -0
- package/dist/node_modules/ccount/index.d.ts +11 -0
- package/dist/node_modules/ccount/index.js +27 -0
- package/dist/node_modules/ccount/license +22 -0
- package/dist/node_modules/ccount/package.json +71 -0
- package/dist/node_modules/ccount/readme.md +149 -0
- package/dist/node_modules/character-entities/index.d.ts +6 -0
- package/dist/node_modules/character-entities/index.js +2132 -0
- package/dist/node_modules/character-entities/license +22 -0
- package/dist/node_modules/character-entities/package.json +78 -0
- package/dist/node_modules/character-entities/readme.md +152 -0
- package/dist/node_modules/commander/LICENSE +22 -0
- package/dist/node_modules/commander/Readme.md +1157 -0
- package/dist/node_modules/commander/esm.mjs +16 -0
- package/dist/node_modules/commander/index.js +24 -0
- package/dist/node_modules/commander/lib/argument.js +149 -0
- package/dist/node_modules/commander/lib/command.js +2509 -0
- package/dist/node_modules/commander/lib/error.js +39 -0
- package/dist/node_modules/commander/lib/help.js +520 -0
- package/dist/node_modules/commander/lib/option.js +330 -0
- package/dist/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/dist/node_modules/commander/package-support.json +16 -0
- package/dist/node_modules/commander/package.json +84 -0
- package/dist/node_modules/commander/typings/esm.d.mts +3 -0
- package/dist/node_modules/commander/typings/index.d.ts +969 -0
- package/dist/node_modules/debug/LICENSE +20 -0
- package/dist/node_modules/debug/README.md +481 -0
- package/dist/node_modules/debug/package.json +64 -0
- package/dist/node_modules/debug/src/browser.js +272 -0
- package/dist/node_modules/debug/src/common.js +292 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/node.js +263 -0
- package/dist/node_modules/decode-named-character-reference/index.d.ts +13 -0
- package/dist/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +32 -0
- package/dist/node_modules/decode-named-character-reference/index.js +19 -0
- package/dist/node_modules/decode-named-character-reference/license +22 -0
- package/dist/node_modules/decode-named-character-reference/package.json +90 -0
- package/dist/node_modules/decode-named-character-reference/readme.md +136 -0
- package/dist/node_modules/dequal/dist/index.js +86 -0
- package/dist/node_modules/dequal/dist/index.min.js +1 -0
- package/dist/node_modules/dequal/dist/index.mjs +84 -0
- package/dist/node_modules/dequal/index.d.ts +1 -0
- package/dist/node_modules/dequal/license +21 -0
- package/dist/node_modules/dequal/lite/index.d.ts +1 -0
- package/dist/node_modules/dequal/lite/index.js +31 -0
- package/dist/node_modules/dequal/lite/index.min.js +1 -0
- package/dist/node_modules/dequal/lite/index.mjs +29 -0
- package/dist/node_modules/dequal/package.json +57 -0
- package/dist/node_modules/dequal/readme.md +112 -0
- package/dist/node_modules/devlop/lib/default.js +9 -0
- package/dist/node_modules/devlop/lib/development.d.ts +84 -0
- package/dist/node_modules/devlop/lib/development.js +238 -0
- package/dist/node_modules/devlop/license +22 -0
- package/dist/node_modules/devlop/package.json +80 -0
- package/dist/node_modules/devlop/readme.md +360 -0
- package/dist/node_modules/escape-string-regexp/index.d.ts +16 -0
- package/dist/node_modules/escape-string-regexp/index.js +11 -0
- package/dist/node_modules/escape-string-regexp/license +9 -0
- package/dist/node_modules/escape-string-regexp/package.json +40 -0
- package/dist/node_modules/escape-string-regexp/readme.md +34 -0
- package/dist/node_modules/kysely/LICENSE +21 -0
- package/dist/node_modules/kysely/README.md +242 -0
- package/dist/node_modules/kysely/dist/dialect/database-introspector.d.ts +50 -0
- package/dist/node_modules/kysely/dist/dialect/database-introspector.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter-base.d.ts +79 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter-base.js +24 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter.d.ts +131 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/dialect.d.ts +34 -0
- package/dist/node_modules/kysely/dist/dialect/dialect.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-adapter.d.ts +72 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-adapter.js +31 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect-config.d.ts +171 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect.d.ts +70 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect.js +62 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-driver.d.ts +60 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-driver.js +358 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-introspector.js +103 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-query-compiler.d.ts +17 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-query-compiler.js +89 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-adapter.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-adapter.js +25 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect-config.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect.js +53 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-driver.d.ts +56 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-driver.js +252 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-introspector.js +73 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-query-compiler.d.ts +27 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-query-compiler.js +77 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-adapter.d.ts +68 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-adapter.js +17 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect-config.d.ts +58 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect.d.ts +55 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect.js +47 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-driver.d.ts +57 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-driver.js +119 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-adapter.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-adapter.js +28 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect-config.d.ts +123 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect.js +53 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-driver.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-driver.js +198 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-introspector.js +102 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-query-compiler.d.ts +4 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-query-compiler.js +8 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-adapter.d.ts +72 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-adapter.js +23 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect-config.d.ts +42 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect.d.ts +55 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect.js +48 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-driver.d.ts +43 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-driver.js +84 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-introspector.js +87 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-query-compiler.d.ts +15 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-query-compiler.js +38 -0
- package/dist/node_modules/kysely/dist/driver/connection-mutex.d.ts +12 -0
- package/dist/node_modules/kysely/dist/driver/connection-mutex.js +26 -0
- package/dist/node_modules/kysely/dist/driver/connection-provider.d.ts +9 -0
- package/dist/node_modules/kysely/dist/driver/connection-provider.js +2 -0
- package/dist/node_modules/kysely/dist/driver/database-connection.d.ts +49 -0
- package/dist/node_modules/kysely/dist/driver/database-connection.js +2 -0
- package/dist/node_modules/kysely/dist/driver/default-connection-provider.d.ts +13 -0
- package/dist/node_modules/kysely/dist/driver/default-connection-provider.js +16 -0
- package/dist/node_modules/kysely/dist/driver/driver.d.ts +62 -0
- package/dist/node_modules/kysely/dist/driver/driver.js +19 -0
- package/dist/node_modules/kysely/dist/driver/dummy-driver.d.ts +75 -0
- package/dist/node_modules/kysely/dist/driver/dummy-driver.js +80 -0
- package/dist/node_modules/kysely/dist/driver/runtime-driver.d.ts +49 -0
- package/dist/node_modules/kysely/dist/driver/runtime-driver.js +174 -0
- package/dist/node_modules/kysely/dist/driver/single-connection-provider.d.ts +11 -0
- package/dist/node_modules/kysely/dist/driver/single-connection-provider.js +26 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-reference-builder.d.ts +18 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-reference-builder.js +32 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-table-builder.d.ts +16 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-table-builder.js +41 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic.d.ts +124 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic.js +129 -0
- package/dist/node_modules/kysely/dist/expression/expression-builder.d.ts +914 -0
- package/dist/node_modules/kysely/dist/expression/expression-builder.js +121 -0
- package/dist/node_modules/kysely/dist/expression/expression-wrapper.d.ts +631 -0
- package/dist/node_modules/kysely/dist/expression/expression-wrapper.js +128 -0
- package/dist/node_modules/kysely/dist/expression/expression.d.ts +198 -0
- package/dist/node_modules/kysely/dist/expression/expression.js +12 -0
- package/dist/node_modules/kysely/dist/helpers/mssql.d.ts +212 -0
- package/dist/node_modules/kysely/dist/helpers/mssql.js +215 -0
- package/dist/node_modules/kysely/dist/helpers/mysql.d.ts +147 -0
- package/dist/node_modules/kysely/dist/helpers/mysql.js +158 -0
- package/dist/node_modules/kysely/dist/helpers/postgres.d.ts +199 -0
- package/dist/node_modules/kysely/dist/helpers/postgres.js +203 -0
- package/dist/node_modules/kysely/dist/helpers/sqlite.d.ts +189 -0
- package/dist/node_modules/kysely/dist/helpers/sqlite.js +200 -0
- package/dist/node_modules/kysely/dist/index.d.ts +314 -0
- package/dist/node_modules/kysely/dist/index.js +200 -0
- package/dist/node_modules/kysely/dist/kysely.d.ts +796 -0
- package/dist/node_modules/kysely/dist/kysely.js +1032 -0
- package/dist/node_modules/kysely/dist/migration/file-migration-provider.d.ts +51 -0
- package/dist/node_modules/kysely/dist/migration/file-migration-provider.js +61 -0
- package/dist/node_modules/kysely/dist/migration/index.d.ts +2 -0
- package/dist/node_modules/kysely/dist/migration/index.js +3 -0
- package/dist/node_modules/kysely/dist/migration/migrator.d.ts +393 -0
- package/dist/node_modules/kysely/dist/migration/migrator.js +614 -0
- package/dist/node_modules/kysely/dist/operation-node/add-column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/add-column-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/add-constraint-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/add-constraint-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/add-index-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/add-index-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/add-value-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/add-value-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/aggregate-function-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/aggregate-function-node.js +56 -0
- package/dist/node_modules/kysely/dist/operation-node/alias-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/alias-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-column-node.d.ts +23 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-column-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-table-node.d.ts +38 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-table-node.js +30 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-type-node.d.ts +24 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-type-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/and-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/and-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/binary-operation-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/binary-operation-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/case-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/case-node.js +40 -0
- package/dist/node_modules/kysely/dist/operation-node/cast-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/cast-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/check-constraint-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/check-constraint-node.js +20 -0
- package/dist/node_modules/kysely/dist/operation-node/collate-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/collate-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/column-definition-node.d.ts +38 -0
- package/dist/node_modules/kysely/dist/operation-node/column-definition-node.js +40 -0
- package/dist/node_modules/kysely/dist/operation-node/column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/column-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/column-update-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/column-update-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-name-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-name-node.js +21 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/constraint-node.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/constraint-node.js +2 -0
- package/dist/node_modules/kysely/dist/operation-node/create-index-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/create-index-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/create-schema-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/create-schema-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/create-table-node.d.ts +37 -0
- package/dist/node_modules/kysely/dist/operation-node/create-table-node.js +62 -0
- package/dist/node_modules/kysely/dist/operation-node/create-type-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/create-type-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/create-view-node.d.ts +26 -0
- package/dist/node_modules/kysely/dist/operation-node/create-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/data-type-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/data-type-node.js +80 -0
- package/dist/node_modules/kysely/dist/operation-node/default-insert-value-node.d.ts +13 -0
- package/dist/node_modules/kysely/dist/operation-node/default-insert-value-node.js +15 -0
- package/dist/node_modules/kysely/dist/operation-node/default-value-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/default-value-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/delete-query-node.d.ts +42 -0
- package/dist/node_modules/kysely/dist/operation-node/delete-query-node.js +50 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-column-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-column-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-constraint-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-constraint-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-index-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-index-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-schema-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-schema-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-table-node.d.ts +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-table-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-type-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-type-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-view-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/explain-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/explain-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/fetch-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/fetch-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/foreign-key-constraint-node.d.ts +26 -0
- package/dist/node_modules/kysely/dist/operation-node/foreign-key-constraint-node.js +28 -0
- package/dist/node_modules/kysely/dist/operation-node/from-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/from-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/function-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/function-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/generated-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/generated-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-item-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-item-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/having-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/having-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/identifier-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/identifier-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/insert-query-node.d.ts +40 -0
- package/dist/node_modules/kysely/dist/operation-node/insert-query-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/join-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/join-node.js +35 -0
- package/dist/node_modules/kysely/dist/operation-node/json-operator-chain-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/json-operator-chain-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-leg-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-leg-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/json-reference-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/json-reference-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/limit-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/limit-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/list-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/matched-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/matched-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/merge-query-node.d.ts +32 -0
- package/dist/node_modules/kysely/dist/operation-node/merge-query-node.js +43 -0
- package/dist/node_modules/kysely/dist/operation-node/modify-column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/modify-column-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/offset-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/offset-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-conflict-node.d.ts +32 -0
- package/dist/node_modules/kysely/dist/operation-node/on-conflict-node.js +66 -0
- package/dist/node_modules/kysely/dist/operation-node/on-duplicate-key-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-duplicate-key-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/on-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-source.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-source.js +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-transformer.d.ts +244 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-transformer.js +958 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-visitor.d.ts +207 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-visitor.js +115 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node.js +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operator-node.d.ts +65 -0
- package/dist/node_modules/kysely/dist/operation-node/operator-node.js +148 -0
- package/dist/node_modules/kysely/dist/operation-node/or-action-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/or-action-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/or-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/or-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-item-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-item-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/output-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/output-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/over-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/over-node.js +33 -0
- package/dist/node_modules/kysely/dist/operation-node/parens-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/parens-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-item-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-item-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/primary-key-constraint-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/primary-key-constraint-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/primitive-value-list-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/primitive-value-list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/query-node.d.ts +61 -0
- package/dist/node_modules/kysely/dist/operation-node/query-node.js +100 -0
- package/dist/node_modules/kysely/dist/operation-node/raw-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/raw-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/reference-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/reference-node.js +25 -0
- package/dist/node_modules/kysely/dist/operation-node/references-node.d.ts +27 -0
- package/dist/node_modules/kysely/dist/operation-node/references-node.js +43 -0
- package/dist/node_modules/kysely/dist/operation-node/refresh-materialized-view-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/refresh-materialized-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-column-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-column-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-constraint-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-constraint-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-value-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-value-node.js +14 -0
- package/dist/node_modules/kysely/dist/operation-node/returning-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/returning-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/root-operation-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/root-operation-node.js +27 -0
- package/dist/node_modules/kysely/dist/operation-node/schemable-identifier-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/schemable-identifier-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/select-all-node.d.ts +13 -0
- package/dist/node_modules/kysely/dist/operation-node/select-all-node.js +15 -0
- package/dist/node_modules/kysely/dist/operation-node/select-modifier-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/select-modifier-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/select-query-node.d.ts +63 -0
- package/dist/node_modules/kysely/dist/operation-node/select-query-node.js +127 -0
- package/dist/node_modules/kysely/dist/operation-node/selection-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/selection-node.js +30 -0
- package/dist/node_modules/kysely/dist/operation-node/set-operation-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/set-operation-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/simple-reference-expression-node.d.ts +3 -0
- package/dist/node_modules/kysely/dist/operation-node/simple-reference-expression-node.js +2 -0
- package/dist/node_modules/kysely/dist/operation-node/table-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/table-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/top-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/top-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/tuple-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/tuple-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/unary-operation-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/unary-operation-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/unique-constraint-node.d.ts +30 -0
- package/dist/node_modules/kysely/dist/operation-node/unique-constraint-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/update-query-node.d.ts +41 -0
- package/dist/node_modules/kysely/dist/operation-node/update-query-node.js +48 -0
- package/dist/node_modules/kysely/dist/operation-node/using-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/using-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/value-list-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/value-list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/value-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/value-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/values-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/values-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/when-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/when-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/where-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/where-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/with-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/with-node.js +23 -0
- package/dist/node_modules/kysely/dist/parser/binary-operation-parser.d.ts +23 -0
- package/dist/node_modules/kysely/dist/parser/binary-operation-parser.js +68 -0
- package/dist/node_modules/kysely/dist/parser/coalesce-parser.d.ts +12 -0
- package/dist/node_modules/kysely/dist/parser/coalesce-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/collate-parser.d.ts +1 -0
- package/dist/node_modules/kysely/dist/parser/collate-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/data-type-parser.d.ts +5 -0
- package/dist/node_modules/kysely/dist/parser/data-type-parser.js +12 -0
- package/dist/node_modules/kysely/dist/parser/default-value-parser.d.ts +4 -0
- package/dist/node_modules/kysely/dist/parser/default-value-parser.js +8 -0
- package/dist/node_modules/kysely/dist/parser/delete-from-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/delete-from-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/expression-parser.d.ts +20 -0
- package/dist/node_modules/kysely/dist/parser/expression-parser.js +26 -0
- package/dist/node_modules/kysely/dist/parser/fetch-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/fetch-parser.js +15 -0
- package/dist/node_modules/kysely/dist/parser/group-by-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/group-by-parser.js +9 -0
- package/dist/node_modules/kysely/dist/parser/identifier-parser.d.ts +3 -0
- package/dist/node_modules/kysely/dist/parser/identifier-parser.js +26 -0
- package/dist/node_modules/kysely/dist/parser/insert-values-parser.d.ts +14 -0
- package/dist/node_modules/kysely/dist/parser/insert-values-parser.js +62 -0
- package/dist/node_modules/kysely/dist/parser/join-parser.d.ts +10 -0
- package/dist/node_modules/kysely/dist/parser/join-parser.js +28 -0
- package/dist/node_modules/kysely/dist/parser/merge-into-parser.d.ts +7 -0
- package/dist/node_modules/kysely/dist/parser/merge-into-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/merge-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/merge-parser.js +28 -0
- package/dist/node_modules/kysely/dist/parser/on-commit-action-parse.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/on-commit-action-parse.js +8 -0
- package/dist/node_modules/kysely/dist/parser/on-modify-action-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/on-modify-action-parser.js +8 -0
- package/dist/node_modules/kysely/dist/parser/order-by-parser.d.ts +25 -0
- package/dist/node_modules/kysely/dist/parser/order-by-parser.js +67 -0
- package/dist/node_modules/kysely/dist/parser/parse-utils.d.ts +10 -0
- package/dist/node_modules/kysely/dist/parser/parse-utils.js +33 -0
- package/dist/node_modules/kysely/dist/parser/partition-by-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/partition-by-parser.js +6 -0
- package/dist/node_modules/kysely/dist/parser/reference-parser.d.ts +31 -0
- package/dist/node_modules/kysely/dist/parser/reference-parser.js +93 -0
- package/dist/node_modules/kysely/dist/parser/returning-parser.d.ts +8 -0
- package/dist/node_modules/kysely/dist/parser/returning-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/savepoint-parser.d.ts +4 -0
- package/dist/node_modules/kysely/dist/parser/savepoint-parser.js +9 -0
- package/dist/node_modules/kysely/dist/parser/select-from-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/select-from-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/select-parser.d.ts +36 -0
- package/dist/node_modules/kysely/dist/parser/select-parser.js +47 -0
- package/dist/node_modules/kysely/dist/parser/set-operation-parser.d.ts +5 -0
- package/dist/node_modules/kysely/dist/parser/set-operation-parser.js +14 -0
- package/dist/node_modules/kysely/dist/parser/table-parser.d.ts +24 -0
- package/dist/node_modules/kysely/dist/parser/table-parser.js +49 -0
- package/dist/node_modules/kysely/dist/parser/top-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/top-parser.js +17 -0
- package/dist/node_modules/kysely/dist/parser/tuple-parser.d.ts +47 -0
- package/dist/node_modules/kysely/dist/parser/tuple-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/unary-operation-parser.d.ts +8 -0
- package/dist/node_modules/kysely/dist/parser/unary-operation-parser.js +16 -0
- package/dist/node_modules/kysely/dist/parser/update-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/update-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/update-set-parser.d.ts +16 -0
- package/dist/node_modules/kysely/dist/parser/update-set-parser.js +23 -0
- package/dist/node_modules/kysely/dist/parser/value-parser.d.ts +13 -0
- package/dist/node_modules/kysely/dist/parser/value-parser.js +33 -0
- package/dist/node_modules/kysely/dist/parser/with-parser.d.ts +46 -0
- package/dist/node_modules/kysely/dist/parser/with-parser.js +34 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-plugin.d.ts +170 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-plugin.js +119 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-transformer.d.ts +9 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-transformer.js +16 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case.d.ts +15 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case.js +108 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-plugin.d.ts +70 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-plugin.js +16 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-transformer.d.ts +11 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-transformer.js +39 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-plugin.d.ts +211 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-plugin.js +159 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-transformer.d.ts +8 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-transformer.js +26 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists.d.ts +44 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists.js +63 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-plugin.d.ts +73 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-plugin.js +19 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-transformer.d.ts +15 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-transformer.js +20 -0
- package/dist/node_modules/kysely/dist/plugin/kysely-plugin.d.ts +73 -0
- package/dist/node_modules/kysely/dist/plugin/kysely-plugin.js +2 -0
- package/dist/node_modules/kysely/dist/plugin/noop-plugin.d.ts +64 -0
- package/dist/node_modules/kysely/dist/plugin/noop-plugin.js +9 -0
- package/dist/node_modules/kysely/dist/plugin/parse-json-results/parse-json-results-plugin.d.ts +141 -0
- package/dist/node_modules/kysely/dist/plugin/parse-json-results/parse-json-results-plugin.js +143 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-plugin.d.ts +81 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-plugin.js +27 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-transformer.d.ts +5 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-transformer.js +20 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-plugin.d.ts +66 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-plugin.js +14 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-transformer.d.ts +18 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-transformer.js +170 -0
- package/dist/node_modules/kysely/dist/query-builder/aggregate-function-builder.d.ts +379 -0
- package/dist/node_modules/kysely/dist/query-builder/aggregate-function-builder.js +238 -0
- package/dist/node_modules/kysely/dist/query-builder/case-builder.d.ts +184 -0
- package/dist/node_modules/kysely/dist/query-builder/case-builder.js +116 -0
- package/dist/node_modules/kysely/dist/query-builder/cte-builder.d.ts +20 -0
- package/dist/node_modules/kysely/dist/query-builder/cte-builder.js +34 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-query-builder.d.ts +1344 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-query-builder.js +497 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-result.d.ts +4 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-result.js +7 -0
- package/dist/node_modules/kysely/dist/query-builder/function-module.d.ts +592 -0
- package/dist/node_modules/kysely/dist/query-builder/function-module.js +60 -0
- package/dist/node_modules/kysely/dist/query-builder/having-interface.d.ts +15 -0
- package/dist/node_modules/kysely/dist/query-builder/having-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-query-builder.d.ts +1231 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-query-builder.js +1151 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-result.d.ts +46 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-result.js +50 -0
- package/dist/node_modules/kysely/dist/query-builder/join-builder.d.ts +38 -0
- package/dist/node_modules/kysely/dist/query-builder/join-builder.js +48 -0
- package/dist/node_modules/kysely/dist/query-builder/json-path-builder.d.ts +294 -0
- package/dist/node_modules/kysely/dist/query-builder/json-path-builder.js +203 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-query-builder.d.ts +993 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-query-builder.js +613 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-result.d.ts +4 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-result.js +7 -0
- package/dist/node_modules/kysely/dist/query-builder/no-result-error.d.ts +10 -0
- package/dist/node_modules/kysely/dist/query-builder/no-result-error.js +14 -0
- package/dist/node_modules/kysely/dist/query-builder/on-conflict-builder.d.ts +875 -0
- package/dist/node_modules/kysely/dist/query-builder/on-conflict-builder.js +254 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-interface.d.ts +158 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-item-builder.d.ts +43 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-item-builder.js +72 -0
- package/dist/node_modules/kysely/dist/query-builder/output-interface.d.ts +138 -0
- package/dist/node_modules/kysely/dist/query-builder/output-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/over-builder.d.ts +101 -0
- package/dist/node_modules/kysely/dist/query-builder/over-builder.js +37 -0
- package/dist/node_modules/kysely/dist/query-builder/returning-interface.d.ts +87 -0
- package/dist/node_modules/kysely/dist/query-builder/returning-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder-expression.d.ts +28 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder-expression.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder.d.ts +2413 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder.js +387 -0
- package/dist/node_modules/kysely/dist/query-builder/update-query-builder.d.ts +1388 -0
- package/dist/node_modules/kysely/dist/query-builder/update-query-builder.js +506 -0
- package/dist/node_modules/kysely/dist/query-builder/update-result.d.ts +14 -0
- package/dist/node_modules/kysely/dist/query-builder/update-result.js +18 -0
- package/dist/node_modules/kysely/dist/query-builder/where-interface.d.ts +382 -0
- package/dist/node_modules/kysely/dist/query-builder/where-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-compiler/compiled-query.d.ts +14 -0
- package/dist/node_modules/kysely/dist/query-compiler/compiled-query.js +25 -0
- package/dist/node_modules/kysely/dist/query-compiler/default-query-compiler.d.ts +243 -0
- package/dist/node_modules/kysely/dist/query-compiler/default-query-compiler.js +1452 -0
- package/dist/node_modules/kysely/dist/query-compiler/query-compiler.d.ts +9 -0
- package/dist/node_modules/kysely/dist/query-compiler/query-compiler.js +2 -0
- package/dist/node_modules/kysely/dist/query-creator.d.ts +593 -0
- package/dist/node_modules/kysely/dist/query-creator.js +620 -0
- package/dist/node_modules/kysely/dist/query-executor/default-query-executor.d.ts +52 -0
- package/dist/node_modules/kysely/dist/query-executor/default-query-executor.js +37 -0
- package/dist/node_modules/kysely/dist/query-executor/noop-query-executor.d.ts +50 -0
- package/dist/node_modules/kysely/dist/query-executor/noop-query-executor.js +34 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-base.d.ts +69 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-base.js +169 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-provider.d.ts +8 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-provider.js +2 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor.d.ts +75 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor.js +2 -0
- package/dist/node_modules/kysely/dist/query-finalizer.d.ts +27 -0
- package/dist/node_modules/kysely/dist/query-finalizer.js +23 -0
- package/dist/node_modules/kysely/dist/raw-builder/raw-builder.d.ts +219 -0
- package/dist/node_modules/kysely/dist/raw-builder/raw-builder.js +84 -0
- package/dist/node_modules/kysely/dist/raw-builder/sql.d.ts +358 -0
- package/dist/node_modules/kysely/dist/raw-builder/sql.js +76 -0
- package/dist/node_modules/kysely/dist/readonly/index.d.ts +6 -0
- package/dist/node_modules/kysely/dist/readonly/index.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-compiled-query.d.ts +6 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-compiled-query.js +6 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-database-connection.d.ts +19 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-database-connection.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-driver.d.ts +5 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-driver.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-kysely.d.ts +230 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-kysely.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-query-creator.d.ts +37 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-query-creator.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-with-parser.d.ts +32 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-with-parser.js +2 -0
- package/dist/node_modules/kysely/dist/schema/alter-column-builder.d.ts +53 -0
- package/dist/node_modules/kysely/dist/schema/alter-column-builder.js +70 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-foreign-key-constraint-builder.d.ts +33 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-foreign-key-constraint-builder.js +64 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-index-builder.d.ts +157 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-index-builder.js +151 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-builder.d.ts +151 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-builder.js +269 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-drop-constraint-builder.d.ts +27 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-drop-constraint-builder.js +56 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-executor.d.ts +19 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-executor.js +17 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-add-value-builder.d.ts +25 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-add-value-builder.js +50 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-builder.d.ts +33 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-builder.js +62 -0
- package/dist/node_modules/kysely/dist/schema/check-constraint-builder.d.ts +13 -0
- package/dist/node_modules/kysely/dist/schema/check-constraint-builder.js +17 -0
- package/dist/node_modules/kysely/dist/schema/column-definition-builder.d.ts +514 -0
- package/dist/node_modules/kysely/dist/schema/column-definition-builder.js +597 -0
- package/dist/node_modules/kysely/dist/schema/create-index-builder.d.ts +205 -0
- package/dist/node_modules/kysely/dist/schema/create-index-builder.js +185 -0
- package/dist/node_modules/kysely/dist/schema/create-schema-builder.d.ts +25 -0
- package/dist/node_modules/kysely/dist/schema/create-schema-builder.js +31 -0
- package/dist/node_modules/kysely/dist/schema/create-table-add-index-builder.d.ts +35 -0
- package/dist/node_modules/kysely/dist/schema/create-table-add-index-builder.js +24 -0
- package/dist/node_modules/kysely/dist/schema/create-table-builder.d.ts +379 -0
- package/dist/node_modules/kysely/dist/schema/create-table-builder.js +465 -0
- package/dist/node_modules/kysely/dist/schema/create-type-builder.d.ts +34 -0
- package/dist/node_modules/kysely/dist/schema/create-type-builder.js +40 -0
- package/dist/node_modules/kysely/dist/schema/create-view-builder.d.ts +49 -0
- package/dist/node_modules/kysely/dist/schema/create-view-builder.js +95 -0
- package/dist/node_modules/kysely/dist/schema/drop-column-builder.d.ts +12 -0
- package/dist/node_modules/kysely/dist/schema/drop-column-builder.js +18 -0
- package/dist/node_modules/kysely/dist/schema/drop-index-builder.d.ts +31 -0
- package/dist/node_modules/kysely/dist/schema/drop-index-builder.js +54 -0
- package/dist/node_modules/kysely/dist/schema/drop-schema-builder.d.ts +26 -0
- package/dist/node_modules/kysely/dist/schema/drop-schema-builder.js +41 -0
- package/dist/node_modules/kysely/dist/schema/drop-table-builder.d.ts +32 -0
- package/dist/node_modules/kysely/dist/schema/drop-table-builder.js +54 -0
- package/dist/node_modules/kysely/dist/schema/drop-type-builder.d.ts +32 -0
- package/dist/node_modules/kysely/dist/schema/drop-type-builder.js +47 -0
- package/dist/node_modules/kysely/dist/schema/drop-view-builder.d.ts +27 -0
- package/dist/node_modules/kysely/dist/schema/drop-view-builder.js +49 -0
- package/dist/node_modules/kysely/dist/schema/foreign-key-constraint-builder.d.ts +28 -0
- package/dist/node_modules/kysely/dist/schema/foreign-key-constraint-builder.js +45 -0
- package/dist/node_modules/kysely/dist/schema/primary-key-constraint-builder.d.ts +17 -0
- package/dist/node_modules/kysely/dist/schema/primary-key-constraint-builder.js +34 -0
- package/dist/node_modules/kysely/dist/schema/refresh-materialized-view-builder.d.ts +48 -0
- package/dist/node_modules/kysely/dist/schema/refresh-materialized-view-builder.js +72 -0
- package/dist/node_modules/kysely/dist/schema/schema-module.d.ts +254 -0
- package/dist/node_modules/kysely/dist/schema/schema-module.js +356 -0
- package/dist/node_modules/kysely/dist/schema/unique-constraint-builder.d.ts +23 -0
- package/dist/node_modules/kysely/dist/schema/unique-constraint-builder.js +42 -0
- package/dist/node_modules/kysely/dist/util/abort.d.ts +49 -0
- package/dist/node_modules/kysely/dist/util/abort.js +78 -0
- package/dist/node_modules/kysely/dist/util/column-type.d.ts +229 -0
- package/dist/node_modules/kysely/dist/util/column-type.js +2 -0
- package/dist/node_modules/kysely/dist/util/compilable.d.ts +5 -0
- package/dist/node_modules/kysely/dist/util/compilable.js +5 -0
- package/dist/node_modules/kysely/dist/util/deferred.d.ts +7 -0
- package/dist/node_modules/kysely/dist/util/deferred.js +23 -0
- package/dist/node_modules/kysely/dist/util/executable.d.ts +35 -0
- package/dist/node_modules/kysely/dist/util/executable.js +2 -0
- package/dist/node_modules/kysely/dist/util/explainable.d.ts +40 -0
- package/dist/node_modules/kysely/dist/util/explainable.js +2 -0
- package/dist/node_modules/kysely/dist/util/infer-result.d.ts +48 -0
- package/dist/node_modules/kysely/dist/util/infer-result.js +2 -0
- package/dist/node_modules/kysely/dist/util/json-object-args.d.ts +3 -0
- package/dist/node_modules/kysely/dist/util/json-object-args.js +32 -0
- package/dist/node_modules/kysely/dist/util/log-once.d.ts +5 -0
- package/dist/node_modules/kysely/dist/util/log-once.js +13 -0
- package/dist/node_modules/kysely/dist/util/log.d.ts +28 -0
- package/dist/node_modules/kysely/dist/util/log.js +56 -0
- package/dist/node_modules/kysely/dist/util/object-utils.d.ts +24 -0
- package/dist/node_modules/kysely/dist/util/object-utils.js +144 -0
- package/dist/node_modules/kysely/dist/util/performance-now.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/performance-now.js +10 -0
- package/dist/node_modules/kysely/dist/util/provide-controlled-connection.d.ts +8 -0
- package/dist/node_modules/kysely/dist/util/provide-controlled-connection.js +22 -0
- package/dist/node_modules/kysely/dist/util/query-id.d.ts +4 -0
- package/dist/node_modules/kysely/dist/util/query-id.js +14 -0
- package/dist/node_modules/kysely/dist/util/random-string.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/random-string.js +75 -0
- package/dist/node_modules/kysely/dist/util/stack-trace-utils.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/stack-trace-utils.js +14 -0
- package/dist/node_modules/kysely/dist/util/streamable.d.ts +38 -0
- package/dist/node_modules/kysely/dist/util/streamable.js +2 -0
- package/dist/node_modules/kysely/dist/util/type-error.d.ts +3 -0
- package/dist/node_modules/kysely/dist/util/type-error.js +2 -0
- package/dist/node_modules/kysely/dist/util/type-utils.d.ts +205 -0
- package/dist/node_modules/kysely/dist/util/type-utils.js +2 -0
- package/dist/node_modules/kysely/outdated-typescript.d.ts +5 -0
- package/dist/node_modules/kysely/package.json +128 -0
- package/dist/node_modules/longest-streak/index.d.ts +11 -0
- package/dist/node_modules/longest-streak/index.js +36 -0
- package/dist/node_modules/longest-streak/license +22 -0
- package/dist/node_modules/longest-streak/package.json +73 -0
- package/dist/node_modules/longest-streak/readme.md +150 -0
- package/dist/node_modules/markdown-table/index.d.ts +171 -0
- package/dist/node_modules/markdown-table/index.d.ts.map +1 -0
- package/dist/node_modules/markdown-table/index.js +393 -0
- package/dist/node_modules/markdown-table/license +22 -0
- package/dist/node_modules/markdown-table/package.json +77 -0
- package/dist/node_modules/markdown-table/readme.md +344 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.d.ts +9 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.js +11 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.d.ts +79 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +257 -0
- package/dist/node_modules/mdast-util-find-and-replace/license +22 -0
- package/dist/node_modules/mdast-util-find-and-replace/package.json +78 -0
- package/dist/node_modules/mdast-util-find-and-replace/readme.md +366 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +53 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.js +1455 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +321 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.d.ts +53 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +1270 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/types.d.ts +321 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/license +22 -0
- package/dist/node_modules/mdast-util-from-markdown/package.json +98 -0
- package/dist/node_modules/mdast-util-from-markdown/readme.md +549 -0
- package/dist/node_modules/mdast-util-gfm/index.d.ts +12 -0
- package/dist/node_modules/mdast-util-gfm/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.d.ts +24 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +63 -0
- package/dist/node_modules/mdast-util-gfm/license +22 -0
- package/dist/node_modules/mdast-util-gfm/package.json +125 -0
- package/dist/node_modules/mdast-util-gfm/readme.md +497 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/index.d.ts +1 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/index.js +4 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.d.ts +18 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +280 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/license +22 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/package.json +106 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/readme.md +334 -0
- package/dist/node_modules/mdast-util-gfm-footnote/index.d.ts +34 -0
- package/dist/node_modules/mdast-util-gfm-footnote/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.d.ts +22 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +212 -0
- package/dist/node_modules/mdast-util-gfm-footnote/license +22 -0
- package/dist/node_modules/mdast-util-gfm-footnote/package.json +111 -0
- package/dist/node_modules/mdast-util-gfm-footnote/readme.md +494 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/index.d.ts +19 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.d.ts +19 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +133 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/license +22 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/package.json +84 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/readme.md +350 -0
- package/dist/node_modules/mdast-util-gfm-table/index.d.ts +54 -0
- package/dist/node_modules/mdast-util-gfm-table/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.d.ts +51 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +300 -0
- package/dist/node_modules/mdast-util-gfm-table/license +22 -0
- package/dist/node_modules/mdast-util-gfm-table/package.json +101 -0
- package/dist/node_modules/mdast-util-gfm-table/readme.md +605 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/index.d.ts +4 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/index.js +4 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +141 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/license +22 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/package.json +90 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/readme.md +366 -0
- package/dist/node_modules/mdast-util-phrasing/index.d.ts +1 -0
- package/dist/node_modules/mdast-util-phrasing/index.js +1 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.d.ts +3 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +45 -0
- package/dist/node_modules/mdast-util-phrasing/license +23 -0
- package/dist/node_modules/mdast-util-phrasing/package.json +78 -0
- package/dist/node_modules/mdast-util-phrasing/readme.md +200 -0
- package/dist/node_modules/mdast-util-to-markdown/index.d.ts +18 -0
- package/dist/node_modules/mdast-util-to-markdown/index.js +3 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.js +98 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +40 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +41 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +86 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +83 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +67 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +84 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +78 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +92 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +45 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +28 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +86 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +78 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +37 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +129 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +73 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +107 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +67 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +30 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.js +213 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.d.ts +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.js +56 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/types.d.ts +1005 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.js +160 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.js +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.d.ts +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.js +32 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +12 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +30 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +93 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +110 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +704 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +82 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +18 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.js +63 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +40 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.js +263 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.js +55 -0
- package/dist/node_modules/mdast-util-to-markdown/license +22 -0
- package/dist/node_modules/mdast-util-to-markdown/package.json +88 -0
- package/dist/node_modules/mdast-util-to-markdown/readme.md +814 -0
- package/dist/node_modules/mdast-util-to-string/index.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-string/index.js +5 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/dist/node_modules/mdast-util-to-string/license +22 -0
- package/dist/node_modules/mdast-util-to-string/package.json +78 -0
- package/dist/node_modules/mdast-util-to-string/readme.md +218 -0
- package/dist/node_modules/micromark/dev/index.d.ts +82 -0
- package/dist/node_modules/micromark/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/index.js +68 -0
- package/dist/node_modules/micromark/dev/lib/compile.d.ts +16 -0
- package/dist/node_modules/micromark/dev/lib/compile.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/compile.js +1162 -0
- package/dist/node_modules/micromark/dev/lib/constructs.d.ts +73 -0
- package/dist/node_modules/micromark/dev/lib/constructs.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/constructs.js +101 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.d.ts +46 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.js +718 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.d.ts +4 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.js +99 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.d.ts +10 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.js +449 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.d.ts +4 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.js +86 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.d.ts +8 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.js +248 -0
- package/dist/node_modules/micromark/dev/lib/parse.d.ts +10 -0
- package/dist/node_modules/micromark/dev/lib/parse.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/parse.js +58 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.d.ts +9 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.js +19 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.d.ts +13 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.js +139 -0
- package/dist/node_modules/micromark/dev/stream.d.ts +35 -0
- package/dist/node_modules/micromark/dev/stream.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/stream.js +270 -0
- package/dist/node_modules/micromark/index.d.ts +82 -0
- package/dist/node_modules/micromark/index.d.ts.map +1 -0
- package/dist/node_modules/micromark/index.js +60 -0
- package/dist/node_modules/micromark/lib/compile.d.ts +16 -0
- package/dist/node_modules/micromark/lib/compile.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/compile.js +1068 -0
- package/dist/node_modules/micromark/lib/constructs.d.ts +73 -0
- package/dist/node_modules/micromark/lib/constructs.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.d.ts +46 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +613 -0
- package/dist/node_modules/micromark/lib/initialize/content.d.ts +4 -0
- package/dist/node_modules/micromark/lib/initialize/content.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +79 -0
- package/dist/node_modules/micromark/lib/initialize/document.d.ts +10 -0
- package/dist/node_modules/micromark/lib/initialize/document.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +370 -0
- package/dist/node_modules/micromark/lib/initialize/flow.d.ts +4 -0
- package/dist/node_modules/micromark/lib/initialize/flow.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/dist/node_modules/micromark/lib/initialize/text.d.ts +8 -0
- package/dist/node_modules/micromark/lib/initialize/text.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +216 -0
- package/dist/node_modules/micromark/lib/parse.d.ts +10 -0
- package/dist/node_modules/micromark/lib/parse.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/parse.js +56 -0
- package/dist/node_modules/micromark/lib/postprocess.d.ts +9 -0
- package/dist/node_modules/micromark/lib/postprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/postprocess.js +18 -0
- package/dist/node_modules/micromark/lib/preprocess.d.ts +13 -0
- package/dist/node_modules/micromark/lib/preprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/preprocess.js +112 -0
- package/dist/node_modules/micromark/license +22 -0
- package/dist/node_modules/micromark/package.json +87 -0
- package/dist/node_modules/micromark/readme.md +488 -0
- package/dist/node_modules/micromark/stream.d.ts +35 -0
- package/dist/node_modules/micromark/stream.d.ts.map +1 -0
- package/dist/node_modules/micromark/stream.js +256 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.d.ts +23 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.js +294 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.js +269 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +62 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +162 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +69 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +166 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +472 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +178 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.js +257 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +7 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.js +185 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.js +295 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +65 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +229 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +938 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.js +783 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.js +658 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +119 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +71 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +34 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.js +306 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +213 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +120 -0
- package/dist/node_modules/micromark-core-commonmark/index.d.ts +23 -0
- package/dist/node_modules/micromark-core-commonmark/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/index.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +231 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +422 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +159 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.d.ts +7 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +191 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +827 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +561 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +110 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +63 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +187 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/license +22 -0
- package/dist/node_modules/micromark-core-commonmark/package.json +62 -0
- package/dist/node_modules/micromark-core-commonmark/readme.md +171 -0
- package/dist/node_modules/micromark-extension-gfm/index.d.ts +28 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +69 -0
- package/dist/node_modules/micromark-extension-gfm/license +22 -0
- package/dist/node_modules/micromark-extension-gfm/package.json +107 -0
- package/dist/node_modules/micromark-extension-gfm/readme.md +433 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.js +56 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.js +983 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/html.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +60 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +854 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/package.json +116 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/readme.md +422 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/index.d.ts +164 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/html.d.ts +25 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/html.js +226 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.d.ts +9 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.js +558 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/index.d.ts +164 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/html.d.ts +25 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/html.js +154 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.d.ts +9 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +485 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/package.json +132 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/readme.md +656 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/index.d.ts +30 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/html.js +26 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.js +183 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/html.js +26 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +142 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/package.json +129 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/readme.md +304 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/index.d.ts +55 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts +51 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js +231 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts +11 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.js +153 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts +14 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.js +64 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js +964 -0
- package/dist/node_modules/micromark-extension-gfm-table/index.d.ts +55 -0
- package/dist/node_modules/micromark-extension-gfm-table/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts +51 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +222 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.d.ts +11 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.js +135 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.d.ts +14 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +52 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +846 -0
- package/dist/node_modules/micromark-extension-gfm-table/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-table/package.json +86 -0
- package/dist/node_modules/micromark-extension-gfm-table/readme.md +515 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/index.d.ts +1 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/index.js +1 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/lib/index.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/lib/index.js +51 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/package.json +82 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/readme.md +237 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/index.d.ts +17 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.js +29 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.js +166 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/index.d.ts +17 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/html.js +29 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +158 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/package.json +131 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/readme.md +305 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.d.ts +42 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.js +255 -0
- package/dist/node_modules/micromark-factory-destination/index.d.ts +42 -0
- package/dist/node_modules/micromark-factory-destination/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-destination/index.js +206 -0
- package/dist/node_modules/micromark-factory-destination/license +22 -0
- package/dist/node_modules/micromark-factory-destination/package.json +57 -0
- package/dist/node_modules/micromark-factory-destination/readme.md +234 -0
- package/dist/node_modules/micromark-factory-label/dev/index.d.ts +37 -0
- package/dist/node_modules/micromark-factory-label/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-label/dev/index.js +172 -0
- package/dist/node_modules/micromark-factory-label/index.d.ts +37 -0
- package/dist/node_modules/micromark-factory-label/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-label/index.js +148 -0
- package/dist/node_modules/micromark-factory-label/license +22 -0
- package/dist/node_modules/micromark-factory-label/package.json +60 -0
- package/dist/node_modules/micromark-factory-label/readme.md +224 -0
- package/dist/node_modules/micromark-factory-space/dev/index.d.ts +60 -0
- package/dist/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-space/dev/index.js +122 -0
- package/dist/node_modules/micromark-factory-space/index.d.ts +60 -0
- package/dist/node_modules/micromark-factory-space/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-space/index.js +116 -0
- package/dist/node_modules/micromark-factory-space/license +22 -0
- package/dist/node_modules/micromark-factory-space/package.json +46 -0
- package/dist/node_modules/micromark-factory-space/readme.md +225 -0
- package/dist/node_modules/micromark-factory-title/dev/index.d.ts +36 -0
- package/dist/node_modules/micromark-factory-title/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-title/dev/index.js +169 -0
- package/dist/node_modules/micromark-factory-title/index.d.ts +36 -0
- package/dist/node_modules/micromark-factory-title/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-title/index.js +158 -0
- package/dist/node_modules/micromark-factory-title/license +22 -0
- package/dist/node_modules/micromark-factory-title/package.json +58 -0
- package/dist/node_modules/micromark-factory-title/readme.md +229 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.d.ts +22 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.js +53 -0
- package/dist/node_modules/micromark-factory-whitespace/index.d.ts +22 -0
- package/dist/node_modules/micromark-factory-whitespace/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/dist/node_modules/micromark-factory-whitespace/license +22 -0
- package/dist/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/dist/node_modules/micromark-factory-whitespace/readme.md +205 -0
- package/dist/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/dist/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-character/dev/index.js +252 -0
- package/dist/node_modules/micromark-util-character/index.d.ts +195 -0
- package/dist/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-character/index.js +246 -0
- package/dist/node_modules/micromark-util-character/license +22 -0
- package/dist/node_modules/micromark-util-character/package.json +57 -0
- package/dist/node_modules/micromark-util-character/readme.md +446 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.d.ts +41 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.js +89 -0
- package/dist/node_modules/micromark-util-chunked/index.d.ts +41 -0
- package/dist/node_modules/micromark-util-chunked/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-chunked/index.js +81 -0
- package/dist/node_modules/micromark-util-chunked/license +22 -0
- package/dist/node_modules/micromark-util-chunked/package.json +57 -0
- package/dist/node_modules/micromark-util-chunked/readme.md +219 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.d.ts +18 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.js +38 -0
- package/dist/node_modules/micromark-util-classify-character/index.d.ts +18 -0
- package/dist/node_modules/micromark-util-classify-character/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +27 -0
- package/dist/node_modules/micromark-util-classify-character/license +22 -0
- package/dist/node_modules/micromark-util-classify-character/package.json +59 -0
- package/dist/node_modules/micromark-util-classify-character/readme.md +205 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.d.ts +22 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/dist/node_modules/micromark-util-combine-extensions/license +22 -0
- package/dist/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/dist/node_modules/micromark-util-combine-extensions/readme.md +201 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +16 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +42 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +16 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/license +22 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/readme.md +184 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.js +53 -0
- package/dist/node_modules/micromark-util-decode-string/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-decode-string/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +45 -0
- package/dist/node_modules/micromark-util-decode-string/license +22 -0
- package/dist/node_modules/micromark-util-decode-string/package.json +63 -0
- package/dist/node_modules/micromark-util-decode-string/readme.md +179 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.js +237 -0
- package/dist/node_modules/micromark-util-edit-map/index.d.ts +78 -0
- package/dist/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-edit-map/index.js +225 -0
- package/dist/node_modules/micromark-util-edit-map/license +22 -0
- package/dist/node_modules/micromark-util-edit-map/package.json +48 -0
- package/dist/node_modules/micromark-util-edit-map/readme.md +234 -0
- package/dist/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-encode/index.js +33 -0
- package/dist/node_modules/micromark-util-encode/license +22 -0
- package/dist/node_modules/micromark-util-encode/package.json +47 -0
- package/dist/node_modules/micromark-util-encode/readme.md +176 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.d.ts +30 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/dist/node_modules/micromark-util-html-tag-name/license +22 -0
- package/dist/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/dist/node_modules/micromark-util-html-tag-name/readme.md +193 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +21 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.js +38 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.d.ts +21 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/dist/node_modules/micromark-util-normalize-identifier/license +22 -0
- package/dist/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/dist/node_modules/micromark-util-normalize-identifier/readme.md +187 -0
- package/dist/node_modules/micromark-util-resolve-all/index.d.ts +22 -0
- package/dist/node_modules/micromark-util-resolve-all/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/dist/node_modules/micromark-util-resolve-all/license +22 -0
- package/dist/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/dist/node_modules/micromark-util-resolve-all/readme.md +238 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/dist/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/dist/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/dist/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.d.ts +12 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.js +284 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +161 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +288 -0
- package/dist/node_modules/micromark-util-subtokenize/index.d.ts +12 -0
- package/dist/node_modules/micromark-util-subtokenize/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +161 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/dist/node_modules/micromark-util-subtokenize/license +22 -0
- package/dist/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/dist/node_modules/micromark-util-subtokenize/readme.md +181 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/dist/node_modules/micromark-util-symbol/license +22 -0
- package/dist/node_modules/micromark-util-symbol/package.json +43 -0
- package/dist/node_modules/micromark-util-symbol/readme.md +168 -0
- package/dist/node_modules/micromark-util-types/index.d.ts +1315 -0
- package/dist/node_modules/micromark-util-types/index.js +2 -0
- package/dist/node_modules/micromark-util-types/license +22 -0
- package/dist/node_modules/micromark-util-types/package.json +37 -0
- package/dist/node_modules/micromark-util-types/readme.md +151 -0
- package/dist/node_modules/ms/index.js +162 -0
- package/dist/node_modules/ms/license.md +21 -0
- package/dist/node_modules/ms/package.json +38 -0
- package/dist/node_modules/ms/readme.md +59 -0
- package/dist/node_modules/node-forge/LICENSE +331 -0
- package/dist/node_modules/node-forge/README.md +2075 -0
- package/dist/node_modules/node-forge/dist/forge.all.min.js +2 -0
- package/dist/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
- package/dist/node_modules/node-forge/dist/forge.min.js +2 -0
- package/dist/node_modules/node-forge/dist/forge.min.js.map +1 -0
- package/dist/node_modules/node-forge/dist/prime.worker.min.js +2 -0
- package/dist/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
- package/dist/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
- package/dist/node_modules/node-forge/lib/aes.js +1091 -0
- package/dist/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
- package/dist/node_modules/node-forge/lib/asn1-validator.js +91 -0
- package/dist/node_modules/node-forge/lib/asn1.js +1522 -0
- package/dist/node_modules/node-forge/lib/baseN.js +186 -0
- package/dist/node_modules/node-forge/lib/cipher.js +230 -0
- package/dist/node_modules/node-forge/lib/cipherModes.js +1027 -0
- package/dist/node_modules/node-forge/lib/des.js +496 -0
- package/dist/node_modules/node-forge/lib/ed25519.js +1117 -0
- package/dist/node_modules/node-forge/lib/forge.js +13 -0
- package/dist/node_modules/node-forge/lib/form.js +149 -0
- package/dist/node_modules/node-forge/lib/hmac.js +146 -0
- package/dist/node_modules/node-forge/lib/http.js +1371 -0
- package/dist/node_modules/node-forge/lib/index.all.js +16 -0
- package/dist/node_modules/node-forge/lib/index.js +33 -0
- package/dist/node_modules/node-forge/lib/jsbn.js +1294 -0
- package/dist/node_modules/node-forge/lib/kem.js +168 -0
- package/dist/node_modules/node-forge/lib/log.js +319 -0
- package/dist/node_modules/node-forge/lib/md.all.js +13 -0
- package/dist/node_modules/node-forge/lib/md.js +11 -0
- package/dist/node_modules/node-forge/lib/md5.js +289 -0
- package/dist/node_modules/node-forge/lib/mgf.js +12 -0
- package/dist/node_modules/node-forge/lib/mgf1.js +57 -0
- package/dist/node_modules/node-forge/lib/oids.js +180 -0
- package/dist/node_modules/node-forge/lib/pbe.js +1029 -0
- package/dist/node_modules/node-forge/lib/pbkdf2.js +211 -0
- package/dist/node_modules/node-forge/lib/pem.js +413 -0
- package/dist/node_modules/node-forge/lib/pkcs1.js +276 -0
- package/dist/node_modules/node-forge/lib/pkcs12.js +1081 -0
- package/dist/node_modules/node-forge/lib/pkcs7.js +1260 -0
- package/dist/node_modules/node-forge/lib/pkcs7asn1.js +410 -0
- package/dist/node_modules/node-forge/lib/pki.js +102 -0
- package/dist/node_modules/node-forge/lib/prime.js +297 -0
- package/dist/node_modules/node-forge/lib/prime.worker.js +168 -0
- package/dist/node_modules/node-forge/lib/prng.js +419 -0
- package/dist/node_modules/node-forge/lib/pss.js +241 -0
- package/dist/node_modules/node-forge/lib/random.js +191 -0
- package/dist/node_modules/node-forge/lib/rc2.js +410 -0
- package/dist/node_modules/node-forge/lib/rsa.js +2014 -0
- package/dist/node_modules/node-forge/lib/sha1.js +319 -0
- package/dist/node_modules/node-forge/lib/sha256.js +327 -0
- package/dist/node_modules/node-forge/lib/sha512.js +561 -0
- package/dist/node_modules/node-forge/lib/socket.js +287 -0
- package/dist/node_modules/node-forge/lib/ssh.js +236 -0
- package/dist/node_modules/node-forge/lib/tls.js +4347 -0
- package/dist/node_modules/node-forge/lib/tlssocket.js +249 -0
- package/dist/node_modules/node-forge/lib/util.js +2652 -0
- package/dist/node_modules/node-forge/lib/x509.js +3946 -0
- package/dist/node_modules/node-forge/lib/xhr.js +738 -0
- package/dist/node_modules/node-forge/package.json +123 -0
- package/dist/node_modules/saxes/README.md +323 -0
- package/dist/node_modules/saxes/package.json +71 -0
- package/dist/node_modules/saxes/saxes.d.ts +635 -0
- package/dist/node_modules/saxes/saxes.js +2053 -0
- package/dist/node_modules/saxes/saxes.js.map +1 -0
- package/dist/node_modules/semver/LICENSE +15 -0
- package/dist/node_modules/semver/README.md +680 -0
- package/dist/node_modules/semver/bin/semver.js +195 -0
- package/dist/node_modules/semver/classes/comparator.js +143 -0
- package/dist/node_modules/semver/classes/index.js +7 -0
- package/dist/node_modules/semver/classes/range.js +577 -0
- package/dist/node_modules/semver/classes/semver.js +350 -0
- package/dist/node_modules/semver/functions/clean.js +8 -0
- package/dist/node_modules/semver/functions/cmp.js +54 -0
- package/dist/node_modules/semver/functions/coerce.js +62 -0
- package/dist/node_modules/semver/functions/compare-build.js +9 -0
- package/dist/node_modules/semver/functions/compare-loose.js +5 -0
- package/dist/node_modules/semver/functions/compare.js +7 -0
- package/dist/node_modules/semver/functions/diff.js +60 -0
- package/dist/node_modules/semver/functions/eq.js +5 -0
- package/dist/node_modules/semver/functions/gt.js +5 -0
- package/dist/node_modules/semver/functions/gte.js +5 -0
- package/dist/node_modules/semver/functions/inc.js +21 -0
- package/dist/node_modules/semver/functions/lt.js +5 -0
- package/dist/node_modules/semver/functions/lte.js +5 -0
- package/dist/node_modules/semver/functions/major.js +5 -0
- package/dist/node_modules/semver/functions/minor.js +5 -0
- package/dist/node_modules/semver/functions/neq.js +5 -0
- package/dist/node_modules/semver/functions/parse.js +18 -0
- package/dist/node_modules/semver/functions/patch.js +5 -0
- package/dist/node_modules/semver/functions/prerelease.js +8 -0
- package/dist/node_modules/semver/functions/rcompare.js +5 -0
- package/dist/node_modules/semver/functions/rsort.js +5 -0
- package/dist/node_modules/semver/functions/satisfies.js +12 -0
- package/dist/node_modules/semver/functions/sort.js +5 -0
- package/dist/node_modules/semver/functions/truncate.js +48 -0
- package/dist/node_modules/semver/functions/valid.js +8 -0
- package/dist/node_modules/semver/index.js +93 -0
- package/dist/node_modules/semver/internal/constants.js +37 -0
- package/dist/node_modules/semver/internal/debug.js +11 -0
- package/dist/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/node_modules/semver/internal/parse-options.js +17 -0
- package/dist/node_modules/semver/internal/re.js +223 -0
- package/dist/node_modules/semver/package.json +78 -0
- package/dist/node_modules/semver/preload.js +4 -0
- package/dist/node_modules/semver/range.bnf +17 -0
- package/dist/node_modules/semver/ranges/gtr.js +6 -0
- package/dist/node_modules/semver/ranges/intersects.js +9 -0
- package/dist/node_modules/semver/ranges/ltr.js +6 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/dist/node_modules/semver/ranges/min-version.js +63 -0
- package/dist/node_modules/semver/ranges/outside.js +82 -0
- package/dist/node_modules/semver/ranges/simplify.js +49 -0
- package/dist/node_modules/semver/ranges/subset.js +249 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +10 -0
- package/dist/node_modules/semver/ranges/valid.js +13 -0
- package/dist/node_modules/unist-util-is/index.d.ts +5 -0
- package/dist/node_modules/unist-util-is/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-is/index.js +7 -0
- package/dist/node_modules/unist-util-is/lib/index.d.ts +111 -0
- package/dist/node_modules/unist-util-is/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-is/lib/index.js +296 -0
- package/dist/node_modules/unist-util-is/license +22 -0
- package/dist/node_modules/unist-util-is/package.json +103 -0
- package/dist/node_modules/unist-util-is/readme.md +351 -0
- package/dist/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/dist/node_modules/unist-util-stringify-position/index.js +1 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/dist/node_modules/unist-util-stringify-position/license +22 -0
- package/dist/node_modules/unist-util-stringify-position/package.json +80 -0
- package/dist/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/dist/node_modules/unist-util-visit/index.d.ts +16 -0
- package/dist/node_modules/unist-util-visit/index.js +2 -0
- package/dist/node_modules/unist-util-visit/lib/index.d.ts +219 -0
- package/dist/node_modules/unist-util-visit/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +324 -0
- package/dist/node_modules/unist-util-visit/license +22 -0
- package/dist/node_modules/unist-util-visit/package.json +98 -0
- package/dist/node_modules/unist-util-visit/readme.md +373 -0
- package/dist/node_modules/unist-util-visit-parents/index.d.ts +18 -0
- package/dist/node_modules/unist-util-visit-parents/index.js +2 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.d.ts +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +11 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.d.ts +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.js +11 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.d.ts +540 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +582 -0
- package/dist/node_modules/unist-util-visit-parents/license +22 -0
- package/dist/node_modules/unist-util-visit-parents/package.json +96 -0
- package/dist/node_modules/unist-util-visit-parents/readme.md +499 -0
- package/dist/node_modules/ws/LICENSE +20 -0
- package/dist/node_modules/ws/README.md +548 -0
- package/dist/node_modules/ws/browser.js +8 -0
- package/dist/node_modules/ws/index.js +22 -0
- package/dist/node_modules/ws/lib/buffer-util.js +131 -0
- package/dist/node_modules/ws/lib/constants.js +19 -0
- package/dist/node_modules/ws/lib/event-target.js +292 -0
- package/dist/node_modules/ws/lib/extension.js +203 -0
- package/dist/node_modules/ws/lib/limiter.js +55 -0
- package/dist/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/dist/node_modules/ws/lib/receiver.js +743 -0
- package/dist/node_modules/ws/lib/sender.js +607 -0
- package/dist/node_modules/ws/lib/stream.js +161 -0
- package/dist/node_modules/ws/lib/subprotocol.js +62 -0
- package/dist/node_modules/ws/lib/validation.js +152 -0
- package/dist/node_modules/ws/lib/websocket-server.js +562 -0
- package/dist/node_modules/ws/lib/websocket.js +1421 -0
- package/dist/node_modules/ws/package.json +74 -0
- package/dist/node_modules/ws/wrapper.mjs +21 -0
- package/dist/node_modules/xmlchars/LICENSE +18 -0
- package/dist/node_modules/xmlchars/README.md +33 -0
- package/dist/node_modules/xmlchars/package.json +51 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
- package/dist/node_modules/xmlchars/xmlchars.d.ts +170 -0
- package/dist/node_modules/xmlchars/xmlchars.js +191 -0
- package/dist/node_modules/xmlchars/xmlchars.js.map +1 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- package/dist/node_modules/yaml/LICENSE +13 -0
- package/dist/node_modules/yaml/README.md +172 -0
- package/dist/node_modules/yaml/bin.mjs +11 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/dist/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/dist/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/dist/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/dist/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/dist/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/dist/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/dist/node_modules/yaml/browser/dist/errors.js +57 -0
- package/dist/node_modules/yaml/browser/dist/index.js +17 -0
- package/dist/node_modules/yaml/browser/dist/log.js +11 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/dist/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/dist/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/dist/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/dist/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/dist/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/dist/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/dist/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/dist/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/dist/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/dist/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/dist/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/dist/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/dist/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/dist/node_modules/yaml/browser/dist/util.js +11 -0
- package/dist/node_modules/yaml/browser/dist/visit.js +233 -0
- package/dist/node_modules/yaml/browser/index.js +5 -0
- package/dist/node_modules/yaml/browser/package.json +3 -0
- package/dist/node_modules/yaml/dist/cli.d.ts +8 -0
- package/dist/node_modules/yaml/dist/cli.mjs +201 -0
- package/dist/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/dist/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/dist/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/dist/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/dist/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/dist/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/dist/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/dist/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/dist/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/dist/node_modules/yaml/dist/compose/composer.js +224 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/dist/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/dist/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/dist/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/dist/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/dist/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/dist/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/dist/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/dist/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/dist/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/dist/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/dist/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/dist/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/dist/node_modules/yaml/dist/doc/Document.js +337 -0
- package/dist/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/dist/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/dist/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/dist/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/dist/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/dist/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/dist/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/dist/node_modules/yaml/dist/doc/directives.js +178 -0
- package/dist/node_modules/yaml/dist/errors.d.ts +21 -0
- package/dist/node_modules/yaml/dist/errors.js +62 -0
- package/dist/node_modules/yaml/dist/index.d.ts +25 -0
- package/dist/node_modules/yaml/dist/index.js +50 -0
- package/dist/node_modules/yaml/dist/log.d.ts +3 -0
- package/dist/node_modules/yaml/dist/log.js +19 -0
- package/dist/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/dist/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/dist/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/dist/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/dist/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/dist/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/dist/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/dist/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/dist/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/dist/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/dist/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/dist/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/dist/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/dist/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/dist/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/dist/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/dist/node_modules/yaml/dist/options.d.ts +350 -0
- package/dist/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/dist/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/dist/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/dist/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/dist/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/dist/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/dist/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/dist/node_modules/yaml/dist/parse/cst.js +112 -0
- package/dist/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/dist/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/dist/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/dist/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/dist/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/dist/node_modules/yaml/dist/parse/parser.js +980 -0
- package/dist/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/dist/node_modules/yaml/dist/public-api.js +107 -0
- package/dist/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/dist/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/dist/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/dist/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/dist/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/dist/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/dist/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/dist/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/dist/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/dist/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/dist/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/dist/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/dist/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/dist/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/dist/node_modules/yaml/dist/schema/tags.js +99 -0
- package/dist/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/dist/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/dist/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/dist/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/dist/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/dist/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/dist/node_modules/yaml/dist/test-events.js +134 -0
- package/dist/node_modules/yaml/dist/util.d.ts +16 -0
- package/dist/node_modules/yaml/dist/util.js +28 -0
- package/dist/node_modules/yaml/dist/visit.d.ts +102 -0
- package/dist/node_modules/yaml/dist/visit.js +236 -0
- package/dist/node_modules/yaml/package.json +97 -0
- package/dist/node_modules/yaml/util.js +2 -0
- package/dist/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/zod/README.md +208 -0
- package/dist/node_modules/zod/index.cjs +33 -0
- package/dist/node_modules/zod/index.d.cts +4 -0
- package/dist/node_modules/zod/index.d.ts +4 -0
- package/dist/node_modules/zod/index.js +4 -0
- package/dist/node_modules/zod/package.json +118 -0
- package/dist/node_modules/zod/src/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/dist/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/dist/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/dist/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/dist/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/dist/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/dist/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/dist/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/dist/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/zod/src/v3/types.ts +5136 -0
- package/dist/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/dist/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/dist/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/dist/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/dist/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/dist/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/dist/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/dist/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/dist/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/dist/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/dist/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/dist/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/dist/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/dist/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/dist/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/dist/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/dist/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/dist/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/dist/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/dist/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/dist/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/dist/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/dist/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/dist/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/dist/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/dist/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/dist/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/dist/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/dist/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/dist/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/dist/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/dist/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/dist/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/dist/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/dist/node_modules/zod/src/v4/core/config.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/core.ts +134 -0
- package/dist/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/dist/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/dist/node_modules/zod/src/v4/core/function.ts +176 -0
- package/dist/node_modules/zod/src/v4/core/index.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/dist/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/dist/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/dist/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/dist/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/dist/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/dist/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/dist/node_modules/zod/src/v4/core/util.ts +775 -0
- package/dist/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/dist/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/dist/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/dist/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/dist/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/dist/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/dist/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/dist/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/dist/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/dist/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/dist/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/dist/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/dist/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/dist/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/dist/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/dist/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/dist/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/dist/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/dist/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/dist/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/dist/node_modules/zod/v3/ZodError.cjs +138 -0
- package/dist/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/zod/v3/errors.cjs +17 -0
- package/dist/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/external.cjs +22 -0
- package/dist/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/dist/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/zod/v3/index.cjs +33 -0
- package/dist/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/zod/v3/locales/en.cjs +111 -0
- package/dist/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/zod/v3/types.cjs +3775 -0
- package/dist/node_modules/zod/v3/types.d.cts +1031 -0
- package/dist/node_modules/zod/v3/types.d.ts +1031 -0
- package/dist/node_modules/zod/v3/types.js +3693 -0
- package/dist/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/dist/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.js +27 -0
- package/dist/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/dist/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.js +41 -0
- package/dist/node_modules/zod/v4/classic/external.cjs +70 -0
- package/dist/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/dist/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/dist/node_modules/zod/v4/classic/external.js +18 -0
- package/dist/node_modules/zod/v4/classic/index.cjs +33 -0
- package/dist/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/dist/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/dist/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.js +30 -0
- package/dist/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.js +6 -0
- package/dist/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/dist/node_modules/zod/v4/core/api.cjs +1039 -0
- package/dist/node_modules/zod/v4/core/api.d.cts +284 -0
- package/dist/node_modules/zod/v4/core/api.d.ts +284 -0
- package/dist/node_modules/zod/v4/core/api.js +906 -0
- package/dist/node_modules/zod/v4/core/checks.cjs +591 -0
- package/dist/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/dist/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/dist/node_modules/zod/v4/core/checks.js +565 -0
- package/dist/node_modules/zod/v4/core/core.cjs +67 -0
- package/dist/node_modules/zod/v4/core/core.d.cts +49 -0
- package/dist/node_modules/zod/v4/core/core.d.ts +49 -0
- package/dist/node_modules/zod/v4/core/core.js +61 -0
- package/dist/node_modules/zod/v4/core/doc.cjs +39 -0
- package/dist/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/dist/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/dist/node_modules/zod/v4/core/doc.js +35 -0
- package/dist/node_modules/zod/v4/core/errors.cjs +226 -0
- package/dist/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/dist/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/dist/node_modules/zod/v4/core/errors.js +195 -0
- package/dist/node_modules/zod/v4/core/function.cjs +102 -0
- package/dist/node_modules/zod/v4/core/function.d.cts +52 -0
- package/dist/node_modules/zod/v4/core/function.d.ts +52 -0
- package/dist/node_modules/zod/v4/core/function.js +75 -0
- package/dist/node_modules/zod/v4/core/index.cjs +44 -0
- package/dist/node_modules/zod/v4/core/index.d.cts +15 -0
- package/dist/node_modules/zod/v4/core/index.d.ts +15 -0
- package/dist/node_modules/zod/v4/core/index.js +15 -0
- package/dist/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/parse.cjs +87 -0
- package/dist/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/dist/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/dist/node_modules/zod/v4/core/parse.js +57 -0
- package/dist/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/dist/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.js +95 -0
- package/dist/node_modules/zod/v4/core/registries.cjs +56 -0
- package/dist/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/dist/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1717 -0
- package/dist/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/dist/node_modules/zod/v4/core/util.cjs +539 -0
- package/dist/node_modules/zod/v4/core/util.d.cts +183 -0
- package/dist/node_modules/zod/v4/core/util.d.ts +183 -0
- package/dist/node_modules/zod/v4/core/util.js +493 -0
- package/dist/node_modules/zod/v4/core/versions.cjs +8 -0
- package/dist/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/zod/v4/index.cjs +22 -0
- package/dist/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/index.js +3 -0
- package/dist/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.js +116 -0
- package/dist/node_modules/zod/v4/locales/az.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/az.js +115 -0
- package/dist/node_modules/zod/v4/locales/be.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/be.js +164 -0
- package/dist/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.js +118 -0
- package/dist/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/dist/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.js +135 -0
- package/dist/node_modules/zod/v4/locales/de.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/de.js +116 -0
- package/dist/node_modules/zod/v4/locales/en.cjs +145 -0
- package/dist/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/en.js +117 -0
- package/dist/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.js +116 -0
- package/dist/node_modules/zod/v4/locales/es.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/es.js +117 -0
- package/dist/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.js +122 -0
- package/dist/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.js +122 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/dist/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.js +116 -0
- package/dist/node_modules/zod/v4/locales/he.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/he.js +117 -0
- package/dist/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.js +117 -0
- package/dist/node_modules/zod/v4/locales/id.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/id.js +116 -0
- package/dist/node_modules/zod/v4/locales/index.cjs +84 -0
- package/dist/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/dist/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/dist/node_modules/zod/v4/locales/index.js +39 -0
- package/dist/node_modules/zod/v4/locales/it.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/it.js +117 -0
- package/dist/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.js +115 -0
- package/dist/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.js +117 -0
- package/dist/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/dist/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.js +121 -0
- package/dist/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.js +118 -0
- package/dist/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.js +116 -0
- package/dist/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.js +117 -0
- package/dist/node_modules/zod/v4/locales/no.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/no.js +116 -0
- package/dist/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.js +117 -0
- package/dist/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.js +117 -0
- package/dist/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.js +122 -0
- package/dist/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.js +116 -0
- package/dist/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.js +164 -0
- package/dist/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.js +117 -0
- package/dist/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.js +118 -0
- package/dist/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.js +117 -0
- package/dist/node_modules/zod/v4/locales/th.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/th.js +117 -0
- package/dist/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.js +115 -0
- package/dist/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.js +117 -0
- package/dist/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.js +117 -0
- package/dist/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/dist/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/dist/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.js +17 -0
- package/dist/node_modules/zod/v4/mini/external.cjs +62 -0
- package/dist/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/dist/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/dist/node_modules/zod/v4/mini/external.js +13 -0
- package/dist/node_modules/zod/v4/mini/index.cjs +32 -0
- package/dist/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.js +30 -0
- package/dist/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/dist/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.js +732 -0
- package/dist/node_modules/zod/v4-mini/index.cjs +17 -0
- package/dist/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/dist/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/dist/node_modules/zod/v4-mini/index.js +1 -0
- package/dist/node_modules/zwitch/index.d.ts +67 -0
- package/dist/node_modules/zwitch/index.js +118 -0
- package/dist/node_modules/zwitch/license +22 -0
- package/dist/node_modules/zwitch/package.json +72 -0
- package/dist/node_modules/zwitch/readme.md +226 -0
- package/dist/owner-report.d.ts +26 -0
- package/dist/owner-report.js +98 -0
- package/dist/policy.d.ts +3 -3
- package/dist/policy.js +2 -1
- package/dist/runtime-manifest.json +1 -0
- package/dist/server-ops.d.ts +10 -0
- package/dist/server-ops.js +231 -3
- package/dist/staged-connect.d.ts +37 -0
- package/dist/staged-connect.js +296 -0
- package/dist/staged-device.d.ts +109 -0
- package/dist/staged-device.js +227 -0
- package/dist/staged-session.d.ts +115 -0
- package/dist/staged-session.js +354 -0
- package/dist/state.d.ts +36 -8
- package/dist/state.js +101 -15
- package/package.json +10 -6
|
@@ -0,0 +1,2014 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Javascript implementation of basic RSA algorithms.
|
|
3
|
+
*
|
|
4
|
+
* @author Dave Longley
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
7
|
+
*
|
|
8
|
+
* The only algorithm currently supported for PKI is RSA.
|
|
9
|
+
*
|
|
10
|
+
* An RSA key is often stored in ASN.1 DER format. The SubjectPublicKeyInfo
|
|
11
|
+
* ASN.1 structure is composed of an algorithm of type AlgorithmIdentifier
|
|
12
|
+
* and a subjectPublicKey of type bit string.
|
|
13
|
+
*
|
|
14
|
+
* The AlgorithmIdentifier contains an Object Identifier (OID) and parameters
|
|
15
|
+
* for the algorithm, if any. In the case of RSA, there aren't any.
|
|
16
|
+
*
|
|
17
|
+
* SubjectPublicKeyInfo ::= SEQUENCE {
|
|
18
|
+
* algorithm AlgorithmIdentifier,
|
|
19
|
+
* subjectPublicKey BIT STRING
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* AlgorithmIdentifer ::= SEQUENCE {
|
|
23
|
+
* algorithm OBJECT IDENTIFIER,
|
|
24
|
+
* parameters ANY DEFINED BY algorithm OPTIONAL
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* For an RSA public key, the subjectPublicKey is:
|
|
28
|
+
*
|
|
29
|
+
* RSAPublicKey ::= SEQUENCE {
|
|
30
|
+
* modulus INTEGER, -- n
|
|
31
|
+
* publicExponent INTEGER -- e
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* PrivateKeyInfo ::= SEQUENCE {
|
|
35
|
+
* version Version,
|
|
36
|
+
* privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
|
|
37
|
+
* privateKey PrivateKey,
|
|
38
|
+
* attributes [0] IMPLICIT Attributes OPTIONAL
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* Version ::= INTEGER
|
|
42
|
+
* PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
43
|
+
* PrivateKey ::= OCTET STRING
|
|
44
|
+
* Attributes ::= SET OF Attribute
|
|
45
|
+
*
|
|
46
|
+
* An RSA private key as the following structure:
|
|
47
|
+
*
|
|
48
|
+
* RSAPrivateKey ::= SEQUENCE {
|
|
49
|
+
* version Version,
|
|
50
|
+
* modulus INTEGER, -- n
|
|
51
|
+
* publicExponent INTEGER, -- e
|
|
52
|
+
* privateExponent INTEGER, -- d
|
|
53
|
+
* prime1 INTEGER, -- p
|
|
54
|
+
* prime2 INTEGER, -- q
|
|
55
|
+
* exponent1 INTEGER, -- d mod (p-1)
|
|
56
|
+
* exponent2 INTEGER, -- d mod (q-1)
|
|
57
|
+
* coefficient INTEGER -- (inverse of q) mod p
|
|
58
|
+
* }
|
|
59
|
+
*
|
|
60
|
+
* Version ::= INTEGER
|
|
61
|
+
*
|
|
62
|
+
* The OID for the RSA key algorithm is: 1.2.840.113549.1.1.1
|
|
63
|
+
*/
|
|
64
|
+
var forge = require('./forge');
|
|
65
|
+
require('./asn1');
|
|
66
|
+
require('./jsbn');
|
|
67
|
+
require('./oids');
|
|
68
|
+
require('./pkcs1');
|
|
69
|
+
require('./prime');
|
|
70
|
+
require('./random');
|
|
71
|
+
require('./util');
|
|
72
|
+
|
|
73
|
+
if(typeof BigInteger === 'undefined') {
|
|
74
|
+
var BigInteger = forge.jsbn.BigInteger;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var _crypto = forge.util.isNodejs ? require('crypto') : null;
|
|
78
|
+
|
|
79
|
+
// shortcut for asn.1 API
|
|
80
|
+
var asn1 = forge.asn1;
|
|
81
|
+
|
|
82
|
+
// shortcut for util API
|
|
83
|
+
var util = forge.util;
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
* RSA encryption and decryption, see RFC 2313.
|
|
87
|
+
*/
|
|
88
|
+
forge.pki = forge.pki || {};
|
|
89
|
+
module.exports = forge.pki.rsa = forge.rsa = forge.rsa || {};
|
|
90
|
+
var pki = forge.pki;
|
|
91
|
+
|
|
92
|
+
// for finding primes, which are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29
|
|
93
|
+
var GCD_30_DELTA = [6, 4, 2, 4, 2, 4, 6, 2];
|
|
94
|
+
|
|
95
|
+
// validator for a PrivateKeyInfo structure
|
|
96
|
+
var privateKeyValidator = {
|
|
97
|
+
// PrivateKeyInfo
|
|
98
|
+
name: 'PrivateKeyInfo',
|
|
99
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
100
|
+
type: asn1.Type.SEQUENCE,
|
|
101
|
+
constructed: true,
|
|
102
|
+
value: [{
|
|
103
|
+
// Version (INTEGER)
|
|
104
|
+
name: 'PrivateKeyInfo.version',
|
|
105
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
106
|
+
type: asn1.Type.INTEGER,
|
|
107
|
+
constructed: false,
|
|
108
|
+
capture: 'privateKeyVersion'
|
|
109
|
+
}, {
|
|
110
|
+
// privateKeyAlgorithm
|
|
111
|
+
name: 'PrivateKeyInfo.privateKeyAlgorithm',
|
|
112
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
113
|
+
type: asn1.Type.SEQUENCE,
|
|
114
|
+
constructed: true,
|
|
115
|
+
value: [{
|
|
116
|
+
name: 'AlgorithmIdentifier.algorithm',
|
|
117
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
118
|
+
type: asn1.Type.OID,
|
|
119
|
+
constructed: false,
|
|
120
|
+
capture: 'privateKeyOid'
|
|
121
|
+
}]
|
|
122
|
+
}, {
|
|
123
|
+
// PrivateKey
|
|
124
|
+
name: 'PrivateKeyInfo',
|
|
125
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
126
|
+
type: asn1.Type.OCTETSTRING,
|
|
127
|
+
constructed: false,
|
|
128
|
+
capture: 'privateKey'
|
|
129
|
+
}]
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// validator for an RSA private key
|
|
133
|
+
var rsaPrivateKeyValidator = {
|
|
134
|
+
// RSAPrivateKey
|
|
135
|
+
name: 'RSAPrivateKey',
|
|
136
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
137
|
+
type: asn1.Type.SEQUENCE,
|
|
138
|
+
constructed: true,
|
|
139
|
+
value: [{
|
|
140
|
+
// Version (INTEGER)
|
|
141
|
+
name: 'RSAPrivateKey.version',
|
|
142
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
143
|
+
type: asn1.Type.INTEGER,
|
|
144
|
+
constructed: false,
|
|
145
|
+
capture: 'privateKeyVersion'
|
|
146
|
+
}, {
|
|
147
|
+
// modulus (n)
|
|
148
|
+
name: 'RSAPrivateKey.modulus',
|
|
149
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
150
|
+
type: asn1.Type.INTEGER,
|
|
151
|
+
constructed: false,
|
|
152
|
+
capture: 'privateKeyModulus'
|
|
153
|
+
}, {
|
|
154
|
+
// publicExponent (e)
|
|
155
|
+
name: 'RSAPrivateKey.publicExponent',
|
|
156
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
157
|
+
type: asn1.Type.INTEGER,
|
|
158
|
+
constructed: false,
|
|
159
|
+
capture: 'privateKeyPublicExponent'
|
|
160
|
+
}, {
|
|
161
|
+
// privateExponent (d)
|
|
162
|
+
name: 'RSAPrivateKey.privateExponent',
|
|
163
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
164
|
+
type: asn1.Type.INTEGER,
|
|
165
|
+
constructed: false,
|
|
166
|
+
capture: 'privateKeyPrivateExponent'
|
|
167
|
+
}, {
|
|
168
|
+
// prime1 (p)
|
|
169
|
+
name: 'RSAPrivateKey.prime1',
|
|
170
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
171
|
+
type: asn1.Type.INTEGER,
|
|
172
|
+
constructed: false,
|
|
173
|
+
capture: 'privateKeyPrime1'
|
|
174
|
+
}, {
|
|
175
|
+
// prime2 (q)
|
|
176
|
+
name: 'RSAPrivateKey.prime2',
|
|
177
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
178
|
+
type: asn1.Type.INTEGER,
|
|
179
|
+
constructed: false,
|
|
180
|
+
capture: 'privateKeyPrime2'
|
|
181
|
+
}, {
|
|
182
|
+
// exponent1 (d mod (p-1))
|
|
183
|
+
name: 'RSAPrivateKey.exponent1',
|
|
184
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
185
|
+
type: asn1.Type.INTEGER,
|
|
186
|
+
constructed: false,
|
|
187
|
+
capture: 'privateKeyExponent1'
|
|
188
|
+
}, {
|
|
189
|
+
// exponent2 (d mod (q-1))
|
|
190
|
+
name: 'RSAPrivateKey.exponent2',
|
|
191
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
192
|
+
type: asn1.Type.INTEGER,
|
|
193
|
+
constructed: false,
|
|
194
|
+
capture: 'privateKeyExponent2'
|
|
195
|
+
}, {
|
|
196
|
+
// coefficient ((inverse of q) mod p)
|
|
197
|
+
name: 'RSAPrivateKey.coefficient',
|
|
198
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
199
|
+
type: asn1.Type.INTEGER,
|
|
200
|
+
constructed: false,
|
|
201
|
+
capture: 'privateKeyCoefficient'
|
|
202
|
+
}]
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
// validator for an RSA public key
|
|
206
|
+
var rsaPublicKeyValidator = {
|
|
207
|
+
// RSAPublicKey
|
|
208
|
+
name: 'RSAPublicKey',
|
|
209
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
210
|
+
type: asn1.Type.SEQUENCE,
|
|
211
|
+
constructed: true,
|
|
212
|
+
value: [{
|
|
213
|
+
// modulus (n)
|
|
214
|
+
name: 'RSAPublicKey.modulus',
|
|
215
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
216
|
+
type: asn1.Type.INTEGER,
|
|
217
|
+
constructed: false,
|
|
218
|
+
capture: 'publicKeyModulus'
|
|
219
|
+
}, {
|
|
220
|
+
// publicExponent (e)
|
|
221
|
+
name: 'RSAPublicKey.exponent',
|
|
222
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
223
|
+
type: asn1.Type.INTEGER,
|
|
224
|
+
constructed: false,
|
|
225
|
+
capture: 'publicKeyExponent'
|
|
226
|
+
}]
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
// validator for an SubjectPublicKeyInfo structure
|
|
230
|
+
// Note: Currently only works with an RSA public key
|
|
231
|
+
var publicKeyValidator = forge.pki.rsa.publicKeyValidator = {
|
|
232
|
+
name: 'SubjectPublicKeyInfo',
|
|
233
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
234
|
+
type: asn1.Type.SEQUENCE,
|
|
235
|
+
constructed: true,
|
|
236
|
+
captureAsn1: 'subjectPublicKeyInfo',
|
|
237
|
+
value: [{
|
|
238
|
+
name: 'SubjectPublicKeyInfo.AlgorithmIdentifier',
|
|
239
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
240
|
+
type: asn1.Type.SEQUENCE,
|
|
241
|
+
constructed: true,
|
|
242
|
+
value: [{
|
|
243
|
+
name: 'AlgorithmIdentifier.algorithm',
|
|
244
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
245
|
+
type: asn1.Type.OID,
|
|
246
|
+
constructed: false,
|
|
247
|
+
capture: 'publicKeyOid'
|
|
248
|
+
}]
|
|
249
|
+
}, {
|
|
250
|
+
// subjectPublicKey
|
|
251
|
+
name: 'SubjectPublicKeyInfo.subjectPublicKey',
|
|
252
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
253
|
+
type: asn1.Type.BITSTRING,
|
|
254
|
+
constructed: false,
|
|
255
|
+
value: [{
|
|
256
|
+
// RSAPublicKey
|
|
257
|
+
name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey',
|
|
258
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
259
|
+
type: asn1.Type.SEQUENCE,
|
|
260
|
+
constructed: true,
|
|
261
|
+
optional: true,
|
|
262
|
+
captureAsn1: 'rsaPublicKey'
|
|
263
|
+
}]
|
|
264
|
+
}]
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
// validator for a DigestInfo structure
|
|
268
|
+
var digestInfoValidator = {
|
|
269
|
+
name: 'DigestInfo',
|
|
270
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
271
|
+
type: asn1.Type.SEQUENCE,
|
|
272
|
+
constructed: true,
|
|
273
|
+
value: [{
|
|
274
|
+
name: 'DigestInfo.DigestAlgorithm',
|
|
275
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
276
|
+
type: asn1.Type.SEQUENCE,
|
|
277
|
+
constructed: true,
|
|
278
|
+
value: [{
|
|
279
|
+
name: 'DigestInfo.DigestAlgorithm.algorithmIdentifier',
|
|
280
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
281
|
+
type: asn1.Type.OID,
|
|
282
|
+
constructed: false,
|
|
283
|
+
capture: 'algorithmIdentifier'
|
|
284
|
+
}, {
|
|
285
|
+
// NULL parameters
|
|
286
|
+
name: 'DigestInfo.DigestAlgorithm.parameters',
|
|
287
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
288
|
+
type: asn1.Type.NULL,
|
|
289
|
+
// captured only to check existence for md2 and md5
|
|
290
|
+
capture: 'parameters',
|
|
291
|
+
optional: true,
|
|
292
|
+
constructed: false
|
|
293
|
+
}]
|
|
294
|
+
}, {
|
|
295
|
+
// digest
|
|
296
|
+
name: 'DigestInfo.digest',
|
|
297
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
298
|
+
type: asn1.Type.OCTETSTRING,
|
|
299
|
+
constructed: false,
|
|
300
|
+
capture: 'digest'
|
|
301
|
+
}]
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* DER encode a DigestInfo from a digest algorithm OID and digest.
|
|
306
|
+
*
|
|
307
|
+
* Used by RSASSA-PKCS1-v1_5 verification to require a canonical DigestInfo
|
|
308
|
+
* encoding (RFC 8017 8.2.2).
|
|
309
|
+
*
|
|
310
|
+
* @param oid the digest algorithm OID as a dotted string.
|
|
311
|
+
* @param digest the digest as a binary-encoded string.
|
|
312
|
+
* @param withParameters true to include empty NULL parameters.
|
|
313
|
+
*
|
|
314
|
+
* @return the DER-encoded DigestInfo as a binary-encoded string.
|
|
315
|
+
*/
|
|
316
|
+
var _encodeDigestInfo = function(oid, digest, withParameters) {
|
|
317
|
+
var digestAlgorithm = [asn1.create(
|
|
318
|
+
asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
319
|
+
asn1.oidToDer(oid).getBytes())];
|
|
320
|
+
if(withParameters) {
|
|
321
|
+
digestAlgorithm.push(asn1.create(
|
|
322
|
+
asn1.Class.UNIVERSAL, asn1.Type.NULL, false, ''));
|
|
323
|
+
}
|
|
324
|
+
return asn1.toDer(asn1.create(
|
|
325
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
326
|
+
asn1.create(
|
|
327
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, digestAlgorithm),
|
|
328
|
+
asn1.create(
|
|
329
|
+
asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, digest)
|
|
330
|
+
])).getBytes();
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Wrap digest in DigestInfo object.
|
|
335
|
+
*
|
|
336
|
+
* This function implements EMSA-PKCS1-v1_5-ENCODE as per RFC 3447.
|
|
337
|
+
*
|
|
338
|
+
* DigestInfo ::= SEQUENCE {
|
|
339
|
+
* digestAlgorithm DigestAlgorithmIdentifier,
|
|
340
|
+
* digest Digest
|
|
341
|
+
* }
|
|
342
|
+
*
|
|
343
|
+
* DigestAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
344
|
+
* Digest ::= OCTET STRING
|
|
345
|
+
*
|
|
346
|
+
* @param md the message digest object with the hash to sign.
|
|
347
|
+
*
|
|
348
|
+
* @return the encoded message (ready for RSA encryption)
|
|
349
|
+
*/
|
|
350
|
+
var emsaPkcs1v15encode = function(md) {
|
|
351
|
+
// get the oid for the algorithm
|
|
352
|
+
var oid;
|
|
353
|
+
if(md.algorithm in pki.oids) {
|
|
354
|
+
oid = pki.oids[md.algorithm];
|
|
355
|
+
} else {
|
|
356
|
+
var error = new Error('Unknown message digest algorithm.');
|
|
357
|
+
error.algorithm = md.algorithm;
|
|
358
|
+
throw error;
|
|
359
|
+
}
|
|
360
|
+
var oidBytes = asn1.oidToDer(oid).getBytes();
|
|
361
|
+
|
|
362
|
+
// create the digest info
|
|
363
|
+
var digestInfo = asn1.create(
|
|
364
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
365
|
+
var digestAlgorithm = asn1.create(
|
|
366
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
367
|
+
digestAlgorithm.value.push(asn1.create(
|
|
368
|
+
asn1.Class.UNIVERSAL, asn1.Type.OID, false, oidBytes));
|
|
369
|
+
digestAlgorithm.value.push(asn1.create(
|
|
370
|
+
asn1.Class.UNIVERSAL, asn1.Type.NULL, false, ''));
|
|
371
|
+
var digest = asn1.create(
|
|
372
|
+
asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING,
|
|
373
|
+
false, md.digest().getBytes());
|
|
374
|
+
digestInfo.value.push(digestAlgorithm);
|
|
375
|
+
digestInfo.value.push(digest);
|
|
376
|
+
|
|
377
|
+
// encode digest info
|
|
378
|
+
return asn1.toDer(digestInfo).getBytes();
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Performs x^c mod n (RSA encryption or decryption operation).
|
|
383
|
+
*
|
|
384
|
+
* @param x the number to raise and mod.
|
|
385
|
+
* @param key the key to use.
|
|
386
|
+
* @param pub true if the key is public, false if private.
|
|
387
|
+
*
|
|
388
|
+
* @return the result of x^c mod n.
|
|
389
|
+
*/
|
|
390
|
+
var _modPow = function(x, key, pub) {
|
|
391
|
+
if(pub) {
|
|
392
|
+
return x.modPow(key.e, key.n);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
if(!key.p || !key.q) {
|
|
396
|
+
// allow calculation without CRT params (slow)
|
|
397
|
+
return x.modPow(key.d, key.n);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// pre-compute dP, dQ, and qInv if necessary
|
|
401
|
+
if(!key.dP) {
|
|
402
|
+
key.dP = key.d.mod(key.p.subtract(BigInteger.ONE));
|
|
403
|
+
}
|
|
404
|
+
if(!key.dQ) {
|
|
405
|
+
key.dQ = key.d.mod(key.q.subtract(BigInteger.ONE));
|
|
406
|
+
}
|
|
407
|
+
if(!key.qInv) {
|
|
408
|
+
key.qInv = key.q.modInverse(key.p);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* Chinese remainder theorem (CRT) states:
|
|
412
|
+
|
|
413
|
+
Suppose n1, n2, ..., nk are positive integers which are pairwise
|
|
414
|
+
coprime (n1 and n2 have no common factors other than 1). For any
|
|
415
|
+
integers x1, x2, ..., xk there exists an integer x solving the
|
|
416
|
+
system of simultaneous congruences (where ~= means modularly
|
|
417
|
+
congruent so a ~= b mod n means a mod n = b mod n):
|
|
418
|
+
|
|
419
|
+
x ~= x1 mod n1
|
|
420
|
+
x ~= x2 mod n2
|
|
421
|
+
...
|
|
422
|
+
x ~= xk mod nk
|
|
423
|
+
|
|
424
|
+
This system of congruences has a single simultaneous solution x
|
|
425
|
+
between 0 and n - 1. Furthermore, each xk solution and x itself
|
|
426
|
+
is congruent modulo the product n = n1*n2*...*nk.
|
|
427
|
+
So x1 mod n = x2 mod n = xk mod n = x mod n.
|
|
428
|
+
|
|
429
|
+
The single simultaneous solution x can be solved with the following
|
|
430
|
+
equation:
|
|
431
|
+
|
|
432
|
+
x = sum(xi*ri*si) mod n where ri = n/ni and si = ri^-1 mod ni.
|
|
433
|
+
|
|
434
|
+
Where x is less than n, xi = x mod ni.
|
|
435
|
+
|
|
436
|
+
For RSA we are only concerned with k = 2. The modulus n = pq, where
|
|
437
|
+
p and q are coprime. The RSA decryption algorithm is:
|
|
438
|
+
|
|
439
|
+
y = x^d mod n
|
|
440
|
+
|
|
441
|
+
Given the above:
|
|
442
|
+
|
|
443
|
+
x1 = x^d mod p
|
|
444
|
+
r1 = n/p = q
|
|
445
|
+
s1 = q^-1 mod p
|
|
446
|
+
x2 = x^d mod q
|
|
447
|
+
r2 = n/q = p
|
|
448
|
+
s2 = p^-1 mod q
|
|
449
|
+
|
|
450
|
+
So y = (x1r1s1 + x2r2s2) mod n
|
|
451
|
+
= ((x^d mod p)q(q^-1 mod p) + (x^d mod q)p(p^-1 mod q)) mod n
|
|
452
|
+
|
|
453
|
+
According to Fermat's Little Theorem, if the modulus P is prime,
|
|
454
|
+
for any integer A not evenly divisible by P, A^(P-1) ~= 1 mod P.
|
|
455
|
+
Since A is not divisible by P it follows that if:
|
|
456
|
+
N ~= M mod (P - 1), then A^N mod P = A^M mod P. Therefore:
|
|
457
|
+
|
|
458
|
+
A^N mod P = A^(M mod (P - 1)) mod P. (The latter takes less effort
|
|
459
|
+
to calculate). In order to calculate x^d mod p more quickly the
|
|
460
|
+
exponent d mod (p - 1) is stored in the RSA private key (the same
|
|
461
|
+
is done for x^d mod q). These values are referred to as dP and dQ
|
|
462
|
+
respectively. Therefore we now have:
|
|
463
|
+
|
|
464
|
+
y = ((x^dP mod p)q(q^-1 mod p) + (x^dQ mod q)p(p^-1 mod q)) mod n
|
|
465
|
+
|
|
466
|
+
Since we'll be reducing x^dP by modulo p (same for q) we can also
|
|
467
|
+
reduce x by p (and q respectively) before hand. Therefore, let
|
|
468
|
+
|
|
469
|
+
xp = ((x mod p)^dP mod p), and
|
|
470
|
+
xq = ((x mod q)^dQ mod q), yielding:
|
|
471
|
+
|
|
472
|
+
y = (xp*q*(q^-1 mod p) + xq*p*(p^-1 mod q)) mod n
|
|
473
|
+
|
|
474
|
+
This can be further reduced to a simple algorithm that only
|
|
475
|
+
requires 1 inverse (the q inverse is used) to be used and stored.
|
|
476
|
+
The algorithm is called Garner's algorithm. If qInv is the
|
|
477
|
+
inverse of q, we simply calculate:
|
|
478
|
+
|
|
479
|
+
y = (qInv*(xp - xq) mod p) * q + xq
|
|
480
|
+
|
|
481
|
+
However, there are two further complications. First, we need to
|
|
482
|
+
ensure that xp > xq to prevent signed BigIntegers from being used
|
|
483
|
+
so we add p until this is true (since we will be mod'ing with
|
|
484
|
+
p anyway). Then, there is a known timing attack on algorithms
|
|
485
|
+
using the CRT. To mitigate this risk, "cryptographic blinding"
|
|
486
|
+
should be used. This requires simply generating a random number r
|
|
487
|
+
between 0 and n-1 and its inverse and multiplying x by r^e before
|
|
488
|
+
calculating y and then multiplying y by r^-1 afterwards. Note that
|
|
489
|
+
r must be coprime with n (gcd(r, n) === 1) in order to have an
|
|
490
|
+
inverse.
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
// cryptographic blinding
|
|
494
|
+
var r;
|
|
495
|
+
do {
|
|
496
|
+
r = new BigInteger(
|
|
497
|
+
forge.util.bytesToHex(forge.random.getBytes(key.n.bitLength() / 8)),
|
|
498
|
+
16);
|
|
499
|
+
} while(r.compareTo(key.n) >= 0 || !r.gcd(key.n).equals(BigInteger.ONE));
|
|
500
|
+
x = x.multiply(r.modPow(key.e, key.n)).mod(key.n);
|
|
501
|
+
|
|
502
|
+
// calculate xp and xq
|
|
503
|
+
var xp = x.mod(key.p).modPow(key.dP, key.p);
|
|
504
|
+
var xq = x.mod(key.q).modPow(key.dQ, key.q);
|
|
505
|
+
|
|
506
|
+
// xp must be larger than xq to avoid signed bit usage
|
|
507
|
+
while(xp.compareTo(xq) < 0) {
|
|
508
|
+
xp = xp.add(key.p);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
// do last step
|
|
512
|
+
var y = xp.subtract(xq)
|
|
513
|
+
.multiply(key.qInv).mod(key.p)
|
|
514
|
+
.multiply(key.q).add(xq);
|
|
515
|
+
|
|
516
|
+
// remove effect of random for cryptographic blinding
|
|
517
|
+
y = y.multiply(r.modInverse(key.n)).mod(key.n);
|
|
518
|
+
|
|
519
|
+
return y;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* NOTE: THIS METHOD IS DEPRECATED, use 'sign' on a private key object or
|
|
524
|
+
* 'encrypt' on a public key object instead.
|
|
525
|
+
*
|
|
526
|
+
* Performs RSA encryption.
|
|
527
|
+
*
|
|
528
|
+
* The parameter bt controls whether to put padding bytes before the
|
|
529
|
+
* message passed in. Set bt to either true or false to disable padding
|
|
530
|
+
* completely (in order to handle e.g. EMSA-PSS encoding separately before),
|
|
531
|
+
* signaling whether the encryption operation is a public key operation
|
|
532
|
+
* (i.e. encrypting data) or not, i.e. private key operation (data signing).
|
|
533
|
+
*
|
|
534
|
+
* For PKCS#1 v1.5 padding pass in the block type to use, i.e. either 0x01
|
|
535
|
+
* (for signing) or 0x02 (for encryption). The key operation mode (private
|
|
536
|
+
* or public) is derived from this flag in that case).
|
|
537
|
+
*
|
|
538
|
+
* @param m the message to encrypt as a byte string.
|
|
539
|
+
* @param key the RSA key to use.
|
|
540
|
+
* @param bt for PKCS#1 v1.5 padding, the block type to use
|
|
541
|
+
* (0x01 for private key, 0x02 for public),
|
|
542
|
+
* to disable padding: true = public key, false = private key.
|
|
543
|
+
*
|
|
544
|
+
* @return the encrypted bytes as a string.
|
|
545
|
+
*/
|
|
546
|
+
pki.rsa.encrypt = function(m, key, bt) {
|
|
547
|
+
var pub = bt;
|
|
548
|
+
var eb;
|
|
549
|
+
|
|
550
|
+
// get the length of the modulus in bytes
|
|
551
|
+
var k = Math.ceil(key.n.bitLength() / 8);
|
|
552
|
+
|
|
553
|
+
if(bt !== false && bt !== true) {
|
|
554
|
+
// legacy, default to PKCS#1 v1.5 padding
|
|
555
|
+
pub = (bt === 0x02);
|
|
556
|
+
eb = _encodePkcs1_v1_5(m, key, bt);
|
|
557
|
+
} else {
|
|
558
|
+
eb = forge.util.createBuffer();
|
|
559
|
+
eb.putBytes(m);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// load encryption block as big integer 'x'
|
|
563
|
+
// FIXME: hex conversion inefficient, get BigInteger w/byte strings
|
|
564
|
+
var x = new BigInteger(eb.toHex(), 16);
|
|
565
|
+
|
|
566
|
+
// do RSA encryption
|
|
567
|
+
var y = _modPow(x, key, pub);
|
|
568
|
+
|
|
569
|
+
// convert y into the encrypted data byte string, if y is shorter in
|
|
570
|
+
// bytes than k, then prepend zero bytes to fill up ed
|
|
571
|
+
// FIXME: hex conversion inefficient, get BigInteger w/byte strings
|
|
572
|
+
var yhex = y.toString(16);
|
|
573
|
+
var ed = forge.util.createBuffer();
|
|
574
|
+
var zeros = k - Math.ceil(yhex.length / 2);
|
|
575
|
+
while(zeros > 0) {
|
|
576
|
+
ed.putByte(0x00);
|
|
577
|
+
--zeros;
|
|
578
|
+
}
|
|
579
|
+
ed.putBytes(forge.util.hexToBytes(yhex));
|
|
580
|
+
return ed.getBytes();
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* NOTE: THIS METHOD IS DEPRECATED, use 'decrypt' on a private key object or
|
|
585
|
+
* 'verify' on a public key object instead.
|
|
586
|
+
*
|
|
587
|
+
* Performs RSA decryption.
|
|
588
|
+
*
|
|
589
|
+
* The parameter ml controls whether to apply PKCS#1 v1.5 padding
|
|
590
|
+
* or not. Set ml = false to disable padding removal completely
|
|
591
|
+
* (in order to handle e.g. EMSA-PSS later on) and simply pass back
|
|
592
|
+
* the RSA encryption block.
|
|
593
|
+
*
|
|
594
|
+
* @param ed the encrypted data to decrypt in as a byte string.
|
|
595
|
+
* @param key the RSA key to use.
|
|
596
|
+
* @param pub true for a public key operation, false for private.
|
|
597
|
+
* @param ml the message length, if known, false to disable padding.
|
|
598
|
+
*
|
|
599
|
+
* @return the decrypted message as a byte string.
|
|
600
|
+
*/
|
|
601
|
+
pki.rsa.decrypt = function(ed, key, pub, ml) {
|
|
602
|
+
// get the length of the modulus in bytes
|
|
603
|
+
var k = Math.ceil(key.n.bitLength() / 8);
|
|
604
|
+
|
|
605
|
+
// error if the length of the encrypted data ED is not k
|
|
606
|
+
if(ed.length !== k) {
|
|
607
|
+
var error = new Error('Encrypted message length is invalid.');
|
|
608
|
+
error.length = ed.length;
|
|
609
|
+
error.expected = k;
|
|
610
|
+
throw error;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
// convert encrypted data into a big integer
|
|
614
|
+
// FIXME: hex conversion inefficient, get BigInteger w/byte strings
|
|
615
|
+
var y = new BigInteger(forge.util.createBuffer(ed).toHex(), 16);
|
|
616
|
+
|
|
617
|
+
// y must be less than the modulus or it wasn't the result of
|
|
618
|
+
// a previous mod operation (encryption) using that modulus
|
|
619
|
+
if(y.compareTo(key.n) >= 0) {
|
|
620
|
+
throw new Error('Encrypted message is invalid.');
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
// do RSA decryption
|
|
624
|
+
var x = _modPow(y, key, pub);
|
|
625
|
+
|
|
626
|
+
// create the encryption block, if x is shorter in bytes than k, then
|
|
627
|
+
// prepend zero bytes to fill up eb
|
|
628
|
+
// FIXME: hex conversion inefficient, get BigInteger w/byte strings
|
|
629
|
+
var xhex = x.toString(16);
|
|
630
|
+
var eb = forge.util.createBuffer();
|
|
631
|
+
var zeros = k - Math.ceil(xhex.length / 2);
|
|
632
|
+
while(zeros > 0) {
|
|
633
|
+
eb.putByte(0x00);
|
|
634
|
+
--zeros;
|
|
635
|
+
}
|
|
636
|
+
eb.putBytes(forge.util.hexToBytes(xhex));
|
|
637
|
+
|
|
638
|
+
if(ml !== false) {
|
|
639
|
+
// legacy, default to PKCS#1 v1.5 padding
|
|
640
|
+
return _decodePkcs1_v1_5(eb.getBytes(), key, pub);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
// return message
|
|
644
|
+
return eb.getBytes();
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Creates an RSA key-pair generation state object. It is used to allow
|
|
649
|
+
* key-generation to be performed in steps. It also allows for a UI to
|
|
650
|
+
* display progress updates.
|
|
651
|
+
*
|
|
652
|
+
* @param bits the size for the private key in bits, defaults to 2048.
|
|
653
|
+
* @param e the public exponent to use, defaults to 65537 (0x10001).
|
|
654
|
+
* @param [options] the options to use.
|
|
655
|
+
* prng a custom crypto-secure pseudo-random number generator to use,
|
|
656
|
+
* that must define "getBytesSync".
|
|
657
|
+
* algorithm the algorithm to use (default: 'PRIMEINC').
|
|
658
|
+
*
|
|
659
|
+
* @return the state object to use to generate the key-pair.
|
|
660
|
+
*/
|
|
661
|
+
pki.rsa.createKeyPairGenerationState = function(bits, e, options) {
|
|
662
|
+
// TODO: migrate step-based prime generation code to forge.prime
|
|
663
|
+
|
|
664
|
+
// set default bits
|
|
665
|
+
if(typeof(bits) === 'string') {
|
|
666
|
+
bits = parseInt(bits, 10);
|
|
667
|
+
}
|
|
668
|
+
bits = bits || 2048;
|
|
669
|
+
|
|
670
|
+
// create prng with api that matches BigInteger secure random
|
|
671
|
+
options = options || {};
|
|
672
|
+
var prng = options.prng || forge.random;
|
|
673
|
+
var rng = {
|
|
674
|
+
// x is an array to fill with bytes
|
|
675
|
+
nextBytes: function(x) {
|
|
676
|
+
var b = prng.getBytesSync(x.length);
|
|
677
|
+
for(var i = 0; i < x.length; ++i) {
|
|
678
|
+
x[i] = b.charCodeAt(i);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
var algorithm = options.algorithm || 'PRIMEINC';
|
|
684
|
+
|
|
685
|
+
// create PRIMEINC algorithm state
|
|
686
|
+
var rval;
|
|
687
|
+
if(algorithm === 'PRIMEINC') {
|
|
688
|
+
rval = {
|
|
689
|
+
algorithm: algorithm,
|
|
690
|
+
state: 0,
|
|
691
|
+
bits: bits,
|
|
692
|
+
rng: rng,
|
|
693
|
+
eInt: e || 65537,
|
|
694
|
+
e: new BigInteger(null),
|
|
695
|
+
p: null,
|
|
696
|
+
q: null,
|
|
697
|
+
qBits: bits >> 1,
|
|
698
|
+
pBits: bits - (bits >> 1),
|
|
699
|
+
pqState: 0,
|
|
700
|
+
num: null,
|
|
701
|
+
keys: null
|
|
702
|
+
};
|
|
703
|
+
rval.e.fromInt(rval.eInt);
|
|
704
|
+
} else {
|
|
705
|
+
throw new Error('Invalid key generation algorithm: ' + algorithm);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
return rval;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Attempts to runs the key-generation algorithm for at most n seconds
|
|
713
|
+
* (approximately) using the given state. When key-generation has completed,
|
|
714
|
+
* the keys will be stored in state.keys.
|
|
715
|
+
*
|
|
716
|
+
* To use this function to update a UI while generating a key or to prevent
|
|
717
|
+
* causing browser lockups/warnings, set "n" to a value other than 0. A
|
|
718
|
+
* simple pattern for generating a key and showing a progress indicator is:
|
|
719
|
+
*
|
|
720
|
+
* var state = pki.rsa.createKeyPairGenerationState(2048);
|
|
721
|
+
* var step = function() {
|
|
722
|
+
* // step key-generation, run algorithm for 100 ms, repeat
|
|
723
|
+
* if(!forge.pki.rsa.stepKeyPairGenerationState(state, 100)) {
|
|
724
|
+
* setTimeout(step, 1);
|
|
725
|
+
* } else {
|
|
726
|
+
* // key-generation complete
|
|
727
|
+
* // TODO: turn off progress indicator here
|
|
728
|
+
* // TODO: use the generated key-pair in "state.keys"
|
|
729
|
+
* }
|
|
730
|
+
* };
|
|
731
|
+
* // TODO: turn on progress indicator here
|
|
732
|
+
* setTimeout(step, 0);
|
|
733
|
+
*
|
|
734
|
+
* @param state the state to use.
|
|
735
|
+
* @param n the maximum number of milliseconds to run the algorithm for, 0
|
|
736
|
+
* to run the algorithm to completion.
|
|
737
|
+
*
|
|
738
|
+
* @return true if the key-generation completed, false if not.
|
|
739
|
+
*/
|
|
740
|
+
pki.rsa.stepKeyPairGenerationState = function(state, n) {
|
|
741
|
+
// set default algorithm if not set
|
|
742
|
+
if(!('algorithm' in state)) {
|
|
743
|
+
state.algorithm = 'PRIMEINC';
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
// TODO: migrate step-based prime generation code to forge.prime
|
|
747
|
+
// TODO: abstract as PRIMEINC algorithm
|
|
748
|
+
|
|
749
|
+
// do key generation (based on Tom Wu's rsa.js, see jsbn.js license)
|
|
750
|
+
// with some minor optimizations and designed to run in steps
|
|
751
|
+
|
|
752
|
+
// local state vars
|
|
753
|
+
var THIRTY = new BigInteger(null);
|
|
754
|
+
THIRTY.fromInt(30);
|
|
755
|
+
var deltaIdx = 0;
|
|
756
|
+
var op_or = function(x, y) {return x | y;};
|
|
757
|
+
|
|
758
|
+
// keep stepping until time limit is reached or done
|
|
759
|
+
var t1 = +new Date();
|
|
760
|
+
var t2;
|
|
761
|
+
var total = 0;
|
|
762
|
+
while(state.keys === null && (n <= 0 || total < n)) {
|
|
763
|
+
// generate p or q
|
|
764
|
+
if(state.state === 0) {
|
|
765
|
+
/* Note: All primes are of the form:
|
|
766
|
+
|
|
767
|
+
30k+i, for i < 30 and gcd(30, i)=1, where there are 8 values for i
|
|
768
|
+
|
|
769
|
+
When we generate a random number, we always align it at 30k + 1. Each
|
|
770
|
+
time the number is determined not to be prime we add to get to the
|
|
771
|
+
next 'i', eg: if the number was at 30k + 1 we add 6. */
|
|
772
|
+
var bits = (state.p === null) ? state.pBits : state.qBits;
|
|
773
|
+
var bits1 = bits - 1;
|
|
774
|
+
|
|
775
|
+
// get a random number
|
|
776
|
+
if(state.pqState === 0) {
|
|
777
|
+
state.num = new BigInteger(bits, state.rng);
|
|
778
|
+
// force MSB set
|
|
779
|
+
if(!state.num.testBit(bits1)) {
|
|
780
|
+
state.num.bitwiseTo(
|
|
781
|
+
BigInteger.ONE.shiftLeft(bits1), op_or, state.num);
|
|
782
|
+
}
|
|
783
|
+
// align number on 30k+1 boundary
|
|
784
|
+
state.num.dAddOffset(31 - state.num.mod(THIRTY).byteValue(), 0);
|
|
785
|
+
deltaIdx = 0;
|
|
786
|
+
|
|
787
|
+
++state.pqState;
|
|
788
|
+
} else if(state.pqState === 1) {
|
|
789
|
+
// try to make the number a prime
|
|
790
|
+
if(state.num.bitLength() > bits) {
|
|
791
|
+
// overflow, try again
|
|
792
|
+
state.pqState = 0;
|
|
793
|
+
// do primality test
|
|
794
|
+
} else if(state.num.isProbablePrime(
|
|
795
|
+
_getMillerRabinTests(state.num.bitLength()))) {
|
|
796
|
+
++state.pqState;
|
|
797
|
+
} else {
|
|
798
|
+
// get next potential prime
|
|
799
|
+
state.num.dAddOffset(GCD_30_DELTA[deltaIdx++ % 8], 0);
|
|
800
|
+
}
|
|
801
|
+
} else if(state.pqState === 2) {
|
|
802
|
+
// ensure number is coprime with e
|
|
803
|
+
state.pqState =
|
|
804
|
+
(state.num.subtract(BigInteger.ONE).gcd(state.e)
|
|
805
|
+
.compareTo(BigInteger.ONE) === 0) ? 3 : 0;
|
|
806
|
+
} else if(state.pqState === 3) {
|
|
807
|
+
// store p or q
|
|
808
|
+
state.pqState = 0;
|
|
809
|
+
if(state.p === null) {
|
|
810
|
+
state.p = state.num;
|
|
811
|
+
} else {
|
|
812
|
+
state.q = state.num;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
// advance state if both p and q are ready
|
|
816
|
+
if(state.p !== null && state.q !== null) {
|
|
817
|
+
++state.state;
|
|
818
|
+
}
|
|
819
|
+
state.num = null;
|
|
820
|
+
}
|
|
821
|
+
} else if(state.state === 1) {
|
|
822
|
+
// ensure p is larger than q (swap them if not)
|
|
823
|
+
if(state.p.compareTo(state.q) < 0) {
|
|
824
|
+
state.num = state.p;
|
|
825
|
+
state.p = state.q;
|
|
826
|
+
state.q = state.num;
|
|
827
|
+
}
|
|
828
|
+
++state.state;
|
|
829
|
+
} else if(state.state === 2) {
|
|
830
|
+
// compute phi: (p - 1)(q - 1) (Euler's totient function)
|
|
831
|
+
state.p1 = state.p.subtract(BigInteger.ONE);
|
|
832
|
+
state.q1 = state.q.subtract(BigInteger.ONE);
|
|
833
|
+
state.phi = state.p1.multiply(state.q1);
|
|
834
|
+
++state.state;
|
|
835
|
+
} else if(state.state === 3) {
|
|
836
|
+
// ensure e and phi are coprime
|
|
837
|
+
if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) === 0) {
|
|
838
|
+
// phi and e are coprime, advance
|
|
839
|
+
++state.state;
|
|
840
|
+
} else {
|
|
841
|
+
// phi and e aren't coprime, so generate a new p and q
|
|
842
|
+
state.p = null;
|
|
843
|
+
state.q = null;
|
|
844
|
+
state.state = 0;
|
|
845
|
+
}
|
|
846
|
+
} else if(state.state === 4) {
|
|
847
|
+
// create n, ensure n is has the right number of bits
|
|
848
|
+
state.n = state.p.multiply(state.q);
|
|
849
|
+
|
|
850
|
+
// ensure n is right number of bits
|
|
851
|
+
if(state.n.bitLength() === state.bits) {
|
|
852
|
+
// success, advance
|
|
853
|
+
++state.state;
|
|
854
|
+
} else {
|
|
855
|
+
// failed, get new q
|
|
856
|
+
state.q = null;
|
|
857
|
+
state.state = 0;
|
|
858
|
+
}
|
|
859
|
+
} else if(state.state === 5) {
|
|
860
|
+
// set keys
|
|
861
|
+
var d = state.e.modInverse(state.phi);
|
|
862
|
+
state.keys = {
|
|
863
|
+
privateKey: pki.rsa.setPrivateKey(
|
|
864
|
+
state.n, state.e, d, state.p, state.q,
|
|
865
|
+
d.mod(state.p1), d.mod(state.q1),
|
|
866
|
+
state.q.modInverse(state.p)),
|
|
867
|
+
publicKey: pki.rsa.setPublicKey(state.n, state.e)
|
|
868
|
+
};
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
// update timing
|
|
872
|
+
t2 = +new Date();
|
|
873
|
+
total += t2 - t1;
|
|
874
|
+
t1 = t2;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
return state.keys !== null;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Generates an RSA public-private key pair in a single call.
|
|
882
|
+
*
|
|
883
|
+
* To generate a key-pair in steps (to allow for progress updates and to
|
|
884
|
+
* prevent blocking or warnings in slow browsers) then use the key-pair
|
|
885
|
+
* generation state functions.
|
|
886
|
+
*
|
|
887
|
+
* To generate a key-pair asynchronously (either through web-workers, if
|
|
888
|
+
* available, or by breaking up the work on the main thread), pass a
|
|
889
|
+
* callback function.
|
|
890
|
+
*
|
|
891
|
+
* @param [bits] the size for the private key in bits, defaults to 2048.
|
|
892
|
+
* @param [e] the public exponent to use, defaults to 65537.
|
|
893
|
+
* @param [options] options for key-pair generation, if given then 'bits'
|
|
894
|
+
* and 'e' must *not* be given:
|
|
895
|
+
* bits the size for the private key in bits, (default: 2048).
|
|
896
|
+
* e the public exponent to use, (default: 65537 (0x10001)).
|
|
897
|
+
* workerScript the worker script URL.
|
|
898
|
+
* workers the number of web workers (if supported) to use,
|
|
899
|
+
* (default: 2).
|
|
900
|
+
* workLoad the size of the work load, ie: number of possible prime
|
|
901
|
+
* numbers for each web worker to check per work assignment,
|
|
902
|
+
* (default: 100).
|
|
903
|
+
* prng a custom crypto-secure pseudo-random number generator to use,
|
|
904
|
+
* that must define "getBytesSync". Disables use of native APIs.
|
|
905
|
+
* algorithm the algorithm to use (default: 'PRIMEINC').
|
|
906
|
+
* @param [callback(err, keypair)] called once the operation completes.
|
|
907
|
+
*
|
|
908
|
+
* @return an object with privateKey and publicKey properties.
|
|
909
|
+
*/
|
|
910
|
+
pki.rsa.generateKeyPair = function(bits, e, options, callback) {
|
|
911
|
+
// (bits), (options), (callback)
|
|
912
|
+
if(arguments.length === 1) {
|
|
913
|
+
if(typeof bits === 'object') {
|
|
914
|
+
options = bits;
|
|
915
|
+
bits = undefined;
|
|
916
|
+
} else if(typeof bits === 'function') {
|
|
917
|
+
callback = bits;
|
|
918
|
+
bits = undefined;
|
|
919
|
+
}
|
|
920
|
+
} else if(arguments.length === 2) {
|
|
921
|
+
// (bits, e), (bits, options), (bits, callback), (options, callback)
|
|
922
|
+
if(typeof bits === 'number') {
|
|
923
|
+
if(typeof e === 'function') {
|
|
924
|
+
callback = e;
|
|
925
|
+
e = undefined;
|
|
926
|
+
} else if(typeof e !== 'number') {
|
|
927
|
+
options = e;
|
|
928
|
+
e = undefined;
|
|
929
|
+
}
|
|
930
|
+
} else {
|
|
931
|
+
options = bits;
|
|
932
|
+
callback = e;
|
|
933
|
+
bits = undefined;
|
|
934
|
+
e = undefined;
|
|
935
|
+
}
|
|
936
|
+
} else if(arguments.length === 3) {
|
|
937
|
+
// (bits, e, options), (bits, e, callback), (bits, options, callback)
|
|
938
|
+
if(typeof e === 'number') {
|
|
939
|
+
if(typeof options === 'function') {
|
|
940
|
+
callback = options;
|
|
941
|
+
options = undefined;
|
|
942
|
+
}
|
|
943
|
+
} else {
|
|
944
|
+
callback = options;
|
|
945
|
+
options = e;
|
|
946
|
+
e = undefined;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
options = options || {};
|
|
950
|
+
if(bits === undefined) {
|
|
951
|
+
bits = options.bits || 2048;
|
|
952
|
+
}
|
|
953
|
+
if(e === undefined) {
|
|
954
|
+
e = options.e || 0x10001;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
// use native code if permitted, available, and parameters are acceptable
|
|
958
|
+
if(!forge.options.usePureJavaScript && !options.prng &&
|
|
959
|
+
bits >= 256 && bits <= 16384 && (e === 0x10001 || e === 3)) {
|
|
960
|
+
if(callback) {
|
|
961
|
+
// try native async
|
|
962
|
+
if(_detectNodeCrypto('generateKeyPair')) {
|
|
963
|
+
return _crypto.generateKeyPair('rsa', {
|
|
964
|
+
modulusLength: bits,
|
|
965
|
+
publicExponent: e,
|
|
966
|
+
publicKeyEncoding: {
|
|
967
|
+
type: 'spki',
|
|
968
|
+
format: 'pem'
|
|
969
|
+
},
|
|
970
|
+
privateKeyEncoding: {
|
|
971
|
+
type: 'pkcs8',
|
|
972
|
+
format: 'pem'
|
|
973
|
+
}
|
|
974
|
+
}, function(err, pub, priv) {
|
|
975
|
+
if(err) {
|
|
976
|
+
return callback(err);
|
|
977
|
+
}
|
|
978
|
+
callback(null, {
|
|
979
|
+
privateKey: pki.privateKeyFromPem(priv),
|
|
980
|
+
publicKey: pki.publicKeyFromPem(pub)
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
if(_detectSubtleCrypto('generateKey') &&
|
|
985
|
+
_detectSubtleCrypto('exportKey')) {
|
|
986
|
+
// use standard native generateKey
|
|
987
|
+
return util.globalScope.crypto.subtle.generateKey({
|
|
988
|
+
name: 'RSASSA-PKCS1-v1_5',
|
|
989
|
+
modulusLength: bits,
|
|
990
|
+
publicExponent: _intToUint8Array(e),
|
|
991
|
+
hash: {name: 'SHA-256'}
|
|
992
|
+
}, true /* key can be exported*/, ['sign', 'verify'])
|
|
993
|
+
.then(function(pair) {
|
|
994
|
+
return util.globalScope.crypto.subtle.exportKey(
|
|
995
|
+
'pkcs8', pair.privateKey);
|
|
996
|
+
// avoiding catch(function(err) {...}) to support IE <= 8
|
|
997
|
+
}).then(undefined, function(err) {
|
|
998
|
+
callback(err);
|
|
999
|
+
}).then(function(pkcs8) {
|
|
1000
|
+
if(pkcs8) {
|
|
1001
|
+
var privateKey = pki.privateKeyFromAsn1(
|
|
1002
|
+
asn1.fromDer(forge.util.createBuffer(pkcs8)));
|
|
1003
|
+
callback(null, {
|
|
1004
|
+
privateKey: privateKey,
|
|
1005
|
+
publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e)
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
if(_detectSubtleMsCrypto('generateKey') &&
|
|
1011
|
+
_detectSubtleMsCrypto('exportKey')) {
|
|
1012
|
+
var genOp = util.globalScope.msCrypto.subtle.generateKey({
|
|
1013
|
+
name: 'RSASSA-PKCS1-v1_5',
|
|
1014
|
+
modulusLength: bits,
|
|
1015
|
+
publicExponent: _intToUint8Array(e),
|
|
1016
|
+
hash: {name: 'SHA-256'}
|
|
1017
|
+
}, true /* key can be exported*/, ['sign', 'verify']);
|
|
1018
|
+
genOp.oncomplete = function(e) {
|
|
1019
|
+
var pair = e.target.result;
|
|
1020
|
+
var exportOp = util.globalScope.msCrypto.subtle.exportKey(
|
|
1021
|
+
'pkcs8', pair.privateKey);
|
|
1022
|
+
exportOp.oncomplete = function(e) {
|
|
1023
|
+
var pkcs8 = e.target.result;
|
|
1024
|
+
var privateKey = pki.privateKeyFromAsn1(
|
|
1025
|
+
asn1.fromDer(forge.util.createBuffer(pkcs8)));
|
|
1026
|
+
callback(null, {
|
|
1027
|
+
privateKey: privateKey,
|
|
1028
|
+
publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e)
|
|
1029
|
+
});
|
|
1030
|
+
};
|
|
1031
|
+
exportOp.onerror = function(err) {
|
|
1032
|
+
callback(err);
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
genOp.onerror = function(err) {
|
|
1036
|
+
callback(err);
|
|
1037
|
+
};
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
} else {
|
|
1041
|
+
// try native sync
|
|
1042
|
+
if(_detectNodeCrypto('generateKeyPairSync')) {
|
|
1043
|
+
var keypair = _crypto.generateKeyPairSync('rsa', {
|
|
1044
|
+
modulusLength: bits,
|
|
1045
|
+
publicExponent: e,
|
|
1046
|
+
publicKeyEncoding: {
|
|
1047
|
+
type: 'spki',
|
|
1048
|
+
format: 'pem'
|
|
1049
|
+
},
|
|
1050
|
+
privateKeyEncoding: {
|
|
1051
|
+
type: 'pkcs8',
|
|
1052
|
+
format: 'pem'
|
|
1053
|
+
}
|
|
1054
|
+
});
|
|
1055
|
+
return {
|
|
1056
|
+
privateKey: pki.privateKeyFromPem(keypair.privateKey),
|
|
1057
|
+
publicKey: pki.publicKeyFromPem(keypair.publicKey)
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
// use JavaScript implementation
|
|
1064
|
+
var state = pki.rsa.createKeyPairGenerationState(bits, e, options);
|
|
1065
|
+
if(!callback) {
|
|
1066
|
+
pki.rsa.stepKeyPairGenerationState(state, 0);
|
|
1067
|
+
return state.keys;
|
|
1068
|
+
}
|
|
1069
|
+
_generateKeyPair(state, options, callback);
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Sets an RSA public key from BigIntegers modulus and exponent.
|
|
1074
|
+
*
|
|
1075
|
+
* @param n the modulus.
|
|
1076
|
+
* @param e the exponent.
|
|
1077
|
+
*
|
|
1078
|
+
* @return the public key.
|
|
1079
|
+
*/
|
|
1080
|
+
pki.setRsaPublicKey = pki.rsa.setPublicKey = function(n, e) {
|
|
1081
|
+
var key = {
|
|
1082
|
+
n: n,
|
|
1083
|
+
e: e
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Encrypts the given data with this public key. Newer applications
|
|
1088
|
+
* should use the 'RSA-OAEP' decryption scheme, 'RSAES-PKCS1-V1_5' is for
|
|
1089
|
+
* legacy applications.
|
|
1090
|
+
*
|
|
1091
|
+
* @param data the byte string to encrypt.
|
|
1092
|
+
* @param scheme the encryption scheme to use:
|
|
1093
|
+
* 'RSAES-PKCS1-V1_5' (default),
|
|
1094
|
+
* 'RSA-OAEP',
|
|
1095
|
+
* 'RAW', 'NONE', or null to perform raw RSA encryption,
|
|
1096
|
+
* an object with an 'encode' property set to a function
|
|
1097
|
+
* with the signature 'function(data, key)' that returns
|
|
1098
|
+
* a binary-encoded string representing the encoded data.
|
|
1099
|
+
* @param schemeOptions any scheme-specific options.
|
|
1100
|
+
*
|
|
1101
|
+
* @return the encrypted byte string.
|
|
1102
|
+
*/
|
|
1103
|
+
key.encrypt = function(data, scheme, schemeOptions) {
|
|
1104
|
+
if(typeof scheme === 'string') {
|
|
1105
|
+
scheme = scheme.toUpperCase();
|
|
1106
|
+
} else if(scheme === undefined) {
|
|
1107
|
+
scheme = 'RSAES-PKCS1-V1_5';
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
if(scheme === 'RSAES-PKCS1-V1_5') {
|
|
1111
|
+
scheme = {
|
|
1112
|
+
encode: function(m, key, pub) {
|
|
1113
|
+
return _encodePkcs1_v1_5(m, key, 0x02).getBytes();
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
} else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') {
|
|
1117
|
+
scheme = {
|
|
1118
|
+
encode: function(m, key) {
|
|
1119
|
+
return forge.pkcs1.encode_rsa_oaep(key, m, schemeOptions);
|
|
1120
|
+
}
|
|
1121
|
+
};
|
|
1122
|
+
} else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) {
|
|
1123
|
+
scheme = {encode: function(e) {return e;}};
|
|
1124
|
+
} else if(typeof scheme === 'string') {
|
|
1125
|
+
throw new Error('Unsupported encryption scheme: "' + scheme + '".');
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
// do scheme-based encoding then rsa encryption
|
|
1129
|
+
var e = scheme.encode(data, key, true);
|
|
1130
|
+
return pki.rsa.encrypt(e, key, true);
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Verifies the given signature against the given digest.
|
|
1135
|
+
*
|
|
1136
|
+
* PKCS#1 supports multiple (currently two) signature schemes:
|
|
1137
|
+
* RSASSA-PKCS1-V1_5 and RSASSA-PSS.
|
|
1138
|
+
*
|
|
1139
|
+
* By default this implementation uses the "old scheme", i.e.
|
|
1140
|
+
* RSASSA-PKCS1-V1_5, in which case once RSA-decrypted, the
|
|
1141
|
+
* signature is an OCTET STRING that holds a DigestInfo.
|
|
1142
|
+
*
|
|
1143
|
+
* DigestInfo ::= SEQUENCE {
|
|
1144
|
+
* digestAlgorithm DigestAlgorithmIdentifier,
|
|
1145
|
+
* digest Digest
|
|
1146
|
+
* }
|
|
1147
|
+
* DigestAlgorithmIdentifier ::= AlgorithmIdentifier
|
|
1148
|
+
* Digest ::= OCTET STRING
|
|
1149
|
+
*
|
|
1150
|
+
* To perform PSS signature verification, provide an instance
|
|
1151
|
+
* of Forge PSS object as the scheme parameter.
|
|
1152
|
+
*
|
|
1153
|
+
* @param digest the message digest hash to compare against the signature,
|
|
1154
|
+
* as a binary-encoded string.
|
|
1155
|
+
* @param signature the signature to verify, as a binary-encoded string.
|
|
1156
|
+
* @param scheme signature verification scheme to use:
|
|
1157
|
+
* 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5,
|
|
1158
|
+
* a Forge PSS object for RSASSA-PSS,
|
|
1159
|
+
* 'NONE' or null for none, DigestInfo will not be expected, but
|
|
1160
|
+
* PKCS#1 v1.5 padding will still be used.
|
|
1161
|
+
* @param options optional verify options
|
|
1162
|
+
* _parseAllDigestBytes testing flag to control parsing of all
|
|
1163
|
+
* digest bytes. Unsupported and not for general usage.
|
|
1164
|
+
* (default: true)
|
|
1165
|
+
* _skipPaddingChecks testing flag to skip some padding checks to
|
|
1166
|
+
* test other checks. Unsupported and not for general usage.
|
|
1167
|
+
* (default: false)
|
|
1168
|
+
*
|
|
1169
|
+
* @return true if the signature was verified, false if not.
|
|
1170
|
+
*/
|
|
1171
|
+
key.verify = function(digest, signature, scheme, options) {
|
|
1172
|
+
if(typeof scheme === 'string') {
|
|
1173
|
+
scheme = scheme.toUpperCase();
|
|
1174
|
+
} else if(scheme === undefined) {
|
|
1175
|
+
scheme = 'RSASSA-PKCS1-V1_5';
|
|
1176
|
+
}
|
|
1177
|
+
if(options === undefined) {
|
|
1178
|
+
options = {
|
|
1179
|
+
_parseAllDigestBytes: true,
|
|
1180
|
+
_skipPaddingChecks: false
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
if(!('_parseAllDigestBytes' in options)) {
|
|
1184
|
+
options._parseAllDigestBytes = true;
|
|
1185
|
+
}
|
|
1186
|
+
if(!('_skipPaddingChecks' in options)) {
|
|
1187
|
+
options._skipPaddingChecks = false;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if(scheme === 'RSASSA-PKCS1-V1_5') {
|
|
1191
|
+
scheme = {
|
|
1192
|
+
verify: function(digest, d) {
|
|
1193
|
+
// remove padding
|
|
1194
|
+
d = _decodePkcs1_v1_5(d, key, true, undefined, options);
|
|
1195
|
+
// d is ASN.1 BER-encoded DigestInfo
|
|
1196
|
+
var obj = asn1.fromDer(d, {
|
|
1197
|
+
parseAllBytes: options._parseAllDigestBytes
|
|
1198
|
+
});
|
|
1199
|
+
|
|
1200
|
+
// validate DigestInfo structure and element count
|
|
1201
|
+
var capture = {};
|
|
1202
|
+
var errors = [];
|
|
1203
|
+
if(!asn1.validate(obj, digestInfoValidator, capture, errors) ||
|
|
1204
|
+
obj.value.length !== 2) {
|
|
1205
|
+
var error = new Error(
|
|
1206
|
+
'ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 ' +
|
|
1207
|
+
'DigestInfo value.');
|
|
1208
|
+
error.errors = errors;
|
|
1209
|
+
throw error;
|
|
1210
|
+
}
|
|
1211
|
+
// check hash algorithm identifier
|
|
1212
|
+
// see PKCS1-v1-5DigestAlgorithms in RFC 8017
|
|
1213
|
+
// FIXME: add support to validator for strict value choices
|
|
1214
|
+
var oid = asn1.derToOid(capture.algorithmIdentifier);
|
|
1215
|
+
if(!(oid === forge.oids.md2 ||
|
|
1216
|
+
oid === forge.oids.md5 ||
|
|
1217
|
+
oid === forge.oids.sha1 ||
|
|
1218
|
+
oid === forge.oids.sha224 ||
|
|
1219
|
+
oid === forge.oids.sha256 ||
|
|
1220
|
+
oid === forge.oids.sha384 ||
|
|
1221
|
+
oid === forge.oids.sha512 ||
|
|
1222
|
+
oid === forge.oids['sha512-224'] ||
|
|
1223
|
+
oid === forge.oids['sha512-256'])) {
|
|
1224
|
+
var error = new Error(
|
|
1225
|
+
'Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.');
|
|
1226
|
+
error.oid = oid;
|
|
1227
|
+
throw error;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
// special check for md2 and md5 that NULL parameters exist
|
|
1231
|
+
if(oid === forge.oids.md2 || oid === forge.oids.md5) {
|
|
1232
|
+
if(!('parameters' in capture)) {
|
|
1233
|
+
throw new Error(
|
|
1234
|
+
'ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 ' +
|
|
1235
|
+
'DigestInfo value. ' +
|
|
1236
|
+
'Missing algorithm identifier NULL parameters.');
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
// require a canonical DER DigestInfo (RFC 8017 8.2.2). The BER
|
|
1241
|
+
// parser and validator above tolerate extra elements, NULL
|
|
1242
|
+
// parameters with content, non-minimal lengths, and non-canonical
|
|
1243
|
+
// OIDs, all of which leave room for low exponent signature forgery.
|
|
1244
|
+
// Re-encode with and without NULL parameters and compare bytes.
|
|
1245
|
+
// A prefix comparison keeps the _parseAllDigestBytes testing flag
|
|
1246
|
+
// behavior; by default trailing bytes were already rejected above.
|
|
1247
|
+
var withParameters = _encodeDigestInfo(oid, capture.digest, true);
|
|
1248
|
+
var withoutParameters =
|
|
1249
|
+
_encodeDigestInfo(oid, capture.digest, false);
|
|
1250
|
+
if(d.substring(0, withParameters.length) !== withParameters &&
|
|
1251
|
+
d.substring(0, withoutParameters.length) !== withoutParameters) {
|
|
1252
|
+
throw new Error(
|
|
1253
|
+
'ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 ' +
|
|
1254
|
+
'DigestInfo value.');
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
// compare the given digest to the decrypted one
|
|
1258
|
+
return digest === capture.digest;
|
|
1259
|
+
}
|
|
1260
|
+
};
|
|
1261
|
+
} else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) {
|
|
1262
|
+
scheme = {
|
|
1263
|
+
verify: function(digest, d) {
|
|
1264
|
+
// remove padding
|
|
1265
|
+
d = _decodePkcs1_v1_5(d, key, true, undefined, options);
|
|
1266
|
+
return digest === d;
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
// do rsa decryption w/o any decoding, then verify -- which does decoding
|
|
1272
|
+
var d = pki.rsa.decrypt(signature, key, true, false);
|
|
1273
|
+
return scheme.verify(digest, d, key.n.bitLength());
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
return key;
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Sets an RSA private key from BigIntegers modulus, exponent, primes,
|
|
1281
|
+
* prime exponents, and modular multiplicative inverse.
|
|
1282
|
+
*
|
|
1283
|
+
* @param n the modulus.
|
|
1284
|
+
* @param e the public exponent.
|
|
1285
|
+
* @param d the private exponent ((inverse of e) mod n).
|
|
1286
|
+
* @param p the first prime.
|
|
1287
|
+
* @param q the second prime.
|
|
1288
|
+
* @param dP exponent1 (d mod (p-1)).
|
|
1289
|
+
* @param dQ exponent2 (d mod (q-1)).
|
|
1290
|
+
* @param qInv ((inverse of q) mod p)
|
|
1291
|
+
*
|
|
1292
|
+
* @return the private key.
|
|
1293
|
+
*/
|
|
1294
|
+
pki.setRsaPrivateKey = pki.rsa.setPrivateKey = function(
|
|
1295
|
+
n, e, d, p, q, dP, dQ, qInv) {
|
|
1296
|
+
var key = {
|
|
1297
|
+
n: n,
|
|
1298
|
+
e: e,
|
|
1299
|
+
d: d,
|
|
1300
|
+
p: p,
|
|
1301
|
+
q: q,
|
|
1302
|
+
dP: dP,
|
|
1303
|
+
dQ: dQ,
|
|
1304
|
+
qInv: qInv
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Decrypts the given data with this private key. The decryption scheme
|
|
1309
|
+
* must match the one used to encrypt the data.
|
|
1310
|
+
*
|
|
1311
|
+
* @param data the byte string to decrypt.
|
|
1312
|
+
* @param scheme the decryption scheme to use:
|
|
1313
|
+
* 'RSAES-PKCS1-V1_5' (default),
|
|
1314
|
+
* 'RSA-OAEP',
|
|
1315
|
+
* 'RAW', 'NONE', or null to perform raw RSA decryption.
|
|
1316
|
+
* @param schemeOptions any scheme-specific options.
|
|
1317
|
+
*
|
|
1318
|
+
* @return the decrypted byte string.
|
|
1319
|
+
*/
|
|
1320
|
+
key.decrypt = function(data, scheme, schemeOptions) {
|
|
1321
|
+
if(typeof scheme === 'string') {
|
|
1322
|
+
scheme = scheme.toUpperCase();
|
|
1323
|
+
} else if(scheme === undefined) {
|
|
1324
|
+
scheme = 'RSAES-PKCS1-V1_5';
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
// do rsa decryption w/o any decoding
|
|
1328
|
+
var d = pki.rsa.decrypt(data, key, false, false);
|
|
1329
|
+
|
|
1330
|
+
if(scheme === 'RSAES-PKCS1-V1_5') {
|
|
1331
|
+
scheme = {decode: _decodePkcs1_v1_5};
|
|
1332
|
+
} else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') {
|
|
1333
|
+
scheme = {
|
|
1334
|
+
decode: function(d, key) {
|
|
1335
|
+
return forge.pkcs1.decode_rsa_oaep(key, d, schemeOptions);
|
|
1336
|
+
}
|
|
1337
|
+
};
|
|
1338
|
+
} else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) {
|
|
1339
|
+
scheme = {decode: function(d) {return d;}};
|
|
1340
|
+
} else {
|
|
1341
|
+
throw new Error('Unsupported encryption scheme: "' + scheme + '".');
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
// decode according to scheme
|
|
1345
|
+
return scheme.decode(d, key, false);
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Signs the given digest, producing a signature.
|
|
1350
|
+
*
|
|
1351
|
+
* PKCS#1 supports multiple (currently two) signature schemes:
|
|
1352
|
+
* RSASSA-PKCS1-V1_5 and RSASSA-PSS.
|
|
1353
|
+
*
|
|
1354
|
+
* By default this implementation uses the "old scheme", i.e.
|
|
1355
|
+
* RSASSA-PKCS1-V1_5. In order to generate a PSS signature, provide
|
|
1356
|
+
* an instance of Forge PSS object as the scheme parameter.
|
|
1357
|
+
*
|
|
1358
|
+
* @param md the message digest object with the hash to sign.
|
|
1359
|
+
* @param scheme the signature scheme to use:
|
|
1360
|
+
* 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5,
|
|
1361
|
+
* a Forge PSS object for RSASSA-PSS,
|
|
1362
|
+
* 'NONE' or null for none, DigestInfo will not be used but
|
|
1363
|
+
* PKCS#1 v1.5 padding will still be used.
|
|
1364
|
+
*
|
|
1365
|
+
* @return the signature as a byte string.
|
|
1366
|
+
*/
|
|
1367
|
+
key.sign = function(md, scheme) {
|
|
1368
|
+
/* Note: The internal implementation of RSA operations is being
|
|
1369
|
+
transitioned away from a PKCS#1 v1.5 hard-coded scheme. Some legacy
|
|
1370
|
+
code like the use of an encoding block identifier 'bt' will eventually
|
|
1371
|
+
be removed. */
|
|
1372
|
+
|
|
1373
|
+
// private key operation
|
|
1374
|
+
var bt = false;
|
|
1375
|
+
|
|
1376
|
+
if(typeof scheme === 'string') {
|
|
1377
|
+
scheme = scheme.toUpperCase();
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
if(scheme === undefined || scheme === 'RSASSA-PKCS1-V1_5') {
|
|
1381
|
+
scheme = {encode: emsaPkcs1v15encode};
|
|
1382
|
+
bt = 0x01;
|
|
1383
|
+
} else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) {
|
|
1384
|
+
scheme = {encode: function() {return md;}};
|
|
1385
|
+
bt = 0x01;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
// encode and then encrypt
|
|
1389
|
+
var d = scheme.encode(md, key.n.bitLength());
|
|
1390
|
+
return pki.rsa.encrypt(d, key, bt);
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
return key;
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Wraps an RSAPrivateKey ASN.1 object in an ASN.1 PrivateKeyInfo object.
|
|
1398
|
+
*
|
|
1399
|
+
* @param rsaKey the ASN.1 RSAPrivateKey.
|
|
1400
|
+
*
|
|
1401
|
+
* @return the ASN.1 PrivateKeyInfo.
|
|
1402
|
+
*/
|
|
1403
|
+
pki.wrapRsaPrivateKey = function(rsaKey) {
|
|
1404
|
+
// PrivateKeyInfo
|
|
1405
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1406
|
+
// version (0)
|
|
1407
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1408
|
+
asn1.integerToDer(0).getBytes()),
|
|
1409
|
+
// privateKeyAlgorithm
|
|
1410
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1411
|
+
asn1.create(
|
|
1412
|
+
asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
1413
|
+
asn1.oidToDer(pki.oids.rsaEncryption).getBytes()),
|
|
1414
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')
|
|
1415
|
+
]),
|
|
1416
|
+
// PrivateKey
|
|
1417
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,
|
|
1418
|
+
asn1.toDer(rsaKey).getBytes())
|
|
1419
|
+
]);
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Converts a private key from an ASN.1 object.
|
|
1424
|
+
*
|
|
1425
|
+
* @param obj the ASN.1 representation of a PrivateKeyInfo containing an
|
|
1426
|
+
* RSAPrivateKey or an RSAPrivateKey.
|
|
1427
|
+
*
|
|
1428
|
+
* @return the private key.
|
|
1429
|
+
*/
|
|
1430
|
+
pki.privateKeyFromAsn1 = function(obj) {
|
|
1431
|
+
// get PrivateKeyInfo
|
|
1432
|
+
var capture = {};
|
|
1433
|
+
var errors = [];
|
|
1434
|
+
if(asn1.validate(obj, privateKeyValidator, capture, errors)) {
|
|
1435
|
+
obj = asn1.fromDer(forge.util.createBuffer(capture.privateKey));
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
// get RSAPrivateKey
|
|
1439
|
+
capture = {};
|
|
1440
|
+
errors = [];
|
|
1441
|
+
if(!asn1.validate(obj, rsaPrivateKeyValidator, capture, errors)) {
|
|
1442
|
+
var error = new Error('Cannot read private key. ' +
|
|
1443
|
+
'ASN.1 object does not contain an RSAPrivateKey.');
|
|
1444
|
+
error.errors = errors;
|
|
1445
|
+
throw error;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// Note: Version is currently ignored.
|
|
1449
|
+
// capture.privateKeyVersion
|
|
1450
|
+
// FIXME: inefficient, get a BigInteger that uses byte strings
|
|
1451
|
+
var n, e, d, p, q, dP, dQ, qInv;
|
|
1452
|
+
n = forge.util.createBuffer(capture.privateKeyModulus).toHex();
|
|
1453
|
+
e = forge.util.createBuffer(capture.privateKeyPublicExponent).toHex();
|
|
1454
|
+
d = forge.util.createBuffer(capture.privateKeyPrivateExponent).toHex();
|
|
1455
|
+
p = forge.util.createBuffer(capture.privateKeyPrime1).toHex();
|
|
1456
|
+
q = forge.util.createBuffer(capture.privateKeyPrime2).toHex();
|
|
1457
|
+
dP = forge.util.createBuffer(capture.privateKeyExponent1).toHex();
|
|
1458
|
+
dQ = forge.util.createBuffer(capture.privateKeyExponent2).toHex();
|
|
1459
|
+
qInv = forge.util.createBuffer(capture.privateKeyCoefficient).toHex();
|
|
1460
|
+
|
|
1461
|
+
// set private key
|
|
1462
|
+
return pki.setRsaPrivateKey(
|
|
1463
|
+
new BigInteger(n, 16),
|
|
1464
|
+
new BigInteger(e, 16),
|
|
1465
|
+
new BigInteger(d, 16),
|
|
1466
|
+
new BigInteger(p, 16),
|
|
1467
|
+
new BigInteger(q, 16),
|
|
1468
|
+
new BigInteger(dP, 16),
|
|
1469
|
+
new BigInteger(dQ, 16),
|
|
1470
|
+
new BigInteger(qInv, 16));
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Converts a private key to an ASN.1 RSAPrivateKey.
|
|
1475
|
+
*
|
|
1476
|
+
* @param key the private key.
|
|
1477
|
+
*
|
|
1478
|
+
* @return the ASN.1 representation of an RSAPrivateKey.
|
|
1479
|
+
*/
|
|
1480
|
+
pki.privateKeyToAsn1 = pki.privateKeyToRSAPrivateKey = function(key) {
|
|
1481
|
+
// RSAPrivateKey
|
|
1482
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1483
|
+
// version (0 = only 2 primes, 1 multiple primes)
|
|
1484
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1485
|
+
asn1.integerToDer(0).getBytes()),
|
|
1486
|
+
// modulus (n)
|
|
1487
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1488
|
+
_bnToBytes(key.n)),
|
|
1489
|
+
// publicExponent (e)
|
|
1490
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1491
|
+
_bnToBytes(key.e)),
|
|
1492
|
+
// privateExponent (d)
|
|
1493
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1494
|
+
_bnToBytes(key.d)),
|
|
1495
|
+
// privateKeyPrime1 (p)
|
|
1496
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1497
|
+
_bnToBytes(key.p)),
|
|
1498
|
+
// privateKeyPrime2 (q)
|
|
1499
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1500
|
+
_bnToBytes(key.q)),
|
|
1501
|
+
// privateKeyExponent1 (dP)
|
|
1502
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1503
|
+
_bnToBytes(key.dP)),
|
|
1504
|
+
// privateKeyExponent2 (dQ)
|
|
1505
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1506
|
+
_bnToBytes(key.dQ)),
|
|
1507
|
+
// coefficient (qInv)
|
|
1508
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1509
|
+
_bnToBytes(key.qInv))
|
|
1510
|
+
]);
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Converts a public key from an ASN.1 SubjectPublicKeyInfo or RSAPublicKey.
|
|
1515
|
+
*
|
|
1516
|
+
* @param obj the asn1 representation of a SubjectPublicKeyInfo or RSAPublicKey.
|
|
1517
|
+
*
|
|
1518
|
+
* @return the public key.
|
|
1519
|
+
*/
|
|
1520
|
+
pki.publicKeyFromAsn1 = function(obj) {
|
|
1521
|
+
// get SubjectPublicKeyInfo
|
|
1522
|
+
var capture = {};
|
|
1523
|
+
var errors = [];
|
|
1524
|
+
if(asn1.validate(obj, publicKeyValidator, capture, errors)) {
|
|
1525
|
+
// get oid
|
|
1526
|
+
var oid = asn1.derToOid(capture.publicKeyOid);
|
|
1527
|
+
if(oid !== pki.oids.rsaEncryption) {
|
|
1528
|
+
var error = new Error('Cannot read public key. Unknown OID.');
|
|
1529
|
+
error.oid = oid;
|
|
1530
|
+
throw error;
|
|
1531
|
+
}
|
|
1532
|
+
obj = capture.rsaPublicKey;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
// get RSA params
|
|
1536
|
+
errors = [];
|
|
1537
|
+
if(!asn1.validate(obj, rsaPublicKeyValidator, capture, errors)) {
|
|
1538
|
+
var error = new Error('Cannot read public key. ' +
|
|
1539
|
+
'ASN.1 object does not contain an RSAPublicKey.');
|
|
1540
|
+
error.errors = errors;
|
|
1541
|
+
throw error;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
// FIXME: inefficient, get a BigInteger that uses byte strings
|
|
1545
|
+
var n = forge.util.createBuffer(capture.publicKeyModulus).toHex();
|
|
1546
|
+
var e = forge.util.createBuffer(capture.publicKeyExponent).toHex();
|
|
1547
|
+
|
|
1548
|
+
// set public key
|
|
1549
|
+
return pki.setRsaPublicKey(
|
|
1550
|
+
new BigInteger(n, 16),
|
|
1551
|
+
new BigInteger(e, 16));
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Converts a public key to an ASN.1 SubjectPublicKeyInfo.
|
|
1556
|
+
*
|
|
1557
|
+
* @param key the public key.
|
|
1558
|
+
*
|
|
1559
|
+
* @return the asn1 representation of a SubjectPublicKeyInfo.
|
|
1560
|
+
*/
|
|
1561
|
+
pki.publicKeyToAsn1 = pki.publicKeyToSubjectPublicKeyInfo = function(key) {
|
|
1562
|
+
// SubjectPublicKeyInfo
|
|
1563
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1564
|
+
// AlgorithmIdentifier
|
|
1565
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1566
|
+
// algorithm
|
|
1567
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
1568
|
+
asn1.oidToDer(pki.oids.rsaEncryption).getBytes()),
|
|
1569
|
+
// parameters (null)
|
|
1570
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')
|
|
1571
|
+
]),
|
|
1572
|
+
// subjectPublicKey
|
|
1573
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, [
|
|
1574
|
+
pki.publicKeyToRSAPublicKey(key)
|
|
1575
|
+
])
|
|
1576
|
+
]);
|
|
1577
|
+
};
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* Converts a public key to an ASN.1 RSAPublicKey.
|
|
1581
|
+
*
|
|
1582
|
+
* @param key the public key.
|
|
1583
|
+
*
|
|
1584
|
+
* @return the asn1 representation of a RSAPublicKey.
|
|
1585
|
+
*/
|
|
1586
|
+
pki.publicKeyToRSAPublicKey = function(key) {
|
|
1587
|
+
// RSAPublicKey
|
|
1588
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1589
|
+
// modulus (n)
|
|
1590
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1591
|
+
_bnToBytes(key.n)),
|
|
1592
|
+
// publicExponent (e)
|
|
1593
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
1594
|
+
_bnToBytes(key.e))
|
|
1595
|
+
]);
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* Encodes a message using PKCS#1 v1.5 padding.
|
|
1600
|
+
*
|
|
1601
|
+
* @param m the message to encode.
|
|
1602
|
+
* @param key the RSA key to use.
|
|
1603
|
+
* @param bt the block type to use, i.e. either 0x01 (for signing) or 0x02
|
|
1604
|
+
* (for encryption).
|
|
1605
|
+
*
|
|
1606
|
+
* @return the padded byte buffer.
|
|
1607
|
+
*/
|
|
1608
|
+
function _encodePkcs1_v1_5(m, key, bt) {
|
|
1609
|
+
var eb = forge.util.createBuffer();
|
|
1610
|
+
|
|
1611
|
+
// get the length of the modulus in bytes
|
|
1612
|
+
var k = Math.ceil(key.n.bitLength() / 8);
|
|
1613
|
+
|
|
1614
|
+
/* use PKCS#1 v1.5 padding */
|
|
1615
|
+
if(m.length > (k - 11)) {
|
|
1616
|
+
var error = new Error('Message is too long for PKCS#1 v1.5 padding.');
|
|
1617
|
+
error.length = m.length;
|
|
1618
|
+
error.max = k - 11;
|
|
1619
|
+
throw error;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/* A block type BT, a padding string PS, and the data D shall be
|
|
1623
|
+
formatted into an octet string EB, the encryption block:
|
|
1624
|
+
|
|
1625
|
+
EB = 00 || BT || PS || 00 || D
|
|
1626
|
+
|
|
1627
|
+
The block type BT shall be a single octet indicating the structure of
|
|
1628
|
+
the encryption block. For this version of the document it shall have
|
|
1629
|
+
value 00, 01, or 02. For a private-key operation, the block type
|
|
1630
|
+
shall be 00 or 01. For a public-key operation, it shall be 02.
|
|
1631
|
+
|
|
1632
|
+
The padding string PS shall consist of k-3-||D|| octets. For block
|
|
1633
|
+
type 00, the octets shall have value 00; for block type 01, they
|
|
1634
|
+
shall have value FF; and for block type 02, they shall be
|
|
1635
|
+
pseudorandomly generated and nonzero. This makes the length of the
|
|
1636
|
+
encryption block EB equal to k. */
|
|
1637
|
+
|
|
1638
|
+
// build the encryption block
|
|
1639
|
+
eb.putByte(0x00);
|
|
1640
|
+
eb.putByte(bt);
|
|
1641
|
+
|
|
1642
|
+
// create the padding
|
|
1643
|
+
var padNum = k - 3 - m.length;
|
|
1644
|
+
var padByte;
|
|
1645
|
+
// private key op
|
|
1646
|
+
if(bt === 0x00 || bt === 0x01) {
|
|
1647
|
+
padByte = (bt === 0x00) ? 0x00 : 0xFF;
|
|
1648
|
+
for(var i = 0; i < padNum; ++i) {
|
|
1649
|
+
eb.putByte(padByte);
|
|
1650
|
+
}
|
|
1651
|
+
} else {
|
|
1652
|
+
// public key op
|
|
1653
|
+
// pad with random non-zero values
|
|
1654
|
+
while(padNum > 0) {
|
|
1655
|
+
var numZeros = 0;
|
|
1656
|
+
var padBytes = forge.random.getBytes(padNum);
|
|
1657
|
+
for(var i = 0; i < padNum; ++i) {
|
|
1658
|
+
padByte = padBytes.charCodeAt(i);
|
|
1659
|
+
if(padByte === 0) {
|
|
1660
|
+
++numZeros;
|
|
1661
|
+
} else {
|
|
1662
|
+
eb.putByte(padByte);
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
padNum = numZeros;
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
// zero followed by message
|
|
1670
|
+
eb.putByte(0x00);
|
|
1671
|
+
eb.putBytes(m);
|
|
1672
|
+
|
|
1673
|
+
return eb;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Decodes a message using PKCS#1 v1.5 padding.
|
|
1678
|
+
*
|
|
1679
|
+
* @param em the message to decode.
|
|
1680
|
+
* @param key the RSA key to use.
|
|
1681
|
+
* @param pub true if the key is a public key, false if it is private.
|
|
1682
|
+
* @param ml the message length, if specified.
|
|
1683
|
+
* @param options testing options.
|
|
1684
|
+
*
|
|
1685
|
+
* @return the decoded bytes.
|
|
1686
|
+
*/
|
|
1687
|
+
function _decodePkcs1_v1_5(em, key, pub, ml, options) {
|
|
1688
|
+
// get the length of the modulus in bytes
|
|
1689
|
+
var k = Math.ceil(key.n.bitLength() / 8);
|
|
1690
|
+
|
|
1691
|
+
/* It is an error if any of the following conditions occurs:
|
|
1692
|
+
|
|
1693
|
+
1. The encryption block EB cannot be parsed unambiguously.
|
|
1694
|
+
2. The padding string PS consists of fewer than eight octets
|
|
1695
|
+
or is inconsistent with the block type BT.
|
|
1696
|
+
3. The decryption process is a public-key operation and the block
|
|
1697
|
+
type BT is not 00 or 01, or the decryption process is a
|
|
1698
|
+
private-key operation and the block type is not 02.
|
|
1699
|
+
*/
|
|
1700
|
+
|
|
1701
|
+
// parse the encryption block
|
|
1702
|
+
var eb = forge.util.createBuffer(em);
|
|
1703
|
+
var first = eb.getByte();
|
|
1704
|
+
var bt = eb.getByte();
|
|
1705
|
+
if(first !== 0x00 ||
|
|
1706
|
+
(pub && bt !== 0x00 && bt !== 0x01) ||
|
|
1707
|
+
(!pub && bt !== 0x02) ||
|
|
1708
|
+
(pub && bt === 0x00 && typeof(ml) === 'undefined')) {
|
|
1709
|
+
throw new Error('Encryption block is invalid.');
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
var padNum = 0;
|
|
1713
|
+
if(bt === 0x00) {
|
|
1714
|
+
// check all padding bytes for 0x00
|
|
1715
|
+
padNum = k - 3 - ml;
|
|
1716
|
+
for(var i = 0; i < padNum; ++i) {
|
|
1717
|
+
if(eb.getByte() !== 0x00) {
|
|
1718
|
+
throw new Error('Encryption block is invalid.');
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
} else if(bt === 0x01) {
|
|
1722
|
+
// find the first byte that isn't 0xFF, should be after all padding
|
|
1723
|
+
padNum = 0;
|
|
1724
|
+
while(eb.length() > 1) {
|
|
1725
|
+
if(eb.getByte() !== 0xFF) {
|
|
1726
|
+
--eb.read;
|
|
1727
|
+
break;
|
|
1728
|
+
}
|
|
1729
|
+
++padNum;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
// RFC 2313 8.1 note 6
|
|
1733
|
+
if(padNum < 8 && !(options ? options._skipPaddingChecks : false)) {
|
|
1734
|
+
throw new Error('Encryption block is invalid.');
|
|
1735
|
+
}
|
|
1736
|
+
} else if(bt === 0x02) {
|
|
1737
|
+
// look for 0x00 byte
|
|
1738
|
+
padNum = 0;
|
|
1739
|
+
while(eb.length() > 1) {
|
|
1740
|
+
if(eb.getByte() === 0x00) {
|
|
1741
|
+
--eb.read;
|
|
1742
|
+
break;
|
|
1743
|
+
}
|
|
1744
|
+
++padNum;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
// RFC 2313 8.1 note 6
|
|
1748
|
+
if(padNum < 8 && !(options ? options._skipPaddingChecks : false)) {
|
|
1749
|
+
throw new Error('Encryption block is invalid.');
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
// zero must be 0x00 and padNum must be (k - 3 - message length)
|
|
1754
|
+
var zero = eb.getByte();
|
|
1755
|
+
if(zero !== 0x00 || padNum !== (k - 3 - eb.length())) {
|
|
1756
|
+
throw new Error('Encryption block is invalid.');
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
return eb.getBytes();
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* Runs the key-generation algorithm asynchronously, either in the background
|
|
1764
|
+
* via Web Workers, or using the main thread and setImmediate.
|
|
1765
|
+
*
|
|
1766
|
+
* @param state the key-pair generation state.
|
|
1767
|
+
* @param [options] options for key-pair generation:
|
|
1768
|
+
* workerScript the worker script URL.
|
|
1769
|
+
* workers the number of web workers (if supported) to use,
|
|
1770
|
+
* (default: 2, -1 to use estimated cores minus one).
|
|
1771
|
+
* workLoad the size of the work load, ie: number of possible prime
|
|
1772
|
+
* numbers for each web worker to check per work assignment,
|
|
1773
|
+
* (default: 100).
|
|
1774
|
+
* @param callback(err, keypair) called once the operation completes.
|
|
1775
|
+
*/
|
|
1776
|
+
function _generateKeyPair(state, options, callback) {
|
|
1777
|
+
if(typeof options === 'function') {
|
|
1778
|
+
callback = options;
|
|
1779
|
+
options = {};
|
|
1780
|
+
}
|
|
1781
|
+
options = options || {};
|
|
1782
|
+
|
|
1783
|
+
var opts = {
|
|
1784
|
+
algorithm: {
|
|
1785
|
+
name: options.algorithm || 'PRIMEINC',
|
|
1786
|
+
options: {
|
|
1787
|
+
workers: options.workers || 2,
|
|
1788
|
+
workLoad: options.workLoad || 100,
|
|
1789
|
+
workerScript: options.workerScript
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
};
|
|
1793
|
+
if('prng' in options) {
|
|
1794
|
+
opts.prng = options.prng;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
generate();
|
|
1798
|
+
|
|
1799
|
+
function generate() {
|
|
1800
|
+
// find p and then q (done in series to simplify)
|
|
1801
|
+
getPrime(state.pBits, function(err, num) {
|
|
1802
|
+
if(err) {
|
|
1803
|
+
return callback(err);
|
|
1804
|
+
}
|
|
1805
|
+
state.p = num;
|
|
1806
|
+
if(state.q !== null) {
|
|
1807
|
+
return finish(err, state.q);
|
|
1808
|
+
}
|
|
1809
|
+
getPrime(state.qBits, finish);
|
|
1810
|
+
});
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
function getPrime(bits, callback) {
|
|
1814
|
+
forge.prime.generateProbablePrime(bits, opts, callback);
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
function finish(err, num) {
|
|
1818
|
+
if(err) {
|
|
1819
|
+
return callback(err);
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
// set q
|
|
1823
|
+
state.q = num;
|
|
1824
|
+
|
|
1825
|
+
// ensure p is larger than q (swap them if not)
|
|
1826
|
+
if(state.p.compareTo(state.q) < 0) {
|
|
1827
|
+
var tmp = state.p;
|
|
1828
|
+
state.p = state.q;
|
|
1829
|
+
state.q = tmp;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
// ensure p is coprime with e
|
|
1833
|
+
if(state.p.subtract(BigInteger.ONE).gcd(state.e)
|
|
1834
|
+
.compareTo(BigInteger.ONE) !== 0) {
|
|
1835
|
+
state.p = null;
|
|
1836
|
+
generate();
|
|
1837
|
+
return;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
// ensure q is coprime with e
|
|
1841
|
+
if(state.q.subtract(BigInteger.ONE).gcd(state.e)
|
|
1842
|
+
.compareTo(BigInteger.ONE) !== 0) {
|
|
1843
|
+
state.q = null;
|
|
1844
|
+
getPrime(state.qBits, finish);
|
|
1845
|
+
return;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
// compute phi: (p - 1)(q - 1) (Euler's totient function)
|
|
1849
|
+
state.p1 = state.p.subtract(BigInteger.ONE);
|
|
1850
|
+
state.q1 = state.q.subtract(BigInteger.ONE);
|
|
1851
|
+
state.phi = state.p1.multiply(state.q1);
|
|
1852
|
+
|
|
1853
|
+
// ensure e and phi are coprime
|
|
1854
|
+
if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) !== 0) {
|
|
1855
|
+
// phi and e aren't coprime, so generate a new p and q
|
|
1856
|
+
state.p = state.q = null;
|
|
1857
|
+
generate();
|
|
1858
|
+
return;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
// create n, ensure n is has the right number of bits
|
|
1862
|
+
state.n = state.p.multiply(state.q);
|
|
1863
|
+
if(state.n.bitLength() !== state.bits) {
|
|
1864
|
+
// failed, get new q
|
|
1865
|
+
state.q = null;
|
|
1866
|
+
getPrime(state.qBits, finish);
|
|
1867
|
+
return;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
// set keys
|
|
1871
|
+
var d = state.e.modInverse(state.phi);
|
|
1872
|
+
state.keys = {
|
|
1873
|
+
privateKey: pki.rsa.setPrivateKey(
|
|
1874
|
+
state.n, state.e, d, state.p, state.q,
|
|
1875
|
+
d.mod(state.p1), d.mod(state.q1),
|
|
1876
|
+
state.q.modInverse(state.p)),
|
|
1877
|
+
publicKey: pki.rsa.setPublicKey(state.n, state.e)
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1880
|
+
callback(null, state.keys);
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Converts a positive BigInteger into 2's-complement big-endian bytes.
|
|
1886
|
+
*
|
|
1887
|
+
* @param b the big integer to convert.
|
|
1888
|
+
*
|
|
1889
|
+
* @return the bytes.
|
|
1890
|
+
*/
|
|
1891
|
+
function _bnToBytes(b) {
|
|
1892
|
+
// prepend 0x00 if first byte >= 0x80
|
|
1893
|
+
var hex = b.toString(16);
|
|
1894
|
+
if(hex[0] >= '8') {
|
|
1895
|
+
hex = '00' + hex;
|
|
1896
|
+
}
|
|
1897
|
+
var bytes = forge.util.hexToBytes(hex);
|
|
1898
|
+
|
|
1899
|
+
// ensure integer is minimally-encoded
|
|
1900
|
+
if(bytes.length > 1 &&
|
|
1901
|
+
// leading 0x00 for positive integer
|
|
1902
|
+
((bytes.charCodeAt(0) === 0 &&
|
|
1903
|
+
(bytes.charCodeAt(1) & 0x80) === 0) ||
|
|
1904
|
+
// leading 0xFF for negative integer
|
|
1905
|
+
(bytes.charCodeAt(0) === 0xFF &&
|
|
1906
|
+
(bytes.charCodeAt(1) & 0x80) === 0x80))) {
|
|
1907
|
+
return bytes.substr(1);
|
|
1908
|
+
}
|
|
1909
|
+
return bytes;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Returns the required number of Miller-Rabin tests to generate a
|
|
1914
|
+
* prime with an error probability of (1/2)^80.
|
|
1915
|
+
*
|
|
1916
|
+
* See Handbook of Applied Cryptography Chapter 4, Table 4.4.
|
|
1917
|
+
*
|
|
1918
|
+
* @param bits the bit size.
|
|
1919
|
+
*
|
|
1920
|
+
* @return the required number of iterations.
|
|
1921
|
+
*/
|
|
1922
|
+
function _getMillerRabinTests(bits) {
|
|
1923
|
+
if(bits <= 100) return 27;
|
|
1924
|
+
if(bits <= 150) return 18;
|
|
1925
|
+
if(bits <= 200) return 15;
|
|
1926
|
+
if(bits <= 250) return 12;
|
|
1927
|
+
if(bits <= 300) return 9;
|
|
1928
|
+
if(bits <= 350) return 8;
|
|
1929
|
+
if(bits <= 400) return 7;
|
|
1930
|
+
if(bits <= 500) return 6;
|
|
1931
|
+
if(bits <= 600) return 5;
|
|
1932
|
+
if(bits <= 800) return 4;
|
|
1933
|
+
if(bits <= 1250) return 3;
|
|
1934
|
+
return 2;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Performs feature detection on the Node crypto interface.
|
|
1939
|
+
*
|
|
1940
|
+
* @param fn the feature (function) to detect.
|
|
1941
|
+
*
|
|
1942
|
+
* @return true if detected, false if not.
|
|
1943
|
+
*/
|
|
1944
|
+
function _detectNodeCrypto(fn) {
|
|
1945
|
+
return forge.util.isNodejs && typeof _crypto[fn] === 'function';
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Performs feature detection on the SubtleCrypto interface.
|
|
1950
|
+
*
|
|
1951
|
+
* @param fn the feature (function) to detect.
|
|
1952
|
+
*
|
|
1953
|
+
* @return true if detected, false if not.
|
|
1954
|
+
*/
|
|
1955
|
+
function _detectSubtleCrypto(fn) {
|
|
1956
|
+
return (typeof util.globalScope !== 'undefined' &&
|
|
1957
|
+
typeof util.globalScope.crypto === 'object' &&
|
|
1958
|
+
typeof util.globalScope.crypto.subtle === 'object' &&
|
|
1959
|
+
typeof util.globalScope.crypto.subtle[fn] === 'function');
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* Performs feature detection on the deprecated Microsoft Internet Explorer
|
|
1964
|
+
* outdated SubtleCrypto interface. This function should only be used after
|
|
1965
|
+
* checking for the modern, standard SubtleCrypto interface.
|
|
1966
|
+
*
|
|
1967
|
+
* @param fn the feature (function) to detect.
|
|
1968
|
+
*
|
|
1969
|
+
* @return true if detected, false if not.
|
|
1970
|
+
*/
|
|
1971
|
+
function _detectSubtleMsCrypto(fn) {
|
|
1972
|
+
return (typeof util.globalScope !== 'undefined' &&
|
|
1973
|
+
typeof util.globalScope.msCrypto === 'object' &&
|
|
1974
|
+
typeof util.globalScope.msCrypto.subtle === 'object' &&
|
|
1975
|
+
typeof util.globalScope.msCrypto.subtle[fn] === 'function');
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
function _intToUint8Array(x) {
|
|
1979
|
+
var bytes = forge.util.hexToBytes(x.toString(16));
|
|
1980
|
+
var buffer = new Uint8Array(bytes.length);
|
|
1981
|
+
for(var i = 0; i < bytes.length; ++i) {
|
|
1982
|
+
buffer[i] = bytes.charCodeAt(i);
|
|
1983
|
+
}
|
|
1984
|
+
return buffer;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
function _privateKeyFromJwk(jwk) {
|
|
1988
|
+
if(jwk.kty !== 'RSA') {
|
|
1989
|
+
throw new Error(
|
|
1990
|
+
'Unsupported key algorithm "' + jwk.kty + '"; algorithm must be "RSA".');
|
|
1991
|
+
}
|
|
1992
|
+
return pki.setRsaPrivateKey(
|
|
1993
|
+
_base64ToBigInt(jwk.n),
|
|
1994
|
+
_base64ToBigInt(jwk.e),
|
|
1995
|
+
_base64ToBigInt(jwk.d),
|
|
1996
|
+
_base64ToBigInt(jwk.p),
|
|
1997
|
+
_base64ToBigInt(jwk.q),
|
|
1998
|
+
_base64ToBigInt(jwk.dp),
|
|
1999
|
+
_base64ToBigInt(jwk.dq),
|
|
2000
|
+
_base64ToBigInt(jwk.qi));
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
function _publicKeyFromJwk(jwk) {
|
|
2004
|
+
if(jwk.kty !== 'RSA') {
|
|
2005
|
+
throw new Error('Key algorithm must be "RSA".');
|
|
2006
|
+
}
|
|
2007
|
+
return pki.setRsaPublicKey(
|
|
2008
|
+
_base64ToBigInt(jwk.n),
|
|
2009
|
+
_base64ToBigInt(jwk.e));
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
function _base64ToBigInt(b64) {
|
|
2013
|
+
return new BigInteger(forge.util.bytesToHex(forge.util.decode64(b64)), 16);
|
|
2014
|
+
}
|