@agwab/pi-workflow 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +218 -0
- package/agents/researcher.md +50 -0
- package/agents/scout.md +23 -0
- package/dist/agents.d.ts +10 -0
- package/dist/agents.js +327 -0
- package/dist/artifact-graph-runtime.d.ts +46 -0
- package/dist/artifact-graph-runtime.js +728 -0
- package/dist/artifact-graph-schema.d.ts +3 -0
- package/dist/artifact-graph-schema.js +1389 -0
- package/dist/backend.d.ts +18 -0
- package/dist/backend.js +19 -0
- package/dist/compiler.d.ts +13 -0
- package/dist/compiler.js +1247 -0
- package/dist/dynamic-control-ops.d.ts +60 -0
- package/dist/dynamic-control-ops.js +609 -0
- package/dist/dynamic-controller-calls.d.ts +45 -0
- package/dist/dynamic-controller-calls.js +384 -0
- package/dist/dynamic-controller-errors.d.ts +10 -0
- package/dist/dynamic-controller-errors.js +20 -0
- package/dist/dynamic-controller-policy.d.ts +30 -0
- package/dist/dynamic-controller-policy.js +244 -0
- package/dist/dynamic-decision-loop.d.ts +3 -0
- package/dist/dynamic-decision-loop.js +244 -0
- package/dist/dynamic-decision.d.ts +103 -0
- package/dist/dynamic-decision.js +511 -0
- package/dist/dynamic-events.d.ts +26 -0
- package/dist/dynamic-events.js +130 -0
- package/dist/dynamic-generated-task-runtime.d.ts +55 -0
- package/dist/dynamic-generated-task-runtime.js +620 -0
- package/dist/dynamic-loader.d.ts +25 -0
- package/dist/dynamic-loader.js +13 -0
- package/dist/dynamic-loop-actions.d.ts +9 -0
- package/dist/dynamic-loop-actions.js +148 -0
- package/dist/dynamic-loop-prompts.d.ts +14 -0
- package/dist/dynamic-loop-prompts.js +102 -0
- package/dist/dynamic-loop-types.d.ts +173 -0
- package/dist/dynamic-loop-types.js +1 -0
- package/dist/dynamic-profiles.d.ts +8 -0
- package/dist/dynamic-profiles.js +31 -0
- package/dist/dynamic-runtime-bundle.d.ts +2 -0
- package/dist/dynamic-runtime-bundle.js +153 -0
- package/dist/dynamic-state-index.d.ts +143 -0
- package/dist/dynamic-state-index.js +675 -0
- package/dist/dynamic-state.d.ts +94 -0
- package/dist/dynamic-state.js +516 -0
- package/dist/engine-run-graph.d.ts +21 -0
- package/dist/engine-run-graph.js +339 -0
- package/dist/engine.d.ts +40 -0
- package/dist/engine.js +1885 -0
- package/dist/extension.d.ts +28 -0
- package/dist/extension.js +1014 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +34 -0
- package/dist/json-schema.d.ts +35 -0
- package/dist/json-schema.js +293 -0
- package/dist/loop-runtime.d.ts +4 -0
- package/dist/loop-runtime.js +525 -0
- package/dist/process-role.d.ts +7 -0
- package/dist/process-role.js +30 -0
- package/dist/result.d.ts +10 -0
- package/dist/result.js +33 -0
- package/dist/roles.d.ts +4 -0
- package/dist/roles.js +94 -0
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +95 -0
- package/dist/store.d.ts +56 -0
- package/dist/store.js +1159 -0
- package/dist/subagent-backend.d.ts +6 -0
- package/dist/subagent-backend.js +1118 -0
- package/dist/tool-metadata.d.ts +35 -0
- package/dist/tool-metadata.js +192 -0
- package/dist/types.d.ts +701 -0
- package/dist/types.js +25 -0
- package/dist/workflow-artifact-extension.d.ts +11 -0
- package/dist/workflow-artifact-extension.js +104 -0
- package/dist/workflow-artifact-tool.d.ts +136 -0
- package/dist/workflow-artifact-tool.js +558 -0
- package/dist/workflow-artifacts.d.ts +93 -0
- package/dist/workflow-artifacts.js +351 -0
- package/dist/workflow-fetch-cache-extension.d.ts +37 -0
- package/dist/workflow-fetch-cache-extension.js +240 -0
- package/dist/workflow-helpers.d.ts +23 -0
- package/dist/workflow-helpers.js +59 -0
- package/dist/workflow-output-artifacts.d.ts +93 -0
- package/dist/workflow-output-artifacts.js +1052 -0
- package/dist/workflow-runtime.d.ts +54 -0
- package/dist/workflow-runtime.js +148 -0
- package/dist/workflow-source-context-runtime.d.ts +23 -0
- package/dist/workflow-source-context-runtime.js +108 -0
- package/dist/workflow-specs.d.ts +16 -0
- package/dist/workflow-specs.js +198 -0
- package/dist/workflow-view.d.ts +94 -0
- package/dist/workflow-view.js +1525 -0
- package/dist/worktree.d.ts +2 -0
- package/dist/worktree.js +410 -0
- package/docs/assets/readme/deep-research-flow.png +0 -0
- package/docs/assets/readme/deep-review-flow.png +0 -0
- package/docs/assets/readme/impact-review-flow.png +0 -0
- package/docs/assets/readme/logo.svg +14 -0
- package/docs/assets/readme/spec-review-flow.png +0 -0
- package/docs/assets/readme/stage-types.png +0 -0
- package/docs/assets/readme/workflow-board-runs.png +0 -0
- package/docs/assets/readme/workflow-board-stages.png +0 -0
- package/docs/assets/readme/workflow-board-task-detail.png +0 -0
- package/docs/assets/readme/workflow-board-tasks.png +0 -0
- package/docs/release.md +89 -0
- package/docs/usage.md +605 -0
- package/node_modules/@agwab/pi-subagent/LICENSE +21 -0
- package/node_modules/@agwab/pi-subagent/README.md +150 -0
- package/node_modules/@agwab/pi-subagent/api.mjs +12 -0
- package/node_modules/@agwab/pi-subagent/assets/subagent-panel.png +0 -0
- package/node_modules/@agwab/pi-subagent/docs/usage.md +414 -0
- package/node_modules/@agwab/pi-subagent/package.json +104 -0
- package/node_modules/@agwab/pi-subagent/src/agents.ts +281 -0
- package/node_modules/@agwab/pi-subagent/src/api.ts +190 -0
- package/node_modules/@agwab/pi-subagent/src/artifacts/index.ts +3 -0
- package/node_modules/@agwab/pi-subagent/src/artifacts/registry.ts +728 -0
- package/node_modules/@agwab/pi-subagent/src/artifacts/result.ts +212 -0
- package/node_modules/@agwab/pi-subagent/src/artifacts/store.ts +175 -0
- package/node_modules/@agwab/pi-subagent/src/core/constants.ts +161 -0
- package/node_modules/@agwab/pi-subagent/src/core/resolver.ts +20 -0
- package/node_modules/@agwab/pi-subagent/src/core/validation.ts +520 -0
- package/node_modules/@agwab/pi-subagent/src/index.ts +680 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/async.ts +188 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/index.ts +4 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/interrupt.ts +111 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/reconcile.ts +98 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/run.ts +251 -0
- package/node_modules/@agwab/pi-subagent/src/orchestrate/status.ts +364 -0
- package/node_modules/@agwab/pi-subagent/src/panel.ts +678 -0
- package/node_modules/@agwab/pi-subagent/src/runners/headless-model.ts +510 -0
- package/node_modules/@agwab/pi-subagent/src/runners/inline.ts +387 -0
- package/node_modules/@agwab/pi-subagent/src/runners/tmux.ts +320 -0
- package/node_modules/@agwab/pi-subagent/src/runners/tool-call-telemetry.ts +363 -0
- package/node_modules/@agwab/pi-subagent/src/sandbox/srt.ts +143 -0
- package/node_modules/@agwab/pi-subagent/src/workers/durable-worker.mjs +69 -0
- package/node_modules/@agwab/pi-subagent/src/workspace/worktree.ts +182 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/LICENSE +201 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/README.md +673 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts +3 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js +253 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts +16 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js +12 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts +20 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js +157 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts +40 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js +282 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts +175 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js +984 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts +44 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js +680 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts +47 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js +153 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts +28 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js +107 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts +117 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js +438 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts +46 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js +106 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts +502 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js +320 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts +49 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js +1023 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts +57 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js +3 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts +114 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js +472 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts +19 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js +54 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts +20 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js +171 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts +70 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js +217 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts +222 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js +433 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts +11 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js +60 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts +7 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js +25 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts +15 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js +49 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts +22 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js +45 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts +9 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js +25 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js.map +1 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp/arm64/apply-seccomp +0 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp/build.ts +91 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp/x64/apply-seccomp +0 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp-src/apply-seccomp.c +280 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp-src/seccomp-unix-block.c +148 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/Cargo.lock +361 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/Cargo.toml +46 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/ci/cleanup.ps1 +49 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/ci/smoke-exec.ps1 +446 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/ci/smoke.ps1 +307 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/job.rs +102 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/launch.rs +732 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/lib.rs +20 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/main.rs +669 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/self_protect.rs +169 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/sid.rs +296 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/token.rs +341 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/util.rs +42 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/wfp.rs +992 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/src/winsta.rs +209 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/srt-win/tests/sd_access_check_matrix.rs +259 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/package.json +85 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/arm64/apply-seccomp +0 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/build.ts +91 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/x64/apply-seccomp +0 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp-src/apply-seccomp.c +280 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp-src/seccomp-unix-block.c +148 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/Cargo.lock +361 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/Cargo.toml +46 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/ci/cleanup.ps1 +49 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/ci/smoke-exec.ps1 +446 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/ci/smoke.ps1 +307 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/job.rs +102 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/launch.rs +732 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/lib.rs +20 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/main.rs +669 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/self_protect.rs +169 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/sid.rs +296 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/token.rs +341 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/util.rs +42 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/wfp.rs +992 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/src/winsta.rs +209 -0
- package/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/tests/sd_access_check_matrix.rs +259 -0
- package/node_modules/@mixmark-io/domino/.gitmodules +6 -0
- package/node_modules/@mixmark-io/domino/.mocharc.json +8 -0
- package/node_modules/@mixmark-io/domino/.nvmrc +1 -0
- package/node_modules/@mixmark-io/domino/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -0
- package/node_modules/@mixmark-io/domino/.yarn/versions/78b6ef77.yml +0 -0
- package/node_modules/@mixmark-io/domino/CHANGELOG.md +294 -0
- package/node_modules/@mixmark-io/domino/CONTRIBUTING.md +4 -0
- package/node_modules/@mixmark-io/domino/LICENSE +25 -0
- package/node_modules/@mixmark-io/domino/README.md +141 -0
- package/node_modules/@mixmark-io/domino/lib/CSSStyleDeclaration.js +234 -0
- package/node_modules/@mixmark-io/domino/lib/CharacterData.js +120 -0
- package/node_modules/@mixmark-io/domino/lib/ChildNode.js +119 -0
- package/node_modules/@mixmark-io/domino/lib/Comment.js +40 -0
- package/node_modules/@mixmark-io/domino/lib/ContainerNode.js +80 -0
- package/node_modules/@mixmark-io/domino/lib/CustomEvent.js +12 -0
- package/node_modules/@mixmark-io/domino/lib/DOMException.js +134 -0
- package/node_modules/@mixmark-io/domino/lib/DOMImplementation.js +94 -0
- package/node_modules/@mixmark-io/domino/lib/DOMTokenList.js +186 -0
- package/node_modules/@mixmark-io/domino/lib/Document.js +884 -0
- package/node_modules/@mixmark-io/domino/lib/DocumentFragment.js +71 -0
- package/node_modules/@mixmark-io/domino/lib/DocumentType.js +36 -0
- package/node_modules/@mixmark-io/domino/lib/Element.js +1228 -0
- package/node_modules/@mixmark-io/domino/lib/Event.js +66 -0
- package/node_modules/@mixmark-io/domino/lib/EventTarget.js +298 -0
- package/node_modules/@mixmark-io/domino/lib/FilteredElementList.js +92 -0
- package/node_modules/@mixmark-io/domino/lib/HTMLParser.js +7254 -0
- package/node_modules/@mixmark-io/domino/lib/Leaf.js +37 -0
- package/node_modules/@mixmark-io/domino/lib/LinkedList.js +44 -0
- package/node_modules/@mixmark-io/domino/lib/Location.js +56 -0
- package/node_modules/@mixmark-io/domino/lib/MouseEvent.js +52 -0
- package/node_modules/@mixmark-io/domino/lib/MutationConstants.js +9 -0
- package/node_modules/@mixmark-io/domino/lib/NamedNodeMap.js +41 -0
- package/node_modules/@mixmark-io/domino/lib/NavigatorID.js +17 -0
- package/node_modules/@mixmark-io/domino/lib/Node.js +764 -0
- package/node_modules/@mixmark-io/domino/lib/NodeFilter.js +24 -0
- package/node_modules/@mixmark-io/domino/lib/NodeIterator.js +217 -0
- package/node_modules/@mixmark-io/domino/lib/NodeList.es5.js +15 -0
- package/node_modules/@mixmark-io/domino/lib/NodeList.es6.js +12 -0
- package/node_modules/@mixmark-io/domino/lib/NodeList.js +13 -0
- package/node_modules/@mixmark-io/domino/lib/NodeTraversal.js +87 -0
- package/node_modules/@mixmark-io/domino/lib/NodeUtils.js +246 -0
- package/node_modules/@mixmark-io/domino/lib/NonDocumentTypeChildNode.js +26 -0
- package/node_modules/@mixmark-io/domino/lib/ProcessingInstruction.js +44 -0
- package/node_modules/@mixmark-io/domino/lib/Text.js +75 -0
- package/node_modules/@mixmark-io/domino/lib/TreeWalker.js +336 -0
- package/node_modules/@mixmark-io/domino/lib/UIEvent.js +19 -0
- package/node_modules/@mixmark-io/domino/lib/URL.js +194 -0
- package/node_modules/@mixmark-io/domino/lib/URLUtils.js +270 -0
- package/node_modules/@mixmark-io/domino/lib/Window.js +60 -0
- package/node_modules/@mixmark-io/domino/lib/WindowTimers.js +11 -0
- package/node_modules/@mixmark-io/domino/lib/attributes.js +152 -0
- package/node_modules/@mixmark-io/domino/lib/config.js +7 -0
- package/node_modules/@mixmark-io/domino/lib/defineElement.js +71 -0
- package/node_modules/@mixmark-io/domino/lib/events.js +7 -0
- package/node_modules/@mixmark-io/domino/lib/htmlelts.js +1499 -0
- package/node_modules/@mixmark-io/domino/lib/impl.js +27 -0
- package/node_modules/@mixmark-io/domino/lib/index.d.ts +5 -0
- package/node_modules/@mixmark-io/domino/lib/index.js +80 -0
- package/node_modules/@mixmark-io/domino/lib/select.js +933 -0
- package/node_modules/@mixmark-io/domino/lib/style_parser.js +106 -0
- package/node_modules/@mixmark-io/domino/lib/svg.js +59 -0
- package/node_modules/@mixmark-io/domino/lib/utils.js +85 -0
- package/node_modules/@mixmark-io/domino/lib/xmlnames.js +91 -0
- package/node_modules/@mixmark-io/domino/package.json +22 -0
- package/node_modules/@mixmark-io/domino/test/domino.js +1500 -0
- package/node_modules/@mixmark-io/domino/test/fixture/doc.html +13 -0
- package/node_modules/@mixmark-io/domino/test/fixture/jquery-1.9.1.js +9597 -0
- package/node_modules/@mixmark-io/domino/test/fixture/jquery-2.2.0.js +9831 -0
- package/node_modules/@mixmark-io/domino/test/html5lib-tests.json +80692 -0
- package/node_modules/@mixmark-io/domino/test/index.js +2 -0
- package/node_modules/@mixmark-io/domino/test/parsing.js +66 -0
- package/node_modules/@mixmark-io/domino/test/tools/update-entities.js +90 -0
- package/node_modules/@mixmark-io/domino/test/tools/update-html5lib-tests.js +355 -0
- package/node_modules/@mixmark-io/domino/test/w3c/README.md +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/harness/DomTestCase.js +438 -0
- package/node_modules/@mixmark-io/domino/test/w3c/harness/index.js +95 -0
- package/node_modules/@mixmark-io/domino/test/w3c/index.js +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentgetdoctypenodtd.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentinvalidcharacterexceptioncreatepi.js +143 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentinvalidcharacterexceptioncreatepi1.js +140 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/.cvsignore +0 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/hc_nodtdstaff.html +10 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/hc_staff.html +48 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/staff.dtd +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataappenddata.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataappenddatagetdata.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatabegining.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedataend.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedataexceedslength.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatagetlengthanddata.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatamiddle.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatagetdata.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatagetlength.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdatabeginning.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdataend.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdatamiddle.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedatabegining.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataend.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataexceedslengthofarg.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataexceedslengthofdata.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedatamiddle.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasetnodevalue.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasubstringexceedsvalue.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasubstringvalue.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_commentgetcomment.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatecomment.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatedocumentfragment.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreateelement.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreateelementcasesensitive.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatetextnode.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetdoctype.js +149 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnamelength.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnametotallength.js +221 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnamevalue.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetimplementation.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetrootnode.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentinvalidcharacterexceptioncreateelement.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturenoversion.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturenull.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturexml.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementaddnewattribute.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementchangeattributevalue.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagname.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnameaccessnodelist.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnamenomatch.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnamespecialvalue.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgettagname.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementinvalidcharacterexception.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementinvalidcharacterexception1.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementnormalize.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementremoveattribute.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrieveallattributes.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrieveattrvalue.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrievetagname.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_entitiesremovenameditem1.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_entitiessetnameditem1.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_namednodemapchildnoderange.js +141 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_namednodemapnumberofnodes.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchild.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildchildexists.js +160 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchilddocfragment.js +158 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildgetnodename.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildnewchilddiffdocument.js +145 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildnodeancestor.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeattributenodeattribute.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodes.js +149 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodesappendchild.js +159 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodesempty.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecloneattributescopied.js +149 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonefalsenocopytext.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonegetparentnull.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonenodefalse.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonenodetrue.js +145 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonetruecopytext.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodeattributes.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodename.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodetype.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodevalue.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodename.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodetype.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodevalue.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodeattribute.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodename.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodetype.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodevalue.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodeattributes.js +145 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodename.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodetype.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodevalue.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetfirstchild.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetfirstchildnull.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetlastchild.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetlastchildnull.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetnextsibling.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetnextsiblingnull.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetownerdocument.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetownerdocumentnull.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetprevioussibling.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetprevioussiblingnull.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodehaschildnodes.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodehaschildnodesfalse.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbefore.js +153 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforedocfragment.js +141 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenewchilddiffdocument.js +148 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenewchildexists.js +151 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenodeancestor.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenodename.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforerefchildnonexistent.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforerefchildnull.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexequalzero.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexgetlength.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexgetlengthofemptylist.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexnotzero.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistreturnfirstitem.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistreturnlastitem.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelisttraverselist.js +149 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeparentnode.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeparentnodenull.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechild.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildgetnodename.js +128 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildnode.js +160 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildoldchildnonexistent.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechild.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnewchilddiffdocument.js +148 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnewchildexists.js +155 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnodeancestor.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnodename.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildoldchildnonexistent.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodeattribute.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodename.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodetype.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodevalue.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue04.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue06.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue07.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue08.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_notationsremovenameditem1.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_notationssetnameditem1.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textindexsizeerrnegativeoffset.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textindexsizeerroffsetoutofbounds.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textparseintolistofelements.js +169 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextfour.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextone.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextthree.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittexttwo.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textwithnomarkup.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/documentinvalidcharacterexceptioncreateentref.js +143 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/documentinvalidcharacterexceptioncreateentref1.js +140 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild1.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild2.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild3.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild4.js +152 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild5.js +141 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild6.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrchildnodes1.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrchildnodes2.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrclonenode1.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatedocumentfragment.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatetextnode.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatetextnode2.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attreffectivevalue.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrfirstchild.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrgetvalue1.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrgetvalue2.js +146 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrhaschildnodes.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore1.js +140 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore2.js +141 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore3.js +146 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore4.js +147 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore5.js +153 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore6.js +142 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore7.js +160 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrlastchild.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrname.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrnextsiblingnull.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrnormalize.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrparentnodenull.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrprevioussiblingnull.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrremovechild1.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrremovechild2.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrreplacechild1.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrreplacechild2.js +141 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrsetvalue1.js +135 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrsetvalue2.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrspecifiedvalue.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrspecifiedvaluechanged.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentcreateattribute.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentinvalidcharacterexceptioncreateattribute.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentinvalidcharacterexceptioncreateattribute1.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementassociatedattribute.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementcreatenewattribute.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetattributenode.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetattributenodenull.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetelementempty.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementinuseattributeerr.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementnormalize2.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementnotfounderr.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementremoveattributeaftercreate.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementremoveattributenode.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceattributewithself.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceexistingattribute.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceexistingattributegevalue.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementsetattributenodenull.js +120 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementwrongdocumenterr.js +147 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapgetnameditem.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapinuseattributeerr.js +139 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapnotfounderr.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapremovenameditem.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnattrnode.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnfirstitem.js +150 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnlastitem.js +152 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnnull.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditem.js +131 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemreturnvalue.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemthatexists.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemwithnewvalue.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapwrongdocumenterr.js +149 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeappendchildinvalidnodetype.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodename.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodetype.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodevalue.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeinsertbeforeinvalidnodetype.js +136 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodereplacechildinvalidnodetype.js +136 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodevalue03.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement10.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement11.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement12.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement13.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement14.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement07.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement01.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement06.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument01.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument15.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument16.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument17.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument18.js +102 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument19.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument20.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument21.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement09.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement10.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement100.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement101.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement102.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement103.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement104.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement105.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement106.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement107.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement108.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement109.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement11.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement110.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement111.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement112.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement113.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement114.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement115.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement116.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement117.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement118.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement119.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement12.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement120.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement121.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement122.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement123.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement124.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement125.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement126.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement127.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement128.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement129.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement13.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement130.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement131.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement132.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement133.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement134.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement135.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement136.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement137.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement138.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement139.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement14.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement140.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement141.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement142.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement143.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement144.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement145.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement15.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement16.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement17.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement18.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement19.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement20.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement21.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement22.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement23.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement24.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement25.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement26.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement27.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement28.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement29.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement30.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement31.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement32.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement33.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement34.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement35.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement36.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement37.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement38.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement39.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement40.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement41.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement42.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement43.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement44.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement45.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement46.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement47.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement48.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement49.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement50.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement51.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement52.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement53.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement54.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement55.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement56.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement57.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement58.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement59.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement60.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement61.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement62.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement63.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement64.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement65.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement66.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement67.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement68.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement69.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement70.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement71.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement72.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement73.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement74.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement75.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement76.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement77.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement78.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement79.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement80.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement81.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement82.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement83.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement84.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement85.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement86.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement87.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement88.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement89.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement90.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement91.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement92.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement93.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement94.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement95.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement96.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement97.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement98.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement99.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFieldSetElement01.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFieldSetElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement10.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement05.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement06.js +128 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement09.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement11.js +128 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement12.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement03.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement05.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement11.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement13.js +130 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement14.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement15.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement16.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement18.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement21.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLIElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement01.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMapElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOListElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOListElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement01.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement11.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement13.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement14.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement15.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement16.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement17.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement18.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement19.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptGroupElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptGroupElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement01.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLParamElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLQuoteElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLQuoteElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement06.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement07.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement03.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement06.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement08.js +134 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement09.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement11.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement12.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement13.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement15.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement16.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement23.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement24.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement25.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableColElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableColElement08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement07.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement12.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableRowElement05.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement13.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement14.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement15.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement02.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTitleElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor01.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor04.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor05.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/area01.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/area02.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/area03.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/area04.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button01.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button05.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button06.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button07.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button08.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/button09.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/doc01.js +106 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/.cvsignore +6 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/HTMLDocument04.html +36 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/anchor.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/anchor2.html +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/applet.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/applet2.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/area.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/area2.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/base.html +11 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/base2.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/basefont.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/body.html +10 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/br.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/button.html +21 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/collection.html +79 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/directory.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/div.html +10 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/dl.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/document.html +36 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/element.html +81 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/fieldset.html +23 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/font.html +10 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form.html +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form2.html +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form3.html +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/frame.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/frameset.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/head.html +11 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/heading.html +16 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/hr.html +11 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/html.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/iframe.html +10 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/img.html +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/input.html +60 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/isindex.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/label.html +21 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/legend.html +22 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/li.html +23 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/link.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/link2.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/map.html +16 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/menu.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/meta.html +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/mod.html +15 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/object.html +18 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/object2.html +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/olist.html +32 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/optgroup.html +25 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/option.html +36 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/paragraph.html +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/param.html +14 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/pre.html +17 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/quote.html +16 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/script.html +11 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/select.html +44 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/style.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/table.html +78 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/table1.html +12 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecaption.html +25 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecell.html +23 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecol.html +35 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablerow.html +59 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablesection.html +62 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/textarea.html +26 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/title.html +13 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/ulist.html +36 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/hasFeature01.js +96 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument02.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument03.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument04.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument10.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument12.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement01.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement09.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement10.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement19.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement20.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement22.js +108 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement14.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement15.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement16.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement17.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement18.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement19.js +137 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement08.js +129 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement09.js +132 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement19.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement20.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement21.js +139 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement22.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement23.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement24.js +139 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement25.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement26.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement27.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement28.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement29.js +137 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement30.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement31.js +138 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement32.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement33.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableRowElement01.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement13.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement14.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement15.js +107 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object01.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object07.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object08.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object10.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object11.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object12.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object13.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/object14.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement09.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement07.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement08.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement09.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement10.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement11.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBRElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement03.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement06.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection01.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection02.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection03.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection04.js +133 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection05.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection06.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection07.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection08.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection09.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection10.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection11.js +123 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection12.js +121 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDirectoryElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDivElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDlistElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument11.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument13.js +109 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument14.js +110 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFormElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement01.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement05.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameSetElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameSetElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement03.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement05.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement06.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHtmlElement01.js +124 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement02.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement06.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement10.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement14.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLInputElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLInputElement17.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement01.js +122 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement02.js +119 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLIElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement01.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement04.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement07.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement09.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLMapElement01.js +116 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLMenuElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOListElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement09.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement05.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParagraphElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLPreElement01.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCaptionElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement02.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement03.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement04.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement05.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement07.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement09.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement11.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement13.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement14.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement17.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement18.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement19.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement20.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement21.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement22.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement26.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement27.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement28.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement29.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement30.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement05.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement06.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement09.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement11.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement12.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement01.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement03.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement05.js +117 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement11.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement13.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement14.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement15.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement16.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement17.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement18.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement07.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement11.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement12.js +143 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement13.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement14.js +144 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement05.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement07.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement08.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement09.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement11.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement16.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement17.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement18.js +126 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement19.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement20.js +127 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement21.js +128 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement22.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement23.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement24.js +125 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement01.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement11.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLUListElement01.js +114 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLUListElement02.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor02.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor03.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor06.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/basefont01.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/body01.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/dlist01.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object02.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object03.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object04.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object05.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object09.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object15.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table02.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table03.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table04.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table06.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table07.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table08.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table09.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table10.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table12.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table15.js +118 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table17.js +115 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table18.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table19.js +113 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table20.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table21.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table22.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table23.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table24.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table26.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table27.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table29.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table30.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table31.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table32.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table33.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table35.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table36.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table37.js +111 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table38.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table39.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table40.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table41.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table42.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table43.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table44.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table45.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table46.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table47.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table48.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table49.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table50.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table52.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table53.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/table01.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/table25.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/table28.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/table34.js +112 -0
- package/node_modules/@mixmark-io/domino/test/w3c/level1/html/table51.js +112 -0
- package/node_modules/@mixmark-io/domino/test/web-platform-blocklist.json +4688 -0
- package/node_modules/@mixmark-io/domino/test/web-platform-tests.js +353 -0
- package/node_modules/@mixmark-io/domino/test/xss.js +361 -0
- package/node_modules/@mozilla/readability/.eslintrc.js +213 -0
- package/node_modules/@mozilla/readability/CHANGELOG.md +79 -0
- package/node_modules/@mozilla/readability/CODE_OF_CONDUCT.md +15 -0
- package/node_modules/@mozilla/readability/CONTRIBUTING.md +74 -0
- package/node_modules/@mozilla/readability/JSDOMParser.js +1197 -0
- package/node_modules/@mozilla/readability/LICENSE.md +13 -0
- package/node_modules/@mozilla/readability/README.md +127 -0
- package/node_modules/@mozilla/readability/Readability-readerable.js +108 -0
- package/node_modules/@mozilla/readability/Readability.js +2314 -0
- package/node_modules/@mozilla/readability/SECURITY.md +8 -0
- package/node_modules/@mozilla/readability/index.d.ts +64 -0
- package/node_modules/@mozilla/readability/index.js +8 -0
- package/node_modules/@mozilla/readability/package.json +37 -0
- package/node_modules/@pondwader/socks5-server/.DS_Store +0 -0
- package/node_modules/@pondwader/socks5-server/.github/workflows/ci.yml +27 -0
- package/node_modules/@pondwader/socks5-server/LICENSE +20 -0
- package/node_modules/@pondwader/socks5-server/README.md +151 -0
- package/node_modules/@pondwader/socks5-server/dist/index.d.mts +87 -0
- package/node_modules/@pondwader/socks5-server/dist/index.d.ts +87 -0
- package/node_modules/@pondwader/socks5-server/dist/index.js +346 -0
- package/node_modules/@pondwader/socks5-server/dist/index.mjs +307 -0
- package/node_modules/@pondwader/socks5-server/package.json +31 -0
- package/node_modules/boolbase/README.md +10 -0
- package/node_modules/boolbase/index.js +8 -0
- package/node_modules/boolbase/package.json +23 -0
- package/node_modules/commander/.DS_Store +0 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1157 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +149 -0
- package/node_modules/commander/lib/command.js +2509 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +520 -0
- package/node_modules/commander/lib/option.js +330 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +16 -0
- package/node_modules/commander/package.json +84 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +969 -0
- package/node_modules/css-select/LICENSE +11 -0
- package/node_modules/css-select/README.md +264 -0
- package/node_modules/css-select/lib/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/attributes.js +236 -0
- package/node_modules/css-select/lib/attributes.js.map +1 -0
- package/node_modules/css-select/lib/compile.d.ts +13 -0
- package/node_modules/css-select/lib/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/compile.js +151 -0
- package/node_modules/css-select/lib/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/compile.js +115 -0
- package/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/general.d.ts +3 -0
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/general.js +144 -0
- package/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts +50 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/index.js +115 -0
- package/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/package.json +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/sort.js +79 -0
- package/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/node_modules/css-select/lib/esm/types.d.ts +167 -0
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/types.js +2 -0
- package/node_modules/css-select/lib/esm/types.js.map +1 -0
- package/node_modules/css-select/lib/general.d.ts +3 -0
- package/node_modules/css-select/lib/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/general.js +148 -0
- package/node_modules/css-select/lib/general.js.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts +50 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/index.js +154 -0
- package/node_modules/css-select/lib/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/sort.d.ts +12 -0
- package/node_modules/css-select/lib/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/sort.js +84 -0
- package/node_modules/css-select/lib/sort.js.map +1 -0
- package/node_modules/css-select/lib/types.d.ts +167 -0
- package/node_modules/css-select/lib/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/types.js +3 -0
- package/node_modules/css-select/lib/types.js.map +1 -0
- package/node_modules/css-select/package.json +81 -0
- package/node_modules/css-what/LICENSE +11 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/node_modules/css-what/lib/es/index.d.ts +4 -0
- package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/index.js +3 -0
- package/node_modules/css-what/lib/es/parse.d.ts +20 -0
- package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/parse.js +420 -0
- package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/stringify.js +126 -0
- package/node_modules/css-what/lib/es/types.d.ts +70 -0
- package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/types.js +39 -0
- package/node_modules/css-what/package.json +59 -0
- package/node_modules/css-what/readme.md +69 -0
- package/node_modules/cssom/LICENSE.txt +20 -0
- package/node_modules/cssom/README.mdown +67 -0
- package/node_modules/cssom/lib/CSSConditionRule.js +25 -0
- package/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- package/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- package/node_modules/cssom/lib/CSSGroupingRule.js +68 -0
- package/node_modules/cssom/lib/CSSHostRule.js +37 -0
- package/node_modules/cssom/lib/CSSImportRule.js +132 -0
- package/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- package/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- package/node_modules/cssom/lib/CSSMediaRule.js +53 -0
- package/node_modules/cssom/lib/CSSOM.js +3 -0
- package/node_modules/cssom/lib/CSSRule.js +43 -0
- package/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- package/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- package/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- package/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- package/node_modules/cssom/lib/CSSValue.js +43 -0
- package/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- package/node_modules/cssom/lib/MatcherList.js +62 -0
- package/node_modules/cssom/lib/MediaList.js +61 -0
- package/node_modules/cssom/lib/StyleSheet.js +17 -0
- package/node_modules/cssom/lib/clone.js +74 -0
- package/node_modules/cssom/lib/index.js +23 -0
- package/node_modules/cssom/lib/parse.js +465 -0
- package/node_modules/cssom/package.json +18 -0
- package/node_modules/dom-serializer/LICENSE +11 -0
- package/node_modules/dom-serializer/README.md +109 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/node_modules/dom-serializer/lib/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/index.js +229 -0
- package/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/domelementtype/LICENSE +11 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/node_modules/domelementtype/lib/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/index.js +55 -0
- package/node_modules/domelementtype/package.json +54 -0
- package/node_modules/domelementtype/readme.md +1 -0
- package/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
- package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/index.js +146 -0
- package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
- package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/node.js +338 -0
- package/node_modules/domhandler/lib/esm/package.json +1 -0
- package/node_modules/domhandler/lib/index.d.ts +76 -0
- package/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/index.js +165 -0
- package/node_modules/domhandler/lib/node.d.ts +245 -0
- package/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/node.js +474 -0
- package/node_modules/domhandler/package.json +73 -0
- package/node_modules/domhandler/readme.md +92 -0
- package/node_modules/domutils/LICENSE +11 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/node_modules/domutils/lib/esm/index.d.ts +10 -0
- package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/index.js +10 -0
- package/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.js +152 -0
- package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/esm/package.json +1 -0
- package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
- package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/querying.js +142 -0
- package/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/node_modules/domutils/lib/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/feeds.js +190 -0
- package/node_modules/domutils/lib/feeds.js.map +1 -0
- package/node_modules/domutils/lib/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/helpers.js +142 -0
- package/node_modules/domutils/lib/helpers.js.map +1 -0
- package/node_modules/domutils/lib/index.d.ts +10 -0
- package/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/index.js +33 -0
- package/node_modules/domutils/lib/index.js.map +1 -0
- package/node_modules/domutils/lib/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/legacy.js +168 -0
- package/node_modules/domutils/lib/legacy.js.map +1 -0
- package/node_modules/domutils/lib/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/manipulation.js +142 -0
- package/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/querying.d.ts +64 -0
- package/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/querying.js +155 -0
- package/node_modules/domutils/lib/querying.js.map +1 -0
- package/node_modules/domutils/lib/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/stringify.js +91 -0
- package/node_modules/domutils/lib/stringify.js.map +1 -0
- package/node_modules/domutils/lib/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/traversal.js +125 -0
- package/node_modules/domutils/lib/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +79 -0
- package/node_modules/domutils/readme.md +31 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/entities/lib/index.js +126 -0
- package/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/entities/package.json +90 -0
- package/node_modules/entities/readme.md +122 -0
- package/node_modules/html-escaper/LICENSE.txt +19 -0
- package/node_modules/html-escaper/README.md +110 -0
- package/node_modules/html-escaper/cjs/index.js +74 -0
- package/node_modules/html-escaper/cjs/package.json +1 -0
- package/node_modules/html-escaper/esm/index.js +71 -0
- package/node_modules/html-escaper/index.js +81 -0
- package/node_modules/html-escaper/min.js +1 -0
- package/node_modules/html-escaper/package.json +47 -0
- package/node_modules/html-escaper/test/index.js +23 -0
- package/node_modules/html-escaper/test/package.json +1 -0
- package/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/htmlparser2/README.md +171 -0
- package/node_modules/htmlparser2/lib/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/lib/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/Parser.js +519 -0
- package/node_modules/htmlparser2/lib/Parser.js.map +1 -0
- package/node_modules/htmlparser2/lib/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/lib/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/Tokenizer.js +791 -0
- package/node_modules/htmlparser2/lib/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/lib/WritableStream.d.ts +17 -0
- package/node_modules/htmlparser2/lib/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/WritableStream.js +54 -0
- package/node_modules/htmlparser2/lib/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/lib/esm/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Parser.js +490 -0
- package/node_modules/htmlparser2/lib/esm/Parser.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.js +784 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.d.ts +17 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.js +32 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/index.d.ts +54 -0
- package/node_modules/htmlparser2/lib/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/index.js +74 -0
- package/node_modules/htmlparser2/lib/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/package.json +1 -0
- package/node_modules/htmlparser2/lib/index.d.ts +54 -0
- package/node_modules/htmlparser2/lib/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/index.js +114 -0
- package/node_modules/htmlparser2/lib/index.js.map +1 -0
- package/node_modules/htmlparser2/package.json +97 -0
- package/node_modules/jiti/.DS_Store +0 -0
- package/node_modules/jiti/LICENSE +21 -0
- package/node_modules/jiti/README.md +258 -0
- package/node_modules/jiti/dist/babel.cjs +257 -0
- package/node_modules/jiti/dist/jiti.cjs +1 -0
- package/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- package/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
- package/node_modules/jiti/lib/jiti-native.mjs +121 -0
- package/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- package/node_modules/jiti/lib/jiti-register.mjs +4 -0
- package/node_modules/jiti/lib/jiti-static.mjs +23 -0
- package/node_modules/jiti/lib/jiti.cjs +30 -0
- package/node_modules/jiti/lib/jiti.d.cts +8 -0
- package/node_modules/jiti/lib/jiti.d.mts +8 -0
- package/node_modules/jiti/lib/jiti.mjs +29 -0
- package/node_modules/jiti/lib/types.d.ts +420 -0
- package/node_modules/jiti/package.json +146 -0
- package/node_modules/linkedom/.github/workflows/node.js.yml +31 -0
- package/node_modules/linkedom/LICENSE +15 -0
- package/node_modules/linkedom/README.md +307 -0
- package/node_modules/linkedom/cjs/cached.js +153 -0
- package/node_modules/linkedom/cjs/dom/parser.js +41 -0
- package/node_modules/linkedom/cjs/dom/string-map.js +47 -0
- package/node_modules/linkedom/cjs/dom/token-list.js +103 -0
- package/node_modules/linkedom/cjs/html/anchor-element.js +35 -0
- package/node_modules/linkedom/cjs/html/area-element.js +12 -0
- package/node_modules/linkedom/cjs/html/audio-element.js +12 -0
- package/node_modules/linkedom/cjs/html/base-element.js +12 -0
- package/node_modules/linkedom/cjs/html/body-element.js +12 -0
- package/node_modules/linkedom/cjs/html/br-element.js +12 -0
- package/node_modules/linkedom/cjs/html/button-element.js +31 -0
- package/node_modules/linkedom/cjs/html/canvas-element.js +53 -0
- package/node_modules/linkedom/cjs/html/d-list-element.js +12 -0
- package/node_modules/linkedom/cjs/html/data-element.js +12 -0
- package/node_modules/linkedom/cjs/html/data-list-element.js +12 -0
- package/node_modules/linkedom/cjs/html/details-element.js +12 -0
- package/node_modules/linkedom/cjs/html/directory-element.js +12 -0
- package/node_modules/linkedom/cjs/html/div-element.js +12 -0
- package/node_modules/linkedom/cjs/html/document.js +105 -0
- package/node_modules/linkedom/cjs/html/element.js +321 -0
- package/node_modules/linkedom/cjs/html/embed-element.js +12 -0
- package/node_modules/linkedom/cjs/html/field-set-element.js +12 -0
- package/node_modules/linkedom/cjs/html/font-element.js +12 -0
- package/node_modules/linkedom/cjs/html/form-element.js +12 -0
- package/node_modules/linkedom/cjs/html/frame-element.js +12 -0
- package/node_modules/linkedom/cjs/html/frame-set-element.js +12 -0
- package/node_modules/linkedom/cjs/html/head-element.js +12 -0
- package/node_modules/linkedom/cjs/html/heading-element.js +19 -0
- package/node_modules/linkedom/cjs/html/hr-element.js +12 -0
- package/node_modules/linkedom/cjs/html/html-element.js +12 -0
- package/node_modules/linkedom/cjs/html/i-frame-element.js +43 -0
- package/node_modules/linkedom/cjs/html/image-element.js +43 -0
- package/node_modules/linkedom/cjs/html/input-element.js +40 -0
- package/node_modules/linkedom/cjs/html/label-element.js +12 -0
- package/node_modules/linkedom/cjs/html/legend-element.js +12 -0
- package/node_modules/linkedom/cjs/html/li-element.js +12 -0
- package/node_modules/linkedom/cjs/html/link-element.js +41 -0
- package/node_modules/linkedom/cjs/html/map-element.js +12 -0
- package/node_modules/linkedom/cjs/html/marquee-element.js +12 -0
- package/node_modules/linkedom/cjs/html/media-element.js +12 -0
- package/node_modules/linkedom/cjs/html/menu-element.js +12 -0
- package/node_modules/linkedom/cjs/html/meta-element.js +36 -0
- package/node_modules/linkedom/cjs/html/meter-element.js +12 -0
- package/node_modules/linkedom/cjs/html/mod-element.js +12 -0
- package/node_modules/linkedom/cjs/html/o-list-element.js +12 -0
- package/node_modules/linkedom/cjs/html/object-element.js +12 -0
- package/node_modules/linkedom/cjs/html/opt-group-element.js +12 -0
- package/node_modules/linkedom/cjs/html/option-element.js +32 -0
- package/node_modules/linkedom/cjs/html/output-element.js +12 -0
- package/node_modules/linkedom/cjs/html/paragraph-element.js +12 -0
- package/node_modules/linkedom/cjs/html/param-element.js +12 -0
- package/node_modules/linkedom/cjs/html/picture-element.js +12 -0
- package/node_modules/linkedom/cjs/html/pre-element.js +12 -0
- package/node_modules/linkedom/cjs/html/progress-element.js +12 -0
- package/node_modules/linkedom/cjs/html/quote-element.js +12 -0
- package/node_modules/linkedom/cjs/html/script-element.js +80 -0
- package/node_modules/linkedom/cjs/html/select-element.js +45 -0
- package/node_modules/linkedom/cjs/html/slot-element.js +62 -0
- package/node_modules/linkedom/cjs/html/source-element.js +34 -0
- package/node_modules/linkedom/cjs/html/span-element.js +12 -0
- package/node_modules/linkedom/cjs/html/style-element.js +53 -0
- package/node_modules/linkedom/cjs/html/table-caption-element.js +12 -0
- package/node_modules/linkedom/cjs/html/table-cell-element.js +12 -0
- package/node_modules/linkedom/cjs/html/table-element.js +12 -0
- package/node_modules/linkedom/cjs/html/table-row-element.js +12 -0
- package/node_modules/linkedom/cjs/html/template-element.js +31 -0
- package/node_modules/linkedom/cjs/html/text-area-element.js +37 -0
- package/node_modules/linkedom/cjs/html/text-element.js +16 -0
- package/node_modules/linkedom/cjs/html/time-element.js +12 -0
- package/node_modules/linkedom/cjs/html/title-element.js +19 -0
- package/node_modules/linkedom/cjs/html/track-element.js +12 -0
- package/node_modules/linkedom/cjs/html/u-list-element.js +12 -0
- package/node_modules/linkedom/cjs/html/unknown-element.js +12 -0
- package/node_modules/linkedom/cjs/html/video-element.js +12 -0
- package/node_modules/linkedom/cjs/index.js +48 -0
- package/node_modules/linkedom/cjs/interface/attr.js +59 -0
- package/node_modules/linkedom/cjs/interface/cdata-section.js +22 -0
- package/node_modules/linkedom/cjs/interface/character-data.js +86 -0
- package/node_modules/linkedom/cjs/interface/comment.js +22 -0
- package/node_modules/linkedom/cjs/interface/css-style-declaration.js +130 -0
- package/node_modules/linkedom/cjs/interface/custom-element-registry.js +212 -0
- package/node_modules/linkedom/cjs/interface/custom-event.js +21 -0
- package/node_modules/linkedom/cjs/interface/document-fragment.js +13 -0
- package/node_modules/linkedom/cjs/interface/document-type.js +43 -0
- package/node_modules/linkedom/cjs/interface/document.js +290 -0
- package/node_modules/linkedom/cjs/interface/element.js +513 -0
- package/node_modules/linkedom/cjs/interface/event-target.js +89 -0
- package/node_modules/linkedom/cjs/interface/event.js +65 -0
- package/node_modules/linkedom/cjs/interface/html-collection.js +4 -0
- package/node_modules/linkedom/cjs/interface/image.js +23 -0
- package/node_modules/linkedom/cjs/interface/input-event.js +24 -0
- package/node_modules/linkedom/cjs/interface/mutation-observer.js +176 -0
- package/node_modules/linkedom/cjs/interface/named-node-map.js +44 -0
- package/node_modules/linkedom/cjs/interface/node-filter.js +17 -0
- package/node_modules/linkedom/cjs/interface/node-list.js +10 -0
- package/node_modules/linkedom/cjs/interface/node.js +206 -0
- package/node_modules/linkedom/cjs/interface/range.js +131 -0
- package/node_modules/linkedom/cjs/interface/shadow-root.js +22 -0
- package/node_modules/linkedom/cjs/interface/text.js +44 -0
- package/node_modules/linkedom/cjs/interface/tree-walker.js +60 -0
- package/node_modules/linkedom/cjs/mixin/child-node.js +67 -0
- package/node_modules/linkedom/cjs/mixin/inner-html.js +39 -0
- package/node_modules/linkedom/cjs/mixin/non-document-type-child-node.js +23 -0
- package/node_modules/linkedom/cjs/mixin/non-element-parent-node.js +44 -0
- package/node_modules/linkedom/cjs/mixin/parent-node.js +295 -0
- package/node_modules/linkedom/cjs/package.json +1 -0
- package/node_modules/linkedom/cjs/shared/attributes.js +111 -0
- package/node_modules/linkedom/cjs/shared/cache.js +33 -0
- package/node_modules/linkedom/cjs/shared/constants.js +56 -0
- package/node_modules/linkedom/cjs/shared/facades.js +91 -0
- package/node_modules/linkedom/cjs/shared/html-classes.js +210 -0
- package/node_modules/linkedom/cjs/shared/jsdon.js +79 -0
- package/node_modules/linkedom/cjs/shared/matches.js +121 -0
- package/node_modules/linkedom/cjs/shared/mime.js +33 -0
- package/node_modules/linkedom/cjs/shared/node.js +53 -0
- package/node_modules/linkedom/cjs/shared/object.js +18 -0
- package/node_modules/linkedom/cjs/shared/parse-from-string.js +125 -0
- package/node_modules/linkedom/cjs/shared/parse-json.js +134 -0
- package/node_modules/linkedom/cjs/shared/register-html-class.js +11 -0
- package/node_modules/linkedom/cjs/shared/shadow-roots.js +3 -0
- package/node_modules/linkedom/cjs/shared/symbols.js +88 -0
- package/node_modules/linkedom/cjs/shared/text-escaper.js +24 -0
- package/node_modules/linkedom/cjs/shared/utils.js +49 -0
- package/node_modules/linkedom/cjs/svg/document.js +14 -0
- package/node_modules/linkedom/cjs/svg/element.js +60 -0
- package/node_modules/linkedom/cjs/xml/document.js +14 -0
- package/node_modules/linkedom/commonjs/canvas-shim.cjs +16 -0
- package/node_modules/linkedom/commonjs/canvas.cjs +7 -0
- package/node_modules/linkedom/commonjs/perf_hooks.cjs +9 -0
- package/node_modules/linkedom/esm/cached.js +151 -0
- package/node_modules/linkedom/esm/dom/parser.js +39 -0
- package/node_modules/linkedom/esm/dom/string-map.js +45 -0
- package/node_modules/linkedom/esm/dom/token-list.js +101 -0
- package/node_modules/linkedom/esm/html/anchor-element.js +34 -0
- package/node_modules/linkedom/esm/html/area-element.js +10 -0
- package/node_modules/linkedom/esm/html/audio-element.js +10 -0
- package/node_modules/linkedom/esm/html/base-element.js +10 -0
- package/node_modules/linkedom/esm/html/body-element.js +10 -0
- package/node_modules/linkedom/esm/html/br-element.js +10 -0
- package/node_modules/linkedom/esm/html/button-element.js +30 -0
- package/node_modules/linkedom/esm/html/canvas-element.js +52 -0
- package/node_modules/linkedom/esm/html/d-list-element.js +10 -0
- package/node_modules/linkedom/esm/html/data-element.js +10 -0
- package/node_modules/linkedom/esm/html/data-list-element.js +10 -0
- package/node_modules/linkedom/esm/html/details-element.js +10 -0
- package/node_modules/linkedom/esm/html/directory-element.js +10 -0
- package/node_modules/linkedom/esm/html/div-element.js +10 -0
- package/node_modules/linkedom/esm/html/document.js +103 -0
- package/node_modules/linkedom/esm/html/element.js +319 -0
- package/node_modules/linkedom/esm/html/embed-element.js +10 -0
- package/node_modules/linkedom/esm/html/field-set-element.js +10 -0
- package/node_modules/linkedom/esm/html/font-element.js +10 -0
- package/node_modules/linkedom/esm/html/form-element.js +10 -0
- package/node_modules/linkedom/esm/html/frame-element.js +10 -0
- package/node_modules/linkedom/esm/html/frame-set-element.js +10 -0
- package/node_modules/linkedom/esm/html/head-element.js +10 -0
- package/node_modules/linkedom/esm/html/heading-element.js +18 -0
- package/node_modules/linkedom/esm/html/hr-element.js +10 -0
- package/node_modules/linkedom/esm/html/html-element.js +10 -0
- package/node_modules/linkedom/esm/html/i-frame-element.js +42 -0
- package/node_modules/linkedom/esm/html/image-element.js +42 -0
- package/node_modules/linkedom/esm/html/input-element.js +39 -0
- package/node_modules/linkedom/esm/html/label-element.js +10 -0
- package/node_modules/linkedom/esm/html/legend-element.js +10 -0
- package/node_modules/linkedom/esm/html/li-element.js +10 -0
- package/node_modules/linkedom/esm/html/link-element.js +40 -0
- package/node_modules/linkedom/esm/html/map-element.js +10 -0
- package/node_modules/linkedom/esm/html/marquee-element.js +10 -0
- package/node_modules/linkedom/esm/html/media-element.js +10 -0
- package/node_modules/linkedom/esm/html/menu-element.js +10 -0
- package/node_modules/linkedom/esm/html/meta-element.js +34 -0
- package/node_modules/linkedom/esm/html/meter-element.js +10 -0
- package/node_modules/linkedom/esm/html/mod-element.js +10 -0
- package/node_modules/linkedom/esm/html/o-list-element.js +10 -0
- package/node_modules/linkedom/esm/html/object-element.js +10 -0
- package/node_modules/linkedom/esm/html/opt-group-element.js +10 -0
- package/node_modules/linkedom/esm/html/option-element.js +31 -0
- package/node_modules/linkedom/esm/html/output-element.js +10 -0
- package/node_modules/linkedom/esm/html/paragraph-element.js +10 -0
- package/node_modules/linkedom/esm/html/param-element.js +10 -0
- package/node_modules/linkedom/esm/html/picture-element.js +10 -0
- package/node_modules/linkedom/esm/html/pre-element.js +10 -0
- package/node_modules/linkedom/esm/html/progress-element.js +10 -0
- package/node_modules/linkedom/esm/html/quote-element.js +10 -0
- package/node_modules/linkedom/esm/html/script-element.js +79 -0
- package/node_modules/linkedom/esm/html/select-element.js +44 -0
- package/node_modules/linkedom/esm/html/slot-element.js +61 -0
- package/node_modules/linkedom/esm/html/source-element.js +33 -0
- package/node_modules/linkedom/esm/html/span-element.js +10 -0
- package/node_modules/linkedom/esm/html/style-element.js +52 -0
- package/node_modules/linkedom/esm/html/table-caption-element.js +10 -0
- package/node_modules/linkedom/esm/html/table-cell-element.js +10 -0
- package/node_modules/linkedom/esm/html/table-element.js +10 -0
- package/node_modules/linkedom/esm/html/table-row-element.js +10 -0
- package/node_modules/linkedom/esm/html/template-element.js +30 -0
- package/node_modules/linkedom/esm/html/text-area-element.js +36 -0
- package/node_modules/linkedom/esm/html/text-element.js +14 -0
- package/node_modules/linkedom/esm/html/time-element.js +10 -0
- package/node_modules/linkedom/esm/html/title-element.js +18 -0
- package/node_modules/linkedom/esm/html/track-element.js +10 -0
- package/node_modules/linkedom/esm/html/u-list-element.js +10 -0
- package/node_modules/linkedom/esm/html/unknown-element.js +10 -0
- package/node_modules/linkedom/esm/html/video-element.js +10 -0
- package/node_modules/linkedom/esm/index.js +28 -0
- package/node_modules/linkedom/esm/interface/attr.js +57 -0
- package/node_modules/linkedom/esm/interface/cdata-section.js +20 -0
- package/node_modules/linkedom/esm/interface/character-data.js +84 -0
- package/node_modules/linkedom/esm/interface/comment.js +20 -0
- package/node_modules/linkedom/esm/interface/css-style-declaration.js +128 -0
- package/node_modules/linkedom/esm/interface/custom-element-registry.js +205 -0
- package/node_modules/linkedom/esm/interface/custom-event.js +19 -0
- package/node_modules/linkedom/esm/interface/document-fragment.js +11 -0
- package/node_modules/linkedom/esm/interface/document-type.js +41 -0
- package/node_modules/linkedom/esm/interface/document.js +289 -0
- package/node_modules/linkedom/esm/interface/element.js +514 -0
- package/node_modules/linkedom/esm/interface/event-target.js +88 -0
- package/node_modules/linkedom/esm/interface/event.js +64 -0
- package/node_modules/linkedom/esm/interface/html-collection.js +3 -0
- package/node_modules/linkedom/esm/interface/image.js +21 -0
- package/node_modules/linkedom/esm/interface/input-event.js +22 -0
- package/node_modules/linkedom/esm/interface/mutation-observer.js +172 -0
- package/node_modules/linkedom/esm/interface/named-node-map.js +42 -0
- package/node_modules/linkedom/esm/interface/node-filter.js +15 -0
- package/node_modules/linkedom/esm/interface/node-list.js +8 -0
- package/node_modules/linkedom/esm/interface/node.js +204 -0
- package/node_modules/linkedom/esm/interface/range.js +129 -0
- package/node_modules/linkedom/esm/interface/shadow-root.js +20 -0
- package/node_modules/linkedom/esm/interface/text.js +42 -0
- package/node_modules/linkedom/esm/interface/tree-walker.js +58 -0
- package/node_modules/linkedom/esm/mixin/child-node.js +62 -0
- package/node_modules/linkedom/esm/mixin/inner-html.js +36 -0
- package/node_modules/linkedom/esm/mixin/non-document-type-child-node.js +20 -0
- package/node_modules/linkedom/esm/mixin/non-element-parent-node.js +42 -0
- package/node_modules/linkedom/esm/mixin/parent-node.js +293 -0
- package/node_modules/linkedom/esm/shared/attributes.js +104 -0
- package/node_modules/linkedom/esm/shared/cache.js +26 -0
- package/node_modules/linkedom/esm/shared/constants.js +33 -0
- package/node_modules/linkedom/esm/shared/facades.js +77 -0
- package/node_modules/linkedom/esm/shared/html-classes.js +210 -0
- package/node_modules/linkedom/esm/shared/jsdon.js +73 -0
- package/node_modules/linkedom/esm/shared/matches.js +118 -0
- package/node_modules/linkedom/esm/shared/mime.js +31 -0
- package/node_modules/linkedom/esm/shared/node.js +48 -0
- package/node_modules/linkedom/esm/shared/object.js +19 -0
- package/node_modules/linkedom/esm/shared/parse-from-string.js +122 -0
- package/node_modules/linkedom/esm/shared/parse-json.js +131 -0
- package/node_modules/linkedom/esm/shared/register-html-class.js +8 -0
- package/node_modules/linkedom/esm/shared/shadow-roots.js +1 -0
- package/node_modules/linkedom/esm/shared/symbols.js +65 -0
- package/node_modules/linkedom/esm/shared/text-escaper.js +22 -0
- package/node_modules/linkedom/esm/shared/utils.js +40 -0
- package/node_modules/linkedom/esm/svg/document.js +12 -0
- package/node_modules/linkedom/esm/svg/element.js +58 -0
- package/node_modules/linkedom/esm/xml/document.js +12 -0
- package/node_modules/linkedom/package.json +84 -0
- package/node_modules/linkedom/tsconfig.json +13 -0
- package/node_modules/linkedom/types/commonjs/canvas-shim.d.cts +9 -0
- package/node_modules/linkedom/types/commonjs/canvas.d.cts +2 -0
- package/node_modules/linkedom/types/commonjs/perf_hooks.d.cts +1 -0
- package/node_modules/linkedom/types/dom/parser.d.ts +24 -0
- package/node_modules/linkedom/types/dom/string-map.d.ts +9 -0
- package/node_modules/linkedom/types/dom/token-list.d.ts +32 -0
- package/node_modules/linkedom/types/esm/dom/parser.d.ts +24 -0
- package/node_modules/linkedom/types/esm/dom/string-map.d.ts +9 -0
- package/node_modules/linkedom/types/esm/dom/token-list.d.ts +36 -0
- package/node_modules/linkedom/types/esm/html/anchor-element.d.ts +14 -0
- package/node_modules/linkedom/types/esm/html/area-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/audio-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/base-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/body-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/br-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/button-element.d.ts +12 -0
- package/node_modules/linkedom/types/esm/html/canvas-element.d.ts +14 -0
- package/node_modules/linkedom/types/esm/html/d-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/data-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/data-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/details-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/directory-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/div-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/document.d.ts +23 -0
- package/node_modules/linkedom/types/esm/html/element.d.ts +168 -0
- package/node_modules/linkedom/types/esm/html/embed-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/field-set-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/font-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/form-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/frame-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/frame-set-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/head-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/heading-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/hr-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/html-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/i-frame-element.d.ts +20 -0
- package/node_modules/linkedom/types/esm/html/image-element.d.ts +18 -0
- package/node_modules/linkedom/types/esm/html/input-element.d.ts +18 -0
- package/node_modules/linkedom/types/esm/html/label-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/legend-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/li-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/link-element.d.ts +18 -0
- package/node_modules/linkedom/types/esm/html/map-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/marquee-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/media-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/menu-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/meta-element.d.ts +16 -0
- package/node_modules/linkedom/types/esm/html/meter-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/mod-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/o-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/object-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/opt-group-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/option-element.d.ts +10 -0
- package/node_modules/linkedom/types/esm/html/output-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/paragraph-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/param-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/picture-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/pre-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/progress-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/quote-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/script-element.d.ts +22 -0
- package/node_modules/linkedom/types/esm/html/select-element.d.ts +13 -0
- package/node_modules/linkedom/types/esm/html/slot-element.d.ts +11 -0
- package/node_modules/linkedom/types/esm/html/source-element.d.ts +14 -0
- package/node_modules/linkedom/types/esm/html/span-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/style-element.d.ts +11 -0
- package/node_modules/linkedom/types/esm/html/table-caption-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/table-cell-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/table-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/table-row-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/template-element.d.ts +10 -0
- package/node_modules/linkedom/types/esm/html/text-area-element.d.ts +16 -0
- package/node_modules/linkedom/types/esm/html/text-element.d.ts +4 -0
- package/node_modules/linkedom/types/esm/html/time-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/title-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/track-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/u-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/unknown-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/html/video-element.d.ts +6 -0
- package/node_modules/linkedom/types/esm/index.d.ts +13 -0
- package/node_modules/linkedom/types/esm/interface/attr.d.ts +17 -0
- package/node_modules/linkedom/types/esm/interface/cdata-section.d.ts +8 -0
- package/node_modules/linkedom/types/esm/interface/character-data.d.ts +26 -0
- package/node_modules/linkedom/types/esm/interface/comment.d.ts +8 -0
- package/node_modules/linkedom/types/esm/interface/css-style-declaration.d.ts +19 -0
- package/node_modules/linkedom/types/esm/interface/custom-element-registry.d.ts +54 -0
- package/node_modules/linkedom/types/esm/interface/custom-event.d.ts +7 -0
- package/node_modules/linkedom/types/esm/interface/document-fragment.d.ts +7 -0
- package/node_modules/linkedom/types/esm/interface/document-type.d.ts +12 -0
- package/node_modules/linkedom/types/esm/interface/document.d.ts +71 -0
- package/node_modules/linkedom/types/esm/interface/element.d.ts +81 -0
- package/node_modules/linkedom/types/esm/interface/event-target.d.ts +13 -0
- package/node_modules/linkedom/types/esm/interface/event.d.ts +32 -0
- package/node_modules/linkedom/types/esm/interface/image.d.ts +214 -0
- package/node_modules/linkedom/types/esm/interface/input-event.d.ts +11 -0
- package/node_modules/linkedom/types/esm/interface/mutation-observer.d.ts +40 -0
- package/node_modules/linkedom/types/esm/interface/named-node-map.d.ts +14 -0
- package/node_modules/linkedom/types/esm/interface/node-filter.d.ts +7 -0
- package/node_modules/linkedom/types/esm/interface/node-list.d.ts +9 -0
- package/node_modules/linkedom/types/esm/interface/node.d.ts +86 -0
- package/node_modules/linkedom/types/esm/interface/range.d.ts +23 -0
- package/node_modules/linkedom/types/esm/interface/shadow-root.d.ts +10 -0
- package/node_modules/linkedom/types/esm/interface/text.d.ts +9 -0
- package/node_modules/linkedom/types/esm/interface/tree-walker.d.ts +15 -0
- package/node_modules/linkedom/types/esm/mixin/child-node.d.ts +4 -0
- package/node_modules/linkedom/types/esm/mixin/inner-html.d.ts +2 -0
- package/node_modules/linkedom/types/esm/mixin/non-document-type-child-node.d.ts +2 -0
- package/node_modules/linkedom/types/esm/mixin/non-element-parent-node.d.ts +6 -0
- package/node_modules/linkedom/types/esm/mixin/parent-node.d.ts +57 -0
- package/node_modules/linkedom/types/esm/shared/attributes.d.ts +15 -0
- package/node_modules/linkedom/types/esm/shared/constants.d.ts +22 -0
- package/node_modules/linkedom/types/esm/shared/facades.d.ts +25 -0
- package/node_modules/linkedom/types/esm/shared/html-classes.d.ts +139 -0
- package/node_modules/linkedom/types/esm/shared/jsdon.d.ts +9 -0
- package/node_modules/linkedom/types/esm/shared/matches.d.ts +2 -0
- package/node_modules/linkedom/types/esm/shared/mime.d.ts +35 -0
- package/node_modules/linkedom/types/esm/shared/node.d.ts +12 -0
- package/node_modules/linkedom/types/esm/shared/object.d.ts +25 -0
- package/node_modules/linkedom/types/esm/shared/parse-from-string.d.ts +2 -0
- package/node_modules/linkedom/types/esm/shared/parse-json.d.ts +7 -0
- package/node_modules/linkedom/types/esm/shared/register-html-class.d.ts +2 -0
- package/node_modules/linkedom/types/esm/shared/shadow-roots.d.ts +1 -0
- package/node_modules/linkedom/types/esm/shared/symbols.d.ts +22 -0
- package/node_modules/linkedom/types/esm/shared/text-escaper.d.ts +1 -0
- package/node_modules/linkedom/types/esm/shared/utils.d.ts +15 -0
- package/node_modules/linkedom/types/esm/svg/document.d.ts +7 -0
- package/node_modules/linkedom/types/esm/svg/element.d.ts +8 -0
- package/node_modules/linkedom/types/esm/xml/document.d.ts +7 -0
- package/node_modules/linkedom/types/html/anchor-element.d.ts +14 -0
- package/node_modules/linkedom/types/html/area-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/audio-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/base-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/body-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/br-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/button-element.d.ts +12 -0
- package/node_modules/linkedom/types/html/canvas-element.d.ts +14 -0
- package/node_modules/linkedom/types/html/d-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/data-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/data-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/details-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/directory-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/div-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/document.d.ts +22 -0
- package/node_modules/linkedom/types/html/element.d.ts +168 -0
- package/node_modules/linkedom/types/html/embed-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/field-set-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/font-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/form-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/frame-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/frame-set-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/head-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/heading-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/hr-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/html-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/i-frame-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/image-element.d.ts +18 -0
- package/node_modules/linkedom/types/html/input-element.d.ts +16 -0
- package/node_modules/linkedom/types/html/label-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/legend-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/li-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/link-element.d.ts +18 -0
- package/node_modules/linkedom/types/html/map-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/marquee-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/media-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/menu-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/meta-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/meter-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/mod-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/o-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/object-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/opt-group-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/option-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/output-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/paragraph-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/param-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/picture-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/pre-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/progress-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/quote-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/script-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/select-element.d.ts +12 -0
- package/node_modules/linkedom/types/html/slot-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/source-element.d.ts +14 -0
- package/node_modules/linkedom/types/html/span-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/style-element.d.ts +9 -0
- package/node_modules/linkedom/types/html/table-caption-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/table-cell-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/table-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/table-row-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/template-element.d.ts +10 -0
- package/node_modules/linkedom/types/html/text-area-element.d.ts +16 -0
- package/node_modules/linkedom/types/html/text-element.d.ts +3 -0
- package/node_modules/linkedom/types/html/time-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/title-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/track-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/u-list-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/unknown-element.d.ts +6 -0
- package/node_modules/linkedom/types/html/video-element.d.ts +6 -0
- package/node_modules/linkedom/types/index.d.ts +12 -0
- package/node_modules/linkedom/types/interface/attr.d.ts +16 -0
- package/node_modules/linkedom/types/interface/character-data.d.ts +22 -0
- package/node_modules/linkedom/types/interface/comment.d.ts +7 -0
- package/node_modules/linkedom/types/interface/css-style-declaration.d.ts +10 -0
- package/node_modules/linkedom/types/interface/custom-element-registry.d.ts +54 -0
- package/node_modules/linkedom/types/interface/custom-event.d.ts +37 -0
- package/node_modules/linkedom/types/interface/document-fragment.d.ts +7 -0
- package/node_modules/linkedom/types/interface/document-type.d.ts +11 -0
- package/node_modules/linkedom/types/interface/document.d.ts +60 -0
- package/node_modules/linkedom/types/interface/element.d.ts +72 -0
- package/node_modules/linkedom/types/interface/event-target.d.ts +13 -0
- package/node_modules/linkedom/types/interface/event.d.ts +32 -0
- package/node_modules/linkedom/types/interface/image.d.ts +199 -0
- package/node_modules/linkedom/types/interface/input-event.d.ts +11 -0
- package/node_modules/linkedom/types/interface/mutation-observer.d.ts +40 -0
- package/node_modules/linkedom/types/interface/named-node-map.d.ts +14 -0
- package/node_modules/linkedom/types/interface/node-list.d.ts +9 -0
- package/node_modules/linkedom/types/interface/node.d.ts +78 -0
- package/node_modules/linkedom/types/interface/range.d.ts +22 -0
- package/node_modules/linkedom/types/interface/shadow-root.d.ts +9 -0
- package/node_modules/linkedom/types/interface/text.d.ts +8 -0
- package/node_modules/linkedom/types/interface/tree-walker.d.ts +15 -0
- package/node_modules/linkedom/types/mixin/child-node.d.ts +4 -0
- package/node_modules/linkedom/types/mixin/inner-html.d.ts +2 -0
- package/node_modules/linkedom/types/mixin/non-document-type-child-node.d.ts +2 -0
- package/node_modules/linkedom/types/mixin/non-element-parent-node.d.ts +5 -0
- package/node_modules/linkedom/types/mixin/parent-node.d.ts +47 -0
- package/node_modules/linkedom/types/shared/attributes.d.ts +21 -0
- package/node_modules/linkedom/types/shared/cache.d.ts +7 -0
- package/node_modules/linkedom/types/shared/constants.d.ts +19 -0
- package/node_modules/linkedom/types/shared/facades.d.ts +23 -0
- package/node_modules/linkedom/types/shared/html-classes.d.ts +139 -0
- package/node_modules/linkedom/types/shared/jsdon.d.ts +9 -0
- package/node_modules/linkedom/types/shared/matches.d.ts +2 -0
- package/node_modules/linkedom/types/shared/mime.d.ts +35 -0
- package/node_modules/linkedom/types/shared/node.d.ts +12 -0
- package/node_modules/linkedom/types/shared/object.d.ts +25 -0
- package/node_modules/linkedom/types/shared/parse-from-string.d.ts +2 -0
- package/node_modules/linkedom/types/shared/parse-json.d.ts +7 -0
- package/node_modules/linkedom/types/shared/register-html-class.d.ts +2 -0
- package/node_modules/linkedom/types/shared/symbols.d.ts +20 -0
- package/node_modules/linkedom/types/shared/text-escaper.d.ts +1 -0
- package/node_modules/linkedom/types/shared/utils.d.ts +15 -0
- package/node_modules/linkedom/types/svg/document.d.ts +7 -0
- package/node_modules/linkedom/types/svg/element.d.ts +8 -0
- package/node_modules/linkedom/types/xml/document.d.ts +7 -0
- package/node_modules/linkedom/worker.js +12526 -0
- package/node_modules/node-forge/.DS_Store +0 -0
- package/node_modules/node-forge/LICENSE +331 -0
- package/node_modules/node-forge/README.md +2071 -0
- package/node_modules/node-forge/dist/forge.all.min.js +2 -0
- package/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
- package/node_modules/node-forge/dist/forge.min.js +2 -0
- package/node_modules/node-forge/dist/forge.min.js.map +1 -0
- package/node_modules/node-forge/dist/prime.worker.min.js +2 -0
- package/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
- package/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
- package/node_modules/node-forge/lib/aes.js +1091 -0
- package/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
- package/node_modules/node-forge/lib/asn1-validator.js +91 -0
- package/node_modules/node-forge/lib/asn1.js +1503 -0
- package/node_modules/node-forge/lib/baseN.js +186 -0
- package/node_modules/node-forge/lib/cipher.js +230 -0
- package/node_modules/node-forge/lib/cipherModes.js +999 -0
- package/node_modules/node-forge/lib/des.js +496 -0
- package/node_modules/node-forge/lib/ed25519.js +1091 -0
- package/node_modules/node-forge/lib/forge.js +13 -0
- package/node_modules/node-forge/lib/form.js +149 -0
- package/node_modules/node-forge/lib/hmac.js +146 -0
- package/node_modules/node-forge/lib/http.js +1346 -0
- package/node_modules/node-forge/lib/index.all.js +16 -0
- package/node_modules/node-forge/lib/index.js +33 -0
- package/node_modules/node-forge/lib/jsbn.js +1294 -0
- package/node_modules/node-forge/lib/kem.js +168 -0
- package/node_modules/node-forge/lib/log.js +319 -0
- package/node_modules/node-forge/lib/md.all.js +13 -0
- package/node_modules/node-forge/lib/md.js +11 -0
- package/node_modules/node-forge/lib/md5.js +289 -0
- package/node_modules/node-forge/lib/mgf.js +12 -0
- package/node_modules/node-forge/lib/mgf1.js +57 -0
- package/node_modules/node-forge/lib/oids.js +180 -0
- package/node_modules/node-forge/lib/pbe.js +1023 -0
- package/node_modules/node-forge/lib/pbkdf2.js +211 -0
- package/node_modules/node-forge/lib/pem.js +237 -0
- package/node_modules/node-forge/lib/pkcs1.js +276 -0
- package/node_modules/node-forge/lib/pkcs12.js +1078 -0
- package/node_modules/node-forge/lib/pkcs7.js +1260 -0
- package/node_modules/node-forge/lib/pkcs7asn1.js +410 -0
- package/node_modules/node-forge/lib/pki.js +102 -0
- package/node_modules/node-forge/lib/prime.js +297 -0
- package/node_modules/node-forge/lib/prime.worker.js +168 -0
- package/node_modules/node-forge/lib/prng.js +419 -0
- package/node_modules/node-forge/lib/pss.js +241 -0
- package/node_modules/node-forge/lib/random.js +191 -0
- package/node_modules/node-forge/lib/rc2.js +410 -0
- package/node_modules/node-forge/lib/rsa.js +1968 -0
- package/node_modules/node-forge/lib/sha1.js +319 -0
- package/node_modules/node-forge/lib/sha256.js +327 -0
- package/node_modules/node-forge/lib/sha512.js +561 -0
- package/node_modules/node-forge/lib/socket.js +287 -0
- package/node_modules/node-forge/lib/ssh.js +236 -0
- package/node_modules/node-forge/lib/tls.js +4282 -0
- package/node_modules/node-forge/lib/tlssocket.js +249 -0
- package/node_modules/node-forge/lib/util.js +2652 -0
- package/node_modules/node-forge/lib/x509.js +3251 -0
- package/node_modules/node-forge/lib/xhr.js +738 -0
- package/node_modules/node-forge/package.json +123 -0
- package/node_modules/nth-check/LICENSE +11 -0
- package/node_modules/nth-check/README.md +136 -0
- package/node_modules/nth-check/lib/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/compile.js +121 -0
- package/node_modules/nth-check/lib/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
- package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/index.js +63 -0
- package/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/node_modules/nth-check/lib/esm/package.json +1 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/node_modules/nth-check/lib/index.d.ts +59 -0
- package/node_modules/nth-check/lib/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/index.js +70 -0
- package/node_modules/nth-check/lib/index.js.map +1 -0
- package/node_modules/nth-check/lib/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/parse.js +77 -0
- package/node_modules/nth-check/lib/parse.js.map +1 -0
- package/node_modules/nth-check/package.json +78 -0
- package/node_modules/p-limit/index.d.ts +81 -0
- package/node_modules/p-limit/index.js +104 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +58 -0
- package/node_modules/p-limit/readme.md +129 -0
- package/node_modules/pi-web-access/CHANGELOG.md +387 -0
- package/node_modules/pi-web-access/LICENSE +21 -0
- package/node_modules/pi-web-access/README.md +352 -0
- package/node_modules/pi-web-access/activity.ts +101 -0
- package/node_modules/pi-web-access/banner.png +0 -0
- package/node_modules/pi-web-access/chrome-cookies.ts +322 -0
- package/node_modules/pi-web-access/code-search.ts +107 -0
- package/node_modules/pi-web-access/curator-page.ts +3359 -0
- package/node_modules/pi-web-access/curator-server.ts +605 -0
- package/node_modules/pi-web-access/exa.ts +520 -0
- package/node_modules/pi-web-access/extract.ts +641 -0
- package/node_modules/pi-web-access/gemini-api.ts +112 -0
- package/node_modules/pi-web-access/gemini-search.ts +361 -0
- package/node_modules/pi-web-access/gemini-url-context.ts +126 -0
- package/node_modules/pi-web-access/gemini-web-config.ts +52 -0
- package/node_modules/pi-web-access/gemini-web.ts +396 -0
- package/node_modules/pi-web-access/github-api.ts +196 -0
- package/node_modules/pi-web-access/github-extract.ts +634 -0
- package/node_modules/pi-web-access/index.ts +2346 -0
- package/node_modules/pi-web-access/package.json +45 -0
- package/node_modules/pi-web-access/pdf-extract.ts +192 -0
- package/node_modules/pi-web-access/perplexity.ts +195 -0
- package/node_modules/pi-web-access/pi-web-fetch-demo.mp4 +0 -0
- package/node_modules/pi-web-access/rsc-extract.ts +338 -0
- package/node_modules/pi-web-access/skills/librarian/SKILL.md +195 -0
- package/node_modules/pi-web-access/storage.ts +72 -0
- package/node_modules/pi-web-access/summary-review.ts +276 -0
- package/node_modules/pi-web-access/test/gemini-web-cookie-opt-in.test.mjs +41 -0
- package/node_modules/pi-web-access/test/pdf-extract.test.mjs +95 -0
- package/node_modules/pi-web-access/utils.ts +44 -0
- package/node_modules/pi-web-access/video-extract.ts +378 -0
- package/node_modules/pi-web-access/youtube-extract.ts +310 -0
- package/node_modules/shell-quote/.DS_Store +0 -0
- package/node_modules/shell-quote/.eslintrc +30 -0
- package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
- package/node_modules/shell-quote/.nycrc +14 -0
- package/node_modules/shell-quote/LICENSE +24 -0
- package/node_modules/shell-quote/README.md +168 -0
- package/node_modules/shell-quote/index.js +4 -0
- package/node_modules/shell-quote/package.json +71 -0
- package/node_modules/shell-quote/parse.js +226 -0
- package/node_modules/shell-quote/quote.js +61 -0
- package/node_modules/shell-quote/security.md +11 -0
- package/node_modules/shell-quote/test/comment.js +16 -0
- package/node_modules/shell-quote/test/env.js +52 -0
- package/node_modules/shell-quote/test/env_fn.js +21 -0
- package/node_modules/shell-quote/test/op.js +102 -0
- package/node_modules/shell-quote/test/parse.js +50 -0
- package/node_modules/shell-quote/test/quote.js +116 -0
- package/node_modules/shell-quote/test/set.js +31 -0
- package/node_modules/turndown/LICENSE +21 -0
- package/node_modules/turndown/README.md +234 -0
- package/node_modules/turndown/dist/turndown.js +800 -0
- package/node_modules/turndown/lib/turndown.browser.cjs.js +797 -0
- package/node_modules/turndown/lib/turndown.browser.es.js +795 -0
- package/node_modules/turndown/lib/turndown.browser.umd.js +803 -0
- package/node_modules/turndown/lib/turndown.cjs.js +774 -0
- package/node_modules/turndown/lib/turndown.es.js +772 -0
- package/node_modules/turndown/lib/turndown.umd.js +780 -0
- package/node_modules/turndown/package.json +59 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/typebox/build/guard/emit.mjs +194 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +69 -0
- package/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +12 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +13 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +31 -0
- package/node_modules/typebox/build/type/action/index.mjs +31 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +13 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +13 -0
- package/node_modules/typebox/build/type/action/module.d.mts +13 -0
- package/node_modules/typebox/build/type/action/module.mjs +13 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/with.d.mts +21 -0
- package/node_modules/typebox/build/type/action/with.mjs +19 -0
- package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +49 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +34 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +67 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +26 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +51 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +23 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +23 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +26 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +183 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +164 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +26 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +39 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +36 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +10 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/engine/with/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/with/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +7 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +57 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +86 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +27 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +49 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/object.mjs +87 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +22 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +61 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +539 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +262 -0
- package/node_modules/typebox/build/type/script/parser.mjs +136 -0
- package/node_modules/typebox/build/type/script/script.d.mts +16 -0
- package/node_modules/typebox/build/type/script/script.mjs +22 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +18 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +18 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +18 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/typebox/build/type/types/base.mjs +84 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +23 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +13 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
- package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/typebox/build/type/types/enum.mjs +17 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +49 -0
- package/node_modules/typebox/build/type/types/index.mjs +55 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
- package/node_modules/typebox/build/type/types/promise.mjs +29 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +46 -0
- package/node_modules/typebox/build/type/types/record.mjs +60 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +49 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +74 -0
- package/node_modules/typebox/build/typebox.mjs +90 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +97 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +16 -0
- package/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +370 -0
- package/node_modules/uhyphen/LICENSE +15 -0
- package/node_modules/uhyphen/README.md +13 -0
- package/node_modules/uhyphen/cjs/index.js +3 -0
- package/node_modules/uhyphen/cjs/package.json +1 -0
- package/node_modules/uhyphen/es.js +1 -0
- package/node_modules/uhyphen/esm/index.js +2 -0
- package/node_modules/uhyphen/index.js +14 -0
- package/node_modules/uhyphen/min.js +1 -0
- package/node_modules/uhyphen/package.json +52 -0
- package/node_modules/unpdf/LICENSE +21 -0
- package/node_modules/unpdf/README.md +365 -0
- package/node_modules/unpdf/dist/index.cjs +429 -0
- package/node_modules/unpdf/dist/index.d.cts +182 -0
- package/node_modules/unpdf/dist/index.d.mts +182 -0
- package/node_modules/unpdf/dist/index.d.ts +182 -0
- package/node_modules/unpdf/dist/index.mjs +416 -0
- package/node_modules/unpdf/dist/pdfjs.d.mts +1 -0
- package/node_modules/unpdf/dist/pdfjs.d.ts +1 -0
- package/node_modules/unpdf/dist/pdfjs.mjs +107 -0
- package/node_modules/unpdf/dist/types/src/display/annotation_layer.d.ts +274 -0
- package/node_modules/unpdf/dist/types/src/display/annotation_storage.d.ts +94 -0
- package/node_modules/unpdf/dist/types/src/display/api.d.ts +1619 -0
- package/node_modules/unpdf/dist/types/src/display/api_utils.d.ts +13 -0
- package/node_modules/unpdf/dist/types/src/display/binary_data_factory.d.ts +26 -0
- package/node_modules/unpdf/dist/types/src/display/canvas.d.ts +210 -0
- package/node_modules/unpdf/dist/types/src/display/canvas_dependency_tracker.d.ts +216 -0
- package/node_modules/unpdf/dist/types/src/display/canvas_factory.d.ts +29 -0
- package/node_modules/unpdf/dist/types/src/display/content_disposition.d.ts +7 -0
- package/node_modules/unpdf/dist/types/src/display/display_utils.d.ts +281 -0
- package/node_modules/unpdf/dist/types/src/display/draw_layer.d.ts +22 -0
- package/node_modules/unpdf/dist/types/src/display/editor/alt_text.d.ts +34 -0
- package/node_modules/unpdf/dist/types/src/display/editor/annotation_editor_layer.d.ts +227 -0
- package/node_modules/unpdf/dist/types/src/display/editor/color_picker.d.ts +39 -0
- package/node_modules/unpdf/dist/types/src/display/editor/comment.d.ts +59 -0
- package/node_modules/unpdf/dist/types/src/display/editor/draw.d.ts +117 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/contour.d.ts +3 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/freedraw.d.ts +32 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/highlight.d.ts +37 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/inkdraw.d.ts +129 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/outline.d.ts +19 -0
- package/node_modules/unpdf/dist/types/src/display/editor/drawers/signaturedraw.d.ts +79 -0
- package/node_modules/unpdf/dist/types/src/display/editor/editor.d.ts +578 -0
- package/node_modules/unpdf/dist/types/src/display/editor/freetext.d.ts +63 -0
- package/node_modules/unpdf/dist/types/src/display/editor/highlight.d.ts +76 -0
- package/node_modules/unpdf/dist/types/src/display/editor/ink.d.ts +42 -0
- package/node_modules/unpdf/dist/types/src/display/editor/signature.d.ts +77 -0
- package/node_modules/unpdf/dist/types/src/display/editor/stamp.d.ts +49 -0
- package/node_modules/unpdf/dist/types/src/display/editor/toolbar.d.ts +26 -0
- package/node_modules/unpdf/dist/types/src/display/editor/tools.d.ts +484 -0
- package/node_modules/unpdf/dist/types/src/display/fetch_stream.d.ts +7 -0
- package/node_modules/unpdf/dist/types/src/display/filter_factory.d.ts +29 -0
- package/node_modules/unpdf/dist/types/src/display/font_loader.d.ts +66 -0
- package/node_modules/unpdf/dist/types/src/display/metadata.d.ts +10 -0
- package/node_modules/unpdf/dist/types/src/display/network.d.ts +20 -0
- package/node_modules/unpdf/dist/types/src/display/network_stream.d.ts +2 -0
- package/node_modules/unpdf/dist/types/src/display/network_utils.d.ts +15 -0
- package/node_modules/unpdf/dist/types/src/display/node_stream.d.ts +4 -0
- package/node_modules/unpdf/dist/types/src/display/node_utils.d.ts +18 -0
- package/node_modules/unpdf/dist/types/src/display/obj_bin_transform_display.d.ts +67 -0
- package/node_modules/unpdf/dist/types/src/display/optional_content_config.d.ts +18 -0
- package/node_modules/unpdf/dist/types/src/display/pages_mapper.d.ts +72 -0
- package/node_modules/unpdf/dist/types/src/display/pattern_helper.d.ts +80 -0
- package/node_modules/unpdf/dist/types/src/display/pdf_objects.d.ts +40 -0
- package/node_modules/unpdf/dist/types/src/display/svg_factory.d.ts +14 -0
- package/node_modules/unpdf/dist/types/src/display/text_layer.d.ts +91 -0
- package/node_modules/unpdf/dist/types/src/display/text_layer_images.d.ts +10 -0
- package/node_modules/unpdf/dist/types/src/display/touch_manager.d.ts +18 -0
- package/node_modules/unpdf/dist/types/src/display/transport_stream.d.ts +11 -0
- package/node_modules/unpdf/dist/types/src/display/webgpu_mesh.d.ts +3 -0
- package/node_modules/unpdf/dist/types/src/display/worker_options.d.ts +25 -0
- package/node_modules/unpdf/dist/types/src/display/xfa_layer.d.ts +47 -0
- package/node_modules/unpdf/dist/types/src/display/xfa_text.d.ts +21 -0
- package/node_modules/unpdf/dist/types/src/pdf.d.ts +67 -0
- package/node_modules/unpdf/dist/types/src/shared/base_pdf_stream.d.ts +121 -0
- package/node_modules/unpdf/dist/types/src/shared/image_utils.d.ts +17 -0
- package/node_modules/unpdf/dist/types/src/shared/message_handler.d.ts +48 -0
- package/node_modules/unpdf/dist/types/src/shared/murmurhash3.d.ts +7 -0
- package/node_modules/unpdf/dist/types/src/shared/obj_bin_transform_utils.d.ts +26 -0
- package/node_modules/unpdf/dist/types/src/shared/scripting_utils.d.ts +18 -0
- package/node_modules/unpdf/dist/types/src/shared/util.d.ts +424 -0
- package/node_modules/unpdf/dist/types/web/annotation_editor_layer_builder.d.ts +64 -0
- package/node_modules/unpdf/dist/types/web/annotation_layer_builder.d.ts +108 -0
- package/node_modules/unpdf/dist/types/web/app_options.d.ts +16 -0
- package/node_modules/unpdf/dist/types/web/autolinker.d.ts +29 -0
- package/node_modules/unpdf/dist/types/web/base_download_manager.d.ts +24 -0
- package/node_modules/unpdf/dist/types/web/base_pdf_page_view.d.ts +28 -0
- package/node_modules/unpdf/dist/types/web/comment_manager.d.ts +20 -0
- package/node_modules/unpdf/dist/types/web/download_manager.d.ts +4 -0
- package/node_modules/unpdf/dist/types/web/draw_layer_builder.d.ts +22 -0
- package/node_modules/unpdf/dist/types/web/event_utils.d.ts +77 -0
- package/node_modules/unpdf/dist/types/web/generic_scripting.d.ts +8 -0
- package/node_modules/unpdf/dist/types/web/genericl10n.d.ts +18 -0
- package/node_modules/unpdf/dist/types/web/l10n.d.ts +31 -0
- package/node_modules/unpdf/dist/types/web/menu.d.ts +11 -0
- package/node_modules/unpdf/dist/types/web/pdf_find_controller.d.ts +132 -0
- package/node_modules/unpdf/dist/types/web/pdf_find_utils.d.ts +16 -0
- package/node_modules/unpdf/dist/types/web/pdf_history.d.ts +116 -0
- package/node_modules/unpdf/dist/types/web/pdf_link_service.d.ts +142 -0
- package/node_modules/unpdf/dist/types/web/pdf_page_detail_view.d.ts +27 -0
- package/node_modules/unpdf/dist/types/web/pdf_page_view.d.ts +249 -0
- package/node_modules/unpdf/dist/types/web/pdf_rendering_queue.d.ts +50 -0
- package/node_modules/unpdf/dist/types/web/pdf_scripting_manager.component.d.ts +5 -0
- package/node_modules/unpdf/dist/types/web/pdf_scripting_manager.d.ts +57 -0
- package/node_modules/unpdf/dist/types/web/pdf_single_page_viewer.d.ts +7 -0
- package/node_modules/unpdf/dist/types/web/pdf_thumbnail_view.d.ts +108 -0
- package/node_modules/unpdf/dist/types/web/pdf_thumbnail_viewer.d.ts +161 -0
- package/node_modules/unpdf/dist/types/web/pdf_viewer.component.d.ts +23 -0
- package/node_modules/unpdf/dist/types/web/pdf_viewer.d.ts +619 -0
- package/node_modules/unpdf/dist/types/web/renderable_view.d.ts +33 -0
- package/node_modules/unpdf/dist/types/web/sidebar.d.ts +65 -0
- package/node_modules/unpdf/dist/types/web/struct_tree_layer_builder.d.ts +25 -0
- package/node_modules/unpdf/dist/types/web/text_accessibility.d.ts +44 -0
- package/node_modules/unpdf/dist/types/web/text_highlighter.d.ts +63 -0
- package/node_modules/unpdf/dist/types/web/text_layer_builder.d.ts +70 -0
- package/node_modules/unpdf/dist/types/web/ui_utils.d.ts +265 -0
- package/node_modules/unpdf/dist/types/web/xfa_layer_builder.d.ts +50 -0
- package/node_modules/unpdf/package.json +97 -0
- package/node_modules/yocto-queue/index.d.ts +75 -0
- package/node_modules/yocto-queue/index.js +90 -0
- package/node_modules/yocto-queue/license +9 -0
- package/node_modules/yocto-queue/package.json +48 -0
- package/node_modules/yocto-queue/readme.md +80 -0
- package/node_modules/zod/.DS_Store +0 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +208 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/package.json +118 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5136 -0
- package/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/zod/src/v4/core/function.ts +176 -0
- package/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +111 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3775 -0
- package/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/zod/v4/core/function.cjs +102 -0
- package/node_modules/zod/v4/core/function.d.cts +52 -0
- package/node_modules/zod/v4/core/function.d.ts +52 -0
- package/node_modules/zod/v4/core/function.js +75 -0
- package/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +17 -0
- package/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +30 -0
- package/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/zod/v4-mini/index.js +1 -0
- package/package.json +104 -0
- package/skills/execution-router/SKILL.md +535 -0
- package/skills/workflow-guide/SKILL.md +146 -0
- package/skills/workflow-guide/scaffolds/README.md +36 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/schemas/analysis-final-control.schema.json +28 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/schemas/intake-control.schema.json +23 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/schemas/report-control.schema.json +25 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/schemas/review-control.schema.json +23 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/schemas/scan-control.schema.json +29 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/spec.json +118 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/spec.json.validate.stderr +0 -0
- package/skills/workflow-guide/scaffolds/dag-required-reads/spec.json.validate.stdout +13 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/schemas/api-docs-control.schema.json +41 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/schemas/endpoint-work-items-control.schema.json +35 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/schemas/implementation-tests-control.schema.json +39 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/schemas/report-control.schema.json +39 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/schemas/verify-endpoint-control.schema.json +26 -0
- package/skills/workflow-guide/scaffolds/foreach-reduce/spec.json +132 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/schemas/join-control.schema.json +65 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/schemas/lens-control.schema.json +83 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/schemas/release-control.schema.json +69 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/schemas/report-control.schema.json +65 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/schemas/scope-control.schema.json +54 -0
- package/skills/workflow-guide/scaffolds/matrix-dag/spec.json +200 -0
- package/skills/workflow-guide/scaffolds/object-tool-fallback/schemas/fetch-control.schema.json +33 -0
- package/skills/workflow-guide/scaffolds/object-tool-fallback/schemas/inspect-control.schema.json +39 -0
- package/skills/workflow-guide/scaffolds/object-tool-fallback/schemas/report-control.schema.json +44 -0
- package/skills/workflow-guide/scaffolds/object-tool-fallback/spec.json +91 -0
- package/skills/workflow-guide/scaffolds/support-partition/helpers/partition.mjs +173 -0
- package/skills/workflow-guide/scaffolds/support-partition/schemas/candidates-control.schema.json +40 -0
- package/skills/workflow-guide/scaffolds/support-partition/schemas/partition-control.schema.json +51 -0
- package/skills/workflow-guide/scaffolds/support-partition/schemas/report-control.schema.json +30 -0
- package/skills/workflow-guide/scaffolds/support-partition/schemas/verification-control.schema.json +26 -0
- package/skills/workflow-guide/scaffolds/support-partition/spec.json +113 -0
- package/src/agents.ts +432 -0
- package/src/artifact-graph-runtime.ts +963 -0
- package/src/artifact-graph-schema.ts +1852 -0
- package/src/backend.ts +32 -0
- package/src/cli.mjs +186 -0
- package/src/compiler.ts +1803 -0
- package/src/dynamic-control-ops.ts +934 -0
- package/src/dynamic-controller-calls.ts +591 -0
- package/src/dynamic-controller-errors.ts +23 -0
- package/src/dynamic-controller-policy.ts +358 -0
- package/src/dynamic-decision-loop.ts +413 -0
- package/src/dynamic-decision.ts +859 -0
- package/src/dynamic-events.ts +205 -0
- package/src/dynamic-generated-task-runtime.ts +933 -0
- package/src/dynamic-loader.ts +49 -0
- package/src/dynamic-loop-actions.ts +253 -0
- package/src/dynamic-loop-prompts.ts +137 -0
- package/src/dynamic-loop-types.ts +191 -0
- package/src/dynamic-profiles.ts +50 -0
- package/src/dynamic-runtime-bundle.ts +175 -0
- package/src/dynamic-state-index.ts +1132 -0
- package/src/dynamic-state.ts +772 -0
- package/src/engine-run-graph.ts +474 -0
- package/src/engine.ts +2814 -0
- package/src/extension.ts +1422 -0
- package/src/index.ts +82 -0
- package/src/json-schema.ts +411 -0
- package/src/loop-runtime.ts +1069 -0
- package/src/process-role.ts +53 -0
- package/src/result.ts +53 -0
- package/src/roles.ts +120 -0
- package/src/schema.ts +120 -0
- package/src/store.ts +1501 -0
- package/src/subagent-backend.ts +1627 -0
- package/src/tool-metadata.ts +286 -0
- package/src/types.ts +757 -0
- package/src/workflow-artifact-extension.ts +135 -0
- package/src/workflow-artifact-tool.ts +885 -0
- package/src/workflow-artifacts.ts +537 -0
- package/src/workflow-fetch-cache-extension.ts +380 -0
- package/src/workflow-helpers.ts +93 -0
- package/src/workflow-output-artifacts.ts +1444 -0
- package/src/workflow-runtime.ts +281 -0
- package/src/workflow-source-context-runtime.ts +169 -0
- package/src/workflow-specs.ts +283 -0
- package/src/workflow-view.ts +2048 -0
- package/src/worktree.ts +564 -0
- package/workflows/README.md +74 -0
- package/workflows/deep-research/helpers/claim-evidence-gate.mjs +335 -0
- package/workflows/deep-research/helpers/render-executive.mjs +353 -0
- package/workflows/deep-research/schemas/deep-research-executive-render-control.schema.json +65 -0
- package/workflows/deep-research/schemas/deep-research-final-control.schema.json +83 -0
- package/workflows/deep-research/schemas/deep-research-normalize-claims-control.schema.json +51 -0
- package/workflows/deep-research/schemas/deep-research-plan-control.schema.json +79 -0
- package/workflows/deep-research/schemas/deep-research-research-questions-control.schema.json +43 -0
- package/workflows/deep-research/schemas/deep-research-verify-claims-control.schema.json +35 -0
- package/workflows/deep-research/spec.json +174 -0
- package/workflows/deep-review/helpers/finding-pipeline.mjs +1166 -0
- package/workflows/deep-review/schemas/deep-review-dedup-control.schema.json +180 -0
- package/workflows/deep-review/schemas/deep-review-devil-advocate-control.schema.json +21 -0
- package/workflows/deep-review/schemas/deep-review-partition-control.schema.json +441 -0
- package/workflows/deep-review/schemas/deep-review-report-control.schema.json +176 -0
- package/workflows/deep-review/schemas/deep-review-reviewers-control.schema.json +81 -0
- package/workflows/deep-review/schemas/deep-review-triage-control.schema.json +26 -0
- package/workflows/deep-review/spec.json +159 -0
- package/workflows/impact-review/schemas/api-contract-impact-control.schema.json +42 -0
- package/workflows/impact-review/schemas/change-scope-control.schema.json +63 -0
- package/workflows/impact-review/schemas/contract-consistency-control.schema.json +41 -0
- package/workflows/impact-review/schemas/docs-release-impact-control.schema.json +42 -0
- package/workflows/impact-review/schemas/impact-synthesis-control.schema.json +84 -0
- package/workflows/impact-review/schemas/implementation-map-control.schema.json +45 -0
- package/workflows/impact-review/schemas/regression-risk-control.schema.json +42 -0
- package/workflows/impact-review/schemas/security-performance-impact-control.schema.json +42 -0
- package/workflows/impact-review/schemas/ship-readiness-control.schema.json +48 -0
- package/workflows/impact-review/schemas/state-data-impact-control.schema.json +42 -0
- package/workflows/impact-review/schemas/validation-impact-control.schema.json +55 -0
- package/workflows/impact-review/schemas/validation-map-control.schema.json +52 -0
- package/workflows/impact-review/spec.json +249 -0
- package/workflows/spec-review/helpers/spec-review-pipeline.mjs +246 -0
- package/workflows/spec-review/schemas/spec-review-candidate-findings-control.schema.json +33 -0
- package/workflows/spec-review/schemas/spec-review-extract-spec-control.schema.json +26 -0
- package/workflows/spec-review/schemas/spec-review-inspect-tests-control.schema.json +25 -0
- package/workflows/spec-review/schemas/spec-review-map-implementation-control.schema.json +25 -0
- package/workflows/spec-review/schemas/spec-review-report-control.schema.json +26 -0
- package/workflows/spec-review/schemas/spec-review-verify-findings-control.schema.json +21 -0
- package/workflows/spec-review/spec.json +141 -0
|
@@ -0,0 +1,3251 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Javascript implementation of X.509 and related components (such as
|
|
3
|
+
* Certification Signing Requests) of a Public Key Infrastructure.
|
|
4
|
+
*
|
|
5
|
+
* @author Dave Longley
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
8
|
+
*
|
|
9
|
+
* The ASN.1 representation of an X.509v3 certificate is as follows
|
|
10
|
+
* (see RFC 2459):
|
|
11
|
+
*
|
|
12
|
+
* Certificate ::= SEQUENCE {
|
|
13
|
+
* tbsCertificate TBSCertificate,
|
|
14
|
+
* signatureAlgorithm AlgorithmIdentifier,
|
|
15
|
+
* signatureValue BIT STRING
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* TBSCertificate ::= SEQUENCE {
|
|
19
|
+
* version [0] EXPLICIT Version DEFAULT v1,
|
|
20
|
+
* serialNumber CertificateSerialNumber,
|
|
21
|
+
* signature AlgorithmIdentifier,
|
|
22
|
+
* issuer Name,
|
|
23
|
+
* validity Validity,
|
|
24
|
+
* subject Name,
|
|
25
|
+
* subjectPublicKeyInfo SubjectPublicKeyInfo,
|
|
26
|
+
* issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
27
|
+
* -- If present, version shall be v2 or v3
|
|
28
|
+
* subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL,
|
|
29
|
+
* -- If present, version shall be v2 or v3
|
|
30
|
+
* extensions [3] EXPLICIT Extensions OPTIONAL
|
|
31
|
+
* -- If present, version shall be v3
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* Version ::= INTEGER { v1(0), v2(1), v3(2) }
|
|
35
|
+
*
|
|
36
|
+
* CertificateSerialNumber ::= INTEGER
|
|
37
|
+
*
|
|
38
|
+
* Name ::= CHOICE {
|
|
39
|
+
* // only one possible choice for now
|
|
40
|
+
* RDNSequence
|
|
41
|
+
* }
|
|
42
|
+
*
|
|
43
|
+
* RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
|
|
44
|
+
*
|
|
45
|
+
* RelativeDistinguishedName ::= SET OF AttributeTypeAndValue
|
|
46
|
+
*
|
|
47
|
+
* AttributeTypeAndValue ::= SEQUENCE {
|
|
48
|
+
* type AttributeType,
|
|
49
|
+
* value AttributeValue
|
|
50
|
+
* }
|
|
51
|
+
* AttributeType ::= OBJECT IDENTIFIER
|
|
52
|
+
* AttributeValue ::= ANY DEFINED BY AttributeType
|
|
53
|
+
*
|
|
54
|
+
* Validity ::= SEQUENCE {
|
|
55
|
+
* notBefore Time,
|
|
56
|
+
* notAfter Time
|
|
57
|
+
* }
|
|
58
|
+
*
|
|
59
|
+
* Time ::= CHOICE {
|
|
60
|
+
* utcTime UTCTime,
|
|
61
|
+
* generalTime GeneralizedTime
|
|
62
|
+
* }
|
|
63
|
+
*
|
|
64
|
+
* UniqueIdentifier ::= BIT STRING
|
|
65
|
+
*
|
|
66
|
+
* SubjectPublicKeyInfo ::= SEQUENCE {
|
|
67
|
+
* algorithm AlgorithmIdentifier,
|
|
68
|
+
* subjectPublicKey BIT STRING
|
|
69
|
+
* }
|
|
70
|
+
*
|
|
71
|
+
* Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
|
|
72
|
+
*
|
|
73
|
+
* Extension ::= SEQUENCE {
|
|
74
|
+
* extnID OBJECT IDENTIFIER,
|
|
75
|
+
* critical BOOLEAN DEFAULT FALSE,
|
|
76
|
+
* extnValue OCTET STRING
|
|
77
|
+
* }
|
|
78
|
+
*
|
|
79
|
+
* The only key algorithm currently supported for PKI is RSA.
|
|
80
|
+
*
|
|
81
|
+
* RSASSA-PSS signatures are described in RFC 3447 and RFC 4055.
|
|
82
|
+
*
|
|
83
|
+
* PKCS#10 v1.7 describes certificate signing requests:
|
|
84
|
+
*
|
|
85
|
+
* CertificationRequestInfo:
|
|
86
|
+
*
|
|
87
|
+
* CertificationRequestInfo ::= SEQUENCE {
|
|
88
|
+
* version INTEGER { v1(0) } (v1,...),
|
|
89
|
+
* subject Name,
|
|
90
|
+
* subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
|
|
91
|
+
* attributes [0] Attributes{{ CRIAttributes }}
|
|
92
|
+
* }
|
|
93
|
+
*
|
|
94
|
+
* Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }}
|
|
95
|
+
*
|
|
96
|
+
* CRIAttributes ATTRIBUTE ::= {
|
|
97
|
+
* ... -- add any locally defined attributes here -- }
|
|
98
|
+
*
|
|
99
|
+
* Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {
|
|
100
|
+
* type ATTRIBUTE.&id({IOSet}),
|
|
101
|
+
* values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type})
|
|
102
|
+
* }
|
|
103
|
+
*
|
|
104
|
+
* CertificationRequest ::= SEQUENCE {
|
|
105
|
+
* certificationRequestInfo CertificationRequestInfo,
|
|
106
|
+
* signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},
|
|
107
|
+
* signature BIT STRING
|
|
108
|
+
* }
|
|
109
|
+
*/
|
|
110
|
+
var forge = require('./forge');
|
|
111
|
+
require('./aes');
|
|
112
|
+
require('./asn1');
|
|
113
|
+
require('./des');
|
|
114
|
+
require('./md');
|
|
115
|
+
require('./mgf');
|
|
116
|
+
require('./oids');
|
|
117
|
+
require('./pem');
|
|
118
|
+
require('./pss');
|
|
119
|
+
require('./rsa');
|
|
120
|
+
require('./util');
|
|
121
|
+
|
|
122
|
+
// shortcut for asn.1 API
|
|
123
|
+
var asn1 = forge.asn1;
|
|
124
|
+
|
|
125
|
+
/* Public Key Infrastructure (PKI) implementation. */
|
|
126
|
+
var pki = module.exports = forge.pki = forge.pki || {};
|
|
127
|
+
var oids = pki.oids;
|
|
128
|
+
|
|
129
|
+
// short name OID mappings
|
|
130
|
+
var _shortNames = {};
|
|
131
|
+
_shortNames['CN'] = oids['commonName'];
|
|
132
|
+
_shortNames['commonName'] = 'CN';
|
|
133
|
+
_shortNames['C'] = oids['countryName'];
|
|
134
|
+
_shortNames['countryName'] = 'C';
|
|
135
|
+
_shortNames['L'] = oids['localityName'];
|
|
136
|
+
_shortNames['localityName'] = 'L';
|
|
137
|
+
_shortNames['ST'] = oids['stateOrProvinceName'];
|
|
138
|
+
_shortNames['stateOrProvinceName'] = 'ST';
|
|
139
|
+
_shortNames['O'] = oids['organizationName'];
|
|
140
|
+
_shortNames['organizationName'] = 'O';
|
|
141
|
+
_shortNames['OU'] = oids['organizationalUnitName'];
|
|
142
|
+
_shortNames['organizationalUnitName'] = 'OU';
|
|
143
|
+
_shortNames['E'] = oids['emailAddress'];
|
|
144
|
+
_shortNames['emailAddress'] = 'E';
|
|
145
|
+
|
|
146
|
+
// validator for an SubjectPublicKeyInfo structure
|
|
147
|
+
// Note: Currently only works with an RSA public key
|
|
148
|
+
var publicKeyValidator = forge.pki.rsa.publicKeyValidator;
|
|
149
|
+
|
|
150
|
+
// validator for an X.509v3 certificate
|
|
151
|
+
var x509CertificateValidator = {
|
|
152
|
+
name: 'Certificate',
|
|
153
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
154
|
+
type: asn1.Type.SEQUENCE,
|
|
155
|
+
constructed: true,
|
|
156
|
+
value: [{
|
|
157
|
+
name: 'Certificate.TBSCertificate',
|
|
158
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
159
|
+
type: asn1.Type.SEQUENCE,
|
|
160
|
+
constructed: true,
|
|
161
|
+
captureAsn1: 'tbsCertificate',
|
|
162
|
+
value: [{
|
|
163
|
+
name: 'Certificate.TBSCertificate.version',
|
|
164
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
165
|
+
type: 0,
|
|
166
|
+
constructed: true,
|
|
167
|
+
optional: true,
|
|
168
|
+
value: [{
|
|
169
|
+
name: 'Certificate.TBSCertificate.version.integer',
|
|
170
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
171
|
+
type: asn1.Type.INTEGER,
|
|
172
|
+
constructed: false,
|
|
173
|
+
capture: 'certVersion'
|
|
174
|
+
}]
|
|
175
|
+
}, {
|
|
176
|
+
name: 'Certificate.TBSCertificate.serialNumber',
|
|
177
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
178
|
+
type: asn1.Type.INTEGER,
|
|
179
|
+
constructed: false,
|
|
180
|
+
capture: 'certSerialNumber'
|
|
181
|
+
}, {
|
|
182
|
+
name: 'Certificate.TBSCertificate.signature',
|
|
183
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
184
|
+
type: asn1.Type.SEQUENCE,
|
|
185
|
+
constructed: true,
|
|
186
|
+
value: [{
|
|
187
|
+
name: 'Certificate.TBSCertificate.signature.algorithm',
|
|
188
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
189
|
+
type: asn1.Type.OID,
|
|
190
|
+
constructed: false,
|
|
191
|
+
capture: 'certinfoSignatureOid'
|
|
192
|
+
}, {
|
|
193
|
+
name: 'Certificate.TBSCertificate.signature.parameters',
|
|
194
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
195
|
+
optional: true,
|
|
196
|
+
captureAsn1: 'certinfoSignatureParams'
|
|
197
|
+
}]
|
|
198
|
+
}, {
|
|
199
|
+
name: 'Certificate.TBSCertificate.issuer',
|
|
200
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
201
|
+
type: asn1.Type.SEQUENCE,
|
|
202
|
+
constructed: true,
|
|
203
|
+
captureAsn1: 'certIssuer'
|
|
204
|
+
}, {
|
|
205
|
+
name: 'Certificate.TBSCertificate.validity',
|
|
206
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
207
|
+
type: asn1.Type.SEQUENCE,
|
|
208
|
+
constructed: true,
|
|
209
|
+
// Note: UTC and generalized times may both appear so the capture
|
|
210
|
+
// names are based on their detected order, the names used below
|
|
211
|
+
// are only for the common case, which validity time really means
|
|
212
|
+
// "notBefore" and which means "notAfter" will be determined by order
|
|
213
|
+
value: [{
|
|
214
|
+
// notBefore (Time) (UTC time case)
|
|
215
|
+
name: 'Certificate.TBSCertificate.validity.notBefore (utc)',
|
|
216
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
217
|
+
type: asn1.Type.UTCTIME,
|
|
218
|
+
constructed: false,
|
|
219
|
+
optional: true,
|
|
220
|
+
capture: 'certValidity1UTCTime'
|
|
221
|
+
}, {
|
|
222
|
+
// notBefore (Time) (generalized time case)
|
|
223
|
+
name: 'Certificate.TBSCertificate.validity.notBefore (generalized)',
|
|
224
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
225
|
+
type: asn1.Type.GENERALIZEDTIME,
|
|
226
|
+
constructed: false,
|
|
227
|
+
optional: true,
|
|
228
|
+
capture: 'certValidity2GeneralizedTime'
|
|
229
|
+
}, {
|
|
230
|
+
// notAfter (Time) (only UTC time is supported)
|
|
231
|
+
name: 'Certificate.TBSCertificate.validity.notAfter (utc)',
|
|
232
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
233
|
+
type: asn1.Type.UTCTIME,
|
|
234
|
+
constructed: false,
|
|
235
|
+
optional: true,
|
|
236
|
+
capture: 'certValidity3UTCTime'
|
|
237
|
+
}, {
|
|
238
|
+
// notAfter (Time) (only UTC time is supported)
|
|
239
|
+
name: 'Certificate.TBSCertificate.validity.notAfter (generalized)',
|
|
240
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
241
|
+
type: asn1.Type.GENERALIZEDTIME,
|
|
242
|
+
constructed: false,
|
|
243
|
+
optional: true,
|
|
244
|
+
capture: 'certValidity4GeneralizedTime'
|
|
245
|
+
}]
|
|
246
|
+
}, {
|
|
247
|
+
// Name (subject) (RDNSequence)
|
|
248
|
+
name: 'Certificate.TBSCertificate.subject',
|
|
249
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
250
|
+
type: asn1.Type.SEQUENCE,
|
|
251
|
+
constructed: true,
|
|
252
|
+
captureAsn1: 'certSubject'
|
|
253
|
+
},
|
|
254
|
+
// SubjectPublicKeyInfo
|
|
255
|
+
publicKeyValidator,
|
|
256
|
+
{
|
|
257
|
+
// issuerUniqueID (optional)
|
|
258
|
+
name: 'Certificate.TBSCertificate.issuerUniqueID',
|
|
259
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
260
|
+
type: 1,
|
|
261
|
+
constructed: true,
|
|
262
|
+
optional: true,
|
|
263
|
+
value: [{
|
|
264
|
+
name: 'Certificate.TBSCertificate.issuerUniqueID.id',
|
|
265
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
266
|
+
type: asn1.Type.BITSTRING,
|
|
267
|
+
constructed: false,
|
|
268
|
+
// TODO: support arbitrary bit length ids
|
|
269
|
+
captureBitStringValue: 'certIssuerUniqueId'
|
|
270
|
+
}]
|
|
271
|
+
}, {
|
|
272
|
+
// subjectUniqueID (optional)
|
|
273
|
+
name: 'Certificate.TBSCertificate.subjectUniqueID',
|
|
274
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
275
|
+
type: 2,
|
|
276
|
+
constructed: true,
|
|
277
|
+
optional: true,
|
|
278
|
+
value: [{
|
|
279
|
+
name: 'Certificate.TBSCertificate.subjectUniqueID.id',
|
|
280
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
281
|
+
type: asn1.Type.BITSTRING,
|
|
282
|
+
constructed: false,
|
|
283
|
+
// TODO: support arbitrary bit length ids
|
|
284
|
+
captureBitStringValue: 'certSubjectUniqueId'
|
|
285
|
+
}]
|
|
286
|
+
}, {
|
|
287
|
+
// Extensions (optional)
|
|
288
|
+
name: 'Certificate.TBSCertificate.extensions',
|
|
289
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
290
|
+
type: 3,
|
|
291
|
+
constructed: true,
|
|
292
|
+
captureAsn1: 'certExtensions',
|
|
293
|
+
optional: true
|
|
294
|
+
}]
|
|
295
|
+
}, {
|
|
296
|
+
// AlgorithmIdentifier (signature algorithm)
|
|
297
|
+
name: 'Certificate.signatureAlgorithm',
|
|
298
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
299
|
+
type: asn1.Type.SEQUENCE,
|
|
300
|
+
constructed: true,
|
|
301
|
+
value: [{
|
|
302
|
+
// algorithm
|
|
303
|
+
name: 'Certificate.signatureAlgorithm.algorithm',
|
|
304
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
305
|
+
type: asn1.Type.OID,
|
|
306
|
+
constructed: false,
|
|
307
|
+
capture: 'certSignatureOid'
|
|
308
|
+
}, {
|
|
309
|
+
name: 'Certificate.TBSCertificate.signature.parameters',
|
|
310
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
311
|
+
optional: true,
|
|
312
|
+
captureAsn1: 'certSignatureParams'
|
|
313
|
+
}]
|
|
314
|
+
}, {
|
|
315
|
+
// SignatureValue
|
|
316
|
+
name: 'Certificate.signatureValue',
|
|
317
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
318
|
+
type: asn1.Type.BITSTRING,
|
|
319
|
+
constructed: false,
|
|
320
|
+
captureBitStringValue: 'certSignature'
|
|
321
|
+
}]
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
var rsassaPssParameterValidator = {
|
|
325
|
+
name: 'rsapss',
|
|
326
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
327
|
+
type: asn1.Type.SEQUENCE,
|
|
328
|
+
constructed: true,
|
|
329
|
+
value: [{
|
|
330
|
+
name: 'rsapss.hashAlgorithm',
|
|
331
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
332
|
+
type: 0,
|
|
333
|
+
constructed: true,
|
|
334
|
+
value: [{
|
|
335
|
+
name: 'rsapss.hashAlgorithm.AlgorithmIdentifier',
|
|
336
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
337
|
+
type: asn1.Class.SEQUENCE,
|
|
338
|
+
constructed: true,
|
|
339
|
+
optional: true,
|
|
340
|
+
value: [{
|
|
341
|
+
name: 'rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm',
|
|
342
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
343
|
+
type: asn1.Type.OID,
|
|
344
|
+
constructed: false,
|
|
345
|
+
capture: 'hashOid'
|
|
346
|
+
/* parameter block omitted, for SHA1 NULL anyhow. */
|
|
347
|
+
}]
|
|
348
|
+
}]
|
|
349
|
+
}, {
|
|
350
|
+
name: 'rsapss.maskGenAlgorithm',
|
|
351
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
352
|
+
type: 1,
|
|
353
|
+
constructed: true,
|
|
354
|
+
value: [{
|
|
355
|
+
name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier',
|
|
356
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
357
|
+
type: asn1.Class.SEQUENCE,
|
|
358
|
+
constructed: true,
|
|
359
|
+
optional: true,
|
|
360
|
+
value: [{
|
|
361
|
+
name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm',
|
|
362
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
363
|
+
type: asn1.Type.OID,
|
|
364
|
+
constructed: false,
|
|
365
|
+
capture: 'maskGenOid'
|
|
366
|
+
}, {
|
|
367
|
+
name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params',
|
|
368
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
369
|
+
type: asn1.Type.SEQUENCE,
|
|
370
|
+
constructed: true,
|
|
371
|
+
value: [{
|
|
372
|
+
name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm',
|
|
373
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
374
|
+
type: asn1.Type.OID,
|
|
375
|
+
constructed: false,
|
|
376
|
+
capture: 'maskGenHashOid'
|
|
377
|
+
/* parameter block omitted, for SHA1 NULL anyhow. */
|
|
378
|
+
}]
|
|
379
|
+
}]
|
|
380
|
+
}]
|
|
381
|
+
}, {
|
|
382
|
+
name: 'rsapss.saltLength',
|
|
383
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
384
|
+
type: 2,
|
|
385
|
+
optional: true,
|
|
386
|
+
value: [{
|
|
387
|
+
name: 'rsapss.saltLength.saltLength',
|
|
388
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
389
|
+
type: asn1.Class.INTEGER,
|
|
390
|
+
constructed: false,
|
|
391
|
+
capture: 'saltLength'
|
|
392
|
+
}]
|
|
393
|
+
}, {
|
|
394
|
+
name: 'rsapss.trailerField',
|
|
395
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
396
|
+
type: 3,
|
|
397
|
+
optional: true,
|
|
398
|
+
value: [{
|
|
399
|
+
name: 'rsapss.trailer.trailer',
|
|
400
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
401
|
+
type: asn1.Class.INTEGER,
|
|
402
|
+
constructed: false,
|
|
403
|
+
capture: 'trailer'
|
|
404
|
+
}]
|
|
405
|
+
}]
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
// validator for a CertificationRequestInfo structure
|
|
409
|
+
var certificationRequestInfoValidator = {
|
|
410
|
+
name: 'CertificationRequestInfo',
|
|
411
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
412
|
+
type: asn1.Type.SEQUENCE,
|
|
413
|
+
constructed: true,
|
|
414
|
+
captureAsn1: 'certificationRequestInfo',
|
|
415
|
+
value: [{
|
|
416
|
+
name: 'CertificationRequestInfo.integer',
|
|
417
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
418
|
+
type: asn1.Type.INTEGER,
|
|
419
|
+
constructed: false,
|
|
420
|
+
capture: 'certificationRequestInfoVersion'
|
|
421
|
+
}, {
|
|
422
|
+
// Name (subject) (RDNSequence)
|
|
423
|
+
name: 'CertificationRequestInfo.subject',
|
|
424
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
425
|
+
type: asn1.Type.SEQUENCE,
|
|
426
|
+
constructed: true,
|
|
427
|
+
captureAsn1: 'certificationRequestInfoSubject'
|
|
428
|
+
},
|
|
429
|
+
// SubjectPublicKeyInfo
|
|
430
|
+
publicKeyValidator,
|
|
431
|
+
{
|
|
432
|
+
name: 'CertificationRequestInfo.attributes',
|
|
433
|
+
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
|
434
|
+
type: 0,
|
|
435
|
+
constructed: true,
|
|
436
|
+
optional: true,
|
|
437
|
+
capture: 'certificationRequestInfoAttributes',
|
|
438
|
+
value: [{
|
|
439
|
+
name: 'CertificationRequestInfo.attributes',
|
|
440
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
441
|
+
type: asn1.Type.SEQUENCE,
|
|
442
|
+
constructed: true,
|
|
443
|
+
value: [{
|
|
444
|
+
name: 'CertificationRequestInfo.attributes.type',
|
|
445
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
446
|
+
type: asn1.Type.OID,
|
|
447
|
+
constructed: false
|
|
448
|
+
}, {
|
|
449
|
+
name: 'CertificationRequestInfo.attributes.value',
|
|
450
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
451
|
+
type: asn1.Type.SET,
|
|
452
|
+
constructed: true
|
|
453
|
+
}]
|
|
454
|
+
}]
|
|
455
|
+
}]
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
// validator for a CertificationRequest structure
|
|
459
|
+
var certificationRequestValidator = {
|
|
460
|
+
name: 'CertificationRequest',
|
|
461
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
462
|
+
type: asn1.Type.SEQUENCE,
|
|
463
|
+
constructed: true,
|
|
464
|
+
captureAsn1: 'csr',
|
|
465
|
+
value: [
|
|
466
|
+
certificationRequestInfoValidator, {
|
|
467
|
+
// AlgorithmIdentifier (signature algorithm)
|
|
468
|
+
name: 'CertificationRequest.signatureAlgorithm',
|
|
469
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
470
|
+
type: asn1.Type.SEQUENCE,
|
|
471
|
+
constructed: true,
|
|
472
|
+
value: [{
|
|
473
|
+
// algorithm
|
|
474
|
+
name: 'CertificationRequest.signatureAlgorithm.algorithm',
|
|
475
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
476
|
+
type: asn1.Type.OID,
|
|
477
|
+
constructed: false,
|
|
478
|
+
capture: 'csrSignatureOid'
|
|
479
|
+
}, {
|
|
480
|
+
name: 'CertificationRequest.signatureAlgorithm.parameters',
|
|
481
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
482
|
+
optional: true,
|
|
483
|
+
captureAsn1: 'csrSignatureParams'
|
|
484
|
+
}]
|
|
485
|
+
}, {
|
|
486
|
+
// signature
|
|
487
|
+
name: 'CertificationRequest.signature',
|
|
488
|
+
tagClass: asn1.Class.UNIVERSAL,
|
|
489
|
+
type: asn1.Type.BITSTRING,
|
|
490
|
+
constructed: false,
|
|
491
|
+
captureBitStringValue: 'csrSignature'
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Converts an RDNSequence of ASN.1 DER-encoded RelativeDistinguishedName
|
|
498
|
+
* sets into an array with objects that have type and value properties.
|
|
499
|
+
*
|
|
500
|
+
* @param rdn the RDNSequence to convert.
|
|
501
|
+
* @param md a message digest to append type and value to if provided.
|
|
502
|
+
*/
|
|
503
|
+
pki.RDNAttributesAsArray = function(rdn, md) {
|
|
504
|
+
var rval = [];
|
|
505
|
+
|
|
506
|
+
// each value in 'rdn' in is a SET of RelativeDistinguishedName
|
|
507
|
+
var set, attr, obj;
|
|
508
|
+
for(var si = 0; si < rdn.value.length; ++si) {
|
|
509
|
+
// get the RelativeDistinguishedName set
|
|
510
|
+
set = rdn.value[si];
|
|
511
|
+
|
|
512
|
+
// each value in the SET is an AttributeTypeAndValue sequence
|
|
513
|
+
// containing first a type (an OID) and second a value (defined by
|
|
514
|
+
// the OID)
|
|
515
|
+
for(var i = 0; i < set.value.length; ++i) {
|
|
516
|
+
obj = {};
|
|
517
|
+
attr = set.value[i];
|
|
518
|
+
obj.type = asn1.derToOid(attr.value[0].value);
|
|
519
|
+
obj.value = attr.value[1].value;
|
|
520
|
+
obj.valueTagClass = attr.value[1].type;
|
|
521
|
+
// if the OID is known, get its name and short name
|
|
522
|
+
if(obj.type in oids) {
|
|
523
|
+
obj.name = oids[obj.type];
|
|
524
|
+
if(obj.name in _shortNames) {
|
|
525
|
+
obj.shortName = _shortNames[obj.name];
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
if(md) {
|
|
529
|
+
md.update(obj.type);
|
|
530
|
+
md.update(obj.value);
|
|
531
|
+
}
|
|
532
|
+
rval.push(obj);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
return rval;
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Converts ASN.1 CRIAttributes into an array with objects that have type and
|
|
541
|
+
* value properties.
|
|
542
|
+
*
|
|
543
|
+
* @param attributes the CRIAttributes to convert.
|
|
544
|
+
*/
|
|
545
|
+
pki.CRIAttributesAsArray = function(attributes) {
|
|
546
|
+
var rval = [];
|
|
547
|
+
|
|
548
|
+
// each value in 'attributes' in is a SEQUENCE with an OID and a SET
|
|
549
|
+
for(var si = 0; si < attributes.length; ++si) {
|
|
550
|
+
// get the attribute sequence
|
|
551
|
+
var seq = attributes[si];
|
|
552
|
+
|
|
553
|
+
// each value in the SEQUENCE containing first a type (an OID) and
|
|
554
|
+
// second a set of values (defined by the OID)
|
|
555
|
+
var type = asn1.derToOid(seq.value[0].value);
|
|
556
|
+
var values = seq.value[1].value;
|
|
557
|
+
for(var vi = 0; vi < values.length; ++vi) {
|
|
558
|
+
var obj = {};
|
|
559
|
+
obj.type = type;
|
|
560
|
+
obj.value = values[vi].value;
|
|
561
|
+
obj.valueTagClass = values[vi].type;
|
|
562
|
+
// if the OID is known, get its name and short name
|
|
563
|
+
if(obj.type in oids) {
|
|
564
|
+
obj.name = oids[obj.type];
|
|
565
|
+
if(obj.name in _shortNames) {
|
|
566
|
+
obj.shortName = _shortNames[obj.name];
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
// parse extensions
|
|
570
|
+
if(obj.type === oids.extensionRequest) {
|
|
571
|
+
obj.extensions = [];
|
|
572
|
+
for(var ei = 0; ei < obj.value.length; ++ei) {
|
|
573
|
+
obj.extensions.push(pki.certificateExtensionFromAsn1(obj.value[ei]));
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
rval.push(obj);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
return rval;
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Gets an issuer or subject attribute from its name, type, or short name.
|
|
585
|
+
*
|
|
586
|
+
* @param obj the issuer or subject object.
|
|
587
|
+
* @param options a short name string or an object with:
|
|
588
|
+
* shortName the short name for the attribute.
|
|
589
|
+
* name the name for the attribute.
|
|
590
|
+
* type the type for the attribute.
|
|
591
|
+
*
|
|
592
|
+
* @return the attribute.
|
|
593
|
+
*/
|
|
594
|
+
function _getAttribute(obj, options) {
|
|
595
|
+
if(typeof options === 'string') {
|
|
596
|
+
options = {shortName: options};
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
var rval = null;
|
|
600
|
+
var attr;
|
|
601
|
+
for(var i = 0; rval === null && i < obj.attributes.length; ++i) {
|
|
602
|
+
attr = obj.attributes[i];
|
|
603
|
+
if(options.type && options.type === attr.type) {
|
|
604
|
+
rval = attr;
|
|
605
|
+
} else if(options.name && options.name === attr.name) {
|
|
606
|
+
rval = attr;
|
|
607
|
+
} else if(options.shortName && options.shortName === attr.shortName) {
|
|
608
|
+
rval = attr;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
return rval;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Converts signature parameters from ASN.1 structure.
|
|
616
|
+
*
|
|
617
|
+
* Currently only RSASSA-PSS supported. The PKCS#1 v1.5 signature scheme had
|
|
618
|
+
* no parameters.
|
|
619
|
+
*
|
|
620
|
+
* RSASSA-PSS-params ::= SEQUENCE {
|
|
621
|
+
* hashAlgorithm [0] HashAlgorithm DEFAULT
|
|
622
|
+
* sha1Identifier,
|
|
623
|
+
* maskGenAlgorithm [1] MaskGenAlgorithm DEFAULT
|
|
624
|
+
* mgf1SHA1Identifier,
|
|
625
|
+
* saltLength [2] INTEGER DEFAULT 20,
|
|
626
|
+
* trailerField [3] INTEGER DEFAULT 1
|
|
627
|
+
* }
|
|
628
|
+
*
|
|
629
|
+
* HashAlgorithm ::= AlgorithmIdentifier
|
|
630
|
+
*
|
|
631
|
+
* MaskGenAlgorithm ::= AlgorithmIdentifier
|
|
632
|
+
*
|
|
633
|
+
* AlgorithmIdentifer ::= SEQUENCE {
|
|
634
|
+
* algorithm OBJECT IDENTIFIER,
|
|
635
|
+
* parameters ANY DEFINED BY algorithm OPTIONAL
|
|
636
|
+
* }
|
|
637
|
+
*
|
|
638
|
+
* @param oid The OID specifying the signature algorithm
|
|
639
|
+
* @param obj The ASN.1 structure holding the parameters
|
|
640
|
+
* @param fillDefaults Whether to use return default values where omitted
|
|
641
|
+
* @return signature parameter object
|
|
642
|
+
*/
|
|
643
|
+
var _readSignatureParameters = function(oid, obj, fillDefaults) {
|
|
644
|
+
var params = {};
|
|
645
|
+
|
|
646
|
+
if(oid !== oids['RSASSA-PSS']) {
|
|
647
|
+
return params;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
if(fillDefaults) {
|
|
651
|
+
params = {
|
|
652
|
+
hash: {
|
|
653
|
+
algorithmOid: oids['sha1']
|
|
654
|
+
},
|
|
655
|
+
mgf: {
|
|
656
|
+
algorithmOid: oids['mgf1'],
|
|
657
|
+
hash: {
|
|
658
|
+
algorithmOid: oids['sha1']
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
saltLength: 20
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
var capture = {};
|
|
666
|
+
var errors = [];
|
|
667
|
+
if(!asn1.validate(obj, rsassaPssParameterValidator, capture, errors)) {
|
|
668
|
+
var error = new Error('Cannot read RSASSA-PSS parameter block.');
|
|
669
|
+
error.errors = errors;
|
|
670
|
+
throw error;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
if(capture.hashOid !== undefined) {
|
|
674
|
+
params.hash = params.hash || {};
|
|
675
|
+
params.hash.algorithmOid = asn1.derToOid(capture.hashOid);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
if(capture.maskGenOid !== undefined) {
|
|
679
|
+
params.mgf = params.mgf || {};
|
|
680
|
+
params.mgf.algorithmOid = asn1.derToOid(capture.maskGenOid);
|
|
681
|
+
params.mgf.hash = params.mgf.hash || {};
|
|
682
|
+
params.mgf.hash.algorithmOid = asn1.derToOid(capture.maskGenHashOid);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
if(capture.saltLength !== undefined) {
|
|
686
|
+
params.saltLength = capture.saltLength.charCodeAt(0);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
return params;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Create signature digest for OID.
|
|
694
|
+
*
|
|
695
|
+
* @param options
|
|
696
|
+
* signatureOid: the OID specifying the signature algorithm.
|
|
697
|
+
* type: a human readable type for error messages
|
|
698
|
+
* @return a created md instance. throws if unknown oid.
|
|
699
|
+
*/
|
|
700
|
+
var _createSignatureDigest = function(options) {
|
|
701
|
+
switch(oids[options.signatureOid]) {
|
|
702
|
+
case 'sha1WithRSAEncryption':
|
|
703
|
+
// deprecated alias
|
|
704
|
+
case 'sha1WithRSASignature':
|
|
705
|
+
return forge.md.sha1.create();
|
|
706
|
+
case 'md5WithRSAEncryption':
|
|
707
|
+
return forge.md.md5.create();
|
|
708
|
+
case 'sha256WithRSAEncryption':
|
|
709
|
+
return forge.md.sha256.create();
|
|
710
|
+
case 'sha384WithRSAEncryption':
|
|
711
|
+
return forge.md.sha384.create();
|
|
712
|
+
case 'sha512WithRSAEncryption':
|
|
713
|
+
return forge.md.sha512.create();
|
|
714
|
+
case 'RSASSA-PSS':
|
|
715
|
+
return forge.md.sha256.create();
|
|
716
|
+
default:
|
|
717
|
+
var error = new Error(
|
|
718
|
+
'Could not compute ' + options.type + ' digest. ' +
|
|
719
|
+
'Unknown signature OID.');
|
|
720
|
+
error.signatureOid = options.signatureOid;
|
|
721
|
+
throw error;
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Verify signature on certificate or CSR.
|
|
727
|
+
*
|
|
728
|
+
* @param options:
|
|
729
|
+
* certificate the certificate or CSR to verify.
|
|
730
|
+
* md the signature digest.
|
|
731
|
+
* signature the signature
|
|
732
|
+
* @return a created md instance. throws if unknown oid.
|
|
733
|
+
*/
|
|
734
|
+
var _verifySignature = function(options) {
|
|
735
|
+
var cert = options.certificate;
|
|
736
|
+
var scheme;
|
|
737
|
+
|
|
738
|
+
switch(cert.signatureOid) {
|
|
739
|
+
case oids.sha1WithRSAEncryption:
|
|
740
|
+
// deprecated alias
|
|
741
|
+
case oids.sha1WithRSASignature:
|
|
742
|
+
/* use PKCS#1 v1.5 padding scheme */
|
|
743
|
+
break;
|
|
744
|
+
case oids['RSASSA-PSS']:
|
|
745
|
+
var hash, mgf;
|
|
746
|
+
|
|
747
|
+
/* initialize mgf */
|
|
748
|
+
hash = oids[cert.signatureParameters.mgf.hash.algorithmOid];
|
|
749
|
+
if(hash === undefined || forge.md[hash] === undefined) {
|
|
750
|
+
var error = new Error('Unsupported MGF hash function.');
|
|
751
|
+
error.oid = cert.signatureParameters.mgf.hash.algorithmOid;
|
|
752
|
+
error.name = hash;
|
|
753
|
+
throw error;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
mgf = oids[cert.signatureParameters.mgf.algorithmOid];
|
|
757
|
+
if(mgf === undefined || forge.mgf[mgf] === undefined) {
|
|
758
|
+
var error = new Error('Unsupported MGF function.');
|
|
759
|
+
error.oid = cert.signatureParameters.mgf.algorithmOid;
|
|
760
|
+
error.name = mgf;
|
|
761
|
+
throw error;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
mgf = forge.mgf[mgf].create(forge.md[hash].create());
|
|
765
|
+
|
|
766
|
+
/* initialize hash function */
|
|
767
|
+
hash = oids[cert.signatureParameters.hash.algorithmOid];
|
|
768
|
+
if(hash === undefined || forge.md[hash] === undefined) {
|
|
769
|
+
var error = new Error('Unsupported RSASSA-PSS hash function.');
|
|
770
|
+
error.oid = cert.signatureParameters.hash.algorithmOid;
|
|
771
|
+
error.name = hash;
|
|
772
|
+
throw error;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
scheme = forge.pss.create(
|
|
776
|
+
forge.md[hash].create(), mgf, cert.signatureParameters.saltLength
|
|
777
|
+
);
|
|
778
|
+
break;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
// verify signature on cert using public key
|
|
782
|
+
return cert.publicKey.verify(
|
|
783
|
+
options.md.digest().getBytes(), options.signature, scheme
|
|
784
|
+
);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Converts an X.509 certificate from PEM format.
|
|
789
|
+
*
|
|
790
|
+
* Note: If the certificate is to be verified then compute hash should
|
|
791
|
+
* be set to true. This will scan the TBSCertificate part of the ASN.1
|
|
792
|
+
* object while it is converted so it doesn't need to be converted back
|
|
793
|
+
* to ASN.1-DER-encoding later.
|
|
794
|
+
*
|
|
795
|
+
* @param pem the PEM-formatted certificate.
|
|
796
|
+
* @param computeHash true to compute the hash for verification.
|
|
797
|
+
* @param strict true to be strict when checking ASN.1 value lengths, false to
|
|
798
|
+
* allow truncated values (default: true).
|
|
799
|
+
*
|
|
800
|
+
* @return the certificate.
|
|
801
|
+
*/
|
|
802
|
+
pki.certificateFromPem = function(pem, computeHash, strict) {
|
|
803
|
+
var msg = forge.pem.decode(pem)[0];
|
|
804
|
+
|
|
805
|
+
if(msg.type !== 'CERTIFICATE' &&
|
|
806
|
+
msg.type !== 'X509 CERTIFICATE' &&
|
|
807
|
+
msg.type !== 'TRUSTED CERTIFICATE') {
|
|
808
|
+
var error = new Error(
|
|
809
|
+
'Could not convert certificate from PEM; PEM header type ' +
|
|
810
|
+
'is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');
|
|
811
|
+
error.headerType = msg.type;
|
|
812
|
+
throw error;
|
|
813
|
+
}
|
|
814
|
+
if(msg.procType && msg.procType.type === 'ENCRYPTED') {
|
|
815
|
+
throw new Error(
|
|
816
|
+
'Could not convert certificate from PEM; PEM is encrypted.');
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
// convert DER to ASN.1 object
|
|
820
|
+
var obj = asn1.fromDer(msg.body, strict);
|
|
821
|
+
|
|
822
|
+
return pki.certificateFromAsn1(obj, computeHash);
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Converts an X.509 certificate to PEM format.
|
|
827
|
+
*
|
|
828
|
+
* @param cert the certificate.
|
|
829
|
+
* @param maxline the maximum characters per line, defaults to 64.
|
|
830
|
+
*
|
|
831
|
+
* @return the PEM-formatted certificate.
|
|
832
|
+
*/
|
|
833
|
+
pki.certificateToPem = function(cert, maxline) {
|
|
834
|
+
// convert to ASN.1, then DER, then PEM-encode
|
|
835
|
+
var msg = {
|
|
836
|
+
type: 'CERTIFICATE',
|
|
837
|
+
body: asn1.toDer(pki.certificateToAsn1(cert)).getBytes()
|
|
838
|
+
};
|
|
839
|
+
return forge.pem.encode(msg, {maxline: maxline});
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* Converts an RSA public key from PEM format.
|
|
844
|
+
*
|
|
845
|
+
* @param pem the PEM-formatted public key.
|
|
846
|
+
*
|
|
847
|
+
* @return the public key.
|
|
848
|
+
*/
|
|
849
|
+
pki.publicKeyFromPem = function(pem) {
|
|
850
|
+
var msg = forge.pem.decode(pem)[0];
|
|
851
|
+
|
|
852
|
+
if(msg.type !== 'PUBLIC KEY' && msg.type !== 'RSA PUBLIC KEY') {
|
|
853
|
+
var error = new Error('Could not convert public key from PEM; PEM header ' +
|
|
854
|
+
'type is not "PUBLIC KEY" or "RSA PUBLIC KEY".');
|
|
855
|
+
error.headerType = msg.type;
|
|
856
|
+
throw error;
|
|
857
|
+
}
|
|
858
|
+
if(msg.procType && msg.procType.type === 'ENCRYPTED') {
|
|
859
|
+
throw new Error('Could not convert public key from PEM; PEM is encrypted.');
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
// convert DER to ASN.1 object
|
|
863
|
+
var obj = asn1.fromDer(msg.body);
|
|
864
|
+
|
|
865
|
+
return pki.publicKeyFromAsn1(obj);
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Converts an RSA public key to PEM format (using a SubjectPublicKeyInfo).
|
|
870
|
+
*
|
|
871
|
+
* @param key the public key.
|
|
872
|
+
* @param maxline the maximum characters per line, defaults to 64.
|
|
873
|
+
*
|
|
874
|
+
* @return the PEM-formatted public key.
|
|
875
|
+
*/
|
|
876
|
+
pki.publicKeyToPem = function(key, maxline) {
|
|
877
|
+
// convert to ASN.1, then DER, then PEM-encode
|
|
878
|
+
var msg = {
|
|
879
|
+
type: 'PUBLIC KEY',
|
|
880
|
+
body: asn1.toDer(pki.publicKeyToAsn1(key)).getBytes()
|
|
881
|
+
};
|
|
882
|
+
return forge.pem.encode(msg, {maxline: maxline});
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Converts an RSA public key to PEM format (using an RSAPublicKey).
|
|
887
|
+
*
|
|
888
|
+
* @param key the public key.
|
|
889
|
+
* @param maxline the maximum characters per line, defaults to 64.
|
|
890
|
+
*
|
|
891
|
+
* @return the PEM-formatted public key.
|
|
892
|
+
*/
|
|
893
|
+
pki.publicKeyToRSAPublicKeyPem = function(key, maxline) {
|
|
894
|
+
// convert to ASN.1, then DER, then PEM-encode
|
|
895
|
+
var msg = {
|
|
896
|
+
type: 'RSA PUBLIC KEY',
|
|
897
|
+
body: asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes()
|
|
898
|
+
};
|
|
899
|
+
return forge.pem.encode(msg, {maxline: maxline});
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Gets a fingerprint for the given public key.
|
|
904
|
+
*
|
|
905
|
+
* @param options the options to use.
|
|
906
|
+
* [md] the message digest object to use (defaults to forge.md.sha1).
|
|
907
|
+
* [type] the type of fingerprint, such as 'RSAPublicKey',
|
|
908
|
+
* 'SubjectPublicKeyInfo' (defaults to 'RSAPublicKey').
|
|
909
|
+
* [encoding] an alternative output encoding, such as 'hex'
|
|
910
|
+
* (defaults to none, outputs a byte buffer).
|
|
911
|
+
* [delimiter] the delimiter to use between bytes for 'hex' encoded
|
|
912
|
+
* output, eg: ':' (defaults to none).
|
|
913
|
+
*
|
|
914
|
+
* @return the fingerprint as a byte buffer or other encoding based on options.
|
|
915
|
+
*/
|
|
916
|
+
pki.getPublicKeyFingerprint = function(key, options) {
|
|
917
|
+
options = options || {};
|
|
918
|
+
var md = options.md || forge.md.sha1.create();
|
|
919
|
+
var type = options.type || 'RSAPublicKey';
|
|
920
|
+
|
|
921
|
+
var bytes;
|
|
922
|
+
switch(type) {
|
|
923
|
+
case 'RSAPublicKey':
|
|
924
|
+
bytes = asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes();
|
|
925
|
+
break;
|
|
926
|
+
case 'SubjectPublicKeyInfo':
|
|
927
|
+
bytes = asn1.toDer(pki.publicKeyToAsn1(key)).getBytes();
|
|
928
|
+
break;
|
|
929
|
+
default:
|
|
930
|
+
throw new Error('Unknown fingerprint type "' + options.type + '".');
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
// hash public key bytes
|
|
934
|
+
md.start();
|
|
935
|
+
md.update(bytes);
|
|
936
|
+
var digest = md.digest();
|
|
937
|
+
if(options.encoding === 'hex') {
|
|
938
|
+
var hex = digest.toHex();
|
|
939
|
+
if(options.delimiter) {
|
|
940
|
+
return hex.match(/.{2}/g).join(options.delimiter);
|
|
941
|
+
}
|
|
942
|
+
return hex;
|
|
943
|
+
} else if(options.encoding === 'binary') {
|
|
944
|
+
return digest.getBytes();
|
|
945
|
+
} else if(options.encoding) {
|
|
946
|
+
throw new Error('Unknown encoding "' + options.encoding + '".');
|
|
947
|
+
}
|
|
948
|
+
return digest;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Converts a PKCS#10 certification request (CSR) from PEM format.
|
|
953
|
+
*
|
|
954
|
+
* Note: If the certification request is to be verified then compute hash
|
|
955
|
+
* should be set to true. This will scan the CertificationRequestInfo part of
|
|
956
|
+
* the ASN.1 object while it is converted so it doesn't need to be converted
|
|
957
|
+
* back to ASN.1-DER-encoding later.
|
|
958
|
+
*
|
|
959
|
+
* @param pem the PEM-formatted certificate.
|
|
960
|
+
* @param computeHash true to compute the hash for verification.
|
|
961
|
+
* @param strict true to be strict when checking ASN.1 value lengths, false to
|
|
962
|
+
* allow truncated values (default: true).
|
|
963
|
+
*
|
|
964
|
+
* @return the certification request (CSR).
|
|
965
|
+
*/
|
|
966
|
+
pki.certificationRequestFromPem = function(pem, computeHash, strict) {
|
|
967
|
+
var msg = forge.pem.decode(pem)[0];
|
|
968
|
+
|
|
969
|
+
if(msg.type !== 'CERTIFICATE REQUEST') {
|
|
970
|
+
var error = new Error('Could not convert certification request from PEM; ' +
|
|
971
|
+
'PEM header type is not "CERTIFICATE REQUEST".');
|
|
972
|
+
error.headerType = msg.type;
|
|
973
|
+
throw error;
|
|
974
|
+
}
|
|
975
|
+
if(msg.procType && msg.procType.type === 'ENCRYPTED') {
|
|
976
|
+
throw new Error('Could not convert certification request from PEM; ' +
|
|
977
|
+
'PEM is encrypted.');
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
// convert DER to ASN.1 object
|
|
981
|
+
var obj = asn1.fromDer(msg.body, strict);
|
|
982
|
+
|
|
983
|
+
return pki.certificationRequestFromAsn1(obj, computeHash);
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Converts a PKCS#10 certification request (CSR) to PEM format.
|
|
988
|
+
*
|
|
989
|
+
* @param csr the certification request.
|
|
990
|
+
* @param maxline the maximum characters per line, defaults to 64.
|
|
991
|
+
*
|
|
992
|
+
* @return the PEM-formatted certification request.
|
|
993
|
+
*/
|
|
994
|
+
pki.certificationRequestToPem = function(csr, maxline) {
|
|
995
|
+
// convert to ASN.1, then DER, then PEM-encode
|
|
996
|
+
var msg = {
|
|
997
|
+
type: 'CERTIFICATE REQUEST',
|
|
998
|
+
body: asn1.toDer(pki.certificationRequestToAsn1(csr)).getBytes()
|
|
999
|
+
};
|
|
1000
|
+
return forge.pem.encode(msg, {maxline: maxline});
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Creates an empty X.509v3 RSA certificate.
|
|
1005
|
+
*
|
|
1006
|
+
* @return the certificate.
|
|
1007
|
+
*/
|
|
1008
|
+
pki.createCertificate = function() {
|
|
1009
|
+
var cert = {};
|
|
1010
|
+
cert.version = 0x02;
|
|
1011
|
+
cert.serialNumber = '00';
|
|
1012
|
+
cert.signatureOid = null;
|
|
1013
|
+
cert.signature = null;
|
|
1014
|
+
cert.siginfo = {};
|
|
1015
|
+
cert.siginfo.algorithmOid = null;
|
|
1016
|
+
cert.validity = {};
|
|
1017
|
+
cert.validity.notBefore = new Date();
|
|
1018
|
+
cert.validity.notAfter = new Date();
|
|
1019
|
+
|
|
1020
|
+
cert.issuer = {};
|
|
1021
|
+
cert.issuer.getField = function(sn) {
|
|
1022
|
+
return _getAttribute(cert.issuer, sn);
|
|
1023
|
+
};
|
|
1024
|
+
cert.issuer.addField = function(attr) {
|
|
1025
|
+
_fillMissingFields([attr]);
|
|
1026
|
+
cert.issuer.attributes.push(attr);
|
|
1027
|
+
};
|
|
1028
|
+
cert.issuer.attributes = [];
|
|
1029
|
+
cert.issuer.hash = null;
|
|
1030
|
+
|
|
1031
|
+
cert.subject = {};
|
|
1032
|
+
cert.subject.getField = function(sn) {
|
|
1033
|
+
return _getAttribute(cert.subject, sn);
|
|
1034
|
+
};
|
|
1035
|
+
cert.subject.addField = function(attr) {
|
|
1036
|
+
_fillMissingFields([attr]);
|
|
1037
|
+
cert.subject.attributes.push(attr);
|
|
1038
|
+
};
|
|
1039
|
+
cert.subject.attributes = [];
|
|
1040
|
+
cert.subject.hash = null;
|
|
1041
|
+
|
|
1042
|
+
cert.extensions = [];
|
|
1043
|
+
cert.publicKey = null;
|
|
1044
|
+
cert.md = null;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Sets the subject of this certificate.
|
|
1048
|
+
*
|
|
1049
|
+
* @param attrs the array of subject attributes to use.
|
|
1050
|
+
* @param uniqueId an optional a unique ID to use.
|
|
1051
|
+
*/
|
|
1052
|
+
cert.setSubject = function(attrs, uniqueId) {
|
|
1053
|
+
// set new attributes, clear hash
|
|
1054
|
+
_fillMissingFields(attrs);
|
|
1055
|
+
cert.subject.attributes = attrs;
|
|
1056
|
+
delete cert.subject.uniqueId;
|
|
1057
|
+
if(uniqueId) {
|
|
1058
|
+
// TODO: support arbitrary bit length ids
|
|
1059
|
+
cert.subject.uniqueId = uniqueId;
|
|
1060
|
+
}
|
|
1061
|
+
cert.subject.hash = null;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Sets the issuer of this certificate.
|
|
1066
|
+
*
|
|
1067
|
+
* @param attrs the array of issuer attributes to use.
|
|
1068
|
+
* @param uniqueId an optional a unique ID to use.
|
|
1069
|
+
*/
|
|
1070
|
+
cert.setIssuer = function(attrs, uniqueId) {
|
|
1071
|
+
// set new attributes, clear hash
|
|
1072
|
+
_fillMissingFields(attrs);
|
|
1073
|
+
cert.issuer.attributes = attrs;
|
|
1074
|
+
delete cert.issuer.uniqueId;
|
|
1075
|
+
if(uniqueId) {
|
|
1076
|
+
// TODO: support arbitrary bit length ids
|
|
1077
|
+
cert.issuer.uniqueId = uniqueId;
|
|
1078
|
+
}
|
|
1079
|
+
cert.issuer.hash = null;
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Sets the extensions of this certificate.
|
|
1084
|
+
*
|
|
1085
|
+
* @param exts the array of extensions to use.
|
|
1086
|
+
*/
|
|
1087
|
+
cert.setExtensions = function(exts) {
|
|
1088
|
+
for(var i = 0; i < exts.length; ++i) {
|
|
1089
|
+
_fillMissingExtensionFields(exts[i], {cert: cert});
|
|
1090
|
+
}
|
|
1091
|
+
// set new extensions
|
|
1092
|
+
cert.extensions = exts;
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Gets an extension by its name or id.
|
|
1097
|
+
*
|
|
1098
|
+
* @param options the name to use or an object with:
|
|
1099
|
+
* name the name to use.
|
|
1100
|
+
* id the id to use.
|
|
1101
|
+
*
|
|
1102
|
+
* @return the extension or null if not found.
|
|
1103
|
+
*/
|
|
1104
|
+
cert.getExtension = function(options) {
|
|
1105
|
+
if(typeof options === 'string') {
|
|
1106
|
+
options = {name: options};
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
var rval = null;
|
|
1110
|
+
var ext;
|
|
1111
|
+
for(var i = 0; rval === null && i < cert.extensions.length; ++i) {
|
|
1112
|
+
ext = cert.extensions[i];
|
|
1113
|
+
if(options.id && ext.id === options.id) {
|
|
1114
|
+
rval = ext;
|
|
1115
|
+
} else if(options.name && ext.name === options.name) {
|
|
1116
|
+
rval = ext;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
return rval;
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Signs this certificate using the given private key.
|
|
1124
|
+
*
|
|
1125
|
+
* @param key the private key to sign with.
|
|
1126
|
+
* @param md the message digest object to use (defaults to forge.md.sha1).
|
|
1127
|
+
*/
|
|
1128
|
+
cert.sign = function(key, md) {
|
|
1129
|
+
// TODO: get signature OID from private key
|
|
1130
|
+
cert.md = md || forge.md.sha1.create();
|
|
1131
|
+
var algorithmOid = oids[cert.md.algorithm + 'WithRSAEncryption'];
|
|
1132
|
+
if(!algorithmOid) {
|
|
1133
|
+
var error = new Error('Could not compute certificate digest. ' +
|
|
1134
|
+
'Unknown message digest algorithm OID.');
|
|
1135
|
+
error.algorithm = cert.md.algorithm;
|
|
1136
|
+
throw error;
|
|
1137
|
+
}
|
|
1138
|
+
cert.signatureOid = cert.siginfo.algorithmOid = algorithmOid;
|
|
1139
|
+
|
|
1140
|
+
// get TBSCertificate, convert to DER
|
|
1141
|
+
cert.tbsCertificate = pki.getTBSCertificate(cert);
|
|
1142
|
+
var bytes = asn1.toDer(cert.tbsCertificate);
|
|
1143
|
+
|
|
1144
|
+
// digest and sign
|
|
1145
|
+
cert.md.update(bytes.getBytes());
|
|
1146
|
+
cert.signature = key.sign(cert.md);
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Attempts verify the signature on the passed certificate using this
|
|
1151
|
+
* certificate's public key.
|
|
1152
|
+
*
|
|
1153
|
+
* @param child the certificate to verify.
|
|
1154
|
+
*
|
|
1155
|
+
* @return true if verified, false if not.
|
|
1156
|
+
*/
|
|
1157
|
+
cert.verify = function(child) {
|
|
1158
|
+
var rval = false;
|
|
1159
|
+
|
|
1160
|
+
if(!cert.issued(child)) {
|
|
1161
|
+
var issuer = child.issuer;
|
|
1162
|
+
var subject = cert.subject;
|
|
1163
|
+
var error = new Error(
|
|
1164
|
+
'The parent certificate did not issue the given child ' +
|
|
1165
|
+
'certificate; the child certificate\'s issuer does not match the ' +
|
|
1166
|
+
'parent\'s subject.');
|
|
1167
|
+
error.expectedIssuer = subject.attributes;
|
|
1168
|
+
error.actualIssuer = issuer.attributes;
|
|
1169
|
+
throw error;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
var md = child.md;
|
|
1173
|
+
if(md === null) {
|
|
1174
|
+
// create digest for OID signature types
|
|
1175
|
+
md = _createSignatureDigest({
|
|
1176
|
+
signatureOid: child.signatureOid,
|
|
1177
|
+
type: 'certificate'
|
|
1178
|
+
});
|
|
1179
|
+
|
|
1180
|
+
// produce DER formatted TBSCertificate and digest it
|
|
1181
|
+
var tbsCertificate = child.tbsCertificate || pki.getTBSCertificate(child);
|
|
1182
|
+
var bytes = asn1.toDer(tbsCertificate);
|
|
1183
|
+
md.update(bytes.getBytes());
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
if(md !== null) {
|
|
1187
|
+
rval = _verifySignature({
|
|
1188
|
+
certificate: cert, md: md, signature: child.signature
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
return rval;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* Returns true if this certificate's issuer matches the passed
|
|
1197
|
+
* certificate's subject. Note that no signature check is performed.
|
|
1198
|
+
*
|
|
1199
|
+
* @param parent the certificate to check.
|
|
1200
|
+
*
|
|
1201
|
+
* @return true if this certificate's issuer matches the passed certificate's
|
|
1202
|
+
* subject.
|
|
1203
|
+
*/
|
|
1204
|
+
cert.isIssuer = function(parent) {
|
|
1205
|
+
var rval = false;
|
|
1206
|
+
|
|
1207
|
+
var i = cert.issuer;
|
|
1208
|
+
var s = parent.subject;
|
|
1209
|
+
|
|
1210
|
+
// compare hashes if present
|
|
1211
|
+
if(i.hash && s.hash) {
|
|
1212
|
+
rval = (i.hash === s.hash);
|
|
1213
|
+
} else if(i.attributes.length === s.attributes.length) {
|
|
1214
|
+
// all attributes are the same so issuer matches subject
|
|
1215
|
+
rval = true;
|
|
1216
|
+
var iattr, sattr;
|
|
1217
|
+
for(var n = 0; rval && n < i.attributes.length; ++n) {
|
|
1218
|
+
iattr = i.attributes[n];
|
|
1219
|
+
sattr = s.attributes[n];
|
|
1220
|
+
if(iattr.type !== sattr.type || iattr.value !== sattr.value) {
|
|
1221
|
+
// attribute mismatch
|
|
1222
|
+
rval = false;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
return rval;
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Returns true if this certificate's subject matches the issuer of the
|
|
1232
|
+
* given certificate). Note that not signature check is performed.
|
|
1233
|
+
*
|
|
1234
|
+
* @param child the certificate to check.
|
|
1235
|
+
*
|
|
1236
|
+
* @return true if this certificate's subject matches the passed
|
|
1237
|
+
* certificate's issuer.
|
|
1238
|
+
*/
|
|
1239
|
+
cert.issued = function(child) {
|
|
1240
|
+
return child.isIssuer(cert);
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Generates the subjectKeyIdentifier for this certificate as byte buffer.
|
|
1245
|
+
*
|
|
1246
|
+
* @return the subjectKeyIdentifier for this certificate as byte buffer.
|
|
1247
|
+
*/
|
|
1248
|
+
cert.generateSubjectKeyIdentifier = function() {
|
|
1249
|
+
/* See: 4.2.1.2 section of the the RFC3280, keyIdentifier is either:
|
|
1250
|
+
|
|
1251
|
+
(1) The keyIdentifier is composed of the 160-bit SHA-1 hash of the
|
|
1252
|
+
value of the BIT STRING subjectPublicKey (excluding the tag,
|
|
1253
|
+
length, and number of unused bits).
|
|
1254
|
+
|
|
1255
|
+
(2) The keyIdentifier is composed of a four bit type field with
|
|
1256
|
+
the value 0100 followed by the least significant 60 bits of the
|
|
1257
|
+
SHA-1 hash of the value of the BIT STRING subjectPublicKey
|
|
1258
|
+
(excluding the tag, length, and number of unused bit string bits).
|
|
1259
|
+
*/
|
|
1260
|
+
|
|
1261
|
+
// skipping the tag, length, and number of unused bits is the same
|
|
1262
|
+
// as just using the RSAPublicKey (for RSA keys, which are the
|
|
1263
|
+
// only ones supported)
|
|
1264
|
+
return pki.getPublicKeyFingerprint(cert.publicKey, {type: 'RSAPublicKey'});
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Verifies the subjectKeyIdentifier extension value for this certificate
|
|
1269
|
+
* against its public key. If no extension is found, false will be
|
|
1270
|
+
* returned.
|
|
1271
|
+
*
|
|
1272
|
+
* @return true if verified, false if not.
|
|
1273
|
+
*/
|
|
1274
|
+
cert.verifySubjectKeyIdentifier = function() {
|
|
1275
|
+
var oid = oids['subjectKeyIdentifier'];
|
|
1276
|
+
for(var i = 0; i < cert.extensions.length; ++i) {
|
|
1277
|
+
var ext = cert.extensions[i];
|
|
1278
|
+
if(ext.id === oid) {
|
|
1279
|
+
var ski = cert.generateSubjectKeyIdentifier().getBytes();
|
|
1280
|
+
return (forge.util.hexToBytes(ext.subjectKeyIdentifier) === ski);
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
return false;
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
return cert;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Converts an X.509v3 RSA certificate from an ASN.1 object.
|
|
1291
|
+
*
|
|
1292
|
+
* Note: If the certificate is to be verified then compute hash should
|
|
1293
|
+
* be set to true. There is currently no implementation for converting
|
|
1294
|
+
* a certificate back to ASN.1 so the TBSCertificate part of the ASN.1
|
|
1295
|
+
* object needs to be scanned before the cert object is created.
|
|
1296
|
+
*
|
|
1297
|
+
* @param obj the asn1 representation of an X.509v3 RSA certificate.
|
|
1298
|
+
* @param computeHash true to compute the hash for verification.
|
|
1299
|
+
*
|
|
1300
|
+
* @return the certificate.
|
|
1301
|
+
*/
|
|
1302
|
+
pki.certificateFromAsn1 = function(obj, computeHash) {
|
|
1303
|
+
// validate certificate and capture data
|
|
1304
|
+
var capture = {};
|
|
1305
|
+
var errors = [];
|
|
1306
|
+
if(!asn1.validate(obj, x509CertificateValidator, capture, errors)) {
|
|
1307
|
+
var error = new Error('Cannot read X.509 certificate. ' +
|
|
1308
|
+
'ASN.1 object is not an X509v3 Certificate.');
|
|
1309
|
+
error.errors = errors;
|
|
1310
|
+
throw error;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
// get oid
|
|
1314
|
+
var oid = asn1.derToOid(capture.publicKeyOid);
|
|
1315
|
+
if(oid !== pki.oids.rsaEncryption) {
|
|
1316
|
+
throw new Error('Cannot read public key. OID is not RSA.');
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
// create certificate
|
|
1320
|
+
var cert = pki.createCertificate();
|
|
1321
|
+
cert.version = capture.certVersion ?
|
|
1322
|
+
capture.certVersion.charCodeAt(0) : 0;
|
|
1323
|
+
var serial = forge.util.createBuffer(capture.certSerialNumber);
|
|
1324
|
+
cert.serialNumber = serial.toHex();
|
|
1325
|
+
cert.signatureOid = forge.asn1.derToOid(capture.certSignatureOid);
|
|
1326
|
+
cert.signatureParameters = _readSignatureParameters(
|
|
1327
|
+
cert.signatureOid, capture.certSignatureParams, true);
|
|
1328
|
+
cert.siginfo.algorithmOid = forge.asn1.derToOid(capture.certinfoSignatureOid);
|
|
1329
|
+
cert.siginfo.parameters = _readSignatureParameters(cert.siginfo.algorithmOid,
|
|
1330
|
+
capture.certinfoSignatureParams, false);
|
|
1331
|
+
cert.signature = capture.certSignature;
|
|
1332
|
+
|
|
1333
|
+
var validity = [];
|
|
1334
|
+
if(capture.certValidity1UTCTime !== undefined) {
|
|
1335
|
+
validity.push(asn1.utcTimeToDate(capture.certValidity1UTCTime));
|
|
1336
|
+
}
|
|
1337
|
+
if(capture.certValidity2GeneralizedTime !== undefined) {
|
|
1338
|
+
validity.push(asn1.generalizedTimeToDate(
|
|
1339
|
+
capture.certValidity2GeneralizedTime));
|
|
1340
|
+
}
|
|
1341
|
+
if(capture.certValidity3UTCTime !== undefined) {
|
|
1342
|
+
validity.push(asn1.utcTimeToDate(capture.certValidity3UTCTime));
|
|
1343
|
+
}
|
|
1344
|
+
if(capture.certValidity4GeneralizedTime !== undefined) {
|
|
1345
|
+
validity.push(asn1.generalizedTimeToDate(
|
|
1346
|
+
capture.certValidity4GeneralizedTime));
|
|
1347
|
+
}
|
|
1348
|
+
if(validity.length > 2) {
|
|
1349
|
+
throw new Error('Cannot read notBefore/notAfter validity times; more ' +
|
|
1350
|
+
'than two times were provided in the certificate.');
|
|
1351
|
+
}
|
|
1352
|
+
if(validity.length < 2) {
|
|
1353
|
+
throw new Error('Cannot read notBefore/notAfter validity times; they ' +
|
|
1354
|
+
'were not provided as either UTCTime or GeneralizedTime.');
|
|
1355
|
+
}
|
|
1356
|
+
cert.validity.notBefore = validity[0];
|
|
1357
|
+
cert.validity.notAfter = validity[1];
|
|
1358
|
+
|
|
1359
|
+
// keep TBSCertificate to preserve signature when exporting
|
|
1360
|
+
cert.tbsCertificate = capture.tbsCertificate;
|
|
1361
|
+
|
|
1362
|
+
if(computeHash) {
|
|
1363
|
+
// create digest for OID signature type
|
|
1364
|
+
cert.md = _createSignatureDigest({
|
|
1365
|
+
signatureOid: cert.signatureOid,
|
|
1366
|
+
type: 'certificate'
|
|
1367
|
+
});
|
|
1368
|
+
|
|
1369
|
+
// produce DER formatted TBSCertificate and digest it
|
|
1370
|
+
var bytes = asn1.toDer(cert.tbsCertificate);
|
|
1371
|
+
cert.md.update(bytes.getBytes());
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
// handle issuer, build issuer message digest
|
|
1375
|
+
var imd = forge.md.sha1.create();
|
|
1376
|
+
var ibytes = asn1.toDer(capture.certIssuer);
|
|
1377
|
+
imd.update(ibytes.getBytes());
|
|
1378
|
+
cert.issuer.getField = function(sn) {
|
|
1379
|
+
return _getAttribute(cert.issuer, sn);
|
|
1380
|
+
};
|
|
1381
|
+
cert.issuer.addField = function(attr) {
|
|
1382
|
+
_fillMissingFields([attr]);
|
|
1383
|
+
cert.issuer.attributes.push(attr);
|
|
1384
|
+
};
|
|
1385
|
+
cert.issuer.attributes = pki.RDNAttributesAsArray(capture.certIssuer);
|
|
1386
|
+
if(capture.certIssuerUniqueId) {
|
|
1387
|
+
cert.issuer.uniqueId = capture.certIssuerUniqueId;
|
|
1388
|
+
}
|
|
1389
|
+
cert.issuer.hash = imd.digest().toHex();
|
|
1390
|
+
|
|
1391
|
+
// handle subject, build subject message digest
|
|
1392
|
+
var smd = forge.md.sha1.create();
|
|
1393
|
+
var sbytes = asn1.toDer(capture.certSubject);
|
|
1394
|
+
smd.update(sbytes.getBytes());
|
|
1395
|
+
cert.subject.getField = function(sn) {
|
|
1396
|
+
return _getAttribute(cert.subject, sn);
|
|
1397
|
+
};
|
|
1398
|
+
cert.subject.addField = function(attr) {
|
|
1399
|
+
_fillMissingFields([attr]);
|
|
1400
|
+
cert.subject.attributes.push(attr);
|
|
1401
|
+
};
|
|
1402
|
+
cert.subject.attributes = pki.RDNAttributesAsArray(capture.certSubject);
|
|
1403
|
+
if(capture.certSubjectUniqueId) {
|
|
1404
|
+
cert.subject.uniqueId = capture.certSubjectUniqueId;
|
|
1405
|
+
}
|
|
1406
|
+
cert.subject.hash = smd.digest().toHex();
|
|
1407
|
+
|
|
1408
|
+
// handle extensions
|
|
1409
|
+
if(capture.certExtensions) {
|
|
1410
|
+
cert.extensions = pki.certificateExtensionsFromAsn1(capture.certExtensions);
|
|
1411
|
+
} else {
|
|
1412
|
+
cert.extensions = [];
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
// convert RSA public key from ASN.1
|
|
1416
|
+
cert.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo);
|
|
1417
|
+
|
|
1418
|
+
return cert;
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Converts an ASN.1 extensions object (with extension sequences as its
|
|
1423
|
+
* values) into an array of extension objects with types and values.
|
|
1424
|
+
*
|
|
1425
|
+
* Supported extensions:
|
|
1426
|
+
*
|
|
1427
|
+
* id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 }
|
|
1428
|
+
* KeyUsage ::= BIT STRING {
|
|
1429
|
+
* digitalSignature (0),
|
|
1430
|
+
* nonRepudiation (1),
|
|
1431
|
+
* keyEncipherment (2),
|
|
1432
|
+
* dataEncipherment (3),
|
|
1433
|
+
* keyAgreement (4),
|
|
1434
|
+
* keyCertSign (5),
|
|
1435
|
+
* cRLSign (6),
|
|
1436
|
+
* encipherOnly (7),
|
|
1437
|
+
* decipherOnly (8)
|
|
1438
|
+
* }
|
|
1439
|
+
*
|
|
1440
|
+
* id-ce-basicConstraints OBJECT IDENTIFIER ::= { id-ce 19 }
|
|
1441
|
+
* BasicConstraints ::= SEQUENCE {
|
|
1442
|
+
* cA BOOLEAN DEFAULT FALSE,
|
|
1443
|
+
* pathLenConstraint INTEGER (0..MAX) OPTIONAL
|
|
1444
|
+
* }
|
|
1445
|
+
*
|
|
1446
|
+
* subjectAltName EXTENSION ::= {
|
|
1447
|
+
* SYNTAX GeneralNames
|
|
1448
|
+
* IDENTIFIED BY id-ce-subjectAltName
|
|
1449
|
+
* }
|
|
1450
|
+
*
|
|
1451
|
+
* GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
|
|
1452
|
+
*
|
|
1453
|
+
* GeneralName ::= CHOICE {
|
|
1454
|
+
* otherName [0] INSTANCE OF OTHER-NAME,
|
|
1455
|
+
* rfc822Name [1] IA5String,
|
|
1456
|
+
* dNSName [2] IA5String,
|
|
1457
|
+
* x400Address [3] ORAddress,
|
|
1458
|
+
* directoryName [4] Name,
|
|
1459
|
+
* ediPartyName [5] EDIPartyName,
|
|
1460
|
+
* uniformResourceIdentifier [6] IA5String,
|
|
1461
|
+
* IPAddress [7] OCTET STRING,
|
|
1462
|
+
* registeredID [8] OBJECT IDENTIFIER
|
|
1463
|
+
* }
|
|
1464
|
+
*
|
|
1465
|
+
* OTHER-NAME ::= TYPE-IDENTIFIER
|
|
1466
|
+
*
|
|
1467
|
+
* EDIPartyName ::= SEQUENCE {
|
|
1468
|
+
* nameAssigner [0] DirectoryString {ub-name} OPTIONAL,
|
|
1469
|
+
* partyName [1] DirectoryString {ub-name}
|
|
1470
|
+
* }
|
|
1471
|
+
*
|
|
1472
|
+
* @param exts the extensions ASN.1 with extension sequences to parse.
|
|
1473
|
+
*
|
|
1474
|
+
* @return the array.
|
|
1475
|
+
*/
|
|
1476
|
+
pki.certificateExtensionsFromAsn1 = function(exts) {
|
|
1477
|
+
var rval = [];
|
|
1478
|
+
for(var i = 0; i < exts.value.length; ++i) {
|
|
1479
|
+
// get extension sequence
|
|
1480
|
+
var extseq = exts.value[i];
|
|
1481
|
+
for(var ei = 0; ei < extseq.value.length; ++ei) {
|
|
1482
|
+
rval.push(pki.certificateExtensionFromAsn1(extseq.value[ei]));
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
return rval;
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Parses a single certificate extension from ASN.1.
|
|
1491
|
+
*
|
|
1492
|
+
* @param ext the extension in ASN.1 format.
|
|
1493
|
+
*
|
|
1494
|
+
* @return the parsed extension as an object.
|
|
1495
|
+
*/
|
|
1496
|
+
pki.certificateExtensionFromAsn1 = function(ext) {
|
|
1497
|
+
// an extension has:
|
|
1498
|
+
// [0] extnID OBJECT IDENTIFIER
|
|
1499
|
+
// [1] critical BOOLEAN DEFAULT FALSE
|
|
1500
|
+
// [2] extnValue OCTET STRING
|
|
1501
|
+
var e = {};
|
|
1502
|
+
e.id = asn1.derToOid(ext.value[0].value);
|
|
1503
|
+
e.critical = false;
|
|
1504
|
+
if(ext.value[1].type === asn1.Type.BOOLEAN) {
|
|
1505
|
+
e.critical = (ext.value[1].value.charCodeAt(0) !== 0x00);
|
|
1506
|
+
e.value = ext.value[2].value;
|
|
1507
|
+
} else {
|
|
1508
|
+
e.value = ext.value[1].value;
|
|
1509
|
+
}
|
|
1510
|
+
// if the oid is known, get its name
|
|
1511
|
+
if(e.id in oids) {
|
|
1512
|
+
e.name = oids[e.id];
|
|
1513
|
+
|
|
1514
|
+
// handle key usage
|
|
1515
|
+
if(e.name === 'keyUsage') {
|
|
1516
|
+
// get value as BIT STRING
|
|
1517
|
+
var ev = asn1.fromDer(e.value);
|
|
1518
|
+
var b2 = 0x00;
|
|
1519
|
+
var b3 = 0x00;
|
|
1520
|
+
if(ev.value.length > 1) {
|
|
1521
|
+
// skip first byte, just indicates unused bits which
|
|
1522
|
+
// will be padded with 0s anyway
|
|
1523
|
+
// get bytes with flag bits
|
|
1524
|
+
b2 = ev.value.charCodeAt(1);
|
|
1525
|
+
b3 = ev.value.length > 2 ? ev.value.charCodeAt(2) : 0;
|
|
1526
|
+
}
|
|
1527
|
+
// set flags
|
|
1528
|
+
e.digitalSignature = (b2 & 0x80) === 0x80;
|
|
1529
|
+
e.nonRepudiation = (b2 & 0x40) === 0x40;
|
|
1530
|
+
e.keyEncipherment = (b2 & 0x20) === 0x20;
|
|
1531
|
+
e.dataEncipherment = (b2 & 0x10) === 0x10;
|
|
1532
|
+
e.keyAgreement = (b2 & 0x08) === 0x08;
|
|
1533
|
+
e.keyCertSign = (b2 & 0x04) === 0x04;
|
|
1534
|
+
e.cRLSign = (b2 & 0x02) === 0x02;
|
|
1535
|
+
e.encipherOnly = (b2 & 0x01) === 0x01;
|
|
1536
|
+
e.decipherOnly = (b3 & 0x80) === 0x80;
|
|
1537
|
+
} else if(e.name === 'basicConstraints') {
|
|
1538
|
+
// handle basic constraints
|
|
1539
|
+
// get value as SEQUENCE
|
|
1540
|
+
var ev = asn1.fromDer(e.value);
|
|
1541
|
+
// get cA BOOLEAN flag (defaults to false)
|
|
1542
|
+
if(ev.value.length > 0 && ev.value[0].type === asn1.Type.BOOLEAN) {
|
|
1543
|
+
e.cA = (ev.value[0].value.charCodeAt(0) !== 0x00);
|
|
1544
|
+
} else {
|
|
1545
|
+
e.cA = false;
|
|
1546
|
+
}
|
|
1547
|
+
// get path length constraint
|
|
1548
|
+
var value = null;
|
|
1549
|
+
if(ev.value.length > 0 && ev.value[0].type === asn1.Type.INTEGER) {
|
|
1550
|
+
value = ev.value[0].value;
|
|
1551
|
+
} else if(ev.value.length > 1) {
|
|
1552
|
+
value = ev.value[1].value;
|
|
1553
|
+
}
|
|
1554
|
+
if(value !== null) {
|
|
1555
|
+
e.pathLenConstraint = asn1.derToInteger(value);
|
|
1556
|
+
}
|
|
1557
|
+
} else if(e.name === 'extKeyUsage') {
|
|
1558
|
+
// handle extKeyUsage
|
|
1559
|
+
// value is a SEQUENCE of OIDs
|
|
1560
|
+
var ev = asn1.fromDer(e.value);
|
|
1561
|
+
for(var vi = 0; vi < ev.value.length; ++vi) {
|
|
1562
|
+
var oid = asn1.derToOid(ev.value[vi].value);
|
|
1563
|
+
if(oid in oids) {
|
|
1564
|
+
e[oids[oid]] = true;
|
|
1565
|
+
} else {
|
|
1566
|
+
e[oid] = true;
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
} else if(e.name === 'nsCertType') {
|
|
1570
|
+
// handle nsCertType
|
|
1571
|
+
// get value as BIT STRING
|
|
1572
|
+
var ev = asn1.fromDer(e.value);
|
|
1573
|
+
var b2 = 0x00;
|
|
1574
|
+
if(ev.value.length > 1) {
|
|
1575
|
+
// skip first byte, just indicates unused bits which
|
|
1576
|
+
// will be padded with 0s anyway
|
|
1577
|
+
// get bytes with flag bits
|
|
1578
|
+
b2 = ev.value.charCodeAt(1);
|
|
1579
|
+
}
|
|
1580
|
+
// set flags
|
|
1581
|
+
e.client = (b2 & 0x80) === 0x80;
|
|
1582
|
+
e.server = (b2 & 0x40) === 0x40;
|
|
1583
|
+
e.email = (b2 & 0x20) === 0x20;
|
|
1584
|
+
e.objsign = (b2 & 0x10) === 0x10;
|
|
1585
|
+
e.reserved = (b2 & 0x08) === 0x08;
|
|
1586
|
+
e.sslCA = (b2 & 0x04) === 0x04;
|
|
1587
|
+
e.emailCA = (b2 & 0x02) === 0x02;
|
|
1588
|
+
e.objCA = (b2 & 0x01) === 0x01;
|
|
1589
|
+
} else if(
|
|
1590
|
+
e.name === 'subjectAltName' ||
|
|
1591
|
+
e.name === 'issuerAltName') {
|
|
1592
|
+
// handle subjectAltName/issuerAltName
|
|
1593
|
+
e.altNames = [];
|
|
1594
|
+
|
|
1595
|
+
// ev is a SYNTAX SEQUENCE
|
|
1596
|
+
var gn;
|
|
1597
|
+
var ev = asn1.fromDer(e.value);
|
|
1598
|
+
for(var n = 0; n < ev.value.length; ++n) {
|
|
1599
|
+
// get GeneralName
|
|
1600
|
+
gn = ev.value[n];
|
|
1601
|
+
|
|
1602
|
+
var altName = {
|
|
1603
|
+
type: gn.type,
|
|
1604
|
+
value: gn.value
|
|
1605
|
+
};
|
|
1606
|
+
e.altNames.push(altName);
|
|
1607
|
+
|
|
1608
|
+
// Note: Support for types 1,2,6,7,8
|
|
1609
|
+
switch(gn.type) {
|
|
1610
|
+
// rfc822Name
|
|
1611
|
+
case 1:
|
|
1612
|
+
// dNSName
|
|
1613
|
+
case 2:
|
|
1614
|
+
// uniformResourceIdentifier (URI)
|
|
1615
|
+
case 6:
|
|
1616
|
+
break;
|
|
1617
|
+
// IPAddress
|
|
1618
|
+
case 7:
|
|
1619
|
+
// convert to IPv4/IPv6 string representation
|
|
1620
|
+
altName.ip = forge.util.bytesToIP(gn.value);
|
|
1621
|
+
break;
|
|
1622
|
+
// registeredID
|
|
1623
|
+
case 8:
|
|
1624
|
+
altName.oid = asn1.derToOid(gn.value);
|
|
1625
|
+
break;
|
|
1626
|
+
default:
|
|
1627
|
+
// unsupported
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
} else if(e.name === 'subjectKeyIdentifier') {
|
|
1631
|
+
// value is an OCTETSTRING w/the hash of the key-type specific
|
|
1632
|
+
// public key structure (eg: RSAPublicKey)
|
|
1633
|
+
var ev = asn1.fromDer(e.value);
|
|
1634
|
+
e.subjectKeyIdentifier = forge.util.bytesToHex(ev.value);
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
return e;
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Converts a PKCS#10 certification request (CSR) from an ASN.1 object.
|
|
1642
|
+
*
|
|
1643
|
+
* Note: If the certification request is to be verified then compute hash
|
|
1644
|
+
* should be set to true. There is currently no implementation for converting
|
|
1645
|
+
* a certificate back to ASN.1 so the CertificationRequestInfo part of the
|
|
1646
|
+
* ASN.1 object needs to be scanned before the csr object is created.
|
|
1647
|
+
*
|
|
1648
|
+
* @param obj the asn1 representation of a PKCS#10 certification request (CSR).
|
|
1649
|
+
* @param computeHash true to compute the hash for verification.
|
|
1650
|
+
*
|
|
1651
|
+
* @return the certification request (CSR).
|
|
1652
|
+
*/
|
|
1653
|
+
pki.certificationRequestFromAsn1 = function(obj, computeHash) {
|
|
1654
|
+
// validate certification request and capture data
|
|
1655
|
+
var capture = {};
|
|
1656
|
+
var errors = [];
|
|
1657
|
+
if(!asn1.validate(obj, certificationRequestValidator, capture, errors)) {
|
|
1658
|
+
var error = new Error('Cannot read PKCS#10 certificate request. ' +
|
|
1659
|
+
'ASN.1 object is not a PKCS#10 CertificationRequest.');
|
|
1660
|
+
error.errors = errors;
|
|
1661
|
+
throw error;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
// get oid
|
|
1665
|
+
var oid = asn1.derToOid(capture.publicKeyOid);
|
|
1666
|
+
if(oid !== pki.oids.rsaEncryption) {
|
|
1667
|
+
throw new Error('Cannot read public key. OID is not RSA.');
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
// create certification request
|
|
1671
|
+
var csr = pki.createCertificationRequest();
|
|
1672
|
+
csr.version = capture.csrVersion ? capture.csrVersion.charCodeAt(0) : 0;
|
|
1673
|
+
csr.signatureOid = forge.asn1.derToOid(capture.csrSignatureOid);
|
|
1674
|
+
csr.signatureParameters = _readSignatureParameters(
|
|
1675
|
+
csr.signatureOid, capture.csrSignatureParams, true);
|
|
1676
|
+
csr.siginfo.algorithmOid = forge.asn1.derToOid(capture.csrSignatureOid);
|
|
1677
|
+
csr.siginfo.parameters = _readSignatureParameters(
|
|
1678
|
+
csr.siginfo.algorithmOid, capture.csrSignatureParams, false);
|
|
1679
|
+
csr.signature = capture.csrSignature;
|
|
1680
|
+
|
|
1681
|
+
// keep CertificationRequestInfo to preserve signature when exporting
|
|
1682
|
+
csr.certificationRequestInfo = capture.certificationRequestInfo;
|
|
1683
|
+
|
|
1684
|
+
if(computeHash) {
|
|
1685
|
+
// create digest for OID signature type
|
|
1686
|
+
csr.md = _createSignatureDigest({
|
|
1687
|
+
signatureOid: csr.signatureOid,
|
|
1688
|
+
type: 'certification request'
|
|
1689
|
+
});
|
|
1690
|
+
|
|
1691
|
+
// produce DER formatted CertificationRequestInfo and digest it
|
|
1692
|
+
var bytes = asn1.toDer(csr.certificationRequestInfo);
|
|
1693
|
+
csr.md.update(bytes.getBytes());
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
// handle subject, build subject message digest
|
|
1697
|
+
var smd = forge.md.sha1.create();
|
|
1698
|
+
csr.subject.getField = function(sn) {
|
|
1699
|
+
return _getAttribute(csr.subject, sn);
|
|
1700
|
+
};
|
|
1701
|
+
csr.subject.addField = function(attr) {
|
|
1702
|
+
_fillMissingFields([attr]);
|
|
1703
|
+
csr.subject.attributes.push(attr);
|
|
1704
|
+
};
|
|
1705
|
+
csr.subject.attributes = pki.RDNAttributesAsArray(
|
|
1706
|
+
capture.certificationRequestInfoSubject, smd);
|
|
1707
|
+
csr.subject.hash = smd.digest().toHex();
|
|
1708
|
+
|
|
1709
|
+
// convert RSA public key from ASN.1
|
|
1710
|
+
csr.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo);
|
|
1711
|
+
|
|
1712
|
+
// convert attributes from ASN.1
|
|
1713
|
+
csr.getAttribute = function(sn) {
|
|
1714
|
+
return _getAttribute(csr, sn);
|
|
1715
|
+
};
|
|
1716
|
+
csr.addAttribute = function(attr) {
|
|
1717
|
+
_fillMissingFields([attr]);
|
|
1718
|
+
csr.attributes.push(attr);
|
|
1719
|
+
};
|
|
1720
|
+
csr.attributes = pki.CRIAttributesAsArray(
|
|
1721
|
+
capture.certificationRequestInfoAttributes || []);
|
|
1722
|
+
|
|
1723
|
+
return csr;
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Creates an empty certification request (a CSR or certificate signing
|
|
1728
|
+
* request). Once created, its public key and attributes can be set and then
|
|
1729
|
+
* it can be signed.
|
|
1730
|
+
*
|
|
1731
|
+
* @return the empty certification request.
|
|
1732
|
+
*/
|
|
1733
|
+
pki.createCertificationRequest = function() {
|
|
1734
|
+
var csr = {};
|
|
1735
|
+
csr.version = 0x00;
|
|
1736
|
+
csr.signatureOid = null;
|
|
1737
|
+
csr.signature = null;
|
|
1738
|
+
csr.siginfo = {};
|
|
1739
|
+
csr.siginfo.algorithmOid = null;
|
|
1740
|
+
|
|
1741
|
+
csr.subject = {};
|
|
1742
|
+
csr.subject.getField = function(sn) {
|
|
1743
|
+
return _getAttribute(csr.subject, sn);
|
|
1744
|
+
};
|
|
1745
|
+
csr.subject.addField = function(attr) {
|
|
1746
|
+
_fillMissingFields([attr]);
|
|
1747
|
+
csr.subject.attributes.push(attr);
|
|
1748
|
+
};
|
|
1749
|
+
csr.subject.attributes = [];
|
|
1750
|
+
csr.subject.hash = null;
|
|
1751
|
+
|
|
1752
|
+
csr.publicKey = null;
|
|
1753
|
+
csr.attributes = [];
|
|
1754
|
+
csr.getAttribute = function(sn) {
|
|
1755
|
+
return _getAttribute(csr, sn);
|
|
1756
|
+
};
|
|
1757
|
+
csr.addAttribute = function(attr) {
|
|
1758
|
+
_fillMissingFields([attr]);
|
|
1759
|
+
csr.attributes.push(attr);
|
|
1760
|
+
};
|
|
1761
|
+
csr.md = null;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Sets the subject of this certification request.
|
|
1765
|
+
*
|
|
1766
|
+
* @param attrs the array of subject attributes to use.
|
|
1767
|
+
*/
|
|
1768
|
+
csr.setSubject = function(attrs) {
|
|
1769
|
+
// set new attributes
|
|
1770
|
+
_fillMissingFields(attrs);
|
|
1771
|
+
csr.subject.attributes = attrs;
|
|
1772
|
+
csr.subject.hash = null;
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Sets the attributes of this certification request.
|
|
1777
|
+
*
|
|
1778
|
+
* @param attrs the array of attributes to use.
|
|
1779
|
+
*/
|
|
1780
|
+
csr.setAttributes = function(attrs) {
|
|
1781
|
+
// set new attributes
|
|
1782
|
+
_fillMissingFields(attrs);
|
|
1783
|
+
csr.attributes = attrs;
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* Signs this certification request using the given private key.
|
|
1788
|
+
*
|
|
1789
|
+
* @param key the private key to sign with.
|
|
1790
|
+
* @param md the message digest object to use (defaults to forge.md.sha1).
|
|
1791
|
+
*/
|
|
1792
|
+
csr.sign = function(key, md) {
|
|
1793
|
+
// TODO: get signature OID from private key
|
|
1794
|
+
csr.md = md || forge.md.sha1.create();
|
|
1795
|
+
var algorithmOid = oids[csr.md.algorithm + 'WithRSAEncryption'];
|
|
1796
|
+
if(!algorithmOid) {
|
|
1797
|
+
var error = new Error('Could not compute certification request digest. ' +
|
|
1798
|
+
'Unknown message digest algorithm OID.');
|
|
1799
|
+
error.algorithm = csr.md.algorithm;
|
|
1800
|
+
throw error;
|
|
1801
|
+
}
|
|
1802
|
+
csr.signatureOid = csr.siginfo.algorithmOid = algorithmOid;
|
|
1803
|
+
|
|
1804
|
+
// get CertificationRequestInfo, convert to DER
|
|
1805
|
+
csr.certificationRequestInfo = pki.getCertificationRequestInfo(csr);
|
|
1806
|
+
var bytes = asn1.toDer(csr.certificationRequestInfo);
|
|
1807
|
+
|
|
1808
|
+
// digest and sign
|
|
1809
|
+
csr.md.update(bytes.getBytes());
|
|
1810
|
+
csr.signature = key.sign(csr.md);
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Attempts verify the signature on the passed certification request using
|
|
1815
|
+
* its public key.
|
|
1816
|
+
*
|
|
1817
|
+
* A CSR that has been exported to a file in PEM format can be verified using
|
|
1818
|
+
* OpenSSL using this command:
|
|
1819
|
+
*
|
|
1820
|
+
* openssl req -in <the-csr-pem-file> -verify -noout -text
|
|
1821
|
+
*
|
|
1822
|
+
* @return true if verified, false if not.
|
|
1823
|
+
*/
|
|
1824
|
+
csr.verify = function() {
|
|
1825
|
+
var rval = false;
|
|
1826
|
+
|
|
1827
|
+
var md = csr.md;
|
|
1828
|
+
if(md === null) {
|
|
1829
|
+
md = _createSignatureDigest({
|
|
1830
|
+
signatureOid: csr.signatureOid,
|
|
1831
|
+
type: 'certification request'
|
|
1832
|
+
});
|
|
1833
|
+
|
|
1834
|
+
// produce DER formatted CertificationRequestInfo and digest it
|
|
1835
|
+
var cri = csr.certificationRequestInfo ||
|
|
1836
|
+
pki.getCertificationRequestInfo(csr);
|
|
1837
|
+
var bytes = asn1.toDer(cri);
|
|
1838
|
+
md.update(bytes.getBytes());
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
if(md !== null) {
|
|
1842
|
+
rval = _verifySignature({
|
|
1843
|
+
certificate: csr, md: md, signature: csr.signature
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
return rval;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
return csr;
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Converts an X.509 subject or issuer to an ASN.1 RDNSequence.
|
|
1855
|
+
*
|
|
1856
|
+
* @param obj the subject or issuer (distinguished name).
|
|
1857
|
+
*
|
|
1858
|
+
* @return the ASN.1 RDNSequence.
|
|
1859
|
+
*/
|
|
1860
|
+
function _dnToAsn1(obj) {
|
|
1861
|
+
// create an empty RDNSequence
|
|
1862
|
+
var rval = asn1.create(
|
|
1863
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
1864
|
+
|
|
1865
|
+
// iterate over attributes
|
|
1866
|
+
var attr, set;
|
|
1867
|
+
var attrs = obj.attributes;
|
|
1868
|
+
for(var i = 0; i < attrs.length; ++i) {
|
|
1869
|
+
attr = attrs[i];
|
|
1870
|
+
var value = attr.value;
|
|
1871
|
+
|
|
1872
|
+
// reuse tag class for attribute value if available
|
|
1873
|
+
var valueTagClass = asn1.Type.PRINTABLESTRING;
|
|
1874
|
+
if('valueTagClass' in attr) {
|
|
1875
|
+
valueTagClass = attr.valueTagClass;
|
|
1876
|
+
|
|
1877
|
+
if(valueTagClass === asn1.Type.UTF8) {
|
|
1878
|
+
value = forge.util.encodeUtf8(value);
|
|
1879
|
+
}
|
|
1880
|
+
// FIXME: handle more encodings
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
// create a RelativeDistinguishedName set
|
|
1884
|
+
// each value in the set is an AttributeTypeAndValue first
|
|
1885
|
+
// containing the type (an OID) and second the value
|
|
1886
|
+
set = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [
|
|
1887
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
1888
|
+
// AttributeType
|
|
1889
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
1890
|
+
asn1.oidToDer(attr.type).getBytes()),
|
|
1891
|
+
// AttributeValue
|
|
1892
|
+
asn1.create(asn1.Class.UNIVERSAL, valueTagClass, false, value)
|
|
1893
|
+
])
|
|
1894
|
+
]);
|
|
1895
|
+
rval.value.push(set);
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
return rval;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* Gets all printable attributes (typically of an issuer or subject) in a
|
|
1903
|
+
* simplified JSON format for display.
|
|
1904
|
+
*
|
|
1905
|
+
* @param attrs the attributes.
|
|
1906
|
+
*
|
|
1907
|
+
* @return the JSON for display.
|
|
1908
|
+
*/
|
|
1909
|
+
function _getAttributesAsJson(attrs) {
|
|
1910
|
+
var rval = {};
|
|
1911
|
+
for(var i = 0; i < attrs.length; ++i) {
|
|
1912
|
+
var attr = attrs[i];
|
|
1913
|
+
if(attr.shortName && (
|
|
1914
|
+
attr.valueTagClass === asn1.Type.UTF8 ||
|
|
1915
|
+
attr.valueTagClass === asn1.Type.PRINTABLESTRING ||
|
|
1916
|
+
attr.valueTagClass === asn1.Type.IA5STRING)) {
|
|
1917
|
+
var value = attr.value;
|
|
1918
|
+
if(attr.valueTagClass === asn1.Type.UTF8) {
|
|
1919
|
+
value = forge.util.encodeUtf8(attr.value);
|
|
1920
|
+
}
|
|
1921
|
+
if(!(attr.shortName in rval)) {
|
|
1922
|
+
rval[attr.shortName] = value;
|
|
1923
|
+
} else if(forge.util.isArray(rval[attr.shortName])) {
|
|
1924
|
+
rval[attr.shortName].push(value);
|
|
1925
|
+
} else {
|
|
1926
|
+
rval[attr.shortName] = [rval[attr.shortName], value];
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
return rval;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* Fills in missing fields in attributes.
|
|
1935
|
+
*
|
|
1936
|
+
* @param attrs the attributes to fill missing fields in.
|
|
1937
|
+
*/
|
|
1938
|
+
function _fillMissingFields(attrs) {
|
|
1939
|
+
var attr;
|
|
1940
|
+
for(var i = 0; i < attrs.length; ++i) {
|
|
1941
|
+
attr = attrs[i];
|
|
1942
|
+
|
|
1943
|
+
// populate missing name
|
|
1944
|
+
if(typeof attr.name === 'undefined') {
|
|
1945
|
+
if(attr.type && attr.type in pki.oids) {
|
|
1946
|
+
attr.name = pki.oids[attr.type];
|
|
1947
|
+
} else if(attr.shortName && attr.shortName in _shortNames) {
|
|
1948
|
+
attr.name = pki.oids[_shortNames[attr.shortName]];
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
// populate missing type (OID)
|
|
1953
|
+
if(typeof attr.type === 'undefined') {
|
|
1954
|
+
if(attr.name && attr.name in pki.oids) {
|
|
1955
|
+
attr.type = pki.oids[attr.name];
|
|
1956
|
+
} else {
|
|
1957
|
+
var error = new Error('Attribute type not specified.');
|
|
1958
|
+
error.attribute = attr;
|
|
1959
|
+
throw error;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
// populate missing shortname
|
|
1964
|
+
if(typeof attr.shortName === 'undefined') {
|
|
1965
|
+
if(attr.name && attr.name in _shortNames) {
|
|
1966
|
+
attr.shortName = _shortNames[attr.name];
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
// convert extensions to value
|
|
1971
|
+
if(attr.type === oids.extensionRequest) {
|
|
1972
|
+
attr.valueConstructed = true;
|
|
1973
|
+
attr.valueTagClass = asn1.Type.SEQUENCE;
|
|
1974
|
+
if(!attr.value && attr.extensions) {
|
|
1975
|
+
attr.value = [];
|
|
1976
|
+
for(var ei = 0; ei < attr.extensions.length; ++ei) {
|
|
1977
|
+
attr.value.push(pki.certificateExtensionToAsn1(
|
|
1978
|
+
_fillMissingExtensionFields(attr.extensions[ei])));
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
if(typeof attr.value === 'undefined') {
|
|
1984
|
+
var error = new Error('Attribute value not specified.');
|
|
1985
|
+
error.attribute = attr;
|
|
1986
|
+
throw error;
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Fills in missing fields in certificate extensions.
|
|
1993
|
+
*
|
|
1994
|
+
* @param e the extension.
|
|
1995
|
+
* @param [options] the options to use.
|
|
1996
|
+
* [cert] the certificate the extensions are for.
|
|
1997
|
+
*
|
|
1998
|
+
* @return the extension.
|
|
1999
|
+
*/
|
|
2000
|
+
function _fillMissingExtensionFields(e, options) {
|
|
2001
|
+
options = options || {};
|
|
2002
|
+
|
|
2003
|
+
// populate missing name
|
|
2004
|
+
if(typeof e.name === 'undefined') {
|
|
2005
|
+
if(e.id && e.id in pki.oids) {
|
|
2006
|
+
e.name = pki.oids[e.id];
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
// populate missing id
|
|
2011
|
+
if(typeof e.id === 'undefined') {
|
|
2012
|
+
if(e.name && e.name in pki.oids) {
|
|
2013
|
+
e.id = pki.oids[e.name];
|
|
2014
|
+
} else {
|
|
2015
|
+
var error = new Error('Extension ID not specified.');
|
|
2016
|
+
error.extension = e;
|
|
2017
|
+
throw error;
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
if(typeof e.value !== 'undefined') {
|
|
2022
|
+
return e;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
// handle missing value:
|
|
2026
|
+
|
|
2027
|
+
// value is a BIT STRING
|
|
2028
|
+
if(e.name === 'keyUsage') {
|
|
2029
|
+
// build flags
|
|
2030
|
+
var unused = 0;
|
|
2031
|
+
var b2 = 0x00;
|
|
2032
|
+
var b3 = 0x00;
|
|
2033
|
+
if(e.digitalSignature) {
|
|
2034
|
+
b2 |= 0x80;
|
|
2035
|
+
unused = 7;
|
|
2036
|
+
}
|
|
2037
|
+
if(e.nonRepudiation) {
|
|
2038
|
+
b2 |= 0x40;
|
|
2039
|
+
unused = 6;
|
|
2040
|
+
}
|
|
2041
|
+
if(e.keyEncipherment) {
|
|
2042
|
+
b2 |= 0x20;
|
|
2043
|
+
unused = 5;
|
|
2044
|
+
}
|
|
2045
|
+
if(e.dataEncipherment) {
|
|
2046
|
+
b2 |= 0x10;
|
|
2047
|
+
unused = 4;
|
|
2048
|
+
}
|
|
2049
|
+
if(e.keyAgreement) {
|
|
2050
|
+
b2 |= 0x08;
|
|
2051
|
+
unused = 3;
|
|
2052
|
+
}
|
|
2053
|
+
if(e.keyCertSign) {
|
|
2054
|
+
b2 |= 0x04;
|
|
2055
|
+
unused = 2;
|
|
2056
|
+
}
|
|
2057
|
+
if(e.cRLSign) {
|
|
2058
|
+
b2 |= 0x02;
|
|
2059
|
+
unused = 1;
|
|
2060
|
+
}
|
|
2061
|
+
if(e.encipherOnly) {
|
|
2062
|
+
b2 |= 0x01;
|
|
2063
|
+
unused = 0;
|
|
2064
|
+
}
|
|
2065
|
+
if(e.decipherOnly) {
|
|
2066
|
+
b3 |= 0x80;
|
|
2067
|
+
unused = 7;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
// create bit string
|
|
2071
|
+
var value = String.fromCharCode(unused);
|
|
2072
|
+
if(b3 !== 0) {
|
|
2073
|
+
value += String.fromCharCode(b2) + String.fromCharCode(b3);
|
|
2074
|
+
} else if(b2 !== 0) {
|
|
2075
|
+
value += String.fromCharCode(b2);
|
|
2076
|
+
}
|
|
2077
|
+
e.value = asn1.create(
|
|
2078
|
+
asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value);
|
|
2079
|
+
} else if(e.name === 'basicConstraints') {
|
|
2080
|
+
// basicConstraints is a SEQUENCE
|
|
2081
|
+
e.value = asn1.create(
|
|
2082
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2083
|
+
// cA BOOLEAN flag defaults to false
|
|
2084
|
+
if(e.cA) {
|
|
2085
|
+
e.value.value.push(asn1.create(
|
|
2086
|
+
asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false,
|
|
2087
|
+
String.fromCharCode(0xFF)));
|
|
2088
|
+
}
|
|
2089
|
+
if('pathLenConstraint' in e) {
|
|
2090
|
+
e.value.value.push(asn1.create(
|
|
2091
|
+
asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
2092
|
+
asn1.integerToDer(e.pathLenConstraint).getBytes()));
|
|
2093
|
+
}
|
|
2094
|
+
} else if(e.name === 'extKeyUsage') {
|
|
2095
|
+
// extKeyUsage is a SEQUENCE of OIDs
|
|
2096
|
+
e.value = asn1.create(
|
|
2097
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2098
|
+
var seq = e.value.value;
|
|
2099
|
+
for(var key in e) {
|
|
2100
|
+
if(e[key] !== true) {
|
|
2101
|
+
continue;
|
|
2102
|
+
}
|
|
2103
|
+
// key is name in OID map
|
|
2104
|
+
if(key in oids) {
|
|
2105
|
+
seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID,
|
|
2106
|
+
false, asn1.oidToDer(oids[key]).getBytes()));
|
|
2107
|
+
} else if(key.indexOf('.') !== -1) {
|
|
2108
|
+
// assume key is an OID
|
|
2109
|
+
seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID,
|
|
2110
|
+
false, asn1.oidToDer(key).getBytes()));
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
} else if(e.name === 'nsCertType') {
|
|
2114
|
+
// nsCertType is a BIT STRING
|
|
2115
|
+
// build flags
|
|
2116
|
+
var unused = 0;
|
|
2117
|
+
var b2 = 0x00;
|
|
2118
|
+
|
|
2119
|
+
if(e.client) {
|
|
2120
|
+
b2 |= 0x80;
|
|
2121
|
+
unused = 7;
|
|
2122
|
+
}
|
|
2123
|
+
if(e.server) {
|
|
2124
|
+
b2 |= 0x40;
|
|
2125
|
+
unused = 6;
|
|
2126
|
+
}
|
|
2127
|
+
if(e.email) {
|
|
2128
|
+
b2 |= 0x20;
|
|
2129
|
+
unused = 5;
|
|
2130
|
+
}
|
|
2131
|
+
if(e.objsign) {
|
|
2132
|
+
b2 |= 0x10;
|
|
2133
|
+
unused = 4;
|
|
2134
|
+
}
|
|
2135
|
+
if(e.reserved) {
|
|
2136
|
+
b2 |= 0x08;
|
|
2137
|
+
unused = 3;
|
|
2138
|
+
}
|
|
2139
|
+
if(e.sslCA) {
|
|
2140
|
+
b2 |= 0x04;
|
|
2141
|
+
unused = 2;
|
|
2142
|
+
}
|
|
2143
|
+
if(e.emailCA) {
|
|
2144
|
+
b2 |= 0x02;
|
|
2145
|
+
unused = 1;
|
|
2146
|
+
}
|
|
2147
|
+
if(e.objCA) {
|
|
2148
|
+
b2 |= 0x01;
|
|
2149
|
+
unused = 0;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
// create bit string
|
|
2153
|
+
var value = String.fromCharCode(unused);
|
|
2154
|
+
if(b2 !== 0) {
|
|
2155
|
+
value += String.fromCharCode(b2);
|
|
2156
|
+
}
|
|
2157
|
+
e.value = asn1.create(
|
|
2158
|
+
asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value);
|
|
2159
|
+
} else if(e.name === 'subjectAltName' || e.name === 'issuerAltName') {
|
|
2160
|
+
// SYNTAX SEQUENCE
|
|
2161
|
+
e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2162
|
+
|
|
2163
|
+
var altName;
|
|
2164
|
+
for(var n = 0; n < e.altNames.length; ++n) {
|
|
2165
|
+
altName = e.altNames[n];
|
|
2166
|
+
var value = altName.value;
|
|
2167
|
+
// handle IP
|
|
2168
|
+
if(altName.type === 7 && altName.ip) {
|
|
2169
|
+
value = forge.util.bytesFromIP(altName.ip);
|
|
2170
|
+
if(value === null) {
|
|
2171
|
+
var error = new Error(
|
|
2172
|
+
'Extension "ip" value is not a valid IPv4 or IPv6 address.');
|
|
2173
|
+
error.extension = e;
|
|
2174
|
+
throw error;
|
|
2175
|
+
}
|
|
2176
|
+
} else if(altName.type === 8) {
|
|
2177
|
+
// handle OID
|
|
2178
|
+
if(altName.oid) {
|
|
2179
|
+
value = asn1.oidToDer(asn1.oidToDer(altName.oid));
|
|
2180
|
+
} else {
|
|
2181
|
+
// deprecated ... convert value to OID
|
|
2182
|
+
value = asn1.oidToDer(value);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
e.value.value.push(asn1.create(
|
|
2186
|
+
asn1.Class.CONTEXT_SPECIFIC, altName.type, false,
|
|
2187
|
+
value));
|
|
2188
|
+
}
|
|
2189
|
+
} else if(e.name === 'nsComment' && options.cert) {
|
|
2190
|
+
// sanity check value is ASCII (req'd) and not too big
|
|
2191
|
+
if(!(/^[\x00-\x7F]*$/.test(e.comment)) ||
|
|
2192
|
+
(e.comment.length < 1) || (e.comment.length > 128)) {
|
|
2193
|
+
throw new Error('Invalid "nsComment" content.');
|
|
2194
|
+
}
|
|
2195
|
+
// IA5STRING opaque comment
|
|
2196
|
+
e.value = asn1.create(
|
|
2197
|
+
asn1.Class.UNIVERSAL, asn1.Type.IA5STRING, false, e.comment);
|
|
2198
|
+
} else if(e.name === 'subjectKeyIdentifier' && options.cert) {
|
|
2199
|
+
var ski = options.cert.generateSubjectKeyIdentifier();
|
|
2200
|
+
e.subjectKeyIdentifier = ski.toHex();
|
|
2201
|
+
// OCTETSTRING w/digest
|
|
2202
|
+
e.value = asn1.create(
|
|
2203
|
+
asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, ski.getBytes());
|
|
2204
|
+
} else if(e.name === 'authorityKeyIdentifier' && options.cert) {
|
|
2205
|
+
// SYNTAX SEQUENCE
|
|
2206
|
+
e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2207
|
+
var seq = e.value.value;
|
|
2208
|
+
|
|
2209
|
+
if(e.keyIdentifier) {
|
|
2210
|
+
var keyIdentifier = (e.keyIdentifier === true ?
|
|
2211
|
+
options.cert.generateSubjectKeyIdentifier().getBytes() :
|
|
2212
|
+
e.keyIdentifier);
|
|
2213
|
+
seq.push(
|
|
2214
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, false, keyIdentifier));
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
if(e.authorityCertIssuer) {
|
|
2218
|
+
var authorityCertIssuer = [
|
|
2219
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 4, true, [
|
|
2220
|
+
_dnToAsn1(e.authorityCertIssuer === true ?
|
|
2221
|
+
options.cert.issuer : e.authorityCertIssuer)
|
|
2222
|
+
])
|
|
2223
|
+
];
|
|
2224
|
+
seq.push(
|
|
2225
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, authorityCertIssuer));
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
if(e.serialNumber) {
|
|
2229
|
+
var serialNumber = forge.util.hexToBytes(e.serialNumber === true ?
|
|
2230
|
+
options.cert.serialNumber : e.serialNumber);
|
|
2231
|
+
seq.push(
|
|
2232
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, false, serialNumber));
|
|
2233
|
+
}
|
|
2234
|
+
} else if(e.name === 'cRLDistributionPoints') {
|
|
2235
|
+
e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2236
|
+
var seq = e.value.value;
|
|
2237
|
+
|
|
2238
|
+
// Create sub SEQUENCE of DistributionPointName
|
|
2239
|
+
var subSeq = asn1.create(
|
|
2240
|
+
asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2241
|
+
|
|
2242
|
+
// Create fullName CHOICE
|
|
2243
|
+
var fullNameGeneralNames = asn1.create(
|
|
2244
|
+
asn1.Class.CONTEXT_SPECIFIC, 0, true, []);
|
|
2245
|
+
var altName;
|
|
2246
|
+
for(var n = 0; n < e.altNames.length; ++n) {
|
|
2247
|
+
altName = e.altNames[n];
|
|
2248
|
+
var value = altName.value;
|
|
2249
|
+
// handle IP
|
|
2250
|
+
if(altName.type === 7 && altName.ip) {
|
|
2251
|
+
value = forge.util.bytesFromIP(altName.ip);
|
|
2252
|
+
if(value === null) {
|
|
2253
|
+
var error = new Error(
|
|
2254
|
+
'Extension "ip" value is not a valid IPv4 or IPv6 address.');
|
|
2255
|
+
error.extension = e;
|
|
2256
|
+
throw error;
|
|
2257
|
+
}
|
|
2258
|
+
} else if(altName.type === 8) {
|
|
2259
|
+
// handle OID
|
|
2260
|
+
if(altName.oid) {
|
|
2261
|
+
value = asn1.oidToDer(asn1.oidToDer(altName.oid));
|
|
2262
|
+
} else {
|
|
2263
|
+
// deprecated ... convert value to OID
|
|
2264
|
+
value = asn1.oidToDer(value);
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
fullNameGeneralNames.value.push(asn1.create(
|
|
2268
|
+
asn1.Class.CONTEXT_SPECIFIC, altName.type, false,
|
|
2269
|
+
value));
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
// Add to the parent SEQUENCE
|
|
2273
|
+
subSeq.value.push(asn1.create(
|
|
2274
|
+
asn1.Class.CONTEXT_SPECIFIC, 0, true, [fullNameGeneralNames]));
|
|
2275
|
+
seq.push(subSeq);
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
// ensure value has been defined by now
|
|
2279
|
+
if(typeof e.value === 'undefined') {
|
|
2280
|
+
var error = new Error('Extension value not specified.');
|
|
2281
|
+
error.extension = e;
|
|
2282
|
+
throw error;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
return e;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Convert signature parameters object to ASN.1
|
|
2290
|
+
*
|
|
2291
|
+
* @param {String} oid Signature algorithm OID
|
|
2292
|
+
* @param params The signature parameters object
|
|
2293
|
+
* @return ASN.1 object representing signature parameters
|
|
2294
|
+
*/
|
|
2295
|
+
function _signatureParametersToAsn1(oid, params) {
|
|
2296
|
+
switch(oid) {
|
|
2297
|
+
case oids['RSASSA-PSS']:
|
|
2298
|
+
var parts = [];
|
|
2299
|
+
|
|
2300
|
+
if(params.hash.algorithmOid !== undefined) {
|
|
2301
|
+
parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [
|
|
2302
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2303
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2304
|
+
asn1.oidToDer(params.hash.algorithmOid).getBytes()),
|
|
2305
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')
|
|
2306
|
+
])
|
|
2307
|
+
]));
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
if(params.mgf.algorithmOid !== undefined) {
|
|
2311
|
+
parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [
|
|
2312
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2313
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2314
|
+
asn1.oidToDer(params.mgf.algorithmOid).getBytes()),
|
|
2315
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2316
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2317
|
+
asn1.oidToDer(params.mgf.hash.algorithmOid).getBytes()),
|
|
2318
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')
|
|
2319
|
+
])
|
|
2320
|
+
])
|
|
2321
|
+
]));
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
if(params.saltLength !== undefined) {
|
|
2325
|
+
parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [
|
|
2326
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
2327
|
+
asn1.integerToDer(params.saltLength).getBytes())
|
|
2328
|
+
]));
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, parts);
|
|
2332
|
+
|
|
2333
|
+
default:
|
|
2334
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '');
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Converts a certification request's attributes to an ASN.1 set of
|
|
2340
|
+
* CRIAttributes.
|
|
2341
|
+
*
|
|
2342
|
+
* @param csr certification request.
|
|
2343
|
+
*
|
|
2344
|
+
* @return the ASN.1 set of CRIAttributes.
|
|
2345
|
+
*/
|
|
2346
|
+
function _CRIAttributesToAsn1(csr) {
|
|
2347
|
+
// create an empty context-specific container
|
|
2348
|
+
var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, []);
|
|
2349
|
+
|
|
2350
|
+
// no attributes, return empty container
|
|
2351
|
+
if(csr.attributes.length === 0) {
|
|
2352
|
+
return rval;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
// each attribute has a sequence with a type and a set of values
|
|
2356
|
+
var attrs = csr.attributes;
|
|
2357
|
+
for(var i = 0; i < attrs.length; ++i) {
|
|
2358
|
+
var attr = attrs[i];
|
|
2359
|
+
var value = attr.value;
|
|
2360
|
+
|
|
2361
|
+
// reuse tag class for attribute value if available
|
|
2362
|
+
var valueTagClass = asn1.Type.UTF8;
|
|
2363
|
+
if('valueTagClass' in attr) {
|
|
2364
|
+
valueTagClass = attr.valueTagClass;
|
|
2365
|
+
}
|
|
2366
|
+
if(valueTagClass === asn1.Type.UTF8) {
|
|
2367
|
+
value = forge.util.encodeUtf8(value);
|
|
2368
|
+
}
|
|
2369
|
+
var valueConstructed = false;
|
|
2370
|
+
if('valueConstructed' in attr) {
|
|
2371
|
+
valueConstructed = attr.valueConstructed;
|
|
2372
|
+
}
|
|
2373
|
+
// FIXME: handle more encodings
|
|
2374
|
+
|
|
2375
|
+
// create a RelativeDistinguishedName set
|
|
2376
|
+
// each value in the set is an AttributeTypeAndValue first
|
|
2377
|
+
// containing the type (an OID) and second the value
|
|
2378
|
+
var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2379
|
+
// AttributeType
|
|
2380
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2381
|
+
asn1.oidToDer(attr.type).getBytes()),
|
|
2382
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [
|
|
2383
|
+
// AttributeValue
|
|
2384
|
+
asn1.create(
|
|
2385
|
+
asn1.Class.UNIVERSAL, valueTagClass, valueConstructed, value)
|
|
2386
|
+
])
|
|
2387
|
+
]);
|
|
2388
|
+
rval.value.push(seq);
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
return rval;
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
var jan_1_1950 = new Date('1950-01-01T00:00:00Z');
|
|
2395
|
+
var jan_1_2050 = new Date('2050-01-01T00:00:00Z');
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Converts a Date object to ASN.1
|
|
2399
|
+
* Handles the different format before and after 1st January 2050
|
|
2400
|
+
*
|
|
2401
|
+
* @param date date object.
|
|
2402
|
+
*
|
|
2403
|
+
* @return the ASN.1 object representing the date.
|
|
2404
|
+
*/
|
|
2405
|
+
function _dateToAsn1(date) {
|
|
2406
|
+
if(date >= jan_1_1950 && date < jan_1_2050) {
|
|
2407
|
+
return asn1.create(
|
|
2408
|
+
asn1.Class.UNIVERSAL, asn1.Type.UTCTIME, false,
|
|
2409
|
+
asn1.dateToUtcTime(date));
|
|
2410
|
+
} else {
|
|
2411
|
+
return asn1.create(
|
|
2412
|
+
asn1.Class.UNIVERSAL, asn1.Type.GENERALIZEDTIME, false,
|
|
2413
|
+
asn1.dateToGeneralizedTime(date));
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Gets the ASN.1 TBSCertificate part of an X.509v3 certificate.
|
|
2419
|
+
*
|
|
2420
|
+
* @param cert the certificate.
|
|
2421
|
+
*
|
|
2422
|
+
* @return the asn1 TBSCertificate.
|
|
2423
|
+
*/
|
|
2424
|
+
pki.getTBSCertificate = function(cert) {
|
|
2425
|
+
// TBSCertificate
|
|
2426
|
+
var notBefore = _dateToAsn1(cert.validity.notBefore);
|
|
2427
|
+
var notAfter = _dateToAsn1(cert.validity.notAfter);
|
|
2428
|
+
var tbs = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2429
|
+
// version
|
|
2430
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [
|
|
2431
|
+
// integer
|
|
2432
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
2433
|
+
asn1.integerToDer(cert.version).getBytes())
|
|
2434
|
+
]),
|
|
2435
|
+
// serialNumber
|
|
2436
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
2437
|
+
forge.util.hexToBytes(cert.serialNumber)),
|
|
2438
|
+
// signature
|
|
2439
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2440
|
+
// algorithm
|
|
2441
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2442
|
+
asn1.oidToDer(cert.siginfo.algorithmOid).getBytes()),
|
|
2443
|
+
// parameters
|
|
2444
|
+
_signatureParametersToAsn1(
|
|
2445
|
+
cert.siginfo.algorithmOid, cert.siginfo.parameters)
|
|
2446
|
+
]),
|
|
2447
|
+
// issuer
|
|
2448
|
+
_dnToAsn1(cert.issuer),
|
|
2449
|
+
// validity
|
|
2450
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2451
|
+
notBefore,
|
|
2452
|
+
notAfter
|
|
2453
|
+
]),
|
|
2454
|
+
// subject
|
|
2455
|
+
_dnToAsn1(cert.subject),
|
|
2456
|
+
// SubjectPublicKeyInfo
|
|
2457
|
+
pki.publicKeyToAsn1(cert.publicKey)
|
|
2458
|
+
]);
|
|
2459
|
+
|
|
2460
|
+
if(cert.issuer.uniqueId) {
|
|
2461
|
+
// issuerUniqueID (optional)
|
|
2462
|
+
tbs.value.push(
|
|
2463
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [
|
|
2464
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,
|
|
2465
|
+
// TODO: support arbitrary bit length ids
|
|
2466
|
+
String.fromCharCode(0x00) +
|
|
2467
|
+
cert.issuer.uniqueId
|
|
2468
|
+
)
|
|
2469
|
+
])
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2472
|
+
if(cert.subject.uniqueId) {
|
|
2473
|
+
// subjectUniqueID (optional)
|
|
2474
|
+
tbs.value.push(
|
|
2475
|
+
asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [
|
|
2476
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,
|
|
2477
|
+
// TODO: support arbitrary bit length ids
|
|
2478
|
+
String.fromCharCode(0x00) +
|
|
2479
|
+
cert.subject.uniqueId
|
|
2480
|
+
)
|
|
2481
|
+
])
|
|
2482
|
+
);
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
if(cert.extensions.length > 0) {
|
|
2486
|
+
// extensions (optional)
|
|
2487
|
+
tbs.value.push(pki.certificateExtensionsToAsn1(cert.extensions));
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
return tbs;
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Gets the ASN.1 CertificationRequestInfo part of a
|
|
2495
|
+
* PKCS#10 CertificationRequest.
|
|
2496
|
+
*
|
|
2497
|
+
* @param csr the certification request.
|
|
2498
|
+
*
|
|
2499
|
+
* @return the asn1 CertificationRequestInfo.
|
|
2500
|
+
*/
|
|
2501
|
+
pki.getCertificationRequestInfo = function(csr) {
|
|
2502
|
+
// CertificationRequestInfo
|
|
2503
|
+
var cri = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2504
|
+
// version
|
|
2505
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,
|
|
2506
|
+
asn1.integerToDer(csr.version).getBytes()),
|
|
2507
|
+
// subject
|
|
2508
|
+
_dnToAsn1(csr.subject),
|
|
2509
|
+
// SubjectPublicKeyInfo
|
|
2510
|
+
pki.publicKeyToAsn1(csr.publicKey),
|
|
2511
|
+
// attributes
|
|
2512
|
+
_CRIAttributesToAsn1(csr)
|
|
2513
|
+
]);
|
|
2514
|
+
|
|
2515
|
+
return cri;
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Converts a DistinguishedName (subject or issuer) to an ASN.1 object.
|
|
2520
|
+
*
|
|
2521
|
+
* @param dn the DistinguishedName.
|
|
2522
|
+
*
|
|
2523
|
+
* @return the asn1 representation of a DistinguishedName.
|
|
2524
|
+
*/
|
|
2525
|
+
pki.distinguishedNameToAsn1 = function(dn) {
|
|
2526
|
+
return _dnToAsn1(dn);
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Converts an X.509v3 RSA certificate to an ASN.1 object.
|
|
2531
|
+
*
|
|
2532
|
+
* @param cert the certificate.
|
|
2533
|
+
*
|
|
2534
|
+
* @return the asn1 representation of an X.509v3 RSA certificate.
|
|
2535
|
+
*/
|
|
2536
|
+
pki.certificateToAsn1 = function(cert) {
|
|
2537
|
+
// prefer cached TBSCertificate over generating one
|
|
2538
|
+
var tbsCertificate = cert.tbsCertificate || pki.getTBSCertificate(cert);
|
|
2539
|
+
|
|
2540
|
+
// Certificate
|
|
2541
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2542
|
+
// TBSCertificate
|
|
2543
|
+
tbsCertificate,
|
|
2544
|
+
// AlgorithmIdentifier (signature algorithm)
|
|
2545
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2546
|
+
// algorithm
|
|
2547
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2548
|
+
asn1.oidToDer(cert.signatureOid).getBytes()),
|
|
2549
|
+
// parameters
|
|
2550
|
+
_signatureParametersToAsn1(cert.signatureOid, cert.signatureParameters)
|
|
2551
|
+
]),
|
|
2552
|
+
// SignatureValue
|
|
2553
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,
|
|
2554
|
+
String.fromCharCode(0x00) + cert.signature)
|
|
2555
|
+
]);
|
|
2556
|
+
};
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* Converts X.509v3 certificate extensions to ASN.1.
|
|
2560
|
+
*
|
|
2561
|
+
* @param exts the extensions to convert.
|
|
2562
|
+
*
|
|
2563
|
+
* @return the extensions in ASN.1 format.
|
|
2564
|
+
*/
|
|
2565
|
+
pki.certificateExtensionsToAsn1 = function(exts) {
|
|
2566
|
+
// create top-level extension container
|
|
2567
|
+
var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 3, true, []);
|
|
2568
|
+
|
|
2569
|
+
// create extension sequence (stores a sequence for each extension)
|
|
2570
|
+
var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2571
|
+
rval.value.push(seq);
|
|
2572
|
+
|
|
2573
|
+
for(var i = 0; i < exts.length; ++i) {
|
|
2574
|
+
seq.value.push(pki.certificateExtensionToAsn1(exts[i]));
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
return rval;
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* Converts a single certificate extension to ASN.1.
|
|
2582
|
+
*
|
|
2583
|
+
* @param ext the extension to convert.
|
|
2584
|
+
*
|
|
2585
|
+
* @return the extension in ASN.1 format.
|
|
2586
|
+
*/
|
|
2587
|
+
pki.certificateExtensionToAsn1 = function(ext) {
|
|
2588
|
+
// create a sequence for each extension
|
|
2589
|
+
var extseq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
|
2590
|
+
|
|
2591
|
+
// extnID (OID)
|
|
2592
|
+
extseq.value.push(asn1.create(
|
|
2593
|
+
asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2594
|
+
asn1.oidToDer(ext.id).getBytes()));
|
|
2595
|
+
|
|
2596
|
+
// critical defaults to false
|
|
2597
|
+
if(ext.critical) {
|
|
2598
|
+
// critical BOOLEAN DEFAULT FALSE
|
|
2599
|
+
extseq.value.push(asn1.create(
|
|
2600
|
+
asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false,
|
|
2601
|
+
String.fromCharCode(0xFF)));
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
var value = ext.value;
|
|
2605
|
+
if(typeof ext.value !== 'string') {
|
|
2606
|
+
// value is asn.1
|
|
2607
|
+
value = asn1.toDer(value).getBytes();
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
// extnValue (OCTET STRING)
|
|
2611
|
+
extseq.value.push(asn1.create(
|
|
2612
|
+
asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, value));
|
|
2613
|
+
|
|
2614
|
+
return extseq;
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* Converts a PKCS#10 certification request to an ASN.1 object.
|
|
2619
|
+
*
|
|
2620
|
+
* @param csr the certification request.
|
|
2621
|
+
*
|
|
2622
|
+
* @return the asn1 representation of a certification request.
|
|
2623
|
+
*/
|
|
2624
|
+
pki.certificationRequestToAsn1 = function(csr) {
|
|
2625
|
+
// prefer cached CertificationRequestInfo over generating one
|
|
2626
|
+
var cri = csr.certificationRequestInfo ||
|
|
2627
|
+
pki.getCertificationRequestInfo(csr);
|
|
2628
|
+
|
|
2629
|
+
// Certificate
|
|
2630
|
+
return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2631
|
+
// CertificationRequestInfo
|
|
2632
|
+
cri,
|
|
2633
|
+
// AlgorithmIdentifier (signature algorithm)
|
|
2634
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
|
2635
|
+
// algorithm
|
|
2636
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
|
2637
|
+
asn1.oidToDer(csr.signatureOid).getBytes()),
|
|
2638
|
+
// parameters
|
|
2639
|
+
_signatureParametersToAsn1(csr.signatureOid, csr.signatureParameters)
|
|
2640
|
+
]),
|
|
2641
|
+
// signature
|
|
2642
|
+
asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,
|
|
2643
|
+
String.fromCharCode(0x00) + csr.signature)
|
|
2644
|
+
]);
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Creates a CA store.
|
|
2649
|
+
*
|
|
2650
|
+
* @param certs an optional array of certificate objects or PEM-formatted
|
|
2651
|
+
* certificate strings to add to the CA store.
|
|
2652
|
+
*
|
|
2653
|
+
* @return the CA store.
|
|
2654
|
+
*/
|
|
2655
|
+
pki.createCaStore = function(certs) {
|
|
2656
|
+
// create CA store
|
|
2657
|
+
var caStore = {
|
|
2658
|
+
// stored certificates
|
|
2659
|
+
certs: {}
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* Gets the certificate that issued the passed certificate or its
|
|
2664
|
+
* 'parent'.
|
|
2665
|
+
*
|
|
2666
|
+
* @param cert the certificate to get the parent for.
|
|
2667
|
+
*
|
|
2668
|
+
* @return the parent certificate or null if none was found.
|
|
2669
|
+
*/
|
|
2670
|
+
caStore.getIssuer = function(cert) {
|
|
2671
|
+
var rval = getBySubject(cert.issuer);
|
|
2672
|
+
|
|
2673
|
+
// see if there are multiple matches
|
|
2674
|
+
/*if(forge.util.isArray(rval)) {
|
|
2675
|
+
// TODO: resolve multiple matches by checking
|
|
2676
|
+
// authorityKey/subjectKey/issuerUniqueID/other identifiers, etc.
|
|
2677
|
+
// FIXME: or alternatively do authority key mapping
|
|
2678
|
+
// if possible (X.509v1 certs can't work?)
|
|
2679
|
+
throw new Error('Resolving multiple issuer matches not implemented yet.');
|
|
2680
|
+
}*/
|
|
2681
|
+
|
|
2682
|
+
return rval;
|
|
2683
|
+
};
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Adds a trusted certificate to the store.
|
|
2687
|
+
*
|
|
2688
|
+
* @param cert the certificate to add as a trusted certificate (either a
|
|
2689
|
+
* pki.certificate object or a PEM-formatted certificate).
|
|
2690
|
+
*/
|
|
2691
|
+
caStore.addCertificate = function(cert) {
|
|
2692
|
+
// convert from pem if necessary
|
|
2693
|
+
if(typeof cert === 'string') {
|
|
2694
|
+
cert = forge.pki.certificateFromPem(cert);
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
ensureSubjectHasHash(cert.subject);
|
|
2698
|
+
|
|
2699
|
+
if(!caStore.hasCertificate(cert)) { // avoid duplicate certificates in store
|
|
2700
|
+
if(cert.subject.hash in caStore.certs) {
|
|
2701
|
+
// subject hash already exists, append to array
|
|
2702
|
+
var tmp = caStore.certs[cert.subject.hash];
|
|
2703
|
+
if(!forge.util.isArray(tmp)) {
|
|
2704
|
+
tmp = [tmp];
|
|
2705
|
+
}
|
|
2706
|
+
tmp.push(cert);
|
|
2707
|
+
caStore.certs[cert.subject.hash] = tmp;
|
|
2708
|
+
} else {
|
|
2709
|
+
caStore.certs[cert.subject.hash] = cert;
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
};
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* Checks to see if the given certificate is in the store.
|
|
2716
|
+
*
|
|
2717
|
+
* @param cert the certificate to check (either a pki.certificate or a
|
|
2718
|
+
* PEM-formatted certificate).
|
|
2719
|
+
*
|
|
2720
|
+
* @return true if the certificate is in the store, false if not.
|
|
2721
|
+
*/
|
|
2722
|
+
caStore.hasCertificate = function(cert) {
|
|
2723
|
+
// convert from pem if necessary
|
|
2724
|
+
if(typeof cert === 'string') {
|
|
2725
|
+
cert = forge.pki.certificateFromPem(cert);
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
var match = getBySubject(cert.subject);
|
|
2729
|
+
if(!match) {
|
|
2730
|
+
return false;
|
|
2731
|
+
}
|
|
2732
|
+
if(!forge.util.isArray(match)) {
|
|
2733
|
+
match = [match];
|
|
2734
|
+
}
|
|
2735
|
+
// compare DER-encoding of certificates
|
|
2736
|
+
var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes();
|
|
2737
|
+
for(var i = 0; i < match.length; ++i) {
|
|
2738
|
+
var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes();
|
|
2739
|
+
if(der1 === der2) {
|
|
2740
|
+
return true;
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
return false;
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Lists all of the certificates kept in the store.
|
|
2748
|
+
*
|
|
2749
|
+
* @return an array of all of the pki.certificate objects in the store.
|
|
2750
|
+
*/
|
|
2751
|
+
caStore.listAllCertificates = function() {
|
|
2752
|
+
var certList = [];
|
|
2753
|
+
|
|
2754
|
+
for(var hash in caStore.certs) {
|
|
2755
|
+
if(caStore.certs.hasOwnProperty(hash)) {
|
|
2756
|
+
var value = caStore.certs[hash];
|
|
2757
|
+
if(!forge.util.isArray(value)) {
|
|
2758
|
+
certList.push(value);
|
|
2759
|
+
} else {
|
|
2760
|
+
for(var i = 0; i < value.length; ++i) {
|
|
2761
|
+
certList.push(value[i]);
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
return certList;
|
|
2768
|
+
};
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* Removes a certificate from the store.
|
|
2772
|
+
*
|
|
2773
|
+
* @param cert the certificate to remove (either a pki.certificate or a
|
|
2774
|
+
* PEM-formatted certificate).
|
|
2775
|
+
*
|
|
2776
|
+
* @return the certificate that was removed or null if the certificate
|
|
2777
|
+
* wasn't in store.
|
|
2778
|
+
*/
|
|
2779
|
+
caStore.removeCertificate = function(cert) {
|
|
2780
|
+
var result;
|
|
2781
|
+
|
|
2782
|
+
// convert from pem if necessary
|
|
2783
|
+
if(typeof cert === 'string') {
|
|
2784
|
+
cert = forge.pki.certificateFromPem(cert);
|
|
2785
|
+
}
|
|
2786
|
+
ensureSubjectHasHash(cert.subject);
|
|
2787
|
+
if(!caStore.hasCertificate(cert)) {
|
|
2788
|
+
return null;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
var match = getBySubject(cert.subject);
|
|
2792
|
+
|
|
2793
|
+
if(!forge.util.isArray(match)) {
|
|
2794
|
+
result = caStore.certs[cert.subject.hash];
|
|
2795
|
+
delete caStore.certs[cert.subject.hash];
|
|
2796
|
+
return result;
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
// compare DER-encoding of certificates
|
|
2800
|
+
var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes();
|
|
2801
|
+
for(var i = 0; i < match.length; ++i) {
|
|
2802
|
+
var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes();
|
|
2803
|
+
if(der1 === der2) {
|
|
2804
|
+
result = match[i];
|
|
2805
|
+
match.splice(i, 1);
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
if(match.length === 0) {
|
|
2809
|
+
delete caStore.certs[cert.subject.hash];
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
return result;
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2815
|
+
function getBySubject(subject) {
|
|
2816
|
+
ensureSubjectHasHash(subject);
|
|
2817
|
+
return caStore.certs[subject.hash] || null;
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
function ensureSubjectHasHash(subject) {
|
|
2821
|
+
// produce subject hash if it doesn't exist
|
|
2822
|
+
if(!subject.hash) {
|
|
2823
|
+
var md = forge.md.sha1.create();
|
|
2824
|
+
subject.attributes = pki.RDNAttributesAsArray(_dnToAsn1(subject), md);
|
|
2825
|
+
subject.hash = md.digest().toHex();
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
// auto-add passed in certs
|
|
2830
|
+
if(certs) {
|
|
2831
|
+
// parse PEM-formatted certificates as necessary
|
|
2832
|
+
for(var i = 0; i < certs.length; ++i) {
|
|
2833
|
+
var cert = certs[i];
|
|
2834
|
+
caStore.addCertificate(cert);
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
return caStore;
|
|
2839
|
+
};
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Certificate verification errors, based on TLS.
|
|
2843
|
+
*/
|
|
2844
|
+
pki.certificateError = {
|
|
2845
|
+
bad_certificate: 'forge.pki.BadCertificate',
|
|
2846
|
+
unsupported_certificate: 'forge.pki.UnsupportedCertificate',
|
|
2847
|
+
certificate_revoked: 'forge.pki.CertificateRevoked',
|
|
2848
|
+
certificate_expired: 'forge.pki.CertificateExpired',
|
|
2849
|
+
certificate_unknown: 'forge.pki.CertificateUnknown',
|
|
2850
|
+
unknown_ca: 'forge.pki.UnknownCertificateAuthority'
|
|
2851
|
+
};
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* Verifies a certificate chain against the given Certificate Authority store
|
|
2855
|
+
* with an optional custom verify callback.
|
|
2856
|
+
*
|
|
2857
|
+
* @param caStore a certificate store to verify against.
|
|
2858
|
+
* @param chain the certificate chain to verify, with the root or highest
|
|
2859
|
+
* authority at the end (an array of certificates).
|
|
2860
|
+
* @param options a callback to be called for every certificate in the chain or
|
|
2861
|
+
* an object with:
|
|
2862
|
+
* verify a callback to be called for every certificate in the
|
|
2863
|
+
* chain
|
|
2864
|
+
* validityCheckDate the date against which the certificate
|
|
2865
|
+
* validity period should be checked. Pass null to not check
|
|
2866
|
+
* the validity period. By default, the current date is used.
|
|
2867
|
+
*
|
|
2868
|
+
* The verify callback has the following signature:
|
|
2869
|
+
*
|
|
2870
|
+
* verified - Set to true if certificate was verified, otherwise the
|
|
2871
|
+
* pki.certificateError for why the certificate failed.
|
|
2872
|
+
* depth - The current index in the chain, where 0 is the end point's cert.
|
|
2873
|
+
* certs - The certificate chain, *NOTE* an empty chain indicates an anonymous
|
|
2874
|
+
* end point.
|
|
2875
|
+
*
|
|
2876
|
+
* The function returns true on success and on failure either the appropriate
|
|
2877
|
+
* pki.certificateError or an object with 'error' set to the appropriate
|
|
2878
|
+
* pki.certificateError and 'message' set to a custom error message.
|
|
2879
|
+
*
|
|
2880
|
+
* @return true if successful, error thrown if not.
|
|
2881
|
+
*/
|
|
2882
|
+
pki.verifyCertificateChain = function(caStore, chain, options) {
|
|
2883
|
+
/* From: RFC3280 - Internet X.509 Public Key Infrastructure Certificate
|
|
2884
|
+
Section 6: Certification Path Validation
|
|
2885
|
+
See inline parentheticals related to this particular implementation.
|
|
2886
|
+
|
|
2887
|
+
The primary goal of path validation is to verify the binding between
|
|
2888
|
+
a subject distinguished name or a subject alternative name and subject
|
|
2889
|
+
public key, as represented in the end entity certificate, based on the
|
|
2890
|
+
public key of the trust anchor. This requires obtaining a sequence of
|
|
2891
|
+
certificates that support that binding. That sequence should be provided
|
|
2892
|
+
in the passed 'chain'. The trust anchor should be in the given CA
|
|
2893
|
+
store. The 'end entity' certificate is the certificate provided by the
|
|
2894
|
+
end point (typically a server) and is the first in the chain.
|
|
2895
|
+
|
|
2896
|
+
To meet this goal, the path validation process verifies, among other
|
|
2897
|
+
things, that a prospective certification path (a sequence of n
|
|
2898
|
+
certificates or a 'chain') satisfies the following conditions:
|
|
2899
|
+
|
|
2900
|
+
(a) for all x in {1, ..., n-1}, the subject of certificate x is
|
|
2901
|
+
the issuer of certificate x+1;
|
|
2902
|
+
|
|
2903
|
+
(b) certificate 1 is issued by the trust anchor;
|
|
2904
|
+
|
|
2905
|
+
(c) certificate n is the certificate to be validated; and
|
|
2906
|
+
|
|
2907
|
+
(d) for all x in {1, ..., n}, the certificate was valid at the
|
|
2908
|
+
time in question.
|
|
2909
|
+
|
|
2910
|
+
Note that here 'n' is index 0 in the chain and 1 is the last certificate
|
|
2911
|
+
in the chain and it must be signed by a certificate in the connection's
|
|
2912
|
+
CA store.
|
|
2913
|
+
|
|
2914
|
+
The path validation process also determines the set of certificate
|
|
2915
|
+
policies that are valid for this path, based on the certificate policies
|
|
2916
|
+
extension, policy mapping extension, policy constraints extension, and
|
|
2917
|
+
inhibit any-policy extension.
|
|
2918
|
+
|
|
2919
|
+
Note: Policy mapping extension not supported (Not Required).
|
|
2920
|
+
|
|
2921
|
+
Note: If the certificate has an unsupported critical extension, then it
|
|
2922
|
+
must be rejected.
|
|
2923
|
+
|
|
2924
|
+
Note: A certificate is self-issued if the DNs that appear in the subject
|
|
2925
|
+
and issuer fields are identical and are not empty.
|
|
2926
|
+
|
|
2927
|
+
The path validation algorithm assumes the following seven inputs are
|
|
2928
|
+
provided to the path processing logic. What this specific implementation
|
|
2929
|
+
will use is provided parenthetically:
|
|
2930
|
+
|
|
2931
|
+
(a) a prospective certification path of length n (the 'chain')
|
|
2932
|
+
(b) the current date/time: ('now').
|
|
2933
|
+
(c) user-initial-policy-set: A set of certificate policy identifiers
|
|
2934
|
+
naming the policies that are acceptable to the certificate user.
|
|
2935
|
+
The user-initial-policy-set contains the special value any-policy
|
|
2936
|
+
if the user is not concerned about certificate policy
|
|
2937
|
+
(Not implemented. Any policy is accepted).
|
|
2938
|
+
(d) trust anchor information, describing a CA that serves as a trust
|
|
2939
|
+
anchor for the certification path. The trust anchor information
|
|
2940
|
+
includes:
|
|
2941
|
+
|
|
2942
|
+
(1) the trusted issuer name,
|
|
2943
|
+
(2) the trusted public key algorithm,
|
|
2944
|
+
(3) the trusted public key, and
|
|
2945
|
+
(4) optionally, the trusted public key parameters associated
|
|
2946
|
+
with the public key.
|
|
2947
|
+
|
|
2948
|
+
(Trust anchors are provided via certificates in the CA store).
|
|
2949
|
+
|
|
2950
|
+
The trust anchor information may be provided to the path processing
|
|
2951
|
+
procedure in the form of a self-signed certificate. The trusted anchor
|
|
2952
|
+
information is trusted because it was delivered to the path processing
|
|
2953
|
+
procedure by some trustworthy out-of-band procedure. If the trusted
|
|
2954
|
+
public key algorithm requires parameters, then the parameters are
|
|
2955
|
+
provided along with the trusted public key (No parameters used in this
|
|
2956
|
+
implementation).
|
|
2957
|
+
|
|
2958
|
+
(e) initial-policy-mapping-inhibit, which indicates if policy mapping is
|
|
2959
|
+
allowed in the certification path.
|
|
2960
|
+
(Not implemented, no policy checking)
|
|
2961
|
+
|
|
2962
|
+
(f) initial-explicit-policy, which indicates if the path must be valid
|
|
2963
|
+
for at least one of the certificate policies in the user-initial-
|
|
2964
|
+
policy-set.
|
|
2965
|
+
(Not implemented, no policy checking)
|
|
2966
|
+
|
|
2967
|
+
(g) initial-any-policy-inhibit, which indicates whether the
|
|
2968
|
+
anyPolicy OID should be processed if it is included in a
|
|
2969
|
+
certificate.
|
|
2970
|
+
(Not implemented, so any policy is valid provided that it is
|
|
2971
|
+
not marked as critical) */
|
|
2972
|
+
|
|
2973
|
+
/* Basic Path Processing:
|
|
2974
|
+
|
|
2975
|
+
For each certificate in the 'chain', the following is checked:
|
|
2976
|
+
|
|
2977
|
+
1. The certificate validity period includes the current time.
|
|
2978
|
+
2. The certificate was signed by its parent (where the parent is either
|
|
2979
|
+
the next in the chain or from the CA store). Allow processing to
|
|
2980
|
+
continue to the next step if no parent is found but the certificate is
|
|
2981
|
+
in the CA store.
|
|
2982
|
+
3. TODO: The certificate has not been revoked.
|
|
2983
|
+
4. The certificate issuer name matches the parent's subject name.
|
|
2984
|
+
5. TODO: If the certificate is self-issued and not the final certificate
|
|
2985
|
+
in the chain, skip this step, otherwise verify that the subject name
|
|
2986
|
+
is within one of the permitted subtrees of X.500 distinguished names
|
|
2987
|
+
and that each of the alternative names in the subjectAltName extension
|
|
2988
|
+
(critical or non-critical) is within one of the permitted subtrees for
|
|
2989
|
+
that name type.
|
|
2990
|
+
6. TODO: If the certificate is self-issued and not the final certificate
|
|
2991
|
+
in the chain, skip this step, otherwise verify that the subject name
|
|
2992
|
+
is not within one of the excluded subtrees for X.500 distinguished
|
|
2993
|
+
names and none of the subjectAltName extension names are excluded for
|
|
2994
|
+
that name type.
|
|
2995
|
+
7. The other steps in the algorithm for basic path processing involve
|
|
2996
|
+
handling the policy extension which is not presently supported in this
|
|
2997
|
+
implementation. Instead, if a critical policy extension is found, the
|
|
2998
|
+
certificate is rejected as not supported.
|
|
2999
|
+
8. If the certificate is not the first or if its the only certificate in
|
|
3000
|
+
the chain (having no parent from the CA store or is self-signed) and it
|
|
3001
|
+
has a critical key usage extension, verify that the keyCertSign bit is
|
|
3002
|
+
set. If the key usage extension exists, verify that the basic
|
|
3003
|
+
constraints extension exists. If the basic constraints extension exists,
|
|
3004
|
+
verify that the cA flag is set. If pathLenConstraint is set, ensure that
|
|
3005
|
+
the number of certificates that precede in the chain (come earlier
|
|
3006
|
+
in the chain as implemented below), excluding the very first in the
|
|
3007
|
+
chain (typically the end-entity one), isn't greater than the
|
|
3008
|
+
pathLenConstraint. This constraint limits the number of intermediate
|
|
3009
|
+
CAs that may appear below a CA before only end-entity certificates
|
|
3010
|
+
may be issued. */
|
|
3011
|
+
|
|
3012
|
+
// if a verify callback is passed as the third parameter, package it within
|
|
3013
|
+
// the options object. This is to support a legacy function signature that
|
|
3014
|
+
// expected the verify callback as the third parameter.
|
|
3015
|
+
if(typeof options === 'function') {
|
|
3016
|
+
options = {verify: options};
|
|
3017
|
+
}
|
|
3018
|
+
options = options || {};
|
|
3019
|
+
|
|
3020
|
+
// copy cert chain references to another array to protect against changes
|
|
3021
|
+
// in verify callback
|
|
3022
|
+
chain = chain.slice(0);
|
|
3023
|
+
var certs = chain.slice(0);
|
|
3024
|
+
|
|
3025
|
+
var validityCheckDate = options.validityCheckDate;
|
|
3026
|
+
// if no validityCheckDate is specified, default to the current date. Make
|
|
3027
|
+
// sure to maintain the value null because it indicates that the validity
|
|
3028
|
+
// period should not be checked.
|
|
3029
|
+
if(typeof validityCheckDate === 'undefined') {
|
|
3030
|
+
validityCheckDate = new Date();
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
// verify each cert in the chain using its parent, where the parent
|
|
3034
|
+
// is either the next in the chain or from the CA store
|
|
3035
|
+
var first = true;
|
|
3036
|
+
var error = null;
|
|
3037
|
+
var depth = 0;
|
|
3038
|
+
do {
|
|
3039
|
+
var cert = chain.shift();
|
|
3040
|
+
var parent = null;
|
|
3041
|
+
var selfSigned = false;
|
|
3042
|
+
|
|
3043
|
+
if(validityCheckDate) {
|
|
3044
|
+
// 1. check valid time
|
|
3045
|
+
if(validityCheckDate < cert.validity.notBefore ||
|
|
3046
|
+
validityCheckDate > cert.validity.notAfter) {
|
|
3047
|
+
error = {
|
|
3048
|
+
message: 'Certificate is not valid yet or has expired.',
|
|
3049
|
+
error: pki.certificateError.certificate_expired,
|
|
3050
|
+
notBefore: cert.validity.notBefore,
|
|
3051
|
+
notAfter: cert.validity.notAfter,
|
|
3052
|
+
// TODO: we might want to reconsider renaming 'now' to
|
|
3053
|
+
// 'validityCheckDate' should this API be changed in the future.
|
|
3054
|
+
now: validityCheckDate
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
// 2. verify with parent from chain or CA store
|
|
3060
|
+
if(error === null) {
|
|
3061
|
+
parent = chain[0] || caStore.getIssuer(cert);
|
|
3062
|
+
if(parent === null) {
|
|
3063
|
+
// check for self-signed cert
|
|
3064
|
+
if(cert.isIssuer(cert)) {
|
|
3065
|
+
selfSigned = true;
|
|
3066
|
+
parent = cert;
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
if(parent) {
|
|
3071
|
+
// FIXME: current CA store implementation might have multiple
|
|
3072
|
+
// certificates where the issuer can't be determined from the
|
|
3073
|
+
// certificate (happens rarely with, eg: old certificates) so normalize
|
|
3074
|
+
// by always putting parents into an array
|
|
3075
|
+
// TODO: there's may be an extreme degenerate case currently uncovered
|
|
3076
|
+
// where an old intermediate certificate seems to have a matching parent
|
|
3077
|
+
// but none of the parents actually verify ... but the intermediate
|
|
3078
|
+
// is in the CA and it should pass this check; needs investigation
|
|
3079
|
+
var parents = parent;
|
|
3080
|
+
if(!forge.util.isArray(parents)) {
|
|
3081
|
+
parents = [parents];
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
// try to verify with each possible parent (typically only one)
|
|
3085
|
+
var verified = false;
|
|
3086
|
+
while(!verified && parents.length > 0) {
|
|
3087
|
+
parent = parents.shift();
|
|
3088
|
+
try {
|
|
3089
|
+
verified = parent.verify(cert);
|
|
3090
|
+
} catch(ex) {
|
|
3091
|
+
// failure to verify, don't care why, try next one
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
if(!verified) {
|
|
3096
|
+
error = {
|
|
3097
|
+
message: 'Certificate signature is invalid.',
|
|
3098
|
+
error: pki.certificateError.bad_certificate
|
|
3099
|
+
};
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
if(error === null && (!parent || selfSigned) &&
|
|
3104
|
+
!caStore.hasCertificate(cert)) {
|
|
3105
|
+
// no parent issuer and certificate itself is not trusted
|
|
3106
|
+
error = {
|
|
3107
|
+
message: 'Certificate is not trusted.',
|
|
3108
|
+
error: pki.certificateError.unknown_ca
|
|
3109
|
+
};
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
// TODO: 3. check revoked
|
|
3114
|
+
|
|
3115
|
+
// 4. check for matching issuer/subject
|
|
3116
|
+
if(error === null && parent && !cert.isIssuer(parent)) {
|
|
3117
|
+
// parent is not issuer
|
|
3118
|
+
error = {
|
|
3119
|
+
message: 'Certificate issuer is invalid.',
|
|
3120
|
+
error: pki.certificateError.bad_certificate
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
// 5. TODO: check names with permitted names tree
|
|
3125
|
+
|
|
3126
|
+
// 6. TODO: check names against excluded names tree
|
|
3127
|
+
|
|
3128
|
+
// 7. check for unsupported critical extensions
|
|
3129
|
+
if(error === null) {
|
|
3130
|
+
// supported extensions
|
|
3131
|
+
var se = {
|
|
3132
|
+
keyUsage: true,
|
|
3133
|
+
basicConstraints: true
|
|
3134
|
+
};
|
|
3135
|
+
for(var i = 0; error === null && i < cert.extensions.length; ++i) {
|
|
3136
|
+
var ext = cert.extensions[i];
|
|
3137
|
+
if(ext.critical && !(ext.name in se)) {
|
|
3138
|
+
error = {
|
|
3139
|
+
message:
|
|
3140
|
+
'Certificate has an unsupported critical extension.',
|
|
3141
|
+
error: pki.certificateError.unsupported_certificate
|
|
3142
|
+
};
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3147
|
+
// 8. check for CA if cert is not first or is the only certificate
|
|
3148
|
+
// remaining in chain with no parent or is self-signed
|
|
3149
|
+
if(error === null &&
|
|
3150
|
+
(!first || (chain.length === 0 && (!parent || selfSigned)))) {
|
|
3151
|
+
// first check keyUsage extension and then basic constraints
|
|
3152
|
+
var bcExt = cert.getExtension('basicConstraints');
|
|
3153
|
+
var keyUsageExt = cert.getExtension('keyUsage');
|
|
3154
|
+
if(keyUsageExt !== null) {
|
|
3155
|
+
// keyCertSign must be true and there must be a basic
|
|
3156
|
+
// constraints extension
|
|
3157
|
+
if(!keyUsageExt.keyCertSign || bcExt === null) {
|
|
3158
|
+
// bad certificate
|
|
3159
|
+
error = {
|
|
3160
|
+
message:
|
|
3161
|
+
'Certificate keyUsage or basicConstraints conflict ' +
|
|
3162
|
+
'or indicate that the certificate is not a CA. ' +
|
|
3163
|
+
'If the certificate is the only one in the chain or ' +
|
|
3164
|
+
'isn\'t the first then the certificate must be a ' +
|
|
3165
|
+
'valid CA.',
|
|
3166
|
+
error: pki.certificateError.bad_certificate
|
|
3167
|
+
};
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
// check for absent basicConstraints on non-leaf certificates
|
|
3171
|
+
if(error === null && bcExt === null) {
|
|
3172
|
+
error = {
|
|
3173
|
+
message:
|
|
3174
|
+
'Certificate is missing basicConstraints extension and cannot ' +
|
|
3175
|
+
'be used as a CA.',
|
|
3176
|
+
error: pki.certificateError.bad_certificate
|
|
3177
|
+
};
|
|
3178
|
+
}
|
|
3179
|
+
// basic constraints cA flag must be set
|
|
3180
|
+
if(error === null && bcExt !== null && !bcExt.cA) {
|
|
3181
|
+
// bad certificate
|
|
3182
|
+
error = {
|
|
3183
|
+
message:
|
|
3184
|
+
'Certificate basicConstraints indicates the certificate ' +
|
|
3185
|
+
'is not a CA.',
|
|
3186
|
+
error: pki.certificateError.bad_certificate
|
|
3187
|
+
};
|
|
3188
|
+
}
|
|
3189
|
+
// if error is not null and keyUsage is available, then we know it
|
|
3190
|
+
// has keyCertSign and there is a basic constraints extension too,
|
|
3191
|
+
// which means we can check pathLenConstraint (if it exists)
|
|
3192
|
+
if(error === null && keyUsageExt !== null &&
|
|
3193
|
+
'pathLenConstraint' in bcExt) {
|
|
3194
|
+
// pathLen is the maximum # of intermediate CA certs that can be
|
|
3195
|
+
// found between the current certificate and the end-entity (depth 0)
|
|
3196
|
+
// certificate; this number does not include the end-entity (depth 0,
|
|
3197
|
+
// last in the chain) even if it happens to be a CA certificate itself
|
|
3198
|
+
var pathLen = depth - 1;
|
|
3199
|
+
if(pathLen > bcExt.pathLenConstraint) {
|
|
3200
|
+
// pathLenConstraint violated, bad certificate
|
|
3201
|
+
error = {
|
|
3202
|
+
message:
|
|
3203
|
+
'Certificate basicConstraints pathLenConstraint violated.',
|
|
3204
|
+
error: pki.certificateError.bad_certificate
|
|
3205
|
+
};
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
// call application callback
|
|
3211
|
+
var vfd = (error === null) ? true : error.error;
|
|
3212
|
+
var ret = options.verify ? options.verify(vfd, depth, certs) : vfd;
|
|
3213
|
+
if(ret === true) {
|
|
3214
|
+
// clear any set error
|
|
3215
|
+
error = null;
|
|
3216
|
+
} else {
|
|
3217
|
+
// if passed basic tests, set default message and alert
|
|
3218
|
+
if(vfd === true) {
|
|
3219
|
+
error = {
|
|
3220
|
+
message: 'The application rejected the certificate.',
|
|
3221
|
+
error: pki.certificateError.bad_certificate
|
|
3222
|
+
};
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
// check for custom error info
|
|
3226
|
+
if(ret || ret === 0) {
|
|
3227
|
+
// set custom message and error
|
|
3228
|
+
if(typeof ret === 'object' && !forge.util.isArray(ret)) {
|
|
3229
|
+
if(ret.message) {
|
|
3230
|
+
error.message = ret.message;
|
|
3231
|
+
}
|
|
3232
|
+
if(ret.error) {
|
|
3233
|
+
error.error = ret.error;
|
|
3234
|
+
}
|
|
3235
|
+
} else if(typeof ret === 'string') {
|
|
3236
|
+
// set custom error
|
|
3237
|
+
error.error = ret;
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
// throw error
|
|
3242
|
+
throw error;
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
// no longer first cert in chain
|
|
3246
|
+
first = false;
|
|
3247
|
+
++depth;
|
|
3248
|
+
} while(chain.length > 0);
|
|
3249
|
+
|
|
3250
|
+
return true;
|
|
3251
|
+
};
|