@mininglamp-oss/octo-runtime 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +35 -2
- package/apps/cli/README.md +244 -0
- package/apps/cli/dist/build-info.json +4 -0
- package/apps/cli/dist/daemon-output.d.ts +1 -0
- package/apps/cli/dist/daemon-output.js +49 -0
- package/apps/cli/dist/default_adapters.json +65 -0
- package/apps/cli/dist/extras.d.ts +6 -0
- package/apps/cli/dist/extras.js +56 -0
- package/apps/cli/dist/help.d.ts +16 -0
- package/apps/cli/dist/help.js +167 -0
- package/apps/cli/dist/index.d.ts +2 -0
- package/apps/cli/dist/index.js +9 -0
- package/apps/cli/dist/main.d.ts +19 -0
- package/apps/cli/dist/main.js +478 -0
- package/apps/cli/dist/playboard.d.ts +9 -0
- package/apps/cli/dist/playboard.js +118 -0
- package/apps/cli/dist/service-control.d.ts +16 -0
- package/apps/cli/dist/service-control.js +49 -0
- package/apps/cli/dist/state.d.ts +68 -0
- package/apps/cli/dist/state.js +284 -0
- package/apps/cli/dist/temporary-daemon.d.ts +11 -0
- package/apps/cli/dist/temporary-daemon.js +109 -0
- package/apps/daemon/dist/index.d.ts +2 -0
- package/apps/daemon/dist/index.js +134 -0
- package/apps/daemon/dist/launcher.d.ts +2 -0
- package/apps/daemon/dist/launcher.js +52 -0
- package/apps/daemon/dist/openclaw.d.ts +15 -0
- package/apps/daemon/dist/openclaw.js +234 -0
- package/apps/daemon/dist/runtime-options.d.ts +9 -0
- package/apps/daemon/dist/runtime-options.js +58 -0
- package/apps/daemon/dist/server.d.ts +1 -0
- package/apps/daemon/dist/server.js +1 -0
- package/dist/public/extra.d.ts +4 -0
- package/dist/public/extra.js +2 -0
- package/dist/public/protocol.d.ts +3 -0
- package/dist/public/protocol.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.d.ts +120 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +380 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +55 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +494 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +69 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +433 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +129 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +796 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +53 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +236 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +97 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +2334 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +44 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +64 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +141 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/execution-preparation.d.ts +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/execution-preparation.js +93 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/experience.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/experience.js +140 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/host-run-service.d.ts +44 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/host-run-service.js +293 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/index.d.ts +70 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/index.js +913 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/model-input.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/model-input.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/process.d.ts +31 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/process.js +86 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/rpc.d.ts +59 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/rpc.js +578 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/runner.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/runner.js +98 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/runtime-configuration.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/runtime-configuration.js +93 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.js +48 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.js +255 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/watchdog.d.ts +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/watchdog.js +366 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/package.json +37 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/gateway.d.ts +45 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/gateway.js +303 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +81 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +975 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/local-gateway.d.ts +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/local-gateway.js +172 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/parser.d.ts +87 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/parser.js +355 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +88 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +336 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/acp-tool.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/acp-tool.js +63 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/acp-turn.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/acp-turn.js +149 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.js +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.d.ts +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +353 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/bounded-lines.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/bounded-lines.js +79 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/hourly-log.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/hourly-log.js +196 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +122 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +289 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/line-limit.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/line-limit.js +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +66 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/native.d.ts +26 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/native.js +181 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.js +72 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/reasoning.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/reasoning.js +46 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +136 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.d.ts +63 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.js +822 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.js +154 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.js +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/default_adapters.json +65 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +56 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +167 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +19 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +478 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +118 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +68 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +284 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.js +109 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +19 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/context.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/context.js +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/invoke-input.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/invoke-input.js +140 -0
- package/node_modules/@mininglamp-oss/octo-runtime-core/package.json +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.d.ts +31 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.js +196 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/errors.d.ts +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/errors.js +18 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/index.d.ts +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/index.js +42 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.d.ts +37 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.js +312 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.js +71 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.d.ts +37 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.js +278 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/types.d.ts +218 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/types.js +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.d.ts +44 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +414 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/context-loader.d.ts +30 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/context-loader.js +158 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/extra-config.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/extra-config.js +95 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/extras.d.ts +64 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/extras.js +364 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/invocation-manifest.d.ts +26 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/invocation-manifest.js +176 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.d.ts +55 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.js +138 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.js +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.d.ts +37 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.js +623 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.js +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/home.d.ts +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/home.js +266 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/identity.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/identity.js +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.js +133 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.d.ts +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.js +206 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.js +103 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.d.ts +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.js +57 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.js +245 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/types.d.ts +116 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/types.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.d.ts +67 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.js +808 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/package.json +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.js +134 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/openclaw.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/openclaw.js +234 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.js +58 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/package.json +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +395 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +852 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +93 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +129 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.js +64 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +85 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +88 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.d.ts +19 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.js +86 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +133 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +34 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +269 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +73 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +133 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +94 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.js +35 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +61 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +358 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +83 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +128 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +225 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +57 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +184 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +105 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +130 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +60 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +114 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +51 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +79 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +119 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +89 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +173 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +109 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +87 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +45 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +75 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +61 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +40 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +43 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +407 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +19 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +132 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +203 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +162 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +112 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +63 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +117 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +50 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +34 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +354 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +63 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +30 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +431 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +276 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +603 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +93 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +89 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.js +64 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +68 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +95 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +72 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +109 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +73 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +45 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +258 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +125 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +53 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +219 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +31 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +134 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +425 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +80 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-B6Yp4xkI.js +76 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +24 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +58 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +556 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +80 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +166 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +69 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +436 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +2774 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +117 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +682 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +120 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +164 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.js +91 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +166 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.js +137 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +241 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +68 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +16 -0
- package/node_modules/@types/debug/LICENSE +21 -0
- package/node_modules/@types/debug/README.md +69 -0
- package/node_modules/@types/debug/index.d.ts +50 -0
- package/node_modules/@types/debug/package.json +58 -0
- package/node_modules/@types/mdast/LICENSE +21 -0
- package/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/@types/mdast/index.d.ts +1123 -0
- package/node_modules/@types/mdast/package.json +47 -0
- package/node_modules/@types/ms/LICENSE +21 -0
- package/node_modules/@types/ms/README.md +82 -0
- package/node_modules/@types/ms/index.d.ts +63 -0
- package/node_modules/@types/ms/package.json +26 -0
- package/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/@types/unist/README.md +15 -0
- package/node_modules/@types/unist/index.d.ts +119 -0
- package/node_modules/@types/unist/package.json +60 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/character-entities/index.d.ts +6 -0
- package/node_modules/character-entities/index.js +2132 -0
- package/node_modules/character-entities/license +22 -0
- package/node_modules/character-entities/package.json +78 -0
- package/node_modules/character-entities/readme.md +152 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/decode-named-character-reference/index.d.ts +13 -0
- package/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.js +32 -0
- package/node_modules/decode-named-character-reference/index.js +19 -0
- package/node_modules/decode-named-character-reference/license +22 -0
- package/node_modules/decode-named-character-reference/package.json +90 -0
- package/node_modules/decode-named-character-reference/readme.md +136 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/dequal/readme.md +112 -0
- package/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/devlop/license +22 -0
- package/node_modules/devlop/package.json +80 -0
- package/node_modules/devlop/readme.md +360 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/json5/LICENSE.md +23 -0
- package/node_modules/json5/README.md +282 -0
- package/node_modules/json5/dist/index.js +1737 -0
- package/node_modules/json5/dist/index.min.js +1 -0
- package/node_modules/json5/dist/index.min.mjs +1 -0
- package/node_modules/json5/dist/index.mjs +1426 -0
- package/node_modules/json5/lib/cli.js +152 -0
- package/node_modules/json5/lib/index.d.ts +4 -0
- package/node_modules/json5/lib/index.js +9 -0
- package/node_modules/json5/lib/parse.d.ts +15 -0
- package/node_modules/json5/lib/parse.js +1114 -0
- package/node_modules/json5/lib/register.js +13 -0
- package/node_modules/json5/lib/require.js +4 -0
- package/node_modules/json5/lib/stringify.d.ts +89 -0
- package/node_modules/json5/lib/stringify.js +261 -0
- package/node_modules/json5/lib/unicode.d.ts +3 -0
- package/node_modules/json5/lib/unicode.js +4 -0
- package/node_modules/json5/lib/util.d.ts +5 -0
- package/node_modules/json5/lib/util.js +35 -0
- package/node_modules/json5/package.json +72 -0
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +23 -0
- package/node_modules/mdast-util-from-markdown/dev/index.js +2 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +53 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +1455 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +321 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +2 -0
- package/node_modules/mdast-util-from-markdown/index.d.ts +23 -0
- package/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +53 -0
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-from-markdown/lib/index.js +1270 -0
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +321 -0
- package/node_modules/mdast-util-from-markdown/lib/types.js +2 -0
- package/node_modules/mdast-util-from-markdown/license +22 -0
- package/node_modules/mdast-util-from-markdown/package.json +98 -0
- package/node_modules/mdast-util-from-markdown/readme.md +549 -0
- package/node_modules/mdast-util-to-string/index.d.ts +2 -0
- package/node_modules/mdast-util-to-string/index.js +5 -0
- package/node_modules/mdast-util-to-string/lib/index.d.ts +31 -0
- package/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/node_modules/mdast-util-to-string/license +22 -0
- package/node_modules/mdast-util-to-string/package.json +78 -0
- package/node_modules/mdast-util-to-string/readme.md +218 -0
- package/node_modules/micromark/dev/index.d.ts +82 -0
- package/node_modules/micromark/dev/index.d.ts.map +1 -0
- package/node_modules/micromark/dev/index.js +68 -0
- package/node_modules/micromark/dev/lib/compile.d.ts +16 -0
- package/node_modules/micromark/dev/lib/compile.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/compile.js +1162 -0
- package/node_modules/micromark/dev/lib/constructs.d.ts +73 -0
- package/node_modules/micromark/dev/lib/constructs.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/constructs.js +101 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +46 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.js +718 -0
- package/node_modules/micromark/dev/lib/initialize/content.d.ts +4 -0
- package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/content.js +99 -0
- package/node_modules/micromark/dev/lib/initialize/document.d.ts +10 -0
- package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/document.js +449 -0
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts +4 -0
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/flow.js +86 -0
- package/node_modules/micromark/dev/lib/initialize/text.d.ts +8 -0
- package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/text.js +248 -0
- package/node_modules/micromark/dev/lib/parse.d.ts +10 -0
- package/node_modules/micromark/dev/lib/parse.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/parse.js +58 -0
- package/node_modules/micromark/dev/lib/postprocess.d.ts +9 -0
- package/node_modules/micromark/dev/lib/postprocess.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/postprocess.js +19 -0
- package/node_modules/micromark/dev/lib/preprocess.d.ts +13 -0
- package/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/preprocess.js +139 -0
- package/node_modules/micromark/dev/stream.d.ts +35 -0
- package/node_modules/micromark/dev/stream.d.ts.map +1 -0
- package/node_modules/micromark/dev/stream.js +270 -0
- package/node_modules/micromark/index.d.ts +82 -0
- package/node_modules/micromark/index.d.ts.map +1 -0
- package/node_modules/micromark/index.js +60 -0
- package/node_modules/micromark/lib/compile.d.ts +16 -0
- package/node_modules/micromark/lib/compile.d.ts.map +1 -0
- package/node_modules/micromark/lib/compile.js +1068 -0
- package/node_modules/micromark/lib/constructs.d.ts +73 -0
- package/node_modules/micromark/lib/constructs.d.ts.map +1 -0
- package/node_modules/micromark/lib/constructs.js +85 -0
- package/node_modules/micromark/lib/create-tokenizer.d.ts +46 -0
- package/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -0
- package/node_modules/micromark/lib/create-tokenizer.js +613 -0
- package/node_modules/micromark/lib/initialize/content.d.ts +4 -0
- package/node_modules/micromark/lib/initialize/content.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/content.js +79 -0
- package/node_modules/micromark/lib/initialize/document.d.ts +10 -0
- package/node_modules/micromark/lib/initialize/document.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/document.js +370 -0
- package/node_modules/micromark/lib/initialize/flow.d.ts +4 -0
- package/node_modules/micromark/lib/initialize/flow.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/node_modules/micromark/lib/initialize/text.d.ts +8 -0
- package/node_modules/micromark/lib/initialize/text.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/text.js +216 -0
- package/node_modules/micromark/lib/parse.d.ts +10 -0
- package/node_modules/micromark/lib/parse.d.ts.map +1 -0
- package/node_modules/micromark/lib/parse.js +56 -0
- package/node_modules/micromark/lib/postprocess.d.ts +9 -0
- package/node_modules/micromark/lib/postprocess.d.ts.map +1 -0
- package/node_modules/micromark/lib/postprocess.js +18 -0
- package/node_modules/micromark/lib/preprocess.d.ts +13 -0
- package/node_modules/micromark/lib/preprocess.d.ts.map +1 -0
- package/node_modules/micromark/lib/preprocess.js +112 -0
- package/node_modules/micromark/license +22 -0
- package/node_modules/micromark/package.json +87 -0
- package/node_modules/micromark/readme.md +488 -0
- package/node_modules/micromark/stream.d.ts +35 -0
- package/node_modules/micromark/stream.d.ts.map +1 -0
- package/node_modules/micromark/stream.js +256 -0
- package/node_modules/micromark-core-commonmark/dev/index.d.ts +23 -0
- package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/index.js +22 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.js +294 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +269 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +62 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +162 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +69 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +166 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +472 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +178 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +257 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +7 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.js +185 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.js +295 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +65 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +229 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +938 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +783 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +658 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +119 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +71 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +34 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.js +306 -0
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +213 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +120 -0
- package/node_modules/micromark-core-commonmark/index.d.ts +23 -0
- package/node_modules/micromark-core-commonmark/index.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/index.js +22 -0
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/attention.js +231 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.js +422 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.js +159 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/node_modules/micromark-core-commonmark/lib/content.d.ts +7 -0
- package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.js +191 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.js +827 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.js +561 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.js +110 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.js +63 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/node_modules/micromark-core-commonmark/lib/list.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.js +187 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/node_modules/micromark-core-commonmark/license +22 -0
- package/node_modules/micromark-core-commonmark/package.json +62 -0
- package/node_modules/micromark-core-commonmark/readme.md +171 -0
- package/node_modules/micromark-factory-destination/dev/index.d.ts +42 -0
- package/node_modules/micromark-factory-destination/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-destination/dev/index.js +255 -0
- package/node_modules/micromark-factory-destination/index.d.ts +42 -0
- package/node_modules/micromark-factory-destination/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-destination/index.js +206 -0
- package/node_modules/micromark-factory-destination/license +22 -0
- package/node_modules/micromark-factory-destination/package.json +57 -0
- package/node_modules/micromark-factory-destination/readme.md +234 -0
- package/node_modules/micromark-factory-label/dev/index.d.ts +37 -0
- package/node_modules/micromark-factory-label/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-label/dev/index.js +172 -0
- package/node_modules/micromark-factory-label/index.d.ts +37 -0
- package/node_modules/micromark-factory-label/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-label/index.js +148 -0
- package/node_modules/micromark-factory-label/license +22 -0
- package/node_modules/micromark-factory-label/package.json +60 -0
- package/node_modules/micromark-factory-label/readme.md +224 -0
- package/node_modules/micromark-factory-space/dev/index.d.ts +60 -0
- package/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-space/dev/index.js +122 -0
- package/node_modules/micromark-factory-space/index.d.ts +60 -0
- package/node_modules/micromark-factory-space/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-space/index.js +116 -0
- package/node_modules/micromark-factory-space/license +22 -0
- package/node_modules/micromark-factory-space/package.json +46 -0
- package/node_modules/micromark-factory-space/readme.md +225 -0
- package/node_modules/micromark-factory-title/dev/index.d.ts +36 -0
- package/node_modules/micromark-factory-title/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-title/dev/index.js +169 -0
- package/node_modules/micromark-factory-title/index.d.ts +36 -0
- package/node_modules/micromark-factory-title/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-title/index.js +158 -0
- package/node_modules/micromark-factory-title/license +22 -0
- package/node_modules/micromark-factory-title/package.json +58 -0
- package/node_modules/micromark-factory-title/readme.md +229 -0
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts +22 -0
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-whitespace/dev/index.js +53 -0
- package/node_modules/micromark-factory-whitespace/index.d.ts +22 -0
- package/node_modules/micromark-factory-whitespace/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/node_modules/micromark-factory-whitespace/license +22 -0
- package/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/node_modules/micromark-factory-whitespace/readme.md +205 -0
- package/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-util-chunked/dev/index.d.ts +41 -0
- package/node_modules/micromark-util-chunked/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-chunked/dev/index.js +89 -0
- package/node_modules/micromark-util-chunked/index.d.ts +41 -0
- package/node_modules/micromark-util-chunked/index.d.ts.map +1 -0
- package/node_modules/micromark-util-chunked/index.js +81 -0
- package/node_modules/micromark-util-chunked/license +22 -0
- package/node_modules/micromark-util-chunked/package.json +57 -0
- package/node_modules/micromark-util-chunked/readme.md +219 -0
- package/node_modules/micromark-util-classify-character/dev/index.d.ts +18 -0
- package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-classify-character/dev/index.js +38 -0
- package/node_modules/micromark-util-classify-character/index.d.ts +18 -0
- package/node_modules/micromark-util-classify-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-classify-character/index.js +27 -0
- package/node_modules/micromark-util-classify-character/license +22 -0
- package/node_modules/micromark-util-classify-character/package.json +59 -0
- package/node_modules/micromark-util-classify-character/readme.md +205 -0
- package/node_modules/micromark-util-combine-extensions/index.d.ts +22 -0
- package/node_modules/micromark-util-combine-extensions/index.d.ts.map +1 -0
- package/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/node_modules/micromark-util-combine-extensions/license +22 -0
- package/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/node_modules/micromark-util-combine-extensions/readme.md +201 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +16 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +42 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +16 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/license +22 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +184 -0
- package/node_modules/micromark-util-decode-string/dev/index.d.ts +14 -0
- package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-string/dev/index.js +53 -0
- package/node_modules/micromark-util-decode-string/index.d.ts +14 -0
- package/node_modules/micromark-util-decode-string/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-string/index.js +45 -0
- package/node_modules/micromark-util-decode-string/license +22 -0
- package/node_modules/micromark-util-decode-string/package.json +63 -0
- package/node_modules/micromark-util-decode-string/readme.md +179 -0
- package/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
- package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-edit-map/dev/index.js +237 -0
- package/node_modules/micromark-util-edit-map/index.d.ts +78 -0
- package/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
- package/node_modules/micromark-util-edit-map/index.js +225 -0
- package/node_modules/micromark-util-edit-map/license +22 -0
- package/node_modules/micromark-util-edit-map/package.json +48 -0
- package/node_modules/micromark-util-edit-map/readme.md +234 -0
- package/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/node_modules/micromark-util-encode/index.js +33 -0
- package/node_modules/micromark-util-encode/license +22 -0
- package/node_modules/micromark-util-encode/package.json +47 -0
- package/node_modules/micromark-util-encode/readme.md +176 -0
- package/node_modules/micromark-util-html-tag-name/index.d.ts +30 -0
- package/node_modules/micromark-util-html-tag-name/index.d.ts.map +1 -0
- package/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/node_modules/micromark-util-html-tag-name/license +22 -0
- package/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/node_modules/micromark-util-html-tag-name/readme.md +193 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +21 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.js +38 -0
- package/node_modules/micromark-util-normalize-identifier/index.d.ts +21 -0
- package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +1 -0
- package/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/node_modules/micromark-util-normalize-identifier/license +22 -0
- package/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/node_modules/micromark-util-normalize-identifier/readme.md +187 -0
- package/node_modules/micromark-util-resolve-all/index.d.ts +22 -0
- package/node_modules/micromark-util-resolve-all/index.d.ts.map +1 -0
- package/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/node_modules/micromark-util-resolve-all/license +22 -0
- package/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/node_modules/micromark-util-resolve-all/readme.md +238 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts +12 -0
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/dev/index.js +284 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +161 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +288 -0
- package/node_modules/micromark-util-subtokenize/index.d.ts +12 -0
- package/node_modules/micromark-util-subtokenize/index.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +161 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/node_modules/micromark-util-subtokenize/license +22 -0
- package/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/node_modules/micromark-util-subtokenize/readme.md +181 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-util-types/index.d.ts +1315 -0
- package/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-util-types/package.json +37 -0
- package/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/node_modules/unist-util-stringify-position/index.js +1 -0
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/node_modules/unist-util-stringify-position/license +22 -0
- package/node_modules/unist-util-stringify-position/package.json +80 -0
- package/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1407 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/package.json +183 -4
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +395 -0
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +276 -0
- package/packages/octo-runtime-extra-webui/config-schema.json +134 -0
|
@@ -0,0 +1,1455 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {
|
|
3
|
+
* Break,
|
|
4
|
+
* Blockquote,
|
|
5
|
+
* Code,
|
|
6
|
+
* Definition,
|
|
7
|
+
* Emphasis,
|
|
8
|
+
* Heading,
|
|
9
|
+
* Html,
|
|
10
|
+
* Image,
|
|
11
|
+
* InlineCode,
|
|
12
|
+
* Link,
|
|
13
|
+
* ListItem,
|
|
14
|
+
* List,
|
|
15
|
+
* Nodes,
|
|
16
|
+
* Paragraph,
|
|
17
|
+
* PhrasingContent,
|
|
18
|
+
* ReferenceType,
|
|
19
|
+
* Root,
|
|
20
|
+
* Strong,
|
|
21
|
+
* Text,
|
|
22
|
+
* ThematicBreak
|
|
23
|
+
* } from 'mdast'
|
|
24
|
+
* @import {
|
|
25
|
+
* Encoding,
|
|
26
|
+
* Event,
|
|
27
|
+
* Token,
|
|
28
|
+
* Value
|
|
29
|
+
* } from 'micromark-util-types'
|
|
30
|
+
* @import {Point} from 'unist'
|
|
31
|
+
* @import {
|
|
32
|
+
* CompileContext,
|
|
33
|
+
* CompileData,
|
|
34
|
+
* Config,
|
|
35
|
+
* Extension,
|
|
36
|
+
* Handle,
|
|
37
|
+
* OnEnterError,
|
|
38
|
+
* Options
|
|
39
|
+
* } from './types.js'
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
import {ok as assert} from 'devlop'
|
|
43
|
+
import {toString} from 'mdast-util-to-string'
|
|
44
|
+
import {parse, postprocess, preprocess} from 'micromark'
|
|
45
|
+
import {decodeNumericCharacterReference} from 'micromark-util-decode-numeric-character-reference'
|
|
46
|
+
import {decodeString} from 'micromark-util-decode-string'
|
|
47
|
+
import {normalizeIdentifier} from 'micromark-util-normalize-identifier'
|
|
48
|
+
import {codes, constants, types} from 'micromark-util-symbol'
|
|
49
|
+
import {decodeNamedCharacterReference} from 'decode-named-character-reference'
|
|
50
|
+
import {stringifyPosition} from 'unist-util-stringify-position'
|
|
51
|
+
|
|
52
|
+
const own = {}.hasOwnProperty
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Turn markdown into a syntax tree.
|
|
56
|
+
*
|
|
57
|
+
* @overload
|
|
58
|
+
* @param {Value} value
|
|
59
|
+
* @param {Encoding | null | undefined} [encoding]
|
|
60
|
+
* @param {Options | null | undefined} [options]
|
|
61
|
+
* @returns {Root}
|
|
62
|
+
*
|
|
63
|
+
* @overload
|
|
64
|
+
* @param {Value} value
|
|
65
|
+
* @param {Options | null | undefined} [options]
|
|
66
|
+
* @returns {Root}
|
|
67
|
+
*
|
|
68
|
+
* @param {Value} value
|
|
69
|
+
* Markdown to parse.
|
|
70
|
+
* @param {Encoding | Options | null | undefined} [encoding]
|
|
71
|
+
* Character encoding for when `value` is `Buffer`.
|
|
72
|
+
* @param {Options | null | undefined} [options]
|
|
73
|
+
* Configuration.
|
|
74
|
+
* @returns {Root}
|
|
75
|
+
* mdast tree.
|
|
76
|
+
*/
|
|
77
|
+
export function fromMarkdown(value, encoding, options) {
|
|
78
|
+
if (encoding && typeof encoding === 'object') {
|
|
79
|
+
options = encoding
|
|
80
|
+
encoding = undefined
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return compiler(options)(
|
|
84
|
+
postprocess(
|
|
85
|
+
parse(options)
|
|
86
|
+
.document()
|
|
87
|
+
.write(preprocess()(value, encoding, true))
|
|
88
|
+
)
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Note this compiler only understand complete buffering, not streaming.
|
|
94
|
+
*
|
|
95
|
+
* @param {Options | null | undefined} [options]
|
|
96
|
+
*/
|
|
97
|
+
function compiler(options) {
|
|
98
|
+
/** @type {Config} */
|
|
99
|
+
const config = {
|
|
100
|
+
afterExit: [],
|
|
101
|
+
beforeEnter: [],
|
|
102
|
+
transforms: [],
|
|
103
|
+
canContainEols: ['emphasis', 'fragment', 'heading', 'paragraph', 'strong'],
|
|
104
|
+
enter: {
|
|
105
|
+
autolink: opener(link),
|
|
106
|
+
autolinkProtocol: onenterdata,
|
|
107
|
+
autolinkEmail: onenterdata,
|
|
108
|
+
atxHeading: opener(heading),
|
|
109
|
+
blockQuote: opener(blockQuote),
|
|
110
|
+
characterEscape: onenterdata,
|
|
111
|
+
characterReference: onenterdata,
|
|
112
|
+
codeFenced: opener(codeFlow),
|
|
113
|
+
codeFencedFenceInfo: buffer,
|
|
114
|
+
codeFencedFenceMeta: buffer,
|
|
115
|
+
codeIndented: opener(codeFlow, buffer),
|
|
116
|
+
codeText: opener(codeText, buffer),
|
|
117
|
+
codeTextData: onenterdata,
|
|
118
|
+
data: onenterdata,
|
|
119
|
+
codeFlowValue: onenterdata,
|
|
120
|
+
definition: opener(definition),
|
|
121
|
+
definitionDestinationString: buffer,
|
|
122
|
+
definitionLabelString: buffer,
|
|
123
|
+
definitionTitleString: buffer,
|
|
124
|
+
emphasis: opener(emphasis),
|
|
125
|
+
hardBreakEscape: opener(hardBreak),
|
|
126
|
+
hardBreakTrailing: opener(hardBreak),
|
|
127
|
+
htmlFlow: opener(html, buffer),
|
|
128
|
+
htmlFlowData: onenterdata,
|
|
129
|
+
htmlText: opener(html, buffer),
|
|
130
|
+
htmlTextData: onenterdata,
|
|
131
|
+
image: opener(image),
|
|
132
|
+
label: buffer,
|
|
133
|
+
link: opener(link),
|
|
134
|
+
listItem: opener(listItem),
|
|
135
|
+
listItemValue: onenterlistitemvalue,
|
|
136
|
+
listOrdered: opener(list, onenterlistordered),
|
|
137
|
+
listUnordered: opener(list),
|
|
138
|
+
paragraph: opener(paragraph),
|
|
139
|
+
reference: onenterreference,
|
|
140
|
+
referenceString: buffer,
|
|
141
|
+
resourceDestinationString: buffer,
|
|
142
|
+
resourceTitleString: buffer,
|
|
143
|
+
setextHeading: opener(heading),
|
|
144
|
+
strong: opener(strong),
|
|
145
|
+
thematicBreak: opener(thematicBreak)
|
|
146
|
+
},
|
|
147
|
+
exit: {
|
|
148
|
+
atxHeading: closer(),
|
|
149
|
+
atxHeadingSequence: onexitatxheadingsequence,
|
|
150
|
+
autolink: closer(),
|
|
151
|
+
autolinkEmail: onexitautolinkemail,
|
|
152
|
+
autolinkProtocol: onexitautolinkprotocol,
|
|
153
|
+
blockQuote: closer(),
|
|
154
|
+
characterEscapeValue: onexitdata,
|
|
155
|
+
characterReferenceMarkerHexadecimal: onexitcharacterreferencemarker,
|
|
156
|
+
characterReferenceMarkerNumeric: onexitcharacterreferencemarker,
|
|
157
|
+
characterReferenceValue: onexitcharacterreferencevalue,
|
|
158
|
+
characterReference: onexitcharacterreference,
|
|
159
|
+
codeFenced: closer(onexitcodefenced),
|
|
160
|
+
codeFencedFence: onexitcodefencedfence,
|
|
161
|
+
codeFencedFenceInfo: onexitcodefencedfenceinfo,
|
|
162
|
+
codeFencedFenceMeta: onexitcodefencedfencemeta,
|
|
163
|
+
codeFlowValue: onexitdata,
|
|
164
|
+
codeIndented: closer(onexitcodeindented),
|
|
165
|
+
codeText: closer(onexitcodetext),
|
|
166
|
+
codeTextData: onexitdata,
|
|
167
|
+
data: onexitdata,
|
|
168
|
+
definition: closer(),
|
|
169
|
+
definitionDestinationString: onexitdefinitiondestinationstring,
|
|
170
|
+
definitionLabelString: onexitdefinitionlabelstring,
|
|
171
|
+
definitionTitleString: onexitdefinitiontitlestring,
|
|
172
|
+
emphasis: closer(),
|
|
173
|
+
hardBreakEscape: closer(onexithardbreak),
|
|
174
|
+
hardBreakTrailing: closer(onexithardbreak),
|
|
175
|
+
htmlFlow: closer(onexithtmlflow),
|
|
176
|
+
htmlFlowData: onexitdata,
|
|
177
|
+
htmlText: closer(onexithtmltext),
|
|
178
|
+
htmlTextData: onexitdata,
|
|
179
|
+
image: closer(onexitimage),
|
|
180
|
+
label: onexitlabel,
|
|
181
|
+
labelText: onexitlabeltext,
|
|
182
|
+
lineEnding: onexitlineending,
|
|
183
|
+
link: closer(onexitlink),
|
|
184
|
+
listItem: closer(),
|
|
185
|
+
listOrdered: closer(),
|
|
186
|
+
listUnordered: closer(),
|
|
187
|
+
paragraph: closer(),
|
|
188
|
+
referenceString: onexitreferencestring,
|
|
189
|
+
resourceDestinationString: onexitresourcedestinationstring,
|
|
190
|
+
resourceTitleString: onexitresourcetitlestring,
|
|
191
|
+
resource: onexitresource,
|
|
192
|
+
setextHeading: closer(onexitsetextheading),
|
|
193
|
+
setextHeadingLineSequence: onexitsetextheadinglinesequence,
|
|
194
|
+
setextHeadingText: onexitsetextheadingtext,
|
|
195
|
+
strong: closer(),
|
|
196
|
+
thematicBreak: closer()
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
configure(config, (options || {}).mdastExtensions || [])
|
|
201
|
+
|
|
202
|
+
/** @type {CompileData} */
|
|
203
|
+
const data = {}
|
|
204
|
+
|
|
205
|
+
return compile
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Turn micromark events into an mdast tree.
|
|
209
|
+
*
|
|
210
|
+
* @param {Array<Event>} events
|
|
211
|
+
* Events.
|
|
212
|
+
* @returns {Root}
|
|
213
|
+
* mdast tree.
|
|
214
|
+
*/
|
|
215
|
+
function compile(events) {
|
|
216
|
+
/** @type {Root} */
|
|
217
|
+
let tree = {type: 'root', children: [], position: undefined}
|
|
218
|
+
/** @type {Omit<CompileContext, 'sliceSerialize'>} */
|
|
219
|
+
const context = {
|
|
220
|
+
stack: [tree],
|
|
221
|
+
tokenStack: [],
|
|
222
|
+
config,
|
|
223
|
+
enter,
|
|
224
|
+
exit,
|
|
225
|
+
buffer,
|
|
226
|
+
resume,
|
|
227
|
+
data
|
|
228
|
+
}
|
|
229
|
+
/** @type {Array<number>} */
|
|
230
|
+
const listStack = []
|
|
231
|
+
/** @type {Array<Event>} */
|
|
232
|
+
const prepared = []
|
|
233
|
+
let index = -1
|
|
234
|
+
|
|
235
|
+
// Add `listItem` tokens and infer spread.
|
|
236
|
+
// Each list is prepared while it is last in `prepared`, so nothing shifts.
|
|
237
|
+
while (++index < events.length) {
|
|
238
|
+
prepared.push(events[index])
|
|
239
|
+
|
|
240
|
+
if (
|
|
241
|
+
events[index][1].type === types.listOrdered ||
|
|
242
|
+
events[index][1].type === types.listUnordered
|
|
243
|
+
) {
|
|
244
|
+
if (events[index][0] === 'enter') {
|
|
245
|
+
listStack.push(prepared.length - 1)
|
|
246
|
+
} else {
|
|
247
|
+
const tail = listStack.pop()
|
|
248
|
+
assert(typeof tail === 'number', 'expected list to be open')
|
|
249
|
+
prepareList(prepared, tail)
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
events = prepared
|
|
255
|
+
|
|
256
|
+
index = -1
|
|
257
|
+
|
|
258
|
+
while (++index < events.length) {
|
|
259
|
+
const handler = config[events[index][0]]
|
|
260
|
+
|
|
261
|
+
if (events[index][0] === 'enter' && config.beforeEnter.length > 0) {
|
|
262
|
+
callListeners(
|
|
263
|
+
config.beforeEnter,
|
|
264
|
+
{...context, sliceSerialize: events[index][2].sliceSerialize},
|
|
265
|
+
events[index][1]
|
|
266
|
+
)
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (own.call(handler, events[index][1].type)) {
|
|
270
|
+
// Note: spread first, V8 has optimizations for object shape cloning.
|
|
271
|
+
handler[events[index][1].type].call(
|
|
272
|
+
{...context, sliceSerialize: events[index][2].sliceSerialize},
|
|
273
|
+
events[index][1]
|
|
274
|
+
)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (events[index][0] === 'exit' && config.afterExit.length > 0) {
|
|
278
|
+
callListeners(
|
|
279
|
+
config.afterExit,
|
|
280
|
+
{...context, sliceSerialize: events[index][2].sliceSerialize},
|
|
281
|
+
events[index][1]
|
|
282
|
+
)
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// Handle tokens still being open.
|
|
287
|
+
if (context.tokenStack.length > 0) {
|
|
288
|
+
const tail = context.tokenStack[context.tokenStack.length - 1]
|
|
289
|
+
const handler = tail[1] || defaultOnError
|
|
290
|
+
handler.call(context, undefined, tail[0])
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// Figure out `root` position.
|
|
294
|
+
tree.position = {
|
|
295
|
+
start: point(
|
|
296
|
+
events.length > 0 ? events[0][1].start : {line: 1, column: 1, offset: 0}
|
|
297
|
+
),
|
|
298
|
+
end: point(
|
|
299
|
+
events.length > 0
|
|
300
|
+
? events[events.length - 2][1].end
|
|
301
|
+
: {line: 1, column: 1, offset: 0}
|
|
302
|
+
)
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Call transforms.
|
|
306
|
+
index = -1
|
|
307
|
+
while (++index < config.transforms.length) {
|
|
308
|
+
tree = config.transforms[index](tree) || tree
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
return tree
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @param {Array<Handle>} listeners
|
|
316
|
+
* Listeners.
|
|
317
|
+
* @param {CompileContext} context
|
|
318
|
+
* Context.
|
|
319
|
+
* @param {Token} token
|
|
320
|
+
* Token.
|
|
321
|
+
* @returns {undefined}
|
|
322
|
+
* Nothing.
|
|
323
|
+
*/
|
|
324
|
+
function callListeners(listeners, context, token) {
|
|
325
|
+
let index = -1
|
|
326
|
+
|
|
327
|
+
while (++index < listeners.length) {
|
|
328
|
+
listeners[index].call(context, token)
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @param {Array<Event>} events
|
|
334
|
+
* Events, ending with the list to prepare.
|
|
335
|
+
* @param {number} start
|
|
336
|
+
* Index of the list enter.
|
|
337
|
+
* @returns {undefined}
|
|
338
|
+
*/
|
|
339
|
+
function prepareList(events, start) {
|
|
340
|
+
const end = events.length - 1
|
|
341
|
+
let index = start - 1
|
|
342
|
+
let containerBalance = -1
|
|
343
|
+
let listSpread = false
|
|
344
|
+
/** @type {Token | undefined} */
|
|
345
|
+
let listItem
|
|
346
|
+
/** @type {number | undefined} */
|
|
347
|
+
let lineIndex
|
|
348
|
+
/** @type {number | undefined} */
|
|
349
|
+
let firstBlankLineIndex
|
|
350
|
+
/** @type {boolean | undefined} */
|
|
351
|
+
let atMarker
|
|
352
|
+
/**
|
|
353
|
+
* `listItem` events to insert before the event at `at`, in walk order.
|
|
354
|
+
* Merged in after the walk, as inserting while walking would shift the
|
|
355
|
+
* rest of the list once per item.
|
|
356
|
+
* @type {Array<{at: number, event: Event}>}
|
|
357
|
+
*/
|
|
358
|
+
const insertions = []
|
|
359
|
+
|
|
360
|
+
while (++index <= end) {
|
|
361
|
+
const event = events[index]
|
|
362
|
+
|
|
363
|
+
switch (event[1].type) {
|
|
364
|
+
case types.listUnordered:
|
|
365
|
+
case types.listOrdered:
|
|
366
|
+
case types.blockQuote: {
|
|
367
|
+
if (event[0] === 'enter') {
|
|
368
|
+
containerBalance++
|
|
369
|
+
} else {
|
|
370
|
+
containerBalance--
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
atMarker = undefined
|
|
374
|
+
|
|
375
|
+
break
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
case types.lineEndingBlank: {
|
|
379
|
+
if (event[0] === 'enter') {
|
|
380
|
+
if (
|
|
381
|
+
listItem &&
|
|
382
|
+
!atMarker &&
|
|
383
|
+
!containerBalance &&
|
|
384
|
+
!firstBlankLineIndex
|
|
385
|
+
) {
|
|
386
|
+
firstBlankLineIndex = index
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
atMarker = undefined
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
break
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
case types.linePrefix:
|
|
396
|
+
case types.listItemValue:
|
|
397
|
+
case types.listItemMarker:
|
|
398
|
+
case types.listItemPrefix:
|
|
399
|
+
case types.listItemPrefixWhitespace: {
|
|
400
|
+
// Empty.
|
|
401
|
+
|
|
402
|
+
break
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
default: {
|
|
406
|
+
atMarker = undefined
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (
|
|
411
|
+
(!containerBalance &&
|
|
412
|
+
event[0] === 'enter' &&
|
|
413
|
+
event[1].type === types.listItemPrefix) ||
|
|
414
|
+
(containerBalance === -1 &&
|
|
415
|
+
event[0] === 'exit' &&
|
|
416
|
+
(event[1].type === types.listUnordered ||
|
|
417
|
+
event[1].type === types.listOrdered))
|
|
418
|
+
) {
|
|
419
|
+
if (listItem) {
|
|
420
|
+
let tailIndex = index
|
|
421
|
+
lineIndex = undefined
|
|
422
|
+
|
|
423
|
+
while (tailIndex--) {
|
|
424
|
+
const tailEvent = events[tailIndex]
|
|
425
|
+
|
|
426
|
+
if (
|
|
427
|
+
tailEvent[1].type === types.lineEnding ||
|
|
428
|
+
tailEvent[1].type === types.lineEndingBlank
|
|
429
|
+
) {
|
|
430
|
+
if (tailEvent[0] === 'exit') continue
|
|
431
|
+
|
|
432
|
+
if (lineIndex) {
|
|
433
|
+
events[lineIndex][1].type = types.lineEndingBlank
|
|
434
|
+
listSpread = true
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
tailEvent[1].type = types.lineEnding
|
|
438
|
+
lineIndex = tailIndex
|
|
439
|
+
} else if (
|
|
440
|
+
tailEvent[1].type === types.linePrefix ||
|
|
441
|
+
tailEvent[1].type === types.blockQuotePrefix ||
|
|
442
|
+
tailEvent[1].type === types.blockQuotePrefixWhitespace ||
|
|
443
|
+
tailEvent[1].type === types.blockQuoteMarker ||
|
|
444
|
+
tailEvent[1].type === types.listItemIndent
|
|
445
|
+
) {
|
|
446
|
+
// Empty
|
|
447
|
+
} else {
|
|
448
|
+
break
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (
|
|
453
|
+
firstBlankLineIndex &&
|
|
454
|
+
(!lineIndex || firstBlankLineIndex < lineIndex)
|
|
455
|
+
) {
|
|
456
|
+
listItem._spread = true
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// Fix position.
|
|
460
|
+
listItem.end = Object.assign(
|
|
461
|
+
{},
|
|
462
|
+
lineIndex ? events[lineIndex][1].start : event[1].end
|
|
463
|
+
)
|
|
464
|
+
|
|
465
|
+
insertions.push({
|
|
466
|
+
at: lineIndex || index,
|
|
467
|
+
event: ['exit', listItem, event[2]]
|
|
468
|
+
})
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// Create a new list item.
|
|
472
|
+
if (event[1].type === types.listItemPrefix) {
|
|
473
|
+
/** @type {Token} */
|
|
474
|
+
const item = {
|
|
475
|
+
type: 'listItem',
|
|
476
|
+
_spread: false,
|
|
477
|
+
start: Object.assign({}, event[1].start),
|
|
478
|
+
// @ts-expect-error: we’ll add `end` in a second.
|
|
479
|
+
end: undefined
|
|
480
|
+
}
|
|
481
|
+
listItem = item
|
|
482
|
+
insertions.push({at: index, event: ['enter', item, event[2]]})
|
|
483
|
+
firstBlankLineIndex = undefined
|
|
484
|
+
atMarker = true
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// The list is at the end of `events`: take it off, then push it back with
|
|
490
|
+
// the insertions merged in.
|
|
491
|
+
// Nothing follows the list, so nothing shifts.
|
|
492
|
+
const listEvents = events.splice(start)
|
|
493
|
+
let insertion = 0
|
|
494
|
+
index = -1
|
|
495
|
+
|
|
496
|
+
while (++index < listEvents.length) {
|
|
497
|
+
while (
|
|
498
|
+
insertion < insertions.length &&
|
|
499
|
+
insertions[insertion].at === start + index
|
|
500
|
+
) {
|
|
501
|
+
events.push(insertions[insertion++].event)
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
events.push(listEvents[index])
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
assert(insertion === insertions.length, 'expected insertions to be merged')
|
|
508
|
+
|
|
509
|
+
events[start][1]._spread = listSpread
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Create an opener handle.
|
|
514
|
+
*
|
|
515
|
+
* @param {(token: Token) => Nodes} create
|
|
516
|
+
* Create a node.
|
|
517
|
+
* @param {Handle | undefined} [and]
|
|
518
|
+
* Optional function to also run.
|
|
519
|
+
* @returns {Handle}
|
|
520
|
+
* Handle.
|
|
521
|
+
*/
|
|
522
|
+
function opener(create, and) {
|
|
523
|
+
return open
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @this {CompileContext}
|
|
527
|
+
* @param {Token} token
|
|
528
|
+
* @returns {undefined}
|
|
529
|
+
*/
|
|
530
|
+
function open(token) {
|
|
531
|
+
enter.call(this, create(token), token)
|
|
532
|
+
if (and) and.call(this, token)
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* @type {CompileContext['buffer']}
|
|
538
|
+
*/
|
|
539
|
+
function buffer() {
|
|
540
|
+
this.stack.push({type: 'fragment', children: []})
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* @type {CompileContext['enter']}
|
|
545
|
+
*/
|
|
546
|
+
function enter(node, token, errorHandler) {
|
|
547
|
+
const parent = this.stack[this.stack.length - 1]
|
|
548
|
+
assert(parent, 'expected `parent`')
|
|
549
|
+
assert('children' in parent, 'expected `parent`')
|
|
550
|
+
/** @type {Array<Nodes>} */
|
|
551
|
+
const siblings = parent.children
|
|
552
|
+
siblings.push(node)
|
|
553
|
+
this.stack.push(node)
|
|
554
|
+
this.tokenStack.push([token, errorHandler || undefined])
|
|
555
|
+
node.position = {
|
|
556
|
+
start: point(token.start),
|
|
557
|
+
// @ts-expect-error: `end` will be patched later.
|
|
558
|
+
end: undefined
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Create a closer handle.
|
|
564
|
+
*
|
|
565
|
+
* @param {Handle | undefined} [and]
|
|
566
|
+
* Optional function to also run.
|
|
567
|
+
* @returns {Handle}
|
|
568
|
+
* Handle.
|
|
569
|
+
*/
|
|
570
|
+
function closer(and) {
|
|
571
|
+
return close
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @this {CompileContext}
|
|
575
|
+
* @param {Token} token
|
|
576
|
+
* @returns {undefined}
|
|
577
|
+
*/
|
|
578
|
+
function close(token) {
|
|
579
|
+
if (and) and.call(this, token)
|
|
580
|
+
exit.call(this, token)
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @type {CompileContext['exit']}
|
|
586
|
+
*/
|
|
587
|
+
function exit(token, onExitError) {
|
|
588
|
+
const node = this.stack.pop()
|
|
589
|
+
assert(node, 'expected `node`')
|
|
590
|
+
const open = this.tokenStack.pop()
|
|
591
|
+
|
|
592
|
+
if (!open) {
|
|
593
|
+
throw new Error(
|
|
594
|
+
'Cannot close `' +
|
|
595
|
+
token.type +
|
|
596
|
+
'` (' +
|
|
597
|
+
stringifyPosition({start: token.start, end: token.end}) +
|
|
598
|
+
'): it’s not open'
|
|
599
|
+
)
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
if (open[0].type !== token.type) {
|
|
603
|
+
if (onExitError) {
|
|
604
|
+
onExitError.call(this, token, open[0])
|
|
605
|
+
} else {
|
|
606
|
+
const handler = open[1] || defaultOnError
|
|
607
|
+
handler.call(this, token, open[0])
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
assert(node.type !== 'fragment', 'unexpected fragment `exit`ed')
|
|
612
|
+
assert(node.position, 'expected `position` to be defined')
|
|
613
|
+
node.position.end = point(token.end)
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @type {CompileContext['resume']}
|
|
618
|
+
*/
|
|
619
|
+
function resume() {
|
|
620
|
+
return toString(this.stack.pop())
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
//
|
|
624
|
+
// Handlers.
|
|
625
|
+
//
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @this {CompileContext}
|
|
629
|
+
* @type {Handle}
|
|
630
|
+
*/
|
|
631
|
+
function onenterlistordered() {
|
|
632
|
+
this.data.expectingFirstListItemValue = true
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @this {CompileContext}
|
|
637
|
+
* @type {Handle}
|
|
638
|
+
*/
|
|
639
|
+
function onenterlistitemvalue(token) {
|
|
640
|
+
if (this.data.expectingFirstListItemValue) {
|
|
641
|
+
const ancestor = this.stack[this.stack.length - 2]
|
|
642
|
+
assert(ancestor, 'expected nodes on stack')
|
|
643
|
+
assert(ancestor.type === 'list', 'expected list on stack')
|
|
644
|
+
ancestor.start = Number.parseInt(
|
|
645
|
+
this.sliceSerialize(token),
|
|
646
|
+
constants.numericBaseDecimal
|
|
647
|
+
)
|
|
648
|
+
this.data.expectingFirstListItemValue = undefined
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @this {CompileContext}
|
|
654
|
+
* @type {Handle}
|
|
655
|
+
*/
|
|
656
|
+
function onexitcodefencedfenceinfo() {
|
|
657
|
+
const data = this.resume()
|
|
658
|
+
const node = this.stack[this.stack.length - 1]
|
|
659
|
+
assert(node, 'expected node on stack')
|
|
660
|
+
assert(node.type === 'code', 'expected code on stack')
|
|
661
|
+
node.lang = data
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @this {CompileContext}
|
|
666
|
+
* @type {Handle}
|
|
667
|
+
*/
|
|
668
|
+
function onexitcodefencedfencemeta() {
|
|
669
|
+
const data = this.resume()
|
|
670
|
+
const node = this.stack[this.stack.length - 1]
|
|
671
|
+
assert(node, 'expected node on stack')
|
|
672
|
+
assert(node.type === 'code', 'expected code on stack')
|
|
673
|
+
node.meta = data
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @this {CompileContext}
|
|
678
|
+
* @type {Handle}
|
|
679
|
+
*/
|
|
680
|
+
function onexitcodefencedfence() {
|
|
681
|
+
// Exit if this is the closing fence.
|
|
682
|
+
if (this.data.flowCodeInside) return
|
|
683
|
+
this.buffer()
|
|
684
|
+
this.data.flowCodeInside = true
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @this {CompileContext}
|
|
689
|
+
* @type {Handle}
|
|
690
|
+
*/
|
|
691
|
+
function onexitcodefenced() {
|
|
692
|
+
const data = this.resume()
|
|
693
|
+
const node = this.stack[this.stack.length - 1]
|
|
694
|
+
assert(node, 'expected node on stack')
|
|
695
|
+
assert(node.type === 'code', 'expected code on stack')
|
|
696
|
+
|
|
697
|
+
node.value = data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, '')
|
|
698
|
+
this.data.flowCodeInside = undefined
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @this {CompileContext}
|
|
703
|
+
* @type {Handle}
|
|
704
|
+
*/
|
|
705
|
+
function onexitcodeindented() {
|
|
706
|
+
const data = this.resume()
|
|
707
|
+
const node = this.stack[this.stack.length - 1]
|
|
708
|
+
assert(node, 'expected node on stack')
|
|
709
|
+
assert(node.type === 'code', 'expected code on stack')
|
|
710
|
+
|
|
711
|
+
node.value = data.replace(/(\r?\n|\r)$/g, '')
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @this {CompileContext}
|
|
716
|
+
* @type {Handle}
|
|
717
|
+
*/
|
|
718
|
+
function onexitdefinitionlabelstring(token) {
|
|
719
|
+
const label = this.resume()
|
|
720
|
+
const node = this.stack[this.stack.length - 1]
|
|
721
|
+
assert(node, 'expected node on stack')
|
|
722
|
+
assert(node.type === 'definition', 'expected definition on stack')
|
|
723
|
+
|
|
724
|
+
node.label = label
|
|
725
|
+
node.identifier = normalizeIdentifier(
|
|
726
|
+
this.sliceSerialize(token)
|
|
727
|
+
).toLowerCase()
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* @this {CompileContext}
|
|
732
|
+
* @type {Handle}
|
|
733
|
+
*/
|
|
734
|
+
function onexitdefinitiontitlestring() {
|
|
735
|
+
const data = this.resume()
|
|
736
|
+
const node = this.stack[this.stack.length - 1]
|
|
737
|
+
assert(node, 'expected node on stack')
|
|
738
|
+
assert(node.type === 'definition', 'expected definition on stack')
|
|
739
|
+
|
|
740
|
+
node.title = data
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @this {CompileContext}
|
|
745
|
+
* @type {Handle}
|
|
746
|
+
*/
|
|
747
|
+
function onexitdefinitiondestinationstring() {
|
|
748
|
+
const data = this.resume()
|
|
749
|
+
const node = this.stack[this.stack.length - 1]
|
|
750
|
+
assert(node, 'expected node on stack')
|
|
751
|
+
assert(node.type === 'definition', 'expected definition on stack')
|
|
752
|
+
|
|
753
|
+
node.url = data
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @this {CompileContext}
|
|
758
|
+
* @type {Handle}
|
|
759
|
+
*/
|
|
760
|
+
function onexitatxheadingsequence(token) {
|
|
761
|
+
const node = this.stack[this.stack.length - 1]
|
|
762
|
+
assert(node, 'expected node on stack')
|
|
763
|
+
assert(node.type === 'heading', 'expected heading on stack')
|
|
764
|
+
|
|
765
|
+
if (!node.depth) {
|
|
766
|
+
const depth = this.sliceSerialize(token).length
|
|
767
|
+
|
|
768
|
+
assert(
|
|
769
|
+
depth === 1 ||
|
|
770
|
+
depth === 2 ||
|
|
771
|
+
depth === 3 ||
|
|
772
|
+
depth === 4 ||
|
|
773
|
+
depth === 5 ||
|
|
774
|
+
depth === 6,
|
|
775
|
+
'expected `depth` between `1` and `6`'
|
|
776
|
+
)
|
|
777
|
+
|
|
778
|
+
node.depth = depth
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* @this {CompileContext}
|
|
784
|
+
* @type {Handle}
|
|
785
|
+
*/
|
|
786
|
+
function onexitsetextheadingtext() {
|
|
787
|
+
this.data.setextHeadingSlurpLineEnding = true
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @this {CompileContext}
|
|
792
|
+
* @type {Handle}
|
|
793
|
+
*/
|
|
794
|
+
function onexitsetextheadinglinesequence(token) {
|
|
795
|
+
const node = this.stack[this.stack.length - 1]
|
|
796
|
+
assert(node, 'expected node on stack')
|
|
797
|
+
assert(node.type === 'heading', 'expected heading on stack')
|
|
798
|
+
|
|
799
|
+
node.depth =
|
|
800
|
+
this.sliceSerialize(token).codePointAt(0) === codes.equalsTo ? 1 : 2
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @this {CompileContext}
|
|
805
|
+
* @type {Handle}
|
|
806
|
+
*/
|
|
807
|
+
function onexitsetextheading() {
|
|
808
|
+
this.data.setextHeadingSlurpLineEnding = undefined
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @this {CompileContext}
|
|
813
|
+
* @type {Handle}
|
|
814
|
+
*/
|
|
815
|
+
|
|
816
|
+
function onenterdata(token) {
|
|
817
|
+
const node = this.stack[this.stack.length - 1]
|
|
818
|
+
assert(node, 'expected node on stack')
|
|
819
|
+
assert('children' in node, 'expected parent on stack')
|
|
820
|
+
/** @type {Array<Nodes>} */
|
|
821
|
+
const siblings = node.children
|
|
822
|
+
|
|
823
|
+
let tail = siblings[siblings.length - 1]
|
|
824
|
+
|
|
825
|
+
if (!tail || tail.type !== 'text') {
|
|
826
|
+
// Add a new text node.
|
|
827
|
+
tail = text()
|
|
828
|
+
tail.position = {
|
|
829
|
+
start: point(token.start),
|
|
830
|
+
// @ts-expect-error: we’ll add `end` later.
|
|
831
|
+
end: undefined
|
|
832
|
+
}
|
|
833
|
+
siblings.push(tail)
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
this.stack.push(tail)
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* @this {CompileContext}
|
|
841
|
+
* @type {Handle}
|
|
842
|
+
*/
|
|
843
|
+
|
|
844
|
+
function onexitdata(token) {
|
|
845
|
+
const tail = this.stack.pop()
|
|
846
|
+
assert(tail, 'expected a `node` to be on the stack')
|
|
847
|
+
assert('value' in tail, 'expected a `literal` to be on the stack')
|
|
848
|
+
assert(tail.position, 'expected `node` to have an open position')
|
|
849
|
+
tail.value += this.sliceSerialize(token)
|
|
850
|
+
tail.position.end = point(token.end)
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* @this {CompileContext}
|
|
855
|
+
* @type {Handle}
|
|
856
|
+
*/
|
|
857
|
+
|
|
858
|
+
function onexitlineending(token) {
|
|
859
|
+
const context = this.stack[this.stack.length - 1]
|
|
860
|
+
assert(context, 'expected `node`')
|
|
861
|
+
|
|
862
|
+
// If we’re at a hard break, include the line ending in there.
|
|
863
|
+
if (this.data.atHardBreak) {
|
|
864
|
+
assert('children' in context, 'expected `parent`')
|
|
865
|
+
const tail = context.children[context.children.length - 1]
|
|
866
|
+
assert(tail.position, 'expected tail to have a starting position')
|
|
867
|
+
tail.position.end = point(token.end)
|
|
868
|
+
this.data.atHardBreak = undefined
|
|
869
|
+
return
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
if (
|
|
873
|
+
!this.data.setextHeadingSlurpLineEnding &&
|
|
874
|
+
config.canContainEols.includes(context.type)
|
|
875
|
+
) {
|
|
876
|
+
onenterdata.call(this, token)
|
|
877
|
+
onexitdata.call(this, token)
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* @this {CompileContext}
|
|
883
|
+
* @type {Handle}
|
|
884
|
+
*/
|
|
885
|
+
|
|
886
|
+
function onexithardbreak() {
|
|
887
|
+
this.data.atHardBreak = true
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* @this {CompileContext}
|
|
892
|
+
* @type {Handle}
|
|
893
|
+
*/
|
|
894
|
+
|
|
895
|
+
function onexithtmlflow() {
|
|
896
|
+
const data = this.resume()
|
|
897
|
+
const node = this.stack[this.stack.length - 1]
|
|
898
|
+
assert(node, 'expected node on stack')
|
|
899
|
+
assert(node.type === 'html', 'expected html on stack')
|
|
900
|
+
|
|
901
|
+
node.value = data
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* @this {CompileContext}
|
|
906
|
+
* @type {Handle}
|
|
907
|
+
*/
|
|
908
|
+
|
|
909
|
+
function onexithtmltext() {
|
|
910
|
+
const data = this.resume()
|
|
911
|
+
const node = this.stack[this.stack.length - 1]
|
|
912
|
+
assert(node, 'expected node on stack')
|
|
913
|
+
assert(node.type === 'html', 'expected html on stack')
|
|
914
|
+
|
|
915
|
+
node.value = data
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* @this {CompileContext}
|
|
920
|
+
* @type {Handle}
|
|
921
|
+
*/
|
|
922
|
+
|
|
923
|
+
function onexitcodetext() {
|
|
924
|
+
const data = this.resume()
|
|
925
|
+
const node = this.stack[this.stack.length - 1]
|
|
926
|
+
assert(node, 'expected node on stack')
|
|
927
|
+
assert(node.type === 'inlineCode', 'expected inline code on stack')
|
|
928
|
+
|
|
929
|
+
node.value = data
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* @this {CompileContext}
|
|
934
|
+
* @type {Handle}
|
|
935
|
+
*/
|
|
936
|
+
|
|
937
|
+
function onexitlink() {
|
|
938
|
+
const node = this.stack[this.stack.length - 1]
|
|
939
|
+
assert(node, 'expected node on stack')
|
|
940
|
+
assert(node.type === 'link', 'expected link on stack')
|
|
941
|
+
|
|
942
|
+
// Note: there are also `identifier` and `label` fields on this link node!
|
|
943
|
+
// These are used / cleaned here.
|
|
944
|
+
|
|
945
|
+
// To do: clean.
|
|
946
|
+
if (this.data.inReference) {
|
|
947
|
+
/** @type {ReferenceType} */
|
|
948
|
+
const referenceType = this.data.referenceType || 'shortcut'
|
|
949
|
+
|
|
950
|
+
node.type += 'Reference'
|
|
951
|
+
// @ts-expect-error: mutate.
|
|
952
|
+
node.referenceType = referenceType
|
|
953
|
+
// @ts-expect-error: mutate.
|
|
954
|
+
delete node.url
|
|
955
|
+
delete node.title
|
|
956
|
+
} else {
|
|
957
|
+
// @ts-expect-error: mutate.
|
|
958
|
+
delete node.identifier
|
|
959
|
+
// @ts-expect-error: mutate.
|
|
960
|
+
delete node.label
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
this.data.referenceType = undefined
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* @this {CompileContext}
|
|
968
|
+
* @type {Handle}
|
|
969
|
+
*/
|
|
970
|
+
|
|
971
|
+
function onexitimage() {
|
|
972
|
+
const node = this.stack[this.stack.length - 1]
|
|
973
|
+
assert(node, 'expected node on stack')
|
|
974
|
+
assert(node.type === 'image', 'expected image on stack')
|
|
975
|
+
|
|
976
|
+
// Note: there are also `identifier` and `label` fields on this link node!
|
|
977
|
+
// These are used / cleaned here.
|
|
978
|
+
|
|
979
|
+
// To do: clean.
|
|
980
|
+
if (this.data.inReference) {
|
|
981
|
+
/** @type {ReferenceType} */
|
|
982
|
+
const referenceType = this.data.referenceType || 'shortcut'
|
|
983
|
+
|
|
984
|
+
node.type += 'Reference'
|
|
985
|
+
// @ts-expect-error: mutate.
|
|
986
|
+
node.referenceType = referenceType
|
|
987
|
+
// @ts-expect-error: mutate.
|
|
988
|
+
delete node.url
|
|
989
|
+
delete node.title
|
|
990
|
+
} else {
|
|
991
|
+
// @ts-expect-error: mutate.
|
|
992
|
+
delete node.identifier
|
|
993
|
+
// @ts-expect-error: mutate.
|
|
994
|
+
delete node.label
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
this.data.referenceType = undefined
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* @this {CompileContext}
|
|
1002
|
+
* @type {Handle}
|
|
1003
|
+
*/
|
|
1004
|
+
|
|
1005
|
+
function onexitlabeltext(token) {
|
|
1006
|
+
const string = this.sliceSerialize(token)
|
|
1007
|
+
const ancestor = this.stack[this.stack.length - 2]
|
|
1008
|
+
assert(ancestor, 'expected ancestor on stack')
|
|
1009
|
+
assert(
|
|
1010
|
+
ancestor.type === 'image' || ancestor.type === 'link',
|
|
1011
|
+
'expected image or link on stack'
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
// @ts-expect-error: stash this on the node, as it might become a reference
|
|
1015
|
+
// later.
|
|
1016
|
+
ancestor.label = decodeString(string)
|
|
1017
|
+
// @ts-expect-error: same as above.
|
|
1018
|
+
ancestor.identifier = normalizeIdentifier(string).toLowerCase()
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* @this {CompileContext}
|
|
1023
|
+
* @type {Handle}
|
|
1024
|
+
*/
|
|
1025
|
+
|
|
1026
|
+
function onexitlabel() {
|
|
1027
|
+
const fragment = this.stack[this.stack.length - 1]
|
|
1028
|
+
assert(fragment, 'expected node on stack')
|
|
1029
|
+
assert(fragment.type === 'fragment', 'expected fragment on stack')
|
|
1030
|
+
const value = this.resume()
|
|
1031
|
+
const node = this.stack[this.stack.length - 1]
|
|
1032
|
+
assert(node, 'expected node on stack')
|
|
1033
|
+
assert(
|
|
1034
|
+
node.type === 'image' || node.type === 'link',
|
|
1035
|
+
'expected image or link on stack'
|
|
1036
|
+
)
|
|
1037
|
+
|
|
1038
|
+
// Assume a reference.
|
|
1039
|
+
this.data.inReference = true
|
|
1040
|
+
|
|
1041
|
+
if (node.type === 'link') {
|
|
1042
|
+
/** @type {Array<PhrasingContent>} */
|
|
1043
|
+
const children = fragment.children
|
|
1044
|
+
|
|
1045
|
+
node.children = children
|
|
1046
|
+
} else {
|
|
1047
|
+
node.alt = value
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* @this {CompileContext}
|
|
1053
|
+
* @type {Handle}
|
|
1054
|
+
*/
|
|
1055
|
+
|
|
1056
|
+
function onexitresourcedestinationstring() {
|
|
1057
|
+
const data = this.resume()
|
|
1058
|
+
const node = this.stack[this.stack.length - 1]
|
|
1059
|
+
assert(node, 'expected node on stack')
|
|
1060
|
+
assert(
|
|
1061
|
+
node.type === 'image' || node.type === 'link',
|
|
1062
|
+
'expected image or link on stack'
|
|
1063
|
+
)
|
|
1064
|
+
node.url = data
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* @this {CompileContext}
|
|
1069
|
+
* @type {Handle}
|
|
1070
|
+
*/
|
|
1071
|
+
|
|
1072
|
+
function onexitresourcetitlestring() {
|
|
1073
|
+
const data = this.resume()
|
|
1074
|
+
const node = this.stack[this.stack.length - 1]
|
|
1075
|
+
assert(node, 'expected node on stack')
|
|
1076
|
+
assert(
|
|
1077
|
+
node.type === 'image' || node.type === 'link',
|
|
1078
|
+
'expected image or link on stack'
|
|
1079
|
+
)
|
|
1080
|
+
node.title = data
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* @this {CompileContext}
|
|
1085
|
+
* @type {Handle}
|
|
1086
|
+
*/
|
|
1087
|
+
|
|
1088
|
+
function onexitresource() {
|
|
1089
|
+
this.data.inReference = undefined
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @this {CompileContext}
|
|
1094
|
+
* @type {Handle}
|
|
1095
|
+
*/
|
|
1096
|
+
|
|
1097
|
+
function onenterreference() {
|
|
1098
|
+
this.data.referenceType = 'collapsed'
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @this {CompileContext}
|
|
1103
|
+
* @type {Handle}
|
|
1104
|
+
*/
|
|
1105
|
+
|
|
1106
|
+
function onexitreferencestring(token) {
|
|
1107
|
+
const label = this.resume()
|
|
1108
|
+
const node = this.stack[this.stack.length - 1]
|
|
1109
|
+
assert(node, 'expected node on stack')
|
|
1110
|
+
assert(
|
|
1111
|
+
node.type === 'image' || node.type === 'link',
|
|
1112
|
+
'expected image reference or link reference on stack'
|
|
1113
|
+
)
|
|
1114
|
+
|
|
1115
|
+
// @ts-expect-error: stash this on the node, as it might become a reference
|
|
1116
|
+
// later.
|
|
1117
|
+
node.label = label
|
|
1118
|
+
// @ts-expect-error: same as above.
|
|
1119
|
+
node.identifier = normalizeIdentifier(
|
|
1120
|
+
this.sliceSerialize(token)
|
|
1121
|
+
).toLowerCase()
|
|
1122
|
+
this.data.referenceType = 'full'
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* @this {CompileContext}
|
|
1127
|
+
* @type {Handle}
|
|
1128
|
+
*/
|
|
1129
|
+
|
|
1130
|
+
function onexitcharacterreferencemarker(token) {
|
|
1131
|
+
assert(
|
|
1132
|
+
token.type === 'characterReferenceMarkerNumeric' ||
|
|
1133
|
+
token.type === 'characterReferenceMarkerHexadecimal'
|
|
1134
|
+
)
|
|
1135
|
+
this.data.characterReferenceType = token.type
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* @this {CompileContext}
|
|
1140
|
+
* @type {Handle}
|
|
1141
|
+
*/
|
|
1142
|
+
function onexitcharacterreferencevalue(token) {
|
|
1143
|
+
const data = this.sliceSerialize(token)
|
|
1144
|
+
const type = this.data.characterReferenceType
|
|
1145
|
+
/** @type {string} */
|
|
1146
|
+
let value
|
|
1147
|
+
|
|
1148
|
+
if (type) {
|
|
1149
|
+
value = decodeNumericCharacterReference(
|
|
1150
|
+
data,
|
|
1151
|
+
type === types.characterReferenceMarkerNumeric
|
|
1152
|
+
? constants.numericBaseDecimal
|
|
1153
|
+
: constants.numericBaseHexadecimal
|
|
1154
|
+
)
|
|
1155
|
+
this.data.characterReferenceType = undefined
|
|
1156
|
+
} else {
|
|
1157
|
+
const result = decodeNamedCharacterReference(data)
|
|
1158
|
+
assert(result !== false, 'expected reference to decode')
|
|
1159
|
+
value = result
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
const tail = this.stack[this.stack.length - 1]
|
|
1163
|
+
assert(tail, 'expected `node`')
|
|
1164
|
+
assert('value' in tail, 'expected `node.value`')
|
|
1165
|
+
tail.value += value
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* @this {CompileContext}
|
|
1170
|
+
* @type {Handle}
|
|
1171
|
+
*/
|
|
1172
|
+
function onexitcharacterreference(token) {
|
|
1173
|
+
const tail = this.stack.pop()
|
|
1174
|
+
assert(tail, 'expected `node`')
|
|
1175
|
+
assert(tail.position, 'expected `node.position`')
|
|
1176
|
+
tail.position.end = point(token.end)
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* @this {CompileContext}
|
|
1181
|
+
* @type {Handle}
|
|
1182
|
+
*/
|
|
1183
|
+
function onexitautolinkprotocol(token) {
|
|
1184
|
+
onexitdata.call(this, token)
|
|
1185
|
+
const node = this.stack[this.stack.length - 1]
|
|
1186
|
+
assert(node, 'expected node on stack')
|
|
1187
|
+
assert(node.type === 'link', 'expected link on stack')
|
|
1188
|
+
|
|
1189
|
+
node.url = this.sliceSerialize(token)
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* @this {CompileContext}
|
|
1194
|
+
* @type {Handle}
|
|
1195
|
+
*/
|
|
1196
|
+
function onexitautolinkemail(token) {
|
|
1197
|
+
onexitdata.call(this, token)
|
|
1198
|
+
const node = this.stack[this.stack.length - 1]
|
|
1199
|
+
assert(node, 'expected node on stack')
|
|
1200
|
+
assert(node.type === 'link', 'expected link on stack')
|
|
1201
|
+
|
|
1202
|
+
node.url = 'mailto:' + this.sliceSerialize(token)
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
//
|
|
1206
|
+
// Creaters.
|
|
1207
|
+
//
|
|
1208
|
+
|
|
1209
|
+
// Each node factory pre-declares `position` as undefined as the trailing
|
|
1210
|
+
// property. enter() patches it to a real value, but the property already
|
|
1211
|
+
// exists, so V8 sees a single hidden class for each node type from
|
|
1212
|
+
// construction through the rest of the pipeline. Without the pre-declare,
|
|
1213
|
+
// each node took a hidden-class transition when enter() added position.
|
|
1214
|
+
|
|
1215
|
+
/** @returns {Blockquote} */
|
|
1216
|
+
function blockQuote() {
|
|
1217
|
+
return {type: 'blockquote', children: [], position: undefined}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/** @returns {Code} */
|
|
1221
|
+
function codeFlow() {
|
|
1222
|
+
return {
|
|
1223
|
+
type: 'code',
|
|
1224
|
+
lang: null,
|
|
1225
|
+
meta: null,
|
|
1226
|
+
value: '',
|
|
1227
|
+
position: undefined
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/** @returns {InlineCode} */
|
|
1232
|
+
function codeText() {
|
|
1233
|
+
return {type: 'inlineCode', value: '', position: undefined}
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/** @returns {Definition} */
|
|
1237
|
+
function definition() {
|
|
1238
|
+
return {
|
|
1239
|
+
type: 'definition',
|
|
1240
|
+
identifier: '',
|
|
1241
|
+
label: null,
|
|
1242
|
+
title: null,
|
|
1243
|
+
url: '',
|
|
1244
|
+
position: undefined
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/** @returns {Emphasis} */
|
|
1249
|
+
function emphasis() {
|
|
1250
|
+
return {type: 'emphasis', children: [], position: undefined}
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/** @returns {Heading} */
|
|
1254
|
+
function heading() {
|
|
1255
|
+
return {
|
|
1256
|
+
type: 'heading',
|
|
1257
|
+
// @ts-expect-error `depth` will be set later.
|
|
1258
|
+
depth: 0,
|
|
1259
|
+
children: [],
|
|
1260
|
+
position: undefined
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/** @returns {Break} */
|
|
1265
|
+
function hardBreak() {
|
|
1266
|
+
return {type: 'break', position: undefined}
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/** @returns {Html} */
|
|
1270
|
+
function html() {
|
|
1271
|
+
return {type: 'html', value: '', position: undefined}
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/** @returns {Image} */
|
|
1275
|
+
function image() {
|
|
1276
|
+
return {
|
|
1277
|
+
type: 'image',
|
|
1278
|
+
title: null,
|
|
1279
|
+
url: '',
|
|
1280
|
+
alt: null,
|
|
1281
|
+
position: undefined
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/** @returns {Link} */
|
|
1286
|
+
function link() {
|
|
1287
|
+
return {
|
|
1288
|
+
type: 'link',
|
|
1289
|
+
title: null,
|
|
1290
|
+
url: '',
|
|
1291
|
+
children: [],
|
|
1292
|
+
position: undefined
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* @param {Token} token
|
|
1298
|
+
* @returns {List}
|
|
1299
|
+
*/
|
|
1300
|
+
function list(token) {
|
|
1301
|
+
return {
|
|
1302
|
+
type: 'list',
|
|
1303
|
+
ordered: token.type === 'listOrdered',
|
|
1304
|
+
start: null,
|
|
1305
|
+
spread: token._spread,
|
|
1306
|
+
children: [],
|
|
1307
|
+
position: undefined
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* @param {Token} token
|
|
1313
|
+
* @returns {ListItem}
|
|
1314
|
+
*/
|
|
1315
|
+
function listItem(token) {
|
|
1316
|
+
return {
|
|
1317
|
+
type: 'listItem',
|
|
1318
|
+
spread: token._spread,
|
|
1319
|
+
checked: null,
|
|
1320
|
+
children: [],
|
|
1321
|
+
position: undefined
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/** @returns {Paragraph} */
|
|
1326
|
+
function paragraph() {
|
|
1327
|
+
return {type: 'paragraph', children: [], position: undefined}
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/** @returns {Strong} */
|
|
1331
|
+
function strong() {
|
|
1332
|
+
return {type: 'strong', children: [], position: undefined}
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/** @returns {Text} */
|
|
1336
|
+
function text() {
|
|
1337
|
+
return {type: 'text', value: '', position: undefined}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/** @returns {ThematicBreak} */
|
|
1341
|
+
function thematicBreak() {
|
|
1342
|
+
return {type: 'thematicBreak', position: undefined}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* Copy a point-like value.
|
|
1348
|
+
*
|
|
1349
|
+
* @param {Point} d
|
|
1350
|
+
* Point-like value.
|
|
1351
|
+
* @returns {Point}
|
|
1352
|
+
* unist point.
|
|
1353
|
+
*/
|
|
1354
|
+
function point(d) {
|
|
1355
|
+
return {line: d.line, column: d.column, offset: d.offset}
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* @param {Config} combined
|
|
1360
|
+
* @param {Array<Array<Extension> | Extension>} extensions
|
|
1361
|
+
* @returns {undefined}
|
|
1362
|
+
*/
|
|
1363
|
+
function configure(combined, extensions) {
|
|
1364
|
+
let index = -1
|
|
1365
|
+
|
|
1366
|
+
while (++index < extensions.length) {
|
|
1367
|
+
const value = extensions[index]
|
|
1368
|
+
|
|
1369
|
+
if (Array.isArray(value)) {
|
|
1370
|
+
configure(combined, value)
|
|
1371
|
+
} else {
|
|
1372
|
+
extension(combined, value)
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* @param {Config} combined
|
|
1379
|
+
* @param {Extension} extension
|
|
1380
|
+
* @returns {undefined}
|
|
1381
|
+
*/
|
|
1382
|
+
function extension(combined, extension) {
|
|
1383
|
+
/** @type {keyof Extension} */
|
|
1384
|
+
let key
|
|
1385
|
+
|
|
1386
|
+
for (key in extension) {
|
|
1387
|
+
if (own.call(extension, key)) {
|
|
1388
|
+
switch (key) {
|
|
1389
|
+
case 'canContainEols': {
|
|
1390
|
+
const right = extension[key]
|
|
1391
|
+
if (right) {
|
|
1392
|
+
combined[key].push(...right)
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
break
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
case 'transforms': {
|
|
1399
|
+
const right = extension[key]
|
|
1400
|
+
if (right) {
|
|
1401
|
+
combined[key].push(...right)
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
break
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
case 'afterExit':
|
|
1408
|
+
case 'beforeEnter': {
|
|
1409
|
+
const right = extension[key]
|
|
1410
|
+
if (right) {
|
|
1411
|
+
combined[key].push(right)
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
break
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
case 'enter':
|
|
1418
|
+
case 'exit': {
|
|
1419
|
+
const right = extension[key]
|
|
1420
|
+
if (right) {
|
|
1421
|
+
Object.assign(combined[key], right)
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
break
|
|
1425
|
+
}
|
|
1426
|
+
// No default
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/** @type {OnEnterError} */
|
|
1433
|
+
function defaultOnError(left, right) {
|
|
1434
|
+
if (left) {
|
|
1435
|
+
throw new Error(
|
|
1436
|
+
'Cannot close `' +
|
|
1437
|
+
left.type +
|
|
1438
|
+
'` (' +
|
|
1439
|
+
stringifyPosition({start: left.start, end: left.end}) +
|
|
1440
|
+
'): a different token (`' +
|
|
1441
|
+
right.type +
|
|
1442
|
+
'`, ' +
|
|
1443
|
+
stringifyPosition({start: right.start, end: right.end}) +
|
|
1444
|
+
') is open'
|
|
1445
|
+
)
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
throw new Error(
|
|
1449
|
+
'Cannot close document, a token (`' +
|
|
1450
|
+
right.type +
|
|
1451
|
+
'`, ' +
|
|
1452
|
+
stringifyPosition({start: right.start, end: right.end}) +
|
|
1453
|
+
') is still open'
|
|
1454
|
+
)
|
|
1455
|
+
}
|