@itpay/cli 2.1.46 → 2.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD-PARTY-NOTICES.txt +112 -0
- package/dist/src/main.js +22701 -1661
- package/dist/src/state/config.js +6 -144
- package/docs/agent/buyer/cart-checkout.json +1 -1
- package/docs/agent/buyer/catalog-list.json +1 -1
- package/docs/agent/buyer/identity-and-sessions.json +1 -1
- package/docs/agent/buyer/install-and-setup.json +1 -1
- package/docs/agent/buyer/orders-refunds.json +1 -1
- package/docs/agent/buyer/payment-flow.json +1 -1
- package/docs/agent/buyer/purchased-content.json +1 -1
- package/docs/agent/buyer/quickstart.json +1 -1
- package/docs/agent/buyer/rail-booking.json +7 -5
- package/docs/agent/buyer/rail-fast-checkout.json +1 -1
- package/docs/agent/buyer/render-hosts.json +1 -1
- package/docs/agent/buyer/service-feedback.json +1 -1
- package/docs/cli-reference/agent-types.md +1 -1
- package/docs/cli-reference/commands/auth.md +0 -1
- package/docs/cli-reference/commands/buy.md +1 -1
- package/docs/cli-reference/commands/cart/add.md +1 -1
- package/docs/cli-reference/commands/cart/clear.md +1 -1
- package/docs/cli-reference/commands/cart/index.md +1 -1
- package/docs/cli-reference/commands/cart/next.md +1 -1
- package/docs/cli-reference/commands/cart/remove.md +1 -1
- package/docs/cli-reference/commands/cart/show.md +1 -1
- package/docs/cli-reference/commands/catalog/index.md +1 -1
- package/docs/cli-reference/commands/catalog/list.md +1 -1
- package/docs/cli-reference/commands/checkout.md +1 -1
- package/docs/cli-reference/commands/docs/index.md +1 -1
- package/docs/cli-reference/commands/docs/list.md +1 -1
- package/docs/cli-reference/commands/docs/search.md +1 -1
- package/docs/cli-reference/commands/docs/show.md +1 -1
- package/docs/cli-reference/commands/install.md +1 -1
- package/docs/cli-reference/commands/next.md +1 -1
- package/docs/cli-reference/commands/order.md +1 -1
- package/docs/cli-reference/commands/pay.md +1 -1
- package/docs/cli-reference/commands/readyz.md +1 -1
- package/docs/cli-reference/commands/refund/cancel.md +1 -1
- package/docs/cli-reference/commands/refund/create.md +1 -1
- package/docs/cli-reference/commands/refund/get.md +1 -1
- package/docs/cli-reference/commands/refund/index.md +1 -1
- package/docs/cli-reference/commands/refund/list.md +1 -1
- package/docs/cli-reference/commands/refund/watch.md +1 -1
- package/docs/cli-reference/commands/services/action.md +1 -1
- package/docs/cli-reference/commands/services/checkout.md +1 -1
- package/docs/cli-reference/commands/services/events.md +1 -1
- package/docs/cli-reference/commands/services/get.md +1 -1
- package/docs/cli-reference/commands/services/invoke.md +1 -1
- package/docs/cli-reference/commands/services/list.md +1 -1
- package/docs/cli-reference/commands/services/next.md +1 -1
- package/docs/cli-reference/commands/services/page.md +1 -1
- package/docs/cli-reference/commands/services/quote.md +1 -1
- package/docs/cli-reference/commands/services/read-result.md +1 -1
- package/docs/cli-reference/commands/services/start.md +1 -1
- package/docs/cli-reference/conventions.md +1 -1
- package/docs/cli-reference/index.md +1 -2
- package/package.json +86 -28
- package/skills/itpay/SKILL.md +12 -4
- package/assets/sell-preview/index.html +0 -6
- package/assets/sell-preview/preview.js +0 -9
- package/bin/darwin-amd64/itpay-sell +0 -0
- package/bin/darwin-arm64/itpay-sell +0 -0
- package/bin/linux-amd64/itpay-sell +0 -0
- package/bin/linux-arm64/itpay-sell +0 -0
- package/bin/windows-amd64/itpay-sell.exe +0 -0
- package/dist/src/client/backend.js +0 -235
- package/dist/src/client/http.js +0 -121
- package/dist/src/client/transport.js +0 -81
- package/dist/src/client/types.js +0 -4
- package/dist/src/commands/aftercare.js +0 -12
- package/dist/src/commands/buy.js +0 -288
- package/dist/src/commands/cart.js +0 -371
- package/dist/src/commands/catalog.js +0 -103
- package/dist/src/commands/checkout.js +0 -306
- package/dist/src/commands/checkout_handoff.js +0 -13
- package/dist/src/commands/compatibility.js +0 -36
- package/dist/src/commands/docs.js +0 -97
- package/dist/src/commands/feedback.js +0 -160
- package/dist/src/commands/guidance.js +0 -1
- package/dist/src/commands/install.js +0 -68
- package/dist/src/commands/next.js +0 -45
- package/dist/src/commands/order.js +0 -94
- package/dist/src/commands/orders.js +0 -94
- package/dist/src/commands/pay.js +0 -80
- package/dist/src/commands/presentation.js +0 -153
- package/dist/src/commands/rail_catalog.js +0 -1
- package/dist/src/commands/readyz.js +0 -16
- package/dist/src/commands/refund.js +0 -106
- package/dist/src/commands/services/actions.js +0 -133
- package/dist/src/commands/services/commerce.js +0 -197
- package/dist/src/commands/services/lifecycle.js +0 -418
- package/dist/src/commands/services/results.js +0 -130
- package/dist/src/commands/services.js +0 -14
- package/dist/src/commands/setup.js +0 -37
- package/dist/src/commands/skill.js +0 -79
- package/dist/src/commands/vault.js +0 -148
- package/dist/src/commands/vault_handoff.js +0 -95
- package/dist/src/render/browser.js +0 -65
- package/dist/src/render/checkout_handoff.js +0 -101
- package/dist/src/render/checkout_plan.js +0 -47
- package/dist/src/render/feishu.js +0 -201
- package/dist/src/render/ide.js +0 -321
- package/dist/src/render/index.js +0 -59
- package/dist/src/render/interaction.js +0 -49
- package/dist/src/render/locale.js +0 -27
- package/dist/src/render/markdown.js +0 -80
- package/dist/src/render/output.js +0 -41
- package/dist/src/render/plain_chat.js +0 -64
- package/dist/src/render/plan.js +0 -31
- package/dist/src/render/qr.js +0 -32
- package/dist/src/render/sink.js +0 -6
- package/dist/src/render/status.js +0 -37
- package/dist/src/render/telegram.js +0 -168
- package/dist/src/render/terminal.js +0 -148
- package/dist/src/render/terminal_image.js +0 -19
- package/dist/src/sell/commands.js +0 -80
- package/dist/src/sell/contract.js +0 -86
- package/dist/src/sell/local.js +0 -260
- package/dist/src/sell/mcp.js +0 -49
- package/dist/src/sell/preview.js +0 -70
- package/dist/src/sell/sync.js +0 -145
- package/dist/src/services/adapter.js +0 -1
- package/dist/src/services/presentation.js +0 -198
- package/dist/src/services/rail/actions.js +0 -51
- package/dist/src/services/rail/adapter.js +0 -36
- package/dist/src/services/rail/aftercare.js +0 -45
- package/dist/src/services/rail/catalog.js +0 -261
- package/dist/src/services/rail/checkout.js +0 -19
- package/dist/src/services/rail/fulfillment.js +0 -76
- package/dist/src/services/rail/guide.js +0 -110
- package/dist/src/services/rail/invocation.js +0 -54
- package/dist/src/services/rail/page.js +0 -76
- package/dist/src/services/rail/pagination.js +0 -6
- package/dist/src/services/rail/query.js +0 -71
- package/dist/src/services/rail/readers.js +0 -107
- package/dist/src/services/rail/reading.js +0 -125
- package/dist/src/services/rail/recovery.js +0 -51
- package/dist/src/services/rail/results.js +0 -378
- package/dist/src/services/rail/review.js +0 -268
- package/dist/src/services/rail/saved.js +0 -49
- package/dist/src/services/rail/wait.js +0 -11
- package/dist/src/services/registry.js +0 -31
- package/dist/src/services/schema.js +0 -21
- package/dist/src/services/shared/envelope.js +0 -184
- package/dist/src/services/shared/input.js +0 -39
- package/dist/src/services/shared/pagination.js +0 -28
- package/dist/src/services/shared/platform.js +0 -365
- package/dist/src/services/shared/refund.js +0 -40
- package/dist/src/services/shared/workflow.js +0 -28
- package/dist/src/state/account_auth.js +0 -358
- package/dist/src/state/agent_type.js +0 -25
- package/dist/src/state/cart_session.js +0 -150
- package/dist/src/state/client_context.js +0 -151
- package/dist/src/state/device_authority.js +0 -394
- package/dist/src/state/device_key.js +0 -69
- package/dist/src/state/device_session_cache.js +0 -203
- package/dist/src/state/operation_journal.js +0 -93
- package/dist/src/state/task_journal.js +0 -90
- package/docs/cli-reference/commands/sell.md +0 -1364
- package/docs/sell.md +0 -84
- package/node_modules/@hono/node-server/LICENSE +0 -21
- package/node_modules/@hono/node-server/README.md +0 -358
- package/node_modules/@hono/node-server/dist/conninfo.d.mts +0 -10
- package/node_modules/@hono/node-server/dist/conninfo.d.ts +0 -10
- package/node_modules/@hono/node-server/dist/conninfo.js +0 -42
- package/node_modules/@hono/node-server/dist/conninfo.mjs +0 -17
- package/node_modules/@hono/node-server/dist/globals.d.mts +0 -2
- package/node_modules/@hono/node-server/dist/globals.d.ts +0 -2
- package/node_modules/@hono/node-server/dist/globals.js +0 -29
- package/node_modules/@hono/node-server/dist/globals.mjs +0 -5
- package/node_modules/@hono/node-server/dist/index.d.mts +0 -8
- package/node_modules/@hono/node-server/dist/index.d.ts +0 -8
- package/node_modules/@hono/node-server/dist/index.js +0 -702
- package/node_modules/@hono/node-server/dist/index.mjs +0 -662
- package/node_modules/@hono/node-server/dist/listener.d.mts +0 -13
- package/node_modules/@hono/node-server/dist/listener.d.ts +0 -13
- package/node_modules/@hono/node-server/dist/listener.js +0 -670
- package/node_modules/@hono/node-server/dist/listener.mjs +0 -635
- package/node_modules/@hono/node-server/dist/request.d.mts +0 -25
- package/node_modules/@hono/node-server/dist/request.d.ts +0 -25
- package/node_modules/@hono/node-server/dist/request.js +0 -238
- package/node_modules/@hono/node-server/dist/request.mjs +0 -206
- package/node_modules/@hono/node-server/dist/response.d.mts +0 -26
- package/node_modules/@hono/node-server/dist/response.d.ts +0 -26
- package/node_modules/@hono/node-server/dist/response.js +0 -112
- package/node_modules/@hono/node-server/dist/response.mjs +0 -85
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +0 -17
- package/node_modules/@hono/node-server/dist/serve-static.d.ts +0 -17
- package/node_modules/@hono/node-server/dist/serve-static.js +0 -177
- package/node_modules/@hono/node-server/dist/serve-static.mjs +0 -152
- package/node_modules/@hono/node-server/dist/server.d.mts +0 -10
- package/node_modules/@hono/node-server/dist/server.d.ts +0 -10
- package/node_modules/@hono/node-server/dist/server.js +0 -696
- package/node_modules/@hono/node-server/dist/server.mjs +0 -660
- package/node_modules/@hono/node-server/dist/types.d.mts +0 -44
- package/node_modules/@hono/node-server/dist/types.d.ts +0 -44
- package/node_modules/@hono/node-server/dist/types.js +0 -18
- package/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response/constants.js +0 -30
- package/node_modules/@hono/node-server/dist/utils/response/constants.mjs +0 -5
- package/node_modules/@hono/node-server/dist/utils/response.d.mts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response.js +0 -37
- package/node_modules/@hono/node-server/dist/utils/response.mjs +0 -10
- package/node_modules/@hono/node-server/dist/utils.d.mts +0 -9
- package/node_modules/@hono/node-server/dist/utils.d.ts +0 -9
- package/node_modules/@hono/node-server/dist/utils.js +0 -99
- package/node_modules/@hono/node-server/dist/utils.mjs +0 -71
- package/node_modules/@hono/node-server/dist/vercel.d.mts +0 -7
- package/node_modules/@hono/node-server/dist/vercel.d.ts +0 -7
- package/node_modules/@hono/node-server/dist/vercel.js +0 -677
- package/node_modules/@hono/node-server/dist/vercel.mjs +0 -640
- package/node_modules/@hono/node-server/package.json +0 -103
- package/node_modules/@modelcontextprotocol/sdk/LICENSE +0 -21
- package/node_modules/@modelcontextprotocol/sdk/README.md +0 -172
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +0 -190
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js +0 -299
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +0 -451
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js +0 -943
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +0 -591
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js +0 -629
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +0 -169
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js +0 -252
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +0 -81
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js +0 -211
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js +0 -482
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +0 -17
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js +0 -58
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +0 -680
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js +0 -134
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js +0 -176
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts +0 -20
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js +0 -70
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +0 -397
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +0 -857
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js +0 -157
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js +0 -95
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +0 -168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js +0 -205
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +0 -460
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js +0 -656
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +0 -85
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js +0 -95
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js +0 -168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js +0 -166
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +0 -750
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js +0 -600
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -256
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +0 -107
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +0 -124
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js +0 -73
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js +0 -69
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +0 -121
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js +0 -188
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js +0 -39
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +0 -232
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js +0 -36
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +0 -170
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js +0 -250
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js +0 -251
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js +0 -28
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/package.json +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +0 -148
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js +0 -202
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +0 -24
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js +0 -201
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +0 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js +0 -21
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js +0 -136
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js +0 -21
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js +0 -75
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js +0 -71
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js +0 -159
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +0 -101
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js +0 -128
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +0 -38
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js +0 -48
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js +0 -56
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js +0 -444
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +0 -364
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +0 -922
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js +0 -80
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +0 -82
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js +0 -172
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +0 -28
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js +0 -82
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js +0 -165
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +0 -268
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +0 -755
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +0 -84
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js +0 -244
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js +0 -79
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +0 -23
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js +0 -48
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +0 -240
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js +0 -224
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js +0 -25
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +0 -443
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js +0 -1112
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js +0 -23
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js +0 -37
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js +0 -97
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +0 -89
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js +0 -43
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +0 -25
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js +0 -243
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +0 -2311
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js +0 -27
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +0 -8168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js +0 -2105
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +0 -53
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js +0 -94
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js +0 -69
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js +0 -30
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +0 -190
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js +0 -269
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +0 -451
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +0 -918
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +0 -591
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +0 -624
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +0 -169
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js +0 -245
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +0 -81
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js +0 -206
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +0 -188
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +0 -477
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +0 -17
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js +0 -54
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +0 -678
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js +0 -132
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js +0 -174
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts +0 -20
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +0 -395
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +0 -855
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js +0 -155
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js +0 -93
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +0 -166
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +0 -458
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js +0 -651
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +0 -60
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js +0 -146
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js +0 -70
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js +0 -143
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js +0 -141
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +0 -725
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js +0 -598
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -231
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +0 -102
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js +0 -48
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +0 -121
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +0 -184
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +0 -64
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js +0 -20
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +0 -232
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +0 -170
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +0 -246
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js +0 -246
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +0 -148
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +0 -180
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +0 -24
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +0 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js +0 -15
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js +0 -71
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js +0 -59
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js +0 -107
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js +0 -18
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js +0 -72
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js +0 -155
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +0 -101
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js +0 -118
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +0 -38
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +0 -41
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js +0 -50
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -440
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +0 -364
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +0 -917
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js +0 -76
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +0 -82
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js +0 -165
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +0 -28
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +0 -75
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js +0 -161
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +0 -268
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +0 -751
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +0 -84
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -209
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +0 -23
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +0 -44
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +0 -240
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +0 -198
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js +0 -22
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +0 -443
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -1107
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +0 -92
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +0 -89
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +0 -39
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +0 -25
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +0 -239
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +0 -2311
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js +0 -24
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +0 -8168
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -2065
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +0 -53
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -87
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/package.json +0 -164
- package/node_modules/accepts/HISTORY.md +0 -250
- package/node_modules/accepts/LICENSE +0 -23
- package/node_modules/accepts/README.md +0 -140
- package/node_modules/accepts/index.js +0 -238
- package/node_modules/accepts/package.json +0 -47
- package/node_modules/ajv/.runkit_example.js +0 -23
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv/dist/2019.d.ts +0 -19
- package/node_modules/ajv/dist/2019.js +0 -61
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.d.ts +0 -19
- package/node_modules/ajv/dist/2020.js +0 -55
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/node_modules/ajv/dist/ajv.js +0 -50
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/node_modules/ajv/dist/compile/errors.js +0 -123
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/node_modules/ajv/dist/compile/index.js +0 -242
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/node_modules/ajv/dist/compile/names.js +0 -28
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/node_modules/ajv/dist/compile/rules.js +0 -26
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/node_modules/ajv/dist/compile/util.js +0 -178
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.d.ts +0 -174
- package/node_modules/ajv/dist/core.js +0 -618
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/node_modules/ajv/dist/jtd.js +0 -72
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/data.json +0 -13
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/re2.js +0 -6
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/node_modules/ajv/dist/standalone/index.js +0 -90
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/node_modules/ajv/dist/types/index.js +0 -3
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv/lib/2019.ts +0 -81
- package/node_modules/ajv/lib/2020.ts +0 -75
- package/node_modules/ajv/lib/ajv.ts +0 -70
- package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/node_modules/ajv/lib/compile/index.ts +0 -324
- package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/node_modules/ajv/lib/compile/names.ts +0 -27
- package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/node_modules/ajv/lib/compile/util.ts +0 -213
- package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/node_modules/ajv/lib/core.ts +0 -892
- package/node_modules/ajv/lib/jtd.ts +0 -132
- package/node_modules/ajv/lib/refs/data.json +0 -13
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/node_modules/ajv/lib/types/index.ts +0 -244
- package/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/node_modules/ajv/package.json +0 -126
- package/node_modules/ajv-formats/LICENSE +0 -21
- package/node_modules/ajv-formats/README.md +0 -125
- package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/node_modules/ajv-formats/dist/formats.js +0 -208
- package/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/node_modules/ajv-formats/dist/index.js +0 -37
- package/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/node_modules/ajv-formats/dist/limit.js +0 -69
- package/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/node_modules/ajv-formats/package.json +0 -74
- package/node_modules/ajv-formats/src/formats.ts +0 -269
- package/node_modules/ajv-formats/src/index.ts +0 -62
- package/node_modules/ajv-formats/src/limit.ts +0 -99
- package/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/ansi-regex/license +0 -9
- package/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/ansi-styles/index.d.ts +0 -345
- package/node_modules/ansi-styles/index.js +0 -163
- package/node_modules/ansi-styles/license +0 -9
- package/node_modules/ansi-styles/package.json +0 -56
- package/node_modules/ansi-styles/readme.md +0 -152
- package/node_modules/body-parser/LICENSE +0 -23
- package/node_modules/body-parser/README.md +0 -509
- package/node_modules/body-parser/index.js +0 -55
- package/node_modules/body-parser/lib/read.js +0 -247
- package/node_modules/body-parser/lib/types/json.js +0 -186
- package/node_modules/body-parser/lib/types/raw.js +0 -42
- package/node_modules/body-parser/lib/types/text.js +0 -36
- package/node_modules/body-parser/lib/types/urlencoded.js +0 -138
- package/node_modules/body-parser/lib/utils.js +0 -100
- package/node_modules/body-parser/node_modules/content-type/LICENSE +0 -22
- package/node_modules/body-parser/node_modules/content-type/README.md +0 -71
- package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/body-parser/node_modules/content-type/dist/index.js +0 -176
- package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/body-parser/node_modules/content-type/package.json +0 -52
- package/node_modules/body-parser/package.json +0 -65
- package/node_modules/bytes/History.md +0 -97
- package/node_modules/bytes/LICENSE +0 -23
- package/node_modules/bytes/Readme.md +0 -152
- package/node_modules/bytes/index.js +0 -170
- package/node_modules/bytes/package.json +0 -42
- package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/LICENSE +0 -21
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/index.js +0 -19
- package/node_modules/call-bound/package.json +0 -99
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/camelcase/index.d.ts +0 -63
- package/node_modules/camelcase/index.js +0 -76
- package/node_modules/camelcase/license +0 -9
- package/node_modules/camelcase/package.json +0 -43
- package/node_modules/camelcase/readme.md +0 -99
- package/node_modules/cliui/CHANGELOG.md +0 -76
- package/node_modules/cliui/LICENSE.txt +0 -14
- package/node_modules/cliui/README.md +0 -115
- package/node_modules/cliui/index.js +0 -354
- package/node_modules/cliui/package.json +0 -65
- package/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/color-convert/README.md +0 -68
- package/node_modules/color-convert/conversions.js +0 -839
- package/node_modules/color-convert/index.js +0 -81
- package/node_modules/color-convert/package.json +0 -48
- package/node_modules/color-convert/route.js +0 -97
- package/node_modules/color-name/LICENSE +0 -8
- package/node_modules/color-name/README.md +0 -11
- package/node_modules/color-name/index.js +0 -152
- package/node_modules/color-name/package.json +0 -28
- package/node_modules/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -1157
- package/node_modules/commander/esm.mjs +0 -16
- package/node_modules/commander/index.js +0 -24
- package/node_modules/commander/lib/argument.js +0 -149
- package/node_modules/commander/lib/command.js +0 -2509
- package/node_modules/commander/lib/error.js +0 -39
- package/node_modules/commander/lib/help.js +0 -520
- package/node_modules/commander/lib/option.js +0 -330
- package/node_modules/commander/lib/suggestSimilar.js +0 -101
- package/node_modules/commander/package-support.json +0 -16
- package/node_modules/commander/package.json +0 -84
- package/node_modules/commander/typings/esm.d.mts +0 -3
- package/node_modules/commander/typings/index.d.ts +0 -969
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -141
- package/node_modules/content-disposition/index.js +0 -536
- package/node_modules/content-disposition/package.json +0 -40
- package/node_modules/content-type/HISTORY.md +0 -29
- package/node_modules/content-type/LICENSE +0 -22
- package/node_modules/content-type/README.md +0 -94
- package/node_modules/content-type/index.js +0 -225
- package/node_modules/content-type/package.json +0 -42
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie/index.js +0 -335
- package/node_modules/cookie/package.json +0 -44
- package/node_modules/cookie-signature/History.md +0 -70
- package/node_modules/cookie-signature/LICENSE +0 -22
- package/node_modules/cookie-signature/Readme.md +0 -23
- package/node_modules/cookie-signature/index.js +0 -47
- package/node_modules/cookie-signature/package.json +0 -24
- package/node_modules/cors/LICENSE +0 -22
- package/node_modules/cors/README.md +0 -277
- package/node_modules/cors/lib/index.js +0 -238
- package/node_modules/cors/package.json +0 -42
- package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/cross-spawn/index.js +0 -39
- package/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/node_modules/cross-spawn/lib/parse.js +0 -91
- package/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/node_modules/cross-spawn/package.json +0 -73
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/decamelize/index.js +0 -13
- package/node_modules/decamelize/license +0 -21
- package/node_modules/decamelize/package.json +0 -38
- package/node_modules/decamelize/readme.md +0 -48
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/depd/index.js +0 -538
- package/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/depd/package.json +0 -45
- package/node_modules/dijkstrajs/.travis.yml +0 -4
- package/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
- package/node_modules/dijkstrajs/LICENSE.md +0 -19
- package/node_modules/dijkstrajs/README.md +0 -18
- package/node_modules/dijkstrajs/dijkstra.js +0 -165
- package/node_modules/dijkstrajs/package.json +0 -60
- package/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
- package/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/ee-first/LICENSE +0 -22
- package/node_modules/ee-first/README.md +0 -80
- package/node_modules/ee-first/index.js +0 -95
- package/node_modules/ee-first/package.json +0 -29
- package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/emoji-regex/README.md +0 -73
- package/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/emoji-regex/index.d.ts +0 -23
- package/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/emoji-regex/package.json +0 -50
- package/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/encodeurl/README.md +0 -109
- package/node_modules/encodeurl/index.js +0 -60
- package/node_modules/encodeurl/package.json +0 -40
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/index.js +0 -14
- package/node_modules/es-define-property/package.json +0 -81
- package/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/eval.js +0 -4
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/index.js +0 -4
- package/node_modules/es-errors/package.json +0 -80
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/range.js +0 -4
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/ref.js +0 -4
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/type.js +0 -4
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-errors/uri.js +0 -4
- package/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
- package/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/es-object-atoms/package.json +0 -79
- package/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/es-object-atoms/tsconfig.json +0 -7
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/escape-html/index.js +0 -78
- package/node_modules/escape-html/package.json +0 -24
- package/node_modules/etag/HISTORY.md +0 -83
- package/node_modules/etag/LICENSE +0 -22
- package/node_modules/etag/README.md +0 -159
- package/node_modules/etag/index.js +0 -131
- package/node_modules/etag/package.json +0 -47
- package/node_modules/eventsource/LICENSE +0 -22
- package/node_modules/eventsource/README.md +0 -167
- package/node_modules/eventsource/dist/index.cjs +0 -273
- package/node_modules/eventsource/dist/index.cjs.map +0 -1
- package/node_modules/eventsource/dist/index.d.cts +0 -332
- package/node_modules/eventsource/dist/index.d.ts +0 -332
- package/node_modules/eventsource/dist/index.js +0 -273
- package/node_modules/eventsource/dist/index.js.map +0 -1
- package/node_modules/eventsource/package.json +0 -130
- package/node_modules/eventsource/src/EventSource.ts +0 -596
- package/node_modules/eventsource/src/errors.ts +0 -141
- package/node_modules/eventsource/src/index.ts +0 -3
- package/node_modules/eventsource/src/types.ts +0 -152
- package/node_modules/eventsource-parser/LICENSE +0 -21
- package/node_modules/eventsource-parser/README.md +0 -157
- package/node_modules/eventsource-parser/dist/index.cjs +0 -177
- package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/index.d.cts +0 -169
- package/node_modules/eventsource-parser/dist/index.d.ts +0 -169
- package/node_modules/eventsource-parser/dist/index.js +0 -177
- package/node_modules/eventsource-parser/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.cjs +0 -29
- package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.d.cts +0 -134
- package/node_modules/eventsource-parser/dist/stream.d.ts +0 -134
- package/node_modules/eventsource-parser/dist/stream.js +0 -30
- package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
- package/node_modules/eventsource-parser/package.json +0 -92
- package/node_modules/eventsource-parser/src/errors.ts +0 -44
- package/node_modules/eventsource-parser/src/index.ts +0 -8
- package/node_modules/eventsource-parser/src/parse.ts +0 -439
- package/node_modules/eventsource-parser/src/stream.ts +0 -107
- package/node_modules/eventsource-parser/src/types.ts +0 -122
- package/node_modules/eventsource-parser/stream.js +0 -2
- package/node_modules/express/LICENSE +0 -24
- package/node_modules/express/Readme.md +0 -276
- package/node_modules/express/index.js +0 -11
- package/node_modules/express/lib/application.js +0 -631
- package/node_modules/express/lib/express.js +0 -81
- package/node_modules/express/lib/request.js +0 -514
- package/node_modules/express/lib/response.js +0 -1053
- package/node_modules/express/lib/utils.js +0 -271
- package/node_modules/express/lib/view.js +0 -205
- package/node_modules/express/package.json +0 -99
- package/node_modules/express-rate-limit/dist/index.cjs +0 -1088
- package/node_modules/express-rate-limit/dist/index.d.cts +0 -699
- package/node_modules/express-rate-limit/dist/index.d.mts +0 -699
- package/node_modules/express-rate-limit/dist/index.d.ts +0 -699
- package/node_modules/express-rate-limit/dist/index.mjs +0 -1044
- package/node_modules/express-rate-limit/license +0 -21
- package/node_modules/express-rate-limit/package.json +0 -116
- package/node_modules/express-rate-limit/readme.md +0 -140
- package/node_modules/express-rate-limit/tsconfig.json +0 -8
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/index.js +0 -46
- package/node_modules/fast-deep-equal/package.json +0 -61
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/react.js +0 -53
- package/node_modules/fast-uri/.gitattributes +0 -2
- package/node_modules/fast-uri/.github/dependabot.yml +0 -13
- package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
- package/node_modules/fast-uri/LICENSE +0 -30
- package/node_modules/fast-uri/README.md +0 -152
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/package.json +0 -17
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/eslint.config.js +0 -6
- package/node_modules/fast-uri/index.js +0 -627
- package/node_modules/fast-uri/lib/schemes.js +0 -272
- package/node_modules/fast-uri/lib/utils.js +0 -747
- package/node_modules/fast-uri/package.json +0 -68
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +0 -163
- package/node_modules/fast-uri/test/equal.test.js +0 -145
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -503
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +0 -34
- package/node_modules/fast-uri/test/ipv6-validation.test.js +0 -124
- package/node_modules/fast-uri/test/malformed-percent.test.js +0 -77
- package/node_modules/fast-uri/test/malformed-urn.test.js +0 -61
- package/node_modules/fast-uri/test/parse.test.js +0 -327
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +0 -33
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +0 -109
- package/node_modules/fast-uri/test/resolve.test.js +0 -87
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/scheme-validation.test.js +0 -124
- package/node_modules/fast-uri/test/security-normalization.test.js +0 -140
- package/node_modules/fast-uri/test/security.test.js +0 -431
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/urn-full-input.test.js +0 -29
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +0 -24
- package/node_modules/fast-uri/tsconfig.json +0 -9
- package/node_modules/fast-uri/types/index.d.ts +0 -60
- package/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/node_modules/finalhandler/HISTORY.md +0 -239
- package/node_modules/finalhandler/LICENSE +0 -22
- package/node_modules/finalhandler/README.md +0 -150
- package/node_modules/finalhandler/index.js +0 -293
- package/node_modules/finalhandler/package.json +0 -47
- package/node_modules/find-up/index.d.ts +0 -137
- package/node_modules/find-up/index.js +0 -89
- package/node_modules/find-up/license +0 -9
- package/node_modules/find-up/package.json +0 -53
- package/node_modules/find-up/readme.md +0 -156
- package/node_modules/forwarded/HISTORY.md +0 -21
- package/node_modules/forwarded/LICENSE +0 -22
- package/node_modules/forwarded/README.md +0 -57
- package/node_modules/forwarded/index.js +0 -90
- package/node_modules/forwarded/package.json +0 -45
- package/node_modules/fresh/HISTORY.md +0 -80
- package/node_modules/fresh/LICENSE +0 -23
- package/node_modules/fresh/README.md +0 -117
- package/node_modules/fresh/index.js +0 -136
- package/node_modules/fresh/package.json +0 -46
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/function-bind/index.js +0 -5
- package/node_modules/function-bind/package.json +0 -87
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/get-caller-file/LICENSE.md +0 -6
- package/node_modules/get-caller-file/README.md +0 -41
- package/node_modules/get-caller-file/index.d.ts +0 -2
- package/node_modules/get-caller-file/index.js +0 -22
- package/node_modules/get-caller-file/index.js.map +0 -1
- package/node_modules/get-caller-file/package.json +0 -42
- package/node_modules/get-intrinsic/.eslintrc +0 -42
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/index.js +0 -378
- package/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/get-proto/README.md +0 -50
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/get-proto/index.js +0 -27
- package/node_modules/get-proto/package.json +0 -81
- package/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/gopd/LICENSE +0 -21
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/gopd/index.js +0 -15
- package/node_modules/gopd/package.json +0 -77
- package/node_modules/gopd/test/index.js +0 -36
- package/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/has-symbols/index.js +0 -14
- package/node_modules/has-symbols/package.json +0 -111
- package/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/hasown/LICENSE +0 -21
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/index.js +0 -8
- package/node_modules/hasown/package.json +0 -91
- package/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/hono/LICENSE +0 -21
- package/node_modules/hono/README.md +0 -85
- package/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +0 -24
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +0 -364
- package/node_modules/hono/dist/adapter/aws-lambda/index.js +0 -9
- package/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/node_modules/hono/dist/adapter/bun/conninfo.js +0 -27
- package/node_modules/hono/dist/adapter/bun/index.js +0 -16
- package/node_modules/hono/dist/adapter/bun/serve-static.js +0 -30
- package/node_modules/hono/dist/adapter/bun/server.js +0 -5
- package/node_modules/hono/dist/adapter/bun/ssg.js +0 -17
- package/node_modules/hono/dist/adapter/bun/websocket.js +0 -73
- package/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +0 -9
- package/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +0 -67
- package/node_modules/hono/dist/adapter/cloudflare-pages/index.js +0 -9
- package/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +0 -9
- package/node_modules/hono/dist/adapter/cloudflare-workers/index.js +0 -9
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +0 -8
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +0 -22
- package/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +0 -35
- package/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +0 -41
- package/node_modules/hono/dist/adapter/deno/conninfo.js +0 -14
- package/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/adapter/deno/index.js +0 -12
- package/node_modules/hono/dist/adapter/deno/serve-static.js +0 -40
- package/node_modules/hono/dist/adapter/deno/ssg.js +0 -18
- package/node_modules/hono/dist/adapter/deno/websocket.js +0 -32
- package/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +0 -9
- package/node_modules/hono/dist/adapter/lambda-edge/handler.js +0 -96
- package/node_modules/hono/dist/adapter/lambda-edge/index.js +0 -7
- package/node_modules/hono/dist/adapter/netlify/conninfo.js +0 -9
- package/node_modules/hono/dist/adapter/netlify/handler.js +0 -9
- package/node_modules/hono/dist/adapter/netlify/index.js +0 -2
- package/node_modules/hono/dist/adapter/netlify/mod.js +0 -7
- package/node_modules/hono/dist/adapter/service-worker/handler.js +0 -20
- package/node_modules/hono/dist/adapter/service-worker/index.js +0 -9
- package/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
- package/node_modules/hono/dist/adapter/vercel/conninfo.js +0 -10
- package/node_modules/hono/dist/adapter/vercel/handler.js +0 -7
- package/node_modules/hono/dist/adapter/vercel/index.js +0 -7
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +0 -46
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +0 -395
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +0 -34
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +0 -15
- package/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +0 -49
- package/node_modules/hono/dist/cjs/adapter/bun/index.js +0 -45
- package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +0 -52
- package/node_modules/hono/dist/cjs/adapter/bun/server.js +0 -27
- package/node_modules/hono/dist/cjs/adapter/bun/ssg.js +0 -40
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +0 -98
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +0 -31
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +0 -91
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +0 -34
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +0 -31
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +0 -33
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +0 -30
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +0 -44
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +0 -57
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +0 -63
- package/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +0 -36
- package/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/cjs/adapter/deno/index.js +0 -38
- package/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +0 -62
- package/node_modules/hono/dist/cjs/adapter/deno/ssg.js +0 -41
- package/node_modules/hono/dist/cjs/adapter/deno/websocket.js +0 -54
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +0 -31
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +0 -130
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +0 -30
- package/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +0 -31
- package/node_modules/hono/dist/cjs/adapter/netlify/handler.js +0 -31
- package/node_modules/hono/dist/cjs/adapter/netlify/index.js +0 -21
- package/node_modules/hono/dist/cjs/adapter/netlify/mod.js +0 -30
- package/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +0 -42
- package/node_modules/hono/dist/cjs/adapter/service-worker/index.js +0 -32
- package/node_modules/hono/dist/cjs/adapter/service-worker/types.js +0 -15
- package/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +0 -32
- package/node_modules/hono/dist/cjs/adapter/vercel/handler.js +0 -29
- package/node_modules/hono/dist/cjs/adapter/vercel/index.js +0 -30
- package/node_modules/hono/dist/cjs/client/client.js +0 -218
- package/node_modules/hono/dist/cjs/client/fetch-result-please.js +0 -85
- package/node_modules/hono/dist/cjs/client/index.js +0 -32
- package/node_modules/hono/dist/cjs/client/types.js +0 -15
- package/node_modules/hono/dist/cjs/client/utils.js +0 -108
- package/node_modules/hono/dist/cjs/compose.js +0 -68
- package/node_modules/hono/dist/cjs/context.js +0 -454
- package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +0 -77
- package/node_modules/hono/dist/cjs/helper/accepts/index.js +0 -27
- package/node_modules/hono/dist/cjs/helper/adapter/index.js +0 -81
- package/node_modules/hono/dist/cjs/helper/conninfo/index.js +0 -15
- package/node_modules/hono/dist/cjs/helper/conninfo/types.js +0 -15
- package/node_modules/hono/dist/cjs/helper/cookie/index.js +0 -130
- package/node_modules/hono/dist/cjs/helper/css/common.js +0 -273
- package/node_modules/hono/dist/cjs/helper/css/index.js +0 -157
- package/node_modules/hono/dist/cjs/helper/dev/index.js +0 -79
- package/node_modules/hono/dist/cjs/helper/factory/index.js +0 -54
- package/node_modules/hono/dist/cjs/helper/html/index.js +0 -64
- package/node_modules/hono/dist/cjs/helper/proxy/index.js +0 -115
- package/node_modules/hono/dist/cjs/helper/route/index.js +0 -71
- package/node_modules/hono/dist/cjs/helper/ssg/index.js +0 -43
- package/node_modules/hono/dist/cjs/helper/ssg/middleware.js +0 -73
- package/node_modules/hono/dist/cjs/helper/ssg/plugins.js +0 -70
- package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +0 -320
- package/node_modules/hono/dist/cjs/helper/ssg/utils.js +0 -113
- package/node_modules/hono/dist/cjs/helper/streaming/index.js +0 -35
- package/node_modules/hono/dist/cjs/helper/streaming/sse.js +0 -91
- package/node_modules/hono/dist/cjs/helper/streaming/stream.js +0 -56
- package/node_modules/hono/dist/cjs/helper/streaming/text.js +0 -34
- package/node_modules/hono/dist/cjs/helper/streaming/utils.js +0 -35
- package/node_modules/hono/dist/cjs/helper/testing/index.js +0 -33
- package/node_modules/hono/dist/cjs/helper/websocket/index.js +0 -81
- package/node_modules/hono/dist/cjs/hono-base.js +0 -407
- package/node_modules/hono/dist/cjs/hono.js +0 -43
- package/node_modules/hono/dist/cjs/http-exception.js +0 -57
- package/node_modules/hono/dist/cjs/index.js +0 -30
- package/node_modules/hono/dist/cjs/jsx/base.js +0 -395
- package/node_modules/hono/dist/cjs/jsx/children.js +0 -44
- package/node_modules/hono/dist/cjs/jsx/components.js +0 -220
- package/node_modules/hono/dist/cjs/jsx/constants.js +0 -42
- package/node_modules/hono/dist/cjs/jsx/context.js +0 -188
- package/node_modules/hono/dist/cjs/jsx/dom/client.js +0 -76
- package/node_modules/hono/dist/cjs/jsx/dom/components.js +0 -55
- package/node_modules/hono/dist/cjs/jsx/dom/context.js +0 -71
- package/node_modules/hono/dist/cjs/jsx/dom/css.js +0 -168
- package/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +0 -74
- package/node_modules/hono/dist/cjs/jsx/dom/index.js +0 -181
- package/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +0 -399
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +0 -52
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +0 -32
- package/node_modules/hono/dist/cjs/jsx/dom/render.js +0 -643
- package/node_modules/hono/dist/cjs/jsx/dom/server.js +0 -71
- package/node_modules/hono/dist/cjs/jsx/dom/utils.js +0 -32
- package/node_modules/hono/dist/cjs/jsx/hooks/index.js +0 -373
- package/node_modules/hono/dist/cjs/jsx/index.js +0 -138
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +0 -50
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +0 -189
- package/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +0 -15
- package/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +0 -41
- package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +0 -71
- package/node_modules/hono/dist/cjs/jsx/streaming.js +0 -178
- package/node_modules/hono/dist/cjs/jsx/types.js +0 -15
- package/node_modules/hono/dist/cjs/jsx/utils.js +0 -200
- package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +0 -88
- package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +0 -114
- package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +0 -75
- package/node_modules/hono/dist/cjs/middleware/cache/index.js +0 -219
- package/node_modules/hono/dist/cjs/middleware/combine/index.js +0 -101
- package/node_modules/hono/dist/cjs/middleware/compress/index.js +0 -97
- package/node_modules/hono/dist/cjs/middleware/context-storage/index.js +0 -47
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +0 -109
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +0 -77
- package/node_modules/hono/dist/cjs/middleware/etag/digest.js +0 -101
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +0 -99
- package/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +0 -176
- package/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +0 -82
- package/node_modules/hono/dist/cjs/middleware/jwk/index.js +0 -27
- package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +0 -139
- package/node_modules/hono/dist/cjs/middleware/jwt/index.js +0 -38
- package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +0 -145
- package/node_modules/hono/dist/cjs/middleware/language/index.js +0 -35
- package/node_modules/hono/dist/cjs/middleware/language/language.js +0 -203
- package/node_modules/hono/dist/cjs/middleware/logger/index.js +0 -72
- package/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +0 -90
- package/node_modules/hono/dist/cjs/middleware/method-override/index.js +0 -106
- package/node_modules/hono/dist/cjs/middleware/powered-by/index.js +0 -32
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +0 -39
- package/node_modules/hono/dist/cjs/middleware/request-id/index.js +0 -27
- package/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +0 -43
- package/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +0 -29
- package/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +0 -15
- package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +0 -198
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +0 -99
- package/node_modules/hono/dist/cjs/middleware/serve-static/path.js +0 -40
- package/node_modules/hono/dist/cjs/middleware/timeout/index.js +0 -47
- package/node_modules/hono/dist/cjs/middleware/timing/index.js +0 -35
- package/node_modules/hono/dist/cjs/middleware/timing/timing.js +0 -130
- package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +0 -62
- package/node_modules/hono/dist/cjs/package.json +0 -3
- package/node_modules/hono/dist/cjs/preset/quick.js +0 -38
- package/node_modules/hono/dist/cjs/preset/tiny.js +0 -34
- package/node_modules/hono/dist/cjs/request/constants.js +0 -27
- package/node_modules/hono/dist/cjs/request.js +0 -346
- package/node_modules/hono/dist/cjs/router/linear-router/index.js +0 -27
- package/node_modules/hono/dist/cjs/router/linear-router/router.js +0 -145
- package/node_modules/hono/dist/cjs/router/pattern-router/index.js +0 -27
- package/node_modules/hono/dist/cjs/router/pattern-router/router.js +0 -64
- package/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +0 -34
- package/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +0 -48
- package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +0 -140
- package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +0 -166
- package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +0 -151
- package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +0 -90
- package/node_modules/hono/dist/cjs/router/smart-router/index.js +0 -27
- package/node_modules/hono/dist/cjs/router/smart-router/router.js +0 -80
- package/node_modules/hono/dist/cjs/router/trie-router/index.js +0 -27
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +0 -187
- package/node_modules/hono/dist/cjs/router/trie-router/router.js +0 -40
- package/node_modules/hono/dist/cjs/router/utils.js +0 -27
- package/node_modules/hono/dist/cjs/router.js +0 -40
- package/node_modules/hono/dist/cjs/types.js +0 -28
- package/node_modules/hono/dist/cjs/utils/accept.js +0 -245
- package/node_modules/hono/dist/cjs/utils/basic-auth.js +0 -45
- package/node_modules/hono/dist/cjs/utils/body.js +0 -123
- package/node_modules/hono/dist/cjs/utils/buffer.js +0 -103
- package/node_modules/hono/dist/cjs/utils/color.js +0 -48
- package/node_modules/hono/dist/cjs/utils/compress.js +0 -27
- package/node_modules/hono/dist/cjs/utils/concurrent.js +0 -61
- package/node_modules/hono/dist/cjs/utils/constants.js +0 -27
- package/node_modules/hono/dist/cjs/utils/cookie.js +0 -199
- package/node_modules/hono/dist/cjs/utils/crypto.js +0 -69
- package/node_modules/hono/dist/cjs/utils/encode.js +0 -54
- package/node_modules/hono/dist/cjs/utils/filepath.js +0 -58
- package/node_modules/hono/dist/cjs/utils/handler.js +0 -36
- package/node_modules/hono/dist/cjs/utils/headers.js +0 -15
- package/node_modules/hono/dist/cjs/utils/html.js +0 -150
- package/node_modules/hono/dist/cjs/utils/http-status.js +0 -15
- package/node_modules/hono/dist/cjs/utils/ipaddr.js +0 -320
- package/node_modules/hono/dist/cjs/utils/jwt/index.js +0 -28
- package/node_modules/hono/dist/cjs/utils/jwt/jwa.js +0 -42
- package/node_modules/hono/dist/cjs/utils/jwt/jws.js +0 -215
- package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +0 -219
- package/node_modules/hono/dist/cjs/utils/jwt/types.js +0 -161
- package/node_modules/hono/dist/cjs/utils/jwt/utf8.js +0 -30
- package/node_modules/hono/dist/cjs/utils/mime.js +0 -106
- package/node_modules/hono/dist/cjs/utils/stream.js +0 -112
- package/node_modules/hono/dist/cjs/utils/types.js +0 -15
- package/node_modules/hono/dist/cjs/utils/url.js +0 -264
- package/node_modules/hono/dist/cjs/validator/index.js +0 -27
- package/node_modules/hono/dist/cjs/validator/utils.js +0 -15
- package/node_modules/hono/dist/cjs/validator/validator.js +0 -108
- package/node_modules/hono/dist/client/client.js +0 -203
- package/node_modules/hono/dist/client/fetch-result-please.js +0 -62
- package/node_modules/hono/dist/client/index.js +0 -8
- package/node_modules/hono/dist/client/types.js +0 -0
- package/node_modules/hono/dist/client/utils.js +0 -79
- package/node_modules/hono/dist/compose.js +0 -46
- package/node_modules/hono/dist/context.js +0 -431
- package/node_modules/hono/dist/helper/accepts/accepts.js +0 -54
- package/node_modules/hono/dist/helper/accepts/index.js +0 -5
- package/node_modules/hono/dist/helper/adapter/index.js +0 -56
- package/node_modules/hono/dist/helper/conninfo/index.js +0 -0
- package/node_modules/hono/dist/helper/conninfo/types.js +0 -0
- package/node_modules/hono/dist/helper/cookie/index.js +0 -102
- package/node_modules/hono/dist/helper/css/common.js +0 -236
- package/node_modules/hono/dist/helper/css/index.js +0 -140
- package/node_modules/hono/dist/helper/dev/index.js +0 -55
- package/node_modules/hono/dist/helper/factory/index.js +0 -30
- package/node_modules/hono/dist/helper/html/index.js +0 -41
- package/node_modules/hono/dist/helper/proxy/index.js +0 -93
- package/node_modules/hono/dist/helper/route/index.js +0 -46
- package/node_modules/hono/dist/helper/ssg/index.js +0 -19
- package/node_modules/hono/dist/helper/ssg/middleware.js +0 -45
- package/node_modules/hono/dist/helper/ssg/plugins.js +0 -47
- package/node_modules/hono/dist/helper/ssg/ssg.js +0 -297
- package/node_modules/hono/dist/helper/ssg/utils.js +0 -87
- package/node_modules/hono/dist/helper/streaming/index.js +0 -10
- package/node_modules/hono/dist/helper/streaming/sse.js +0 -68
- package/node_modules/hono/dist/helper/streaming/stream.js +0 -34
- package/node_modules/hono/dist/helper/streaming/text.js +0 -12
- package/node_modules/hono/dist/helper/streaming/utils.js +0 -13
- package/node_modules/hono/dist/helper/testing/index.js +0 -11
- package/node_modules/hono/dist/helper/websocket/index.js +0 -57
- package/node_modules/hono/dist/hono-base.js +0 -385
- package/node_modules/hono/dist/hono.js +0 -21
- package/node_modules/hono/dist/http-exception.js +0 -35
- package/node_modules/hono/dist/index.js +0 -7
- package/node_modules/hono/dist/jsx/base.js +0 -360
- package/node_modules/hono/dist/jsx/children.js +0 -21
- package/node_modules/hono/dist/jsx/components.js +0 -197
- package/node_modules/hono/dist/jsx/constants.js +0 -15
- package/node_modules/hono/dist/jsx/context.js +0 -162
- package/node_modules/hono/dist/jsx/dom/client.js +0 -53
- package/node_modules/hono/dist/jsx/dom/components.js +0 -32
- package/node_modules/hono/dist/jsx/dom/context.js +0 -48
- package/node_modules/hono/dist/jsx/dom/css.js +0 -150
- package/node_modules/hono/dist/jsx/dom/hooks/index.js +0 -48
- package/node_modules/hono/dist/jsx/dom/index.js +0 -142
- package/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +0 -374
- package/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +0 -19
- package/node_modules/hono/dist/jsx/dom/jsx-runtime.js +0 -8
- package/node_modules/hono/dist/jsx/dom/render.js +0 -619
- package/node_modules/hono/dist/jsx/dom/server.js +0 -37
- package/node_modules/hono/dist/jsx/dom/utils.js +0 -10
- package/node_modules/hono/dist/jsx/hooks/index.js +0 -331
- package/node_modules/hono/dist/jsx/index.js +0 -103
- package/node_modules/hono/dist/jsx/intrinsic-element/common.js +0 -24
- package/node_modules/hono/dist/jsx/intrinsic-element/components.js +0 -165
- package/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/node_modules/hono/dist/jsx/jsx-dev-runtime.js +0 -18
- package/node_modules/hono/dist/jsx/jsx-runtime.js +0 -44
- package/node_modules/hono/dist/jsx/streaming.js +0 -154
- package/node_modules/hono/dist/jsx/types.js +0 -0
- package/node_modules/hono/dist/jsx/utils.js +0 -175
- package/node_modules/hono/dist/middleware/basic-auth/index.js +0 -66
- package/node_modules/hono/dist/middleware/bearer-auth/index.js +0 -92
- package/node_modules/hono/dist/middleware/body-limit/index.js +0 -53
- package/node_modules/hono/dist/middleware/cache/index.js +0 -197
- package/node_modules/hono/dist/middleware/combine/index.js +0 -77
- package/node_modules/hono/dist/middleware/compress/index.js +0 -74
- package/node_modules/hono/dist/middleware/context-storage/index.js +0 -23
- package/node_modules/hono/dist/middleware/cors/index.js +0 -87
- package/node_modules/hono/dist/middleware/csrf/index.js +0 -55
- package/node_modules/hono/dist/middleware/etag/digest.js +0 -79
- package/node_modules/hono/dist/middleware/etag/index.js +0 -76
- package/node_modules/hono/dist/middleware/ip-restriction/index.js +0 -162
- package/node_modules/hono/dist/middleware/jsx-renderer/index.js +0 -58
- package/node_modules/hono/dist/middleware/jwk/index.js +0 -5
- package/node_modules/hono/dist/middleware/jwk/jwk.js +0 -117
- package/node_modules/hono/dist/middleware/jwt/index.js +0 -11
- package/node_modules/hono/dist/middleware/jwt/jwt.js +0 -119
- package/node_modules/hono/dist/middleware/language/index.js +0 -15
- package/node_modules/hono/dist/middleware/language/language.js +0 -172
- package/node_modules/hono/dist/middleware/logger/index.js +0 -44
- package/node_modules/hono/dist/middleware/method-not-allowed/index.js +0 -68
- package/node_modules/hono/dist/middleware/method-override/index.js +0 -84
- package/node_modules/hono/dist/middleware/powered-by/index.js +0 -10
- package/node_modules/hono/dist/middleware/pretty-json/index.js +0 -17
- package/node_modules/hono/dist/middleware/request-id/index.js +0 -5
- package/node_modules/hono/dist/middleware/request-id/request-id.js +0 -21
- package/node_modules/hono/dist/middleware/secure-headers/index.js +0 -6
- package/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +0 -175
- package/node_modules/hono/dist/middleware/serve-static/index.js +0 -77
- package/node_modules/hono/dist/middleware/serve-static/path.js +0 -18
- package/node_modules/hono/dist/middleware/timeout/index.js +0 -25
- package/node_modules/hono/dist/middleware/timing/index.js +0 -9
- package/node_modules/hono/dist/middleware/timing/timing.js +0 -104
- package/node_modules/hono/dist/middleware/trailing-slash/index.js +0 -39
- package/node_modules/hono/dist/preset/quick.js +0 -16
- package/node_modules/hono/dist/preset/tiny.js +0 -12
- package/node_modules/hono/dist/request/constants.js +0 -5
- package/node_modules/hono/dist/request.js +0 -323
- package/node_modules/hono/dist/router/linear-router/index.js +0 -5
- package/node_modules/hono/dist/router/linear-router/router.js +0 -123
- package/node_modules/hono/dist/router/pattern-router/index.js +0 -5
- package/node_modules/hono/dist/router/pattern-router/router.js +0 -42
- package/node_modules/hono/dist/router/reg-exp-router/index.js +0 -9
- package/node_modules/hono/dist/router/reg-exp-router/matcher.js +0 -25
- package/node_modules/hono/dist/router/reg-exp-router/node.js +0 -114
- package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +0 -142
- package/node_modules/hono/dist/router/reg-exp-router/router.js +0 -138
- package/node_modules/hono/dist/router/reg-exp-router/trie.js +0 -68
- package/node_modules/hono/dist/router/smart-router/index.js +0 -5
- package/node_modules/hono/dist/router/smart-router/router.js +0 -58
- package/node_modules/hono/dist/router/trie-router/index.js +0 -5
- package/node_modules/hono/dist/router/trie-router/node.js +0 -165
- package/node_modules/hono/dist/router/trie-router/router.js +0 -18
- package/node_modules/hono/dist/router/utils.js +0 -5
- package/node_modules/hono/dist/router.js +0 -14
- package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +0 -27
- package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +0 -184
- package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +0 -8
- package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +0 -153
- package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/bun/index.d.ts +0 -10
- package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/bun/server.d.ts +0 -12
- package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +0 -13
- package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +0 -39
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +0 -21
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +0 -33
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +0 -4
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +0 -16
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +0 -5
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/deno/index.d.ts +0 -8
- package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +0 -13
- package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +0 -87
- package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +0 -21
- package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +0 -5
- package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +0 -16
- package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +0 -28
- package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +0 -12
- package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +0 -2
- package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +0 -6
- package/node_modules/hono/dist/types/client/client.d.ts +0 -4
- package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +0 -35
- package/node_modules/hono/dist/types/client/index.d.ts +0 -7
- package/node_modules/hono/dist/types/client/types.d.ts +0 -229
- package/node_modules/hono/dist/types/client/utils.d.ts +0 -18
- package/node_modules/hono/dist/types/compose.d.ts +0 -14
- package/node_modules/hono/dist/types/context.d.ts +0 -459
- package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +0 -30
- package/node_modules/hono/dist/types/helper/accepts/index.d.ts +0 -5
- package/node_modules/hono/dist/types/helper/adapter/index.d.ts +0 -12
- package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +0 -5
- package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +0 -36
- package/node_modules/hono/dist/types/helper/cookie/index.d.ts +0 -24
- package/node_modules/hono/dist/types/helper/css/common.d.ts +0 -59
- package/node_modules/hono/dist/types/helper/css/index.d.ts +0 -80
- package/node_modules/hono/dist/types/helper/dev/index.d.ts +0 -20
- package/node_modules/hono/dist/types/helper/factory/index.d.ts +0 -82
- package/node_modules/hono/dist/types/helper/html/index.d.ts +0 -8
- package/node_modules/hono/dist/types/helper/proxy/index.d.ts +0 -72
- package/node_modules/hono/dist/types/helper/route/index.d.ts +0 -75
- package/node_modules/hono/dist/types/helper/ssg/index.d.ts +0 -7
- package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +0 -44
- package/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +0 -27
- package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +0 -91
- package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +0 -16
- package/node_modules/hono/dist/types/helper/streaming/index.d.ts +0 -8
- package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +0 -13
- package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +0 -3
- package/node_modules/hono/dist/types/helper/streaming/text.d.ts +0 -3
- package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +0 -1
- package/node_modules/hono/dist/types/helper/testing/index.d.ts +0 -12
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +0 -69
- package/node_modules/hono/dist/types/hono-base.d.ts +0 -221
- package/node_modules/hono/dist/types/hono.d.ts +0 -19
- package/node_modules/hono/dist/types/http-exception.d.ts +0 -59
- package/node_modules/hono/dist/types/index.d.ts +0 -37
- package/node_modules/hono/dist/types/jsx/base.d.ts +0 -61
- package/node_modules/hono/dist/types/jsx/children.d.ts +0 -9
- package/node_modules/hono/dist/types/jsx/components.d.ts +0 -15
- package/node_modules/hono/dist/types/jsx/constants.d.ts +0 -6
- package/node_modules/hono/dist/types/jsx/context.d.ts +0 -51
- package/node_modules/hono/dist/types/jsx/dom/client.d.ts +0 -31
- package/node_modules/hono/dist/types/jsx/dom/components.d.ts +0 -10
- package/node_modules/hono/dist/types/jsx/dom/context.d.ts +0 -3
- package/node_modules/hono/dist/types/jsx/dom/css.d.ts +0 -83
- package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +0 -39
- package/node_modules/hono/dist/types/jsx/dom/index.d.ts +0 -88
- package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +0 -16
- package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +0 -8
- package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +0 -7
- package/node_modules/hono/dist/types/jsx/dom/render.d.ts +0 -73
- package/node_modules/hono/dist/types/jsx/dom/server.d.ts +0 -106
- package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +0 -1
- package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +0 -47
- package/node_modules/hono/dist/types/jsx/index.d.ts +0 -75
- package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +0 -6
- package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +0 -13
- package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +0 -722
- package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +0 -8
- package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +0 -12
- package/node_modules/hono/dist/types/jsx/streaming.d.ts +0 -36
- package/node_modules/hono/dist/types/jsx/types.d.ts +0 -35
- package/node_modules/hono/dist/types/jsx/utils.d.ts +0 -4
- package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +0 -75
- package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +0 -92
- package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +0 -45
- package/node_modules/hono/dist/types/middleware/cache/index.d.ts +0 -45
- package/node_modules/hono/dist/types/middleware/combine/index.d.ts +0 -85
- package/node_modules/hono/dist/types/middleware/compress/index.d.ts +0 -40
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +0 -40
- package/node_modules/hono/dist/types/middleware/cors/index.d.ts +0 -55
- package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +0 -78
- package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +0 -1
- package/node_modules/hono/dist/types/middleware/etag/index.d.ts +0 -42
- package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +0 -67
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +0 -77
- package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +0 -1
- package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +0 -56
- package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +0 -69
- package/node_modules/hono/dist/types/middleware/language/index.d.ts +0 -7
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +0 -120
- package/node_modules/hono/dist/types/middleware/logger/index.d.ts +0 -24
- package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +0 -49
- package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +0 -48
- package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +0 -29
- package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +0 -42
- package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +0 -7
- package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +0 -37
- package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +0 -14
- package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +0 -109
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +0 -31
- package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +0 -5
- package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +0 -31
- package/node_modules/hono/dist/types/middleware/timing/index.d.ts +0 -7
- package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +0 -129
- package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +0 -94
- package/node_modules/hono/dist/types/package.json +0 -3
- package/node_modules/hono/dist/types/preset/quick.d.ts +0 -10
- package/node_modules/hono/dist/types/preset/tiny.d.ts +0 -10
- package/node_modules/hono/dist/types/request/constants.d.ts +0 -1
- package/node_modules/hono/dist/types/request.d.ts +0 -324
- package/node_modules/hono/dist/types/router/linear-router/index.d.ts +0 -5
- package/node_modules/hono/dist/types/router/linear-router/router.d.ts +0 -7
- package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +0 -5
- package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +0 -7
- package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +0 -6
- package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +0 -7
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +0 -13
- package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +0 -17
- package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +0 -11
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +0 -8
- package/node_modules/hono/dist/types/router/smart-router/index.d.ts +0 -5
- package/node_modules/hono/dist/types/router/smart-router/router.d.ts +0 -11
- package/node_modules/hono/dist/types/router/trie-router/index.d.ts +0 -5
- package/node_modules/hono/dist/types/router/trie-router/node.d.ts +0 -6
- package/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -7
- package/node_modules/hono/dist/types/router/utils.d.ts +0 -1
- package/node_modules/hono/dist/types/router.d.ts +0 -97
- package/node_modules/hono/dist/types/types.d.ts +0 -573
- package/node_modules/hono/dist/types/utils/accept.d.ts +0 -6
- package/node_modules/hono/dist/types/utils/basic-auth.d.ts +0 -5
- package/node_modules/hono/dist/types/utils/body.d.ts +0 -79
- package/node_modules/hono/dist/types/utils/buffer.d.ts +0 -17
- package/node_modules/hono/dist/types/utils/color.d.ts +0 -21
- package/node_modules/hono/dist/types/utils/compress.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/concurrent.d.ts +0 -11
- package/node_modules/hono/dist/types/utils/constants.d.ts +0 -4
- package/node_modules/hono/dist/types/utils/cookie.d.ts +0 -40
- package/node_modules/hono/dist/types/utils/crypto.d.ts +0 -15
- package/node_modules/hono/dist/types/utils/encode.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/filepath.d.ts +0 -12
- package/node_modules/hono/dist/types/utils/handler.d.ts +0 -6
- package/node_modules/hono/dist/types/utils/headers.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/html.d.ts +0 -44
- package/node_modules/hono/dist/types/utils/http-status.d.ts +0 -32
- package/node_modules/hono/dist/types/utils/ipaddr.d.ts +0 -56
- package/node_modules/hono/dist/types/utils/jwt/index.d.ts +0 -18
- package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +0 -23
- package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +0 -12
- package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +0 -43
- package/node_modules/hono/dist/types/utils/jwt/types.d.ts +0 -86
- package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +0 -6
- package/node_modules/hono/dist/types/utils/mime.d.ts +0 -70
- package/node_modules/hono/dist/types/utils/stream.d.ts +0 -31
- package/node_modules/hono/dist/types/utils/types.d.ts +0 -74
- package/node_modules/hono/dist/types/utils/url.d.ts +0 -44
- package/node_modules/hono/dist/types/validator/index.d.ts +0 -7
- package/node_modules/hono/dist/types/validator/utils.d.ts +0 -29
- package/node_modules/hono/dist/types/validator/validator.d.ts +0 -16
- package/node_modules/hono/dist/types.js +0 -6
- package/node_modules/hono/dist/utils/accept.js +0 -223
- package/node_modules/hono/dist/utils/basic-auth.js +0 -23
- package/node_modules/hono/dist/utils/body.js +0 -101
- package/node_modules/hono/dist/utils/buffer.js +0 -78
- package/node_modules/hono/dist/utils/color.js +0 -25
- package/node_modules/hono/dist/utils/compress.js +0 -5
- package/node_modules/hono/dist/utils/concurrent.js +0 -39
- package/node_modules/hono/dist/utils/constants.js +0 -5
- package/node_modules/hono/dist/utils/cookie.js +0 -174
- package/node_modules/hono/dist/utils/crypto.js +0 -44
- package/node_modules/hono/dist/utils/encode.js +0 -29
- package/node_modules/hono/dist/utils/filepath.js +0 -35
- package/node_modules/hono/dist/utils/handler.js +0 -13
- package/node_modules/hono/dist/utils/headers.js +0 -0
- package/node_modules/hono/dist/utils/html.js +0 -123
- package/node_modules/hono/dist/utils/http-status.js +0 -0
- package/node_modules/hono/dist/utils/ipaddr.js +0 -290
- package/node_modules/hono/dist/utils/jwt/index.js +0 -6
- package/node_modules/hono/dist/utils/jwt/jwa.js +0 -20
- package/node_modules/hono/dist/utils/jwt/jws.js +0 -192
- package/node_modules/hono/dist/utils/jwt/jwt.js +0 -207
- package/node_modules/hono/dist/utils/jwt/types.js +0 -124
- package/node_modules/hono/dist/utils/jwt/utf8.js +0 -7
- package/node_modules/hono/dist/utils/mime.js +0 -82
- package/node_modules/hono/dist/utils/stream.js +0 -90
- package/node_modules/hono/dist/utils/types.js +0 -0
- package/node_modules/hono/dist/utils/url.js +0 -229
- package/node_modules/hono/dist/validator/index.js +0 -5
- package/node_modules/hono/dist/validator/utils.js +0 -0
- package/node_modules/hono/dist/validator/validator.js +0 -86
- package/node_modules/hono/package.json +0 -706
- package/node_modules/http-errors/HISTORY.md +0 -186
- package/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/http-errors/index.js +0 -290
- package/node_modules/http-errors/package.json +0 -54
- package/node_modules/iconv-lite/LICENSE +0 -21
- package/node_modules/iconv-lite/README.md +0 -138
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
- package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
- package/node_modules/iconv-lite/encodings/index.js +0 -23
- package/node_modules/iconv-lite/encodings/internal.js +0 -218
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -180
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/node_modules/iconv-lite/encodings/utf16.js +0 -187
- package/node_modules/iconv-lite/encodings/utf32.js +0 -314
- package/node_modules/iconv-lite/encodings/utf7.js +0 -283
- package/node_modules/iconv-lite/lib/bom-handling.js +0 -48
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
- package/node_modules/iconv-lite/lib/index.d.ts +0 -129
- package/node_modules/iconv-lite/lib/index.js +0 -182
- package/node_modules/iconv-lite/lib/streams.js +0 -105
- package/node_modules/iconv-lite/package.json +0 -70
- package/node_modules/iconv-lite/types/encodings.d.ts +0 -425
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/ip-address/LICENSE +0 -19
- package/node_modules/ip-address/README.md +0 -308
- package/node_modules/ip-address/dist/address-error.d.ts +0 -15
- package/node_modules/ip-address/dist/address-error.js +0 -12
- package/node_modules/ip-address/dist/address-error.js.map +0 -1
- package/node_modules/ip-address/dist/common.d.ts +0 -69
- package/node_modules/ip-address/dist/common.js +0 -142
- package/node_modules/ip-address/dist/common.js.map +0 -1
- package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
- package/node_modules/ip-address/dist/ip-address.js +0 -35
- package/node_modules/ip-address/dist/ip-address.js.map +0 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +0 -340
- package/node_modules/ip-address/dist/ipv4.js +0 -580
- package/node_modules/ip-address/dist/ipv4.js.map +0 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +0 -630
- package/node_modules/ip-address/dist/ipv6.js +0 -1443
- package/node_modules/ip-address/dist/ipv6.js.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.d.ts +0 -16
- package/node_modules/ip-address/dist/v4/constants.js +0 -51
- package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +0 -58
- package/node_modules/ip-address/dist/v6/constants.js +0 -128
- package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/node_modules/ip-address/dist/v6/helpers.js +0 -54
- package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
- package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
- package/node_modules/ip-address/package.json +0 -90
- package/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/node_modules/ipaddr.js/package.json +0 -35
- package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/is-promise/LICENSE +0 -19
- package/node_modules/is-promise/index.d.ts +0 -2
- package/node_modules/is-promise/index.js +0 -6
- package/node_modules/is-promise/index.mjs +0 -3
- package/node_modules/is-promise/package.json +0 -30
- package/node_modules/is-promise/readme.md +0 -33
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/index.js +0 -57
- package/node_modules/isexe/mode.js +0 -41
- package/node_modules/isexe/package.json +0 -31
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/isexe/windows.js +0 -42
- package/node_modules/jose/LICENSE.md +0 -21
- package/node_modules/jose/README.md +0 -150
- package/node_modules/jose/dist/types/index.d.ts +0 -55
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -24
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -40
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -24
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -46
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -28
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -51
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -10
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -15
- package/node_modules/jose/dist/types/jwks/local.d.ts +0 -17
- package/node_modules/jose/dist/types/jwks/remote.d.ts +0 -94
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -20
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -25
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -22
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -25
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -38
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -29
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -34
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -57
- package/node_modules/jose/dist/types/jwt/sign.d.ts +0 -21
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -19
- package/node_modules/jose/dist/types/jwt/verify.d.ts +0 -35
- package/node_modules/jose/dist/types/key/export.d.ts +0 -19
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -33
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -30
- package/node_modules/jose/dist/types/key/import.d.ts +0 -67
- package/node_modules/jose/dist/types/types.d.ts +0 -736
- package/node_modules/jose/dist/types/util/base64url.d.ts +0 -16
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -8
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -10
- package/node_modules/jose/dist/types/util/errors.d.ts +0 -182
- package/node_modules/jose/dist/webapi/index.js +0 -70
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -7
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -26
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -15
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -35
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -40
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -105
- package/node_modules/jose/dist/webapi/jwk/embedded.js +0 -30
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -55
- package/node_modules/jose/dist/webapi/jwks/local.js +0 -59
- package/node_modules/jose/dist/webapi/jwks/remote.js +0 -101
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -20
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -8
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -23
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -12
- package/node_modules/jose/dist/webapi/jws/general/sign.js +0 -58
- package/node_modules/jose/dist/webapi/jws/general/verify.js +0 -48
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -13
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -45
- package/node_modules/jose/dist/webapi/jwt/sign.js +0 -19
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -34
- package/node_modules/jose/dist/webapi/jwt/verify.js +0 -13
- package/node_modules/jose/dist/webapi/key/export.js +0 -35
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -35
- package/node_modules/jose/dist/webapi/key/generate_secret.js +0 -36
- package/node_modules/jose/dist/webapi/key/import.js +0 -53
- package/node_modules/jose/dist/webapi/lib/asn1.js +0 -138
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -75
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +0 -90
- package/node_modules/jose/dist/webapi/lib/deflate.js +0 -40
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -116
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +0 -187
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +0 -75
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +0 -74
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +0 -46
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +0 -86
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -146
- package/node_modules/jose/dist/webapi/lib/key.js +0 -155
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +0 -15
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +0 -9
- package/node_modules/jose/dist/webapi/lib/key_management.js +0 -196
- package/node_modules/jose/dist/webapi/lib/validate.js +0 -122
- package/node_modules/jose/dist/webapi/util/base64url.js +0 -16
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -33
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -19
- package/node_modules/jose/dist/webapi/util/errors.js +0 -109
- package/node_modules/jose/package.json +0 -134
- package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/json-schema-traverse/index.js +0 -93
- package/node_modules/json-schema-traverse/package.json +0 -43
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/node_modules/json-schema-typed/LICENSE.md +0 -57
- package/node_modules/json-schema-typed/README.md +0 -108
- package/node_modules/json-schema-typed/draft_07.d.ts +0 -882
- package/node_modules/json-schema-typed/draft_07.js +0 -328
- package/node_modules/json-schema-typed/draft_2019_09.d.ts +0 -1247
- package/node_modules/json-schema-typed/draft_2019_09.js +0 -349
- package/node_modules/json-schema-typed/draft_2020_12.d.ts +0 -1239
- package/node_modules/json-schema-typed/draft_2020_12.js +0 -352
- package/node_modules/json-schema-typed/package.json +0 -44
- package/node_modules/locate-path/index.d.ts +0 -83
- package/node_modules/locate-path/index.js +0 -65
- package/node_modules/locate-path/license +0 -9
- package/node_modules/locate-path/package.json +0 -45
- package/node_modules/locate-path/readme.md +0 -122
- package/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/media-typer/HISTORY.md +0 -50
- package/node_modules/media-typer/LICENSE +0 -22
- package/node_modules/media-typer/README.md +0 -94
- package/node_modules/media-typer/index.js +0 -135
- package/node_modules/media-typer/package.json +0 -37
- package/node_modules/merge-descriptors/index.d.ts +0 -11
- package/node_modules/merge-descriptors/index.js +0 -26
- package/node_modules/merge-descriptors/license +0 -11
- package/node_modules/merge-descriptors/package.json +0 -50
- package/node_modules/merge-descriptors/readme.md +0 -55
- package/node_modules/mime-db/HISTORY.md +0 -541
- package/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/mime-db/README.md +0 -109
- package/node_modules/mime-db/db.json +0 -9342
- package/node_modules/mime-db/index.js +0 -12
- package/node_modules/mime-db/package.json +0 -56
- package/node_modules/mime-types/HISTORY.md +0 -428
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/mime-types/README.md +0 -126
- package/node_modules/mime-types/index.js +0 -211
- package/node_modules/mime-types/mimeScore.js +0 -57
- package/node_modules/mime-types/package.json +0 -49
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/negotiator/LICENSE +0 -24
- package/node_modules/negotiator/README.md +0 -212
- package/node_modules/negotiator/index.js +0 -83
- package/node_modules/negotiator/lib/accept.js +0 -54
- package/node_modules/negotiator/lib/charset.js +0 -145
- package/node_modules/negotiator/lib/encoding.js +0 -184
- package/node_modules/negotiator/lib/language.js +0 -158
- package/node_modules/negotiator/lib/mediaType.js +0 -176
- package/node_modules/negotiator/node_modules/content-type/LICENSE +0 -22
- package/node_modules/negotiator/node_modules/content-type/README.md +0 -71
- package/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/negotiator/node_modules/content-type/dist/index.js +0 -176
- package/node_modules/negotiator/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/negotiator/node_modules/content-type/package.json +0 -52
- package/node_modules/negotiator/package.json +0 -49
- package/node_modules/object-assign/index.js +0 -90
- package/node_modules/object-assign/license +0 -21
- package/node_modules/object-assign/package.json +0 -42
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -544
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -105
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/on-finished/HISTORY.md +0 -98
- package/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/on-finished/README.md +0 -162
- package/node_modules/on-finished/index.js +0 -234
- package/node_modules/on-finished/package.json +0 -39
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -33
- package/node_modules/p-limit/index.d.ts +0 -38
- package/node_modules/p-limit/index.js +0 -57
- package/node_modules/p-limit/license +0 -9
- package/node_modules/p-limit/package.json +0 -52
- package/node_modules/p-limit/readme.md +0 -101
- package/node_modules/p-locate/index.d.ts +0 -64
- package/node_modules/p-locate/index.js +0 -52
- package/node_modules/p-locate/license +0 -9
- package/node_modules/p-locate/package.json +0 -53
- package/node_modules/p-locate/readme.md +0 -90
- package/node_modules/p-try/index.d.ts +0 -39
- package/node_modules/p-try/index.js +0 -9
- package/node_modules/p-try/license +0 -9
- package/node_modules/p-try/package.json +0 -42
- package/node_modules/p-try/readme.md +0 -58
- package/node_modules/parseurl/HISTORY.md +0 -58
- package/node_modules/parseurl/LICENSE +0 -24
- package/node_modules/parseurl/README.md +0 -133
- package/node_modules/parseurl/index.js +0 -158
- package/node_modules/parseurl/package.json +0 -40
- package/node_modules/path-exists/index.d.ts +0 -28
- package/node_modules/path-exists/index.js +0 -23
- package/node_modules/path-exists/license +0 -9
- package/node_modules/path-exists/package.json +0 -39
- package/node_modules/path-exists/readme.md +0 -52
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/index.js +0 -16
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/package.json +0 -39
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/path-to-regexp/LICENSE +0 -21
- package/node_modules/path-to-regexp/Readme.md +0 -224
- package/node_modules/path-to-regexp/dist/index.d.ts +0 -147
- package/node_modules/path-to-regexp/dist/index.js +0 -431
- package/node_modules/path-to-regexp/dist/index.js.map +0 -1
- package/node_modules/path-to-regexp/package.json +0 -64
- package/node_modules/pkce-challenge/CHANGELOG.md +0 -114
- package/node_modules/pkce-challenge/LICENSE +0 -21
- package/node_modules/pkce-challenge/README.md +0 -55
- package/node_modules/pkce-challenge/dist/index.browser.d.ts +0 -19
- package/node_modules/pkce-challenge/dist/index.browser.js +0 -75
- package/node_modules/pkce-challenge/dist/index.node.cjs +0 -83
- package/node_modules/pkce-challenge/dist/index.node.d.cts +0 -19
- package/node_modules/pkce-challenge/dist/index.node.d.ts +0 -19
- package/node_modules/pkce-challenge/dist/index.node.js +0 -78
- package/node_modules/pkce-challenge/package.json +0 -59
- package/node_modules/pngjs/.eslintignore +0 -2
- package/node_modules/pngjs/.eslintrc.json +0 -19
- package/node_modules/pngjs/.prettierignore +0 -3
- package/node_modules/pngjs/LICENSE +0 -20
- package/node_modules/pngjs/README.md +0 -429
- package/node_modules/pngjs/browser.js +0 -16096
- package/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
- package/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
- package/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
- package/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
- package/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
- package/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
- package/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
- package/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
- package/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
- package/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
- package/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
- package/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
- package/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
- package/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
- package/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
- package/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
- package/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
- package/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
- package/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
- package/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
- package/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
- package/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
- package/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
- package/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
- package/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
- package/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
- package/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
- package/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
- package/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
- package/node_modules/pngjs/coverage/lcov.info +0 -2177
- package/node_modules/pngjs/lib/bitmapper.js +0 -267
- package/node_modules/pngjs/lib/bitpacker.js +0 -158
- package/node_modules/pngjs/lib/chunkstream.js +0 -189
- package/node_modules/pngjs/lib/constants.js +0 -32
- package/node_modules/pngjs/lib/crc.js +0 -40
- package/node_modules/pngjs/lib/filter-pack.js +0 -171
- package/node_modules/pngjs/lib/filter-parse-async.js +0 -24
- package/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
- package/node_modules/pngjs/lib/filter-parse.js +0 -177
- package/node_modules/pngjs/lib/format-normaliser.js +0 -93
- package/node_modules/pngjs/lib/interlace.js +0 -95
- package/node_modules/pngjs/lib/packer-async.js +0 -50
- package/node_modules/pngjs/lib/packer-sync.js +0 -56
- package/node_modules/pngjs/lib/packer.js +0 -129
- package/node_modules/pngjs/lib/paeth-predictor.js +0 -16
- package/node_modules/pngjs/lib/parser-async.js +0 -165
- package/node_modules/pngjs/lib/parser-sync.js +0 -108
- package/node_modules/pngjs/lib/parser.js +0 -290
- package/node_modules/pngjs/lib/png-sync.js +0 -12
- package/node_modules/pngjs/lib/png.js +0 -194
- package/node_modules/pngjs/lib/sync-inflate.js +0 -168
- package/node_modules/pngjs/lib/sync-reader.js +0 -45
- package/node_modules/pngjs/package.json +0 -73
- package/node_modules/proxy-addr/HISTORY.md +0 -161
- package/node_modules/proxy-addr/LICENSE +0 -22
- package/node_modules/proxy-addr/README.md +0 -139
- package/node_modules/proxy-addr/index.js +0 -327
- package/node_modules/proxy-addr/package.json +0 -47
- package/node_modules/qrcode/README.md +0 -770
- package/node_modules/qrcode/bin/qrcode +0 -159
- package/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
- package/node_modules/qrcode/helper/to-sjis.js +0 -105
- package/node_modules/qrcode/lib/browser.js +0 -76
- package/node_modules/qrcode/lib/can-promise.js +0 -7
- package/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
- package/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
- package/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
- package/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
- package/node_modules/qrcode/lib/core/byte-data.js +0 -30
- package/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
- package/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
- package/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
- package/node_modules/qrcode/lib/core/format-info.js +0 -29
- package/node_modules/qrcode/lib/core/galois-field.js +0 -69
- package/node_modules/qrcode/lib/core/kanji-data.js +0 -54
- package/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
- package/node_modules/qrcode/lib/core/mode.js +0 -167
- package/node_modules/qrcode/lib/core/numeric-data.js +0 -43
- package/node_modules/qrcode/lib/core/polynomial.js +0 -62
- package/node_modules/qrcode/lib/core/qrcode.js +0 -495
- package/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
- package/node_modules/qrcode/lib/core/regex.js +0 -31
- package/node_modules/qrcode/lib/core/segments.js +0 -330
- package/node_modules/qrcode/lib/core/utils.js +0 -63
- package/node_modules/qrcode/lib/core/version-check.js +0 -9
- package/node_modules/qrcode/lib/core/version.js +0 -163
- package/node_modules/qrcode/lib/index.js +0 -12
- package/node_modules/qrcode/lib/renderer/canvas.js +0 -63
- package/node_modules/qrcode/lib/renderer/png.js +0 -78
- package/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
- package/node_modules/qrcode/lib/renderer/svg.js +0 -19
- package/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
- package/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
- package/node_modules/qrcode/lib/renderer/terminal.js +0 -9
- package/node_modules/qrcode/lib/renderer/utf8.js +0 -71
- package/node_modules/qrcode/lib/renderer/utils.js +0 -99
- package/node_modules/qrcode/lib/server.js +0 -138
- package/node_modules/qrcode/license +0 -10
- package/node_modules/qrcode/package.json +0 -77
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.github/SECURITY.md +0 -11
- package/node_modules/qs/.github/THREAT_MODEL.md +0 -78
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -848
- package/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/qs/README.md +0 -776
- package/node_modules/qs/dist/qs.js +0 -141
- package/node_modules/qs/eslint.config.mjs +0 -57
- package/node_modules/qs/lib/formats.js +0 -23
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -413
- package/node_modules/qs/lib/stringify.js +0 -378
- package/node_modules/qs/lib/utils.js +0 -388
- package/node_modules/qs/package.json +0 -95
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -2122
- package/node_modules/qs/test/stringify.js +0 -1765
- package/node_modules/qs/test/utils.js +0 -638
- package/node_modules/range-parser/HISTORY.md +0 -56
- package/node_modules/range-parser/LICENSE +0 -23
- package/node_modules/range-parser/README.md +0 -85
- package/node_modules/range-parser/index.js +0 -181
- package/node_modules/range-parser/package.json +0 -48
- package/node_modules/raw-body/LICENSE +0 -22
- package/node_modules/raw-body/README.md +0 -223
- package/node_modules/raw-body/index.d.ts +0 -85
- package/node_modules/raw-body/index.js +0 -336
- package/node_modules/raw-body/package.json +0 -46
- package/node_modules/require-directory/.jshintrc +0 -67
- package/node_modules/require-directory/.npmignore +0 -1
- package/node_modules/require-directory/.travis.yml +0 -3
- package/node_modules/require-directory/LICENSE +0 -22
- package/node_modules/require-directory/README.markdown +0 -184
- package/node_modules/require-directory/index.js +0 -86
- package/node_modules/require-directory/package.json +0 -40
- package/node_modules/require-from-string/index.js +0 -34
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/package.json +0 -28
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/require-main-filename/CHANGELOG.md +0 -26
- package/node_modules/require-main-filename/LICENSE.txt +0 -14
- package/node_modules/require-main-filename/README.md +0 -26
- package/node_modules/require-main-filename/index.js +0 -18
- package/node_modules/require-main-filename/package.json +0 -35
- package/node_modules/router/HISTORY.md +0 -228
- package/node_modules/router/LICENSE +0 -23
- package/node_modules/router/README.md +0 -416
- package/node_modules/router/index.js +0 -748
- package/node_modules/router/lib/layer.js +0 -247
- package/node_modules/router/lib/route.js +0 -242
- package/node_modules/router/package.json +0 -44
- package/node_modules/safer-buffer/LICENSE +0 -21
- package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/safer-buffer/dangerous.js +0 -58
- package/node_modules/safer-buffer/package.json +0 -34
- package/node_modules/safer-buffer/safer.js +0 -77
- package/node_modules/safer-buffer/tests.js +0 -406
- package/node_modules/send/LICENSE +0 -23
- package/node_modules/send/README.md +0 -317
- package/node_modules/send/index.js +0 -997
- package/node_modules/send/package.json +0 -63
- package/node_modules/serve-static/LICENSE +0 -25
- package/node_modules/serve-static/README.md +0 -253
- package/node_modules/serve-static/index.js +0 -208
- package/node_modules/serve-static/package.json +0 -44
- package/node_modules/set-blocking/CHANGELOG.md +0 -26
- package/node_modules/set-blocking/LICENSE.txt +0 -14
- package/node_modules/set-blocking/README.md +0 -31
- package/node_modules/set-blocking/index.js +0 -7
- package/node_modules/set-blocking/package.json +0 -42
- package/node_modules/setprototypeof/LICENSE +0 -13
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/index.js +0 -17
- package/node_modules/setprototypeof/package.json +0 -38
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/package.json +0 -34
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/package.json +0 -35
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -120
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/index.js +0 -46
- package/node_modules/side-channel/package.json +0 -85
- package/node_modules/side-channel/test/index.js +0 -120
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/node_modules/side-channel-list/LICENSE +0 -21
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/index.js +0 -111
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/package.json +0 -77
- package/node_modules/side-channel-list/test/index.js +0 -154
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/LICENSE +0 -21
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/index.js +0 -68
- package/node_modules/side-channel-map/package.json +0 -80
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/index.js +0 -84
- package/node_modules/side-channel-weakmap/package.json +0 -87
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/statuses/HISTORY.md +0 -87
- package/node_modules/statuses/LICENSE +0 -23
- package/node_modules/statuses/README.md +0 -139
- package/node_modules/statuses/codes.json +0 -65
- package/node_modules/statuses/index.js +0 -146
- package/node_modules/statuses/package.json +0 -49
- package/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/string-width/index.js +0 -47
- package/node_modules/string-width/license +0 -9
- package/node_modules/string-width/package.json +0 -56
- package/node_modules/string-width/readme.md +0 -50
- package/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/strip-ansi/license +0 -9
- package/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/LICENSE +0 -21
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/toidentifier/index.js +0 -32
- package/node_modules/toidentifier/package.json +0 -38
- package/node_modules/type-is/HISTORY.md +0 -292
- package/node_modules/type-is/LICENSE +0 -23
- package/node_modules/type-is/README.md +0 -198
- package/node_modules/type-is/index.js +0 -240
- package/node_modules/type-is/node_modules/content-type/LICENSE +0 -22
- package/node_modules/type-is/node_modules/content-type/README.md +0 -71
- package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/type-is/node_modules/content-type/dist/index.js +0 -176
- package/node_modules/type-is/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/type-is/node_modules/content-type/package.json +0 -52
- package/node_modules/type-is/package.json +0 -51
- package/node_modules/unpipe/HISTORY.md +0 -4
- package/node_modules/unpipe/LICENSE +0 -22
- package/node_modules/unpipe/README.md +0 -43
- package/node_modules/unpipe/index.js +0 -69
- package/node_modules/unpipe/package.json +0 -27
- package/node_modules/vary/HISTORY.md +0 -39
- package/node_modules/vary/LICENSE +0 -22
- package/node_modules/vary/README.md +0 -101
- package/node_modules/vary/index.js +0 -149
- package/node_modules/vary/package.json +0 -43
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/which/bin/node-which +0 -52
- package/node_modules/which/package.json +0 -43
- package/node_modules/which/which.js +0 -125
- package/node_modules/which-module/LICENSE +0 -13
- package/node_modules/which-module/README.md +0 -58
- package/node_modules/which-module/index.js +0 -9
- package/node_modules/which-module/package.json +0 -41
- package/node_modules/wrap-ansi/index.js +0 -186
- package/node_modules/wrap-ansi/license +0 -9
- package/node_modules/wrap-ansi/package.json +0 -61
- package/node_modules/wrap-ansi/readme.md +0 -97
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -29
- package/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/y18n/CHANGELOG.md +0 -35
- package/node_modules/y18n/LICENSE +0 -13
- package/node_modules/y18n/README.md +0 -109
- package/node_modules/y18n/index.js +0 -188
- package/node_modules/y18n/package.json +0 -39
- package/node_modules/yargs/CHANGELOG.md +0 -420
- package/node_modules/yargs/LICENSE +0 -21
- package/node_modules/yargs/README.md +0 -140
- package/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
- package/node_modules/yargs/build/lib/apply-extends.js +0 -65
- package/node_modules/yargs/build/lib/argsert.d.ts +0 -2
- package/node_modules/yargs/build/lib/argsert.js +0 -65
- package/node_modules/yargs/build/lib/command.d.ts +0 -64
- package/node_modules/yargs/build/lib/command.js +0 -416
- package/node_modules/yargs/build/lib/common-types.d.ts +0 -36
- package/node_modules/yargs/build/lib/common-types.js +0 -25
- package/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
- package/node_modules/yargs/build/lib/completion-templates.js +0 -50
- package/node_modules/yargs/build/lib/completion.d.ts +0 -21
- package/node_modules/yargs/build/lib/completion.js +0 -135
- package/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
- package/node_modules/yargs/build/lib/is-promise.js +0 -9
- package/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
- package/node_modules/yargs/build/lib/levenshtein.js +0 -58
- package/node_modules/yargs/build/lib/middleware.d.ts +0 -10
- package/node_modules/yargs/build/lib/middleware.js +0 -57
- package/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
- package/node_modules/yargs/build/lib/obj-filter.js +0 -14
- package/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
- package/node_modules/yargs/build/lib/parse-command.js +0 -36
- package/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
- package/node_modules/yargs/build/lib/process-argv.js +0 -31
- package/node_modules/yargs/build/lib/usage.d.ts +0 -49
- package/node_modules/yargs/build/lib/usage.js +0 -540
- package/node_modules/yargs/build/lib/validation.d.ts +0 -34
- package/node_modules/yargs/build/lib/validation.js +0 -330
- package/node_modules/yargs/build/lib/yargs.d.ts +0 -274
- package/node_modules/yargs/build/lib/yargs.js +0 -1190
- package/node_modules/yargs/build/lib/yerror.d.ts +0 -4
- package/node_modules/yargs/build/lib/yerror.js +0 -11
- package/node_modules/yargs/index.js +0 -40
- package/node_modules/yargs/locales/be.json +0 -46
- package/node_modules/yargs/locales/de.json +0 -46
- package/node_modules/yargs/locales/en.json +0 -51
- package/node_modules/yargs/locales/es.json +0 -46
- package/node_modules/yargs/locales/fi.json +0 -49
- package/node_modules/yargs/locales/fr.json +0 -53
- package/node_modules/yargs/locales/hi.json +0 -49
- package/node_modules/yargs/locales/hu.json +0 -46
- package/node_modules/yargs/locales/id.json +0 -50
- package/node_modules/yargs/locales/it.json +0 -46
- package/node_modules/yargs/locales/ja.json +0 -51
- package/node_modules/yargs/locales/ko.json +0 -49
- package/node_modules/yargs/locales/nb.json +0 -44
- package/node_modules/yargs/locales/nl.json +0 -49
- package/node_modules/yargs/locales/nn.json +0 -44
- package/node_modules/yargs/locales/pirate.json +0 -13
- package/node_modules/yargs/locales/pl.json +0 -49
- package/node_modules/yargs/locales/pt.json +0 -45
- package/node_modules/yargs/locales/pt_BR.json +0 -48
- package/node_modules/yargs/locales/ru.json +0 -46
- package/node_modules/yargs/locales/th.json +0 -46
- package/node_modules/yargs/locales/tr.json +0 -48
- package/node_modules/yargs/locales/zh_CN.json +0 -48
- package/node_modules/yargs/locales/zh_TW.json +0 -47
- package/node_modules/yargs/package.json +0 -92
- package/node_modules/yargs/yargs.js +0 -14
- package/node_modules/yargs-parser/CHANGELOG.md +0 -601
- package/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/node_modules/yargs-parser/README.md +0 -449
- package/node_modules/yargs-parser/index.js +0 -1032
- package/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
- package/node_modules/yargs-parser/package.json +0 -46
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -208
- package/node_modules/zod/index.cjs +0 -33
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/index.js +0 -4
- package/node_modules/zod/package.json +0 -118
- package/node_modules/zod/src/index.ts +0 -4
- package/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5136
- package/node_modules/zod/src/v4/classic/checks.ts +0 -30
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -66
- package/node_modules/zod/src/v4/classic/errors.ts +0 -75
- package/node_modules/zod/src/v4/classic/external.ts +0 -50
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/zod/src/v4/classic/parse.ts +0 -33
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1594
- package/node_modules/zod/src/v4/core/checks.ts +0 -1283
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/zod/src/v4/core/core.ts +0 -134
- package/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/zod/src/v4/core/errors.ts +0 -424
- package/node_modules/zod/src/v4/core/function.ts +0 -176
- package/node_modules/zod/src/v4/core/index.ts +0 -15
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
- package/node_modules/zod/src/v4/core/parse.ts +0 -94
- package/node_modules/zod/src/v4/core/regexes.ts +0 -135
- package/node_modules/zod/src/v4/core/registries.ts +0 -96
- package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
- package/node_modules/zod/src/v4/core/util.ts +0 -775
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -125
- package/node_modules/zod/src/v4/locales/az.ts +0 -121
- package/node_modules/zod/src/v4/locales/be.ts +0 -184
- package/node_modules/zod/src/v4/locales/ca.ts +0 -127
- package/node_modules/zod/src/v4/locales/cs.ts +0 -142
- package/node_modules/zod/src/v4/locales/de.ts +0 -124
- package/node_modules/zod/src/v4/locales/en.ts +0 -127
- package/node_modules/zod/src/v4/locales/eo.ts +0 -125
- package/node_modules/zod/src/v4/locales/es.ts +0 -125
- package/node_modules/zod/src/v4/locales/fa.ts +0 -134
- package/node_modules/zod/src/v4/locales/fi.ts +0 -131
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
- package/node_modules/zod/src/v4/locales/fr.ts +0 -124
- package/node_modules/zod/src/v4/locales/he.ts +0 -125
- package/node_modules/zod/src/v4/locales/hu.ts +0 -126
- package/node_modules/zod/src/v4/locales/id.ts +0 -125
- package/node_modules/zod/src/v4/locales/index.ts +0 -39
- package/node_modules/zod/src/v4/locales/it.ts +0 -125
- package/node_modules/zod/src/v4/locales/ja.ts +0 -122
- package/node_modules/zod/src/v4/locales/kh.ts +0 -126
- package/node_modules/zod/src/v4/locales/ko.ts +0 -131
- package/node_modules/zod/src/v4/locales/mk.ts +0 -127
- package/node_modules/zod/src/v4/locales/ms.ts +0 -124
- package/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/node_modules/zod/src/v4/locales/no.ts +0 -124
- package/node_modules/zod/src/v4/locales/ota.ts +0 -125
- package/node_modules/zod/src/v4/locales/pl.ts +0 -126
- package/node_modules/zod/src/v4/locales/ps.ts +0 -133
- package/node_modules/zod/src/v4/locales/pt.ts +0 -123
- package/node_modules/zod/src/v4/locales/ru.ts +0 -184
- package/node_modules/zod/src/v4/locales/sl.ts +0 -126
- package/node_modules/zod/src/v4/locales/sv.ts +0 -127
- package/node_modules/zod/src/v4/locales/ta.ts +0 -125
- package/node_modules/zod/src/v4/locales/th.ts +0 -126
- package/node_modules/zod/src/v4/locales/tr.ts +0 -121
- package/node_modules/zod/src/v4/locales/ua.ts +0 -126
- package/node_modules/zod/src/v4/locales/ur.ts +0 -126
- package/node_modules/zod/src/v4/locales/vi.ts +0 -125
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
- package/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
- package/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -62
- package/node_modules/zod/src/v4/mini/parse.ts +0 -1
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
- package/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/node_modules/zod/v3/ZodError.cjs +0 -138
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/ZodError.js +0 -133
- package/node_modules/zod/v3/errors.cjs +0 -17
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/zod/v3/external.cjs +0 -22
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/external.js +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/zod/v3/index.cjs +0 -33
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/index.js +0 -4
- package/node_modules/zod/v3/locales/en.cjs +0 -111
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/zod/v3/types.cjs +0 -3775
- package/node_modules/zod/v3/types.d.cts +0 -1031
- package/node_modules/zod/v3/types.d.ts +0 -1031
- package/node_modules/zod/v3/types.js +0 -3693
- package/node_modules/zod/v4/classic/checks.cjs +0 -32
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/zod/v4/classic/compat.cjs +0 -57
- package/node_modules/zod/v4/classic/compat.d.cts +0 -46
- package/node_modules/zod/v4/classic/compat.d.ts +0 -46
- package/node_modules/zod/v4/classic/compat.js +0 -27
- package/node_modules/zod/v4/classic/errors.cjs +0 -67
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/errors.js +0 -41
- package/node_modules/zod/v4/classic/external.cjs +0 -70
- package/node_modules/zod/v4/classic/external.d.cts +0 -13
- package/node_modules/zod/v4/classic/external.d.ts +0 -13
- package/node_modules/zod/v4/classic/external.js +0 -18
- package/node_modules/zod/v4/classic/index.cjs +0 -33
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/iso.js +0 -30
- package/node_modules/zod/v4/classic/parse.cjs +0 -32
- package/node_modules/zod/v4/classic/parse.d.cts +0 -23
- package/node_modules/zod/v4/classic/parse.d.ts +0 -23
- package/node_modules/zod/v4/classic/parse.js +0 -6
- package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
- package/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/node_modules/zod/v4/core/api.cjs +0 -1039
- package/node_modules/zod/v4/core/api.d.cts +0 -284
- package/node_modules/zod/v4/core/api.d.ts +0 -284
- package/node_modules/zod/v4/core/api.js +0 -906
- package/node_modules/zod/v4/core/checks.cjs +0 -591
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/checks.js +0 -565
- package/node_modules/zod/v4/core/core.cjs +0 -67
- package/node_modules/zod/v4/core/core.d.cts +0 -49
- package/node_modules/zod/v4/core/core.d.ts +0 -49
- package/node_modules/zod/v4/core/core.js +0 -61
- package/node_modules/zod/v4/core/doc.cjs +0 -39
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/doc.js +0 -35
- package/node_modules/zod/v4/core/errors.cjs +0 -226
- package/node_modules/zod/v4/core/errors.d.cts +0 -208
- package/node_modules/zod/v4/core/errors.d.ts +0 -208
- package/node_modules/zod/v4/core/errors.js +0 -195
- package/node_modules/zod/v4/core/function.cjs +0 -102
- package/node_modules/zod/v4/core/function.d.cts +0 -52
- package/node_modules/zod/v4/core/function.d.ts +0 -52
- package/node_modules/zod/v4/core/function.js +0 -75
- package/node_modules/zod/v4/core/index.cjs +0 -44
- package/node_modules/zod/v4/core/index.d.cts +0 -15
- package/node_modules/zod/v4/core/index.d.ts +0 -15
- package/node_modules/zod/v4/core/index.js +0 -15
- package/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
- package/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/zod/v4/core/parse.cjs +0 -87
- package/node_modules/zod/v4/core/parse.d.cts +0 -25
- package/node_modules/zod/v4/core/parse.d.ts +0 -25
- package/node_modules/zod/v4/core/parse.js +0 -57
- package/node_modules/zod/v4/core/regexes.cjs +0 -103
- package/node_modules/zod/v4/core/regexes.d.cts +0 -62
- package/node_modules/zod/v4/core/regexes.d.ts +0 -62
- package/node_modules/zod/v4/core/regexes.js +0 -95
- package/node_modules/zod/v4/core/registries.cjs +0 -56
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/zod/v4/core/schemas.cjs +0 -1748
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
- package/node_modules/zod/v4/core/schemas.js +0 -1717
- package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
- package/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/to-json-schema.js +0 -849
- package/node_modules/zod/v4/core/util.cjs +0 -539
- package/node_modules/zod/v4/core/util.d.cts +0 -183
- package/node_modules/zod/v4/core/util.d.ts +0 -183
- package/node_modules/zod/v4/core/util.js +0 -493
- package/node_modules/zod/v4/core/versions.cjs +0 -8
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/zod/v4/index.cjs +0 -22
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/index.js +0 -3
- package/node_modules/zod/v4/locales/ar.cjs +0 -142
- package/node_modules/zod/v4/locales/ar.d.cts +0 -4
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/ar.js +0 -116
- package/node_modules/zod/v4/locales/az.cjs +0 -141
- package/node_modules/zod/v4/locales/az.d.cts +0 -4
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.js +0 -115
- package/node_modules/zod/v4/locales/be.cjs +0 -190
- package/node_modules/zod/v4/locales/be.d.cts +0 -4
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.js +0 -164
- package/node_modules/zod/v4/locales/ca.cjs +0 -144
- package/node_modules/zod/v4/locales/ca.d.cts +0 -4
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.js +0 -118
- package/node_modules/zod/v4/locales/cs.cjs +0 -161
- package/node_modules/zod/v4/locales/cs.d.cts +0 -4
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.js +0 -135
- package/node_modules/zod/v4/locales/de.cjs +0 -142
- package/node_modules/zod/v4/locales/de.d.cts +0 -4
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.js +0 -116
- package/node_modules/zod/v4/locales/en.cjs +0 -145
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -5
- package/node_modules/zod/v4/locales/en.js +0 -117
- package/node_modules/zod/v4/locales/eo.cjs +0 -144
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -5
- package/node_modules/zod/v4/locales/eo.js +0 -116
- package/node_modules/zod/v4/locales/es.cjs +0 -143
- package/node_modules/zod/v4/locales/es.d.cts +0 -4
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.js +0 -117
- package/node_modules/zod/v4/locales/fa.cjs +0 -148
- package/node_modules/zod/v4/locales/fa.d.cts +0 -4
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.js +0 -122
- package/node_modules/zod/v4/locales/fi.cjs +0 -148
- package/node_modules/zod/v4/locales/fi.d.cts +0 -4
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.js +0 -122
- package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.js +0 -117
- package/node_modules/zod/v4/locales/fr.cjs +0 -142
- package/node_modules/zod/v4/locales/fr.d.cts +0 -4
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.js +0 -116
- package/node_modules/zod/v4/locales/he.cjs +0 -143
- package/node_modules/zod/v4/locales/he.d.cts +0 -4
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.js +0 -117
- package/node_modules/zod/v4/locales/hu.cjs +0 -143
- package/node_modules/zod/v4/locales/hu.d.cts +0 -4
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.js +0 -117
- package/node_modules/zod/v4/locales/id.cjs +0 -142
- package/node_modules/zod/v4/locales/id.d.cts +0 -4
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.js +0 -116
- package/node_modules/zod/v4/locales/index.cjs +0 -84
- package/node_modules/zod/v4/locales/index.d.cts +0 -39
- package/node_modules/zod/v4/locales/index.d.ts +0 -39
- package/node_modules/zod/v4/locales/index.js +0 -39
- package/node_modules/zod/v4/locales/it.cjs +0 -143
- package/node_modules/zod/v4/locales/it.d.cts +0 -4
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.js +0 -117
- package/node_modules/zod/v4/locales/ja.cjs +0 -141
- package/node_modules/zod/v4/locales/ja.d.cts +0 -4
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.js +0 -115
- package/node_modules/zod/v4/locales/kh.cjs +0 -143
- package/node_modules/zod/v4/locales/kh.d.cts +0 -4
- package/node_modules/zod/v4/locales/kh.d.ts +0 -4
- package/node_modules/zod/v4/locales/kh.js +0 -117
- package/node_modules/zod/v4/locales/ko.cjs +0 -147
- package/node_modules/zod/v4/locales/ko.d.cts +0 -4
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.js +0 -121
- package/node_modules/zod/v4/locales/mk.cjs +0 -144
- package/node_modules/zod/v4/locales/mk.d.cts +0 -4
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.js +0 -118
- package/node_modules/zod/v4/locales/ms.cjs +0 -142
- package/node_modules/zod/v4/locales/ms.d.cts +0 -4
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.js +0 -116
- package/node_modules/zod/v4/locales/nl.cjs +0 -143
- package/node_modules/zod/v4/locales/nl.d.cts +0 -4
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.js +0 -117
- package/node_modules/zod/v4/locales/no.cjs +0 -142
- package/node_modules/zod/v4/locales/no.d.cts +0 -4
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.js +0 -116
- package/node_modules/zod/v4/locales/ota.cjs +0 -143
- package/node_modules/zod/v4/locales/ota.d.cts +0 -4
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.js +0 -117
- package/node_modules/zod/v4/locales/pl.cjs +0 -143
- package/node_modules/zod/v4/locales/pl.d.cts +0 -4
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.js +0 -117
- package/node_modules/zod/v4/locales/ps.cjs +0 -148
- package/node_modules/zod/v4/locales/ps.d.cts +0 -4
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.js +0 -122
- package/node_modules/zod/v4/locales/pt.cjs +0 -142
- package/node_modules/zod/v4/locales/pt.d.cts +0 -4
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.js +0 -116
- package/node_modules/zod/v4/locales/ru.cjs +0 -190
- package/node_modules/zod/v4/locales/ru.d.cts +0 -4
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.js +0 -164
- package/node_modules/zod/v4/locales/sl.cjs +0 -143
- package/node_modules/zod/v4/locales/sl.d.cts +0 -4
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.js +0 -117
- package/node_modules/zod/v4/locales/sv.cjs +0 -144
- package/node_modules/zod/v4/locales/sv.d.cts +0 -4
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.js +0 -118
- package/node_modules/zod/v4/locales/ta.cjs +0 -143
- package/node_modules/zod/v4/locales/ta.d.cts +0 -4
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.js +0 -117
- package/node_modules/zod/v4/locales/th.cjs +0 -143
- package/node_modules/zod/v4/locales/th.d.cts +0 -4
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.js +0 -117
- package/node_modules/zod/v4/locales/tr.cjs +0 -143
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -5
- package/node_modules/zod/v4/locales/tr.js +0 -115
- package/node_modules/zod/v4/locales/ua.cjs +0 -143
- package/node_modules/zod/v4/locales/ua.d.cts +0 -4
- package/node_modules/zod/v4/locales/ua.d.ts +0 -4
- package/node_modules/zod/v4/locales/ua.js +0 -117
- package/node_modules/zod/v4/locales/ur.cjs +0 -143
- package/node_modules/zod/v4/locales/ur.d.cts +0 -4
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.js +0 -117
- package/node_modules/zod/v4/locales/vi.cjs +0 -142
- package/node_modules/zod/v4/locales/vi.d.cts +0 -4
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.js +0 -116
- package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.js +0 -116
- package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.js +0 -117
- package/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/zod/v4/mini/coerce.cjs +0 -47
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/coerce.js +0 -17
- package/node_modules/zod/v4/mini/external.cjs +0 -62
- package/node_modules/zod/v4/mini/external.d.cts +0 -11
- package/node_modules/zod/v4/mini/external.d.ts +0 -11
- package/node_modules/zod/v4/mini/external.js +0 -13
- package/node_modules/zod/v4/mini/index.cjs +0 -32
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/zod/v4/mini/iso.cjs +0 -60
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/iso.js +0 -30
- package/node_modules/zod/v4/mini/parse.cjs +0 -8
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/zod/v4/mini/schemas.cjs +0 -839
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
- package/node_modules/zod/v4/mini/schemas.js +0 -732
- package/node_modules/zod/v4-mini/index.cjs +0 -17
- package/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/node_modules/zod/v4-mini/index.js +0 -1
- package/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/node_modules/zod-to-json-schema/.github/FUNDING.yml +0 -1
- package/node_modules/zod-to-json-schema/.prettierrc.json +0 -1
- package/node_modules/zod-to-json-schema/LICENSE +0 -15
- package/node_modules/zod-to-json-schema/README.md +0 -390
- package/node_modules/zod-to-json-schema/changelog.md +0 -83
- package/node_modules/zod-to-json-schema/contributing.md +0 -9
- package/node_modules/zod-to-json-schema/createIndex.ts +0 -32
- package/node_modules/zod-to-json-schema/dist/cjs/Options.js +0 -51
- package/node_modules/zod-to-json-schema/dist/cjs/Refs.js +0 -26
- package/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +0 -19
- package/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +0 -12
- package/node_modules/zod-to-json-schema/dist/cjs/index.js +0 -56
- package/node_modules/zod-to-json-schema/dist/cjs/package.json +0 -1
- package/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +0 -66
- package/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +0 -2
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +0 -21
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +0 -30
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +0 -53
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +0 -9
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +0 -8
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +0 -8
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +0 -50
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +0 -11
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +0 -11
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +0 -10
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +0 -56
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +0 -25
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +0 -30
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +0 -20
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +0 -15
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +0 -14
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +0 -37
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +0 -56
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +0 -76
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +0 -25
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +0 -24
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +0 -8
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +0 -8
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +0 -65
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +0 -24
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +0 -356
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +0 -36
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +0 -10
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +0 -84
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +0 -8
- package/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +0 -109
- package/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +0 -90
- package/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -46
- package/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -22
- package/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
- package/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +0 -8
- package/node_modules/zod-to-json-schema/dist/esm/index.js +0 -40
- package/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
- package/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -62
- package/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +0 -1
- package/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -17
- package/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -26
- package/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
- package/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
- package/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
- package/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
- package/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
- package/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
- package/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -7
- package/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
- package/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
- package/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
- package/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -26
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
- package/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -11
- package/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
- package/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
- package/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -72
- package/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -21
- package/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
- package/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
- package/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
- package/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -61
- package/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
- package/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -352
- package/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
- package/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -6
- package/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
- package/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -4
- package/node_modules/zod-to-json-schema/dist/esm/selectParser.js +0 -105
- package/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -87
- package/node_modules/zod-to-json-schema/dist/types/Options.d.ts +0 -37
- package/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +0 -17
- package/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +0 -1
- package/node_modules/zod-to-json-schema/dist/types/index.d.ts +0 -40
- package/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +0 -34
- package/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +0 -12
- package/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +0 -14
- package/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +0 -8
- package/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +0 -9
- package/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +0 -10
- package/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +0 -10
- package/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +0 -73
- package/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +0 -23
- package/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +0 -10
- package/node_modules/zod-to-json-schema/package.json +0 -85
- package/node_modules/zod-to-json-schema/postcjs.ts +0 -3
- package/node_modules/zod-to-json-schema/postesm.ts +0 -3
|
@@ -1,2509 +0,0 @@
|
|
|
1
|
-
const EventEmitter = require('node:events').EventEmitter;
|
|
2
|
-
const childProcess = require('node:child_process');
|
|
3
|
-
const path = require('node:path');
|
|
4
|
-
const fs = require('node:fs');
|
|
5
|
-
const process = require('node:process');
|
|
6
|
-
|
|
7
|
-
const { Argument, humanReadableArgName } = require('./argument.js');
|
|
8
|
-
const { CommanderError } = require('./error.js');
|
|
9
|
-
const { Help } = require('./help.js');
|
|
10
|
-
const { Option, DualOptions } = require('./option.js');
|
|
11
|
-
const { suggestSimilar } = require('./suggestSimilar');
|
|
12
|
-
|
|
13
|
-
class Command extends EventEmitter {
|
|
14
|
-
/**
|
|
15
|
-
* Initialize a new `Command`.
|
|
16
|
-
*
|
|
17
|
-
* @param {string} [name]
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
constructor(name) {
|
|
21
|
-
super();
|
|
22
|
-
/** @type {Command[]} */
|
|
23
|
-
this.commands = [];
|
|
24
|
-
/** @type {Option[]} */
|
|
25
|
-
this.options = [];
|
|
26
|
-
this.parent = null;
|
|
27
|
-
this._allowUnknownOption = false;
|
|
28
|
-
this._allowExcessArguments = true;
|
|
29
|
-
/** @type {Argument[]} */
|
|
30
|
-
this.registeredArguments = [];
|
|
31
|
-
this._args = this.registeredArguments; // deprecated old name
|
|
32
|
-
/** @type {string[]} */
|
|
33
|
-
this.args = []; // cli args with options removed
|
|
34
|
-
this.rawArgs = [];
|
|
35
|
-
this.processedArgs = []; // like .args but after custom processing and collecting variadic
|
|
36
|
-
this._scriptPath = null;
|
|
37
|
-
this._name = name || '';
|
|
38
|
-
this._optionValues = {};
|
|
39
|
-
this._optionValueSources = {}; // default, env, cli etc
|
|
40
|
-
this._storeOptionsAsProperties = false;
|
|
41
|
-
this._actionHandler = null;
|
|
42
|
-
this._executableHandler = false;
|
|
43
|
-
this._executableFile = null; // custom name for executable
|
|
44
|
-
this._executableDir = null; // custom search directory for subcommands
|
|
45
|
-
this._defaultCommandName = null;
|
|
46
|
-
this._exitCallback = null;
|
|
47
|
-
this._aliases = [];
|
|
48
|
-
this._combineFlagAndOptionalValue = true;
|
|
49
|
-
this._description = '';
|
|
50
|
-
this._summary = '';
|
|
51
|
-
this._argsDescription = undefined; // legacy
|
|
52
|
-
this._enablePositionalOptions = false;
|
|
53
|
-
this._passThroughOptions = false;
|
|
54
|
-
this._lifeCycleHooks = {}; // a hash of arrays
|
|
55
|
-
/** @type {(boolean | string)} */
|
|
56
|
-
this._showHelpAfterError = false;
|
|
57
|
-
this._showSuggestionAfterError = true;
|
|
58
|
-
|
|
59
|
-
// see .configureOutput() for docs
|
|
60
|
-
this._outputConfiguration = {
|
|
61
|
-
writeOut: (str) => process.stdout.write(str),
|
|
62
|
-
writeErr: (str) => process.stderr.write(str),
|
|
63
|
-
getOutHelpWidth: () =>
|
|
64
|
-
process.stdout.isTTY ? process.stdout.columns : undefined,
|
|
65
|
-
getErrHelpWidth: () =>
|
|
66
|
-
process.stderr.isTTY ? process.stderr.columns : undefined,
|
|
67
|
-
outputError: (str, write) => write(str),
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
this._hidden = false;
|
|
71
|
-
/** @type {(Option | null | undefined)} */
|
|
72
|
-
this._helpOption = undefined; // Lazy created on demand. May be null if help option is disabled.
|
|
73
|
-
this._addImplicitHelpCommand = undefined; // undecided whether true or false yet, not inherited
|
|
74
|
-
/** @type {Command} */
|
|
75
|
-
this._helpCommand = undefined; // lazy initialised, inherited
|
|
76
|
-
this._helpConfiguration = {};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Copy settings that are useful to have in common across root command and subcommands.
|
|
81
|
-
*
|
|
82
|
-
* (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
|
|
83
|
-
*
|
|
84
|
-
* @param {Command} sourceCommand
|
|
85
|
-
* @return {Command} `this` command for chaining
|
|
86
|
-
*/
|
|
87
|
-
copyInheritedSettings(sourceCommand) {
|
|
88
|
-
this._outputConfiguration = sourceCommand._outputConfiguration;
|
|
89
|
-
this._helpOption = sourceCommand._helpOption;
|
|
90
|
-
this._helpCommand = sourceCommand._helpCommand;
|
|
91
|
-
this._helpConfiguration = sourceCommand._helpConfiguration;
|
|
92
|
-
this._exitCallback = sourceCommand._exitCallback;
|
|
93
|
-
this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties;
|
|
94
|
-
this._combineFlagAndOptionalValue =
|
|
95
|
-
sourceCommand._combineFlagAndOptionalValue;
|
|
96
|
-
this._allowExcessArguments = sourceCommand._allowExcessArguments;
|
|
97
|
-
this._enablePositionalOptions = sourceCommand._enablePositionalOptions;
|
|
98
|
-
this._showHelpAfterError = sourceCommand._showHelpAfterError;
|
|
99
|
-
this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError;
|
|
100
|
-
|
|
101
|
-
return this;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @returns {Command[]}
|
|
106
|
-
* @private
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
|
-
_getCommandAndAncestors() {
|
|
110
|
-
const result = [];
|
|
111
|
-
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
112
|
-
for (let command = this; command; command = command.parent) {
|
|
113
|
-
result.push(command);
|
|
114
|
-
}
|
|
115
|
-
return result;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Define a command.
|
|
120
|
-
*
|
|
121
|
-
* There are two styles of command: pay attention to where to put the description.
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* // Command implemented using action handler (description is supplied separately to `.command`)
|
|
125
|
-
* program
|
|
126
|
-
* .command('clone <source> [destination]')
|
|
127
|
-
* .description('clone a repository into a newly created directory')
|
|
128
|
-
* .action((source, destination) => {
|
|
129
|
-
* console.log('clone command called');
|
|
130
|
-
* });
|
|
131
|
-
*
|
|
132
|
-
* // Command implemented using separate executable file (description is second parameter to `.command`)
|
|
133
|
-
* program
|
|
134
|
-
* .command('start <service>', 'start named service')
|
|
135
|
-
* .command('stop [service]', 'stop named service, or all if no name supplied');
|
|
136
|
-
*
|
|
137
|
-
* @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
|
|
138
|
-
* @param {(object | string)} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable)
|
|
139
|
-
* @param {object} [execOpts] - configuration options (for executable)
|
|
140
|
-
* @return {Command} returns new command for action handler, or `this` for executable command
|
|
141
|
-
*/
|
|
142
|
-
|
|
143
|
-
command(nameAndArgs, actionOptsOrExecDesc, execOpts) {
|
|
144
|
-
let desc = actionOptsOrExecDesc;
|
|
145
|
-
let opts = execOpts;
|
|
146
|
-
if (typeof desc === 'object' && desc !== null) {
|
|
147
|
-
opts = desc;
|
|
148
|
-
desc = null;
|
|
149
|
-
}
|
|
150
|
-
opts = opts || {};
|
|
151
|
-
const [, name, args] = nameAndArgs.match(/([^ ]+) *(.*)/);
|
|
152
|
-
|
|
153
|
-
const cmd = this.createCommand(name);
|
|
154
|
-
if (desc) {
|
|
155
|
-
cmd.description(desc);
|
|
156
|
-
cmd._executableHandler = true;
|
|
157
|
-
}
|
|
158
|
-
if (opts.isDefault) this._defaultCommandName = cmd._name;
|
|
159
|
-
cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden
|
|
160
|
-
cmd._executableFile = opts.executableFile || null; // Custom name for executable file, set missing to null to match constructor
|
|
161
|
-
if (args) cmd.arguments(args);
|
|
162
|
-
this._registerCommand(cmd);
|
|
163
|
-
cmd.parent = this;
|
|
164
|
-
cmd.copyInheritedSettings(this);
|
|
165
|
-
|
|
166
|
-
if (desc) return this;
|
|
167
|
-
return cmd;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Factory routine to create a new unattached command.
|
|
172
|
-
*
|
|
173
|
-
* See .command() for creating an attached subcommand, which uses this routine to
|
|
174
|
-
* create the command. You can override createCommand to customise subcommands.
|
|
175
|
-
*
|
|
176
|
-
* @param {string} [name]
|
|
177
|
-
* @return {Command} new command
|
|
178
|
-
*/
|
|
179
|
-
|
|
180
|
-
createCommand(name) {
|
|
181
|
-
return new Command(name);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* You can customise the help with a subclass of Help by overriding createHelp,
|
|
186
|
-
* or by overriding Help properties using configureHelp().
|
|
187
|
-
*
|
|
188
|
-
* @return {Help}
|
|
189
|
-
*/
|
|
190
|
-
|
|
191
|
-
createHelp() {
|
|
192
|
-
return Object.assign(new Help(), this.configureHelp());
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* You can customise the help by overriding Help properties using configureHelp(),
|
|
197
|
-
* or with a subclass of Help by overriding createHelp().
|
|
198
|
-
*
|
|
199
|
-
* @param {object} [configuration] - configuration options
|
|
200
|
-
* @return {(Command | object)} `this` command for chaining, or stored configuration
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
configureHelp(configuration) {
|
|
204
|
-
if (configuration === undefined) return this._helpConfiguration;
|
|
205
|
-
|
|
206
|
-
this._helpConfiguration = configuration;
|
|
207
|
-
return this;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* The default output goes to stdout and stderr. You can customise this for special
|
|
212
|
-
* applications. You can also customise the display of errors by overriding outputError.
|
|
213
|
-
*
|
|
214
|
-
* The configuration properties are all functions:
|
|
215
|
-
*
|
|
216
|
-
* // functions to change where being written, stdout and stderr
|
|
217
|
-
* writeOut(str)
|
|
218
|
-
* writeErr(str)
|
|
219
|
-
* // matching functions to specify width for wrapping help
|
|
220
|
-
* getOutHelpWidth()
|
|
221
|
-
* getErrHelpWidth()
|
|
222
|
-
* // functions based on what is being written out
|
|
223
|
-
* outputError(str, write) // used for displaying errors, and not used for displaying help
|
|
224
|
-
*
|
|
225
|
-
* @param {object} [configuration] - configuration options
|
|
226
|
-
* @return {(Command | object)} `this` command for chaining, or stored configuration
|
|
227
|
-
*/
|
|
228
|
-
|
|
229
|
-
configureOutput(configuration) {
|
|
230
|
-
if (configuration === undefined) return this._outputConfiguration;
|
|
231
|
-
|
|
232
|
-
Object.assign(this._outputConfiguration, configuration);
|
|
233
|
-
return this;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Display the help or a custom message after an error occurs.
|
|
238
|
-
*
|
|
239
|
-
* @param {(boolean|string)} [displayHelp]
|
|
240
|
-
* @return {Command} `this` command for chaining
|
|
241
|
-
*/
|
|
242
|
-
showHelpAfterError(displayHelp = true) {
|
|
243
|
-
if (typeof displayHelp !== 'string') displayHelp = !!displayHelp;
|
|
244
|
-
this._showHelpAfterError = displayHelp;
|
|
245
|
-
return this;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Display suggestion of similar commands for unknown commands, or options for unknown options.
|
|
250
|
-
*
|
|
251
|
-
* @param {boolean} [displaySuggestion]
|
|
252
|
-
* @return {Command} `this` command for chaining
|
|
253
|
-
*/
|
|
254
|
-
showSuggestionAfterError(displaySuggestion = true) {
|
|
255
|
-
this._showSuggestionAfterError = !!displaySuggestion;
|
|
256
|
-
return this;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Add a prepared subcommand.
|
|
261
|
-
*
|
|
262
|
-
* See .command() for creating an attached subcommand which inherits settings from its parent.
|
|
263
|
-
*
|
|
264
|
-
* @param {Command} cmd - new subcommand
|
|
265
|
-
* @param {object} [opts] - configuration options
|
|
266
|
-
* @return {Command} `this` command for chaining
|
|
267
|
-
*/
|
|
268
|
-
|
|
269
|
-
addCommand(cmd, opts) {
|
|
270
|
-
if (!cmd._name) {
|
|
271
|
-
throw new Error(`Command passed to .addCommand() must have a name
|
|
272
|
-
- specify the name in Command constructor or using .name()`);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
opts = opts || {};
|
|
276
|
-
if (opts.isDefault) this._defaultCommandName = cmd._name;
|
|
277
|
-
if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
|
|
278
|
-
|
|
279
|
-
this._registerCommand(cmd);
|
|
280
|
-
cmd.parent = this;
|
|
281
|
-
cmd._checkForBrokenPassThrough();
|
|
282
|
-
|
|
283
|
-
return this;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Factory routine to create a new unattached argument.
|
|
288
|
-
*
|
|
289
|
-
* See .argument() for creating an attached argument, which uses this routine to
|
|
290
|
-
* create the argument. You can override createArgument to return a custom argument.
|
|
291
|
-
*
|
|
292
|
-
* @param {string} name
|
|
293
|
-
* @param {string} [description]
|
|
294
|
-
* @return {Argument} new argument
|
|
295
|
-
*/
|
|
296
|
-
|
|
297
|
-
createArgument(name, description) {
|
|
298
|
-
return new Argument(name, description);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Define argument syntax for command.
|
|
303
|
-
*
|
|
304
|
-
* The default is that the argument is required, and you can explicitly
|
|
305
|
-
* indicate this with <> around the name. Put [] around the name for an optional argument.
|
|
306
|
-
*
|
|
307
|
-
* @example
|
|
308
|
-
* program.argument('<input-file>');
|
|
309
|
-
* program.argument('[output-file]');
|
|
310
|
-
*
|
|
311
|
-
* @param {string} name
|
|
312
|
-
* @param {string} [description]
|
|
313
|
-
* @param {(Function|*)} [fn] - custom argument processing function
|
|
314
|
-
* @param {*} [defaultValue]
|
|
315
|
-
* @return {Command} `this` command for chaining
|
|
316
|
-
*/
|
|
317
|
-
argument(name, description, fn, defaultValue) {
|
|
318
|
-
const argument = this.createArgument(name, description);
|
|
319
|
-
if (typeof fn === 'function') {
|
|
320
|
-
argument.default(defaultValue).argParser(fn);
|
|
321
|
-
} else {
|
|
322
|
-
argument.default(fn);
|
|
323
|
-
}
|
|
324
|
-
this.addArgument(argument);
|
|
325
|
-
return this;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Define argument syntax for command, adding multiple at once (without descriptions).
|
|
330
|
-
*
|
|
331
|
-
* See also .argument().
|
|
332
|
-
*
|
|
333
|
-
* @example
|
|
334
|
-
* program.arguments('<cmd> [env]');
|
|
335
|
-
*
|
|
336
|
-
* @param {string} names
|
|
337
|
-
* @return {Command} `this` command for chaining
|
|
338
|
-
*/
|
|
339
|
-
|
|
340
|
-
arguments(names) {
|
|
341
|
-
names
|
|
342
|
-
.trim()
|
|
343
|
-
.split(/ +/)
|
|
344
|
-
.forEach((detail) => {
|
|
345
|
-
this.argument(detail);
|
|
346
|
-
});
|
|
347
|
-
return this;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Define argument syntax for command, adding a prepared argument.
|
|
352
|
-
*
|
|
353
|
-
* @param {Argument} argument
|
|
354
|
-
* @return {Command} `this` command for chaining
|
|
355
|
-
*/
|
|
356
|
-
addArgument(argument) {
|
|
357
|
-
const previousArgument = this.registeredArguments.slice(-1)[0];
|
|
358
|
-
if (previousArgument && previousArgument.variadic) {
|
|
359
|
-
throw new Error(
|
|
360
|
-
`only the last argument can be variadic '${previousArgument.name()}'`,
|
|
361
|
-
);
|
|
362
|
-
}
|
|
363
|
-
if (
|
|
364
|
-
argument.required &&
|
|
365
|
-
argument.defaultValue !== undefined &&
|
|
366
|
-
argument.parseArg === undefined
|
|
367
|
-
) {
|
|
368
|
-
throw new Error(
|
|
369
|
-
`a default value for a required argument is never used: '${argument.name()}'`,
|
|
370
|
-
);
|
|
371
|
-
}
|
|
372
|
-
this.registeredArguments.push(argument);
|
|
373
|
-
return this;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Customise or override default help command. By default a help command is automatically added if your command has subcommands.
|
|
378
|
-
*
|
|
379
|
-
* @example
|
|
380
|
-
* program.helpCommand('help [cmd]');
|
|
381
|
-
* program.helpCommand('help [cmd]', 'show help');
|
|
382
|
-
* program.helpCommand(false); // suppress default help command
|
|
383
|
-
* program.helpCommand(true); // add help command even if no subcommands
|
|
384
|
-
*
|
|
385
|
-
* @param {string|boolean} enableOrNameAndArgs - enable with custom name and/or arguments, or boolean to override whether added
|
|
386
|
-
* @param {string} [description] - custom description
|
|
387
|
-
* @return {Command} `this` command for chaining
|
|
388
|
-
*/
|
|
389
|
-
|
|
390
|
-
helpCommand(enableOrNameAndArgs, description) {
|
|
391
|
-
if (typeof enableOrNameAndArgs === 'boolean') {
|
|
392
|
-
this._addImplicitHelpCommand = enableOrNameAndArgs;
|
|
393
|
-
return this;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
enableOrNameAndArgs = enableOrNameAndArgs ?? 'help [command]';
|
|
397
|
-
const [, helpName, helpArgs] = enableOrNameAndArgs.match(/([^ ]+) *(.*)/);
|
|
398
|
-
const helpDescription = description ?? 'display help for command';
|
|
399
|
-
|
|
400
|
-
const helpCommand = this.createCommand(helpName);
|
|
401
|
-
helpCommand.helpOption(false);
|
|
402
|
-
if (helpArgs) helpCommand.arguments(helpArgs);
|
|
403
|
-
if (helpDescription) helpCommand.description(helpDescription);
|
|
404
|
-
|
|
405
|
-
this._addImplicitHelpCommand = true;
|
|
406
|
-
this._helpCommand = helpCommand;
|
|
407
|
-
|
|
408
|
-
return this;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Add prepared custom help command.
|
|
413
|
-
*
|
|
414
|
-
* @param {(Command|string|boolean)} helpCommand - custom help command, or deprecated enableOrNameAndArgs as for `.helpCommand()`
|
|
415
|
-
* @param {string} [deprecatedDescription] - deprecated custom description used with custom name only
|
|
416
|
-
* @return {Command} `this` command for chaining
|
|
417
|
-
*/
|
|
418
|
-
addHelpCommand(helpCommand, deprecatedDescription) {
|
|
419
|
-
// If not passed an object, call through to helpCommand for backwards compatibility,
|
|
420
|
-
// as addHelpCommand was originally used like helpCommand is now.
|
|
421
|
-
if (typeof helpCommand !== 'object') {
|
|
422
|
-
this.helpCommand(helpCommand, deprecatedDescription);
|
|
423
|
-
return this;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
this._addImplicitHelpCommand = true;
|
|
427
|
-
this._helpCommand = helpCommand;
|
|
428
|
-
return this;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Lazy create help command.
|
|
433
|
-
*
|
|
434
|
-
* @return {(Command|null)}
|
|
435
|
-
* @package
|
|
436
|
-
*/
|
|
437
|
-
_getHelpCommand() {
|
|
438
|
-
const hasImplicitHelpCommand =
|
|
439
|
-
this._addImplicitHelpCommand ??
|
|
440
|
-
(this.commands.length &&
|
|
441
|
-
!this._actionHandler &&
|
|
442
|
-
!this._findCommand('help'));
|
|
443
|
-
|
|
444
|
-
if (hasImplicitHelpCommand) {
|
|
445
|
-
if (this._helpCommand === undefined) {
|
|
446
|
-
this.helpCommand(undefined, undefined); // use default name and description
|
|
447
|
-
}
|
|
448
|
-
return this._helpCommand;
|
|
449
|
-
}
|
|
450
|
-
return null;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Add hook for life cycle event.
|
|
455
|
-
*
|
|
456
|
-
* @param {string} event
|
|
457
|
-
* @param {Function} listener
|
|
458
|
-
* @return {Command} `this` command for chaining
|
|
459
|
-
*/
|
|
460
|
-
|
|
461
|
-
hook(event, listener) {
|
|
462
|
-
const allowedValues = ['preSubcommand', 'preAction', 'postAction'];
|
|
463
|
-
if (!allowedValues.includes(event)) {
|
|
464
|
-
throw new Error(`Unexpected value for event passed to hook : '${event}'.
|
|
465
|
-
Expecting one of '${allowedValues.join("', '")}'`);
|
|
466
|
-
}
|
|
467
|
-
if (this._lifeCycleHooks[event]) {
|
|
468
|
-
this._lifeCycleHooks[event].push(listener);
|
|
469
|
-
} else {
|
|
470
|
-
this._lifeCycleHooks[event] = [listener];
|
|
471
|
-
}
|
|
472
|
-
return this;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Register callback to use as replacement for calling process.exit.
|
|
477
|
-
*
|
|
478
|
-
* @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
|
|
479
|
-
* @return {Command} `this` command for chaining
|
|
480
|
-
*/
|
|
481
|
-
|
|
482
|
-
exitOverride(fn) {
|
|
483
|
-
if (fn) {
|
|
484
|
-
this._exitCallback = fn;
|
|
485
|
-
} else {
|
|
486
|
-
this._exitCallback = (err) => {
|
|
487
|
-
if (err.code !== 'commander.executeSubCommandAsync') {
|
|
488
|
-
throw err;
|
|
489
|
-
} else {
|
|
490
|
-
// Async callback from spawn events, not useful to throw.
|
|
491
|
-
}
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
return this;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Call process.exit, and _exitCallback if defined.
|
|
499
|
-
*
|
|
500
|
-
* @param {number} exitCode exit code for using with process.exit
|
|
501
|
-
* @param {string} code an id string representing the error
|
|
502
|
-
* @param {string} message human-readable description of the error
|
|
503
|
-
* @return never
|
|
504
|
-
* @private
|
|
505
|
-
*/
|
|
506
|
-
|
|
507
|
-
_exit(exitCode, code, message) {
|
|
508
|
-
if (this._exitCallback) {
|
|
509
|
-
this._exitCallback(new CommanderError(exitCode, code, message));
|
|
510
|
-
// Expecting this line is not reached.
|
|
511
|
-
}
|
|
512
|
-
process.exit(exitCode);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Register callback `fn` for the command.
|
|
517
|
-
*
|
|
518
|
-
* @example
|
|
519
|
-
* program
|
|
520
|
-
* .command('serve')
|
|
521
|
-
* .description('start service')
|
|
522
|
-
* .action(function() {
|
|
523
|
-
* // do work here
|
|
524
|
-
* });
|
|
525
|
-
*
|
|
526
|
-
* @param {Function} fn
|
|
527
|
-
* @return {Command} `this` command for chaining
|
|
528
|
-
*/
|
|
529
|
-
|
|
530
|
-
action(fn) {
|
|
531
|
-
const listener = (args) => {
|
|
532
|
-
// The .action callback takes an extra parameter which is the command or options.
|
|
533
|
-
const expectedArgsCount = this.registeredArguments.length;
|
|
534
|
-
const actionArgs = args.slice(0, expectedArgsCount);
|
|
535
|
-
if (this._storeOptionsAsProperties) {
|
|
536
|
-
actionArgs[expectedArgsCount] = this; // backwards compatible "options"
|
|
537
|
-
} else {
|
|
538
|
-
actionArgs[expectedArgsCount] = this.opts();
|
|
539
|
-
}
|
|
540
|
-
actionArgs.push(this);
|
|
541
|
-
|
|
542
|
-
return fn.apply(this, actionArgs);
|
|
543
|
-
};
|
|
544
|
-
this._actionHandler = listener;
|
|
545
|
-
return this;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* Factory routine to create a new unattached option.
|
|
550
|
-
*
|
|
551
|
-
* See .option() for creating an attached option, which uses this routine to
|
|
552
|
-
* create the option. You can override createOption to return a custom option.
|
|
553
|
-
*
|
|
554
|
-
* @param {string} flags
|
|
555
|
-
* @param {string} [description]
|
|
556
|
-
* @return {Option} new option
|
|
557
|
-
*/
|
|
558
|
-
|
|
559
|
-
createOption(flags, description) {
|
|
560
|
-
return new Option(flags, description);
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* Wrap parseArgs to catch 'commander.invalidArgument'.
|
|
565
|
-
*
|
|
566
|
-
* @param {(Option | Argument)} target
|
|
567
|
-
* @param {string} value
|
|
568
|
-
* @param {*} previous
|
|
569
|
-
* @param {string} invalidArgumentMessage
|
|
570
|
-
* @private
|
|
571
|
-
*/
|
|
572
|
-
|
|
573
|
-
_callParseArg(target, value, previous, invalidArgumentMessage) {
|
|
574
|
-
try {
|
|
575
|
-
return target.parseArg(value, previous);
|
|
576
|
-
} catch (err) {
|
|
577
|
-
if (err.code === 'commander.invalidArgument') {
|
|
578
|
-
const message = `${invalidArgumentMessage} ${err.message}`;
|
|
579
|
-
this.error(message, { exitCode: err.exitCode, code: err.code });
|
|
580
|
-
}
|
|
581
|
-
throw err;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Check for option flag conflicts.
|
|
587
|
-
* Register option if no conflicts found, or throw on conflict.
|
|
588
|
-
*
|
|
589
|
-
* @param {Option} option
|
|
590
|
-
* @private
|
|
591
|
-
*/
|
|
592
|
-
|
|
593
|
-
_registerOption(option) {
|
|
594
|
-
const matchingOption =
|
|
595
|
-
(option.short && this._findOption(option.short)) ||
|
|
596
|
-
(option.long && this._findOption(option.long));
|
|
597
|
-
if (matchingOption) {
|
|
598
|
-
const matchingFlag =
|
|
599
|
-
option.long && this._findOption(option.long)
|
|
600
|
-
? option.long
|
|
601
|
-
: option.short;
|
|
602
|
-
throw new Error(`Cannot add option '${option.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${matchingFlag}'
|
|
603
|
-
- already used by option '${matchingOption.flags}'`);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
this.options.push(option);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Check for command name and alias conflicts with existing commands.
|
|
611
|
-
* Register command if no conflicts found, or throw on conflict.
|
|
612
|
-
*
|
|
613
|
-
* @param {Command} command
|
|
614
|
-
* @private
|
|
615
|
-
*/
|
|
616
|
-
|
|
617
|
-
_registerCommand(command) {
|
|
618
|
-
const knownBy = (cmd) => {
|
|
619
|
-
return [cmd.name()].concat(cmd.aliases());
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
const alreadyUsed = knownBy(command).find((name) =>
|
|
623
|
-
this._findCommand(name),
|
|
624
|
-
);
|
|
625
|
-
if (alreadyUsed) {
|
|
626
|
-
const existingCmd = knownBy(this._findCommand(alreadyUsed)).join('|');
|
|
627
|
-
const newCmd = knownBy(command).join('|');
|
|
628
|
-
throw new Error(
|
|
629
|
-
`cannot add command '${newCmd}' as already have command '${existingCmd}'`,
|
|
630
|
-
);
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
this.commands.push(command);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* Add an option.
|
|
638
|
-
*
|
|
639
|
-
* @param {Option} option
|
|
640
|
-
* @return {Command} `this` command for chaining
|
|
641
|
-
*/
|
|
642
|
-
addOption(option) {
|
|
643
|
-
this._registerOption(option);
|
|
644
|
-
|
|
645
|
-
const oname = option.name();
|
|
646
|
-
const name = option.attributeName();
|
|
647
|
-
|
|
648
|
-
// store default value
|
|
649
|
-
if (option.negate) {
|
|
650
|
-
// --no-foo is special and defaults foo to true, unless a --foo option is already defined
|
|
651
|
-
const positiveLongFlag = option.long.replace(/^--no-/, '--');
|
|
652
|
-
if (!this._findOption(positiveLongFlag)) {
|
|
653
|
-
this.setOptionValueWithSource(
|
|
654
|
-
name,
|
|
655
|
-
option.defaultValue === undefined ? true : option.defaultValue,
|
|
656
|
-
'default',
|
|
657
|
-
);
|
|
658
|
-
}
|
|
659
|
-
} else if (option.defaultValue !== undefined) {
|
|
660
|
-
this.setOptionValueWithSource(name, option.defaultValue, 'default');
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
// handler for cli and env supplied values
|
|
664
|
-
const handleOptionValue = (val, invalidValueMessage, valueSource) => {
|
|
665
|
-
// val is null for optional option used without an optional-argument.
|
|
666
|
-
// val is undefined for boolean and negated option.
|
|
667
|
-
if (val == null && option.presetArg !== undefined) {
|
|
668
|
-
val = option.presetArg;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
// custom processing
|
|
672
|
-
const oldValue = this.getOptionValue(name);
|
|
673
|
-
if (val !== null && option.parseArg) {
|
|
674
|
-
val = this._callParseArg(option, val, oldValue, invalidValueMessage);
|
|
675
|
-
} else if (val !== null && option.variadic) {
|
|
676
|
-
val = option._concatValue(val, oldValue);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
// Fill-in appropriate missing values. Long winded but easy to follow.
|
|
680
|
-
if (val == null) {
|
|
681
|
-
if (option.negate) {
|
|
682
|
-
val = false;
|
|
683
|
-
} else if (option.isBoolean() || option.optional) {
|
|
684
|
-
val = true;
|
|
685
|
-
} else {
|
|
686
|
-
val = ''; // not normal, parseArg might have failed or be a mock function for testing
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
this.setOptionValueWithSource(name, val, valueSource);
|
|
690
|
-
};
|
|
691
|
-
|
|
692
|
-
this.on('option:' + oname, (val) => {
|
|
693
|
-
const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
|
|
694
|
-
handleOptionValue(val, invalidValueMessage, 'cli');
|
|
695
|
-
});
|
|
696
|
-
|
|
697
|
-
if (option.envVar) {
|
|
698
|
-
this.on('optionEnv:' + oname, (val) => {
|
|
699
|
-
const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
|
|
700
|
-
handleOptionValue(val, invalidValueMessage, 'env');
|
|
701
|
-
});
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
return this;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* Internal implementation shared by .option() and .requiredOption()
|
|
709
|
-
*
|
|
710
|
-
* @return {Command} `this` command for chaining
|
|
711
|
-
* @private
|
|
712
|
-
*/
|
|
713
|
-
_optionEx(config, flags, description, fn, defaultValue) {
|
|
714
|
-
if (typeof flags === 'object' && flags instanceof Option) {
|
|
715
|
-
throw new Error(
|
|
716
|
-
'To add an Option object use addOption() instead of option() or requiredOption()',
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
const option = this.createOption(flags, description);
|
|
720
|
-
option.makeOptionMandatory(!!config.mandatory);
|
|
721
|
-
if (typeof fn === 'function') {
|
|
722
|
-
option.default(defaultValue).argParser(fn);
|
|
723
|
-
} else if (fn instanceof RegExp) {
|
|
724
|
-
// deprecated
|
|
725
|
-
const regex = fn;
|
|
726
|
-
fn = (val, def) => {
|
|
727
|
-
const m = regex.exec(val);
|
|
728
|
-
return m ? m[0] : def;
|
|
729
|
-
};
|
|
730
|
-
option.default(defaultValue).argParser(fn);
|
|
731
|
-
} else {
|
|
732
|
-
option.default(fn);
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
return this.addOption(option);
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
|
|
740
|
-
*
|
|
741
|
-
* The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
|
|
742
|
-
* option-argument is indicated by `<>` and an optional option-argument by `[]`.
|
|
743
|
-
*
|
|
744
|
-
* See the README for more details, and see also addOption() and requiredOption().
|
|
745
|
-
*
|
|
746
|
-
* @example
|
|
747
|
-
* program
|
|
748
|
-
* .option('-p, --pepper', 'add pepper')
|
|
749
|
-
* .option('-p, --pizza-type <TYPE>', 'type of pizza') // required option-argument
|
|
750
|
-
* .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
|
|
751
|
-
* .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
|
|
752
|
-
*
|
|
753
|
-
* @param {string} flags
|
|
754
|
-
* @param {string} [description]
|
|
755
|
-
* @param {(Function|*)} [parseArg] - custom option processing function or default value
|
|
756
|
-
* @param {*} [defaultValue]
|
|
757
|
-
* @return {Command} `this` command for chaining
|
|
758
|
-
*/
|
|
759
|
-
|
|
760
|
-
option(flags, description, parseArg, defaultValue) {
|
|
761
|
-
return this._optionEx({}, flags, description, parseArg, defaultValue);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* Add a required option which must have a value after parsing. This usually means
|
|
766
|
-
* the option must be specified on the command line. (Otherwise the same as .option().)
|
|
767
|
-
*
|
|
768
|
-
* The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
|
|
769
|
-
*
|
|
770
|
-
* @param {string} flags
|
|
771
|
-
* @param {string} [description]
|
|
772
|
-
* @param {(Function|*)} [parseArg] - custom option processing function or default value
|
|
773
|
-
* @param {*} [defaultValue]
|
|
774
|
-
* @return {Command} `this` command for chaining
|
|
775
|
-
*/
|
|
776
|
-
|
|
777
|
-
requiredOption(flags, description, parseArg, defaultValue) {
|
|
778
|
-
return this._optionEx(
|
|
779
|
-
{ mandatory: true },
|
|
780
|
-
flags,
|
|
781
|
-
description,
|
|
782
|
-
parseArg,
|
|
783
|
-
defaultValue,
|
|
784
|
-
);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* Alter parsing of short flags with optional values.
|
|
789
|
-
*
|
|
790
|
-
* @example
|
|
791
|
-
* // for `.option('-f,--flag [value]'):
|
|
792
|
-
* program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour
|
|
793
|
-
* program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
|
|
794
|
-
*
|
|
795
|
-
* @param {boolean} [combine] - if `true` or omitted, an optional value can be specified directly after the flag.
|
|
796
|
-
* @return {Command} `this` command for chaining
|
|
797
|
-
*/
|
|
798
|
-
combineFlagAndOptionalValue(combine = true) {
|
|
799
|
-
this._combineFlagAndOptionalValue = !!combine;
|
|
800
|
-
return this;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* Allow unknown options on the command line.
|
|
805
|
-
*
|
|
806
|
-
* @param {boolean} [allowUnknown] - if `true` or omitted, no error will be thrown for unknown options.
|
|
807
|
-
* @return {Command} `this` command for chaining
|
|
808
|
-
*/
|
|
809
|
-
allowUnknownOption(allowUnknown = true) {
|
|
810
|
-
this._allowUnknownOption = !!allowUnknown;
|
|
811
|
-
return this;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
|
|
816
|
-
*
|
|
817
|
-
* @param {boolean} [allowExcess] - if `true` or omitted, no error will be thrown for excess arguments.
|
|
818
|
-
* @return {Command} `this` command for chaining
|
|
819
|
-
*/
|
|
820
|
-
allowExcessArguments(allowExcess = true) {
|
|
821
|
-
this._allowExcessArguments = !!allowExcess;
|
|
822
|
-
return this;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Enable positional options. Positional means global options are specified before subcommands which lets
|
|
827
|
-
* subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
|
|
828
|
-
* The default behaviour is non-positional and global options may appear anywhere on the command line.
|
|
829
|
-
*
|
|
830
|
-
* @param {boolean} [positional]
|
|
831
|
-
* @return {Command} `this` command for chaining
|
|
832
|
-
*/
|
|
833
|
-
enablePositionalOptions(positional = true) {
|
|
834
|
-
this._enablePositionalOptions = !!positional;
|
|
835
|
-
return this;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* Pass through options that come after command-arguments rather than treat them as command-options,
|
|
840
|
-
* so actual command-options come before command-arguments. Turning this on for a subcommand requires
|
|
841
|
-
* positional options to have been enabled on the program (parent commands).
|
|
842
|
-
* The default behaviour is non-positional and options may appear before or after command-arguments.
|
|
843
|
-
*
|
|
844
|
-
* @param {boolean} [passThrough] for unknown options.
|
|
845
|
-
* @return {Command} `this` command for chaining
|
|
846
|
-
*/
|
|
847
|
-
passThroughOptions(passThrough = true) {
|
|
848
|
-
this._passThroughOptions = !!passThrough;
|
|
849
|
-
this._checkForBrokenPassThrough();
|
|
850
|
-
return this;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* @private
|
|
855
|
-
*/
|
|
856
|
-
|
|
857
|
-
_checkForBrokenPassThrough() {
|
|
858
|
-
if (
|
|
859
|
-
this.parent &&
|
|
860
|
-
this._passThroughOptions &&
|
|
861
|
-
!this.parent._enablePositionalOptions
|
|
862
|
-
) {
|
|
863
|
-
throw new Error(
|
|
864
|
-
`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`,
|
|
865
|
-
);
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* Whether to store option values as properties on command object,
|
|
871
|
-
* or store separately (specify false). In both cases the option values can be accessed using .opts().
|
|
872
|
-
*
|
|
873
|
-
* @param {boolean} [storeAsProperties=true]
|
|
874
|
-
* @return {Command} `this` command for chaining
|
|
875
|
-
*/
|
|
876
|
-
|
|
877
|
-
storeOptionsAsProperties(storeAsProperties = true) {
|
|
878
|
-
if (this.options.length) {
|
|
879
|
-
throw new Error('call .storeOptionsAsProperties() before adding options');
|
|
880
|
-
}
|
|
881
|
-
if (Object.keys(this._optionValues).length) {
|
|
882
|
-
throw new Error(
|
|
883
|
-
'call .storeOptionsAsProperties() before setting option values',
|
|
884
|
-
);
|
|
885
|
-
}
|
|
886
|
-
this._storeOptionsAsProperties = !!storeAsProperties;
|
|
887
|
-
return this;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* Retrieve option value.
|
|
892
|
-
*
|
|
893
|
-
* @param {string} key
|
|
894
|
-
* @return {object} value
|
|
895
|
-
*/
|
|
896
|
-
|
|
897
|
-
getOptionValue(key) {
|
|
898
|
-
if (this._storeOptionsAsProperties) {
|
|
899
|
-
return this[key];
|
|
900
|
-
}
|
|
901
|
-
return this._optionValues[key];
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* Store option value.
|
|
906
|
-
*
|
|
907
|
-
* @param {string} key
|
|
908
|
-
* @param {object} value
|
|
909
|
-
* @return {Command} `this` command for chaining
|
|
910
|
-
*/
|
|
911
|
-
|
|
912
|
-
setOptionValue(key, value) {
|
|
913
|
-
return this.setOptionValueWithSource(key, value, undefined);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* Store option value and where the value came from.
|
|
918
|
-
*
|
|
919
|
-
* @param {string} key
|
|
920
|
-
* @param {object} value
|
|
921
|
-
* @param {string} source - expected values are default/config/env/cli/implied
|
|
922
|
-
* @return {Command} `this` command for chaining
|
|
923
|
-
*/
|
|
924
|
-
|
|
925
|
-
setOptionValueWithSource(key, value, source) {
|
|
926
|
-
if (this._storeOptionsAsProperties) {
|
|
927
|
-
this[key] = value;
|
|
928
|
-
} else {
|
|
929
|
-
this._optionValues[key] = value;
|
|
930
|
-
}
|
|
931
|
-
this._optionValueSources[key] = source;
|
|
932
|
-
return this;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* Get source of option value.
|
|
937
|
-
* Expected values are default | config | env | cli | implied
|
|
938
|
-
*
|
|
939
|
-
* @param {string} key
|
|
940
|
-
* @return {string}
|
|
941
|
-
*/
|
|
942
|
-
|
|
943
|
-
getOptionValueSource(key) {
|
|
944
|
-
return this._optionValueSources[key];
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* Get source of option value. See also .optsWithGlobals().
|
|
949
|
-
* Expected values are default | config | env | cli | implied
|
|
950
|
-
*
|
|
951
|
-
* @param {string} key
|
|
952
|
-
* @return {string}
|
|
953
|
-
*/
|
|
954
|
-
|
|
955
|
-
getOptionValueSourceWithGlobals(key) {
|
|
956
|
-
// global overwrites local, like optsWithGlobals
|
|
957
|
-
let source;
|
|
958
|
-
this._getCommandAndAncestors().forEach((cmd) => {
|
|
959
|
-
if (cmd.getOptionValueSource(key) !== undefined) {
|
|
960
|
-
source = cmd.getOptionValueSource(key);
|
|
961
|
-
}
|
|
962
|
-
});
|
|
963
|
-
return source;
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* Get user arguments from implied or explicit arguments.
|
|
968
|
-
* Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches.
|
|
969
|
-
*
|
|
970
|
-
* @private
|
|
971
|
-
*/
|
|
972
|
-
|
|
973
|
-
_prepareUserArgs(argv, parseOptions) {
|
|
974
|
-
if (argv !== undefined && !Array.isArray(argv)) {
|
|
975
|
-
throw new Error('first parameter to parse must be array or undefined');
|
|
976
|
-
}
|
|
977
|
-
parseOptions = parseOptions || {};
|
|
978
|
-
|
|
979
|
-
// auto-detect argument conventions if nothing supplied
|
|
980
|
-
if (argv === undefined && parseOptions.from === undefined) {
|
|
981
|
-
if (process.versions?.electron) {
|
|
982
|
-
parseOptions.from = 'electron';
|
|
983
|
-
}
|
|
984
|
-
// check node specific options for scenarios where user CLI args follow executable without scriptname
|
|
985
|
-
const execArgv = process.execArgv ?? [];
|
|
986
|
-
if (
|
|
987
|
-
execArgv.includes('-e') ||
|
|
988
|
-
execArgv.includes('--eval') ||
|
|
989
|
-
execArgv.includes('-p') ||
|
|
990
|
-
execArgv.includes('--print')
|
|
991
|
-
) {
|
|
992
|
-
parseOptions.from = 'eval'; // internal usage, not documented
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
// default to using process.argv
|
|
997
|
-
if (argv === undefined) {
|
|
998
|
-
argv = process.argv;
|
|
999
|
-
}
|
|
1000
|
-
this.rawArgs = argv.slice();
|
|
1001
|
-
|
|
1002
|
-
// extract the user args and scriptPath
|
|
1003
|
-
let userArgs;
|
|
1004
|
-
switch (parseOptions.from) {
|
|
1005
|
-
case undefined:
|
|
1006
|
-
case 'node':
|
|
1007
|
-
this._scriptPath = argv[1];
|
|
1008
|
-
userArgs = argv.slice(2);
|
|
1009
|
-
break;
|
|
1010
|
-
case 'electron':
|
|
1011
|
-
// @ts-ignore: because defaultApp is an unknown property
|
|
1012
|
-
if (process.defaultApp) {
|
|
1013
|
-
this._scriptPath = argv[1];
|
|
1014
|
-
userArgs = argv.slice(2);
|
|
1015
|
-
} else {
|
|
1016
|
-
userArgs = argv.slice(1);
|
|
1017
|
-
}
|
|
1018
|
-
break;
|
|
1019
|
-
case 'user':
|
|
1020
|
-
userArgs = argv.slice(0);
|
|
1021
|
-
break;
|
|
1022
|
-
case 'eval':
|
|
1023
|
-
userArgs = argv.slice(1);
|
|
1024
|
-
break;
|
|
1025
|
-
default:
|
|
1026
|
-
throw new Error(
|
|
1027
|
-
`unexpected parse option { from: '${parseOptions.from}' }`,
|
|
1028
|
-
);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
// Find default name for program from arguments.
|
|
1032
|
-
if (!this._name && this._scriptPath)
|
|
1033
|
-
this.nameFromFilename(this._scriptPath);
|
|
1034
|
-
this._name = this._name || 'program';
|
|
1035
|
-
|
|
1036
|
-
return userArgs;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* Parse `argv`, setting options and invoking commands when defined.
|
|
1041
|
-
*
|
|
1042
|
-
* Use parseAsync instead of parse if any of your action handlers are async.
|
|
1043
|
-
*
|
|
1044
|
-
* Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
|
|
1045
|
-
*
|
|
1046
|
-
* Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
|
|
1047
|
-
* - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
|
|
1048
|
-
* - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
|
|
1049
|
-
* - `'user'`: just user arguments
|
|
1050
|
-
*
|
|
1051
|
-
* @example
|
|
1052
|
-
* program.parse(); // parse process.argv and auto-detect electron and special node flags
|
|
1053
|
-
* program.parse(process.argv); // assume argv[0] is app and argv[1] is script
|
|
1054
|
-
* program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
|
|
1055
|
-
*
|
|
1056
|
-
* @param {string[]} [argv] - optional, defaults to process.argv
|
|
1057
|
-
* @param {object} [parseOptions] - optionally specify style of options with from: node/user/electron
|
|
1058
|
-
* @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
|
|
1059
|
-
* @return {Command} `this` command for chaining
|
|
1060
|
-
*/
|
|
1061
|
-
|
|
1062
|
-
parse(argv, parseOptions) {
|
|
1063
|
-
const userArgs = this._prepareUserArgs(argv, parseOptions);
|
|
1064
|
-
this._parseCommand([], userArgs);
|
|
1065
|
-
|
|
1066
|
-
return this;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
/**
|
|
1070
|
-
* Parse `argv`, setting options and invoking commands when defined.
|
|
1071
|
-
*
|
|
1072
|
-
* Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
|
|
1073
|
-
*
|
|
1074
|
-
* Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
|
|
1075
|
-
* - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
|
|
1076
|
-
* - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
|
|
1077
|
-
* - `'user'`: just user arguments
|
|
1078
|
-
*
|
|
1079
|
-
* @example
|
|
1080
|
-
* await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
|
|
1081
|
-
* await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
|
|
1082
|
-
* await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
|
|
1083
|
-
*
|
|
1084
|
-
* @param {string[]} [argv]
|
|
1085
|
-
* @param {object} [parseOptions]
|
|
1086
|
-
* @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
|
|
1087
|
-
* @return {Promise}
|
|
1088
|
-
*/
|
|
1089
|
-
|
|
1090
|
-
async parseAsync(argv, parseOptions) {
|
|
1091
|
-
const userArgs = this._prepareUserArgs(argv, parseOptions);
|
|
1092
|
-
await this._parseCommand([], userArgs);
|
|
1093
|
-
|
|
1094
|
-
return this;
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* Execute a sub-command executable.
|
|
1099
|
-
*
|
|
1100
|
-
* @private
|
|
1101
|
-
*/
|
|
1102
|
-
|
|
1103
|
-
_executeSubCommand(subcommand, args) {
|
|
1104
|
-
args = args.slice();
|
|
1105
|
-
let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
|
|
1106
|
-
const sourceExt = ['.js', '.ts', '.tsx', '.mjs', '.cjs'];
|
|
1107
|
-
|
|
1108
|
-
function findFile(baseDir, baseName) {
|
|
1109
|
-
// Look for specified file
|
|
1110
|
-
const localBin = path.resolve(baseDir, baseName);
|
|
1111
|
-
if (fs.existsSync(localBin)) return localBin;
|
|
1112
|
-
|
|
1113
|
-
// Stop looking if candidate already has an expected extension.
|
|
1114
|
-
if (sourceExt.includes(path.extname(baseName))) return undefined;
|
|
1115
|
-
|
|
1116
|
-
// Try all the extensions.
|
|
1117
|
-
const foundExt = sourceExt.find((ext) =>
|
|
1118
|
-
fs.existsSync(`${localBin}${ext}`),
|
|
1119
|
-
);
|
|
1120
|
-
if (foundExt) return `${localBin}${foundExt}`;
|
|
1121
|
-
|
|
1122
|
-
return undefined;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
// Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
|
|
1126
|
-
this._checkForMissingMandatoryOptions();
|
|
1127
|
-
this._checkForConflictingOptions();
|
|
1128
|
-
|
|
1129
|
-
// executableFile and executableDir might be full path, or just a name
|
|
1130
|
-
let executableFile =
|
|
1131
|
-
subcommand._executableFile || `${this._name}-${subcommand._name}`;
|
|
1132
|
-
let executableDir = this._executableDir || '';
|
|
1133
|
-
if (this._scriptPath) {
|
|
1134
|
-
let resolvedScriptPath; // resolve possible symlink for installed npm binary
|
|
1135
|
-
try {
|
|
1136
|
-
resolvedScriptPath = fs.realpathSync(this._scriptPath);
|
|
1137
|
-
} catch (err) {
|
|
1138
|
-
resolvedScriptPath = this._scriptPath;
|
|
1139
|
-
}
|
|
1140
|
-
executableDir = path.resolve(
|
|
1141
|
-
path.dirname(resolvedScriptPath),
|
|
1142
|
-
executableDir,
|
|
1143
|
-
);
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
// Look for a local file in preference to a command in PATH.
|
|
1147
|
-
if (executableDir) {
|
|
1148
|
-
let localFile = findFile(executableDir, executableFile);
|
|
1149
|
-
|
|
1150
|
-
// Legacy search using prefix of script name instead of command name
|
|
1151
|
-
if (!localFile && !subcommand._executableFile && this._scriptPath) {
|
|
1152
|
-
const legacyName = path.basename(
|
|
1153
|
-
this._scriptPath,
|
|
1154
|
-
path.extname(this._scriptPath),
|
|
1155
|
-
);
|
|
1156
|
-
if (legacyName !== this._name) {
|
|
1157
|
-
localFile = findFile(
|
|
1158
|
-
executableDir,
|
|
1159
|
-
`${legacyName}-${subcommand._name}`,
|
|
1160
|
-
);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
executableFile = localFile || executableFile;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
launchWithNode = sourceExt.includes(path.extname(executableFile));
|
|
1167
|
-
|
|
1168
|
-
let proc;
|
|
1169
|
-
if (process.platform !== 'win32') {
|
|
1170
|
-
if (launchWithNode) {
|
|
1171
|
-
args.unshift(executableFile);
|
|
1172
|
-
// add executable arguments to spawn
|
|
1173
|
-
args = incrementNodeInspectorPort(process.execArgv).concat(args);
|
|
1174
|
-
|
|
1175
|
-
proc = childProcess.spawn(process.argv[0], args, { stdio: 'inherit' });
|
|
1176
|
-
} else {
|
|
1177
|
-
proc = childProcess.spawn(executableFile, args, { stdio: 'inherit' });
|
|
1178
|
-
}
|
|
1179
|
-
} else {
|
|
1180
|
-
args.unshift(executableFile);
|
|
1181
|
-
// add executable arguments to spawn
|
|
1182
|
-
args = incrementNodeInspectorPort(process.execArgv).concat(args);
|
|
1183
|
-
proc = childProcess.spawn(process.execPath, args, { stdio: 'inherit' });
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
if (!proc.killed) {
|
|
1187
|
-
// testing mainly to avoid leak warnings during unit tests with mocked spawn
|
|
1188
|
-
const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
|
|
1189
|
-
signals.forEach((signal) => {
|
|
1190
|
-
process.on(signal, () => {
|
|
1191
|
-
if (proc.killed === false && proc.exitCode === null) {
|
|
1192
|
-
// @ts-ignore because signals not typed to known strings
|
|
1193
|
-
proc.kill(signal);
|
|
1194
|
-
}
|
|
1195
|
-
});
|
|
1196
|
-
});
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
// By default terminate process when spawned process terminates.
|
|
1200
|
-
const exitCallback = this._exitCallback;
|
|
1201
|
-
proc.on('close', (code) => {
|
|
1202
|
-
code = code ?? 1; // code is null if spawned process terminated due to a signal
|
|
1203
|
-
if (!exitCallback) {
|
|
1204
|
-
process.exit(code);
|
|
1205
|
-
} else {
|
|
1206
|
-
exitCallback(
|
|
1207
|
-
new CommanderError(
|
|
1208
|
-
code,
|
|
1209
|
-
'commander.executeSubCommandAsync',
|
|
1210
|
-
'(close)',
|
|
1211
|
-
),
|
|
1212
|
-
);
|
|
1213
|
-
}
|
|
1214
|
-
});
|
|
1215
|
-
proc.on('error', (err) => {
|
|
1216
|
-
// @ts-ignore: because err.code is an unknown property
|
|
1217
|
-
if (err.code === 'ENOENT') {
|
|
1218
|
-
const executableDirMessage = executableDir
|
|
1219
|
-
? `searched for local subcommand relative to directory '${executableDir}'`
|
|
1220
|
-
: 'no directory for search for local subcommand, use .executableDir() to supply a custom directory';
|
|
1221
|
-
const executableMissing = `'${executableFile}' does not exist
|
|
1222
|
-
- if '${subcommand._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
1223
|
-
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
1224
|
-
- ${executableDirMessage}`;
|
|
1225
|
-
throw new Error(executableMissing);
|
|
1226
|
-
// @ts-ignore: because err.code is an unknown property
|
|
1227
|
-
} else if (err.code === 'EACCES') {
|
|
1228
|
-
throw new Error(`'${executableFile}' not executable`);
|
|
1229
|
-
}
|
|
1230
|
-
if (!exitCallback) {
|
|
1231
|
-
process.exit(1);
|
|
1232
|
-
} else {
|
|
1233
|
-
const wrappedError = new CommanderError(
|
|
1234
|
-
1,
|
|
1235
|
-
'commander.executeSubCommandAsync',
|
|
1236
|
-
'(error)',
|
|
1237
|
-
);
|
|
1238
|
-
wrappedError.nestedError = err;
|
|
1239
|
-
exitCallback(wrappedError);
|
|
1240
|
-
}
|
|
1241
|
-
});
|
|
1242
|
-
|
|
1243
|
-
// Store the reference to the child process
|
|
1244
|
-
this.runningCommand = proc;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* @private
|
|
1249
|
-
*/
|
|
1250
|
-
|
|
1251
|
-
_dispatchSubcommand(commandName, operands, unknown) {
|
|
1252
|
-
const subCommand = this._findCommand(commandName);
|
|
1253
|
-
if (!subCommand) this.help({ error: true });
|
|
1254
|
-
|
|
1255
|
-
let promiseChain;
|
|
1256
|
-
promiseChain = this._chainOrCallSubCommandHook(
|
|
1257
|
-
promiseChain,
|
|
1258
|
-
subCommand,
|
|
1259
|
-
'preSubcommand',
|
|
1260
|
-
);
|
|
1261
|
-
promiseChain = this._chainOrCall(promiseChain, () => {
|
|
1262
|
-
if (subCommand._executableHandler) {
|
|
1263
|
-
this._executeSubCommand(subCommand, operands.concat(unknown));
|
|
1264
|
-
} else {
|
|
1265
|
-
return subCommand._parseCommand(operands, unknown);
|
|
1266
|
-
}
|
|
1267
|
-
});
|
|
1268
|
-
return promiseChain;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
/**
|
|
1272
|
-
* Invoke help directly if possible, or dispatch if necessary.
|
|
1273
|
-
* e.g. help foo
|
|
1274
|
-
*
|
|
1275
|
-
* @private
|
|
1276
|
-
*/
|
|
1277
|
-
|
|
1278
|
-
_dispatchHelpCommand(subcommandName) {
|
|
1279
|
-
if (!subcommandName) {
|
|
1280
|
-
this.help();
|
|
1281
|
-
}
|
|
1282
|
-
const subCommand = this._findCommand(subcommandName);
|
|
1283
|
-
if (subCommand && !subCommand._executableHandler) {
|
|
1284
|
-
subCommand.help();
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
// Fallback to parsing the help flag to invoke the help.
|
|
1288
|
-
return this._dispatchSubcommand(
|
|
1289
|
-
subcommandName,
|
|
1290
|
-
[],
|
|
1291
|
-
[this._getHelpOption()?.long ?? this._getHelpOption()?.short ?? '--help'],
|
|
1292
|
-
);
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
/**
|
|
1296
|
-
* Check this.args against expected this.registeredArguments.
|
|
1297
|
-
*
|
|
1298
|
-
* @private
|
|
1299
|
-
*/
|
|
1300
|
-
|
|
1301
|
-
_checkNumberOfArguments() {
|
|
1302
|
-
// too few
|
|
1303
|
-
this.registeredArguments.forEach((arg, i) => {
|
|
1304
|
-
if (arg.required && this.args[i] == null) {
|
|
1305
|
-
this.missingArgument(arg.name());
|
|
1306
|
-
}
|
|
1307
|
-
});
|
|
1308
|
-
// too many
|
|
1309
|
-
if (
|
|
1310
|
-
this.registeredArguments.length > 0 &&
|
|
1311
|
-
this.registeredArguments[this.registeredArguments.length - 1].variadic
|
|
1312
|
-
) {
|
|
1313
|
-
return;
|
|
1314
|
-
}
|
|
1315
|
-
if (this.args.length > this.registeredArguments.length) {
|
|
1316
|
-
this._excessArguments(this.args);
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* Process this.args using this.registeredArguments and save as this.processedArgs!
|
|
1322
|
-
*
|
|
1323
|
-
* @private
|
|
1324
|
-
*/
|
|
1325
|
-
|
|
1326
|
-
_processArguments() {
|
|
1327
|
-
const myParseArg = (argument, value, previous) => {
|
|
1328
|
-
// Extra processing for nice error message on parsing failure.
|
|
1329
|
-
let parsedValue = value;
|
|
1330
|
-
if (value !== null && argument.parseArg) {
|
|
1331
|
-
const invalidValueMessage = `error: command-argument value '${value}' is invalid for argument '${argument.name()}'.`;
|
|
1332
|
-
parsedValue = this._callParseArg(
|
|
1333
|
-
argument,
|
|
1334
|
-
value,
|
|
1335
|
-
previous,
|
|
1336
|
-
invalidValueMessage,
|
|
1337
|
-
);
|
|
1338
|
-
}
|
|
1339
|
-
return parsedValue;
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
this._checkNumberOfArguments();
|
|
1343
|
-
|
|
1344
|
-
const processedArgs = [];
|
|
1345
|
-
this.registeredArguments.forEach((declaredArg, index) => {
|
|
1346
|
-
let value = declaredArg.defaultValue;
|
|
1347
|
-
if (declaredArg.variadic) {
|
|
1348
|
-
// Collect together remaining arguments for passing together as an array.
|
|
1349
|
-
if (index < this.args.length) {
|
|
1350
|
-
value = this.args.slice(index);
|
|
1351
|
-
if (declaredArg.parseArg) {
|
|
1352
|
-
value = value.reduce((processed, v) => {
|
|
1353
|
-
return myParseArg(declaredArg, v, processed);
|
|
1354
|
-
}, declaredArg.defaultValue);
|
|
1355
|
-
}
|
|
1356
|
-
} else if (value === undefined) {
|
|
1357
|
-
value = [];
|
|
1358
|
-
}
|
|
1359
|
-
} else if (index < this.args.length) {
|
|
1360
|
-
value = this.args[index];
|
|
1361
|
-
if (declaredArg.parseArg) {
|
|
1362
|
-
value = myParseArg(declaredArg, value, declaredArg.defaultValue);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
processedArgs[index] = value;
|
|
1366
|
-
});
|
|
1367
|
-
this.processedArgs = processedArgs;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* Once we have a promise we chain, but call synchronously until then.
|
|
1372
|
-
*
|
|
1373
|
-
* @param {(Promise|undefined)} promise
|
|
1374
|
-
* @param {Function} fn
|
|
1375
|
-
* @return {(Promise|undefined)}
|
|
1376
|
-
* @private
|
|
1377
|
-
*/
|
|
1378
|
-
|
|
1379
|
-
_chainOrCall(promise, fn) {
|
|
1380
|
-
// thenable
|
|
1381
|
-
if (promise && promise.then && typeof promise.then === 'function') {
|
|
1382
|
-
// already have a promise, chain callback
|
|
1383
|
-
return promise.then(() => fn());
|
|
1384
|
-
}
|
|
1385
|
-
// callback might return a promise
|
|
1386
|
-
return fn();
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
*
|
|
1391
|
-
* @param {(Promise|undefined)} promise
|
|
1392
|
-
* @param {string} event
|
|
1393
|
-
* @return {(Promise|undefined)}
|
|
1394
|
-
* @private
|
|
1395
|
-
*/
|
|
1396
|
-
|
|
1397
|
-
_chainOrCallHooks(promise, event) {
|
|
1398
|
-
let result = promise;
|
|
1399
|
-
const hooks = [];
|
|
1400
|
-
this._getCommandAndAncestors()
|
|
1401
|
-
.reverse()
|
|
1402
|
-
.filter((cmd) => cmd._lifeCycleHooks[event] !== undefined)
|
|
1403
|
-
.forEach((hookedCommand) => {
|
|
1404
|
-
hookedCommand._lifeCycleHooks[event].forEach((callback) => {
|
|
1405
|
-
hooks.push({ hookedCommand, callback });
|
|
1406
|
-
});
|
|
1407
|
-
});
|
|
1408
|
-
if (event === 'postAction') {
|
|
1409
|
-
hooks.reverse();
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
hooks.forEach((hookDetail) => {
|
|
1413
|
-
result = this._chainOrCall(result, () => {
|
|
1414
|
-
return hookDetail.callback(hookDetail.hookedCommand, this);
|
|
1415
|
-
});
|
|
1416
|
-
});
|
|
1417
|
-
return result;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
/**
|
|
1421
|
-
*
|
|
1422
|
-
* @param {(Promise|undefined)} promise
|
|
1423
|
-
* @param {Command} subCommand
|
|
1424
|
-
* @param {string} event
|
|
1425
|
-
* @return {(Promise|undefined)}
|
|
1426
|
-
* @private
|
|
1427
|
-
*/
|
|
1428
|
-
|
|
1429
|
-
_chainOrCallSubCommandHook(promise, subCommand, event) {
|
|
1430
|
-
let result = promise;
|
|
1431
|
-
if (this._lifeCycleHooks[event] !== undefined) {
|
|
1432
|
-
this._lifeCycleHooks[event].forEach((hook) => {
|
|
1433
|
-
result = this._chainOrCall(result, () => {
|
|
1434
|
-
return hook(this, subCommand);
|
|
1435
|
-
});
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
return result;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* Process arguments in context of this command.
|
|
1443
|
-
* Returns action result, in case it is a promise.
|
|
1444
|
-
*
|
|
1445
|
-
* @private
|
|
1446
|
-
*/
|
|
1447
|
-
|
|
1448
|
-
_parseCommand(operands, unknown) {
|
|
1449
|
-
const parsed = this.parseOptions(unknown);
|
|
1450
|
-
this._parseOptionsEnv(); // after cli, so parseArg not called on both cli and env
|
|
1451
|
-
this._parseOptionsImplied();
|
|
1452
|
-
operands = operands.concat(parsed.operands);
|
|
1453
|
-
unknown = parsed.unknown;
|
|
1454
|
-
this.args = operands.concat(unknown);
|
|
1455
|
-
|
|
1456
|
-
if (operands && this._findCommand(operands[0])) {
|
|
1457
|
-
return this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
|
|
1458
|
-
}
|
|
1459
|
-
if (
|
|
1460
|
-
this._getHelpCommand() &&
|
|
1461
|
-
operands[0] === this._getHelpCommand().name()
|
|
1462
|
-
) {
|
|
1463
|
-
return this._dispatchHelpCommand(operands[1]);
|
|
1464
|
-
}
|
|
1465
|
-
if (this._defaultCommandName) {
|
|
1466
|
-
this._outputHelpIfRequested(unknown); // Run the help for default command from parent rather than passing to default command
|
|
1467
|
-
return this._dispatchSubcommand(
|
|
1468
|
-
this._defaultCommandName,
|
|
1469
|
-
operands,
|
|
1470
|
-
unknown,
|
|
1471
|
-
);
|
|
1472
|
-
}
|
|
1473
|
-
if (
|
|
1474
|
-
this.commands.length &&
|
|
1475
|
-
this.args.length === 0 &&
|
|
1476
|
-
!this._actionHandler &&
|
|
1477
|
-
!this._defaultCommandName
|
|
1478
|
-
) {
|
|
1479
|
-
// probably missing subcommand and no handler, user needs help (and exit)
|
|
1480
|
-
this.help({ error: true });
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
this._outputHelpIfRequested(parsed.unknown);
|
|
1484
|
-
this._checkForMissingMandatoryOptions();
|
|
1485
|
-
this._checkForConflictingOptions();
|
|
1486
|
-
|
|
1487
|
-
// We do not always call this check to avoid masking a "better" error, like unknown command.
|
|
1488
|
-
const checkForUnknownOptions = () => {
|
|
1489
|
-
if (parsed.unknown.length > 0) {
|
|
1490
|
-
this.unknownOption(parsed.unknown[0]);
|
|
1491
|
-
}
|
|
1492
|
-
};
|
|
1493
|
-
|
|
1494
|
-
const commandEvent = `command:${this.name()}`;
|
|
1495
|
-
if (this._actionHandler) {
|
|
1496
|
-
checkForUnknownOptions();
|
|
1497
|
-
this._processArguments();
|
|
1498
|
-
|
|
1499
|
-
let promiseChain;
|
|
1500
|
-
promiseChain = this._chainOrCallHooks(promiseChain, 'preAction');
|
|
1501
|
-
promiseChain = this._chainOrCall(promiseChain, () =>
|
|
1502
|
-
this._actionHandler(this.processedArgs),
|
|
1503
|
-
);
|
|
1504
|
-
if (this.parent) {
|
|
1505
|
-
promiseChain = this._chainOrCall(promiseChain, () => {
|
|
1506
|
-
this.parent.emit(commandEvent, operands, unknown); // legacy
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
promiseChain = this._chainOrCallHooks(promiseChain, 'postAction');
|
|
1510
|
-
return promiseChain;
|
|
1511
|
-
}
|
|
1512
|
-
if (this.parent && this.parent.listenerCount(commandEvent)) {
|
|
1513
|
-
checkForUnknownOptions();
|
|
1514
|
-
this._processArguments();
|
|
1515
|
-
this.parent.emit(commandEvent, operands, unknown); // legacy
|
|
1516
|
-
} else if (operands.length) {
|
|
1517
|
-
if (this._findCommand('*')) {
|
|
1518
|
-
// legacy default command
|
|
1519
|
-
return this._dispatchSubcommand('*', operands, unknown);
|
|
1520
|
-
}
|
|
1521
|
-
if (this.listenerCount('command:*')) {
|
|
1522
|
-
// skip option check, emit event for possible misspelling suggestion
|
|
1523
|
-
this.emit('command:*', operands, unknown);
|
|
1524
|
-
} else if (this.commands.length) {
|
|
1525
|
-
this.unknownCommand();
|
|
1526
|
-
} else {
|
|
1527
|
-
checkForUnknownOptions();
|
|
1528
|
-
this._processArguments();
|
|
1529
|
-
}
|
|
1530
|
-
} else if (this.commands.length) {
|
|
1531
|
-
checkForUnknownOptions();
|
|
1532
|
-
// This command has subcommands and nothing hooked up at this level, so display help (and exit).
|
|
1533
|
-
this.help({ error: true });
|
|
1534
|
-
} else {
|
|
1535
|
-
checkForUnknownOptions();
|
|
1536
|
-
this._processArguments();
|
|
1537
|
-
// fall through for caller to handle after calling .parse()
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* Find matching command.
|
|
1543
|
-
*
|
|
1544
|
-
* @private
|
|
1545
|
-
* @return {Command | undefined}
|
|
1546
|
-
*/
|
|
1547
|
-
_findCommand(name) {
|
|
1548
|
-
if (!name) return undefined;
|
|
1549
|
-
return this.commands.find(
|
|
1550
|
-
(cmd) => cmd._name === name || cmd._aliases.includes(name),
|
|
1551
|
-
);
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
/**
|
|
1555
|
-
* Return an option matching `arg` if any.
|
|
1556
|
-
*
|
|
1557
|
-
* @param {string} arg
|
|
1558
|
-
* @return {Option}
|
|
1559
|
-
* @package
|
|
1560
|
-
*/
|
|
1561
|
-
|
|
1562
|
-
_findOption(arg) {
|
|
1563
|
-
return this.options.find((option) => option.is(arg));
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* Display an error message if a mandatory option does not have a value.
|
|
1568
|
-
* Called after checking for help flags in leaf subcommand.
|
|
1569
|
-
*
|
|
1570
|
-
* @private
|
|
1571
|
-
*/
|
|
1572
|
-
|
|
1573
|
-
_checkForMissingMandatoryOptions() {
|
|
1574
|
-
// Walk up hierarchy so can call in subcommand after checking for displaying help.
|
|
1575
|
-
this._getCommandAndAncestors().forEach((cmd) => {
|
|
1576
|
-
cmd.options.forEach((anOption) => {
|
|
1577
|
-
if (
|
|
1578
|
-
anOption.mandatory &&
|
|
1579
|
-
cmd.getOptionValue(anOption.attributeName()) === undefined
|
|
1580
|
-
) {
|
|
1581
|
-
cmd.missingMandatoryOptionValue(anOption);
|
|
1582
|
-
}
|
|
1583
|
-
});
|
|
1584
|
-
});
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* Display an error message if conflicting options are used together in this.
|
|
1589
|
-
*
|
|
1590
|
-
* @private
|
|
1591
|
-
*/
|
|
1592
|
-
_checkForConflictingLocalOptions() {
|
|
1593
|
-
const definedNonDefaultOptions = this.options.filter((option) => {
|
|
1594
|
-
const optionKey = option.attributeName();
|
|
1595
|
-
if (this.getOptionValue(optionKey) === undefined) {
|
|
1596
|
-
return false;
|
|
1597
|
-
}
|
|
1598
|
-
return this.getOptionValueSource(optionKey) !== 'default';
|
|
1599
|
-
});
|
|
1600
|
-
|
|
1601
|
-
const optionsWithConflicting = definedNonDefaultOptions.filter(
|
|
1602
|
-
(option) => option.conflictsWith.length > 0,
|
|
1603
|
-
);
|
|
1604
|
-
|
|
1605
|
-
optionsWithConflicting.forEach((option) => {
|
|
1606
|
-
const conflictingAndDefined = definedNonDefaultOptions.find((defined) =>
|
|
1607
|
-
option.conflictsWith.includes(defined.attributeName()),
|
|
1608
|
-
);
|
|
1609
|
-
if (conflictingAndDefined) {
|
|
1610
|
-
this._conflictingOption(option, conflictingAndDefined);
|
|
1611
|
-
}
|
|
1612
|
-
});
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
/**
|
|
1616
|
-
* Display an error message if conflicting options are used together.
|
|
1617
|
-
* Called after checking for help flags in leaf subcommand.
|
|
1618
|
-
*
|
|
1619
|
-
* @private
|
|
1620
|
-
*/
|
|
1621
|
-
_checkForConflictingOptions() {
|
|
1622
|
-
// Walk up hierarchy so can call in subcommand after checking for displaying help.
|
|
1623
|
-
this._getCommandAndAncestors().forEach((cmd) => {
|
|
1624
|
-
cmd._checkForConflictingLocalOptions();
|
|
1625
|
-
});
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* Parse options from `argv` removing known options,
|
|
1630
|
-
* and return argv split into operands and unknown arguments.
|
|
1631
|
-
*
|
|
1632
|
-
* Examples:
|
|
1633
|
-
*
|
|
1634
|
-
* argv => operands, unknown
|
|
1635
|
-
* --known kkk op => [op], []
|
|
1636
|
-
* op --known kkk => [op], []
|
|
1637
|
-
* sub --unknown uuu op => [sub], [--unknown uuu op]
|
|
1638
|
-
* sub -- --unknown uuu op => [sub --unknown uuu op], []
|
|
1639
|
-
*
|
|
1640
|
-
* @param {string[]} argv
|
|
1641
|
-
* @return {{operands: string[], unknown: string[]}}
|
|
1642
|
-
*/
|
|
1643
|
-
|
|
1644
|
-
parseOptions(argv) {
|
|
1645
|
-
const operands = []; // operands, not options or values
|
|
1646
|
-
const unknown = []; // first unknown option and remaining unknown args
|
|
1647
|
-
let dest = operands;
|
|
1648
|
-
const args = argv.slice();
|
|
1649
|
-
|
|
1650
|
-
function maybeOption(arg) {
|
|
1651
|
-
return arg.length > 1 && arg[0] === '-';
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
// parse options
|
|
1655
|
-
let activeVariadicOption = null;
|
|
1656
|
-
while (args.length) {
|
|
1657
|
-
const arg = args.shift();
|
|
1658
|
-
|
|
1659
|
-
// literal
|
|
1660
|
-
if (arg === '--') {
|
|
1661
|
-
if (dest === unknown) dest.push(arg);
|
|
1662
|
-
dest.push(...args);
|
|
1663
|
-
break;
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
if (activeVariadicOption && !maybeOption(arg)) {
|
|
1667
|
-
this.emit(`option:${activeVariadicOption.name()}`, arg);
|
|
1668
|
-
continue;
|
|
1669
|
-
}
|
|
1670
|
-
activeVariadicOption = null;
|
|
1671
|
-
|
|
1672
|
-
if (maybeOption(arg)) {
|
|
1673
|
-
const option = this._findOption(arg);
|
|
1674
|
-
// recognised option, call listener to assign value with possible custom processing
|
|
1675
|
-
if (option) {
|
|
1676
|
-
if (option.required) {
|
|
1677
|
-
const value = args.shift();
|
|
1678
|
-
if (value === undefined) this.optionMissingArgument(option);
|
|
1679
|
-
this.emit(`option:${option.name()}`, value);
|
|
1680
|
-
} else if (option.optional) {
|
|
1681
|
-
let value = null;
|
|
1682
|
-
// historical behaviour is optional value is following arg unless an option
|
|
1683
|
-
if (args.length > 0 && !maybeOption(args[0])) {
|
|
1684
|
-
value = args.shift();
|
|
1685
|
-
}
|
|
1686
|
-
this.emit(`option:${option.name()}`, value);
|
|
1687
|
-
} else {
|
|
1688
|
-
// boolean flag
|
|
1689
|
-
this.emit(`option:${option.name()}`);
|
|
1690
|
-
}
|
|
1691
|
-
activeVariadicOption = option.variadic ? option : null;
|
|
1692
|
-
continue;
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
// Look for combo options following single dash, eat first one if known.
|
|
1697
|
-
if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
|
|
1698
|
-
const option = this._findOption(`-${arg[1]}`);
|
|
1699
|
-
if (option) {
|
|
1700
|
-
if (
|
|
1701
|
-
option.required ||
|
|
1702
|
-
(option.optional && this._combineFlagAndOptionalValue)
|
|
1703
|
-
) {
|
|
1704
|
-
// option with value following in same argument
|
|
1705
|
-
this.emit(`option:${option.name()}`, arg.slice(2));
|
|
1706
|
-
} else {
|
|
1707
|
-
// boolean option, emit and put back remainder of arg for further processing
|
|
1708
|
-
this.emit(`option:${option.name()}`);
|
|
1709
|
-
args.unshift(`-${arg.slice(2)}`);
|
|
1710
|
-
}
|
|
1711
|
-
continue;
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
// Look for known long flag with value, like --foo=bar
|
|
1716
|
-
if (/^--[^=]+=/.test(arg)) {
|
|
1717
|
-
const index = arg.indexOf('=');
|
|
1718
|
-
const option = this._findOption(arg.slice(0, index));
|
|
1719
|
-
if (option && (option.required || option.optional)) {
|
|
1720
|
-
this.emit(`option:${option.name()}`, arg.slice(index + 1));
|
|
1721
|
-
continue;
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
// Not a recognised option by this command.
|
|
1726
|
-
// Might be a command-argument, or subcommand option, or unknown option, or help command or option.
|
|
1727
|
-
|
|
1728
|
-
// An unknown option means further arguments also classified as unknown so can be reprocessed by subcommands.
|
|
1729
|
-
if (maybeOption(arg)) {
|
|
1730
|
-
dest = unknown;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
// If using positionalOptions, stop processing our options at subcommand.
|
|
1734
|
-
if (
|
|
1735
|
-
(this._enablePositionalOptions || this._passThroughOptions) &&
|
|
1736
|
-
operands.length === 0 &&
|
|
1737
|
-
unknown.length === 0
|
|
1738
|
-
) {
|
|
1739
|
-
if (this._findCommand(arg)) {
|
|
1740
|
-
operands.push(arg);
|
|
1741
|
-
if (args.length > 0) unknown.push(...args);
|
|
1742
|
-
break;
|
|
1743
|
-
} else if (
|
|
1744
|
-
this._getHelpCommand() &&
|
|
1745
|
-
arg === this._getHelpCommand().name()
|
|
1746
|
-
) {
|
|
1747
|
-
operands.push(arg);
|
|
1748
|
-
if (args.length > 0) operands.push(...args);
|
|
1749
|
-
break;
|
|
1750
|
-
} else if (this._defaultCommandName) {
|
|
1751
|
-
unknown.push(arg);
|
|
1752
|
-
if (args.length > 0) unknown.push(...args);
|
|
1753
|
-
break;
|
|
1754
|
-
}
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
// If using passThroughOptions, stop processing options at first command-argument.
|
|
1758
|
-
if (this._passThroughOptions) {
|
|
1759
|
-
dest.push(arg);
|
|
1760
|
-
if (args.length > 0) dest.push(...args);
|
|
1761
|
-
break;
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
// add arg
|
|
1765
|
-
dest.push(arg);
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
return { operands, unknown };
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* Return an object containing local option values as key-value pairs.
|
|
1773
|
-
*
|
|
1774
|
-
* @return {object}
|
|
1775
|
-
*/
|
|
1776
|
-
opts() {
|
|
1777
|
-
if (this._storeOptionsAsProperties) {
|
|
1778
|
-
// Preserve original behaviour so backwards compatible when still using properties
|
|
1779
|
-
const result = {};
|
|
1780
|
-
const len = this.options.length;
|
|
1781
|
-
|
|
1782
|
-
for (let i = 0; i < len; i++) {
|
|
1783
|
-
const key = this.options[i].attributeName();
|
|
1784
|
-
result[key] =
|
|
1785
|
-
key === this._versionOptionName ? this._version : this[key];
|
|
1786
|
-
}
|
|
1787
|
-
return result;
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
return this._optionValues;
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
/**
|
|
1794
|
-
* Return an object containing merged local and global option values as key-value pairs.
|
|
1795
|
-
*
|
|
1796
|
-
* @return {object}
|
|
1797
|
-
*/
|
|
1798
|
-
optsWithGlobals() {
|
|
1799
|
-
// globals overwrite locals
|
|
1800
|
-
return this._getCommandAndAncestors().reduce(
|
|
1801
|
-
(combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()),
|
|
1802
|
-
{},
|
|
1803
|
-
);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
/**
|
|
1807
|
-
* Display error message and exit (or call exitOverride).
|
|
1808
|
-
*
|
|
1809
|
-
* @param {string} message
|
|
1810
|
-
* @param {object} [errorOptions]
|
|
1811
|
-
* @param {string} [errorOptions.code] - an id string representing the error
|
|
1812
|
-
* @param {number} [errorOptions.exitCode] - used with process.exit
|
|
1813
|
-
*/
|
|
1814
|
-
error(message, errorOptions) {
|
|
1815
|
-
// output handling
|
|
1816
|
-
this._outputConfiguration.outputError(
|
|
1817
|
-
`${message}\n`,
|
|
1818
|
-
this._outputConfiguration.writeErr,
|
|
1819
|
-
);
|
|
1820
|
-
if (typeof this._showHelpAfterError === 'string') {
|
|
1821
|
-
this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
|
|
1822
|
-
} else if (this._showHelpAfterError) {
|
|
1823
|
-
this._outputConfiguration.writeErr('\n');
|
|
1824
|
-
this.outputHelp({ error: true });
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
// exit handling
|
|
1828
|
-
const config = errorOptions || {};
|
|
1829
|
-
const exitCode = config.exitCode || 1;
|
|
1830
|
-
const code = config.code || 'commander.error';
|
|
1831
|
-
this._exit(exitCode, code, message);
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
/**
|
|
1835
|
-
* Apply any option related environment variables, if option does
|
|
1836
|
-
* not have a value from cli or client code.
|
|
1837
|
-
*
|
|
1838
|
-
* @private
|
|
1839
|
-
*/
|
|
1840
|
-
_parseOptionsEnv() {
|
|
1841
|
-
this.options.forEach((option) => {
|
|
1842
|
-
if (option.envVar && option.envVar in process.env) {
|
|
1843
|
-
const optionKey = option.attributeName();
|
|
1844
|
-
// Priority check. Do not overwrite cli or options from unknown source (client-code).
|
|
1845
|
-
if (
|
|
1846
|
-
this.getOptionValue(optionKey) === undefined ||
|
|
1847
|
-
['default', 'config', 'env'].includes(
|
|
1848
|
-
this.getOptionValueSource(optionKey),
|
|
1849
|
-
)
|
|
1850
|
-
) {
|
|
1851
|
-
if (option.required || option.optional) {
|
|
1852
|
-
// option can take a value
|
|
1853
|
-
// keep very simple, optional always takes value
|
|
1854
|
-
this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);
|
|
1855
|
-
} else {
|
|
1856
|
-
// boolean
|
|
1857
|
-
// keep very simple, only care that envVar defined and not the value
|
|
1858
|
-
this.emit(`optionEnv:${option.name()}`);
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* Apply any implied option values, if option is undefined or default value.
|
|
1867
|
-
*
|
|
1868
|
-
* @private
|
|
1869
|
-
*/
|
|
1870
|
-
_parseOptionsImplied() {
|
|
1871
|
-
const dualHelper = new DualOptions(this.options);
|
|
1872
|
-
const hasCustomOptionValue = (optionKey) => {
|
|
1873
|
-
return (
|
|
1874
|
-
this.getOptionValue(optionKey) !== undefined &&
|
|
1875
|
-
!['default', 'implied'].includes(this.getOptionValueSource(optionKey))
|
|
1876
|
-
);
|
|
1877
|
-
};
|
|
1878
|
-
this.options
|
|
1879
|
-
.filter(
|
|
1880
|
-
(option) =>
|
|
1881
|
-
option.implied !== undefined &&
|
|
1882
|
-
hasCustomOptionValue(option.attributeName()) &&
|
|
1883
|
-
dualHelper.valueFromOption(
|
|
1884
|
-
this.getOptionValue(option.attributeName()),
|
|
1885
|
-
option,
|
|
1886
|
-
),
|
|
1887
|
-
)
|
|
1888
|
-
.forEach((option) => {
|
|
1889
|
-
Object.keys(option.implied)
|
|
1890
|
-
.filter((impliedKey) => !hasCustomOptionValue(impliedKey))
|
|
1891
|
-
.forEach((impliedKey) => {
|
|
1892
|
-
this.setOptionValueWithSource(
|
|
1893
|
-
impliedKey,
|
|
1894
|
-
option.implied[impliedKey],
|
|
1895
|
-
'implied',
|
|
1896
|
-
);
|
|
1897
|
-
});
|
|
1898
|
-
});
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* Argument `name` is missing.
|
|
1903
|
-
*
|
|
1904
|
-
* @param {string} name
|
|
1905
|
-
* @private
|
|
1906
|
-
*/
|
|
1907
|
-
|
|
1908
|
-
missingArgument(name) {
|
|
1909
|
-
const message = `error: missing required argument '${name}'`;
|
|
1910
|
-
this.error(message, { code: 'commander.missingArgument' });
|
|
1911
|
-
}
|
|
1912
|
-
|
|
1913
|
-
/**
|
|
1914
|
-
* `Option` is missing an argument.
|
|
1915
|
-
*
|
|
1916
|
-
* @param {Option} option
|
|
1917
|
-
* @private
|
|
1918
|
-
*/
|
|
1919
|
-
|
|
1920
|
-
optionMissingArgument(option) {
|
|
1921
|
-
const message = `error: option '${option.flags}' argument missing`;
|
|
1922
|
-
this.error(message, { code: 'commander.optionMissingArgument' });
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
/**
|
|
1926
|
-
* `Option` does not have a value, and is a mandatory option.
|
|
1927
|
-
*
|
|
1928
|
-
* @param {Option} option
|
|
1929
|
-
* @private
|
|
1930
|
-
*/
|
|
1931
|
-
|
|
1932
|
-
missingMandatoryOptionValue(option) {
|
|
1933
|
-
const message = `error: required option '${option.flags}' not specified`;
|
|
1934
|
-
this.error(message, { code: 'commander.missingMandatoryOptionValue' });
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
/**
|
|
1938
|
-
* `Option` conflicts with another option.
|
|
1939
|
-
*
|
|
1940
|
-
* @param {Option} option
|
|
1941
|
-
* @param {Option} conflictingOption
|
|
1942
|
-
* @private
|
|
1943
|
-
*/
|
|
1944
|
-
_conflictingOption(option, conflictingOption) {
|
|
1945
|
-
// The calling code does not know whether a negated option is the source of the
|
|
1946
|
-
// value, so do some work to take an educated guess.
|
|
1947
|
-
const findBestOptionFromValue = (option) => {
|
|
1948
|
-
const optionKey = option.attributeName();
|
|
1949
|
-
const optionValue = this.getOptionValue(optionKey);
|
|
1950
|
-
const negativeOption = this.options.find(
|
|
1951
|
-
(target) => target.negate && optionKey === target.attributeName(),
|
|
1952
|
-
);
|
|
1953
|
-
const positiveOption = this.options.find(
|
|
1954
|
-
(target) => !target.negate && optionKey === target.attributeName(),
|
|
1955
|
-
);
|
|
1956
|
-
if (
|
|
1957
|
-
negativeOption &&
|
|
1958
|
-
((negativeOption.presetArg === undefined && optionValue === false) ||
|
|
1959
|
-
(negativeOption.presetArg !== undefined &&
|
|
1960
|
-
optionValue === negativeOption.presetArg))
|
|
1961
|
-
) {
|
|
1962
|
-
return negativeOption;
|
|
1963
|
-
}
|
|
1964
|
-
return positiveOption || option;
|
|
1965
|
-
};
|
|
1966
|
-
|
|
1967
|
-
const getErrorMessage = (option) => {
|
|
1968
|
-
const bestOption = findBestOptionFromValue(option);
|
|
1969
|
-
const optionKey = bestOption.attributeName();
|
|
1970
|
-
const source = this.getOptionValueSource(optionKey);
|
|
1971
|
-
if (source === 'env') {
|
|
1972
|
-
return `environment variable '${bestOption.envVar}'`;
|
|
1973
|
-
}
|
|
1974
|
-
return `option '${bestOption.flags}'`;
|
|
1975
|
-
};
|
|
1976
|
-
|
|
1977
|
-
const message = `error: ${getErrorMessage(option)} cannot be used with ${getErrorMessage(conflictingOption)}`;
|
|
1978
|
-
this.error(message, { code: 'commander.conflictingOption' });
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
/**
|
|
1982
|
-
* Unknown option `flag`.
|
|
1983
|
-
*
|
|
1984
|
-
* @param {string} flag
|
|
1985
|
-
* @private
|
|
1986
|
-
*/
|
|
1987
|
-
|
|
1988
|
-
unknownOption(flag) {
|
|
1989
|
-
if (this._allowUnknownOption) return;
|
|
1990
|
-
let suggestion = '';
|
|
1991
|
-
|
|
1992
|
-
if (flag.startsWith('--') && this._showSuggestionAfterError) {
|
|
1993
|
-
// Looping to pick up the global options too
|
|
1994
|
-
let candidateFlags = [];
|
|
1995
|
-
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
1996
|
-
let command = this;
|
|
1997
|
-
do {
|
|
1998
|
-
const moreFlags = command
|
|
1999
|
-
.createHelp()
|
|
2000
|
-
.visibleOptions(command)
|
|
2001
|
-
.filter((option) => option.long)
|
|
2002
|
-
.map((option) => option.long);
|
|
2003
|
-
candidateFlags = candidateFlags.concat(moreFlags);
|
|
2004
|
-
command = command.parent;
|
|
2005
|
-
} while (command && !command._enablePositionalOptions);
|
|
2006
|
-
suggestion = suggestSimilar(flag, candidateFlags);
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
const message = `error: unknown option '${flag}'${suggestion}`;
|
|
2010
|
-
this.error(message, { code: 'commander.unknownOption' });
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
/**
|
|
2014
|
-
* Excess arguments, more than expected.
|
|
2015
|
-
*
|
|
2016
|
-
* @param {string[]} receivedArgs
|
|
2017
|
-
* @private
|
|
2018
|
-
*/
|
|
2019
|
-
|
|
2020
|
-
_excessArguments(receivedArgs) {
|
|
2021
|
-
if (this._allowExcessArguments) return;
|
|
2022
|
-
|
|
2023
|
-
const expected = this.registeredArguments.length;
|
|
2024
|
-
const s = expected === 1 ? '' : 's';
|
|
2025
|
-
const forSubcommand = this.parent ? ` for '${this.name()}'` : '';
|
|
2026
|
-
const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s} but got ${receivedArgs.length}.`;
|
|
2027
|
-
this.error(message, { code: 'commander.excessArguments' });
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
/**
|
|
2031
|
-
* Unknown command.
|
|
2032
|
-
*
|
|
2033
|
-
* @private
|
|
2034
|
-
*/
|
|
2035
|
-
|
|
2036
|
-
unknownCommand() {
|
|
2037
|
-
const unknownName = this.args[0];
|
|
2038
|
-
let suggestion = '';
|
|
2039
|
-
|
|
2040
|
-
if (this._showSuggestionAfterError) {
|
|
2041
|
-
const candidateNames = [];
|
|
2042
|
-
this.createHelp()
|
|
2043
|
-
.visibleCommands(this)
|
|
2044
|
-
.forEach((command) => {
|
|
2045
|
-
candidateNames.push(command.name());
|
|
2046
|
-
// just visible alias
|
|
2047
|
-
if (command.alias()) candidateNames.push(command.alias());
|
|
2048
|
-
});
|
|
2049
|
-
suggestion = suggestSimilar(unknownName, candidateNames);
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
const message = `error: unknown command '${unknownName}'${suggestion}`;
|
|
2053
|
-
this.error(message, { code: 'commander.unknownCommand' });
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
/**
|
|
2057
|
-
* Get or set the program version.
|
|
2058
|
-
*
|
|
2059
|
-
* This method auto-registers the "-V, --version" option which will print the version number.
|
|
2060
|
-
*
|
|
2061
|
-
* You can optionally supply the flags and description to override the defaults.
|
|
2062
|
-
*
|
|
2063
|
-
* @param {string} [str]
|
|
2064
|
-
* @param {string} [flags]
|
|
2065
|
-
* @param {string} [description]
|
|
2066
|
-
* @return {(this | string | undefined)} `this` command for chaining, or version string if no arguments
|
|
2067
|
-
*/
|
|
2068
|
-
|
|
2069
|
-
version(str, flags, description) {
|
|
2070
|
-
if (str === undefined) return this._version;
|
|
2071
|
-
this._version = str;
|
|
2072
|
-
flags = flags || '-V, --version';
|
|
2073
|
-
description = description || 'output the version number';
|
|
2074
|
-
const versionOption = this.createOption(flags, description);
|
|
2075
|
-
this._versionOptionName = versionOption.attributeName();
|
|
2076
|
-
this._registerOption(versionOption);
|
|
2077
|
-
|
|
2078
|
-
this.on('option:' + versionOption.name(), () => {
|
|
2079
|
-
this._outputConfiguration.writeOut(`${str}\n`);
|
|
2080
|
-
this._exit(0, 'commander.version', str);
|
|
2081
|
-
});
|
|
2082
|
-
return this;
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
/**
|
|
2086
|
-
* Set the description.
|
|
2087
|
-
*
|
|
2088
|
-
* @param {string} [str]
|
|
2089
|
-
* @param {object} [argsDescription]
|
|
2090
|
-
* @return {(string|Command)}
|
|
2091
|
-
*/
|
|
2092
|
-
description(str, argsDescription) {
|
|
2093
|
-
if (str === undefined && argsDescription === undefined)
|
|
2094
|
-
return this._description;
|
|
2095
|
-
this._description = str;
|
|
2096
|
-
if (argsDescription) {
|
|
2097
|
-
this._argsDescription = argsDescription;
|
|
2098
|
-
}
|
|
2099
|
-
return this;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* Set the summary. Used when listed as subcommand of parent.
|
|
2104
|
-
*
|
|
2105
|
-
* @param {string} [str]
|
|
2106
|
-
* @return {(string|Command)}
|
|
2107
|
-
*/
|
|
2108
|
-
summary(str) {
|
|
2109
|
-
if (str === undefined) return this._summary;
|
|
2110
|
-
this._summary = str;
|
|
2111
|
-
return this;
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* Set an alias for the command.
|
|
2116
|
-
*
|
|
2117
|
-
* You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
|
|
2118
|
-
*
|
|
2119
|
-
* @param {string} [alias]
|
|
2120
|
-
* @return {(string|Command)}
|
|
2121
|
-
*/
|
|
2122
|
-
|
|
2123
|
-
alias(alias) {
|
|
2124
|
-
if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
|
|
2125
|
-
|
|
2126
|
-
/** @type {Command} */
|
|
2127
|
-
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
2128
|
-
let command = this;
|
|
2129
|
-
if (
|
|
2130
|
-
this.commands.length !== 0 &&
|
|
2131
|
-
this.commands[this.commands.length - 1]._executableHandler
|
|
2132
|
-
) {
|
|
2133
|
-
// assume adding alias for last added executable subcommand, rather than this
|
|
2134
|
-
command = this.commands[this.commands.length - 1];
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
if (alias === command._name)
|
|
2138
|
-
throw new Error("Command alias can't be the same as its name");
|
|
2139
|
-
const matchingCommand = this.parent?._findCommand(alias);
|
|
2140
|
-
if (matchingCommand) {
|
|
2141
|
-
// c.f. _registerCommand
|
|
2142
|
-
const existingCmd = [matchingCommand.name()]
|
|
2143
|
-
.concat(matchingCommand.aliases())
|
|
2144
|
-
.join('|');
|
|
2145
|
-
throw new Error(
|
|
2146
|
-
`cannot add alias '${alias}' to command '${this.name()}' as already have command '${existingCmd}'`,
|
|
2147
|
-
);
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
command._aliases.push(alias);
|
|
2151
|
-
return this;
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
/**
|
|
2155
|
-
* Set aliases for the command.
|
|
2156
|
-
*
|
|
2157
|
-
* Only the first alias is shown in the auto-generated help.
|
|
2158
|
-
*
|
|
2159
|
-
* @param {string[]} [aliases]
|
|
2160
|
-
* @return {(string[]|Command)}
|
|
2161
|
-
*/
|
|
2162
|
-
|
|
2163
|
-
aliases(aliases) {
|
|
2164
|
-
// Getter for the array of aliases is the main reason for having aliases() in addition to alias().
|
|
2165
|
-
if (aliases === undefined) return this._aliases;
|
|
2166
|
-
|
|
2167
|
-
aliases.forEach((alias) => this.alias(alias));
|
|
2168
|
-
return this;
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
/**
|
|
2172
|
-
* Set / get the command usage `str`.
|
|
2173
|
-
*
|
|
2174
|
-
* @param {string} [str]
|
|
2175
|
-
* @return {(string|Command)}
|
|
2176
|
-
*/
|
|
2177
|
-
|
|
2178
|
-
usage(str) {
|
|
2179
|
-
if (str === undefined) {
|
|
2180
|
-
if (this._usage) return this._usage;
|
|
2181
|
-
|
|
2182
|
-
const args = this.registeredArguments.map((arg) => {
|
|
2183
|
-
return humanReadableArgName(arg);
|
|
2184
|
-
});
|
|
2185
|
-
return []
|
|
2186
|
-
.concat(
|
|
2187
|
-
this.options.length || this._helpOption !== null ? '[options]' : [],
|
|
2188
|
-
this.commands.length ? '[command]' : [],
|
|
2189
|
-
this.registeredArguments.length ? args : [],
|
|
2190
|
-
)
|
|
2191
|
-
.join(' ');
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
this._usage = str;
|
|
2195
|
-
return this;
|
|
2196
|
-
}
|
|
2197
|
-
|
|
2198
|
-
/**
|
|
2199
|
-
* Get or set the name of the command.
|
|
2200
|
-
*
|
|
2201
|
-
* @param {string} [str]
|
|
2202
|
-
* @return {(string|Command)}
|
|
2203
|
-
*/
|
|
2204
|
-
|
|
2205
|
-
name(str) {
|
|
2206
|
-
if (str === undefined) return this._name;
|
|
2207
|
-
this._name = str;
|
|
2208
|
-
return this;
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
/**
|
|
2212
|
-
* Set the name of the command from script filename, such as process.argv[1],
|
|
2213
|
-
* or require.main.filename, or __filename.
|
|
2214
|
-
*
|
|
2215
|
-
* (Used internally and public although not documented in README.)
|
|
2216
|
-
*
|
|
2217
|
-
* @example
|
|
2218
|
-
* program.nameFromFilename(require.main.filename);
|
|
2219
|
-
*
|
|
2220
|
-
* @param {string} filename
|
|
2221
|
-
* @return {Command}
|
|
2222
|
-
*/
|
|
2223
|
-
|
|
2224
|
-
nameFromFilename(filename) {
|
|
2225
|
-
this._name = path.basename(filename, path.extname(filename));
|
|
2226
|
-
|
|
2227
|
-
return this;
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
/**
|
|
2231
|
-
* Get or set the directory for searching for executable subcommands of this command.
|
|
2232
|
-
*
|
|
2233
|
-
* @example
|
|
2234
|
-
* program.executableDir(__dirname);
|
|
2235
|
-
* // or
|
|
2236
|
-
* program.executableDir('subcommands');
|
|
2237
|
-
*
|
|
2238
|
-
* @param {string} [path]
|
|
2239
|
-
* @return {(string|null|Command)}
|
|
2240
|
-
*/
|
|
2241
|
-
|
|
2242
|
-
executableDir(path) {
|
|
2243
|
-
if (path === undefined) return this._executableDir;
|
|
2244
|
-
this._executableDir = path;
|
|
2245
|
-
return this;
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
/**
|
|
2249
|
-
* Return program help documentation.
|
|
2250
|
-
*
|
|
2251
|
-
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout
|
|
2252
|
-
* @return {string}
|
|
2253
|
-
*/
|
|
2254
|
-
|
|
2255
|
-
helpInformation(contextOptions) {
|
|
2256
|
-
const helper = this.createHelp();
|
|
2257
|
-
if (helper.helpWidth === undefined) {
|
|
2258
|
-
helper.helpWidth =
|
|
2259
|
-
contextOptions && contextOptions.error
|
|
2260
|
-
? this._outputConfiguration.getErrHelpWidth()
|
|
2261
|
-
: this._outputConfiguration.getOutHelpWidth();
|
|
2262
|
-
}
|
|
2263
|
-
return helper.formatHelp(this, helper);
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
/**
|
|
2267
|
-
* @private
|
|
2268
|
-
*/
|
|
2269
|
-
|
|
2270
|
-
_getHelpContext(contextOptions) {
|
|
2271
|
-
contextOptions = contextOptions || {};
|
|
2272
|
-
const context = { error: !!contextOptions.error };
|
|
2273
|
-
let write;
|
|
2274
|
-
if (context.error) {
|
|
2275
|
-
write = (arg) => this._outputConfiguration.writeErr(arg);
|
|
2276
|
-
} else {
|
|
2277
|
-
write = (arg) => this._outputConfiguration.writeOut(arg);
|
|
2278
|
-
}
|
|
2279
|
-
context.write = contextOptions.write || write;
|
|
2280
|
-
context.command = this;
|
|
2281
|
-
return context;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
/**
|
|
2285
|
-
* Output help information for this command.
|
|
2286
|
-
*
|
|
2287
|
-
* Outputs built-in help, and custom text added using `.addHelpText()`.
|
|
2288
|
-
*
|
|
2289
|
-
* @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout
|
|
2290
|
-
*/
|
|
2291
|
-
|
|
2292
|
-
outputHelp(contextOptions) {
|
|
2293
|
-
let deprecatedCallback;
|
|
2294
|
-
if (typeof contextOptions === 'function') {
|
|
2295
|
-
deprecatedCallback = contextOptions;
|
|
2296
|
-
contextOptions = undefined;
|
|
2297
|
-
}
|
|
2298
|
-
const context = this._getHelpContext(contextOptions);
|
|
2299
|
-
|
|
2300
|
-
this._getCommandAndAncestors()
|
|
2301
|
-
.reverse()
|
|
2302
|
-
.forEach((command) => command.emit('beforeAllHelp', context));
|
|
2303
|
-
this.emit('beforeHelp', context);
|
|
2304
|
-
|
|
2305
|
-
let helpInformation = this.helpInformation(context);
|
|
2306
|
-
if (deprecatedCallback) {
|
|
2307
|
-
helpInformation = deprecatedCallback(helpInformation);
|
|
2308
|
-
if (
|
|
2309
|
-
typeof helpInformation !== 'string' &&
|
|
2310
|
-
!Buffer.isBuffer(helpInformation)
|
|
2311
|
-
) {
|
|
2312
|
-
throw new Error('outputHelp callback must return a string or a Buffer');
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
context.write(helpInformation);
|
|
2316
|
-
|
|
2317
|
-
if (this._getHelpOption()?.long) {
|
|
2318
|
-
this.emit(this._getHelpOption().long); // deprecated
|
|
2319
|
-
}
|
|
2320
|
-
this.emit('afterHelp', context);
|
|
2321
|
-
this._getCommandAndAncestors().forEach((command) =>
|
|
2322
|
-
command.emit('afterAllHelp', context),
|
|
2323
|
-
);
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
/**
|
|
2327
|
-
* You can pass in flags and a description to customise the built-in help option.
|
|
2328
|
-
* Pass in false to disable the built-in help option.
|
|
2329
|
-
*
|
|
2330
|
-
* @example
|
|
2331
|
-
* program.helpOption('-?, --help' 'show help'); // customise
|
|
2332
|
-
* program.helpOption(false); // disable
|
|
2333
|
-
*
|
|
2334
|
-
* @param {(string | boolean)} flags
|
|
2335
|
-
* @param {string} [description]
|
|
2336
|
-
* @return {Command} `this` command for chaining
|
|
2337
|
-
*/
|
|
2338
|
-
|
|
2339
|
-
helpOption(flags, description) {
|
|
2340
|
-
// Support disabling built-in help option.
|
|
2341
|
-
if (typeof flags === 'boolean') {
|
|
2342
|
-
if (flags) {
|
|
2343
|
-
this._helpOption = this._helpOption ?? undefined; // preserve existing option
|
|
2344
|
-
} else {
|
|
2345
|
-
this._helpOption = null; // disable
|
|
2346
|
-
}
|
|
2347
|
-
return this;
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
// Customise flags and description.
|
|
2351
|
-
flags = flags ?? '-h, --help';
|
|
2352
|
-
description = description ?? 'display help for command';
|
|
2353
|
-
this._helpOption = this.createOption(flags, description);
|
|
2354
|
-
|
|
2355
|
-
return this;
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
/**
|
|
2359
|
-
* Lazy create help option.
|
|
2360
|
-
* Returns null if has been disabled with .helpOption(false).
|
|
2361
|
-
*
|
|
2362
|
-
* @returns {(Option | null)} the help option
|
|
2363
|
-
* @package
|
|
2364
|
-
*/
|
|
2365
|
-
_getHelpOption() {
|
|
2366
|
-
// Lazy create help option on demand.
|
|
2367
|
-
if (this._helpOption === undefined) {
|
|
2368
|
-
this.helpOption(undefined, undefined);
|
|
2369
|
-
}
|
|
2370
|
-
return this._helpOption;
|
|
2371
|
-
}
|
|
2372
|
-
|
|
2373
|
-
/**
|
|
2374
|
-
* Supply your own option to use for the built-in help option.
|
|
2375
|
-
* This is an alternative to using helpOption() to customise the flags and description etc.
|
|
2376
|
-
*
|
|
2377
|
-
* @param {Option} option
|
|
2378
|
-
* @return {Command} `this` command for chaining
|
|
2379
|
-
*/
|
|
2380
|
-
addHelpOption(option) {
|
|
2381
|
-
this._helpOption = option;
|
|
2382
|
-
return this;
|
|
2383
|
-
}
|
|
2384
|
-
|
|
2385
|
-
/**
|
|
2386
|
-
* Output help information and exit.
|
|
2387
|
-
*
|
|
2388
|
-
* Outputs built-in help, and custom text added using `.addHelpText()`.
|
|
2389
|
-
*
|
|
2390
|
-
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout
|
|
2391
|
-
*/
|
|
2392
|
-
|
|
2393
|
-
help(contextOptions) {
|
|
2394
|
-
this.outputHelp(contextOptions);
|
|
2395
|
-
let exitCode = process.exitCode || 0;
|
|
2396
|
-
if (
|
|
2397
|
-
exitCode === 0 &&
|
|
2398
|
-
contextOptions &&
|
|
2399
|
-
typeof contextOptions !== 'function' &&
|
|
2400
|
-
contextOptions.error
|
|
2401
|
-
) {
|
|
2402
|
-
exitCode = 1;
|
|
2403
|
-
}
|
|
2404
|
-
// message: do not have all displayed text available so only passing placeholder.
|
|
2405
|
-
this._exit(exitCode, 'commander.help', '(outputHelp)');
|
|
2406
|
-
}
|
|
2407
|
-
|
|
2408
|
-
/**
|
|
2409
|
-
* Add additional text to be displayed with the built-in help.
|
|
2410
|
-
*
|
|
2411
|
-
* Position is 'before' or 'after' to affect just this command,
|
|
2412
|
-
* and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
|
|
2413
|
-
*
|
|
2414
|
-
* @param {string} position - before or after built-in help
|
|
2415
|
-
* @param {(string | Function)} text - string to add, or a function returning a string
|
|
2416
|
-
* @return {Command} `this` command for chaining
|
|
2417
|
-
*/
|
|
2418
|
-
addHelpText(position, text) {
|
|
2419
|
-
const allowedValues = ['beforeAll', 'before', 'after', 'afterAll'];
|
|
2420
|
-
if (!allowedValues.includes(position)) {
|
|
2421
|
-
throw new Error(`Unexpected value for position to addHelpText.
|
|
2422
|
-
Expecting one of '${allowedValues.join("', '")}'`);
|
|
2423
|
-
}
|
|
2424
|
-
const helpEvent = `${position}Help`;
|
|
2425
|
-
this.on(helpEvent, (context) => {
|
|
2426
|
-
let helpStr;
|
|
2427
|
-
if (typeof text === 'function') {
|
|
2428
|
-
helpStr = text({ error: context.error, command: context.command });
|
|
2429
|
-
} else {
|
|
2430
|
-
helpStr = text;
|
|
2431
|
-
}
|
|
2432
|
-
// Ignore falsy value when nothing to output.
|
|
2433
|
-
if (helpStr) {
|
|
2434
|
-
context.write(`${helpStr}\n`);
|
|
2435
|
-
}
|
|
2436
|
-
});
|
|
2437
|
-
return this;
|
|
2438
|
-
}
|
|
2439
|
-
|
|
2440
|
-
/**
|
|
2441
|
-
* Output help information if help flags specified
|
|
2442
|
-
*
|
|
2443
|
-
* @param {Array} args - array of options to search for help flags
|
|
2444
|
-
* @private
|
|
2445
|
-
*/
|
|
2446
|
-
|
|
2447
|
-
_outputHelpIfRequested(args) {
|
|
2448
|
-
const helpOption = this._getHelpOption();
|
|
2449
|
-
const helpRequested = helpOption && args.find((arg) => helpOption.is(arg));
|
|
2450
|
-
if (helpRequested) {
|
|
2451
|
-
this.outputHelp();
|
|
2452
|
-
// (Do not have all displayed text available so only passing placeholder.)
|
|
2453
|
-
this._exit(0, 'commander.helpDisplayed', '(outputHelp)');
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
/**
|
|
2459
|
-
* Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
|
|
2460
|
-
*
|
|
2461
|
-
* @param {string[]} args - array of arguments from node.execArgv
|
|
2462
|
-
* @returns {string[]}
|
|
2463
|
-
* @private
|
|
2464
|
-
*/
|
|
2465
|
-
|
|
2466
|
-
function incrementNodeInspectorPort(args) {
|
|
2467
|
-
// Testing for these options:
|
|
2468
|
-
// --inspect[=[host:]port]
|
|
2469
|
-
// --inspect-brk[=[host:]port]
|
|
2470
|
-
// --inspect-port=[host:]port
|
|
2471
|
-
return args.map((arg) => {
|
|
2472
|
-
if (!arg.startsWith('--inspect')) {
|
|
2473
|
-
return arg;
|
|
2474
|
-
}
|
|
2475
|
-
let debugOption;
|
|
2476
|
-
let debugHost = '127.0.0.1';
|
|
2477
|
-
let debugPort = '9229';
|
|
2478
|
-
let match;
|
|
2479
|
-
if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
|
|
2480
|
-
// e.g. --inspect
|
|
2481
|
-
debugOption = match[1];
|
|
2482
|
-
} else if (
|
|
2483
|
-
(match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null
|
|
2484
|
-
) {
|
|
2485
|
-
debugOption = match[1];
|
|
2486
|
-
if (/^\d+$/.test(match[3])) {
|
|
2487
|
-
// e.g. --inspect=1234
|
|
2488
|
-
debugPort = match[3];
|
|
2489
|
-
} else {
|
|
2490
|
-
// e.g. --inspect=localhost
|
|
2491
|
-
debugHost = match[3];
|
|
2492
|
-
}
|
|
2493
|
-
} else if (
|
|
2494
|
-
(match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null
|
|
2495
|
-
) {
|
|
2496
|
-
// e.g. --inspect=localhost:1234
|
|
2497
|
-
debugOption = match[1];
|
|
2498
|
-
debugHost = match[3];
|
|
2499
|
-
debugPort = match[4];
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
if (debugOption && debugPort !== '0') {
|
|
2503
|
-
return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
|
|
2504
|
-
}
|
|
2505
|
-
return arg;
|
|
2506
|
-
});
|
|
2507
|
-
}
|
|
2508
|
-
|
|
2509
|
-
exports.Command = Command;
|