@qqbrowser/qbot-dsh 0.0.15 → 0.1.1
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/config/agent-presets/code/agent.cordis.yml +2 -2
- package/config/agent-presets/standard/agent.cordis.yml +2 -2
- package/cordis.patch.yml +50 -0
- package/lib/args-w1okyL78.js +9 -0
- package/lib/bin.js +2 -2
- package/lib/client.js +1 -0
- package/lib/content-review-CqDoh3wY.js +1 -0
- package/lib/content-review.js +1 -0
- package/lib/dump-config-CIL0Goqj.js +1 -0
- package/lib/gateway-port-CSFbDyoZ.js +1 -0
- package/lib/index.js +1 -0
- package/lib/llm-gateway-openai.js +17 -0
- package/lib/native-protocol-DdrIh89-.js +2 -0
- package/lib/{plugin-DNAeLZbb.js → plugin-viWCLnSr.js} +1 -1
- package/lib/profile-boot-CxJUSdnu.js +1 -0
- package/lib/profile-boot-DCgBQ4qO.js +8 -0
- package/lib/qb-auth-C2ofR1zn.js +4 -0
- package/lib/qb-auth.js +1 -0
- package/lib/web-search-dsh.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +12 -12
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +6 -37
- package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-runtime/lib/client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-schema-form/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web-react/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cmdline/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +5 -2
- package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +10 -4
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +5 -2
- package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +3 -3
- package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/index.js +7 -7
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/rpc.schema.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api-proxy.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/assembler.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +7 -10
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +9 -30
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +15 -15
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/code-mode.js +8 -8
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +3 -3
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js +4 -5
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-BQQQ5Qt-.js → index-fPGOmJjK.js} +25 -25
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/lib/worker.cjs +9 -8
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/node-addon-landlock-run/package.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +5 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +5 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +6 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openrouter.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +5 -5
- package/node_modules/@earendil-works/pi-ai/package.json +1 -1
- package/node_modules/@koromix/koffi-darwin-arm64/darwin_arm64/koffi.node +0 -0
- package/node_modules/@koromix/koffi-darwin-arm64/package.json +1 -1
- package/node_modules/@koromix/koffi-darwin-x64/darwin_x64/koffi.node +0 -0
- package/node_modules/@koromix/koffi-darwin-x64/package.json +1 -1
- package/node_modules/@koromix/koffi-win32-x64/package.json +1 -1
- package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.node +0 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +126 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +19 -7
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +1 -1
- package/node_modules/@tanstack/react-virtual/package.json +1 -1
- package/node_modules/@tanstack/virtual-core/dist/cjs/index.cjs +7 -1
- package/node_modules/@tanstack/virtual-core/dist/cjs/utils.cjs +14 -4
- package/node_modules/@tanstack/virtual-core/dist/esm/index.js +1 -1
- package/node_modules/@tanstack/virtual-core/dist/esm/utils.js +2 -2
- package/node_modules/@tanstack/virtual-core/package.json +1 -1
- package/node_modules/hono/dist/cjs/client/utils.js +1 -1
- package/node_modules/hono/dist/cjs/context.js +4 -0
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/etag/digest.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +3 -1
- package/node_modules/hono/dist/cjs/router/linear-router/router.js +7 -2
- package/node_modules/hono/dist/cjs/router/pattern-router/router.js +3 -9
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +43 -67
- package/node_modules/hono/dist/cjs/router/trie-router/router.js +3 -11
- package/node_modules/hono/dist/cjs/utils/ipaddr.js +5 -3
- package/node_modules/hono/dist/client/utils.js +1 -1
- package/node_modules/hono/dist/middleware/cors/index.js +1 -1
- package/node_modules/hono/dist/middleware/csrf/index.js +1 -1
- package/node_modules/hono/dist/middleware/etag/digest.js +1 -1
- package/node_modules/hono/dist/middleware/etag/index.js +1 -1
- package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -1
- package/node_modules/hono/dist/router/linear-router/router.js +1 -1
- package/node_modules/hono/dist/router/pattern-router/router.js +1 -1
- package/node_modules/hono/dist/router/trie-router/node.js +1 -1
- package/node_modules/hono/dist/router/trie-router/router.js +1 -1
- package/node_modules/hono/dist/utils/ipaddr.js +1 -1
- package/node_modules/hono/package.json +1 -1
- package/node_modules/koffi/package.json +1 -1
- package/node_modules/koffi/src/koffi/index.cjs +1 -1
- package/node_modules/koffi/src/koffi/index.js +1 -1
- package/node_modules/koffi/src/koffi/indirect.cjs +1 -1
- package/node_modules/koffi/src/koffi/indirect.js +1 -1
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +10 -34
- package/node_modules/negotiator/lib/encoding.js +9 -30
- package/node_modules/negotiator/lib/language.js +15 -36
- package/node_modules/negotiator/lib/mediaType.js +16 -134
- package/node_modules/negotiator/node_modules/content-type/LICENSE +22 -0
- package/node_modules/negotiator/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/negotiator/node_modules/content-type/package.json +1 -0
- package/node_modules/negotiator/package.json +1 -1
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +11 -2
- package/node_modules/node-pty/lib/index.js +6 -6
- package/node_modules/node-pty/lib/shared/conout.js +2 -3
- package/node_modules/node-pty/lib/terminal.js +2 -2
- package/node_modules/node-pty/lib/unixTerminal.js +11 -6
- package/node_modules/node-pty/lib/utils.js +6 -7
- package/node_modules/node-pty/lib/windowsConoutConnection.js +24 -18
- package/node_modules/node-pty/lib/windowsPtyAgent.js +125 -101
- package/node_modules/node-pty/lib/windowsTerminal.js +14 -4
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +3 -3
- package/node_modules/node-pty/package.json +1 -1
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/scripts/post-install.js +1 -5
- package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-arm64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/{1.23.251008001 → 1.25.260303002}/win10-arm64/conpty.dll +0 -0
- package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-x64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-x64/conpty.dll +0 -0
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/_idna.mjs +1 -1
- package/node_modules/typebox/build/format/_puny.mjs +1 -1
- package/node_modules/typebox/build/format/uuid.mjs +1 -1
- package/node_modules/typebox/build/guard/emit.mjs +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +1 -1
- package/node_modules/typebox/build/guard/string.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_guard.mjs +1 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/index.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/schema.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/types/_guard.mjs +1 -0
- package/node_modules/typebox/build/schema/types/index.mjs +1 -1
- package/node_modules/typebox/build/schema/types/schema.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ar_001.mjs +1 -1
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +1 -1
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +1 -1
- package/node_modules/typebox/build/system/locale/de_DE.mjs +1 -1
- package/node_modules/typebox/build/system/locale/el_GR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/en_US.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_419.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_AR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_ES.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_MX.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +1 -1
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +1 -1
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +1 -1
- package/node_modules/typebox/build/system/locale/id_ID.mjs +1 -1
- package/node_modules/typebox/build/system/locale/it_IT.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +1 -1
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +1 -1
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +1 -1
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +1 -1
- package/node_modules/typebox/build/system/locale/th_TH.mjs +1 -1
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +1 -1
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +1 -1
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +1 -1
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +1 -1
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +1 -1
- package/node_modules/typebox/build/system/memory/clone.mjs +1 -1
- package/node_modules/typebox/build/system/settings/settings.mjs +1 -1
- package/node_modules/typebox/build/type/action/_optional.mjs +1 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +1 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +1 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +1 -1
- package/node_modules/typebox/build/type/action/index.mjs +1 -1
- package/node_modules/typebox/build/type/action/mapped.mjs +1 -1
- package/node_modules/typebox/build/type/action/module.mjs +1 -1
- package/node_modules/typebox/build/type/action/options.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +1 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +1 -1
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +1 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +1 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/index.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +1 -1
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +1 -1
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +1 -1
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +1 -1
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +1 -1
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +1 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +1 -1
- package/node_modules/typebox/build/type/extends/extends_left.mjs +1 -1
- package/node_modules/typebox/build/type/extends/extends_right.mjs +1 -1
- package/node_modules/typebox/build/type/extends/inference.mjs +1 -1
- package/node_modules/typebox/build/type/extends/iterator.mjs +1 -0
- package/node_modules/typebox/build/type/extends/object.mjs +1 -1
- package/node_modules/typebox/build/type/extends/parameters.mjs +1 -1
- package/node_modules/typebox/build/type/extends/promise.mjs +1 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/extends/tuple.mjs +1 -1
- package/node_modules/typebox/build/type/extends/union.mjs +1 -1
- package/node_modules/typebox/build/type/script/mapping.mjs +1 -1
- package/node_modules/typebox/build/type/script/parser.mjs +6 -6
- package/node_modules/typebox/build/type/script/script.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/until.mjs +1 -1
- package/node_modules/typebox/build/type/types/_immutable.mjs +1 -1
- package/node_modules/typebox/build/type/types/_optional.mjs +1 -1
- package/node_modules/typebox/build/type/types/_readonly.mjs +1 -1
- package/node_modules/typebox/build/type/types/_refine.mjs +1 -1
- package/node_modules/typebox/build/type/types/async_iterator.mjs +1 -0
- package/node_modules/typebox/build/type/types/base.mjs +1 -0
- package/node_modules/typebox/build/type/types/call.mjs +1 -1
- package/node_modules/typebox/build/type/types/deferred.mjs +1 -1
- package/node_modules/typebox/build/type/types/enum.mjs +1 -1
- package/node_modules/typebox/build/type/types/index.mjs +1 -1
- package/node_modules/typebox/build/type/types/iterator.mjs +1 -0
- package/node_modules/typebox/build/type/types/number.mjs +1 -1
- package/node_modules/typebox/build/type/types/promise.mjs +1 -0
- package/node_modules/typebox/build/type/types/record.mjs +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/build/value/clean/clean.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_union.mjs +1 -1
- package/node_modules/typebox/build/value/clone/clone.mjs +1 -1
- package/node_modules/typebox/build/value/codec/decode.mjs +1 -1
- package/node_modules/typebox/build/value/codec/encode.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_array.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_object.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_record.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_union.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/create/from_iterator.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/default/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +1 -1
- package/node_modules/typebox/build/value/default/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/index.mjs +1 -1
- package/node_modules/typebox/build/value/mutate/error.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +1 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/repair/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +1 -1
- package/node_modules/typebox/build/value/value.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/package.json +1 -1
- package/lib/args-DcHS9iff.js +0 -9
- package/lib/dump-config-xQTUTTDD.js +0 -1
- package/lib/profile-boot-BkordgJK.js +0 -1
- package/lib/profile-boot-DDo03lXi.js +0 -8
- package/node_modules/@deepseek-ai/dsh-content-review/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-content-review/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-content-review/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-content-review/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/index.js +0 -17
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/index.js +0 -4
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/package.json +0 -1
- package/node_modules/@napi-rs/xattr/LICENSE +0 -21
- package/node_modules/@napi-rs/xattr/index.js +0 -567
- package/node_modules/@napi-rs/xattr/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-arm64/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-arm64/xattr.darwin-arm64.node +0 -0
- package/node_modules/@napi-rs/xattr-darwin-x64/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-x64/xattr.darwin-x64.node +0 -0
- package/node_modules/@parcel/watcher/LICENSE +0 -21
- package/node_modules/@parcel/watcher/index.js +0 -44
- package/node_modules/@parcel/watcher/index.js.flow +0 -45
- package/node_modules/@parcel/watcher/package.json +0 -1
- package/node_modules/@parcel/watcher/scripts/build-from-source.js +0 -16
- package/node_modules/@parcel/watcher/wrapper.js +0 -88
- package/node_modules/@parcel/watcher-darwin-arm64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-darwin-arm64/package.json +0 -1
- package/node_modules/@parcel/watcher-darwin-arm64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-darwin-x64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-darwin-x64/package.json +0 -1
- package/node_modules/@parcel/watcher-darwin-x64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-win32-x64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-win32-x64/package.json +0 -1
- package/node_modules/@parcel/watcher-win32-x64/watcher.node +0 -0
- package/node_modules/is-extglob/LICENSE +0 -21
- package/node_modules/is-extglob/index.js +0 -20
- package/node_modules/is-extglob/package.json +0 -1
- package/node_modules/is-glob/LICENSE +0 -21
- package/node_modules/is-glob/index.js +0 -150
- package/node_modules/is-glob/package.json +0 -1
- package/node_modules/node-pty/deps/winpty/.drone.yml +0 -15
- package/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/node_modules/node-pty/deps/winpty/configure +0 -167
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -1
- package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -1
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -1
- package/node_modules/typebox/build/type/action/with.mjs +0 -1
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -1
- package/node_modules/typebox/build/type/extends/dependent.mjs +0 -1
- package/node_modules/typebox/build/type/extends/record.mjs +0 -1
- package/node_modules/typebox/build/type/types/dependent.mjs +0 -1
- /package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-D2_FQYSK.js → types-DE3U0cmQ.js} +0 -0
- /package/node_modules/typebox/build/type/engine/{with → awaited}/index.mjs +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require("@smithy/core/serde");
|
|
2
|
-
const {
|
|
3
|
-
const { HttpRequest, HttpResponse, isValidHostname } = require("@smithy/core/transport");
|
|
2
|
+
const { HttpRequest, HttpResponse, hasOwn, isValidHostname } = require("@smithy/core/transport");
|
|
4
3
|
const { parseQueryString, parseUrl } = require("@smithy/core/transport");
|
|
5
4
|
exports.HttpRequest = HttpRequest;
|
|
6
5
|
exports.HttpResponse = HttpResponse;
|
|
7
6
|
exports.isValidHostname = isValidHostname;
|
|
8
7
|
exports.parseQueryString = parseQueryString;
|
|
9
8
|
exports.parseUrl = parseUrl;
|
|
9
|
+
const { TypeRegistry, NormalizedSchema, translateTraits } = require("@smithy/core/schema");
|
|
10
10
|
const { FieldPosition } = require("@smithy/types");
|
|
11
11
|
|
|
12
12
|
const collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
@@ -75,6 +75,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
75
75
|
}
|
|
76
76
|
if (endpoint.headers) {
|
|
77
77
|
for (const name in endpoint.headers) {
|
|
78
|
+
if (!hasOwn(endpoint.headers, name))
|
|
79
|
+
continue;
|
|
78
80
|
request.headers[name] = endpoint.headers[name].join(", ");
|
|
79
81
|
}
|
|
80
82
|
}
|
|
@@ -90,6 +92,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
90
92
|
};
|
|
91
93
|
if (endpoint.headers) {
|
|
92
94
|
for (const name in endpoint.headers) {
|
|
95
|
+
if (!hasOwn(endpoint.headers, name))
|
|
96
|
+
continue;
|
|
93
97
|
request.headers[name] = endpoint.headers[name];
|
|
94
98
|
}
|
|
95
99
|
}
|
|
@@ -269,6 +273,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
269
273
|
}
|
|
270
274
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
271
275
|
for (const key in inputMemberValue) {
|
|
276
|
+
if (!hasOwn(inputMemberValue, key))
|
|
277
|
+
continue;
|
|
272
278
|
const val = inputMemberValue[key];
|
|
273
279
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
274
280
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
@@ -315,6 +321,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
315
321
|
const traits = ns.getMergedTraits();
|
|
316
322
|
if (traits.httpQueryParams) {
|
|
317
323
|
for (const key in data) {
|
|
324
|
+
if (!hasOwn(data, key))
|
|
325
|
+
continue;
|
|
318
326
|
if (!(key in query)) {
|
|
319
327
|
const val = data[key];
|
|
320
328
|
const valueSchema = ns.getValueSchema();
|
|
@@ -358,6 +366,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
358
366
|
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
359
367
|
}
|
|
360
368
|
for (const header in response.headers) {
|
|
369
|
+
if (!hasOwn(response.headers, header))
|
|
370
|
+
continue;
|
|
361
371
|
const value = response.headers[header];
|
|
362
372
|
delete response.headers[header];
|
|
363
373
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -445,6 +455,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
445
455
|
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
446
456
|
dataObject[memberName] = {};
|
|
447
457
|
for (const header in response.headers) {
|
|
458
|
+
if (!hasOwn(response.headers, header))
|
|
459
|
+
continue;
|
|
448
460
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
449
461
|
const value = response.headers[header];
|
|
450
462
|
const valueSchema = memberSchema.getValueSchema();
|
|
@@ -530,6 +542,8 @@ class RpcProtocol extends HttpProtocol {
|
|
|
530
542
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
531
543
|
}
|
|
532
544
|
for (const header in response.headers) {
|
|
545
|
+
if (!hasOwn(response.headers, header))
|
|
546
|
+
continue;
|
|
533
547
|
const value = response.headers[header];
|
|
534
548
|
delete response.headers[header];
|
|
535
549
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
2
2
|
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
3
3
|
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
4
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
4
5
|
|
|
5
6
|
const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
6
7
|
|
|
@@ -92,7 +93,9 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
92
93
|
if (!HttpResponse.isInstance(response)) {
|
|
93
94
|
return;
|
|
94
95
|
}
|
|
95
|
-
for (const header
|
|
96
|
+
for (const header in response.headers) {
|
|
97
|
+
if (!hasOwn(response.headers, header))
|
|
98
|
+
continue;
|
|
96
99
|
const h = header.toLowerCase();
|
|
97
100
|
if (h === "retry-after") {
|
|
98
101
|
const retryAfter = response.headers[header];
|
|
@@ -2,6 +2,7 @@ const { Readable } = require("node:stream");
|
|
|
2
2
|
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
3
3
|
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
5
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
5
6
|
|
|
6
7
|
const isStreamingPayload = (request) => request?.body instanceof Readable ||
|
|
7
8
|
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
|
|
@@ -94,7 +95,9 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
94
95
|
if (!HttpResponse.isInstance(response)) {
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
|
-
for (const header
|
|
98
|
+
for (const header in response.headers) {
|
|
99
|
+
if (!hasOwn(response.headers, header))
|
|
100
|
+
continue;
|
|
98
101
|
const h = header.toLowerCase();
|
|
99
102
|
if (h === "retry-after") {
|
|
100
103
|
const retryAfter = response.headers[header];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
1
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
exports.hasOwn = hasOwn;
|
|
2
3
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
3
4
|
|
|
4
5
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
@@ -291,6 +292,8 @@ const expectUnion = (value) => {
|
|
|
291
292
|
const asObject = expectObject(value);
|
|
292
293
|
const setKeys = [];
|
|
293
294
|
for (const k in asObject) {
|
|
295
|
+
if (!hasOwn(asObject, k))
|
|
296
|
+
continue;
|
|
294
297
|
if (asObject[k] != null) {
|
|
295
298
|
setKeys.push(k);
|
|
296
299
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { createHmac, createHash, getRandomValues } = require("node:crypto");
|
|
2
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
3
|
+
exports.hasOwn = hasOwn;
|
|
2
4
|
const { ReadStream, lstatSync, fstatSync } = require("node:fs");
|
|
3
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
4
5
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
5
6
|
const { Readable, Writable, PassThrough } = require("node:stream");
|
|
6
7
|
|
|
@@ -259,6 +260,8 @@ const expectUnion = (value) => {
|
|
|
259
260
|
const asObject = expectObject(value);
|
|
260
261
|
const setKeys = [];
|
|
261
262
|
for (const k in asObject) {
|
|
263
|
+
if (!hasOwn(asObject, k))
|
|
264
|
+
continue;
|
|
262
265
|
if (asObject[k] != null) {
|
|
263
266
|
setKeys.push(k);
|
|
264
267
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const { HttpResponse } = require("@smithy/core/transport");
|
|
1
|
+
const { hasOwn, HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
exports.hasOwn = hasOwn;
|
|
2
3
|
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
3
4
|
|
|
4
5
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
@@ -291,6 +292,8 @@ const expectUnion = (value) => {
|
|
|
291
292
|
const asObject = expectObject(value);
|
|
292
293
|
const setKeys = [];
|
|
293
294
|
for (const k in asObject) {
|
|
295
|
+
if (!hasOwn(asObject, k))
|
|
296
|
+
continue;
|
|
294
297
|
if (asObject[k] != null) {
|
|
295
298
|
setKeys.push(k);
|
|
296
299
|
}
|
|
@@ -2,6 +2,10 @@ const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
|
|
|
2
2
|
|
|
3
3
|
const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
4
4
|
|
|
5
|
+
function hasOwn(o, k) {
|
|
6
|
+
return Object.prototype.hasOwnProperty.call(o, k);
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
class HttpRequest {
|
|
6
10
|
method;
|
|
7
11
|
protocol;
|
|
@@ -161,6 +165,8 @@ const toEndpointV1 = (endpoint) => {
|
|
|
161
165
|
if (endpoint.headers) {
|
|
162
166
|
v1Endpoint.headers = {};
|
|
163
167
|
for (const name in endpoint.headers) {
|
|
168
|
+
if (!hasOwn(endpoint.headers, name))
|
|
169
|
+
continue;
|
|
164
170
|
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
165
171
|
}
|
|
166
172
|
}
|
|
@@ -174,6 +180,7 @@ const toEndpointV1 = (endpoint) => {
|
|
|
174
180
|
exports.HttpRequest = HttpRequest;
|
|
175
181
|
exports.HttpResponse = HttpResponse;
|
|
176
182
|
exports.getSmithyContext = getSmithyContext;
|
|
183
|
+
exports.hasOwn = hasOwn;
|
|
177
184
|
exports.isValidHostLabel = isValidHostLabel;
|
|
178
185
|
exports.isValidHostname = isValidHostname;
|
|
179
186
|
exports.normalizeProvider = normalizeProvider;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
export class DefaultIdentityProviderConfig {
|
|
2
3
|
authSchemes = new Map();
|
|
3
4
|
constructor(config) {
|
|
4
5
|
for (const key in config) {
|
|
6
|
+
if (!hasOwn(config, key))
|
|
7
|
+
continue;
|
|
5
8
|
const value = config[key];
|
|
6
9
|
if (value !== undefined) {
|
|
7
10
|
this.authSchemes.set(key, value);
|
|
@@ -271,23 +271,39 @@ function decodeTagValue(at, to, minor, unsignedInt, offset) {
|
|
|
271
271
|
}
|
|
272
272
|
else if (minor === 4) {
|
|
273
273
|
const decimalFraction = decode(at + offset, to);
|
|
274
|
-
const [
|
|
274
|
+
const [rawExponent, mantissa] = decimalFraction;
|
|
275
275
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
276
|
-
const
|
|
277
|
-
|
|
276
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
277
|
+
const mantissaDigits = String(absMantissa);
|
|
278
278
|
const sign = mantissa < 0 ? "-" : "";
|
|
279
|
-
numericString
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
279
|
+
let numericString;
|
|
280
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
281
|
+
if (isSmallExponent) {
|
|
282
|
+
const exponent = rawExponent;
|
|
283
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
284
|
+
numericString =
|
|
285
|
+
exponent === 0
|
|
286
|
+
? mantissaStr
|
|
287
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
288
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
289
|
+
if (numericString === "") {
|
|
290
|
+
numericString = "0";
|
|
291
|
+
}
|
|
292
|
+
if (numericString[0] === ".") {
|
|
293
|
+
numericString = "0" + numericString;
|
|
294
|
+
}
|
|
295
|
+
numericString = sign + numericString;
|
|
286
296
|
}
|
|
287
|
-
|
|
288
|
-
|
|
297
|
+
else {
|
|
298
|
+
const bigExponent = BigInt(rawExponent);
|
|
299
|
+
if (mantissaDigits.length === 1) {
|
|
300
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
301
|
+
}
|
|
302
|
+
else {
|
|
303
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
304
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
305
|
+
}
|
|
289
306
|
}
|
|
290
|
-
numericString = sign + numericString;
|
|
291
307
|
_offset = offset + _offset;
|
|
292
308
|
return nv(numericString);
|
|
293
309
|
}
|
|
@@ -155,13 +155,21 @@ export function encode(_input) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof input === "object") {
|
|
157
157
|
if (input instanceof NumericValue) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
const
|
|
158
|
+
let str = input.string;
|
|
159
|
+
let expOffset = BigInt(0);
|
|
160
|
+
const eIndex = str.search(/[eE]/);
|
|
161
|
+
if (eIndex !== -1) {
|
|
162
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
163
|
+
str = str.slice(0, eIndex);
|
|
164
|
+
}
|
|
165
|
+
const decimalIndex = str.indexOf(".");
|
|
166
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
167
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
168
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
161
169
|
data[cursor++] = 0b110_00100;
|
|
162
170
|
encodeInteger(majorList, 2);
|
|
163
171
|
encodeStack.push(mantissa);
|
|
164
|
-
encodeStack.push(exponent);
|
|
172
|
+
encodeStack.push(exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn ? Number(exponent) : exponent);
|
|
165
173
|
continue;
|
|
166
174
|
}
|
|
167
175
|
if (input[tagSymbol]) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
3
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
4
|
import { NumericValue, _parseEpochTimestamp, fromBase64 } from "@smithy/core/serde";
|
|
@@ -59,6 +60,8 @@ export class CborShapeDeserializer extends SerdeContext {
|
|
|
59
60
|
if (ns.isMapSchema()) {
|
|
60
61
|
const targetSchema = ns.getValueSchema();
|
|
61
62
|
for (const key in value) {
|
|
63
|
+
if (!hasOwn(value, key))
|
|
64
|
+
continue;
|
|
62
65
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
63
66
|
newObject[key] = itemValue;
|
|
64
67
|
}
|
|
@@ -69,6 +72,8 @@ export class CborShapeDeserializer extends SerdeContext {
|
|
|
69
72
|
if (isUnion) {
|
|
70
73
|
keys = new Set();
|
|
71
74
|
for (const k in value) {
|
|
75
|
+
if (!hasOwn(value, k))
|
|
76
|
+
continue;
|
|
72
77
|
if (k !== "__type") {
|
|
73
78
|
keys.add(k);
|
|
74
79
|
}
|
|
@@ -85,6 +90,8 @@ export class CborShapeDeserializer extends SerdeContext {
|
|
|
85
90
|
if (isUnion && keys?.size === 1) {
|
|
86
91
|
let newObjectEmpty = true;
|
|
87
92
|
for (const _ in newObject) {
|
|
93
|
+
if (!hasOwn(newObject, _))
|
|
94
|
+
continue;
|
|
88
95
|
newObjectEmpty = false;
|
|
89
96
|
break;
|
|
90
97
|
}
|
|
@@ -95,6 +102,8 @@ export class CborShapeDeserializer extends SerdeContext {
|
|
|
95
102
|
}
|
|
96
103
|
else if (typeof value.__type === "string") {
|
|
97
104
|
for (const k in value) {
|
|
105
|
+
if (!hasOwn(value, k))
|
|
106
|
+
continue;
|
|
98
107
|
if (!(k in newObject)) {
|
|
99
108
|
newObject[k] = value[k];
|
|
100
109
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
3
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
4
|
import { fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
|
|
@@ -49,6 +50,8 @@ export class CborShapeSerializer extends SerdeContext {
|
|
|
49
50
|
if (ns.isMapSchema()) {
|
|
50
51
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
51
52
|
for (const key in sourceObject) {
|
|
53
|
+
if (!hasOwn(sourceObject, key))
|
|
54
|
+
continue;
|
|
52
55
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
53
56
|
if (value != null || sparse) {
|
|
54
57
|
newObject[key] = value;
|
|
@@ -69,6 +72,8 @@ export class CborShapeSerializer extends SerdeContext {
|
|
|
69
72
|
}
|
|
70
73
|
else if (typeof sourceObject.__type === "string") {
|
|
71
74
|
for (const k in sourceObject) {
|
|
75
|
+
if (!hasOwn(sourceObject, k))
|
|
76
|
+
continue;
|
|
72
77
|
if (!(k in newObject)) {
|
|
73
78
|
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
74
79
|
}
|
|
@@ -85,6 +90,8 @@ export class CborShapeSerializer extends SerdeContext {
|
|
|
85
90
|
return newArray;
|
|
86
91
|
}
|
|
87
92
|
for (const key in sourceObject) {
|
|
93
|
+
if (!hasOwn(sourceObject, key))
|
|
94
|
+
continue;
|
|
88
95
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
89
96
|
}
|
|
90
97
|
}
|
package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
3
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
4
|
import { NumericValue, _parseEpochTimestamp, nv } from "@smithy/core/serde";
|
|
@@ -120,6 +121,8 @@ function readStruct(ns, count, startPos) {
|
|
|
120
121
|
if (isUnion) {
|
|
121
122
|
let resultEmpty = true;
|
|
122
123
|
for (const _ in result) {
|
|
124
|
+
if (!hasOwn(result, _))
|
|
125
|
+
continue;
|
|
123
126
|
resultEmpty = false;
|
|
124
127
|
break;
|
|
125
128
|
}
|
|
@@ -159,23 +162,39 @@ function readTag(ns) {
|
|
|
159
162
|
if (tagNumber === 4) {
|
|
160
163
|
const docSchema = NormalizedSchema.of(15);
|
|
161
164
|
const pair = readValue(docSchema);
|
|
162
|
-
const [
|
|
165
|
+
const [rawExponent, mantissa] = pair;
|
|
163
166
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
164
|
-
const
|
|
165
|
-
|
|
167
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
168
|
+
const mantissaDigits = String(absMantissa);
|
|
166
169
|
const sign = mantissa < 0 ? "-" : "";
|
|
167
|
-
numericString
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
numericString =
|
|
177
|
-
|
|
178
|
-
|
|
170
|
+
let numericString;
|
|
171
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
172
|
+
if (isSmallExponent) {
|
|
173
|
+
const exponent = rawExponent;
|
|
174
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
175
|
+
numericString =
|
|
176
|
+
exponent === 0
|
|
177
|
+
? mantissaStr
|
|
178
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
179
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
180
|
+
if (numericString === "") {
|
|
181
|
+
numericString = "0";
|
|
182
|
+
}
|
|
183
|
+
if (numericString[0] === ".") {
|
|
184
|
+
numericString = "0" + numericString;
|
|
185
|
+
}
|
|
186
|
+
numericString = sign + numericString;
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
const bigExponent = BigInt(rawExponent);
|
|
190
|
+
if (mantissaDigits.length === 1) {
|
|
191
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
195
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
179
198
|
return nv(numericString);
|
|
180
199
|
}
|
|
181
200
|
const docSchema = NormalizedSchema.of(15);
|
|
@@ -272,6 +291,8 @@ function readMapIndefinite(ns) {
|
|
|
272
291
|
if (isUnion) {
|
|
273
292
|
let resultEmpty = true;
|
|
274
293
|
for (const _ in result) {
|
|
294
|
+
if (!hasOwn(result, _))
|
|
295
|
+
continue;
|
|
275
296
|
resultEmpty = false;
|
|
276
297
|
break;
|
|
277
298
|
}
|
|
@@ -576,6 +597,8 @@ function transformObject(ns, value) {
|
|
|
576
597
|
if (ns.isMapSchema()) {
|
|
577
598
|
const targetSchema = ns.getValueSchema();
|
|
578
599
|
for (const key in value) {
|
|
600
|
+
if (!hasOwn(value, key))
|
|
601
|
+
continue;
|
|
579
602
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
580
603
|
}
|
|
581
604
|
}
|
|
@@ -585,6 +608,8 @@ function transformObject(ns, value) {
|
|
|
585
608
|
if (isUnion) {
|
|
586
609
|
keys = new Set();
|
|
587
610
|
for (const k in value) {
|
|
611
|
+
if (!hasOwn(value, k))
|
|
612
|
+
continue;
|
|
588
613
|
if (k !== "__type") {
|
|
589
614
|
keys.add(k);
|
|
590
615
|
}
|
|
@@ -601,6 +626,8 @@ function transformObject(ns, value) {
|
|
|
601
626
|
if (isUnion && keys?.size === 1) {
|
|
602
627
|
let newObjectEmpty = true;
|
|
603
628
|
for (const _ in newObject) {
|
|
629
|
+
if (!hasOwn(newObject, _))
|
|
630
|
+
continue;
|
|
604
631
|
newObjectEmpty = false;
|
|
605
632
|
break;
|
|
606
633
|
}
|
|
@@ -611,6 +638,8 @@ function transformObject(ns, value) {
|
|
|
611
638
|
}
|
|
612
639
|
else if (typeof value.__type === "string") {
|
|
613
640
|
for (const k in value) {
|
|
641
|
+
if (!hasOwn(value, k))
|
|
642
|
+
continue;
|
|
614
643
|
if (!(k in newObject)) {
|
|
615
644
|
newObject[k] = value[k];
|
|
616
645
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
3
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
4
|
import { NumericValue, fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
|
|
@@ -253,6 +254,8 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
253
254
|
}
|
|
254
255
|
if (typeof value.__type === "string") {
|
|
255
256
|
for (const k in value) {
|
|
257
|
+
if (!hasOwn(value, k))
|
|
258
|
+
continue;
|
|
256
259
|
if (!memberNames.includes(k)) {
|
|
257
260
|
writeString(k);
|
|
258
261
|
writeUntypedValue(value[k]);
|
|
@@ -318,6 +321,8 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
318
321
|
const valueSchema = ns.getValueSchema();
|
|
319
322
|
const keys = [];
|
|
320
323
|
for (const k in value) {
|
|
324
|
+
if (!hasOwn(value, k))
|
|
325
|
+
continue;
|
|
321
326
|
const v = value[k];
|
|
322
327
|
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
323
328
|
keys.push(k);
|
|
@@ -579,14 +584,27 @@ function writeTag(tagValue, innerValue) {
|
|
|
579
584
|
writeUntypedValue(innerValue);
|
|
580
585
|
}
|
|
581
586
|
function writeNumericValue(nv) {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
const
|
|
587
|
+
let str = nv.string;
|
|
588
|
+
let expOffset = BigInt(0);
|
|
589
|
+
const eIndex = str.search(/[eE]/);
|
|
590
|
+
if (eIndex !== -1) {
|
|
591
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
592
|
+
str = str.slice(0, eIndex);
|
|
593
|
+
}
|
|
594
|
+
const decimalIndex = str.indexOf(".");
|
|
595
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
596
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
597
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
585
598
|
ensure(9);
|
|
586
599
|
buf[cursor++] = 0b110_00100;
|
|
587
600
|
encodeHeader(majorList, 2);
|
|
588
601
|
ensure(9);
|
|
589
|
-
|
|
602
|
+
if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {
|
|
603
|
+
writeInteger(Number(exponent));
|
|
604
|
+
}
|
|
605
|
+
else {
|
|
606
|
+
writeBigInt(exponent);
|
|
607
|
+
}
|
|
590
608
|
writeBigInt(mantissa);
|
|
591
609
|
}
|
|
592
610
|
function writeTimestamp(date) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { HttpRequest as __HttpRequest, collectBody } from "@smithy/core/protocols";
|
|
2
3
|
import { calculateBodyLength } from "@smithy/core/serde";
|
|
3
4
|
import { cbor } from "./cbor";
|
|
@@ -51,6 +52,8 @@ export const loadSmithyRpcV2CborErrorCode = (output, data) => {
|
|
|
51
52
|
}
|
|
52
53
|
let codeKey;
|
|
53
54
|
for (const key in data) {
|
|
55
|
+
if (!hasOwn(data, key))
|
|
56
|
+
continue;
|
|
54
57
|
if (key.toLowerCase() === "code") {
|
|
55
58
|
codeKey = key;
|
|
56
59
|
break;
|
|
@@ -83,6 +86,8 @@ export const buildHttpRpcRequest = async (context, headers, path, resolvedHostna
|
|
|
83
86
|
}
|
|
84
87
|
if (endpoint.headers) {
|
|
85
88
|
for (const name in endpoint.headers) {
|
|
89
|
+
if (!hasOwn(endpoint.headers, name))
|
|
90
|
+
continue;
|
|
86
91
|
contents.headers[name] = endpoint.headers[name];
|
|
87
92
|
}
|
|
88
93
|
}
|
package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { AlgorithmId, } from "@smithy/types";
|
|
2
3
|
export { AlgorithmId };
|
|
3
4
|
const knownAlgorithms = Object.values(AlgorithmId);
|
|
4
5
|
export const getChecksumConfiguration = (runtimeConfig) => {
|
|
5
6
|
const checksumAlgorithms = [];
|
|
6
7
|
for (const id in AlgorithmId) {
|
|
8
|
+
if (!hasOwn(AlgorithmId, id))
|
|
9
|
+
continue;
|
|
7
10
|
const algorithmId = AlgorithmId[id];
|
|
8
11
|
if (runtimeConfig[algorithmId] === undefined) {
|
|
9
12
|
continue;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
export const getValueFromTextNode = (obj) => {
|
|
2
3
|
const textNodeName = "#text";
|
|
3
4
|
for (const key in obj) {
|
|
4
|
-
if (
|
|
5
|
+
if (!hasOwn(obj, key))
|
|
6
|
+
continue;
|
|
7
|
+
if (obj[key][textNodeName] !== undefined) {
|
|
5
8
|
obj[key] = obj[key][textNodeName];
|
|
6
9
|
}
|
|
7
10
|
else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
export function map(arg0, arg1, arg2) {
|
|
2
3
|
let target;
|
|
3
4
|
let filter;
|
|
@@ -17,7 +18,9 @@ export function map(arg0, arg1, arg2) {
|
|
|
17
18
|
instructions = arg1;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
for (const key
|
|
21
|
+
for (const key in instructions) {
|
|
22
|
+
if (!hasOwn(instructions, key))
|
|
23
|
+
continue;
|
|
21
24
|
if (!Array.isArray(instructions[key])) {
|
|
22
25
|
target[key] = instructions[key];
|
|
23
26
|
continue;
|
|
@@ -36,6 +39,8 @@ export const convertMap = (target) => {
|
|
|
36
39
|
export const take = (source, instructions) => {
|
|
37
40
|
const out = {};
|
|
38
41
|
for (const key in instructions) {
|
|
42
|
+
if (!hasOwn(instructions, key))
|
|
43
|
+
continue;
|
|
39
44
|
applyInstruction(out, source, instructions, key);
|
|
40
45
|
}
|
|
41
46
|
return out;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
export const _json = (obj) => {
|
|
2
3
|
if (obj == null) {
|
|
3
4
|
return {};
|
|
@@ -7,7 +8,9 @@ export const _json = (obj) => {
|
|
|
7
8
|
}
|
|
8
9
|
if (typeof obj === "object") {
|
|
9
10
|
const target = {};
|
|
10
|
-
for (const key
|
|
11
|
+
for (const key in obj) {
|
|
12
|
+
if (!hasOwn(obj, key))
|
|
13
|
+
continue;
|
|
11
14
|
if (obj[key] == null) {
|
|
12
15
|
continue;
|
|
13
16
|
}
|
package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/transport";
|
|
1
2
|
import { debugId, toDebugString } from "./debug";
|
|
2
3
|
import { EndpointError } from "./types";
|
|
3
4
|
import { evaluateRules } from "./utils";
|
|
@@ -6,6 +7,8 @@ export const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
6
7
|
const { parameters, rules } = ruleSetObject;
|
|
7
8
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
8
9
|
for (const paramKey in parameters) {
|
|
10
|
+
if (!hasOwn(parameters, paramKey))
|
|
11
|
+
continue;
|
|
9
12
|
const parameter = parameters[paramKey];
|
|
10
13
|
const endpointParam = endpointParams[paramKey];
|
|
11
14
|
if (endpointParam == null && parameter.default != null) {
|