windows-development-sandbox 1.4.3 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.sandbox-config.example.json +1 -2
- package/README.md +10 -9
- package/config.example.json +176 -8
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/cli/args.d.ts +28 -2
- package/dist/cli/args.js +119 -25
- package/dist/cli/commands/accounts.js +61 -32
- package/dist/cli/commands/agent-commands.d.ts +1 -1
- package/dist/cli/commands/agent-commands.js +10 -35
- package/dist/cli/commands/context.d.ts +8 -0
- package/dist/cli/commands/context.js +9 -2
- package/dist/cli/commands/data/clean.d.ts +1 -13
- package/dist/cli/commands/data/clean.js +40 -102
- package/dist/cli/commands/data/index.js +4 -5
- package/dist/cli/commands/index.d.ts +3 -1
- package/dist/cli/commands/index.js +3 -1
- package/dist/cli/commands/launch/add-root.d.ts +3 -2
- package/dist/cli/commands/launch/add-root.js +11 -10
- package/dist/cli/commands/launch/first-start.d.ts +1 -1
- package/dist/cli/commands/launch/first-start.js +1 -1
- package/dist/cli/commands/launch/launch.d.ts +3 -0
- package/dist/cli/commands/launch/launch.js +124 -9
- package/dist/cli/commands/launch/prepare.d.ts +2 -2
- package/dist/cli/commands/launch/prepare.js +4 -3
- package/dist/cli/commands/launch/resume-offer.d.ts +8 -0
- package/dist/cli/commands/launch/resume-offer.js +41 -0
- package/dist/cli/commands/maintenance/audit.js +1 -1
- package/dist/cli/commands/maintenance/clean.d.ts +1 -1
- package/dist/cli/commands/maintenance/clean.js +17 -3
- package/dist/cli/commands/maintenance/config.d.ts +1 -1
- package/dist/cli/commands/maintenance/config.js +112 -10
- package/dist/cli/commands/maintenance/doctor.d.ts +1 -1
- package/dist/cli/commands/maintenance/doctor.js +2 -50
- package/dist/cli/commands/maintenance/host-claude.d.ts +3 -0
- package/dist/cli/commands/maintenance/host-claude.js +11 -1
- package/dist/cli/commands/maintenance/index.d.ts +2 -0
- package/dist/cli/commands/maintenance/index.js +2 -0
- package/dist/cli/commands/maintenance/logs.js +8 -28
- package/dist/cli/commands/maintenance/migrate.d.ts +14 -0
- package/dist/cli/commands/maintenance/migrate.js +70 -0
- package/dist/cli/commands/maintenance/sync.js +2 -0
- package/dist/cli/commands/maintenance/update.d.ts +24 -0
- package/dist/cli/commands/maintenance/update.js +129 -0
- package/dist/cli/commands/maintenance/watch.js +5 -1
- package/dist/cli/commands/projects/here.d.ts +3 -1
- package/dist/cli/commands/projects/here.js +31 -9
- package/dist/cli/commands/projects/projects.d.ts +0 -12
- package/dist/cli/commands/projects/projects.js +63 -114
- package/dist/cli/commands/projects/restart.d.ts +2 -12
- package/dist/cli/commands/projects/restart.js +10 -53
- package/dist/cli/commands/registry.js +12 -1
- package/dist/cli/commands/repair/checks/agents.d.ts +2 -0
- package/dist/cli/commands/repair/checks/agents.js +70 -0
- package/dist/cli/commands/repair/checks/common.d.ts +8 -0
- package/dist/cli/commands/repair/checks/common.js +22 -0
- package/dist/cli/commands/repair/checks/data.d.ts +2 -0
- package/dist/cli/commands/repair/checks/data.js +241 -0
- package/dist/cli/commands/repair/checks/index.d.ts +2 -0
- package/dist/cli/commands/repair/checks/index.js +20 -0
- package/dist/cli/commands/repair/checks/install.d.ts +5 -0
- package/dist/cli/commands/repair/checks/install.js +318 -0
- package/dist/cli/commands/repair/checks/machine.d.ts +2 -0
- package/dist/cli/commands/repair/checks/machine.js +232 -0
- package/dist/cli/commands/repair/checks/network.d.ts +6 -0
- package/dist/cli/commands/repair/checks/network.js +60 -0
- package/dist/cli/commands/repair/checks/pc.d.ts +4 -0
- package/dist/cli/commands/repair/checks/pc.js +55 -0
- package/dist/cli/commands/repair/checks/sandbox.d.ts +2 -0
- package/dist/cli/commands/repair/checks/sandbox.js +267 -0
- package/dist/cli/commands/repair/checks/settings.d.ts +2 -0
- package/dist/cli/commands/repair/checks/settings.js +169 -0
- package/dist/cli/commands/repair/checks/vpn.d.ts +2 -0
- package/dist/cli/commands/repair/checks/vpn.js +53 -0
- package/dist/cli/commands/repair/engine.d.ts +32 -0
- package/dist/cli/commands/repair/engine.js +127 -0
- package/dist/cli/commands/repair/env.d.ts +7 -0
- package/dist/cli/commands/repair/env.js +49 -0
- package/dist/cli/commands/repair/index.d.ts +1 -12
- package/dist/cli/commands/repair/index.js +2 -87
- package/dist/cli/commands/repair/log.d.ts +17 -0
- package/dist/cli/commands/repair/log.js +82 -0
- package/dist/cli/commands/repair/printer.d.ts +32 -0
- package/dist/cli/commands/repair/printer.js +132 -0
- package/dist/cli/commands/repair/run.d.ts +33 -0
- package/dist/cli/commands/repair/run.js +133 -0
- package/dist/cli/commands/repair/types.d.ts +97 -9
- package/dist/cli/commands/repair/types.js +11 -7
- package/dist/cli/commands/resume.d.ts +2 -0
- package/dist/cli/commands/resume.js +61 -0
- package/dist/cli/commands/sessions/attach.d.ts +1 -1
- package/dist/cli/commands/sessions/attach.js +13 -14
- package/dist/cli/commands/sessions/control.d.ts +1 -1
- package/dist/cli/commands/sessions/control.js +23 -19
- package/dist/cli/commands/sessions/exec.d.ts +2 -2
- package/dist/cli/commands/sessions/exec.js +14 -14
- package/dist/cli/commands/sessions/list.d.ts +1 -14
- package/dist/cli/commands/sessions/list.js +24 -41
- package/dist/cli/commands/sessions/reopen.d.ts +36 -0
- package/dist/cli/commands/sessions/reopen.js +99 -0
- package/dist/cli/commands/sessions/status.d.ts +3 -1
- package/dist/cli/commands/sessions/status.js +64 -103
- package/dist/cli/commands/sessions/window.d.ts +1 -1
- package/dist/cli/commands/sessions/window.js +7 -7
- package/dist/cli/commands/setup/facts.js +2 -12
- package/dist/cli/commands/setup/index.d.ts +5 -0
- package/dist/cli/commands/setup/index.js +29 -20
- package/dist/cli/commands/shared-use.d.ts +29 -0
- package/dist/cli/commands/shared-use.js +69 -0
- package/dist/cli/commands/storage/index.d.ts +2 -0
- package/dist/cli/commands/storage/index.js +2 -0
- package/dist/cli/commands/storage/offer.d.ts +3 -0
- package/dist/cli/commands/storage/offer.js +85 -0
- package/dist/cli/commands/storage/storage.d.ts +8 -0
- package/dist/cli/commands/storage/storage.js +171 -0
- package/dist/cli/commands/user-config.js +1 -1
- package/dist/cli/commands/vpn.d.ts +4 -0
- package/dist/cli/commands/vpn.js +75 -0
- package/dist/cli/commands/web.d.ts +4 -0
- package/dist/cli/commands/web.js +95 -0
- package/dist/cli/history.js +1 -1
- package/dist/cli/index.js +59 -5
- package/dist/cli/manifest.d.ts +484 -29
- package/dist/cli/manifest.js +252 -47
- package/dist/cli/menu/add-agent.d.ts +47 -0
- package/dist/cli/menu/add-agent.js +168 -0
- package/dist/cli/menu/apps.d.ts +55 -15
- package/dist/cli/menu/apps.js +125 -117
- package/dist/cli/menu/command-fields.d.ts +18 -0
- package/dist/cli/menu/command-fields.js +61 -0
- package/dist/cli/menu/command-form.d.ts +27 -0
- package/dist/cli/menu/command-form.js +205 -65
- package/dist/cli/menu/data-folder.d.ts +18 -0
- package/dist/cli/menu/data-folder.js +99 -0
- package/dist/cli/menu/menu.d.ts +7 -12
- package/dist/cli/menu/menu.js +84 -96
- package/dist/cli/menu/pages/accounts-page.d.ts +29 -0
- package/dist/cli/menu/pages/accounts-page.js +199 -0
- package/dist/cli/menu/pages/agents-page.d.ts +66 -0
- package/dist/cli/menu/pages/agents-page.js +338 -0
- package/dist/cli/menu/pages/apps-page.d.ts +26 -0
- package/dist/cli/menu/pages/apps-page.js +74 -0
- package/dist/cli/menu/pages/list-page.d.ts +55 -0
- package/dist/cli/menu/pages/list-page.js +97 -0
- package/dist/cli/menu/pages/maintenance-page.d.ts +85 -0
- package/dist/cli/menu/pages/maintenance-page.js +572 -0
- package/dist/cli/menu/pages/sandbox-page.d.ts +35 -0
- package/dist/cli/menu/pages/sandbox-page.js +362 -0
- package/dist/cli/menu/pages/scopes.d.ts +9 -0
- package/dist/cli/menu/pages/scopes.js +15 -0
- package/dist/cli/menu/pages/sessions-page.d.ts +24 -0
- package/dist/cli/menu/pages/sessions-page.js +110 -0
- package/dist/cli/menu/pages/settings-page.d.ts +35 -0
- package/dist/cli/menu/pages/settings-page.js +230 -0
- package/dist/cli/menu/settings/categories.d.ts +2 -0
- package/dist/cli/menu/settings/categories.js +22 -40
- package/dist/cli/menu/settings/collections/collection-editor.d.ts +9 -3
- package/dist/cli/menu/settings/collections/collection-editor.js +18 -30
- package/dist/cli/menu/settings/collections/map-editor.js +5 -1
- package/dist/cli/menu/settings/collections/object-list-editor.js +2 -2
- package/dist/cli/menu/settings/collections/object-map-editor.js +2 -2
- package/dist/cli/menu/settings/collections/string-list-editor.d.ts +11 -1
- package/dist/cli/menu/settings/collections/string-list-editor.js +23 -0
- package/dist/cli/menu/settings/config-file.d.ts +9 -0
- package/dist/cli/menu/settings/config-file.js +18 -7
- package/dist/cli/menu/settings/draft.d.ts +26 -0
- package/dist/cli/menu/settings/draft.js +67 -0
- package/dist/cli/menu/settings/editor-actions.d.ts +0 -1
- package/dist/cli/menu/settings/editor-actions.js +0 -1
- package/dist/cli/menu/settings/index.d.ts +3 -3
- package/dist/cli/menu/settings/index.js +2 -2
- package/dist/cli/menu/settings/object-editor.d.ts +5 -1
- package/dist/cli/menu/settings/object-editor.js +23 -32
- package/dist/cli/menu/settings/path-kind.d.ts +20 -0
- package/dist/cli/menu/settings/path-kind.js +44 -0
- package/dist/cli/menu/settings/schema-node.d.ts +9 -0
- package/dist/cli/menu/settings/schema-node.js +26 -0
- package/dist/cli/menu/settings/value-editor.d.ts +5 -0
- package/dist/cli/menu/settings/value-editor.js +51 -18
- package/dist/cli/menu/several.js +7 -5
- package/dist/cli/menu/shell.d.ts +81 -0
- package/dist/cli/menu/shell.js +189 -0
- package/dist/cli/menu/vpn-login.d.ts +16 -0
- package/dist/cli/menu/vpn-login.js +66 -0
- package/dist/cli/output/print.d.ts +2 -0
- package/dist/cli/output/print.js +8 -1
- package/dist/cli/services/accounts-service.d.ts +46 -0
- package/dist/cli/services/accounts-service.js +115 -0
- package/dist/cli/services/agent-commands-service.d.ts +22 -0
- package/dist/cli/services/agent-commands-service.js +44 -0
- package/dist/cli/services/data-service.d.ts +43 -0
- package/dist/cli/services/data-service.js +66 -0
- package/dist/cli/services/data-targets.d.ts +13 -0
- package/dist/cli/services/data-targets.js +67 -0
- package/dist/cli/services/databases-service.d.ts +27 -0
- package/dist/cli/services/databases-service.js +57 -0
- package/dist/cli/services/health-service.d.ts +22 -0
- package/dist/cli/services/health-service.js +83 -0
- package/dist/cli/services/index.d.ts +14 -0
- package/dist/cli/services/index.js +14 -0
- package/dist/cli/services/logs-service.d.ts +25 -0
- package/dist/cli/services/logs-service.js +54 -0
- package/dist/cli/services/migrate-service.d.ts +29 -0
- package/dist/cli/services/migrate-service.js +43 -0
- package/dist/cli/services/projects-service.d.ts +56 -0
- package/dist/cli/services/projects-service.js +111 -0
- package/dist/cli/services/sandbox-service.d.ts +78 -0
- package/dist/cli/services/sandbox-service.js +125 -0
- package/dist/cli/services/sessions-service.d.ts +42 -0
- package/dist/cli/services/sessions-service.js +81 -0
- package/dist/cli/services/update-service.d.ts +76 -0
- package/dist/cli/services/update-service.js +192 -0
- package/dist/cli/services/vpn-service.d.ts +28 -0
- package/dist/cli/services/vpn-service.js +46 -0
- package/dist/cli/services/web-service.d.ts +22 -0
- package/dist/cli/services/web-service.js +111 -0
- package/dist/cli/tui/app.d.ts +16 -0
- package/dist/cli/tui/app.js +44 -3
- package/dist/cli/tui/dialogs/overlay.d.ts +34 -0
- package/dist/cli/tui/dialogs/overlay.js +104 -0
- package/dist/cli/tui/dialogs/path-listing.d.ts +43 -0
- package/dist/cli/tui/dialogs/path-listing.js +127 -0
- package/dist/cli/tui/dialogs/path-picker.d.ts +67 -0
- package/dist/cli/tui/dialogs/path-picker.js +423 -0
- package/dist/cli/tui/dialogs/text-screen.d.ts +6 -0
- package/dist/cli/tui/dialogs/text-screen.js +10 -3
- package/dist/cli/tui/frame.d.ts +9 -3
- package/dist/cli/tui/frame.js +17 -6
- package/dist/cli/tui/index.d.ts +7 -3
- package/dist/cli/tui/index.js +4 -0
- package/dist/cli/tui/key-bar.d.ts +5 -0
- package/dist/cli/tui/key-bar.js +22 -0
- package/dist/cli/tui/list/list-screen.d.ts +22 -1
- package/dist/cli/tui/list/list-screen.js +113 -37
- package/dist/cli/tui/list/list-types.d.ts +17 -2
- package/dist/cli/tui/nav.d.ts +29 -0
- package/dist/cli/tui/nav.js +67 -0
- package/dist/cli/tui/text.js +4 -1
- package/dist/cli/validate.d.ts +1 -1
- package/dist/cli/validate.js +3 -3
- package/dist/cli/version.d.ts +2 -0
- package/dist/cli/version.js +11 -0
- package/dist/core/config/defaults.js +82 -8
- package/dist/core/config/index.d.ts +1 -1
- package/dist/core/config/index.js +1 -1
- package/dist/core/config/loader.d.ts +13 -9
- package/dist/core/config/loader.js +71 -20
- package/dist/core/detect/databases.d.ts +2 -2
- package/dist/core/detect/databases.js +4 -4
- package/dist/core/detect/pwsh.d.ts +4 -4
- package/dist/core/detect/pwsh.js +11 -11
- package/dist/core/detect/toolchains.d.ts +7 -4
- package/dist/core/detect/toolchains.js +15 -6
- package/dist/core/detect/versions.d.ts +22 -14
- package/dist/core/detect/versions.js +43 -29
- package/dist/core/disk.d.ts +13 -7
- package/dist/core/disk.js +18 -12
- package/dist/core/local-config/file.d.ts +1 -1
- package/dist/core/local-config/file.js +2 -2
- package/dist/core/local-config/overrides.d.ts +7 -7
- package/dist/core/local-config/overrides.js +21 -18
- package/dist/core/local-config/policy.d.ts +2 -2
- package/dist/core/local-config/policy.js +5 -3
- package/dist/core/local-config/trust.d.ts +6 -6
- package/dist/core/local-config/trust.js +16 -8
- package/dist/core/package-info.d.ts +1 -1
- package/dist/core/package-info.js +2 -2
- package/dist/core/prompt.d.ts +21 -2
- package/dist/core/prompt.js +47 -6
- package/dist/core/run/guest-workspace.d.ts +6 -2
- package/dist/core/run/guest-workspace.js +4 -1
- package/dist/core/run/resolve-run.d.ts +5 -2
- package/dist/core/run/resolve-run.js +6 -3
- package/dist/core/run/versions.d.ts +3 -3
- package/dist/core/run/versions.js +4 -4
- package/dist/core/safe-paths.d.ts +6 -3
- package/dist/core/safe-paths.js +8 -5
- package/dist/core/schema/common.d.ts +9 -3
- package/dist/core/schema/common.js +17 -3
- package/dist/core/schema/config.d.ts +52 -10
- package/dist/core/schema/config.js +14 -2
- package/dist/core/schema/databases.d.ts +1 -1
- package/dist/core/schema/databases.js +4 -2
- package/dist/core/schema/harness.d.ts +15 -0
- package/dist/core/schema/harness.js +33 -2
- package/dist/core/schema/index.d.ts +3 -1
- package/dist/core/schema/index.js +3 -1
- package/dist/core/schema/json-schema.d.ts +2 -2
- package/dist/core/schema/json-schema.js +10 -8
- package/dist/core/schema/profile.d.ts +1 -0
- package/dist/core/schema/profile.js +3 -0
- package/dist/core/schema/redact.d.ts +13 -0
- package/dist/core/schema/redact.js +75 -0
- package/dist/core/schema/resume.d.ts +11 -0
- package/dist/core/schema/resume.js +12 -0
- package/dist/core/schema/sandbox.d.ts +3 -0
- package/dist/core/schema/sandbox.js +6 -0
- package/dist/core/schema/toolchains.d.ts +3 -3
- package/dist/core/schema/toolchains.js +7 -5
- package/dist/core/schema/vpn.d.ts +17 -0
- package/dist/core/schema/vpn.js +22 -0
- package/dist/core/schema/web.d.ts +6 -0
- package/dist/core/schema/web.js +14 -0
- package/dist/core/types.d.ts +46 -3
- package/dist/core/util/errors.d.ts +1 -1
- package/dist/core/util/errors.js +3 -1
- package/dist/core/util/fs.d.ts +7 -7
- package/dist/core/util/fs.js +16 -12
- package/dist/core/util/index.d.ts +2 -2
- package/dist/core/util/index.js +2 -2
- package/dist/core/util/jsonc.d.ts +2 -2
- package/dist/core/util/jsonc.js +9 -4
- package/dist/core/util/links.d.ts +3 -3
- package/dist/core/util/links.js +6 -6
- package/dist/core/util/paths.d.ts +8 -6
- package/dist/core/util/paths.js +19 -13
- package/dist/core/util/process.d.ts +7 -11
- package/dist/core/util/process.js +8 -49
- package/dist/core/util/text.d.ts +6 -4
- package/dist/core/util/text.js +17 -4
- package/dist/guest/agents/agent-files.d.ts +49 -0
- package/dist/guest/agents/agent-files.js +63 -0
- package/dist/guest/agents/agent-installer.d.ts +21 -10
- package/dist/guest/agents/agent-installer.js +76 -66
- package/dist/guest/agents/local-state.d.ts +12 -0
- package/dist/guest/agents/local-state.js +198 -0
- package/dist/guest/agents/profile-links.d.ts +5 -0
- package/dist/guest/agents/profile-links.js +27 -0
- package/dist/guest/agents/sbx-agent.d.ts +2 -0
- package/dist/guest/agents/sbx-agent.js +35 -0
- package/dist/guest/apps/shortcuts.d.ts +1 -1
- package/dist/guest/apps/shortcuts.js +11 -20
- package/dist/guest/audit/parse.d.ts +1 -1
- package/dist/guest/audit/parse.js +2 -2
- package/dist/guest/audit/process-audit.d.ts +2 -2
- package/dist/guest/audit/process-audit.js +4 -4
- package/dist/guest/boot/boot-env.d.ts +2 -2
- package/dist/guest/boot/boot-env.js +4 -4
- package/dist/guest/boot/boot.d.ts +22 -1
- package/dist/guest/boot/boot.js +209 -121
- package/dist/guest/boot/guide.d.ts +4 -4
- package/dist/guest/boot/guide.js +44 -40
- package/dist/guest/boot/project-env.d.ts +1 -1
- package/dist/guest/boot/project-env.js +2 -2
- package/dist/guest/boot/project-status.d.ts +2 -2
- package/dist/guest/boot/project-status.js +5 -3
- package/dist/guest/daemon/daemon.d.ts +7 -1
- package/dist/guest/daemon/daemon.js +51 -42
- package/dist/guest/daemon/exec.d.ts +3 -3
- package/dist/guest/daemon/exec.js +11 -6
- package/dist/guest/daemon/idle-shutdown.d.ts +8 -1
- package/dist/guest/daemon/idle-shutdown.js +28 -14
- package/dist/guest/daemon/project-provisioner.d.ts +17 -8
- package/dist/guest/daemon/project-provisioner.js +68 -58
- package/dist/guest/daemon/relays.d.ts +1 -1
- package/dist/guest/daemon/relays.js +2 -2
- package/dist/guest/daemon/sessions.d.ts +30 -8
- package/dist/guest/daemon/sessions.js +174 -106
- package/dist/guest/daemon/state.d.ts +5 -14
- package/dist/guest/daemon/state.js +16 -13
- package/dist/guest/entries/agent.d.ts +1 -0
- package/dist/guest/entries/agent.js +10 -0
- package/dist/guest/entries/daemon.js +4 -2
- package/dist/guest/entries/db.js +4 -2
- package/dist/guest/git/decision.d.ts +1 -1
- package/dist/guest/git/decision.js +2 -2
- package/dist/guest/network/addresses.d.ts +1 -1
- package/dist/guest/network/addresses.js +6 -4
- package/dist/guest/network/allow-only.d.ts +2 -2
- package/dist/guest/network/allow-only.js +4 -4
- package/dist/guest/network/firewall.d.ts +2 -2
- package/dist/guest/network/firewall.js +12 -12
- package/dist/guest/runtime/csc.d.ts +14 -3
- package/dist/guest/runtime/csc.js +29 -11
- package/dist/guest/runtime/fs.d.ts +2 -2
- package/dist/guest/runtime/fs.js +5 -3
- package/dist/guest/runtime/log.d.ts +2 -2
- package/dist/guest/runtime/log.js +4 -4
- package/dist/guest/runtime/ports.d.ts +6 -4
- package/dist/guest/runtime/ports.js +22 -16
- package/dist/guest/runtime/process.d.ts +17 -9
- package/dist/guest/runtime/process.js +38 -14
- package/dist/guest/runtime/project-context.d.ts +3 -3
- package/dist/guest/runtime/project-context.js +9 -3
- package/dist/guest/runtime/secrets.d.ts +12 -0
- package/dist/guest/runtime/secrets.js +63 -0
- package/dist/guest/sessions/cmdline.d.ts +3 -3
- package/dist/guest/sessions/cmdline.js +10 -6
- package/dist/guest/sessions/conversation.d.ts +5 -0
- package/dist/guest/sessions/conversation.js +38 -0
- package/dist/guest/sessions/pty-host.d.ts +5 -5
- package/dist/guest/sessions/pty-host.js +17 -10
- package/dist/guest/sessions/viewer.d.ts +1 -1
- package/dist/guest/sessions/viewer.js +2 -2
- package/dist/guest/setup/claude-mem.d.ts +2 -2
- package/dist/guest/setup/claude-mem.js +9 -6
- package/dist/guest/setup/claude-profile.d.ts +3 -2
- package/dist/guest/setup/claude-profile.js +16 -5
- package/dist/guest/setup/desktop.d.ts +1 -1
- package/dist/guest/setup/desktop.js +4 -13
- package/dist/guest/setup/environment.d.ts +9 -3
- package/dist/guest/setup/environment.js +77 -34
- package/dist/guest/setup/git-identity.d.ts +1 -1
- package/dist/guest/setup/git-identity.js +2 -2
- package/dist/guest/setup/git-rules.d.ts +1 -1
- package/dist/guest/setup/git-rules.js +2 -2
- package/dist/guest/setup/hooks.d.ts +3 -3
- package/dist/guest/setup/hooks.js +10 -8
- package/dist/guest/setup/managed-policy.d.ts +2 -2
- package/dist/guest/setup/managed-policy.js +5 -3
- package/dist/guest/setup/path-plan.d.ts +32 -0
- package/dist/guest/setup/path-plan.js +67 -0
- package/dist/guest/setup/shell-path.d.ts +1 -0
- package/dist/guest/setup/shell-path.js +22 -0
- package/dist/guest/toolchains/languages/python.js +1 -1
- package/dist/guest/toolchains/native/mesa.js +2 -2
- package/dist/guest/toolchains/native/rust-extras.d.ts +2 -2
- package/dist/guest/toolchains/native/rust-extras.js +4 -4
- package/dist/guest/toolchains/native/vcruntime.js +2 -10
- package/dist/guest/toolchains/plan.js +8 -3
- package/dist/guest/toolchains/runtimes.js +2 -2
- package/dist/guest/toolchains/tools/cli.js +3 -3
- package/dist/guest/toolchains/tools/vscode.js +4 -9
- package/dist/guest/vpn/index.d.ts +1 -0
- package/dist/guest/vpn/index.js +1 -0
- package/dist/guest/vpn/openvpn.d.ts +9 -0
- package/dist/guest/vpn/openvpn.js +47 -0
- package/dist/guest/vpn/tunnel.d.ts +17 -0
- package/dist/guest/vpn/tunnel.js +78 -0
- package/dist/guest/vpn/vpn.d.ts +6 -0
- package/dist/guest/vpn/vpn.js +126 -0
- package/dist/host/agent-commands/commands.d.ts +4 -4
- package/dist/host/agent-commands/commands.js +12 -8
- package/dist/host/agent-commands/forwarders.d.ts +2 -2
- package/dist/host/agent-commands/forwarders.js +14 -12
- package/dist/host/agent-commands/reconcile.d.ts +1 -1
- package/dist/host/agent-commands/reconcile.js +4 -4
- package/dist/host/agent-commands/user-path.d.ts +5 -2
- package/dist/host/agent-commands/user-path.js +15 -23
- package/dist/host/audit/collect.d.ts +2 -2
- package/dist/host/audit/collect.js +6 -2
- package/dist/host/audit/log.d.ts +1 -1
- package/dist/host/audit/log.js +2 -2
- package/dist/host/channel/attach.d.ts +7 -5
- package/dist/host/channel/attach.js +9 -9
- package/dist/host/channel/channel.d.ts +10 -1
- package/dist/host/channel/channel.js +29 -3
- package/dist/host/health/acl-read.d.ts +17 -0
- package/dist/host/health/acl-read.js +45 -0
- package/dist/host/health/config-backup.d.ts +11 -0
- package/dist/host/health/config-backup.js +73 -0
- package/dist/host/health/index.d.ts +6 -0
- package/dist/host/health/index.js +7 -0
- package/dist/host/health/install-state.d.ts +33 -0
- package/dist/host/health/install-state.js +110 -0
- package/dist/host/health/path-copies.d.ts +32 -0
- package/dist/host/health/path-copies.js +82 -0
- package/dist/host/health/stale.d.ts +45 -0
- package/dist/host/health/stale.js +120 -0
- package/dist/host/health/system.d.ts +37 -0
- package/dist/host/health/system.js +87 -0
- package/dist/host/install/copies.d.ts +13 -0
- package/dist/host/install/copies.js +63 -0
- package/dist/host/install/index.d.ts +5 -0
- package/dist/host/install/index.js +5 -0
- package/dist/host/install/install-record.d.ts +19 -0
- package/dist/host/install/install-record.js +28 -0
- package/dist/host/install/layout.d.ts +29 -0
- package/dist/host/install/layout.js +111 -0
- package/dist/host/install/scheduled-task.d.ts +10 -0
- package/dist/host/install/scheduled-task.js +40 -0
- package/dist/host/install/shims.d.ts +10 -0
- package/dist/host/install/shims.js +55 -0
- package/dist/host/launch/generate.js +25 -1
- package/dist/host/launch/index.d.ts +1 -1
- package/dist/host/launch/index.js +1 -1
- package/dist/host/launch/mappings.js +4 -2
- package/dist/host/launch/pc-scan.js +8 -1
- package/dist/host/launch/project-scan.d.ts +2 -0
- package/dist/host/launch/project-scan.js +15 -0
- package/dist/host/launch/session-file.js +6 -1
- package/dist/host/launch/stage.js +1 -1
- package/dist/host/launch/toolchains.js +12 -2
- package/dist/host/launch/wsb-file.js +1 -1
- package/dist/host/life/crash-report.d.ts +3 -1
- package/dist/host/life/crash-report.js +4 -2
- package/dist/host/life/index.d.ts +1 -0
- package/dist/host/life/index.js +1 -0
- package/dist/host/life/keep-awake.d.ts +3 -2
- package/dist/host/life/keep-awake.js +10 -7
- package/dist/host/life/life-record.d.ts +1 -1
- package/dist/host/life/life-record.js +3 -4
- package/dist/host/life/session-ledger.d.ts +65 -0
- package/dist/host/life/session-ledger.js +163 -0
- package/dist/host/life/stop-events.d.ts +4 -4
- package/dist/host/life/stop-events.js +14 -12
- package/dist/host/life/windows-update.d.ts +1 -1
- package/dist/host/life/windows-update.js +7 -5
- package/dist/host/migrate/backup.d.ts +15 -0
- package/dist/host/migrate/backup.js +95 -0
- package/dist/host/migrate/index.d.ts +5 -0
- package/dist/host/migrate/index.js +4 -0
- package/dist/host/migrate/marker.d.ts +21 -0
- package/dist/host/migrate/marker.js +49 -0
- package/dist/host/migrate/migration.d.ts +26 -0
- package/dist/host/migrate/migration.js +3 -0
- package/dist/host/migrate/migrations/config-file.d.ts +10 -0
- package/dist/host/migrate/migrations/config-file.js +35 -0
- package/dist/host/migrate/migrations/follow-machine-storage.d.ts +2 -0
- package/dist/host/migrate/migrations/follow-machine-storage.js +44 -0
- package/dist/host/migrate/migrations/pin-storage-root.d.ts +4 -0
- package/dist/host/migrate/migrations/pin-storage-root.js +46 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.d.ts +2 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.js +44 -0
- package/dist/host/migrate/registry.d.ts +2 -0
- package/dist/host/migrate/registry.js +4 -0
- package/dist/host/migrate/runner.d.ts +21 -0
- package/dist/host/migrate/runner.js +67 -0
- package/dist/host/migrate/snapshots.d.ts +6 -0
- package/dist/host/migrate/snapshots.js +2200 -0
- package/dist/host/native.d.ts +8 -3
- package/dist/host/native.js +56 -6
- package/dist/host/network/port-forward.d.ts +4 -4
- package/dist/host/network/port-forward.js +11 -5
- package/dist/host/profile/accounts.d.ts +26 -1
- package/dist/host/profile/accounts.js +107 -11
- package/dist/host/profile/agent-accounts.d.ts +33 -0
- package/dist/host/profile/agent-accounts.js +199 -0
- package/dist/host/profile/index.d.ts +3 -1
- package/dist/host/profile/index.js +2 -0
- package/dist/host/profile/personalize.js +25 -22
- package/dist/host/profile/plugin-share.d.ts +26 -0
- package/dist/host/profile/plugin-share.js +146 -0
- package/dist/host/projects/join.d.ts +7 -1
- package/dist/host/projects/join.js +21 -4
- package/dist/host/projects/mapper.d.ts +1 -1
- package/dist/host/projects/mapper.js +2 -2
- package/dist/host/projects/registry.d.ts +27 -10
- package/dist/host/projects/registry.js +102 -6
- package/dist/host/sandbox/doctor.d.ts +1 -1
- package/dist/host/sandbox/doctor.js +2 -2
- package/dist/host/sandbox/host-claude.d.ts +4 -1
- package/dist/host/sandbox/host-claude.js +24 -3
- package/dist/host/sandbox/platform.d.ts +11 -7
- package/dist/host/sandbox/platform.js +50 -19
- package/dist/host/sandbox/probe.d.ts +1 -1
- package/dist/host/sandbox/probe.js +2 -2
- package/dist/host/sandbox/window.d.ts +2 -2
- package/dist/host/sandbox/window.js +36 -56
- package/dist/host/sandbox/wsb-cli.d.ts +10 -10
- package/dist/host/sandbox/wsb-cli.js +30 -18
- package/dist/host/secrets/index.d.ts +2 -0
- package/dist/host/secrets/index.js +2 -0
- package/dist/host/secrets/launch-secrets.d.ts +17 -0
- package/dist/host/secrets/launch-secrets.js +93 -0
- package/dist/host/secrets/secret-store.d.ts +25 -0
- package/dist/host/secrets/secret-store.js +89 -0
- package/dist/host/sharing/acl.d.ts +44 -0
- package/dist/host/sharing/acl.js +90 -0
- package/dist/host/sharing/active-record.d.ts +27 -0
- package/dist/host/sharing/active-record.js +70 -0
- package/dist/host/sharing/borrow.d.ts +11 -0
- package/dist/host/sharing/borrow.js +20 -0
- package/dist/host/sharing/current.d.ts +11 -0
- package/dist/host/sharing/current.js +46 -0
- package/dist/host/sharing/doctor.d.ts +2 -0
- package/dist/host/sharing/doctor.js +44 -0
- package/dist/host/sharing/group-access.d.ts +6 -0
- package/dist/host/sharing/group-access.js +24 -0
- package/dist/host/sharing/index.d.ts +9 -0
- package/dist/host/sharing/index.js +11 -0
- package/dist/host/sharing/lifecycle.d.ts +32 -0
- package/dist/host/sharing/lifecycle.js +88 -0
- package/dist/host/sharing/machine-paths.d.ts +6 -0
- package/dist/host/sharing/machine-paths.js +13 -0
- package/dist/host/sharing/owner.d.ts +28 -0
- package/dist/host/sharing/owner.js +73 -0
- package/dist/host/sharing/rules.d.ts +39 -0
- package/dist/host/sharing/rules.js +60 -0
- package/dist/host/storage/cleanup.d.ts +6 -3
- package/dist/host/storage/cleanup.js +18 -14
- package/dist/host/storage/history.d.ts +21 -0
- package/dist/host/storage/history.js +49 -0
- package/dist/host/storage/index.d.ts +4 -0
- package/dist/host/storage/index.js +4 -0
- package/dist/host/storage/move.d.ts +95 -0
- package/dist/host/storage/move.js +384 -0
- package/dist/host/storage/offer.d.ts +11 -0
- package/dist/host/storage/offer.js +36 -0
- package/dist/host/storage/root.d.ts +18 -0
- package/dist/host/storage/root.js +77 -0
- package/dist/host/storage/state-files.d.ts +1 -1
- package/dist/host/test-guard.d.ts +2 -2
- package/dist/host/test-guard.js +6 -5
- package/dist/host/tools/conpty.d.ts +2 -2
- package/dist/host/tools/conpty.js +5 -3
- package/dist/host/tools/windows-terminal.d.ts +8 -6
- package/dist/host/tools/windows-terminal.js +35 -13
- package/dist/host/update/decision.d.ts +29 -0
- package/dist/host/update/decision.js +32 -0
- package/dist/host/update/index.d.ts +6 -0
- package/dist/host/update/index.js +6 -0
- package/dist/host/update/notice.d.ts +13 -0
- package/dist/host/update/notice.js +40 -0
- package/dist/host/update/release-source.d.ts +32 -0
- package/dist/host/update/release-source.js +79 -0
- package/dist/host/update/update-lock.d.ts +7 -0
- package/dist/host/update/update-lock.js +48 -0
- package/dist/host/update/update-state.d.ts +30 -0
- package/dist/host/update/update-state.js +26 -0
- package/dist/host/update/updater.d.ts +81 -0
- package/dist/host/update/updater.js +317 -0
- package/dist/host/vpn/index.d.ts +4 -0
- package/dist/host/vpn/index.js +4 -0
- package/dist/host/vpn/login.d.ts +24 -0
- package/dist/host/vpn/login.js +79 -0
- package/dist/host/vpn/nordvpn.d.ts +21 -0
- package/dist/host/vpn/nordvpn.js +77 -0
- package/dist/host/vpn/prepare.d.ts +17 -0
- package/dist/host/vpn/prepare.js +77 -0
- package/dist/host/vpn/status.d.ts +12 -0
- package/dist/host/vpn/status.js +53 -0
- package/dist/host/web/auth.d.ts +38 -0
- package/dist/host/web/auth.js +96 -0
- package/dist/host/web/backend.d.ts +14 -0
- package/dist/host/web/backend.js +1 -0
- package/dist/host/web/bridge.d.ts +27 -0
- package/dist/host/web/bridge.js +144 -0
- package/dist/host/web/browser.d.ts +1 -0
- package/dist/host/web/browser.js +10 -0
- package/dist/host/web/control.d.ts +17 -0
- package/dist/host/web/control.js +67 -0
- package/dist/host/web/index.d.ts +9 -0
- package/dist/host/web/index.js +8 -0
- package/dist/host/web/runner.d.ts +14 -0
- package/dist/host/web/runner.js +45 -0
- package/dist/host/web/server.d.ts +40 -0
- package/dist/host/web/server.js +218 -0
- package/dist/host/web/state.d.ts +20 -0
- package/dist/host/web/state.js +41 -0
- package/dist/host/web/static-files.d.ts +13 -0
- package/dist/host/web/static-files.js +57 -0
- package/dist/host/workspace-view/active-views.d.ts +2 -2
- package/dist/host/workspace-view/active-views.js +13 -9
- package/dist/host/workspace-view/plan.d.ts +3 -3
- package/dist/host/workspace-view/plan.js +7 -5
- package/dist/host/workspace-view/rules.d.ts +3 -1
- package/dist/host/workspace-view/rules.js +3 -1
- package/dist/host/workspace-view/view-state.d.ts +3 -3
- package/dist/host/workspace-view/view-state.js +6 -6
- package/dist/runtime/agent.js +27614 -0
- package/dist/runtime/daemon.js +1973 -1218
- package/dist/runtime/db.js +615 -365
- package/dist/runtime/gitguard.js +2 -2
- package/dist/runtime/main.js +2283 -1245
- package/dist/runtime/netproxy.js +394 -206
- package/dist/runtime/view.js +357 -202
- package/dist/selftest/accounts.test.js +49 -9
- package/dist/selftest/agent-commands.test.js +8 -8
- package/dist/selftest/agent-paths.test.d.ts +2 -0
- package/dist/selftest/agent-paths.test.js +115 -0
- package/dist/selftest/channel.test.js +63 -52
- package/dist/selftest/cli.test.js +100 -111
- package/dist/selftest/cmdline.test.js +4 -3
- package/dist/selftest/credentials.test.d.ts +2 -0
- package/dist/selftest/credentials.test.js +198 -0
- package/dist/selftest/data.test.js +37 -19
- package/dist/selftest/detect.test.js +43 -28
- package/dist/selftest/generate.test.js +39 -37
- package/dist/selftest/git-access.test.js +2 -1
- package/dist/selftest/guest-boot.test.js +40 -38
- package/dist/selftest/health.test.d.ts +2 -0
- package/dist/selftest/health.test.js +470 -0
- package/dist/selftest/host-sim.test.js +5 -0
- package/dist/selftest/hostile-input.test.js +2 -0
- package/dist/selftest/index.d.ts +3 -3
- package/dist/selftest/index.js +56 -9
- package/dist/selftest/install.test.d.ts +2 -0
- package/dist/selftest/install.test.js +49 -0
- package/dist/selftest/layout.test.js +2 -0
- package/dist/selftest/live-daemon.test.js +17 -17
- package/dist/selftest/live-git.test.js +3 -3
- package/dist/selftest/live-network.test.js +51 -2
- package/dist/selftest/live-projects.test.js +25 -21
- package/dist/selftest/live-terminal.test.js +34 -22
- package/dist/selftest/local-config.test.js +37 -38
- package/dist/selftest/menu-screens.d.ts +9 -0
- package/dist/selftest/menu-screens.js +273 -0
- package/dist/selftest/menu.test.d.ts +2 -0
- package/dist/selftest/menu.test.js +702 -0
- package/dist/selftest/migrate.test.d.ts +2 -0
- package/dist/selftest/migrate.test.js +194 -0
- package/dist/selftest/mirror.test.js +51 -82
- package/dist/selftest/network.test.js +5 -5
- package/dist/selftest/personalization.test.js +18 -17
- package/dist/selftest/projects.test.js +280 -229
- package/dist/selftest/repo-guard.test.js +34 -32
- package/dist/selftest/resume.test.d.ts +2 -0
- package/dist/selftest/resume.test.js +175 -0
- package/dist/selftest/secrets.test.js +2 -2
- package/dist/selftest/setup.test.js +33 -25
- package/dist/selftest/shared-use.test.d.ts +2 -0
- package/dist/selftest/shared-use.test.js +178 -0
- package/dist/selftest/sharing.test.d.ts +2 -0
- package/dist/selftest/sharing.test.js +250 -0
- package/dist/selftest/storage.test.d.ts +2 -0
- package/dist/selftest/storage.test.js +363 -0
- package/dist/selftest/support/fixtures.d.ts +38 -7
- package/dist/selftest/support/fixtures.js +45 -32
- package/dist/selftest/support/harness.d.ts +1 -1
- package/dist/selftest/support/harness.js +2 -2
- package/dist/selftest/support/live.d.ts +18 -12
- package/dist/selftest/support/live.js +27 -16
- package/dist/selftest/support/releases.d.ts +15 -0
- package/dist/selftest/support/releases.js +73 -0
- package/dist/selftest/sync.test.js +65 -63
- package/dist/selftest/toolchains.test.js +107 -99
- package/dist/selftest/update-service.test.d.ts +2 -0
- package/dist/selftest/update-service.test.js +272 -0
- package/dist/selftest/update.test.d.ts +2 -0
- package/dist/selftest/update.test.js +172 -0
- package/dist/selftest/vpn.test.d.ts +2 -0
- package/dist/selftest/vpn.test.js +279 -0
- package/dist/selftest/web.test.d.ts +2 -0
- package/dist/selftest/web.test.js +304 -0
- package/dist/selftest/workspace-view.test.js +21 -16
- package/dist/selftest/workspace.test.js +9 -8
- package/dist/shared/apps/catalogue.d.ts +8 -3
- package/dist/shared/apps/catalogue.js +34 -1
- package/dist/shared/apps/selection.d.ts +3 -3
- package/dist/shared/apps/selection.js +7 -5
- package/dist/shared/channel/index.d.ts +1 -0
- package/dist/shared/channel/index.js +1 -0
- package/dist/shared/channel/run-dir.d.ts +6 -1
- package/dist/shared/channel/run-dir.js +12 -1
- package/dist/shared/channel/schema.d.ts +57 -9
- package/dist/shared/channel/schema.js +13 -0
- package/dist/shared/channel/secrets.d.ts +28 -0
- package/dist/shared/channel/secrets.js +44 -0
- package/dist/shared/download/archive.d.ts +4 -4
- package/dist/shared/download/archive.js +11 -17
- package/dist/shared/download/downloader.d.ts +4 -1
- package/dist/shared/download/downloader.js +2 -1
- package/dist/shared/download/github.d.ts +7 -5
- package/dist/shared/download/github.js +13 -10
- package/dist/shared/download/http.d.ts +3 -3
- package/dist/shared/download/http.js +8 -4
- package/dist/shared/download/spawn.d.ts +2 -1
- package/dist/shared/download/spawn.js +7 -5
- package/dist/shared/io/json.d.ts +4 -4
- package/dist/shared/io/json.js +9 -7
- package/dist/shared/io/safe-remove.d.ts +2 -2
- package/dist/shared/io/safe-remove.js +20 -17
- package/dist/shared/network/firewall-rules.d.ts +19 -13
- package/dist/shared/network/firewall-rules.js +31 -23
- package/dist/shared/network/policy.d.ts +4 -4
- package/dist/shared/network/policy.js +15 -11
- package/dist/shared/paths/agent-profile.d.ts +9 -0
- package/dist/shared/paths/agent-profile.js +21 -0
- package/dist/shared/paths/claude-paths.d.ts +7 -6
- package/dist/shared/paths/claude-paths.js +19 -14
- package/dist/shared/paths/conversation.d.ts +23 -0
- package/dist/shared/paths/conversation.js +25 -0
- package/dist/shared/paths/guest-paths.d.ts +12 -12
- package/dist/shared/paths/guest-paths.js +26 -22
- package/dist/shared/paths/index.d.ts +2 -0
- package/dist/shared/paths/index.js +2 -0
- package/dist/shared/paths/projects.d.ts +24 -19
- package/dist/shared/paths/projects.js +37 -24
- package/dist/shared/pty/client.d.ts +3 -3
- package/dist/shared/pty/client.js +6 -6
- package/dist/shared/pty/console-input.d.ts +1 -1
- package/dist/shared/pty/console-input.js +11 -42
- package/dist/shared/pty/output-filter.d.ts +4 -1
- package/dist/shared/pty/output-filter.js +4 -1
- package/dist/shared/pty/protocol.d.ts +7 -5
- package/dist/shared/pty/protocol.js +11 -9
- package/dist/shared/pty/terminal.d.ts +8 -5
- package/dist/shared/pty/terminal.js +12 -6
- package/dist/shared/scripts.d.ts +4 -0
- package/dist/shared/scripts.js +26 -0
- package/dist/shared/system.d.ts +11 -1
- package/dist/shared/system.js +15 -1
- package/dist/shared/test-guard.d.ts +3 -3
- package/dist/shared/test-guard.js +15 -9
- package/dist/shared/vpn/download.d.ts +13 -0
- package/dist/shared/vpn/download.js +14 -0
- package/dist/shared/vpn/kill-switch.d.ts +18 -0
- package/dist/shared/vpn/kill-switch.js +81 -0
- package/dist/shared/vpn/ovpn.d.ts +23 -0
- package/dist/shared/vpn/ovpn.js +244 -0
- package/dist/shared/web/index.d.ts +1 -0
- package/dist/shared/web/index.js +1 -0
- package/dist/shared/web/protocol.d.ts +61 -0
- package/dist/shared/web/protocol.js +35 -0
- package/dist/sync/claude-mem.d.ts +2 -2
- package/dist/sync/claude-mem.js +10 -7
- package/dist/sync/history.d.ts +4 -4
- package/dist/sync/history.js +9 -6
- package/dist/sync/sync-cycle.d.ts +4 -4
- package/dist/sync/sync-cycle.js +11 -7
- package/dist/sync/sync-state.d.ts +4 -3
- package/dist/sync/sync-state.js +10 -3
- package/dist/sync/watcher.d.ts +42 -2
- package/dist/sync/watcher.js +209 -98
- package/dist/web/index.html +13 -0
- package/dist/web/main-CXESL347.js +45 -0
- package/dist/web/main-VLR7DVQ4.css +1 -0
- package/native/csharp/FolderSecurity.cs +29 -0
- package/native/{power.cs → csharp/HostTools/KeepAwake.cs} +2 -1
- package/native/csharp/HostTools/Program.cs +227 -0
- package/native/csharp/HostTools/UserPath.cs +74 -0
- package/native/csharp/HostTools/Window.cs +143 -0
- package/native/scripts/capture-look.ps1 +22 -0
- package/native/scripts/check-syntax.ps1 +14 -0
- package/native/scripts/edit-user-path.ps1 +11 -0
- package/native/scripts/hide-window.ps1 +8 -0
- package/native/{keep-awake.ps1 → scripts/keep-awake.ps1} +2 -2
- package/native/scripts/protect-data.ps1 +29 -0
- package/native/scripts/read-folder-sddl.ps1 +10 -0
- package/native/scripts/run-elevated.ps1 +12 -0
- package/native/scripts/sandbox-probe.ps1 +15 -0
- package/native/scripts/set-folder-access.ps1 +86 -0
- package/native/scripts/set-update-task.ps1 +43 -0
- package/native/scripts/show-window.ps1 +13 -0
- package/native/{stop-events.ps1 → scripts/stop-events.ps1} +1 -1
- package/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/node_modules/@inquirer/ansi/README.md +89 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.js +28 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.js +21 -0
- package/node_modules/@inquirer/ansi/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/ansi/package.json +97 -0
- package/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/node_modules/@inquirer/checkbox/README.md +188 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.js +209 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.js +202 -0
- package/node_modules/@inquirer/checkbox/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/checkbox/package.json +113 -0
- package/node_modules/@inquirer/confirm/LICENSE +22 -0
- package/node_modules/@inquirer/confirm/README.md +92 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.js +50 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.js +48 -0
- package/node_modules/@inquirer/confirm/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/confirm/package.json +110 -0
- package/node_modules/@inquirer/core/LICENSE +22 -0
- package/node_modules/@inquirer/core/README.md +383 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.js +46 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.js +28 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js +156 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.js +118 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.js +33 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.js +124 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.js +18 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js +82 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.js +27 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.js +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.js +17 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.js +38 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.js +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.js +32 -0
- package/node_modules/@inquirer/core/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/core/dist/esm/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/index.js +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js +117 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js +110 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.js +19 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.js +30 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.js +121 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js +79 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.js +11 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js +35 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.js +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.js +25 -0
- package/node_modules/@inquirer/core/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/core/package.json +119 -0
- package/node_modules/@inquirer/editor/LICENSE +22 -0
- package/node_modules/@inquirer/editor/README.md +101 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.js +76 -0
- package/node_modules/@inquirer/editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/editor/dist/esm/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/esm/index.js +74 -0
- package/node_modules/@inquirer/editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/editor/package.json +111 -0
- package/node_modules/@inquirer/expand/LICENSE +22 -0
- package/node_modules/@inquirer/expand/README.md +141 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.js +115 -0
- package/node_modules/@inquirer/expand/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/expand/dist/esm/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/esm/index.js +108 -0
- package/node_modules/@inquirer/expand/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/expand/package.json +111 -0
- package/node_modules/@inquirer/external-editor/LICENSE +22 -0
- package/node_modules/@inquirer/external-editor/README.md +154 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.js +203 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.js +191 -0
- package/node_modules/@inquirer/external-editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/external-editor/package.json +115 -0
- package/node_modules/@inquirer/figures/LICENSE +22 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.js +321 -0
- package/node_modules/@inquirer/figures/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/figures/dist/esm/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/esm/index.js +314 -0
- package/node_modules/@inquirer/figures/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/figures/package.json +98 -0
- package/node_modules/@inquirer/input/LICENSE +22 -0
- package/node_modules/@inquirer/input/README.md +101 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.js +99 -0
- package/node_modules/@inquirer/input/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/input/dist/esm/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/esm/index.js +97 -0
- package/node_modules/@inquirer/input/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/input/package.json +110 -0
- package/node_modules/@inquirer/number/LICENSE +22 -0
- package/node_modules/@inquirer/number/README.md +95 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.js +96 -0
- package/node_modules/@inquirer/number/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/number/dist/esm/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/esm/index.js +94 -0
- package/node_modules/@inquirer/number/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/number/package.json +110 -0
- package/node_modules/@inquirer/password/LICENSE +22 -0
- package/node_modules/@inquirer/password/README.md +93 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.js +57 -0
- package/node_modules/@inquirer/password/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/password/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/esm/index.js +55 -0
- package/node_modules/@inquirer/password/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/password/package.json +111 -0
- package/node_modules/@inquirer/prompts/LICENSE +22 -0
- package/node_modules/@inquirer/prompts/README.md +528 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.js +27 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.js +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/prompts/package.json +120 -0
- package/node_modules/@inquirer/rawlist/LICENSE +22 -0
- package/node_modules/@inquirer/rawlist/README.md +124 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.js +132 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.js +125 -0
- package/node_modules/@inquirer/rawlist/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/rawlist/package.json +111 -0
- package/node_modules/@inquirer/search/LICENSE +22 -0
- package/node_modules/@inquirer/search/README.md +212 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.js +206 -0
- package/node_modules/@inquirer/search/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/search/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/esm/index.js +199 -0
- package/node_modules/@inquirer/search/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/search/package.json +112 -0
- package/node_modules/@inquirer/select/LICENSE +22 -0
- package/node_modules/@inquirer/select/README.md +181 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.js +194 -0
- package/node_modules/@inquirer/select/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/select/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/esm/index.js +187 -0
- package/node_modules/@inquirer/select/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/select/package.json +113 -0
- package/node_modules/@inquirer/type/LICENSE +22 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.js +18 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.js +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.js +3 -0
- package/node_modules/@inquirer/type/dist/esm/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/esm/index.js +2 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.js +1 -0
- package/node_modules/@inquirer/type/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/type/dist/esm/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/esm/utils.js +2 -0
- package/node_modules/@inquirer/type/package.json +106 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/chardet/LICENSE +19 -0
- package/node_modules/chardet/README.md +135 -0
- package/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/ascii.js +23 -0
- package/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
- package/node_modules/chardet/lib/encoding/index.d.ts +14 -0
- package/node_modules/chardet/lib/encoding/index.js +3 -0
- package/node_modules/chardet/lib/encoding/index.js.map +1 -0
- package/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
- package/node_modules/chardet/lib/encoding/iso2022.js +114 -0
- package/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
- package/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
- package/node_modules/chardet/lib/encoding/mbcs.js +347 -0
- package/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/sbcs.d.ts +94 -0
- package/node_modules/chardet/lib/encoding/sbcs.js +935 -0
- package/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
- package/node_modules/chardet/lib/encoding/unicode.js +109 -0
- package/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
- package/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/utf8.js +72 -0
- package/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
- package/node_modules/chardet/lib/fs/browser.d.ts +2 -0
- package/node_modules/chardet/lib/fs/browser.js +6 -0
- package/node_modules/chardet/lib/fs/browser.js.map +1 -0
- package/node_modules/chardet/lib/fs/node.d.ts +2 -0
- package/node_modules/chardet/lib/fs/node.js +11 -0
- package/node_modules/chardet/lib/fs/node.js.map +1 -0
- package/node_modules/chardet/lib/index.d.ts +20 -0
- package/node_modules/chardet/lib/index.js +177 -0
- package/node_modules/chardet/lib/index.js.map +1 -0
- package/node_modules/chardet/lib/match.d.ts +9 -0
- package/node_modules/chardet/lib/match.js +8 -0
- package/node_modules/chardet/lib/match.js.map +1 -0
- package/node_modules/chardet/lib/utils.d.ts +1 -0
- package/node_modules/chardet/lib/utils.js +10 -0
- package/node_modules/chardet/lib/utils.js.map +1 -0
- package/node_modules/chardet/package.json +100 -0
- package/node_modules/cli-width/LICENSE +13 -0
- package/node_modules/cli-width/README.md +71 -0
- package/node_modules/cli-width/index.d.ts +13 -0
- package/node_modules/cli-width/index.js +49 -0
- package/node_modules/cli-width/package.json +40 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1176 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +150 -0
- package/node_modules/commander/lib/command.js +2777 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +747 -0
- package/node_modules/commander/lib/option.js +380 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -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/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +501 -0
- package/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/ignore/index.js +1566 -0
- package/node_modules/ignore/legacy.js +1346 -0
- package/node_modules/ignore/package.json +93 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
- package/node_modules/jsonc-parser/LICENSE.md +21 -0
- package/node_modules/jsonc-parser/README.md +364 -0
- package/node_modules/jsonc-parser/SECURITY.md +41 -0
- package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
- package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
- package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
- package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
- package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
- package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
- package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
- package/node_modules/jsonc-parser/package.json +37 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +52 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +30 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +30 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17259 -0
- package/node_modules/lodash/lodash.min.js +136 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +19 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +91 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +284 -0
- package/node_modules/lodash/templateSettings.js +71 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/mute-stream/LICENSE +15 -0
- package/node_modules/mute-stream/README.md +68 -0
- package/node_modules/mute-stream/lib/index.js +142 -0
- package/node_modules/mute-stream/package.json +54 -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/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/wrap-ansi/index.js +186 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +61 -0
- package/node_modules/wrap-ansi/readme.md +97 -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/yoctocolors-cjs/index.d.ts +94 -0
- package/node_modules/yoctocolors-cjs/index.js +98 -0
- package/node_modules/yoctocolors-cjs/license +9 -0
- package/node_modules/yoctocolors-cjs/package.json +67 -0
- package/node_modules/yoctocolors-cjs/readme.md +130 -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 +23 -5
- package/sandbox/boot/bootstrap/drives.ps1 +29 -0
- package/sandbox/boot/bootstrap/files.ps1 +49 -0
- package/sandbox/boot/bootstrap/runner.ps1 +87 -0
- package/sandbox/boot/bootstrap/status.ps1 +8 -0
- package/sandbox/boot/bootstrap.ps1 +91 -0
- package/sandbox/{logon.cmd → boot/logon.cmd} +11 -5
- package/sandbox/{cargoshim.cs → csharp/CargoShim.cs} +28 -7
- package/sandbox/csharp/Desktop.cs +33 -0
- package/sandbox/csharp/EnvBroadcast.cs +33 -0
- package/sandbox/{gitshim.cs → csharp/GitShim.cs} +15 -3
- package/sandbox/{linkgate.cs → csharp/LinkGate.cs} +15 -5
- package/sandbox/{openssl.cs → csharp/OpenSsl.cs} +18 -4
- package/sandbox/csharp/PathSync.cs +90 -0
- package/sandbox/csharp/PtyHost.cs +1327 -0
- package/sandbox/csharp/SandboxTools/CpuCap.cs +134 -0
- package/sandbox/csharp/SandboxTools/MemoryLog.cs +157 -0
- package/sandbox/csharp/SandboxTools/PageFile.cs +72 -0
- package/sandbox/csharp/SandboxTools/Program.cs +153 -0
- package/sandbox/csharp/VsWhere.cs +145 -0
- package/sandbox/csharp/VtInput.cs +63 -0
- package/sandbox/scripts/enable-vt-input.ps1 +9 -0
- package/sandbox/scripts/expand-archive.ps1 +9 -0
- package/sandbox/scripts/get-gpu-names.ps1 +5 -0
- package/sandbox/scripts/get-signer.ps1 +8 -0
- package/sandbox/scripts/install-shell-path.ps1 +73 -0
- package/sandbox/scripts/link-profile-dirs.ps1 +35 -0
- package/sandbox/scripts/new-shortcuts.ps1 +15 -0
- package/sandbox/scripts/set-desktop.ps1 +16 -0
- package/sandbox/scripts/set-dns-servers.ps1 +8 -0
- package/sandbox/scripts/set-machine-environment.ps1 +62 -0
- package/schemas/config.schema.json +187 -10
- package/schemas/sandbox-config.schema.json +44 -7
- package/dist/cli/commands/repair/checks.d.ts +0 -2
- package/dist/cli/commands/repair/checks.js +0 -246
- package/dist/cli/menu/home.d.ts +0 -22
- package/dist/cli/menu/home.js +0 -72
- package/dist/cli/menu/settings/settings-editor.d.ts +0 -30
- package/dist/cli/menu/settings/settings-editor.js +0 -176
- package/sandbox/bootstrap.ps1 +0 -258
- package/sandbox/cpucap.cs +0 -33
- package/sandbox/cpucap.ps1 +0 -20
- package/sandbox/memlog.ps1 +0 -43
- package/sandbox/pagefile.cs +0 -31
- package/sandbox/pagefile.ps1 +0 -21
- package/sandbox/ptyhost.cs +0 -769
- package/sandbox/vswhere.cs +0 -83
- /package/sandbox/{trust.cmd → boot/trust.cmd} +0 -0
|
@@ -0,0 +1,651 @@
|
|
|
1
|
+
import { globalRegistry } from "./registries.js";
|
|
2
|
+
import { assignProp } from "./util.js";
|
|
3
|
+
function assignProps(target, ...sources) {
|
|
4
|
+
for (const source of sources) {
|
|
5
|
+
for (const key of Reflect.ownKeys(source)) {
|
|
6
|
+
if (Object.prototype.propertyIsEnumerable.call(source, key)) {
|
|
7
|
+
assignProp(target, key, source[key]);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
}
|
|
13
|
+
// function initializeContext<T extends schemas.$ZodType>(inputs: JSONSchemaGeneratorParams<T>): ToJSONSchemaContext<T> {
|
|
14
|
+
// return {
|
|
15
|
+
// processor: inputs.processor,
|
|
16
|
+
// metadataRegistry: inputs.metadata ?? globalRegistry,
|
|
17
|
+
// target: inputs.target ?? "draft-2020-12",
|
|
18
|
+
// unrepresentable: inputs.unrepresentable ?? "throw",
|
|
19
|
+
// };
|
|
20
|
+
// }
|
|
21
|
+
export function initializeContext(params) {
|
|
22
|
+
// Normalize target: convert old non-hyphenated versions to hyphenated versions
|
|
23
|
+
let target = params?.target ?? "draft-2020-12";
|
|
24
|
+
if (target === "draft-4")
|
|
25
|
+
target = "draft-04";
|
|
26
|
+
if (target === "draft-7")
|
|
27
|
+
target = "draft-07";
|
|
28
|
+
return {
|
|
29
|
+
processors: params.processors ?? {},
|
|
30
|
+
metadataRegistry: params?.metadata ?? globalRegistry,
|
|
31
|
+
target,
|
|
32
|
+
unrepresentable: params?.unrepresentable ?? "throw",
|
|
33
|
+
override: params?.override ?? (() => { }),
|
|
34
|
+
io: params?.io ?? "output",
|
|
35
|
+
counter: 0,
|
|
36
|
+
seen: new Map(),
|
|
37
|
+
sharedDefsExtractedFor: undefined,
|
|
38
|
+
sharedEmitDoneFor: undefined,
|
|
39
|
+
cycles: params?.cycles ?? "ref",
|
|
40
|
+
reused: params?.reused ?? "inline",
|
|
41
|
+
intersections: [],
|
|
42
|
+
deferred: [],
|
|
43
|
+
external: params?.external ?? undefined,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws
|
|
48
|
+
* `message` unless the setting (or the handler's return value) says otherwise. Returns `true` if a
|
|
49
|
+
* custom JSON Schema was written into `json`, in which case the caller must not write its own.
|
|
50
|
+
*/
|
|
51
|
+
export function handleUnrepresentable(schema, ctx, json, params, message) {
|
|
52
|
+
const result = typeof ctx.unrepresentable === "function"
|
|
53
|
+
? ctx.unrepresentable({ zodSchema: schema, path: params.path, message })
|
|
54
|
+
: ctx.unrepresentable;
|
|
55
|
+
if (result === "any")
|
|
56
|
+
return false;
|
|
57
|
+
if (result === undefined || result === "throw")
|
|
58
|
+
throw new Error(message);
|
|
59
|
+
Object.assign(json, result);
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
// never rename this back to `process`: bundler polyfills inject a top-level `const process` that a lexical declaration of the same name collides with (#6397)
|
|
63
|
+
export function processSchema(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
64
|
+
var _a;
|
|
65
|
+
const def = schema._zod.def;
|
|
66
|
+
// check for schema in seens
|
|
67
|
+
const seen = ctx.seen.get(schema);
|
|
68
|
+
if (seen) {
|
|
69
|
+
seen.count++;
|
|
70
|
+
// check if cycle
|
|
71
|
+
const isCycle = _params.schemaPath.includes(schema);
|
|
72
|
+
if (isCycle) {
|
|
73
|
+
seen.cycle = _params.path;
|
|
74
|
+
}
|
|
75
|
+
return seen.schema;
|
|
76
|
+
}
|
|
77
|
+
// initialize
|
|
78
|
+
const result = { schema: {}, count: 1, cycle: undefined, path: _params.path };
|
|
79
|
+
ctx.seen.set(schema, result);
|
|
80
|
+
ctx.sharedDefsExtractedFor = undefined;
|
|
81
|
+
ctx.sharedEmitDoneFor = undefined;
|
|
82
|
+
// custom method overrides default behavior
|
|
83
|
+
const overrideSchema = schema._zod.toJSONSchema?.();
|
|
84
|
+
if (overrideSchema) {
|
|
85
|
+
result.schema = overrideSchema;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const params = {
|
|
89
|
+
..._params,
|
|
90
|
+
schemaPath: [..._params.schemaPath, schema],
|
|
91
|
+
path: _params.path,
|
|
92
|
+
};
|
|
93
|
+
if (schema._zod.processJSONSchema) {
|
|
94
|
+
schema._zod.processJSONSchema(ctx, result.schema, params);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const _json = result.schema;
|
|
98
|
+
const processor = ctx.processors[def.type];
|
|
99
|
+
if (!processor) {
|
|
100
|
+
throw new Error(`[toJSONSchema]: Non-representable type encountered: ${def.type}`);
|
|
101
|
+
}
|
|
102
|
+
processor(schema, ctx, _json, params);
|
|
103
|
+
}
|
|
104
|
+
const parent = schema._zod.parent;
|
|
105
|
+
if (parent) {
|
|
106
|
+
// Also set ref if processor didn't (for inheritance)
|
|
107
|
+
if (!result.ref)
|
|
108
|
+
result.ref = parent;
|
|
109
|
+
processSchema(parent, ctx, params);
|
|
110
|
+
ctx.seen.get(parent).isParent = true;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
// metadata
|
|
114
|
+
const meta = ctx.metadataRegistry.get(schema);
|
|
115
|
+
if (meta)
|
|
116
|
+
assignProps(result.schema, meta);
|
|
117
|
+
if (ctx.io === "input" && isTransforming(schema)) {
|
|
118
|
+
// examples/defaults only apply to output type of pipe
|
|
119
|
+
delete result.schema.examples;
|
|
120
|
+
delete result.schema.default;
|
|
121
|
+
}
|
|
122
|
+
// set prefault as default
|
|
123
|
+
if (ctx.io === "input" && "_prefault" in result.schema)
|
|
124
|
+
(_a = result.schema).default ?? (_a.default = result.schema._prefault);
|
|
125
|
+
delete result.schema._prefault;
|
|
126
|
+
// pulling fresh from ctx.seen in case it was overwritten
|
|
127
|
+
const _result = ctx.seen.get(schema);
|
|
128
|
+
return _result.schema;
|
|
129
|
+
}
|
|
130
|
+
/** @deprecated Renamed to `processSchema`. An export alias declares no binding, so it is safe to keep. */
|
|
131
|
+
export { processSchema as process };
|
|
132
|
+
// Escape a reference token for use in a JSON Pointer fragment (RFC 6901): `~` becomes `~0` and `/` becomes `~1`. The `~` replacement must run first.
|
|
133
|
+
function encodeJSONPointerSegment(segment) {
|
|
134
|
+
return segment.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
135
|
+
}
|
|
136
|
+
export function extractDefs(ctx, schema
|
|
137
|
+
// params: EmitParams
|
|
138
|
+
) {
|
|
139
|
+
// iterate over seen map;
|
|
140
|
+
const root = ctx.seen.get(schema);
|
|
141
|
+
if (!root)
|
|
142
|
+
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
143
|
+
// With `external` set, every registered schema resolves through the external branch of `makeURI`, so the root branch below produces the same ref the external branch would — this pass is identical whichever schema it is called with, and only needs to run once.
|
|
144
|
+
if (ctx.external && ctx.sharedDefsExtractedFor === ctx.external)
|
|
145
|
+
return;
|
|
146
|
+
// Track ids to detect duplicates across different schemas
|
|
147
|
+
const idToSchema = new Map();
|
|
148
|
+
for (const entry of ctx.seen.entries()) {
|
|
149
|
+
const id = ctx.metadataRegistry.get(entry[0])?.id;
|
|
150
|
+
if (id) {
|
|
151
|
+
const existing = idToSchema.get(id);
|
|
152
|
+
if (existing && existing !== entry[0]) {
|
|
153
|
+
throw new Error(`Duplicate schema id "${id}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
|
|
154
|
+
}
|
|
155
|
+
idToSchema.set(id, entry[0]);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
// returns a ref to the schema defId will be empty if the ref points to an external schema (or #)
|
|
159
|
+
const makeURI = (entry) => {
|
|
160
|
+
// comparing the seen objects because sometimes multiple schemas map to the same seen object. e.g. lazy
|
|
161
|
+
// external is configured
|
|
162
|
+
const defsSegment = ctx.target === "draft-2020-12" ? "$defs" : "definitions";
|
|
163
|
+
if (ctx.external) {
|
|
164
|
+
const externalId = ctx.external.registry.get(entry[0])?.id; // ?? "__shared";// `__schema${ctx.counter++}`;
|
|
165
|
+
// check if schema is in the external registry
|
|
166
|
+
const uriGenerator = ctx.external.uri ?? ((id) => id);
|
|
167
|
+
if (externalId) {
|
|
168
|
+
return { ref: uriGenerator(externalId) };
|
|
169
|
+
}
|
|
170
|
+
// otherwise, add to __shared
|
|
171
|
+
const id = entry[1].defId ?? entry[1].schema.id ?? `schema${ctx.counter++}`;
|
|
172
|
+
entry[1].defId = id; // set defId so it will be reused if needed
|
|
173
|
+
return { defId: id, ref: `${uriGenerator("__shared")}#/${defsSegment}/${encodeJSONPointerSegment(id)}` };
|
|
174
|
+
}
|
|
175
|
+
const uriPrefix = `#`;
|
|
176
|
+
const defUriPrefix = `${uriPrefix}/${defsSegment}/`;
|
|
177
|
+
// an id-less root has nowhere to be extracted to, so it stays inline and self-references as `#`
|
|
178
|
+
if (entry[1] === root && !entry[1].schema.id) {
|
|
179
|
+
return { ref: uriPrefix };
|
|
180
|
+
}
|
|
181
|
+
// self-contained schema
|
|
182
|
+
const defId = entry[1].schema.id ?? `__schema${ctx.counter++}`;
|
|
183
|
+
return { defId, ref: defUriPrefix + encodeJSONPointerSegment(defId) };
|
|
184
|
+
};
|
|
185
|
+
// stored cached version in `def` property remove all properties, set $ref
|
|
186
|
+
const extractToDef = (entry) => {
|
|
187
|
+
// if the schema is already a reference, do not extract it
|
|
188
|
+
if (entry[1].schema.$ref) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
const seen = entry[1];
|
|
192
|
+
const { ref, defId } = makeURI(entry);
|
|
193
|
+
seen.def = { ...seen.schema };
|
|
194
|
+
// defId won't be set if the schema is a reference to an external schema or if the schema is the root schema
|
|
195
|
+
if (defId)
|
|
196
|
+
seen.defId = defId;
|
|
197
|
+
// wipe away all properties except $ref
|
|
198
|
+
const schema = seen.schema;
|
|
199
|
+
for (const key in schema) {
|
|
200
|
+
delete schema[key];
|
|
201
|
+
}
|
|
202
|
+
schema.$ref = ref;
|
|
203
|
+
};
|
|
204
|
+
// throw on cycles
|
|
205
|
+
// break cycles
|
|
206
|
+
if (ctx.cycles === "throw") {
|
|
207
|
+
for (const entry of ctx.seen.entries()) {
|
|
208
|
+
const seen = entry[1];
|
|
209
|
+
if (seen.cycle) {
|
|
210
|
+
throw new Error("Cycle detected: " +
|
|
211
|
+
`#/${seen.cycle?.join("/")}/<root>` +
|
|
212
|
+
'\n\nSet the `cycles` parameter to `"ref"` to resolve cyclical schemas with defs.');
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
// extract schemas into $defs
|
|
217
|
+
for (const entry of ctx.seen.entries()) {
|
|
218
|
+
const seen = entry[1];
|
|
219
|
+
// convert root schema to # $ref
|
|
220
|
+
if (schema === entry[0]) {
|
|
221
|
+
extractToDef(entry); // this has special handling for the root schema
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
// extract schemas that are in the external registry
|
|
225
|
+
if (ctx.external) {
|
|
226
|
+
const ext = ctx.external.registry.get(entry[0])?.id;
|
|
227
|
+
if (schema !== entry[0] && ext) {
|
|
228
|
+
extractToDef(entry);
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
// extract schemas with `id` meta
|
|
233
|
+
const id = ctx.metadataRegistry.get(entry[0])?.id;
|
|
234
|
+
if (id) {
|
|
235
|
+
extractToDef(entry);
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
// break cycles
|
|
239
|
+
if (seen.cycle) {
|
|
240
|
+
// any
|
|
241
|
+
extractToDef(entry);
|
|
242
|
+
continue;
|
|
243
|
+
}
|
|
244
|
+
// extract reused schemas
|
|
245
|
+
if (seen.count > 1) {
|
|
246
|
+
if (ctx.reused === "ref") {
|
|
247
|
+
extractToDef(entry);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
if (ctx.external)
|
|
252
|
+
ctx.sharedDefsExtractedFor = ctx.external;
|
|
253
|
+
}
|
|
254
|
+
/** Rewrites `anyOf: [{type: "a"}, {type: "b"}]` to `type: ["a", "b"]`, which every JSON Schema draft treats as equivalent and most consumers render far better for the nullable case. Only branches that are a bare type assertion qualify — anything carrying a constraint, `$ref`, `const` or metadata is left alone. Runs after `flattenRef`, so a branch an override decorated or `$defs` extraction turned into a `$ref` is no longer bare and correctly stays in `anyOf`. `oneOf` is excluded: `integer` and `number` overlap, so "exactly one" and "at least one" are not the same there. OpenAPI 3.0 is excluded: its `type` must be a single string. */
|
|
255
|
+
function compactTypeUnion(schema) {
|
|
256
|
+
const options = schema.anyOf;
|
|
257
|
+
if (!Array.isArray(options) || options.length === 0 || schema.type !== undefined)
|
|
258
|
+
return;
|
|
259
|
+
const types = [];
|
|
260
|
+
for (const option of options) {
|
|
261
|
+
if (!option || typeof option !== "object")
|
|
262
|
+
return;
|
|
263
|
+
// A branch that is itself a compactible union folds into this one — nested `anyOf` and a flat `type` array say the same thing. Compacting it first also makes the result independent of the order this pass walks the seen map in.
|
|
264
|
+
compactTypeUnion(option);
|
|
265
|
+
const keys = Object.keys(option);
|
|
266
|
+
if (keys.length !== 1 || keys[0] !== "type")
|
|
267
|
+
return;
|
|
268
|
+
const type = option.type;
|
|
269
|
+
for (const member of Array.isArray(type) ? type : [type]) {
|
|
270
|
+
if (typeof member !== "string")
|
|
271
|
+
return;
|
|
272
|
+
if (!types.includes(member))
|
|
273
|
+
types.push(member);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
delete schema.anyOf;
|
|
277
|
+
// A `type` array must be non-empty and unique (metaschema); a single member is spelled as a bare string.
|
|
278
|
+
schema.type = types.length === 1 ? types[0] : types;
|
|
279
|
+
}
|
|
280
|
+
/** Keywords `foldIntersection` knows how to combine. Anything else — `$ref`, `patternProperties`,
|
|
281
|
+
* an annotation like `description` — makes a member unfoldable, so a constraint this does not
|
|
282
|
+
* understand leaves the `allOf` alone instead of being silently dropped or misattributed. */
|
|
283
|
+
const FOLDABLE_KEYS = new Set(["type", "properties", "required", "additionalProperties"]);
|
|
284
|
+
const UNION_KEYS = ["oneOf", "anyOf"];
|
|
285
|
+
/** A member's constraint on a key it does not declare itself. A `catchall` states one; `false`, an absent `additionalProperties`, and the empty schema a loose object emits state nothing. */
|
|
286
|
+
function undeclaredConstraint(member) {
|
|
287
|
+
const extra = member.additionalProperties;
|
|
288
|
+
if (extra === undefined || extra === false || typeof extra !== "object" || extra === null)
|
|
289
|
+
return null;
|
|
290
|
+
return Object.keys(extra).length ? extra : null;
|
|
291
|
+
}
|
|
292
|
+
/** Combines object members into the single object they describe together, or returns `null` if any of them carries a keyword outside {@link FOLDABLE_KEYS}. */
|
|
293
|
+
function foldObjects(members) {
|
|
294
|
+
const objects = [];
|
|
295
|
+
for (const member of members) {
|
|
296
|
+
// A boolean subschema is legal JSON Schema and carries no keywords to fold.
|
|
297
|
+
if (typeof member !== "object" || member.type !== "object")
|
|
298
|
+
return null;
|
|
299
|
+
for (const key in member) {
|
|
300
|
+
if (!FOLDABLE_KEYS.has(key))
|
|
301
|
+
return null;
|
|
302
|
+
}
|
|
303
|
+
objects.push(member);
|
|
304
|
+
}
|
|
305
|
+
const properties = {};
|
|
306
|
+
const required = new Set();
|
|
307
|
+
for (const object of objects) {
|
|
308
|
+
for (const key in object.properties) {
|
|
309
|
+
// `in` would report a `__proto__` key as already present via the prototype chain and skip it.
|
|
310
|
+
if (Object.prototype.hasOwnProperty.call(properties, key))
|
|
311
|
+
continue;
|
|
312
|
+
// Every member constrains this key: the ones that declare it say how, and a `catchall` member constrains it too even though it does not name it. The key has to satisfy all of them, which is the same intersection one level down.
|
|
313
|
+
const parts = [];
|
|
314
|
+
for (const other of objects) {
|
|
315
|
+
const part = other.properties?.[key] ?? undeclaredConstraint(other);
|
|
316
|
+
if (part === null || part === undefined)
|
|
317
|
+
continue;
|
|
318
|
+
if (!parts.some((seen) => JSON.stringify(seen) === JSON.stringify(part)))
|
|
319
|
+
parts.push(part);
|
|
320
|
+
}
|
|
321
|
+
const merged = parts.length === 1
|
|
322
|
+
? parts[0]
|
|
323
|
+
: (foldObjects(parts) ?? { allOf: parts });
|
|
324
|
+
assignProp(properties, key, merged);
|
|
325
|
+
}
|
|
326
|
+
for (const key of object.required ?? [])
|
|
327
|
+
required.add(key);
|
|
328
|
+
}
|
|
329
|
+
const folded = { type: "object", properties };
|
|
330
|
+
if (required.size)
|
|
331
|
+
folded.required = [...required];
|
|
332
|
+
// A key no member declares is rejected only when every member rejects it, so the fold is closed only when every member is. Otherwise it carries whatever the `catchall` members demand of such a key.
|
|
333
|
+
if (objects.every((object) => object.additionalProperties === false)) {
|
|
334
|
+
folded.additionalProperties = false;
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
const constraints = [];
|
|
338
|
+
for (const object of objects) {
|
|
339
|
+
const constraint = undeclaredConstraint(object);
|
|
340
|
+
if (constraint && !constraints.some((seen) => JSON.stringify(seen) === JSON.stringify(constraint)))
|
|
341
|
+
constraints.push(constraint);
|
|
342
|
+
}
|
|
343
|
+
if (constraints.length === 1)
|
|
344
|
+
folded.additionalProperties = constraints[0];
|
|
345
|
+
else if (constraints.length > 1)
|
|
346
|
+
folded.additionalProperties = { allOf: constraints };
|
|
347
|
+
}
|
|
348
|
+
return folded;
|
|
349
|
+
}
|
|
350
|
+
/** `additionalProperties` in an `allOf` member sees only that member's own `properties`, so two
|
|
351
|
+
* closed object members reject each other's keys and the schema validates nothing. Zod's parser
|
|
352
|
+
* pools the key sets instead — `handleIntersectionResults` reports a key as unrecognized only when
|
|
353
|
+
* *every* side rejects it — so the emitted schema has to pool them too, and folding the members
|
|
354
|
+
* into one object is the encoding that says so on every target.
|
|
355
|
+
*
|
|
356
|
+
* This runs from `finalize`, after `extractDefs`, which is what keeps it clear of the `$ref`
|
|
357
|
+
* machinery: a member extracted into `$defs` is already a `$ref` by now and declines to fold, so it
|
|
358
|
+
* keeps its reference and its own closedness rather than being inlined as a stale copy. */
|
|
359
|
+
function foldIntersection(json) {
|
|
360
|
+
const allOf = json.allOf;
|
|
361
|
+
if (!Array.isArray(allOf) || allOf.length < 2)
|
|
362
|
+
return;
|
|
363
|
+
// An `override` runs before this pass and may have written object keywords onto the intersection itself. Those are deliberate, so decline rather than overwrite them.
|
|
364
|
+
for (const key of FOLDABLE_KEYS)
|
|
365
|
+
if (key in json)
|
|
366
|
+
return;
|
|
367
|
+
// An intersection distributes over a union: `A & (X | Y)` is `(A & X) | (A & Y)`. Only the first union is distributed over; a second one stays among the members every branch folds against, where it fails the object check and declines the whole intersection rather than multiplying out.
|
|
368
|
+
const unions = allOf.filter((m) => UNION_KEYS.some((k) => Array.isArray(m[k])));
|
|
369
|
+
let folded = null;
|
|
370
|
+
if (!unions.length) {
|
|
371
|
+
folded = foldObjects(allOf);
|
|
372
|
+
}
|
|
373
|
+
else {
|
|
374
|
+
const union = unions[0];
|
|
375
|
+
const keyword = UNION_KEYS.find((k) => Array.isArray(union[k]));
|
|
376
|
+
if (Object.keys(union).length !== 1)
|
|
377
|
+
return;
|
|
378
|
+
const rest = allOf.filter((m) => m !== union);
|
|
379
|
+
const branches = union[keyword].map((branch) => foldObjects([...rest, branch]));
|
|
380
|
+
if (branches.some((b) => !b))
|
|
381
|
+
return;
|
|
382
|
+
folded = { [keyword]: branches };
|
|
383
|
+
}
|
|
384
|
+
if (!folded)
|
|
385
|
+
return;
|
|
386
|
+
delete json.allOf;
|
|
387
|
+
assignProps(json, folded);
|
|
388
|
+
}
|
|
389
|
+
export function finalize(ctx, schema) {
|
|
390
|
+
const root = ctx.seen.get(schema);
|
|
391
|
+
if (!root)
|
|
392
|
+
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
393
|
+
// flatten refs - inherit properties from parent schemas
|
|
394
|
+
const flattenRef = (zodSchema) => {
|
|
395
|
+
const seen = ctx.seen.get(zodSchema);
|
|
396
|
+
// already processed
|
|
397
|
+
if (seen.ref === null)
|
|
398
|
+
return;
|
|
399
|
+
const schema = seen.def ?? seen.schema;
|
|
400
|
+
const _cached = { ...schema };
|
|
401
|
+
const ref = seen.ref;
|
|
402
|
+
seen.ref = null; // prevent infinite recursion
|
|
403
|
+
if (ref) {
|
|
404
|
+
flattenRef(ref);
|
|
405
|
+
const refSeen = ctx.seen.get(ref);
|
|
406
|
+
const refSchema = refSeen.schema;
|
|
407
|
+
// merge referenced schema into current
|
|
408
|
+
if (refSchema.$ref && (ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0")) {
|
|
409
|
+
// older drafts can't combine $ref with other properties
|
|
410
|
+
schema.allOf = schema.allOf ?? [];
|
|
411
|
+
schema.allOf.push(refSchema);
|
|
412
|
+
}
|
|
413
|
+
else {
|
|
414
|
+
assignProps(schema, refSchema);
|
|
415
|
+
}
|
|
416
|
+
// restore child's own properties (child wins)
|
|
417
|
+
assignProps(schema, _cached);
|
|
418
|
+
const isParentRef = zodSchema._zod.parent === ref;
|
|
419
|
+
// For parent chain, child is a refinement - remove parent-only properties
|
|
420
|
+
if (isParentRef) {
|
|
421
|
+
for (const key in schema) {
|
|
422
|
+
if (key === "$ref" || key === "allOf")
|
|
423
|
+
continue;
|
|
424
|
+
if (!(key in _cached)) {
|
|
425
|
+
delete schema[key];
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
// When ref was extracted to $defs, remove properties that match the definition
|
|
430
|
+
if (refSchema.$ref && refSeen.def) {
|
|
431
|
+
for (const key in schema) {
|
|
432
|
+
if (key === "$ref" || key === "allOf")
|
|
433
|
+
continue;
|
|
434
|
+
if (key in refSeen.def && JSON.stringify(schema[key]) === JSON.stringify(refSeen.def[key])) {
|
|
435
|
+
delete schema[key];
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
// If parent was extracted (has $ref), propagate $ref to this schema. This handles cases like: readonly().meta({id}).describe() where processor sets ref to innerType but parent should be referenced
|
|
441
|
+
const parent = zodSchema._zod.parent;
|
|
442
|
+
if (parent && parent !== ref) {
|
|
443
|
+
// Ensure parent is processed first so its def has inherited properties
|
|
444
|
+
flattenRef(parent);
|
|
445
|
+
const parentSeen = ctx.seen.get(parent);
|
|
446
|
+
if (parentSeen?.schema.$ref) {
|
|
447
|
+
schema.$ref = parentSeen.schema.$ref;
|
|
448
|
+
// De-duplicate with parent's definition
|
|
449
|
+
if (parentSeen.def) {
|
|
450
|
+
for (const key in schema) {
|
|
451
|
+
if (key === "$ref" || key === "allOf")
|
|
452
|
+
continue;
|
|
453
|
+
if (key in parentSeen.def && JSON.stringify(schema[key]) === JSON.stringify(parentSeen.def[key])) {
|
|
454
|
+
delete schema[key];
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
// execute overrides
|
|
461
|
+
ctx.override({
|
|
462
|
+
zodSchema: zodSchema,
|
|
463
|
+
jsonSchema: schema,
|
|
464
|
+
path: seen.path ?? [],
|
|
465
|
+
});
|
|
466
|
+
};
|
|
467
|
+
// Flattening walks the whole map and clears each `ref` as it goes, so a second call over the same map is a no-op scan. Skip it outright once it has run for a registry conversion.
|
|
468
|
+
if (!ctx.external || ctx.sharedEmitDoneFor !== ctx.external) {
|
|
469
|
+
for (const entry of [...ctx.seen.entries()].reverse()) {
|
|
470
|
+
flattenRef(entry[0]);
|
|
471
|
+
}
|
|
472
|
+
if (ctx.target !== "openapi-3.0") {
|
|
473
|
+
for (const entry of ctx.seen.entries()) {
|
|
474
|
+
compactTypeUnion(entry[1].def ?? entry[1].schema);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
for (const rewrite of ctx.deferred)
|
|
478
|
+
rewrite();
|
|
479
|
+
// After flattening, every member that was extracted is a `$ref`, so the fold sees the final shape. A schema that inherits an intersection — through `z.lazy`, or any `ref` chain — holds the same `allOf` array, so fold by array identity to catch every copy.
|
|
480
|
+
if (ctx.intersections.length) {
|
|
481
|
+
const carriers = new Map();
|
|
482
|
+
for (const seen of ctx.seen.values()) {
|
|
483
|
+
for (const json of [seen.schema, seen.def]) {
|
|
484
|
+
const allOf = json?.allOf;
|
|
485
|
+
if (!Array.isArray(allOf))
|
|
486
|
+
continue;
|
|
487
|
+
const existing = carriers.get(allOf);
|
|
488
|
+
if (existing)
|
|
489
|
+
existing.push(json);
|
|
490
|
+
else
|
|
491
|
+
carriers.set(allOf, [json]);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
for (const allOf of ctx.intersections) {
|
|
495
|
+
for (const json of carriers.get(allOf) ?? [])
|
|
496
|
+
foldIntersection(json);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
const result = {};
|
|
501
|
+
if (ctx.target === "draft-2020-12") {
|
|
502
|
+
result.$schema = "https://json-schema.org/draft/2020-12/schema";
|
|
503
|
+
}
|
|
504
|
+
else if (ctx.target === "draft-07") {
|
|
505
|
+
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
506
|
+
}
|
|
507
|
+
else if (ctx.target === "draft-04") {
|
|
508
|
+
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
509
|
+
}
|
|
510
|
+
else if (ctx.target === "openapi-3.0") {
|
|
511
|
+
// OpenAPI 3.0 schema objects should not include a $schema property
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
// Arbitrary string values are allowed but won't have a $schema property set
|
|
515
|
+
}
|
|
516
|
+
if (ctx.external?.uri) {
|
|
517
|
+
const id = ctx.external.registry.get(schema)?.id;
|
|
518
|
+
if (!id)
|
|
519
|
+
throw new Error("Schema is missing an `id` property");
|
|
520
|
+
result.$id = ctx.external.uri(id);
|
|
521
|
+
}
|
|
522
|
+
// when the root was extracted into $defs, `root.schema` is the `$ref` wrapper and `root.def` is the body that now lives under $defs
|
|
523
|
+
assignProps(result, root.defId ? root.schema : (root.def ?? root.schema));
|
|
524
|
+
// The `id` in `.meta()` is a Zod-specific registration tag used to extract schemas into $defs — it is not user-facing JSON Schema metadata. Strip it from the output body where it would otherwise leak. The id is preserved implicitly via the $defs key (and via $ref paths).
|
|
525
|
+
const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
|
|
526
|
+
if (rootMetaId !== undefined && result.id === rootMetaId)
|
|
527
|
+
delete result.id;
|
|
528
|
+
// build defs object. With `external`, `defs` is the shared object every schema writes into, so the same entries are reassigned on every call. Without it, `defs` is fresh per call and must be rebuilt.
|
|
529
|
+
const defs = ctx.external?.defs ?? {};
|
|
530
|
+
if (!ctx.external || ctx.sharedEmitDoneFor !== ctx.external) {
|
|
531
|
+
for (const entry of ctx.seen.entries()) {
|
|
532
|
+
const seen = entry[1];
|
|
533
|
+
if (seen.def && seen.defId) {
|
|
534
|
+
if (seen.def.id === seen.defId)
|
|
535
|
+
delete seen.def.id;
|
|
536
|
+
assignProp(defs, seen.defId, seen.def);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
if (ctx.external)
|
|
541
|
+
ctx.sharedEmitDoneFor = ctx.external;
|
|
542
|
+
// set definitions in result
|
|
543
|
+
if (ctx.external) {
|
|
544
|
+
}
|
|
545
|
+
else {
|
|
546
|
+
if (Object.keys(defs).length > 0) {
|
|
547
|
+
if (ctx.target === "draft-2020-12") {
|
|
548
|
+
result.$defs = defs;
|
|
549
|
+
}
|
|
550
|
+
else {
|
|
551
|
+
result.definitions = defs;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
try {
|
|
556
|
+
// this "finalizes" this schema and ensures all cycles are removed each call to finalize() is functionally independent though the seen map is shared
|
|
557
|
+
const finalized = JSON.parse(JSON.stringify(result));
|
|
558
|
+
Object.defineProperty(finalized, "~standard", {
|
|
559
|
+
value: {
|
|
560
|
+
...schema["~standard"],
|
|
561
|
+
jsonSchema: {
|
|
562
|
+
input: createStandardJSONSchemaMethod(schema, "input", ctx.processors),
|
|
563
|
+
output: createStandardJSONSchemaMethod(schema, "output", ctx.processors),
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
enumerable: false,
|
|
567
|
+
writable: false,
|
|
568
|
+
});
|
|
569
|
+
return finalized;
|
|
570
|
+
}
|
|
571
|
+
catch (_err) {
|
|
572
|
+
throw new Error("Error converting schema to JSON.");
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
function isTransforming(_schema, _ctx) {
|
|
576
|
+
const ctx = _ctx ?? { seen: new Set() };
|
|
577
|
+
if (ctx.seen.has(_schema))
|
|
578
|
+
return false;
|
|
579
|
+
ctx.seen.add(_schema);
|
|
580
|
+
const def = _schema._zod.def;
|
|
581
|
+
if (def.type === "transform")
|
|
582
|
+
return true;
|
|
583
|
+
if (def.type === "array")
|
|
584
|
+
return isTransforming(def.element, ctx);
|
|
585
|
+
if (def.type === "set")
|
|
586
|
+
return isTransforming(def.valueType, ctx);
|
|
587
|
+
if (def.type === "lazy")
|
|
588
|
+
return isTransforming(def.getter(), ctx);
|
|
589
|
+
if (def.type === "promise" ||
|
|
590
|
+
def.type === "optional" ||
|
|
591
|
+
def.type === "nonoptional" ||
|
|
592
|
+
def.type === "nullable" ||
|
|
593
|
+
def.type === "readonly" ||
|
|
594
|
+
def.type === "default" ||
|
|
595
|
+
def.type === "prefault" ||
|
|
596
|
+
def.type === "catch") {
|
|
597
|
+
return isTransforming(def.innerType, ctx);
|
|
598
|
+
}
|
|
599
|
+
if (def.type === "intersection") {
|
|
600
|
+
return isTransforming(def.left, ctx) || isTransforming(def.right, ctx);
|
|
601
|
+
}
|
|
602
|
+
if (def.type === "record" || def.type === "map") {
|
|
603
|
+
return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
604
|
+
}
|
|
605
|
+
if (def.type === "pipe") {
|
|
606
|
+
if (_schema._zod.traits.has("$ZodCodec"))
|
|
607
|
+
return true;
|
|
608
|
+
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
609
|
+
}
|
|
610
|
+
if (def.type === "object") {
|
|
611
|
+
for (const key in def.shape) {
|
|
612
|
+
if (isTransforming(def.shape[key], ctx))
|
|
613
|
+
return true;
|
|
614
|
+
}
|
|
615
|
+
return false;
|
|
616
|
+
}
|
|
617
|
+
if (def.type === "union") {
|
|
618
|
+
for (const option of def.options) {
|
|
619
|
+
if (isTransforming(option, ctx))
|
|
620
|
+
return true;
|
|
621
|
+
}
|
|
622
|
+
return false;
|
|
623
|
+
}
|
|
624
|
+
if (def.type === "tuple") {
|
|
625
|
+
for (const item of def.items) {
|
|
626
|
+
if (isTransforming(item, ctx))
|
|
627
|
+
return true;
|
|
628
|
+
}
|
|
629
|
+
if (def.rest && isTransforming(def.rest, ctx))
|
|
630
|
+
return true;
|
|
631
|
+
return false;
|
|
632
|
+
}
|
|
633
|
+
return false;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Creates a toJSONSchema method for a schema instance.
|
|
637
|
+
* This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
|
|
638
|
+
*/
|
|
639
|
+
export const createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
640
|
+
const ctx = initializeContext({ ...params, processors });
|
|
641
|
+
processSchema(schema, ctx);
|
|
642
|
+
extractDefs(ctx, schema);
|
|
643
|
+
return finalize(ctx, schema);
|
|
644
|
+
};
|
|
645
|
+
export const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
|
|
646
|
+
const { libraryOptions, target } = params ?? {};
|
|
647
|
+
const ctx = initializeContext({ ...(libraryOptions ?? {}), target, io, processors });
|
|
648
|
+
processSchema(schema, ctx);
|
|
649
|
+
extractDefs(ctx, schema);
|
|
650
|
+
return finalize(ctx, schema);
|
|
651
|
+
};
|