@arokodev/cli 0.0.0-stage → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/args.d.ts +10 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +76 -0
- package/dist/args.js.map +1 -0
- package/dist/cli-brand.d.ts +6 -0
- package/dist/cli-brand.d.ts.map +1 -0
- package/dist/cli-brand.js +39 -0
- package/dist/cli-brand.js.map +1 -0
- package/dist/commands/action.d.ts +2 -0
- package/dist/commands/action.d.ts.map +1 -0
- package/dist/commands/action.js +228 -0
- package/dist/commands/action.js.map +1 -0
- package/dist/commands/ask.d.ts +5 -0
- package/dist/commands/ask.d.ts.map +1 -0
- package/dist/commands/ask.js +118 -0
- package/dist/commands/ask.js.map +1 -0
- package/dist/commands/audit.d.ts +2 -0
- package/dist/commands/audit.d.ts.map +1 -0
- package/dist/commands/audit.js +25 -0
- package/dist/commands/audit.js.map +1 -0
- package/dist/commands/claude-setup.d.ts +2 -0
- package/dist/commands/claude-setup.d.ts.map +1 -0
- package/dist/commands/claude-setup.js +36 -0
- package/dist/commands/claude-setup.js.map +1 -0
- package/dist/commands/config.d.ts +5 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +186 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/connect.d.ts +6 -0
- package/dist/commands/connect.d.ts.map +1 -0
- package/dist/commands/connect.js +138 -0
- package/dist/commands/connect.js.map +1 -0
- package/dist/commands/control.d.ts +2 -0
- package/dist/commands/control.d.ts.map +1 -0
- package/dist/commands/control.js +123 -0
- package/dist/commands/control.js.map +1 -0
- package/dist/commands/cursor-setup.d.ts +2 -0
- package/dist/commands/cursor-setup.d.ts.map +1 -0
- package/dist/commands/cursor-setup.js +104 -0
- package/dist/commands/cursor-setup.js.map +1 -0
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +345 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +61 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/logs.d.ts +2 -0
- package/dist/commands/logs.d.ts.map +1 -0
- package/dist/commands/logs.js +24 -0
- package/dist/commands/logs.js.map +1 -0
- package/dist/commands/mcp.d.ts +2 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +117 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/open.d.ts +3 -0
- package/dist/commands/open.d.ts.map +1 -0
- package/dist/commands/open.js +10 -0
- package/dist/commands/open.js.map +1 -0
- package/dist/commands/permissions.d.ts +2 -0
- package/dist/commands/permissions.d.ts.map +1 -0
- package/dist/commands/permissions.js +105 -0
- package/dist/commands/permissions.js.map +1 -0
- package/dist/commands/relay.d.ts +2 -0
- package/dist/commands/relay.d.ts.map +1 -0
- package/dist/commands/relay.js +44 -0
- package/dist/commands/relay.js.map +1 -0
- package/dist/commands/requests.d.ts +6 -0
- package/dist/commands/requests.d.ts.map +1 -0
- package/dist/commands/requests.js +124 -0
- package/dist/commands/requests.js.map +1 -0
- package/dist/commands/restart.d.ts +2 -0
- package/dist/commands/restart.d.ts.map +1 -0
- package/dist/commands/restart.js +48 -0
- package/dist/commands/restart.js.map +1 -0
- package/dist/commands/session.d.ts +9 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +395 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/start.d.ts +2 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/commands/start.js +84 -0
- package/dist/commands/start.js.map +1 -0
- package/dist/commands/stop.d.ts +2 -0
- package/dist/commands/stop.d.ts.map +1 -0
- package/dist/commands/stop.js +18 -0
- package/dist/commands/stop.js.map +1 -0
- package/dist/commands/task.d.ts +2 -0
- package/dist/commands/task.d.ts.map +1 -0
- package/dist/commands/task.js +318 -0
- package/dist/commands/task.js.map +1 -0
- package/dist/commands/update.d.ts +5 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +169 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/version.d.ts +3 -0
- package/dist/commands/version.d.ts.map +1 -0
- package/dist/commands/version.js +40 -0
- package/dist/commands/version.js.map +1 -0
- package/dist/commands/watch.d.ts +2 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/watch.js +371 -0
- package/dist/commands/watch.js.map +1 -0
- package/dist/context.d.ts +4 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +11 -0
- package/dist/context.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +264 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/background-runtime.d.ts +21 -0
- package/dist/runtime/background-runtime.d.ts.map +1 -0
- package/dist/runtime/background-runtime.js +230 -0
- package/dist/runtime/background-runtime.js.map +1 -0
- package/dist/runtime/foreground-runtime.d.ts +15 -0
- package/dist/runtime/foreground-runtime.d.ts.map +1 -0
- package/dist/runtime/foreground-runtime.js +245 -0
- package/dist/runtime/foreground-runtime.js.map +1 -0
- package/dist/runtime/upgrade-handshake.d.ts +41 -0
- package/dist/runtime/upgrade-handshake.d.ts.map +1 -0
- package/dist/runtime/upgrade-handshake.js +221 -0
- package/dist/runtime/upgrade-handshake.js.map +1 -0
- package/dist/runtime/worker.d.ts +3 -0
- package/dist/runtime/worker.d.ts.map +1 -0
- package/dist/runtime/worker.js +25 -0
- package/dist/runtime/worker.js.map +1 -0
- package/dist/version.d.ts +8 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +66 -0
- package/dist/version.js.map +1 -0
- package/dist/workspace.d.ts +5 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +17 -0
- package/dist/workspace.js.map +1 -0
- package/node_modules/@a2a-js/sdk/LICENSE +202 -0
- package/node_modules/@a2a-js/sdk/README.md +321 -0
- package/node_modules/@a2a-js/sdk/dist/a2a-CJdXl9vi.d.cts +830 -0
- package/node_modules/@a2a-js/sdk/dist/a2a-CJdXl9vi.d.ts +830 -0
- package/node_modules/@a2a-js/sdk/dist/a2a_request_handler-DYESfch9.d.ts +19 -0
- package/node_modules/@a2a-js/sdk/dist/a2a_request_handler-X6sphdno.d.cts +19 -0
- package/node_modules/@a2a-js/sdk/dist/agent_card_handler-DdsMrp1N.d.ts +57 -0
- package/node_modules/@a2a-js/sdk/dist/agent_card_handler-Hxgnif9P.d.cts +57 -0
- package/node_modules/@a2a-js/sdk/dist/base-BQdNEObP.d.cts +113 -0
- package/node_modules/@a2a-js/sdk/dist/base-BQdNEObP.d.ts +113 -0
- package/node_modules/@a2a-js/sdk/dist/cli/a2a_db.js +23 -0
- package/node_modules/@a2a-js/sdk/dist/cli/run.js +724 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.cjs +6709 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.d.cts +247 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.d.ts +247 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.js +6659 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.cjs +9912 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.d.cts +37 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.d.ts +37 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.js +9879 -0
- package/node_modules/@a2a-js/sdk/dist/common-BBr9yk4y.d.cts +9 -0
- package/node_modules/@a2a-js/sdk/dist/common-_tbJ9jX2.d.ts +9 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.cjs +3856 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.d.cts +155 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.d.ts +155 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.js +3826 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.cjs +5988 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.d.cts +60 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.d.ts +60 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.js +5953 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.cjs +857 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.d.cts +133 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.d.ts +133 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.js +808 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.cjs +3891 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.d.cts +83 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.d.ts +83 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.js +3853 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.cjs +6292 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.d.cts +1065 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.d.ts +1065 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.js +6256 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.cjs +2209 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.d.cts +1252 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.d.ts +1252 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.js +2167 -0
- package/node_modules/@a2a-js/sdk/dist/constants-PdvgZRkF.d.cts +31 -0
- package/node_modules/@a2a-js/sdk/dist/constants-PdvgZRkF.d.ts +31 -0
- package/node_modules/@a2a-js/sdk/dist/context-BT-gNvOc.d.cts +110 -0
- package/node_modules/@a2a-js/sdk/dist/context-CI8-TqEC.d.ts +110 -0
- package/node_modules/@a2a-js/sdk/dist/core-2M_ZGi8t.d.cts +15 -0
- package/node_modules/@a2a-js/sdk/dist/core-2M_ZGi8t.d.ts +15 -0
- package/node_modules/@a2a-js/sdk/dist/default_push_notification_sender-B9XytetV.d.ts +107 -0
- package/node_modules/@a2a-js/sdk/dist/default_push_notification_sender-BLXGYWWX.d.cts +107 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.cjs +585 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.d.cts +239 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.d.ts +239 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.js +540 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.cjs +546 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.d.cts +197 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.d.ts +197 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.js +476 -0
- package/node_modules/@a2a-js/sdk/dist/extensions-DglIgEjg.d.ts +145 -0
- package/node_modules/@a2a-js/sdk/dist/extensions-JbNg_D8m.d.cts +145 -0
- package/node_modules/@a2a-js/sdk/dist/index.cjs +1933 -0
- package/node_modules/@a2a-js/sdk/dist/index.d.cts +65 -0
- package/node_modules/@a2a-js/sdk/dist/index.d.ts +65 -0
- package/node_modules/@a2a-js/sdk/dist/index.js +1826 -0
- package/node_modules/@a2a-js/sdk/dist/multitransport-client-Bq8elQ1W.d.ts +257 -0
- package/node_modules/@a2a-js/sdk/dist/multitransport-client-Co0-x8pk.d.cts +257 -0
- package/node_modules/@a2a-js/sdk/dist/push_notification_store-BS7Bm-Wx.d.cts +73 -0
- package/node_modules/@a2a-js/sdk/dist/push_notification_store-BqBwsxZu.d.ts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.cjs +1074 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.d.cts +123 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.d.ts +123 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.js +1034 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.cjs +6382 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.d.cts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.d.ts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.js +6342 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.cjs +4670 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.d.cts +245 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.d.ts +245 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.js +4633 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.cjs +3941 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.d.cts +521 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.d.ts +521 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.js +3885 -0
- package/node_modules/@a2a-js/sdk/dist/signature-0lXTnH2m.d.ts +66 -0
- package/node_modules/@a2a-js/sdk/dist/signature-BteR1cTB.d.cts +66 -0
- package/node_modules/@a2a-js/sdk/dist/store-ITPVQgJ1.d.ts +51 -0
- package/node_modules/@a2a-js/sdk/dist/store-e4nvcBHL.d.cts +51 -0
- package/node_modules/@a2a-js/sdk/package.json +234 -0
- package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/core/README.md +40 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts +8507 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs +1681 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs +2902 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts +8507 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/server/README.md +24 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts +4168 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts +4170 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs +1978 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +810 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +810 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1790 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs +2477 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs +2326 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs +8200 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs +7702 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +591 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +115 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +115 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +589 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/package.json +160 -0
- package/node_modules/@noble/ciphers/LICENSE +22 -0
- package/node_modules/@noble/ciphers/README.md +554 -0
- package/node_modules/@noble/ciphers/_arx.d.ts +145 -0
- package/node_modules/@noble/ciphers/_arx.js +379 -0
- package/node_modules/@noble/ciphers/_poly1305.d.ts +72 -0
- package/node_modules/@noble/ciphers/_poly1305.js +318 -0
- package/node_modules/@noble/ciphers/_polyval.d.ts +120 -0
- package/node_modules/@noble/ciphers/_polyval.js +331 -0
- package/node_modules/@noble/ciphers/aes.d.ts +472 -0
- package/node_modules/@noble/ciphers/aes.js +1823 -0
- package/node_modules/@noble/ciphers/chacha.d.ts +259 -0
- package/node_modules/@noble/ciphers/chacha.js +460 -0
- package/node_modules/@noble/ciphers/ff1.d.ts +44 -0
- package/node_modules/@noble/ciphers/ff1.js +279 -0
- package/node_modules/@noble/ciphers/index.d.ts +1 -0
- package/node_modules/@noble/ciphers/index.js +26 -0
- package/node_modules/@noble/ciphers/package.json +79 -0
- package/node_modules/@noble/ciphers/salsa.d.ts +133 -0
- package/node_modules/@noble/ciphers/salsa.js +300 -0
- package/node_modules/@noble/ciphers/src/_arx.ts +507 -0
- package/node_modules/@noble/ciphers/src/_poly1305.ts +350 -0
- package/node_modules/@noble/ciphers/src/_polyval.ts +383 -0
- package/node_modules/@noble/ciphers/src/aes.ts +2074 -0
- package/node_modules/@noble/ciphers/src/chacha.ts +483 -0
- package/node_modules/@noble/ciphers/src/ff1.ts +299 -0
- package/node_modules/@noble/ciphers/src/index.ts +25 -0
- package/node_modules/@noble/ciphers/src/salsa.ts +313 -0
- package/node_modules/@noble/ciphers/src/utils.ts +1295 -0
- package/node_modules/@noble/ciphers/src/webcrypto.ts +288 -0
- package/node_modules/@noble/ciphers/utils.d.ts +739 -0
- package/node_modules/@noble/ciphers/utils.js +896 -0
- package/node_modules/@noble/ciphers/webcrypto.d.ts +91 -0
- package/node_modules/@noble/ciphers/webcrypto.js +211 -0
- package/node_modules/@noble/curves/LICENSE +21 -0
- package/node_modules/@noble/curves/README.md +844 -0
- package/node_modules/@noble/curves/abstract/bls.d.ts +429 -0
- package/node_modules/@noble/curves/abstract/bls.js +568 -0
- package/node_modules/@noble/curves/abstract/curve.d.ts +497 -0
- package/node_modules/@noble/curves/abstract/curve.js +752 -0
- package/node_modules/@noble/curves/abstract/der.d.ts +97 -0
- package/node_modules/@noble/curves/abstract/der.js +168 -0
- package/node_modules/@noble/curves/abstract/edwards.d.ts +329 -0
- package/node_modules/@noble/curves/abstract/edwards.js +712 -0
- package/node_modules/@noble/curves/abstract/fft.d.ts +444 -0
- package/node_modules/@noble/curves/abstract/fft.js +644 -0
- package/node_modules/@noble/curves/abstract/frost.d.ts +471 -0
- package/node_modules/@noble/curves/abstract/frost.js +870 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +291 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.js +568 -0
- package/node_modules/@noble/curves/abstract/modular.d.ts +581 -0
- package/node_modules/@noble/curves/abstract/modular.js +972 -0
- package/node_modules/@noble/curves/abstract/montgomery.d.ts +185 -0
- package/node_modules/@noble/curves/abstract/montgomery.js +311 -0
- package/node_modules/@noble/curves/abstract/oprf.d.ts +354 -0
- package/node_modules/@noble/curves/abstract/oprf.js +370 -0
- package/node_modules/@noble/curves/abstract/poseidon.d.ts +198 -0
- package/node_modules/@noble/curves/abstract/poseidon.js +482 -0
- package/node_modules/@noble/curves/abstract/tower.d.ts +211 -0
- package/node_modules/@noble/curves/abstract/tower.js +949 -0
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts +455 -0
- package/node_modules/@noble/curves/abstract/weierstrass.js +1165 -0
- package/node_modules/@noble/curves/bls12-381.d.ts +23 -0
- package/node_modules/@noble/curves/bls12-381.js +753 -0
- package/node_modules/@noble/curves/bn254.d.ts +74 -0
- package/node_modules/@noble/curves/bn254.js +275 -0
- package/node_modules/@noble/curves/ed25519.d.ts +212 -0
- package/node_modules/@noble/curves/ed25519.js +649 -0
- package/node_modules/@noble/curves/ed448.d.ts +186 -0
- package/node_modules/@noble/curves/ed448.js +623 -0
- package/node_modules/@noble/curves/index.d.ts +1 -0
- package/node_modules/@noble/curves/index.js +38 -0
- package/node_modules/@noble/curves/misc.d.ts +113 -0
- package/node_modules/@noble/curves/misc.js +211 -0
- package/node_modules/@noble/curves/nist.d.ts +138 -0
- package/node_modules/@noble/curves/nist.js +270 -0
- package/node_modules/@noble/curves/package.json +98 -0
- package/node_modules/@noble/curves/secp256k1.d.ts +156 -0
- package/node_modules/@noble/curves/secp256k1.js +474 -0
- package/node_modules/@noble/curves/src/abstract/bls.ts +1063 -0
- package/node_modules/@noble/curves/src/abstract/curve.ts +1080 -0
- package/node_modules/@noble/curves/src/abstract/der.ts +223 -0
- package/node_modules/@noble/curves/src/abstract/edwards.ts +1045 -0
- package/node_modules/@noble/curves/src/abstract/fft.ts +926 -0
- package/node_modules/@noble/curves/src/abstract/frost.ts +1477 -0
- package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +717 -0
- package/node_modules/@noble/curves/src/abstract/modular.ts +1208 -0
- package/node_modules/@noble/curves/src/abstract/montgomery.ts +420 -0
- package/node_modules/@noble/curves/src/abstract/oprf.ts +805 -0
- package/node_modules/@noble/curves/src/abstract/poseidon.ts +556 -0
- package/node_modules/@noble/curves/src/abstract/tower.ts +1150 -0
- package/node_modules/@noble/curves/src/abstract/weierstrass.ts +1666 -0
- package/node_modules/@noble/curves/src/bls12-381.ts +862 -0
- package/node_modules/@noble/curves/src/bn254.ts +310 -0
- package/node_modules/@noble/curves/src/ed25519.ts +736 -0
- package/node_modules/@noble/curves/src/ed448.ts +743 -0
- package/node_modules/@noble/curves/src/index.ts +37 -0
- package/node_modules/@noble/curves/src/misc.ts +260 -0
- package/node_modules/@noble/curves/src/nist.ts +329 -0
- package/node_modules/@noble/curves/src/secp256k1.ts +591 -0
- package/node_modules/@noble/curves/src/utils.ts +930 -0
- package/node_modules/@noble/curves/src/webcrypto.ts +649 -0
- package/node_modules/@noble/curves/utils.d.ts +610 -0
- package/node_modules/@noble/curves/utils.js +710 -0
- package/node_modules/@noble/curves/webcrypto.d.ts +240 -0
- package/node_modules/@noble/curves/webcrypto.js +431 -0
- package/node_modules/@noble/hashes/LICENSE +21 -0
- package/node_modules/@noble/hashes/README.md +478 -0
- package/node_modules/@noble/hashes/_blake.d.ts +20 -0
- package/node_modules/@noble/hashes/_blake.js +59 -0
- package/node_modules/@noble/hashes/_md.d.ts +95 -0
- package/node_modules/@noble/hashes/_md.js +209 -0
- package/node_modules/@noble/hashes/_u64.d.ts +36 -0
- package/node_modules/@noble/hashes/_u64.js +77 -0
- package/node_modules/@noble/hashes/argon2.d.ts +148 -0
- package/node_modules/@noble/hashes/argon2.js +577 -0
- package/node_modules/@noble/hashes/blake1.d.ts +162 -0
- package/node_modules/@noble/hashes/blake1.js +630 -0
- package/node_modules/@noble/hashes/blake2.d.ts +203 -0
- package/node_modules/@noble/hashes/blake2.js +573 -0
- package/node_modules/@noble/hashes/blake3.d.ts +68 -0
- package/node_modules/@noble/hashes/blake3.js +310 -0
- package/node_modules/@noble/hashes/eskdf.d.ts +91 -0
- package/node_modules/@noble/hashes/eskdf.js +225 -0
- package/node_modules/@noble/hashes/hkdf.d.ts +70 -0
- package/node_modules/@noble/hashes/hkdf.js +152 -0
- package/node_modules/@noble/hashes/hmac.d.ts +50 -0
- package/node_modules/@noble/hashes/hmac.js +93 -0
- package/node_modules/@noble/hashes/index.d.ts +1 -0
- package/node_modules/@noble/hashes/index.js +34 -0
- package/node_modules/@noble/hashes/legacy.d.ts +107 -0
- package/node_modules/@noble/hashes/legacy.js +348 -0
- package/node_modules/@noble/hashes/package.json +91 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts +66 -0
- package/node_modules/@noble/hashes/pbkdf2.js +176 -0
- package/node_modules/@noble/hashes/scrypt.d.ts +98 -0
- package/node_modules/@noble/hashes/scrypt.js +304 -0
- package/node_modules/@noble/hashes/sha2.d.ts +176 -0
- package/node_modules/@noble/hashes/sha2.js +446 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts +533 -0
- package/node_modules/@noble/hashes/sha3-addons.js +973 -0
- package/node_modules/@noble/hashes/sha3.d.ts +208 -0
- package/node_modules/@noble/hashes/sha3.js +475 -0
- package/node_modules/@noble/hashes/src/_blake.ts +67 -0
- package/node_modules/@noble/hashes/src/_md.ts +227 -0
- package/node_modules/@noble/hashes/src/_u64.ts +111 -0
- package/node_modules/@noble/hashes/src/argon2.ts +693 -0
- package/node_modules/@noble/hashes/src/blake1.ts +677 -0
- package/node_modules/@noble/hashes/src/blake2.ts +648 -0
- package/node_modules/@noble/hashes/src/blake3.ts +344 -0
- package/node_modules/@noble/hashes/src/eskdf.ts +265 -0
- package/node_modules/@noble/hashes/src/hkdf.ts +161 -0
- package/node_modules/@noble/hashes/src/hmac.ts +130 -0
- package/node_modules/@noble/hashes/src/index.ts +33 -0
- package/node_modules/@noble/hashes/src/legacy.ts +361 -0
- package/node_modules/@noble/hashes/src/pbkdf2.ts +219 -0
- package/node_modules/@noble/hashes/src/scrypt.ts +375 -0
- package/node_modules/@noble/hashes/src/sha2.ts +486 -0
- package/node_modules/@noble/hashes/src/sha3-addons.ts +1157 -0
- package/node_modules/@noble/hashes/src/sha3.ts +525 -0
- package/node_modules/@noble/hashes/src/utils.ts +978 -0
- package/node_modules/@noble/hashes/src/webcrypto.ts +283 -0
- package/node_modules/@noble/hashes/utils.d.ts +560 -0
- package/node_modules/@noble/hashes/utils.js +687 -0
- package/node_modules/@noble/hashes/webcrypto.d.ts +121 -0
- package/node_modules/@noble/hashes/webcrypto.js +228 -0
- package/node_modules/@pairmesh/client/control-web/activity-present.js +238 -0
- package/node_modules/@pairmesh/client/control-web/app.css +1134 -0
- package/node_modules/@pairmesh/client/control-web/app.js +2744 -0
- package/node_modules/@pairmesh/client/control-web/history-present.js +510 -0
- package/node_modules/@pairmesh/client/control-web/home-present.js +395 -0
- package/node_modules/@pairmesh/client/control-web/index.html +170 -0
- package/node_modules/@pairmesh/client/control-web/live-present.js +628 -0
- package/node_modules/@pairmesh/client/control-web/people-present.js +244 -0
- package/node_modules/@pairmesh/client/control-web/settings-present.js +416 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.js +41 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.js +93 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.js +58 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.d.ts +50 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.js +431 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.js +69 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.js +64 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.js +124 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.js +41 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.js +232 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.d.ts +40 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.js +235 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.js +382 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.js +242 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.js +22 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.js +89 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.js +229 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/digest.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/action/digest.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/digest.js +25 -0
- package/node_modules/@pairmesh/client/dist/action/digest.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/executor.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/action/executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/executor.js +115 -0
- package/node_modules/@pairmesh/client/dist/action/executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/index.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/action/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/index.js +24 -0
- package/node_modules/@pairmesh/client/dist/action/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.js +20 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.js +103 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.js +55 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.js +23 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.js +88 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.js +338 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.js +177 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.js +243 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.js +39 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.js +242 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/progress.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/action/progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/progress.js +163 -0
- package/node_modules/@pairmesh/client/dist/action/progress.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.js +66 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.js +2 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.js +12 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.js +161 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.d.ts +49 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.js +54 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.d.ts +29 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.js +425 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.js +55 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.js +118 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/registry.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/action/registry.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/registry.js +92 -0
- package/node_modules/@pairmesh/client/dist/action/registry.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.js +297 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.js +400 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/service.d.ts +160 -0
- package/node_modules/@pairmesh/client/dist/action/service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/service.js +975 -0
- package/node_modules/@pairmesh/client/dist/action/service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.js +177 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.js +26 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.js +159 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.d.ts +70 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.js +322 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.js +193 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.d.ts +134 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.js +278 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/index.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/audit/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/index.js +2 -0
- package/node_modules/@pairmesh/client/dist/audit/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/log.d.ts +73 -0
- package/node_modules/@pairmesh/client/dist/audit/log.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/log.js +298 -0
- package/node_modules/@pairmesh/client/dist/audit/log.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.js +25 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.d.ts +87 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.js +361 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.js +54 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/index.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/auth/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/auth/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.js +119 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.js +39 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.js +68 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.js +8 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/build-info.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.js +23 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.js +2 -0
- package/node_modules/@pairmesh/client/dist/build-info.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.js +2 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.js +139 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.js +131 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.js +108 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.js +474 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.d.ts +81 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.js +559 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.js +140 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.d.ts +77 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.js +437 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.js +553 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.js +66 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.js +528 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.d.ts +55 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.js +337 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.d.ts +69 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.js +500 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.js +26 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.js +93 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.js +65 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.d.ts +26 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.js +189 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.js +193 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.js +70 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.js +66 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.js +29 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.js +222 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.d.ts +32 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.js +115 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.d.ts +121 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.js +27 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.js +175 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.js +461 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.js +813 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.js +80 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.d.ts +42 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.js +320 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.d.ts +44 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.js +88 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.js +84 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.js +210 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.js +98 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.d.ts +94 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.js +745 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.js +447 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.js +17 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.js +586 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.d.ts +89 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.js +369 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.js +130 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.d.ts +26 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.js +202 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.js +39 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.d.ts +124 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.js +587 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.js +351 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.js +31 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.js +84 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.js +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.js +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.js +32 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.js +9 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.js +84 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.d.ts +125 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.js +480 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.js +58 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.d.ts +162 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js +901 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.d.ts +137 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.js +422 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.d.ts +59 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.js +151 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.js +83 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.d.ts +36 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.js +305 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.js +97 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.js +56 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.js +88 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.d.ts +65 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.js +120 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.js +31 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.d.ts +43 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.js +87 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.d.ts +133 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.js +1148 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.d.ts +137 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.js +688 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.d.ts +101 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.js +138 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.js +8 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.js +13 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.js +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.js +95 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.js +62 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.d.ts +108 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.js +156 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.d.ts +34 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.js +480 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/index.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/control/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/index.js +8 -0
- package/node_modules/@pairmesh/client/dist/control/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.js +74 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/service.d.ts +678 -0
- package/node_modules/@pairmesh/client/dist/control/service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/service.js +639 -0
- package/node_modules/@pairmesh/client/dist/control/service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/token.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/control/token.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/token.js +14 -0
- package/node_modules/@pairmesh/client/dist/control/token.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/types.d.ts +127 -0
- package/node_modules/@pairmesh/client/dist/control/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/types.js +2 -0
- package/node_modules/@pairmesh/client/dist/control/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.js +61 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control-web/activity-present.js +238 -0
- package/node_modules/@pairmesh/client/dist/control-web/app.css +1134 -0
- package/node_modules/@pairmesh/client/dist/control-web/app.js +2744 -0
- package/node_modules/@pairmesh/client/dist/control-web/history-present.js +510 -0
- package/node_modules/@pairmesh/client/dist/control-web/home-present.js +395 -0
- package/node_modules/@pairmesh/client/dist/control-web/index.html +170 -0
- package/node_modules/@pairmesh/client/dist/control-web/live-present.js +628 -0
- package/node_modules/@pairmesh/client/dist/control-web/people-present.js +244 -0
- package/node_modules/@pairmesh/client/dist/control-web/settings-present.js +416 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.js +185 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.js +53 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.js +4 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.js +211 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.js +17 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/cache.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/health/cache.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/cache.js +21 -0
- package/node_modules/@pairmesh/client/dist/health/cache.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/health/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/health/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.d.ts +36 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.js +72 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.js +147 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.js +65 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/identity.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/identity.js +44 -0
- package/node_modules/@pairmesh/client/dist/identity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/index.d.ts +47 -0
- package/node_modules/@pairmesh/client/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/index.js +45 -0
- package/node_modules/@pairmesh/client/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.js +26 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.d.ts +52 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.js +271 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.js +350 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.js +67 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.js +387 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.js +44 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.d.ts +28 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.js +132 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.js +51 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.js +88 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.js +25 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.d.ts +40 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.js +116 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.d.ts +48 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.js +156 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.js +34 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.d.ts +131 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.js +84 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.js +32 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.js +38 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.js +8 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.js +26 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.js +21 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.js +85 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.js +96 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.js +98 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.d.ts +34 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.js +85 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.d.ts +52 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.js +181 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/index.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/notify/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/index.js +6 -0
- package/node_modules/@pairmesh/client/dist/notify/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.js +50 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.d.ts +41 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.js +124 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.d.ts +49 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.js +222 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.js +49 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.js +50 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.d.ts +15 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.js +16 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.js +42 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.d.ts +60 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.js +491 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.js +93 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.js +73 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.js +174 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.d.ts +44 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.js +60 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.d.ts +32 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.js +421 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/manager.d.ts +1599 -0
- package/node_modules/@pairmesh/client/dist/session/manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/manager.js +3127 -0
- package/node_modules/@pairmesh/client/dist/session/manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.d.ts +60 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.js +180 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.js +38 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.js +104 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.js +40 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.d.ts +1826 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.js +152 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.js +136 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/store.d.ts +72 -0
- package/node_modules/@pairmesh/client/dist/state/store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/store.js +252 -0
- package/node_modules/@pairmesh/client/dist/state/store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.js +150 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/channel.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/update/channel.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/channel.js +96 -0
- package/node_modules/@pairmesh/client/dist/update/channel.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/check.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/update/check.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/check.js +82 -0
- package/node_modules/@pairmesh/client/dist/update/check.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/constants.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/update/constants.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/constants.js +20 -0
- package/node_modules/@pairmesh/client/dist/update/constants.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/index.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/update/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/index.js +10 -0
- package/node_modules/@pairmesh/client/dist/update/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/install.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/update/install.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/install.js +114 -0
- package/node_modules/@pairmesh/client/dist/update/install.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.js +100 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.js +14 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/semver.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/update/semver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/semver.js +82 -0
- package/node_modules/@pairmesh/client/dist/update/semver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/types.d.ts +57 -0
- package/node_modules/@pairmesh/client/dist/update/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/types.js +2 -0
- package/node_modules/@pairmesh/client/dist/update/types.js.map +1 -0
- package/node_modules/@pairmesh/client/package.json +35 -0
- package/node_modules/@pairmesh/client/vendor/macos/LICENSE +18 -0
- package/node_modules/@pairmesh/client/vendor/macos/README.md +17 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Info.plist +36 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/PkgInfo +1 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +2 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/_CodeSignature/CodeResources +146 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.d.ts +6 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.js +115 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.d.ts +25 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.js +149 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.d.ts +34 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.js +87 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.d.ts +7 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.js +88 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.d.ts +20 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.js +542 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.d.ts +3 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.js +3 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.d.ts +8 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.js +8 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.d.ts +31 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.js +96 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.d.ts +23 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.js +120 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.d.ts +18 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.js +48 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.d.ts +19 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.js +14 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.d.ts +2 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.js +4 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.d.ts +2 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.js +24 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/index.d.ts +7 -0
- package/node_modules/@pairmesh/coordination/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/index.js +10 -0
- package/node_modules/@pairmesh/coordination/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/coordination/package.json +43 -0
- package/node_modules/@pairmesh/mcp/dist/context.d.ts +9 -0
- package/node_modules/@pairmesh/mcp/dist/context.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/context.js +45 -0
- package/node_modules/@pairmesh/mcp/dist/context.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.d.ts +11 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.js +507 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/errors.d.ts +8 -0
- package/node_modules/@pairmesh/mcp/dist/errors.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/errors.js +79 -0
- package/node_modules/@pairmesh/mcp/dist/errors.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/index.d.ts +3 -0
- package/node_modules/@pairmesh/mcp/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/index.js +5 -0
- package/node_modules/@pairmesh/mcp/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/progress.d.ts +7 -0
- package/node_modules/@pairmesh/mcp/dist/progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/progress.js +17 -0
- package/node_modules/@pairmesh/mcp/dist/progress.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.d.ts +6 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.js +217 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/server.d.ts +5 -0
- package/node_modules/@pairmesh/mcp/dist/server.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/server.js +5 -0
- package/node_modules/@pairmesh/mcp/dist/server.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.d.ts +148 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.js +437 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.js.map +1 -0
- package/node_modules/@pairmesh/mcp/package.json +41 -0
- package/node_modules/@pairmesh/permissions/dist/index.d.ts +2 -0
- package/node_modules/@pairmesh/permissions/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/permissions/dist/index.js +2 -0
- package/node_modules/@pairmesh/permissions/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/permissions/package.json +22 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.d.ts +16 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.js +12 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/action.d.ts +1089 -0
- package/node_modules/@pairmesh/protocol/dist/action.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/action.js +249 -0
- package/node_modules/@pairmesh/protocol/dist/action.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/agent.d.ts +14 -0
- package/node_modules/@pairmesh/protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/agent.js +22 -0
- package/node_modules/@pairmesh/protocol/dist/agent.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/audit.d.ts +1080 -0
- package/node_modules/@pairmesh/protocol/dist/audit.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/audit.js +186 -0
- package/node_modules/@pairmesh/protocol/dist/audit.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/auth.d.ts +113 -0
- package/node_modules/@pairmesh/protocol/dist/auth.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/auth.js +83 -0
- package/node_modules/@pairmesh/protocol/dist/auth.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.d.ts +289 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.js +187 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/common.d.ts +4 -0
- package/node_modules/@pairmesh/protocol/dist/common.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/common.js +8 -0
- package/node_modules/@pairmesh/protocol/dist/common.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.d.ts +166 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.js +155 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/developer.d.ts +10 -0
- package/node_modules/@pairmesh/protocol/dist/developer.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/developer.js +17 -0
- package/node_modules/@pairmesh/protocol/dist/developer.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/device.d.ts +9 -0
- package/node_modules/@pairmesh/protocol/dist/device.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/device.js +11 -0
- package/node_modules/@pairmesh/protocol/dist/device.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.d.ts +107 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.js +106 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.d.ts +4 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.js +4 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.d.ts +131 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.js +40 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.d.ts +13 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.js +57 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/health.d.ts +109 -0
- package/node_modules/@pairmesh/protocol/dist/health.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/health.js +68 -0
- package/node_modules/@pairmesh/protocol/dist/health.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.d.ts +86 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.js +93 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/ids.d.ts +39 -0
- package/node_modules/@pairmesh/protocol/dist/ids.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/ids.js +30 -0
- package/node_modules/@pairmesh/protocol/dist/ids.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/index.d.ts +28 -0
- package/node_modules/@pairmesh/protocol/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/index.js +28 -0
- package/node_modules/@pairmesh/protocol/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.d.ts +1024 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.js +167 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts +241 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.js +94 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts +77 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.js +43 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.d.ts +773 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.js +65 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.d.ts +1905 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.js +111 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.d.ts +158 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.js +141 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts +253 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.js +619 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/project.d.ts +8 -0
- package/node_modules/@pairmesh/protocol/dist/project.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/project.js +18 -0
- package/node_modules/@pairmesh/protocol/dist/project.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.d.ts +34 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.js +81 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.d.ts +5 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.js +20 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session.d.ts +25 -0
- package/node_modules/@pairmesh/protocol/dist/session.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session.js +22 -0
- package/node_modules/@pairmesh/protocol/dist/session.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.d.ts +50 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.js +33 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/version.d.ts +15 -0
- package/node_modules/@pairmesh/protocol/dist/version.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/version.js +14 -0
- package/node_modules/@pairmesh/protocol/dist/version.js.map +1 -0
- package/node_modules/@pairmesh/protocol/package.json +22 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.d.ts +37 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.d.ts.map +1 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.js +61 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.js.map +1 -0
- package/node_modules/@pairmesh/shared/dist/index.d.ts +6 -0
- package/node_modules/@pairmesh/shared/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/shared/dist/index.js +5 -0
- package/node_modules/@pairmesh/shared/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/shared/package.json +19 -0
- package/node_modules/accepts/HISTORY.md +250 -0
- package/node_modules/accepts/LICENSE +23 -0
- package/node_modules/accepts/README.md +140 -0
- package/node_modules/accepts/index.js +238 -0
- package/node_modules/accepts/package.json +47 -0
- package/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/body-parser/README.md +509 -0
- package/node_modules/body-parser/index.js +55 -0
- package/node_modules/body-parser/lib/read.js +247 -0
- package/node_modules/body-parser/lib/types/json.js +186 -0
- package/node_modules/body-parser/lib/types/raw.js +42 -0
- package/node_modules/body-parser/lib/types/text.js +36 -0
- package/node_modules/body-parser/lib/types/urlencoded.js +138 -0
- package/node_modules/body-parser/lib/utils.js +100 -0
- package/node_modules/body-parser/package.json +65 -0
- package/node_modules/bytes/History.md +97 -0
- package/node_modules/bytes/LICENSE +23 -0
- package/node_modules/bytes/Readme.md +152 -0
- package/node_modules/bytes/index.js +170 -0
- package/node_modules/bytes/package.json +42 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/test/index.js +61 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/content-disposition/LICENSE +22 -0
- package/node_modules/content-disposition/README.md +211 -0
- package/node_modules/content-disposition/dist/index.d.ts +72 -0
- package/node_modules/content-disposition/dist/index.js +388 -0
- package/node_modules/content-disposition/dist/index.js.map +1 -0
- package/node_modules/content-disposition/package.json +52 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +71 -0
- package/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/content-type/package.json +52 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +317 -0
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +335 -0
- package/node_modules/cookie/package.json +44 -0
- package/node_modules/cookie-signature/History.md +70 -0
- package/node_modules/cookie-signature/LICENSE +22 -0
- package/node_modules/cookie-signature/Readme.md +23 -0
- package/node_modules/cookie-signature/index.js +47 -0
- package/node_modules/cookie-signature/package.json +24 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/depd/History.md +103 -0
- package/node_modules/depd/LICENSE +22 -0
- package/node_modules/depd/Readme.md +280 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/ee-first/LICENSE +22 -0
- package/node_modules/ee-first/README.md +80 -0
- package/node_modules/ee-first/index.js +95 -0
- package/node_modules/ee-first/package.json +29 -0
- package/node_modules/encodeurl/LICENSE +22 -0
- package/node_modules/encodeurl/README.md +109 -0
- package/node_modules/encodeurl/index.js +60 -0
- package/node_modules/encodeurl/package.json +40 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +79 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/node_modules/escape-html/LICENSE +24 -0
- package/node_modules/escape-html/Readme.md +43 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/etag/HISTORY.md +83 -0
- package/node_modules/etag/LICENSE +22 -0
- package/node_modules/etag/README.md +159 -0
- package/node_modules/etag/index.js +131 -0
- package/node_modules/etag/package.json +47 -0
- package/node_modules/express/LICENSE +24 -0
- package/node_modules/express/Readme.md +282 -0
- package/node_modules/express/index.js +11 -0
- package/node_modules/express/lib/application.js +631 -0
- package/node_modules/express/lib/express.js +81 -0
- package/node_modules/express/lib/request.js +527 -0
- package/node_modules/express/lib/response.js +1050 -0
- package/node_modules/express/lib/utils.js +271 -0
- package/node_modules/express/lib/view.js +205 -0
- package/node_modules/express/package.json +99 -0
- package/node_modules/finalhandler/HISTORY.md +239 -0
- package/node_modules/finalhandler/LICENSE +22 -0
- package/node_modules/finalhandler/README.md +150 -0
- package/node_modules/finalhandler/index.js +293 -0
- package/node_modules/finalhandler/package.json +47 -0
- package/node_modules/forwarded/HISTORY.md +21 -0
- package/node_modules/forwarded/LICENSE +22 -0
- package/node_modules/forwarded/README.md +57 -0
- package/node_modules/forwarded/index.js +90 -0
- package/node_modules/forwarded/package.json +45 -0
- package/node_modules/fresh/HISTORY.md +80 -0
- package/node_modules/fresh/LICENSE +23 -0
- package/node_modules/fresh/README.md +117 -0
- package/node_modules/fresh/index.js +136 -0
- package/node_modules/fresh/package.json +46 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/http-errors/HISTORY.md +186 -0
- package/node_modules/http-errors/LICENSE +23 -0
- package/node_modules/http-errors/README.md +169 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ipaddr.js/LICENSE +19 -0
- package/node_modules/ipaddr.js/README.md +233 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/node_modules/ipaddr.js/package.json +35 -0
- package/node_modules/is-promise/LICENSE +19 -0
- package/node_modules/is-promise/index.d.ts +2 -0
- package/node_modules/is-promise/index.js +6 -0
- package/node_modules/is-promise/index.mjs +3 -0
- package/node_modules/is-promise/package.json +30 -0
- package/node_modules/is-promise/readme.md +33 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +150 -0
- package/node_modules/jose/dist/types/index.d.ts +55 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +24 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +40 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +24 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +46 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +28 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +51 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +10 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +15 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +17 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +94 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +20 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +22 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +38 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +29 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +34 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +57 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +21 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +19 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +35 -0
- package/node_modules/jose/dist/types/key/export.d.ts +19 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +33 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +30 -0
- package/node_modules/jose/dist/types/key/import.d.ts +67 -0
- package/node_modules/jose/dist/types/types.d.ts +736 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +8 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +10 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +182 -0
- package/node_modules/jose/dist/webapi/index.js +70 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +7 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +26 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +15 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +35 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +40 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +105 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +30 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +55 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +59 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +101 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +20 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +8 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +23 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +12 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +58 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +48 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +13 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +45 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +19 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +34 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +13 -0
- package/node_modules/jose/dist/webapi/key/export.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +36 -0
- package/node_modules/jose/dist/webapi/key/import.js +53 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +138 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +75 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +90 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +40 -0
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +116 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +187 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +75 -0
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +74 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +46 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +86 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +146 -0
- package/node_modules/jose/dist/webapi/lib/key.js +155 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +15 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +9 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +196 -0
- package/node_modules/jose/dist/webapi/lib/validate.js +122 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +16 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +33 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +19 -0
- package/node_modules/jose/dist/webapi/util/errors.js +109 -0
- package/node_modules/jose/package.json +134 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +94 -0
- package/node_modules/media-typer/index.js +135 -0
- package/node_modules/media-typer/package.json +37 -0
- package/node_modules/merge-descriptors/index.d.ts +11 -0
- package/node_modules/merge-descriptors/index.js +26 -0
- package/node_modules/merge-descriptors/license +11 -0
- package/node_modules/merge-descriptors/package.json +50 -0
- package/node_modules/merge-descriptors/readme.md +55 -0
- package/node_modules/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +145 -0
- package/node_modules/negotiator/lib/encoding.js +184 -0
- package/node_modules/negotiator/lib/language.js +158 -0
- package/node_modules/negotiator/lib/mediaType.js +176 -0
- package/node_modules/negotiator/package.json +49 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +261 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +98 -0
- package/node_modules/on-finished/LICENSE +23 -0
- package/node_modules/on-finished/README.md +162 -0
- package/node_modules/on-finished/index.js +234 -0
- package/node_modules/on-finished/package.json +39 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/parseurl/HISTORY.md +58 -0
- package/node_modules/parseurl/LICENSE +24 -0
- package/node_modules/parseurl/README.md +133 -0
- package/node_modules/parseurl/index.js +158 -0
- package/node_modules/parseurl/package.json +40 -0
- package/node_modules/path-to-regexp/LICENSE +21 -0
- package/node_modules/path-to-regexp/Readme.md +224 -0
- package/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/node_modules/path-to-regexp/dist/index.js +431 -0
- package/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/node_modules/path-to-regexp/package.json +64 -0
- package/node_modules/proxy-addr/HISTORY.md +167 -0
- package/node_modules/proxy-addr/LICENSE +22 -0
- package/node_modules/proxy-addr/README.md +139 -0
- package/node_modules/proxy-addr/index.js +359 -0
- package/node_modules/proxy-addr/package.json +51 -0
- package/node_modules/qs/.editorconfig +46 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +848 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +776 -0
- package/node_modules/qs/dist/qs.js +141 -0
- package/node_modules/qs/eslint.config.mjs +57 -0
- package/node_modules/qs/lib/formats.js +23 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +413 -0
- package/node_modules/qs/lib/stringify.js +378 -0
- package/node_modules/qs/lib/utils.js +388 -0
- package/node_modules/qs/package.json +95 -0
- package/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/node_modules/qs/test/parse.js +2122 -0
- package/node_modules/qs/test/stringify.js +1765 -0
- package/node_modules/qs/test/utils.js +638 -0
- package/node_modules/range-parser/HISTORY.md +56 -0
- package/node_modules/range-parser/LICENSE +23 -0
- package/node_modules/range-parser/README.md +85 -0
- package/node_modules/range-parser/index.js +181 -0
- package/node_modules/range-parser/package.json +48 -0
- package/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/raw-body/README.md +223 -0
- package/node_modules/raw-body/index.d.ts +85 -0
- package/node_modules/raw-body/index.js +336 -0
- package/node_modules/raw-body/package.json +46 -0
- package/node_modules/router/HISTORY.md +228 -0
- package/node_modules/router/LICENSE +23 -0
- package/node_modules/router/README.md +416 -0
- package/node_modules/router/index.js +748 -0
- package/node_modules/router/lib/layer.js +247 -0
- package/node_modules/router/lib/route.js +242 -0
- package/node_modules/router/package.json +44 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/send/LICENSE +23 -0
- package/node_modules/send/README.md +317 -0
- package/node_modules/send/index.js +997 -0
- package/node_modules/send/package.json +63 -0
- package/node_modules/serve-static/LICENSE +25 -0
- package/node_modules/serve-static/README.md +253 -0
- package/node_modules/serve-static/index.js +208 -0
- package/node_modules/serve-static/package.json +44 -0
- package/node_modules/setprototypeof/LICENSE +13 -0
- package/node_modules/setprototypeof/README.md +31 -0
- package/node_modules/setprototypeof/index.d.ts +2 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/setprototypeof/test/index.js +24 -0
- package/node_modules/side-channel/.editorconfig +9 -0
- package/node_modules/side-channel/.eslintrc +12 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +120 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +61 -0
- package/node_modules/side-channel/index.d.ts +14 -0
- package/node_modules/side-channel/index.js +46 -0
- package/node_modules/side-channel/package.json +85 -0
- package/node_modules/side-channel/test/index.js +120 -0
- package/node_modules/side-channel/tsconfig.json +9 -0
- package/node_modules/side-channel-list/.editorconfig +9 -0
- package/node_modules/side-channel-list/.eslintrc +11 -0
- package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-list/.nycrc +13 -0
- package/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/node_modules/side-channel-list/LICENSE +21 -0
- package/node_modules/side-channel-list/README.md +62 -0
- package/node_modules/side-channel-list/index.d.ts +13 -0
- package/node_modules/side-channel-list/index.js +111 -0
- package/node_modules/side-channel-list/list.d.ts +14 -0
- package/node_modules/side-channel-list/package.json +77 -0
- package/node_modules/side-channel-list/test/index.js +154 -0
- package/node_modules/side-channel-list/tsconfig.json +9 -0
- package/node_modules/side-channel-map/.editorconfig +9 -0
- package/node_modules/side-channel-map/.eslintrc +11 -0
- package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-map/.nycrc +13 -0
- package/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/node_modules/side-channel-map/LICENSE +21 -0
- package/node_modules/side-channel-map/README.md +62 -0
- package/node_modules/side-channel-map/index.d.ts +15 -0
- package/node_modules/side-channel-map/index.js +68 -0
- package/node_modules/side-channel-map/package.json +80 -0
- package/node_modules/side-channel-map/test/index.js +114 -0
- package/node_modules/side-channel-map/tsconfig.json +9 -0
- package/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/node_modules/side-channel-weakmap/README.md +62 -0
- package/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/node_modules/side-channel-weakmap/index.js +84 -0
- package/node_modules/side-channel-weakmap/package.json +87 -0
- package/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/node_modules/statuses/HISTORY.md +87 -0
- package/node_modules/statuses/LICENSE +23 -0
- package/node_modules/statuses/README.md +139 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/LICENSE +21 -0
- package/node_modules/toidentifier/README.md +61 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/type-is/HISTORY.md +292 -0
- package/node_modules/type-is/LICENSE +23 -0
- package/node_modules/type-is/README.md +198 -0
- package/node_modules/type-is/index.js +240 -0
- package/node_modules/type-is/package.json +51 -0
- package/node_modules/unpipe/HISTORY.md +4 -0
- package/node_modules/unpipe/LICENSE +22 -0
- package/node_modules/unpipe/README.md +43 -0
- package/node_modules/unpipe/index.js +69 -0
- package/node_modules/unpipe/package.json +27 -0
- package/node_modules/vary/HISTORY.md +39 -0
- package/node_modules/vary/LICENSE +22 -0
- package/node_modules/vary/README.md +101 -0
- package/node_modules/vary/index.js +149 -0
- package/node_modules/vary/package.json +43 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1421 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2313 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5192 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1280 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2669 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1273 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/zod/v4/core/schemas.js +2606 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +949 -0
- package/node_modules/zod/v4/core/util.d.cts +278 -0
- package/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/zod/v4/core/util.js +859 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +41 -4
- package/README.md +0 -3
|
@@ -0,0 +1,1765 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var test = require('tape');
|
|
4
|
+
var qs = require('../');
|
|
5
|
+
var utils = require('../lib/utils');
|
|
6
|
+
var iconv = require('iconv-lite');
|
|
7
|
+
var SaferBuffer = require('safer-buffer').Buffer;
|
|
8
|
+
var hasSymbols = require('has-symbols');
|
|
9
|
+
var mockProperty = require('mock-property');
|
|
10
|
+
var emptyTestCases = require('./empty-keys-cases').emptyTestCases;
|
|
11
|
+
var hasProto = require('has-proto')();
|
|
12
|
+
var hasBigInt = require('has-bigints')();
|
|
13
|
+
|
|
14
|
+
test('stringify()', function (t) {
|
|
15
|
+
t.test('stringifies a querystring object', function (st) {
|
|
16
|
+
st.equal(qs.stringify({ a: 'b' }), 'a=b');
|
|
17
|
+
st.equal(qs.stringify({ a: 1 }), 'a=1');
|
|
18
|
+
st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2');
|
|
19
|
+
st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z');
|
|
20
|
+
st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC');
|
|
21
|
+
st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80');
|
|
22
|
+
st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90');
|
|
23
|
+
st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7');
|
|
24
|
+
st.end();
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
t.test('stringifies falsy values', function (st) {
|
|
28
|
+
st.equal(qs.stringify(undefined), '');
|
|
29
|
+
st.equal(qs.stringify(null), '');
|
|
30
|
+
st.equal(qs.stringify(null, { strictNullHandling: true }), '');
|
|
31
|
+
st.equal(qs.stringify(false), '');
|
|
32
|
+
st.equal(qs.stringify(0), '');
|
|
33
|
+
st.end();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
t.test('stringifies symbols', { skip: !hasSymbols() }, function (st) {
|
|
37
|
+
st.equal(qs.stringify(Symbol.iterator), '');
|
|
38
|
+
st.equal(qs.stringify([Symbol.iterator]), '0=Symbol%28Symbol.iterator%29');
|
|
39
|
+
st.equal(qs.stringify({ a: Symbol.iterator }), 'a=Symbol%28Symbol.iterator%29');
|
|
40
|
+
st.equal(
|
|
41
|
+
qs.stringify({ a: [Symbol.iterator] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
|
|
42
|
+
'a[]=Symbol%28Symbol.iterator%29'
|
|
43
|
+
);
|
|
44
|
+
st.end();
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
t.test('stringifies bigints', { skip: !hasBigInt }, function (st) {
|
|
48
|
+
var three = BigInt(3);
|
|
49
|
+
var encodeWithN = function (value, defaultEncoder, charset) {
|
|
50
|
+
var result = defaultEncoder(value, defaultEncoder, charset);
|
|
51
|
+
return typeof value === 'bigint' ? result + 'n' : result;
|
|
52
|
+
};
|
|
53
|
+
st.equal(qs.stringify(three), '');
|
|
54
|
+
st.equal(qs.stringify([three]), '0=3');
|
|
55
|
+
st.equal(qs.stringify([three], { encoder: encodeWithN }), '0=3n');
|
|
56
|
+
st.equal(qs.stringify({ a: three }), 'a=3');
|
|
57
|
+
st.equal(qs.stringify({ a: three }, { encoder: encodeWithN }), 'a=3n');
|
|
58
|
+
st.equal(
|
|
59
|
+
qs.stringify({ a: [three] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
|
|
60
|
+
'a[]=3'
|
|
61
|
+
);
|
|
62
|
+
st.equal(
|
|
63
|
+
qs.stringify({ a: [three] }, { encodeValuesOnly: true, encoder: encodeWithN, arrayFormat: 'brackets' }),
|
|
64
|
+
'a[]=3n'
|
|
65
|
+
);
|
|
66
|
+
st.end();
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
t.test('encodes dot in key of object when encodeDotInKeys and allowDots is provided', function (st) {
|
|
70
|
+
st.equal(
|
|
71
|
+
qs.stringify(
|
|
72
|
+
{ 'name.obj': { first: 'John', last: 'Doe' } },
|
|
73
|
+
{ allowDots: false, encodeDotInKeys: false }
|
|
74
|
+
),
|
|
75
|
+
'name.obj%5Bfirst%5D=John&name.obj%5Blast%5D=Doe',
|
|
76
|
+
'with allowDots false and encodeDotInKeys false'
|
|
77
|
+
);
|
|
78
|
+
st.equal(
|
|
79
|
+
qs.stringify(
|
|
80
|
+
{ 'name.obj': { first: 'John', last: 'Doe' } },
|
|
81
|
+
{ allowDots: true, encodeDotInKeys: false }
|
|
82
|
+
),
|
|
83
|
+
'name.obj.first=John&name.obj.last=Doe',
|
|
84
|
+
'with allowDots true and encodeDotInKeys false'
|
|
85
|
+
);
|
|
86
|
+
st.equal(
|
|
87
|
+
qs.stringify(
|
|
88
|
+
{ 'name.obj': { first: 'John', last: 'Doe' } },
|
|
89
|
+
{ allowDots: false, encodeDotInKeys: true }
|
|
90
|
+
),
|
|
91
|
+
'name%252Eobj%5Bfirst%5D=John&name%252Eobj%5Blast%5D=Doe',
|
|
92
|
+
'with allowDots false and encodeDotInKeys true'
|
|
93
|
+
);
|
|
94
|
+
st.equal(
|
|
95
|
+
qs.stringify(
|
|
96
|
+
{ 'name.obj': { first: 'John', last: 'Doe' } },
|
|
97
|
+
{ allowDots: true, encodeDotInKeys: true }
|
|
98
|
+
),
|
|
99
|
+
'name%252Eobj.first=John&name%252Eobj.last=Doe',
|
|
100
|
+
'with allowDots true and encodeDotInKeys true'
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
st.equal(
|
|
104
|
+
qs.stringify(
|
|
105
|
+
{ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
|
|
106
|
+
{ allowDots: false, encodeDotInKeys: false }
|
|
107
|
+
),
|
|
108
|
+
'name.obj.subobject%5Bfirst.godly.name%5D=John&name.obj.subobject%5Blast%5D=Doe',
|
|
109
|
+
'with allowDots false and encodeDotInKeys false'
|
|
110
|
+
);
|
|
111
|
+
st.equal(
|
|
112
|
+
qs.stringify(
|
|
113
|
+
{ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
|
|
114
|
+
{ allowDots: true, encodeDotInKeys: false }
|
|
115
|
+
),
|
|
116
|
+
'name.obj.subobject.first.godly.name=John&name.obj.subobject.last=Doe',
|
|
117
|
+
'with allowDots false and encodeDotInKeys false'
|
|
118
|
+
);
|
|
119
|
+
st.equal(
|
|
120
|
+
qs.stringify(
|
|
121
|
+
{ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
|
|
122
|
+
{ allowDots: false, encodeDotInKeys: true }
|
|
123
|
+
),
|
|
124
|
+
'name%252Eobj%252Esubobject%5Bfirst.godly.name%5D=John&name%252Eobj%252Esubobject%5Blast%5D=Doe',
|
|
125
|
+
'with allowDots false and encodeDotInKeys true'
|
|
126
|
+
);
|
|
127
|
+
st.equal(
|
|
128
|
+
qs.stringify(
|
|
129
|
+
{ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
|
|
130
|
+
{ allowDots: true, encodeDotInKeys: true }
|
|
131
|
+
),
|
|
132
|
+
'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe',
|
|
133
|
+
'with allowDots true and encodeDotInKeys true'
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
st.end();
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
t.test('encodes dot in key of object with a primitive value when encodeDotInKeys and allowDots is provided', function (st) {
|
|
140
|
+
st.equal(
|
|
141
|
+
qs.stringify(
|
|
142
|
+
{ 'name.obj': 'John' },
|
|
143
|
+
{ allowDots: true, encodeDotInKeys: true }
|
|
144
|
+
),
|
|
145
|
+
'name%252Eobj=John',
|
|
146
|
+
'with allowDots true and encodeDotInKeys true'
|
|
147
|
+
);
|
|
148
|
+
st.equal(
|
|
149
|
+
qs.stringify(
|
|
150
|
+
{ 'name.obj': 'John' },
|
|
151
|
+
{ allowDots: false, encodeDotInKeys: true }
|
|
152
|
+
),
|
|
153
|
+
'name%252Eobj=John',
|
|
154
|
+
'with allowDots false and encodeDotInKeys true'
|
|
155
|
+
);
|
|
156
|
+
st.equal(
|
|
157
|
+
qs.stringify(
|
|
158
|
+
{ 'name.obj': 'John' },
|
|
159
|
+
{ encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true }
|
|
160
|
+
),
|
|
161
|
+
'name%2Eobj=John',
|
|
162
|
+
'with encodeValuesOnly true'
|
|
163
|
+
);
|
|
164
|
+
|
|
165
|
+
// With `encodeValuesOnly` the key encoder is skipped, so the dot is encoded once
|
|
166
|
+
// (`%2E`) rather than twice. That single `%2E` decodes back to a structural dot, so
|
|
167
|
+
// unlike the default output below this does not round-trip to the original dotted key
|
|
168
|
+
// (a pre-existing `encodeValuesOnly` + `encodeDotInKeys` limitation, not new here).
|
|
169
|
+
st.deepEqual(
|
|
170
|
+
qs.parse(
|
|
171
|
+
qs.stringify(
|
|
172
|
+
{ 'name.obj': 'John' },
|
|
173
|
+
{ encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true }
|
|
174
|
+
),
|
|
175
|
+
{ allowDots: true, decodeDotInKeys: true }
|
|
176
|
+
),
|
|
177
|
+
{ name: { obj: 'John' } },
|
|
178
|
+
'with encodeValuesOnly the single-encoded dot decodes structurally (does not round-trip)'
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
st.deepEqual(
|
|
182
|
+
qs.parse(
|
|
183
|
+
qs.stringify({ 'name.obj': 'John' }, { allowDots: true, encodeDotInKeys: true }),
|
|
184
|
+
{ allowDots: true, decodeDotInKeys: true }
|
|
185
|
+
),
|
|
186
|
+
{ 'name.obj': 'John' },
|
|
187
|
+
'round-trips a dotted key with a primitive value'
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
st.equal(
|
|
191
|
+
qs.stringify({ 'a.b': null }, { allowDots: true, encodeDotInKeys: true, strictNullHandling: true }),
|
|
192
|
+
'a%252Eb',
|
|
193
|
+
'encodes a dotted key with a null value'
|
|
194
|
+
);
|
|
195
|
+
st.equal(
|
|
196
|
+
qs.stringify({ 'a.b': '1', 'c.d': '2' }, { allowDots: true, encodeDotInKeys: true }),
|
|
197
|
+
'a%252Eb=1&c%252Ed=2',
|
|
198
|
+
'encodes dots in every top-level key, not just the first'
|
|
199
|
+
);
|
|
200
|
+
st.equal(
|
|
201
|
+
qs.stringify({ 'a.b.c': 'x' }, { allowDots: true, encodeDotInKeys: true }),
|
|
202
|
+
'a%252Eb%252Ec=x',
|
|
203
|
+
'encodes every dot in a key'
|
|
204
|
+
);
|
|
205
|
+
var primitiveKey = qs.stringify({ 'a.b': 'c' }, { allowDots: true, encodeDotInKeys: true }).split('=')[0];
|
|
206
|
+
st.equal(
|
|
207
|
+
qs.stringify({ 'a.b': { x: 'c' } }, { allowDots: true, encodeDotInKeys: true }).indexOf(primitiveKey + '.'),
|
|
208
|
+
0,
|
|
209
|
+
'a top-level dotted key encodes identically for primitive and object values'
|
|
210
|
+
);
|
|
211
|
+
|
|
212
|
+
st.end();
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
// Characterization of the CURRENT (buggy) behavior: with `allowDots` + `encodeDotInKeys`,
|
|
216
|
+
// `stringify` percent-encodes the structural `.` separators that `allowDots` inserts between
|
|
217
|
+
// nested keys, not just the literal dots inside a key, which breaks the stringify -> parse
|
|
218
|
+
// round-trip. These assertions pin that behavior so it cannot change silently: the fix in
|
|
219
|
+
// https://github.com/ljharb/qs/pull/564 changes every output below, so landing that fix MUST
|
|
220
|
+
// update this test (that is the point — it forces the behavior change to be explicit).
|
|
221
|
+
t.test('[characterization] encodeDotInKeys currently over-encodes structural separator dots (pre-#564)', function (st) {
|
|
222
|
+
st.equal(
|
|
223
|
+
qs.stringify({ a: { b: { c: 'd' } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
224
|
+
'a%252Eb.c=d',
|
|
225
|
+
'over-encodes the a->b separator (#564: should become a.b.c=d)'
|
|
226
|
+
);
|
|
227
|
+
st.equal(
|
|
228
|
+
qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
229
|
+
'a%252Eb%252Ec.d=e',
|
|
230
|
+
'clobbers every separator but the last (#564: should become a.b.c.d=e)'
|
|
231
|
+
);
|
|
232
|
+
st.equal(
|
|
233
|
+
qs.stringify({ 'a.b': { c: { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
234
|
+
'a%252Eb%252Ec.d=e',
|
|
235
|
+
'top-level dotted key: deeper separators also get encoded (#564: should become a%252Eb.c.d=e)'
|
|
236
|
+
);
|
|
237
|
+
st.equal(
|
|
238
|
+
qs.stringify({ a: { 'b.c': { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
239
|
+
'a%252Eb%252Ec.d=e',
|
|
240
|
+
'nested dotted key + object value: the separator around it is encoded (#564: should become a.b%252Ec.d=e)'
|
|
241
|
+
);
|
|
242
|
+
st.equal(
|
|
243
|
+
qs.stringify({ a: { b: { 'c.d': { e: 'f' } } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
244
|
+
'a%252Eb%252Ec%252Ed.e=f',
|
|
245
|
+
'deeply nested dotted key: all separators encoded (#564: should become a.b.c%252Ed.e=f)'
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
st.equal(
|
|
249
|
+
qs.stringify({ a: { b: [1, 2] } }, { allowDots: true, encodeDotInKeys: true }),
|
|
250
|
+
'a%252Eb%5B0%5D=1&a%252Eb%5B1%5D=2',
|
|
251
|
+
'array value under nested keys: separator encoded (#564: should become a.b%5B0%5D=1&a.b%5B1%5D=2)'
|
|
252
|
+
);
|
|
253
|
+
st.equal(
|
|
254
|
+
qs.stringify({ a: { 'b.c': [1, 2] } }, { allowDots: true, encodeDotInKeys: true }),
|
|
255
|
+
'a%252Eb%252Ec%5B0%5D=1&a%252Eb%252Ec%5B1%5D=2',
|
|
256
|
+
'array value under nested dotted key (#564: should become a.b%252Ec%5B0%5D=1&a.b%252Ec%5B1%5D=2)'
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
st.equal(
|
|
260
|
+
qs.stringify({ a: { 'b.c': { d: 'e' } } }, { allowDots: false, encodeDotInKeys: true }),
|
|
261
|
+
'a%5Bb%252Ec%5D%5Bd%5D=e',
|
|
262
|
+
'allowDots:false object value encodes the nested-key dot, unlike the primitive-value case (#564: should become a%5Bb.c%5D%5Bd%5D=e)'
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
st.deepEqual(
|
|
266
|
+
qs.parse(
|
|
267
|
+
qs.stringify({ a: { b: { c: 'd' } } }, { allowDots: true, encodeDotInKeys: true }),
|
|
268
|
+
{ allowDots: true, decodeDotInKeys: true }
|
|
269
|
+
),
|
|
270
|
+
{ 'a.b': { c: 'd' } },
|
|
271
|
+
'the over-encoding breaks the round-trip: {a:{b:{c}}} comes back as {"a.b":{c}} (#564 restores it)'
|
|
272
|
+
);
|
|
273
|
+
|
|
274
|
+
st.end();
|
|
275
|
+
});
|
|
276
|
+
|
|
277
|
+
t.test('should encode dot in key of object, and automatically set allowDots to `true` when encodeDotInKeys is true and allowDots in undefined', function (st) {
|
|
278
|
+
st.equal(
|
|
279
|
+
qs.stringify(
|
|
280
|
+
{ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
|
|
281
|
+
{ encodeDotInKeys: true }
|
|
282
|
+
),
|
|
283
|
+
'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe',
|
|
284
|
+
'with allowDots undefined and encodeDotInKeys true'
|
|
285
|
+
);
|
|
286
|
+
st.end();
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
t.test('should encode dot in key of object when encodeDotInKeys and allowDots is provided, and nothing else when encodeValuesOnly is provided', function (st) {
|
|
290
|
+
st.equal(
|
|
291
|
+
qs.stringify({ 'name.obj': { first: 'John', last: 'Doe' } }, {
|
|
292
|
+
encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true
|
|
293
|
+
}),
|
|
294
|
+
'name%2Eobj.first=John&name%2Eobj.last=Doe'
|
|
295
|
+
);
|
|
296
|
+
|
|
297
|
+
st.equal(
|
|
298
|
+
qs.stringify({ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, { allowDots: true, encodeDotInKeys: true, encodeValuesOnly: true }),
|
|
299
|
+
'name%2Eobj%2Esubobject.first%2Egodly%2Ename=John&name%2Eobj%2Esubobject.last=Doe'
|
|
300
|
+
);
|
|
301
|
+
|
|
302
|
+
st.end();
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
t.test('throws when `commaRoundTrip` is not a boolean', function (st) {
|
|
306
|
+
st['throws'](
|
|
307
|
+
function () { qs.stringify({}, { commaRoundTrip: 'not a boolean' }); },
|
|
308
|
+
TypeError,
|
|
309
|
+
'throws when `commaRoundTrip` is not a boolean'
|
|
310
|
+
);
|
|
311
|
+
|
|
312
|
+
st.end();
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
t.test('throws when `encodeDotInKeys` is not a boolean', function (st) {
|
|
316
|
+
st['throws'](
|
|
317
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 'foobar' }); },
|
|
318
|
+
TypeError
|
|
319
|
+
);
|
|
320
|
+
|
|
321
|
+
st['throws'](
|
|
322
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 0 }); },
|
|
323
|
+
TypeError
|
|
324
|
+
);
|
|
325
|
+
|
|
326
|
+
st['throws'](
|
|
327
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: NaN }); },
|
|
328
|
+
TypeError
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
st['throws'](
|
|
332
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: null }); },
|
|
333
|
+
TypeError
|
|
334
|
+
);
|
|
335
|
+
|
|
336
|
+
st.end();
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
t.test('adds query prefix', function (st) {
|
|
340
|
+
st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b');
|
|
341
|
+
st.end();
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
t.test('with query prefix, outputs blank string given an empty object', function (st) {
|
|
345
|
+
st.equal(qs.stringify({}, { addQueryPrefix: true }), '');
|
|
346
|
+
st.end();
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
t.test('stringifies nested falsy values', function (st) {
|
|
350
|
+
st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D=');
|
|
351
|
+
st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D');
|
|
352
|
+
st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false');
|
|
353
|
+
st.end();
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
t.test('stringifies a nested object', function (st) {
|
|
357
|
+
st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
|
|
358
|
+
st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e');
|
|
359
|
+
st.end();
|
|
360
|
+
});
|
|
361
|
+
|
|
362
|
+
t.test('`allowDots` option: stringifies a nested object with dots notation', function (st) {
|
|
363
|
+
st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c');
|
|
364
|
+
st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e');
|
|
365
|
+
st.end();
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
t.test('stringifies an array value', function (st) {
|
|
369
|
+
st.equal(
|
|
370
|
+
qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }),
|
|
371
|
+
'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
|
|
372
|
+
'indices => indices'
|
|
373
|
+
);
|
|
374
|
+
st.equal(
|
|
375
|
+
qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }),
|
|
376
|
+
'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d',
|
|
377
|
+
'brackets => brackets'
|
|
378
|
+
);
|
|
379
|
+
st.equal(
|
|
380
|
+
qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }),
|
|
381
|
+
'a=b%2Cc%2Cd',
|
|
382
|
+
'comma => comma'
|
|
383
|
+
);
|
|
384
|
+
st.equal(
|
|
385
|
+
qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma', commaRoundTrip: true }),
|
|
386
|
+
'a=b%2Cc%2Cd',
|
|
387
|
+
'comma round trip => comma'
|
|
388
|
+
);
|
|
389
|
+
st.equal(
|
|
390
|
+
qs.stringify({ a: ['b', 'c', 'd'] }),
|
|
391
|
+
'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
|
|
392
|
+
'default => indices'
|
|
393
|
+
);
|
|
394
|
+
st.end();
|
|
395
|
+
});
|
|
396
|
+
|
|
397
|
+
t.test('`skipNulls` option', function (st) {
|
|
398
|
+
st.equal(
|
|
399
|
+
qs.stringify({ a: 'b', c: null }, { skipNulls: true }),
|
|
400
|
+
'a=b',
|
|
401
|
+
'omits nulls when asked'
|
|
402
|
+
);
|
|
403
|
+
|
|
404
|
+
st.equal(
|
|
405
|
+
qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }),
|
|
406
|
+
'a%5Bb%5D=c',
|
|
407
|
+
'omits nested nulls when asked'
|
|
408
|
+
);
|
|
409
|
+
|
|
410
|
+
st.end();
|
|
411
|
+
});
|
|
412
|
+
|
|
413
|
+
t.test('omits array indices when asked', function (st) {
|
|
414
|
+
st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d');
|
|
415
|
+
|
|
416
|
+
st.end();
|
|
417
|
+
});
|
|
418
|
+
|
|
419
|
+
t.test('omits object key/value pair when value is empty array', function (st) {
|
|
420
|
+
st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz');
|
|
421
|
+
|
|
422
|
+
st.end();
|
|
423
|
+
});
|
|
424
|
+
|
|
425
|
+
t.test('should not omit object key/value pair when value is empty array and when asked', function (st) {
|
|
426
|
+
st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz');
|
|
427
|
+
st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: false }), 'b=zz');
|
|
428
|
+
st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: true }), 'a[]&b=zz');
|
|
429
|
+
|
|
430
|
+
st.end();
|
|
431
|
+
});
|
|
432
|
+
|
|
433
|
+
t.test('should throw when allowEmptyArrays is not of type boolean', function (st) {
|
|
434
|
+
st['throws'](
|
|
435
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 'foobar' }); },
|
|
436
|
+
TypeError
|
|
437
|
+
);
|
|
438
|
+
|
|
439
|
+
st['throws'](
|
|
440
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 0 }); },
|
|
441
|
+
TypeError
|
|
442
|
+
);
|
|
443
|
+
|
|
444
|
+
st['throws'](
|
|
445
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: NaN }); },
|
|
446
|
+
TypeError
|
|
447
|
+
);
|
|
448
|
+
|
|
449
|
+
st['throws'](
|
|
450
|
+
function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: null }); },
|
|
451
|
+
TypeError
|
|
452
|
+
);
|
|
453
|
+
|
|
454
|
+
st.end();
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
t.test('allowEmptyArrays + strictNullHandling', function (st) {
|
|
458
|
+
st.equal(
|
|
459
|
+
qs.stringify(
|
|
460
|
+
{ testEmptyArray: [] },
|
|
461
|
+
{ strictNullHandling: true, allowEmptyArrays: true }
|
|
462
|
+
),
|
|
463
|
+
'testEmptyArray[]'
|
|
464
|
+
);
|
|
465
|
+
|
|
466
|
+
st.end();
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
t.test('allowEmptyArrays only short-circuits arrays with no own keys', function (st) {
|
|
470
|
+
st.equal(
|
|
471
|
+
qs.stringify({ a: [] }, { allowEmptyArrays: true }),
|
|
472
|
+
'a[]',
|
|
473
|
+
'a genuinely empty array is still emitted as `[]`'
|
|
474
|
+
);
|
|
475
|
+
|
|
476
|
+
var withKey = [];
|
|
477
|
+
withKey.extra = 'x';
|
|
478
|
+
st.equal(
|
|
479
|
+
qs.stringify({ a: withKey }, { allowEmptyArrays: true }),
|
|
480
|
+
'a%5Bextra%5D=x',
|
|
481
|
+
'an own key on an empty array is serialized rather than dropped'
|
|
482
|
+
);
|
|
483
|
+
st.equal(
|
|
484
|
+
qs.stringify({ a: withKey }, { allowEmptyArrays: true }),
|
|
485
|
+
qs.stringify({ a: withKey }),
|
|
486
|
+
'the allowEmptyArrays fast path matches the default path when the array has own keys'
|
|
487
|
+
);
|
|
488
|
+
|
|
489
|
+
var container = {};
|
|
490
|
+
var cyclic = [];
|
|
491
|
+
cyclic.back = container;
|
|
492
|
+
container.a = cyclic;
|
|
493
|
+
st['throws'](
|
|
494
|
+
function () { qs.stringify(container, { allowEmptyArrays: true }); },
|
|
495
|
+
RangeError,
|
|
496
|
+
'a cycle through an empty array with an own key is still detected'
|
|
497
|
+
);
|
|
498
|
+
|
|
499
|
+
st.end();
|
|
500
|
+
});
|
|
501
|
+
|
|
502
|
+
t.test('stringifies an array value with one item vs multiple items', function (st) {
|
|
503
|
+
st.test('non-array item', function (s2t) {
|
|
504
|
+
s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=c');
|
|
505
|
+
s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=c');
|
|
506
|
+
s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c');
|
|
507
|
+
s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true }), 'a=c');
|
|
508
|
+
|
|
509
|
+
s2t.end();
|
|
510
|
+
});
|
|
511
|
+
|
|
512
|
+
st.test('array with a single item', function (s2t) {
|
|
513
|
+
s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c');
|
|
514
|
+
s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c');
|
|
515
|
+
s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c');
|
|
516
|
+
s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a[]=c'); // so it parses back as an array
|
|
517
|
+
s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true }), 'a[0]=c');
|
|
518
|
+
|
|
519
|
+
s2t.end();
|
|
520
|
+
});
|
|
521
|
+
|
|
522
|
+
st.test('array with multiple items', function (s2t) {
|
|
523
|
+
s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c&a[1]=d');
|
|
524
|
+
s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c&a[]=d');
|
|
525
|
+
s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c,d');
|
|
526
|
+
s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c,d');
|
|
527
|
+
s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true }), 'a[0]=c&a[1]=d');
|
|
528
|
+
|
|
529
|
+
s2t.end();
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
st.test('array with multiple items with a comma inside', function (s2t) {
|
|
533
|
+
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c%2Cd,e');
|
|
534
|
+
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma' }), 'a=c%2Cd%2Ce');
|
|
535
|
+
|
|
536
|
+
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd,e');
|
|
537
|
+
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd%2Ce');
|
|
538
|
+
|
|
539
|
+
s2t.end();
|
|
540
|
+
});
|
|
541
|
+
|
|
542
|
+
st.end();
|
|
543
|
+
});
|
|
544
|
+
|
|
545
|
+
t.test('stringifies a nested array value', function (st) {
|
|
546
|
+
st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[b][0]=c&a[b][1]=d');
|
|
547
|
+
st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[b][]=c&a[b][]=d');
|
|
548
|
+
st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a[b]=c,d');
|
|
549
|
+
st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true }), 'a[b][0]=c&a[b][1]=d');
|
|
550
|
+
st.end();
|
|
551
|
+
});
|
|
552
|
+
|
|
553
|
+
t.test('stringifies comma and empty array values', function (st) {
|
|
554
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'indices' }), 'a[0]=,&a[1]=&a[2]=c,d%');
|
|
555
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'brackets' }), 'a[]=,&a[]=&a[]=c,d%');
|
|
556
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'comma' }), 'a=,,,c,d%');
|
|
557
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'repeat' }), 'a=,&a=&a=c,d%');
|
|
558
|
+
|
|
559
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=%2C&a[1]=&a[2]=c%2Cd%25');
|
|
560
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=%2C&a[]=&a[]=c%2Cd%25');
|
|
561
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C,,c%2Cd%25');
|
|
562
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25');
|
|
563
|
+
|
|
564
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a%5B0%5D=%2C&a%5B1%5D=&a%5B2%5D=c%2Cd%25');
|
|
565
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a%5B%5D=%2C&a%5B%5D=&a%5B%5D=c%2Cd%25');
|
|
566
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C%2C%2Cc%2Cd%25');
|
|
567
|
+
st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25');
|
|
568
|
+
|
|
569
|
+
st.end();
|
|
570
|
+
});
|
|
571
|
+
|
|
572
|
+
t.test('stringifies comma and empty non-array values', function (st) {
|
|
573
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'indices' }), 'a=,&b=&c=c,d%');
|
|
574
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'brackets' }), 'a=,&b=&c=c,d%');
|
|
575
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'comma' }), 'a=,&b=&c=c,d%');
|
|
576
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'repeat' }), 'a=,&b=&c=c,d%');
|
|
577
|
+
|
|
578
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
579
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
580
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
581
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
582
|
+
|
|
583
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
584
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
585
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
586
|
+
st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25');
|
|
587
|
+
|
|
588
|
+
st.end();
|
|
589
|
+
});
|
|
590
|
+
|
|
591
|
+
t.test('stringifies a nested array value with dots notation', function (st) {
|
|
592
|
+
st.equal(
|
|
593
|
+
qs.stringify(
|
|
594
|
+
{ a: { b: ['c', 'd'] } },
|
|
595
|
+
{ allowDots: true, encodeValuesOnly: true, arrayFormat: 'indices' }
|
|
596
|
+
),
|
|
597
|
+
'a.b[0]=c&a.b[1]=d',
|
|
598
|
+
'indices: stringifies with dots + indices'
|
|
599
|
+
);
|
|
600
|
+
st.equal(
|
|
601
|
+
qs.stringify(
|
|
602
|
+
{ a: { b: ['c', 'd'] } },
|
|
603
|
+
{ allowDots: true, encodeValuesOnly: true, arrayFormat: 'brackets' }
|
|
604
|
+
),
|
|
605
|
+
'a.b[]=c&a.b[]=d',
|
|
606
|
+
'brackets: stringifies with dots + brackets'
|
|
607
|
+
);
|
|
608
|
+
st.equal(
|
|
609
|
+
qs.stringify(
|
|
610
|
+
{ a: { b: ['c', 'd'] } },
|
|
611
|
+
{ allowDots: true, encodeValuesOnly: true, arrayFormat: 'comma' }
|
|
612
|
+
),
|
|
613
|
+
'a.b=c,d',
|
|
614
|
+
'comma: stringifies with dots + comma'
|
|
615
|
+
);
|
|
616
|
+
st.equal(
|
|
617
|
+
qs.stringify(
|
|
618
|
+
{ a: { b: ['c', 'd'] } },
|
|
619
|
+
{ allowDots: true, encodeValuesOnly: true }
|
|
620
|
+
),
|
|
621
|
+
'a.b[0]=c&a.b[1]=d',
|
|
622
|
+
'default: stringifies with dots + indices'
|
|
623
|
+
);
|
|
624
|
+
st.end();
|
|
625
|
+
});
|
|
626
|
+
|
|
627
|
+
t.test('stringifies an object inside an array', function (st) {
|
|
628
|
+
st.equal(
|
|
629
|
+
qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices', encodeValuesOnly: true }),
|
|
630
|
+
'a[0][b]=c',
|
|
631
|
+
'indices => indices'
|
|
632
|
+
);
|
|
633
|
+
st.equal(
|
|
634
|
+
qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }),
|
|
635
|
+
'a[b]=c',
|
|
636
|
+
'repeat => repeat'
|
|
637
|
+
);
|
|
638
|
+
st.equal(
|
|
639
|
+
qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }),
|
|
640
|
+
'a[][b]=c',
|
|
641
|
+
'brackets => brackets'
|
|
642
|
+
);
|
|
643
|
+
st.equal(
|
|
644
|
+
qs.stringify({ a: [{ b: 'c' }] }, { encodeValuesOnly: true }),
|
|
645
|
+
'a[0][b]=c',
|
|
646
|
+
'default => indices'
|
|
647
|
+
);
|
|
648
|
+
|
|
649
|
+
st.equal(
|
|
650
|
+
qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices', encodeValuesOnly: true }),
|
|
651
|
+
'a[0][b][c][0]=1',
|
|
652
|
+
'indices => indices'
|
|
653
|
+
);
|
|
654
|
+
st.equal(
|
|
655
|
+
qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }),
|
|
656
|
+
'a[b][c]=1',
|
|
657
|
+
'repeat => repeat'
|
|
658
|
+
);
|
|
659
|
+
st.equal(
|
|
660
|
+
qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }),
|
|
661
|
+
'a[][b][c][]=1',
|
|
662
|
+
'brackets => brackets'
|
|
663
|
+
);
|
|
664
|
+
st.equal(
|
|
665
|
+
qs.stringify({ a: [{ b: { c: [1] } }] }, { encodeValuesOnly: true }),
|
|
666
|
+
'a[0][b][c][0]=1',
|
|
667
|
+
'default => indices'
|
|
668
|
+
);
|
|
669
|
+
|
|
670
|
+
st.end();
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
t.test('stringifies an array with mixed objects and primitives', function (st) {
|
|
674
|
+
st.equal(
|
|
675
|
+
qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'indices' }),
|
|
676
|
+
'a[0][b]=1&a[1]=2&a[2]=3',
|
|
677
|
+
'indices => indices'
|
|
678
|
+
);
|
|
679
|
+
st.equal(
|
|
680
|
+
qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
|
|
681
|
+
'a[][b]=1&a[]=2&a[]=3',
|
|
682
|
+
'brackets => brackets'
|
|
683
|
+
);
|
|
684
|
+
st.equal(
|
|
685
|
+
qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'comma' }),
|
|
686
|
+
'???',
|
|
687
|
+
'brackets => brackets',
|
|
688
|
+
{ skip: 'TODO: figure out what this should do' }
|
|
689
|
+
);
|
|
690
|
+
st.equal(
|
|
691
|
+
qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true }),
|
|
692
|
+
'a[0][b]=1&a[1]=2&a[2]=3',
|
|
693
|
+
'default => indices'
|
|
694
|
+
);
|
|
695
|
+
|
|
696
|
+
st.end();
|
|
697
|
+
});
|
|
698
|
+
|
|
699
|
+
t.test('stringifies an object inside an array with dots notation', function (st) {
|
|
700
|
+
st.equal(
|
|
701
|
+
qs.stringify(
|
|
702
|
+
{ a: [{ b: 'c' }] },
|
|
703
|
+
{ allowDots: true, encode: false, arrayFormat: 'indices' }
|
|
704
|
+
),
|
|
705
|
+
'a[0].b=c',
|
|
706
|
+
'indices => indices'
|
|
707
|
+
);
|
|
708
|
+
st.equal(
|
|
709
|
+
qs.stringify(
|
|
710
|
+
{ a: [{ b: 'c' }] },
|
|
711
|
+
{ allowDots: true, encode: false, arrayFormat: 'brackets' }
|
|
712
|
+
),
|
|
713
|
+
'a[].b=c',
|
|
714
|
+
'brackets => brackets'
|
|
715
|
+
);
|
|
716
|
+
st.equal(
|
|
717
|
+
qs.stringify(
|
|
718
|
+
{ a: [{ b: 'c' }] },
|
|
719
|
+
{ allowDots: true, encode: false }
|
|
720
|
+
),
|
|
721
|
+
'a[0].b=c',
|
|
722
|
+
'default => indices'
|
|
723
|
+
);
|
|
724
|
+
|
|
725
|
+
st.equal(
|
|
726
|
+
qs.stringify(
|
|
727
|
+
{ a: [{ b: { c: [1] } }] },
|
|
728
|
+
{ allowDots: true, encode: false, arrayFormat: 'indices' }
|
|
729
|
+
),
|
|
730
|
+
'a[0].b.c[0]=1',
|
|
731
|
+
'indices => indices'
|
|
732
|
+
);
|
|
733
|
+
st.equal(
|
|
734
|
+
qs.stringify(
|
|
735
|
+
{ a: [{ b: { c: [1] } }] },
|
|
736
|
+
{ allowDots: true, encode: false, arrayFormat: 'brackets' }
|
|
737
|
+
),
|
|
738
|
+
'a[].b.c[]=1',
|
|
739
|
+
'brackets => brackets'
|
|
740
|
+
);
|
|
741
|
+
st.equal(
|
|
742
|
+
qs.stringify(
|
|
743
|
+
{ a: [{ b: { c: [1] } }] },
|
|
744
|
+
{ allowDots: true, encode: false }
|
|
745
|
+
),
|
|
746
|
+
'a[0].b.c[0]=1',
|
|
747
|
+
'default => indices'
|
|
748
|
+
);
|
|
749
|
+
|
|
750
|
+
st.end();
|
|
751
|
+
});
|
|
752
|
+
|
|
753
|
+
t.test('does not omit object keys when indices = false', function (st) {
|
|
754
|
+
st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c');
|
|
755
|
+
st.end();
|
|
756
|
+
});
|
|
757
|
+
|
|
758
|
+
t.test('uses indices notation for arrays when indices=true', function (st) {
|
|
759
|
+
st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c');
|
|
760
|
+
st.end();
|
|
761
|
+
});
|
|
762
|
+
|
|
763
|
+
t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) {
|
|
764
|
+
st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c');
|
|
765
|
+
st.end();
|
|
766
|
+
});
|
|
767
|
+
|
|
768
|
+
t.test('uses indices notation for arrays when arrayFormat=indices', function (st) {
|
|
769
|
+
st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c');
|
|
770
|
+
st.end();
|
|
771
|
+
});
|
|
772
|
+
|
|
773
|
+
t.test('uses repeat notation for arrays when arrayFormat=repeat', function (st) {
|
|
774
|
+
st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c');
|
|
775
|
+
st.end();
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
t.test('uses brackets notation for arrays when arrayFormat=brackets', function (st) {
|
|
779
|
+
st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c');
|
|
780
|
+
st.end();
|
|
781
|
+
});
|
|
782
|
+
|
|
783
|
+
t.test('stringifies a complicated object', function (st) {
|
|
784
|
+
st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e');
|
|
785
|
+
st.end();
|
|
786
|
+
});
|
|
787
|
+
|
|
788
|
+
t.test('stringifies an empty value', function (st) {
|
|
789
|
+
st.equal(qs.stringify({ a: '' }), 'a=');
|
|
790
|
+
st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a');
|
|
791
|
+
|
|
792
|
+
st.equal(qs.stringify({ a: '', b: '' }), 'a=&b=');
|
|
793
|
+
st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b=');
|
|
794
|
+
|
|
795
|
+
st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D=');
|
|
796
|
+
st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D');
|
|
797
|
+
st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D=');
|
|
798
|
+
|
|
799
|
+
st.end();
|
|
800
|
+
});
|
|
801
|
+
|
|
802
|
+
t.test('stringifies an empty array in different arrayFormat', function (st) {
|
|
803
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false }), 'b[0]=&c=c');
|
|
804
|
+
// arrayFormat default
|
|
805
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices' }), 'b[0]=&c=c');
|
|
806
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets' }), 'b[]=&c=c');
|
|
807
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat' }), 'b=&c=c');
|
|
808
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma' }), 'b=&c=c');
|
|
809
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', commaRoundTrip: true }), 'b[]=&c=c');
|
|
810
|
+
// with strictNullHandling
|
|
811
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', strictNullHandling: true }), 'b[0]&c=c');
|
|
812
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', strictNullHandling: true }), 'b[]&c=c');
|
|
813
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', strictNullHandling: true }), 'b&c=c');
|
|
814
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true }), 'b&c=c');
|
|
815
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true, commaRoundTrip: true }), 'b[]&c=c');
|
|
816
|
+
// with skipNulls
|
|
817
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', skipNulls: true }), 'c=c');
|
|
818
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', skipNulls: true }), 'c=c');
|
|
819
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', skipNulls: true }), 'c=c');
|
|
820
|
+
st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', skipNulls: true }), 'c=c');
|
|
821
|
+
|
|
822
|
+
st.end();
|
|
823
|
+
});
|
|
824
|
+
|
|
825
|
+
t.test('does not crash on null/undefined entries in arrayFormat=comma with encodeValuesOnly', function (st) {
|
|
826
|
+
st.doesNotThrow(
|
|
827
|
+
function () { qs.stringify({ a: [null, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
|
|
828
|
+
'does not pass a raw null array entry to the encoder'
|
|
829
|
+
);
|
|
830
|
+
st.doesNotThrow(
|
|
831
|
+
function () { qs.stringify({ a: [undefined, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
|
|
832
|
+
'does not pass a raw undefined array entry to the encoder'
|
|
833
|
+
);
|
|
834
|
+
st.doesNotThrow(
|
|
835
|
+
function () { qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
|
|
836
|
+
'does not crash on a single-null array'
|
|
837
|
+
);
|
|
838
|
+
|
|
839
|
+
st.equal(
|
|
840
|
+
qs.stringify({ a: [null, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
|
|
841
|
+
'a=,b',
|
|
842
|
+
'null entry joins as empty, comma stays unencoded under encodeValuesOnly'
|
|
843
|
+
);
|
|
844
|
+
st.equal(
|
|
845
|
+
qs.stringify({ a: [undefined, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
|
|
846
|
+
'a=,b',
|
|
847
|
+
'undefined entry joins as empty, comma stays unencoded under encodeValuesOnly'
|
|
848
|
+
);
|
|
849
|
+
st.equal(
|
|
850
|
+
qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
|
|
851
|
+
'a=',
|
|
852
|
+
'single-null array stringifies as empty value'
|
|
853
|
+
);
|
|
854
|
+
st.equal(
|
|
855
|
+
qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true, strictNullHandling: true }),
|
|
856
|
+
'a',
|
|
857
|
+
'strictNullHandling drops the equals sign for a single-null array'
|
|
858
|
+
);
|
|
859
|
+
st.equal(
|
|
860
|
+
qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true, skipNulls: true }),
|
|
861
|
+
'',
|
|
862
|
+
'skipNulls drops a single-null array entirely'
|
|
863
|
+
);
|
|
864
|
+
|
|
865
|
+
st.end();
|
|
866
|
+
});
|
|
867
|
+
|
|
868
|
+
t.test('stringifies a null object', { skip: !hasProto }, function (st) {
|
|
869
|
+
st.equal(qs.stringify({ __proto__: null, a: 'b' }), 'a=b');
|
|
870
|
+
st.end();
|
|
871
|
+
});
|
|
872
|
+
|
|
873
|
+
t.test('returns an empty string for invalid input', function (st) {
|
|
874
|
+
st.equal(qs.stringify(undefined), '');
|
|
875
|
+
st.equal(qs.stringify(false), '');
|
|
876
|
+
st.equal(qs.stringify(null), '');
|
|
877
|
+
st.equal(qs.stringify(''), '');
|
|
878
|
+
st.end();
|
|
879
|
+
});
|
|
880
|
+
|
|
881
|
+
t.test('stringifies an object with a null object as a child', { skip: !hasProto }, function (st) {
|
|
882
|
+
st.equal(qs.stringify({ a: { __proto__: null, b: 'c' } }), 'a%5Bb%5D=c');
|
|
883
|
+
st.end();
|
|
884
|
+
});
|
|
885
|
+
|
|
886
|
+
t.test('drops keys with a value of undefined', function (st) {
|
|
887
|
+
st.equal(qs.stringify({ a: undefined }), '');
|
|
888
|
+
|
|
889
|
+
st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D');
|
|
890
|
+
st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D=');
|
|
891
|
+
st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D=');
|
|
892
|
+
st.end();
|
|
893
|
+
});
|
|
894
|
+
|
|
895
|
+
t.test('url encodes values', function (st) {
|
|
896
|
+
st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
|
|
897
|
+
st.end();
|
|
898
|
+
});
|
|
899
|
+
|
|
900
|
+
t.test('stringifies a date', function (st) {
|
|
901
|
+
var now = new Date();
|
|
902
|
+
var str = 'a=' + encodeURIComponent(now.toISOString());
|
|
903
|
+
st.equal(qs.stringify({ a: now }), str);
|
|
904
|
+
st.end();
|
|
905
|
+
});
|
|
906
|
+
|
|
907
|
+
t.test('stringifies the weird object from qs', function (st) {
|
|
908
|
+
st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F');
|
|
909
|
+
st.end();
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
t.test('skips properties that are part of the object prototype', function (st) {
|
|
913
|
+
st.intercept(Object.prototype, 'crash', { value: 'test' });
|
|
914
|
+
|
|
915
|
+
st.equal(qs.stringify({ a: 'b' }), 'a=b');
|
|
916
|
+
st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
|
|
917
|
+
|
|
918
|
+
st.end();
|
|
919
|
+
});
|
|
920
|
+
|
|
921
|
+
t.test('stringifies boolean values', function (st) {
|
|
922
|
+
st.equal(qs.stringify({ a: true }), 'a=true');
|
|
923
|
+
st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true');
|
|
924
|
+
st.equal(qs.stringify({ b: false }), 'b=false');
|
|
925
|
+
st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false');
|
|
926
|
+
st.end();
|
|
927
|
+
});
|
|
928
|
+
|
|
929
|
+
t.test('stringifies buffer values', function (st) {
|
|
930
|
+
st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test');
|
|
931
|
+
st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test');
|
|
932
|
+
st.end();
|
|
933
|
+
});
|
|
934
|
+
|
|
935
|
+
t.test('does not throw on a non-callable `constructor.isBuffer` key', function (st) {
|
|
936
|
+
var input = { a: { constructor: { isBuffer: 'x' } } };
|
|
937
|
+
st.doesNotThrow(function () { qs.stringify(input); });
|
|
938
|
+
st.equal(qs.stringify(input), 'a%5Bconstructor%5D%5BisBuffer%5D=x');
|
|
939
|
+
st.equal(qs.stringify({ a: { constructor: { isBuffer: { b: 'c' } } } }), 'a%5Bconstructor%5D%5BisBuffer%5D%5Bb%5D=c');
|
|
940
|
+
st.equal(qs.stringify({ a: { constructor: { isBuffer: ['b'] } } }), 'a%5Bconstructor%5D%5BisBuffer%5D%5B0%5D=b');
|
|
941
|
+
st.equal(qs.stringify({ a: { constructor: { isBuffer: true } } }), 'a%5Bconstructor%5D%5BisBuffer%5D=true');
|
|
942
|
+
st.end();
|
|
943
|
+
});
|
|
944
|
+
|
|
945
|
+
t.test('round-trips a parsed `constructor[isBuffer]` key', function (st) {
|
|
946
|
+
var str = 'x%5Bconstructor%5D%5BisBuffer%5D=y';
|
|
947
|
+
|
|
948
|
+
var plain = qs.parse(str, { plainObjects: true });
|
|
949
|
+
st.deepEqual(plain, { __proto__: null, x: { __proto__: null, constructor: { __proto__: null, isBuffer: 'y' } } }, 'plainObjects keeps the key');
|
|
950
|
+
st.doesNotThrow(function () { qs.stringify(plain); });
|
|
951
|
+
st.equal(qs.stringify(plain), str, 'plainObjects round-trips');
|
|
952
|
+
|
|
953
|
+
var proto = qs.parse(str, { allowPrototypes: true });
|
|
954
|
+
st.deepEqual(proto, { x: { constructor: { isBuffer: 'y' } } }, 'allowPrototypes keeps the key');
|
|
955
|
+
st.doesNotThrow(function () { qs.stringify(proto); });
|
|
956
|
+
st.equal(qs.stringify(proto), str, 'allowPrototypes round-trips');
|
|
957
|
+
|
|
958
|
+
st.equal(qs.stringify(qs.parse(str)), '', 'default options drop the key');
|
|
959
|
+
st.end();
|
|
960
|
+
});
|
|
961
|
+
|
|
962
|
+
t.test('stringifies an object using an alternative delimiter', function (st) {
|
|
963
|
+
st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
|
|
964
|
+
st.end();
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
t.test('does not blow up when Buffer global is missing', function (st) {
|
|
968
|
+
var restore = mockProperty(global, 'Buffer', { 'delete': true });
|
|
969
|
+
|
|
970
|
+
var result = qs.stringify({ a: 'b', c: 'd' });
|
|
971
|
+
|
|
972
|
+
restore();
|
|
973
|
+
|
|
974
|
+
st.equal(result, 'a=b&c=d');
|
|
975
|
+
st.end();
|
|
976
|
+
});
|
|
977
|
+
|
|
978
|
+
t.test('does not crash when parsing circular references', function (st) {
|
|
979
|
+
var a = {};
|
|
980
|
+
a.b = a;
|
|
981
|
+
|
|
982
|
+
st['throws'](
|
|
983
|
+
function () { qs.stringify({ 'foo[bar]': 'baz', 'foo[baz]': a }); },
|
|
984
|
+
/RangeError: Cyclic object value/,
|
|
985
|
+
'cyclic values throw'
|
|
986
|
+
);
|
|
987
|
+
|
|
988
|
+
var circular = {
|
|
989
|
+
a: 'value'
|
|
990
|
+
};
|
|
991
|
+
circular.a = circular;
|
|
992
|
+
st['throws'](
|
|
993
|
+
function () { qs.stringify(circular); },
|
|
994
|
+
/RangeError: Cyclic object value/,
|
|
995
|
+
'cyclic values throw'
|
|
996
|
+
);
|
|
997
|
+
|
|
998
|
+
var arr = ['a'];
|
|
999
|
+
st.doesNotThrow(
|
|
1000
|
+
function () { qs.stringify({ x: arr, y: arr }); },
|
|
1001
|
+
'non-cyclic values do not throw'
|
|
1002
|
+
);
|
|
1003
|
+
|
|
1004
|
+
st.end();
|
|
1005
|
+
});
|
|
1006
|
+
|
|
1007
|
+
t.test('non-circular duplicated references can still work', function (st) {
|
|
1008
|
+
var hourOfDay = {
|
|
1009
|
+
'function': 'hour_of_day'
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
var p1 = {
|
|
1013
|
+
'function': 'gte',
|
|
1014
|
+
arguments: [hourOfDay, 0]
|
|
1015
|
+
};
|
|
1016
|
+
var p2 = {
|
|
1017
|
+
'function': 'lte',
|
|
1018
|
+
arguments: [hourOfDay, 23]
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
st.equal(
|
|
1022
|
+
qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }),
|
|
1023
|
+
'filters[$and][0][function]=gte&filters[$and][0][arguments][0][function]=hour_of_day&filters[$and][0][arguments][1]=0&filters[$and][1][function]=lte&filters[$and][1][arguments][0][function]=hour_of_day&filters[$and][1][arguments][1]=23'
|
|
1024
|
+
);
|
|
1025
|
+
st.equal(
|
|
1026
|
+
qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
|
|
1027
|
+
'filters[$and][][function]=gte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=0&filters[$and][][function]=lte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=23'
|
|
1028
|
+
);
|
|
1029
|
+
st.equal(
|
|
1030
|
+
qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'repeat' }),
|
|
1031
|
+
'filters[$and][function]=gte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=0&filters[$and][function]=lte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=23'
|
|
1032
|
+
);
|
|
1033
|
+
|
|
1034
|
+
st.end();
|
|
1035
|
+
});
|
|
1036
|
+
|
|
1037
|
+
t.test('selects properties when filter=array', function (st) {
|
|
1038
|
+
st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b');
|
|
1039
|
+
st.equal(qs.stringify({ a: 1 }, { filter: [] }), '');
|
|
1040
|
+
|
|
1041
|
+
st.equal(
|
|
1042
|
+
qs.stringify(
|
|
1043
|
+
{ a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
|
|
1044
|
+
{ filter: ['a', 'b', 0, 2], arrayFormat: 'indices' }
|
|
1045
|
+
),
|
|
1046
|
+
'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
|
|
1047
|
+
'indices => indices'
|
|
1048
|
+
);
|
|
1049
|
+
st.equal(
|
|
1050
|
+
qs.stringify(
|
|
1051
|
+
{ a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
|
|
1052
|
+
{ filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' }
|
|
1053
|
+
),
|
|
1054
|
+
'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3',
|
|
1055
|
+
'brackets => brackets'
|
|
1056
|
+
);
|
|
1057
|
+
st.equal(
|
|
1058
|
+
qs.stringify(
|
|
1059
|
+
{ a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
|
|
1060
|
+
{ filter: ['a', 'b', 0, 2] }
|
|
1061
|
+
),
|
|
1062
|
+
'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
|
|
1063
|
+
'default => indices'
|
|
1064
|
+
);
|
|
1065
|
+
|
|
1066
|
+
st.end();
|
|
1067
|
+
});
|
|
1068
|
+
|
|
1069
|
+
t.test('skips null/undefined entries in filter=array', function (st) {
|
|
1070
|
+
st.doesNotThrow(
|
|
1071
|
+
function () { qs.stringify({ a: 'b', undefined: 'x' }, { filter: ['a', undefined] }); },
|
|
1072
|
+
'does not pass a raw undefined filter entry to the encoder'
|
|
1073
|
+
);
|
|
1074
|
+
st.doesNotThrow(
|
|
1075
|
+
function () { qs.stringify({ a: 'b', 'null': 'x' }, { filter: ['a', null] }); },
|
|
1076
|
+
'does not pass a raw null filter entry to the encoder'
|
|
1077
|
+
);
|
|
1078
|
+
|
|
1079
|
+
st.equal(
|
|
1080
|
+
qs.stringify({ a: 'b', undefined: 'x', c: 'd' }, { filter: ['a', undefined, 'c'] }),
|
|
1081
|
+
'a=b&c=d',
|
|
1082
|
+
'undefined filter entry is skipped, remaining keys are kept'
|
|
1083
|
+
);
|
|
1084
|
+
st.equal(
|
|
1085
|
+
qs.stringify({ a: 'b', 'null': 'x', c: 'd' }, { filter: ['a', null, 'c'] }),
|
|
1086
|
+
'a=b&c=d',
|
|
1087
|
+
'null filter entry is skipped, remaining keys are kept'
|
|
1088
|
+
);
|
|
1089
|
+
st.equal(
|
|
1090
|
+
qs.stringify({ a: 'b', 'null': 'x' }, { filter: [null] }),
|
|
1091
|
+
'',
|
|
1092
|
+
'filter array containing only null yields empty string'
|
|
1093
|
+
);
|
|
1094
|
+
|
|
1095
|
+
st.end();
|
|
1096
|
+
});
|
|
1097
|
+
|
|
1098
|
+
t.test('supports custom representations when filter=function', function (st) {
|
|
1099
|
+
var calls = 0;
|
|
1100
|
+
var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } };
|
|
1101
|
+
var filterFunc = function (prefix, value) {
|
|
1102
|
+
calls += 1;
|
|
1103
|
+
if (calls === 1) {
|
|
1104
|
+
st.equal(prefix, '', 'prefix is empty');
|
|
1105
|
+
st.equal(value, obj);
|
|
1106
|
+
} else if (prefix === 'c') {
|
|
1107
|
+
return void 0;
|
|
1108
|
+
} else if (value instanceof Date) {
|
|
1109
|
+
st.equal(prefix, 'e[f]');
|
|
1110
|
+
return value.getTime();
|
|
1111
|
+
}
|
|
1112
|
+
return value;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000');
|
|
1116
|
+
st.equal(calls, 5);
|
|
1117
|
+
st.end();
|
|
1118
|
+
});
|
|
1119
|
+
|
|
1120
|
+
t.test('serializes Date values unless filter transforms them', function (st) {
|
|
1121
|
+
var obj = {
|
|
1122
|
+
a: new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260)),
|
|
1123
|
+
b: [new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260))]
|
|
1124
|
+
};
|
|
1125
|
+
var iso = '2023-03-07T09%3A02%3A41.260Z';
|
|
1126
|
+
st.equal(
|
|
1127
|
+
qs.stringify(obj, { filter: function (prefix, value) { return value; } }),
|
|
1128
|
+
'a=' + iso + '&b%5B0%5D=' + iso,
|
|
1129
|
+
'Dates returned unchanged by a filter are serialized'
|
|
1130
|
+
);
|
|
1131
|
+
st.equal(
|
|
1132
|
+
qs.stringify({ a: new Date(0) }, { filter: function (prefix, value) { return value instanceof Date ? 'kept' : value; } }),
|
|
1133
|
+
'a=kept',
|
|
1134
|
+
'a filter that transforms a Date wins over default serialization'
|
|
1135
|
+
);
|
|
1136
|
+
st.end();
|
|
1137
|
+
});
|
|
1138
|
+
|
|
1139
|
+
t.test('applies default Date handling to whatever a filter function returns', function (st) {
|
|
1140
|
+
var date = new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260));
|
|
1141
|
+
var iso = '2023-03-07T09%3A02%3A41.260Z';
|
|
1142
|
+
var identity = function (prefix, value) { return value; };
|
|
1143
|
+
|
|
1144
|
+
st.equal(
|
|
1145
|
+
qs.stringify({ a: { b: date } }, { filter: identity }),
|
|
1146
|
+
'a%5Bb%5D=' + iso,
|
|
1147
|
+
'a nested Date is serialized through a filter'
|
|
1148
|
+
);
|
|
1149
|
+
st.equal(
|
|
1150
|
+
qs.stringify(
|
|
1151
|
+
{ a: date },
|
|
1152
|
+
{ filter: identity, serializeDate: function (d) { return String(d.getTime()); } }
|
|
1153
|
+
),
|
|
1154
|
+
'a=1678179761260',
|
|
1155
|
+
'`serializeDate` is honored after a filter'
|
|
1156
|
+
);
|
|
1157
|
+
st.equal(
|
|
1158
|
+
qs.stringify({ a: [date, 'x'] }, { filter: identity, arrayFormat: 'comma' }),
|
|
1159
|
+
'a=' + iso + '%2Cx',
|
|
1160
|
+
'Dates inside a comma array are serialized through a filter, not stringified as locale text'
|
|
1161
|
+
);
|
|
1162
|
+
st.equal(
|
|
1163
|
+
qs.stringify({ a: 'x' }, { filter: function (prefix, value) { return prefix === 'a' ? date : value; } }),
|
|
1164
|
+
'a=' + iso,
|
|
1165
|
+
'a Date produced by the filter is serialized'
|
|
1166
|
+
);
|
|
1167
|
+
st.equal(
|
|
1168
|
+
qs.stringify({ a: date, b: 1 }, { filter: ['a'] }),
|
|
1169
|
+
'a=' + iso,
|
|
1170
|
+
'an array filter still serializes Dates'
|
|
1171
|
+
);
|
|
1172
|
+
st['throws'](
|
|
1173
|
+
function () { qs.stringify({ a: new Date(NaN) }, { filter: identity }); },
|
|
1174
|
+
RangeError,
|
|
1175
|
+
'an invalid Date through a filter throws like the no-filter path'
|
|
1176
|
+
);
|
|
1177
|
+
st.end();
|
|
1178
|
+
});
|
|
1179
|
+
|
|
1180
|
+
t.test('can disable uri encoding', function (st) {
|
|
1181
|
+
st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b');
|
|
1182
|
+
st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c');
|
|
1183
|
+
st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c');
|
|
1184
|
+
st.end();
|
|
1185
|
+
});
|
|
1186
|
+
|
|
1187
|
+
t.test('can sort the keys', function (st) {
|
|
1188
|
+
var sort = function (a, b) {
|
|
1189
|
+
return a.localeCompare(b);
|
|
1190
|
+
};
|
|
1191
|
+
st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y');
|
|
1192
|
+
st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a');
|
|
1193
|
+
st.end();
|
|
1194
|
+
});
|
|
1195
|
+
|
|
1196
|
+
t.test('can sort the keys at depth 3 or more too', function (st) {
|
|
1197
|
+
var sort = function (a, b) {
|
|
1198
|
+
return a.localeCompare(b);
|
|
1199
|
+
};
|
|
1200
|
+
st.equal(
|
|
1201
|
+
qs.stringify(
|
|
1202
|
+
{ a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
|
|
1203
|
+
{ sort: sort, encode: false }
|
|
1204
|
+
),
|
|
1205
|
+
'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb'
|
|
1206
|
+
);
|
|
1207
|
+
st.equal(
|
|
1208
|
+
qs.stringify(
|
|
1209
|
+
{ a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
|
|
1210
|
+
{ sort: null, encode: false }
|
|
1211
|
+
),
|
|
1212
|
+
'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b'
|
|
1213
|
+
);
|
|
1214
|
+
st.end();
|
|
1215
|
+
});
|
|
1216
|
+
|
|
1217
|
+
t.test('can stringify with custom encoding', function (st) {
|
|
1218
|
+
st.equal(qs.stringify({ 県: '大阪府', '': '' }, {
|
|
1219
|
+
encoder: function (str) {
|
|
1220
|
+
if (str.length === 0) {
|
|
1221
|
+
return '';
|
|
1222
|
+
}
|
|
1223
|
+
var buf = iconv.encode(str, 'shiftjis');
|
|
1224
|
+
var result = [];
|
|
1225
|
+
for (var i = 0; i < buf.length; ++i) {
|
|
1226
|
+
result.push(buf.readUInt8(i).toString(16));
|
|
1227
|
+
}
|
|
1228
|
+
return '%' + result.join('%');
|
|
1229
|
+
}
|
|
1230
|
+
}), '%8c%a7=%91%e5%8d%e3%95%7b&=');
|
|
1231
|
+
st.end();
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
t.test('receives the default encoder as a second argument', function (st) {
|
|
1235
|
+
st.plan(8);
|
|
1236
|
+
|
|
1237
|
+
qs.stringify({ a: 1, b: new Date(), c: true, d: [1] }, {
|
|
1238
|
+
encoder: function (str) {
|
|
1239
|
+
st.match(typeof str, /^(?:string|number|boolean)$/);
|
|
1240
|
+
return '';
|
|
1241
|
+
}
|
|
1242
|
+
});
|
|
1243
|
+
|
|
1244
|
+
st.end();
|
|
1245
|
+
});
|
|
1246
|
+
|
|
1247
|
+
t.test('receives the default encoder as a second argument', function (st) {
|
|
1248
|
+
st.plan(2);
|
|
1249
|
+
|
|
1250
|
+
qs.stringify({ a: 1 }, {
|
|
1251
|
+
encoder: function (str, defaultEncoder) {
|
|
1252
|
+
st.equal(defaultEncoder, utils.encode);
|
|
1253
|
+
}
|
|
1254
|
+
});
|
|
1255
|
+
|
|
1256
|
+
st.end();
|
|
1257
|
+
});
|
|
1258
|
+
|
|
1259
|
+
t.test('throws error with wrong encoder', function (st) {
|
|
1260
|
+
st['throws'](function () {
|
|
1261
|
+
qs.stringify({}, { encoder: 'string' });
|
|
1262
|
+
}, new TypeError('Encoder has to be a function.'));
|
|
1263
|
+
st.end();
|
|
1264
|
+
});
|
|
1265
|
+
|
|
1266
|
+
t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) {
|
|
1267
|
+
st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, {
|
|
1268
|
+
encoder: function (buffer) {
|
|
1269
|
+
if (typeof buffer === 'string') {
|
|
1270
|
+
return buffer;
|
|
1271
|
+
}
|
|
1272
|
+
return String.fromCharCode(buffer.readUInt8(0) + 97);
|
|
1273
|
+
}
|
|
1274
|
+
}), 'a=b');
|
|
1275
|
+
|
|
1276
|
+
st.equal(qs.stringify({ a: SaferBuffer.from('a b') }, {
|
|
1277
|
+
encoder: function (buffer) {
|
|
1278
|
+
return buffer;
|
|
1279
|
+
}
|
|
1280
|
+
}), 'a=a b');
|
|
1281
|
+
st.end();
|
|
1282
|
+
});
|
|
1283
|
+
|
|
1284
|
+
t.test('serializeDate option', function (st) {
|
|
1285
|
+
var date = new Date();
|
|
1286
|
+
st.equal(
|
|
1287
|
+
qs.stringify({ a: date }),
|
|
1288
|
+
'a=' + date.toISOString().replace(/:/g, '%3A'),
|
|
1289
|
+
'default is toISOString'
|
|
1290
|
+
);
|
|
1291
|
+
|
|
1292
|
+
var mutatedDate = new Date();
|
|
1293
|
+
mutatedDate.toISOString = function () {
|
|
1294
|
+
throw new SyntaxError();
|
|
1295
|
+
};
|
|
1296
|
+
st['throws'](function () {
|
|
1297
|
+
mutatedDate.toISOString();
|
|
1298
|
+
}, SyntaxError);
|
|
1299
|
+
st.equal(
|
|
1300
|
+
qs.stringify({ a: mutatedDate }),
|
|
1301
|
+
'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'),
|
|
1302
|
+
'toISOString works even when method is not locally present'
|
|
1303
|
+
);
|
|
1304
|
+
|
|
1305
|
+
var specificDate = new Date(6);
|
|
1306
|
+
st.equal(
|
|
1307
|
+
qs.stringify(
|
|
1308
|
+
{ a: specificDate },
|
|
1309
|
+
{ serializeDate: function (d) { return d.getTime() * 7; } }
|
|
1310
|
+
),
|
|
1311
|
+
'a=42',
|
|
1312
|
+
'custom serializeDate function called'
|
|
1313
|
+
);
|
|
1314
|
+
|
|
1315
|
+
st.equal(
|
|
1316
|
+
qs.stringify(
|
|
1317
|
+
{ a: [date] },
|
|
1318
|
+
{
|
|
1319
|
+
serializeDate: function (d) { return d.getTime(); },
|
|
1320
|
+
arrayFormat: 'comma'
|
|
1321
|
+
}
|
|
1322
|
+
),
|
|
1323
|
+
'a=' + date.getTime(),
|
|
1324
|
+
'works with arrayFormat comma'
|
|
1325
|
+
);
|
|
1326
|
+
st.equal(
|
|
1327
|
+
qs.stringify(
|
|
1328
|
+
{ a: [date] },
|
|
1329
|
+
{
|
|
1330
|
+
serializeDate: function (d) { return d.getTime(); },
|
|
1331
|
+
arrayFormat: 'comma',
|
|
1332
|
+
commaRoundTrip: true
|
|
1333
|
+
}
|
|
1334
|
+
),
|
|
1335
|
+
'a%5B%5D=' + date.getTime(),
|
|
1336
|
+
'works with arrayFormat comma'
|
|
1337
|
+
);
|
|
1338
|
+
|
|
1339
|
+
st.end();
|
|
1340
|
+
});
|
|
1341
|
+
|
|
1342
|
+
t.test('RFC 1738 serialization', function (st) {
|
|
1343
|
+
st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c');
|
|
1344
|
+
st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d');
|
|
1345
|
+
st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC1738 }), 'a+b=a+b');
|
|
1346
|
+
|
|
1347
|
+
st.equal(qs.stringify({ 'foo(ref)': 'bar' }, { format: qs.formats.RFC1738 }), 'foo(ref)=bar');
|
|
1348
|
+
|
|
1349
|
+
st.end();
|
|
1350
|
+
});
|
|
1351
|
+
|
|
1352
|
+
t.test('RFC 3986 spaces serialization', function (st) {
|
|
1353
|
+
st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c');
|
|
1354
|
+
st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d');
|
|
1355
|
+
st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC3986 }), 'a%20b=a%20b');
|
|
1356
|
+
|
|
1357
|
+
st.end();
|
|
1358
|
+
});
|
|
1359
|
+
|
|
1360
|
+
t.test('Backward compatibility to RFC 3986', function (st) {
|
|
1361
|
+
st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
|
|
1362
|
+
st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }), 'a%20b=a%20b');
|
|
1363
|
+
|
|
1364
|
+
st.end();
|
|
1365
|
+
});
|
|
1366
|
+
|
|
1367
|
+
t.test('Edge cases and unknown formats', function (st) {
|
|
1368
|
+
['UFO1234', false, 1234, null, {}, []].forEach(function (format) {
|
|
1369
|
+
st['throws'](
|
|
1370
|
+
function () {
|
|
1371
|
+
qs.stringify({ a: 'b c' }, { format: format });
|
|
1372
|
+
},
|
|
1373
|
+
new TypeError('Unknown format option provided.')
|
|
1374
|
+
);
|
|
1375
|
+
});
|
|
1376
|
+
st.end();
|
|
1377
|
+
});
|
|
1378
|
+
|
|
1379
|
+
t.test('encodeValuesOnly', function (st) {
|
|
1380
|
+
st.equal(
|
|
1381
|
+
qs.stringify(
|
|
1382
|
+
{ a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
|
|
1383
|
+
{ encodeValuesOnly: true, arrayFormat: 'indices' }
|
|
1384
|
+
),
|
|
1385
|
+
'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h',
|
|
1386
|
+
'encodeValuesOnly + indices'
|
|
1387
|
+
);
|
|
1388
|
+
st.equal(
|
|
1389
|
+
qs.stringify(
|
|
1390
|
+
{ a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
|
|
1391
|
+
{ encodeValuesOnly: true, arrayFormat: 'brackets' }
|
|
1392
|
+
),
|
|
1393
|
+
'a=b&c[]=d&c[]=e%3Df&f[][]=g&f[][]=h',
|
|
1394
|
+
'encodeValuesOnly + brackets'
|
|
1395
|
+
);
|
|
1396
|
+
st.equal(
|
|
1397
|
+
qs.stringify(
|
|
1398
|
+
{ a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
|
|
1399
|
+
{ encodeValuesOnly: true, arrayFormat: 'repeat' }
|
|
1400
|
+
),
|
|
1401
|
+
'a=b&c=d&c=e%3Df&f=g&f=h',
|
|
1402
|
+
'encodeValuesOnly + repeat'
|
|
1403
|
+
);
|
|
1404
|
+
|
|
1405
|
+
st.equal(
|
|
1406
|
+
qs.stringify(
|
|
1407
|
+
{ a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
|
|
1408
|
+
{ arrayFormat: 'indices' }
|
|
1409
|
+
),
|
|
1410
|
+
'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h',
|
|
1411
|
+
'no encodeValuesOnly + indices'
|
|
1412
|
+
);
|
|
1413
|
+
st.equal(
|
|
1414
|
+
qs.stringify(
|
|
1415
|
+
{ a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
|
|
1416
|
+
{ arrayFormat: 'brackets' }
|
|
1417
|
+
),
|
|
1418
|
+
'a=b&c%5B%5D=d&c%5B%5D=e&f%5B%5D%5B%5D=g&f%5B%5D%5B%5D=h',
|
|
1419
|
+
'no encodeValuesOnly + brackets'
|
|
1420
|
+
);
|
|
1421
|
+
st.equal(
|
|
1422
|
+
qs.stringify(
|
|
1423
|
+
{ a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
|
|
1424
|
+
{ arrayFormat: 'repeat' }
|
|
1425
|
+
),
|
|
1426
|
+
'a=b&c=d&c=e&f=g&f=h',
|
|
1427
|
+
'no encodeValuesOnly + repeat'
|
|
1428
|
+
);
|
|
1429
|
+
|
|
1430
|
+
st.end();
|
|
1431
|
+
});
|
|
1432
|
+
|
|
1433
|
+
t.test('encodeValuesOnly - strictNullHandling', function (st) {
|
|
1434
|
+
st.equal(
|
|
1435
|
+
qs.stringify(
|
|
1436
|
+
{ a: { b: null } },
|
|
1437
|
+
{ encodeValuesOnly: true, strictNullHandling: true }
|
|
1438
|
+
),
|
|
1439
|
+
'a[b]'
|
|
1440
|
+
);
|
|
1441
|
+
st.end();
|
|
1442
|
+
});
|
|
1443
|
+
|
|
1444
|
+
t.test('strictNullHandling: applies the formatter to the encoded key (RFC1738)', function (st) {
|
|
1445
|
+
st.equal(
|
|
1446
|
+
qs.stringify(
|
|
1447
|
+
{ 'a b': null, 'c d': 'e f' },
|
|
1448
|
+
{ strictNullHandling: false, format: 'RFC1738' }
|
|
1449
|
+
),
|
|
1450
|
+
'a+b=&c+d=e+f',
|
|
1451
|
+
'without: as expected'
|
|
1452
|
+
);
|
|
1453
|
+
|
|
1454
|
+
st.equal(
|
|
1455
|
+
qs.stringify(
|
|
1456
|
+
{ 'a b': null, 'c d': 'e f' },
|
|
1457
|
+
{ strictNullHandling: true, format: 'RFC1738' }
|
|
1458
|
+
),
|
|
1459
|
+
'a+b&c+d=e+f',
|
|
1460
|
+
'with: as expected'
|
|
1461
|
+
);
|
|
1462
|
+
|
|
1463
|
+
st.end();
|
|
1464
|
+
});
|
|
1465
|
+
|
|
1466
|
+
t.test('throws if an invalid charset is specified', function (st) {
|
|
1467
|
+
st['throws'](function () {
|
|
1468
|
+
qs.stringify({ a: 'b' }, { charset: 'foobar' });
|
|
1469
|
+
}, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'));
|
|
1470
|
+
st.end();
|
|
1471
|
+
});
|
|
1472
|
+
|
|
1473
|
+
t.test('respects a charset of iso-8859-1', function (st) {
|
|
1474
|
+
st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6');
|
|
1475
|
+
st.end();
|
|
1476
|
+
});
|
|
1477
|
+
|
|
1478
|
+
t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) {
|
|
1479
|
+
st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B');
|
|
1480
|
+
st.end();
|
|
1481
|
+
});
|
|
1482
|
+
|
|
1483
|
+
t.test('respects an explicit charset of utf-8 (the default)', function (st) {
|
|
1484
|
+
st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6');
|
|
1485
|
+
st.end();
|
|
1486
|
+
});
|
|
1487
|
+
|
|
1488
|
+
t.test('`charsetSentinel` option', function (st) {
|
|
1489
|
+
st.equal(
|
|
1490
|
+
qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }),
|
|
1491
|
+
'utf8=%E2%9C%93&a=%C3%A6',
|
|
1492
|
+
'adds the right sentinel when instructed to and the charset is utf-8'
|
|
1493
|
+
);
|
|
1494
|
+
|
|
1495
|
+
st.equal(
|
|
1496
|
+
qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }),
|
|
1497
|
+
'utf8=%26%2310003%3B&a=%E6',
|
|
1498
|
+
'adds the right sentinel when instructed to and the charset is iso-8859-1'
|
|
1499
|
+
);
|
|
1500
|
+
|
|
1501
|
+
st.equal(
|
|
1502
|
+
qs.stringify({ a: 1, b: 2 }, { charsetSentinel: true, delimiter: ';' }),
|
|
1503
|
+
'utf8=%E2%9C%93;a=1;b=2',
|
|
1504
|
+
'uses the configured delimiter after the sentinel'
|
|
1505
|
+
);
|
|
1506
|
+
|
|
1507
|
+
st.end();
|
|
1508
|
+
});
|
|
1509
|
+
|
|
1510
|
+
t.test('does not mutate the options argument', function (st) {
|
|
1511
|
+
var options = {};
|
|
1512
|
+
qs.stringify({}, options);
|
|
1513
|
+
st.deepEqual(options, {});
|
|
1514
|
+
st.end();
|
|
1515
|
+
});
|
|
1516
|
+
|
|
1517
|
+
t.test('strictNullHandling works with custom filter', function (st) {
|
|
1518
|
+
var filter = function (prefix, value) {
|
|
1519
|
+
return value;
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
var options = { strictNullHandling: true, filter: filter };
|
|
1523
|
+
st.equal(qs.stringify({ key: null }, options), 'key');
|
|
1524
|
+
st.end();
|
|
1525
|
+
});
|
|
1526
|
+
|
|
1527
|
+
t.test('strictNullHandling works with null serializeDate', function (st) {
|
|
1528
|
+
var serializeDate = function () {
|
|
1529
|
+
return null;
|
|
1530
|
+
};
|
|
1531
|
+
var options = { strictNullHandling: true, serializeDate: serializeDate };
|
|
1532
|
+
var date = new Date();
|
|
1533
|
+
st.equal(qs.stringify({ key: date }, options), 'key');
|
|
1534
|
+
st.end();
|
|
1535
|
+
});
|
|
1536
|
+
|
|
1537
|
+
t.test('allows for encoding keys and values differently', function (st) {
|
|
1538
|
+
var encoder = function (str, defaultEncoder, charset, type) {
|
|
1539
|
+
if (type === 'key') {
|
|
1540
|
+
return defaultEncoder(str, defaultEncoder, charset, type).toLowerCase();
|
|
1541
|
+
}
|
|
1542
|
+
if (type === 'value') {
|
|
1543
|
+
return defaultEncoder(str, defaultEncoder, charset, type).toUpperCase();
|
|
1544
|
+
}
|
|
1545
|
+
throw 'this should never happen! type: ' + type;
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE');
|
|
1549
|
+
|
|
1550
|
+
var noopEncoder = function () { return 'x'; };
|
|
1551
|
+
noopEncoder();
|
|
1552
|
+
st['throws'](
|
|
1553
|
+
function () { encoder('x', noopEncoder, 'utf-8', 'unknown'); },
|
|
1554
|
+
'this should never happen! type: unknown',
|
|
1555
|
+
'encoder throws for unexpected type'
|
|
1556
|
+
);
|
|
1557
|
+
|
|
1558
|
+
st.end();
|
|
1559
|
+
});
|
|
1560
|
+
|
|
1561
|
+
t.test('objects inside arrays', function (st) {
|
|
1562
|
+
var obj = { a: { b: { c: 'd', e: 'f' } } };
|
|
1563
|
+
var withArray = { a: { b: [{ c: 'd', e: 'f' }] } };
|
|
1564
|
+
|
|
1565
|
+
st.equal(qs.stringify(obj, { encode: false }), 'a[b][c]=d&a[b][e]=f', 'no array, no arrayFormat');
|
|
1566
|
+
st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'brackets' }), 'a[b][c]=d&a[b][e]=f', 'no array, bracket');
|
|
1567
|
+
st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'indices' }), 'a[b][c]=d&a[b][e]=f', 'no array, indices');
|
|
1568
|
+
st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'no array, repeat');
|
|
1569
|
+
st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'comma' }), 'a[b][c]=d&a[b][e]=f', 'no array, comma');
|
|
1570
|
+
|
|
1571
|
+
st.equal(qs.stringify(withArray, { encode: false }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, no arrayFormat');
|
|
1572
|
+
st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'brackets' }), 'a[b][][c]=d&a[b][][e]=f', 'array, bracket');
|
|
1573
|
+
st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'indices' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, indices');
|
|
1574
|
+
st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'array, repeat');
|
|
1575
|
+
st.equal(
|
|
1576
|
+
qs.stringify(withArray, { encode: false, arrayFormat: 'comma' }),
|
|
1577
|
+
'???',
|
|
1578
|
+
'array, comma',
|
|
1579
|
+
{ skip: 'TODO: figure out what this should do' }
|
|
1580
|
+
);
|
|
1581
|
+
|
|
1582
|
+
st.end();
|
|
1583
|
+
});
|
|
1584
|
+
|
|
1585
|
+
t.test('stringifies sparse arrays', function (st) {
|
|
1586
|
+
/* eslint no-sparse-arrays: 0 */
|
|
1587
|
+
st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1]=2&a[4]=1');
|
|
1588
|
+
st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=2&a[]=1');
|
|
1589
|
+
st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=2&a=1');
|
|
1590
|
+
|
|
1591
|
+
st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][b][2][c]=1');
|
|
1592
|
+
st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][b][][c]=1');
|
|
1593
|
+
st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[b][c]=1');
|
|
1594
|
+
|
|
1595
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c]=1');
|
|
1596
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c]=1');
|
|
1597
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1');
|
|
1598
|
+
|
|
1599
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c][1]=1');
|
|
1600
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c][]=1');
|
|
1601
|
+
st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1');
|
|
1602
|
+
|
|
1603
|
+
st.end();
|
|
1604
|
+
});
|
|
1605
|
+
|
|
1606
|
+
t.test('encodes a very long string', function (st) {
|
|
1607
|
+
var chars = [];
|
|
1608
|
+
var expected = [];
|
|
1609
|
+
for (var i = 0; i < 5e3; i++) {
|
|
1610
|
+
chars.push(' ' + i);
|
|
1611
|
+
|
|
1612
|
+
expected.push('%20' + i);
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
var obj = {
|
|
1616
|
+
foo: chars.join('')
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
st.equal(
|
|
1620
|
+
qs.stringify(obj, { arrayFormat: 'brackets', charset: 'utf-8' }),
|
|
1621
|
+
'foo=' + expected.join('')
|
|
1622
|
+
);
|
|
1623
|
+
|
|
1624
|
+
st.end();
|
|
1625
|
+
});
|
|
1626
|
+
|
|
1627
|
+
t.end();
|
|
1628
|
+
});
|
|
1629
|
+
|
|
1630
|
+
test('stringifies empty keys', function (t) {
|
|
1631
|
+
emptyTestCases.forEach(function (testCase) {
|
|
1632
|
+
t.test('stringifies an object with empty string key with ' + testCase.input, function (st) {
|
|
1633
|
+
st.deepEqual(
|
|
1634
|
+
qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'indices' }),
|
|
1635
|
+
testCase.stringifyOutput.indices,
|
|
1636
|
+
'test case: ' + testCase.input + ', indices'
|
|
1637
|
+
);
|
|
1638
|
+
st.deepEqual(
|
|
1639
|
+
qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'brackets' }),
|
|
1640
|
+
testCase.stringifyOutput.brackets,
|
|
1641
|
+
'test case: ' + testCase.input + ', brackets'
|
|
1642
|
+
);
|
|
1643
|
+
st.deepEqual(
|
|
1644
|
+
qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'repeat' }),
|
|
1645
|
+
testCase.stringifyOutput.repeat,
|
|
1646
|
+
'test case: ' + testCase.input + ', repeat'
|
|
1647
|
+
);
|
|
1648
|
+
|
|
1649
|
+
st.end();
|
|
1650
|
+
});
|
|
1651
|
+
});
|
|
1652
|
+
|
|
1653
|
+
t.test('edge case with object/arrays', function (st) {
|
|
1654
|
+
st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false }), '[][0]=2&[][1]=3');
|
|
1655
|
+
st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false }), '[][0]=2&[][1]=3&[a]=2');
|
|
1656
|
+
st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3');
|
|
1657
|
+
st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3&[a]=2');
|
|
1658
|
+
|
|
1659
|
+
st.end();
|
|
1660
|
+
});
|
|
1661
|
+
|
|
1662
|
+
t.test('stringifies non-string keys', function (st) {
|
|
1663
|
+
var S = Object('abc');
|
|
1664
|
+
S.toString = function () {
|
|
1665
|
+
return 'd';
|
|
1666
|
+
};
|
|
1667
|
+
var actual = qs.stringify({ a: 'b', 'false': {}, 1e+22: 'c', d: 'e' }, {
|
|
1668
|
+
filter: ['a', false, null, 10000000000000000000000, S],
|
|
1669
|
+
allowDots: true,
|
|
1670
|
+
encodeDotInKeys: true
|
|
1671
|
+
});
|
|
1672
|
+
|
|
1673
|
+
st.equal(actual, 'a=b&1e%2B22=c&d=e', 'stringifies correctly');
|
|
1674
|
+
|
|
1675
|
+
st.end();
|
|
1676
|
+
});
|
|
1677
|
+
|
|
1678
|
+
t.test('round-trips keys containing percent-encoded bracket text', function (st) {
|
|
1679
|
+
var cases = [
|
|
1680
|
+
{ 'a%5Bb': 'c' },
|
|
1681
|
+
{ 'a%5Db': 'c' },
|
|
1682
|
+
{ 'a%255Bb': 'c' },
|
|
1683
|
+
{ 'a%255Db': 'c' },
|
|
1684
|
+
{ a: { 'b%5Bc': 'd' } },
|
|
1685
|
+
{ a: { 'b%255Bc': 'd' } },
|
|
1686
|
+
{ 'a%5B%255Bb': 'c' }
|
|
1687
|
+
];
|
|
1688
|
+
for (var i = 0; i < cases.length; i++) {
|
|
1689
|
+
st.deepEqual(
|
|
1690
|
+
qs.parse(qs.stringify(cases[i])),
|
|
1691
|
+
cases[i],
|
|
1692
|
+
'round-trips ' + JSON.stringify(cases[i])
|
|
1693
|
+
);
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
st.end();
|
|
1697
|
+
});
|
|
1698
|
+
|
|
1699
|
+
t.test('parses input containing percent-encoded bracket text without mangling', function (st) {
|
|
1700
|
+
st.deepEqual(qs.parse('a%25255Bb=c'), { 'a%255Bb': 'c' }, 'a%25255Bb decodes to a%255Bb, not a%5Bb');
|
|
1701
|
+
st.deepEqual(qs.parse('a%25255Db=c'), { 'a%255Db': 'c' }, 'a%25255Db decodes to a%255Db, not a%5Db');
|
|
1702
|
+
st.deepEqual(qs.parse('a%5Bb%25255Bc%5D=d'), { a: { 'b%255Bc': 'd' } }, 'nested %25255B decodes to %255B inside segment, not %5B');
|
|
1703
|
+
|
|
1704
|
+
st.end();
|
|
1705
|
+
});
|
|
1706
|
+
|
|
1707
|
+
t.test('limits nesting depth with the `depth` option', function (st) {
|
|
1708
|
+
st.equal(
|
|
1709
|
+
qs.stringify({ a: { b: { c: 'd' } } }),
|
|
1710
|
+
'a%5Bb%5D%5Bc%5D=d',
|
|
1711
|
+
'the default depth is unlimited and does not alter output'
|
|
1712
|
+
);
|
|
1713
|
+
st.equal(
|
|
1714
|
+
qs.stringify({ a: { b: { c: 'd' } } }, { depth: 2 }),
|
|
1715
|
+
'a%5Bb%5D%5Bc%5D=d',
|
|
1716
|
+
'does not throw when nesting is within the depth limit'
|
|
1717
|
+
);
|
|
1718
|
+
st.equal(
|
|
1719
|
+
qs.stringify({ a: { b: 'c' } }, { depth: Infinity }),
|
|
1720
|
+
'a%5Bb%5D=c',
|
|
1721
|
+
'an explicit Infinity depth is unlimited'
|
|
1722
|
+
);
|
|
1723
|
+
st.equal(
|
|
1724
|
+
qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: null }),
|
|
1725
|
+
qs.stringify({ a: { b: { c: { d: 'e' } } } }),
|
|
1726
|
+
'a non-number depth is ignored and treated as unlimited'
|
|
1727
|
+
);
|
|
1728
|
+
st.equal(
|
|
1729
|
+
qs.stringify({ a: 'b' }, { depth: 0 }),
|
|
1730
|
+
'a=b',
|
|
1731
|
+
'a flat object serializes with a depth of 0'
|
|
1732
|
+
);
|
|
1733
|
+
|
|
1734
|
+
var deep = {};
|
|
1735
|
+
var cursor = deep;
|
|
1736
|
+
for (var i = 0; i < 250; i++) {
|
|
1737
|
+
cursor.a = {};
|
|
1738
|
+
cursor = cursor.a;
|
|
1739
|
+
}
|
|
1740
|
+
cursor.b = 'c';
|
|
1741
|
+
st.equal(typeof qs.stringify(deep), 'string', 'the default depth serializes deeply nested objects without throwing');
|
|
1742
|
+
|
|
1743
|
+
st['throws'](
|
|
1744
|
+
function () { qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: 2 }); },
|
|
1745
|
+
RangeError,
|
|
1746
|
+
'throws a RangeError when nesting exceeds the depth limit'
|
|
1747
|
+
);
|
|
1748
|
+
st['throws'](
|
|
1749
|
+
function () { qs.stringify({ a: { b: 'c' } }, { depth: 0 }); },
|
|
1750
|
+
RangeError,
|
|
1751
|
+
'a depth of 0 throws for any nested object'
|
|
1752
|
+
);
|
|
1753
|
+
|
|
1754
|
+
var caught;
|
|
1755
|
+
try {
|
|
1756
|
+
qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: 2 });
|
|
1757
|
+
} catch (e) {
|
|
1758
|
+
caught = e;
|
|
1759
|
+
}
|
|
1760
|
+
st.ok(caught instanceof RangeError, 'the thrown value is a RangeError');
|
|
1761
|
+
st.equal(caught.message, 'Input depth exceeded depth option of 2', 'the RangeError names the exceeded depth');
|
|
1762
|
+
|
|
1763
|
+
st.end();
|
|
1764
|
+
});
|
|
1765
|
+
});
|