claude-flow 2.0.0-alpha.7 → 2.0.0-alpha.70
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/.claude/cache/agent-pool.json +33 -0
- package/.claude/cache/memory-optimization.json +19 -0
- package/.claude/cache/neural-optimization.json +25 -0
- package/.claude/cache/optimized-hooks.json +19 -0
- package/.claude/cache/parallel-processing.json +26 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +1 -1
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +2 -1
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +47 -2
- package/.claude/commands/automation/session-memory.md +39 -10
- package/.claude/commands/automation/smart-agents.md +36 -8
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +2 -2
- package/.claude/commands/coordination/orchestrate.md +2 -2
- package/.claude/commands/coordination/spawn.md +2 -2
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +80 -15
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +19 -19
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +32 -29
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +114 -16
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +16 -15
- package/.claude/commands/github/project-board-sync.md +38 -5
- package/.claude/commands/github/release-manager.md +35 -35
- package/.claude/commands/github/release-swarm.md +102 -13
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +20 -20
- package/.claude/commands/github/swarm-issue.md +139 -17
- package/.claude/commands/github/swarm-pr.md +49 -15
- package/.claude/commands/github/sync-coordinator.md +48 -48
- package/.claude/commands/github/workflow-automation.md +37 -10
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +2 -2
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +7 -7
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +11 -6
- package/.claude/commands/memory/usage.md +10 -6
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +8 -6
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +9 -6
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +15 -3
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +9 -3
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/sparc/analyzer.md +41 -68
- package/.claude/commands/sparc/architect.md +64 -62
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +44 -68
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +44 -69
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +43 -67
- package/.claude/commands/sparc/designer.md +42 -66
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +43 -66
- package/.claude/commands/sparc/innovator.md +43 -67
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +44 -67
- package/.claude/commands/sparc/optimizer.md +43 -67
- package/.claude/commands/sparc/orchestrator.md +117 -64
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +43 -68
- package/.claude/commands/sparc/reviewer.md +43 -67
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +145 -333
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +44 -67
- package/.claude/commands/sparc/tdd.md +67 -62
- package/.claude/commands/sparc/tester.md +43 -67
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +44 -67
- package/.claude/commands/sparc.md +166 -0
- package/.claude/commands/swarm/analysis.md +90 -16
- package/.claude/commands/swarm/development.md +90 -15
- package/.claude/commands/swarm/examples.md +147 -42
- package/.claude/commands/swarm/maintenance.md +97 -16
- package/.claude/commands/swarm/optimization.md +112 -16
- package/.claude/commands/swarm/research.md +131 -16
- package/.claude/commands/swarm/testing.md +126 -16
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +29 -4
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +15 -5
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +47 -8
- package/.claude/commands/workflows/research.md +30 -6
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/config.json +32 -11
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/jq-validation.log +4 -0
- package/.claude/optimized-settings.json +270 -0
- package/.claude/settings-backup.json +186 -0
- package/.claude/settings-clean.json +96 -0
- package/.claude/settings-enhanced.json +278 -0
- package/.claude/settings-fixed.json +186 -0
- package/.claude/settings-minimal.json +52 -0
- package/.claude/settings-working.json +110 -0
- package/.claude/settings.json +51 -64
- package/.claude/settings.local.json +7 -4
- package/.claude/test-settings.json +15 -0
- package/CHANGELOG.md +345 -0
- package/README.md +692 -635
- package/bin/claude-flow +1 -1
- package/dist/adapters/cliffy-node.d.ts.map +1 -1
- package/dist/adapters/cliffy-node.js +13 -7
- package/dist/adapters/cliffy-node.js.map +1 -1
- package/dist/agents/agent-manager.d.ts.map +1 -1
- package/dist/agents/agent-manager.js +77 -65
- package/dist/agents/agent-manager.js.map +1 -1
- package/dist/agents/agent-registry.d.ts.map +1 -1
- package/dist/agents/agent-registry.js +38 -30
- package/dist/agents/agent-registry.js.map +1 -1
- package/dist/api/claude-api-errors.d.ts +115 -0
- package/dist/api/claude-api-errors.d.ts.map +1 -0
- package/dist/api/claude-api-errors.js +198 -0
- package/dist/api/claude-api-errors.js.map +1 -0
- package/dist/api/claude-client-enhanced.d.ts +109 -0
- package/dist/api/claude-client-enhanced.d.ts.map +1 -0
- package/dist/api/claude-client-enhanced.js +479 -0
- package/dist/api/claude-client-enhanced.js.map +1 -0
- package/dist/api/claude-client.d.ts +197 -0
- package/dist/api/claude-client.d.ts.map +1 -0
- package/dist/api/claude-client.js +525 -0
- package/dist/api/claude-client.js.map +1 -0
- package/dist/cli/agents/analyst.d.ts.map +1 -1
- package/dist/cli/agents/analyst.js +94 -114
- package/dist/cli/agents/analyst.js.map +1 -1
- package/dist/cli/agents/architect.d.ts.map +1 -1
- package/dist/cli/agents/architect.js +100 -114
- package/dist/cli/agents/architect.js.map +1 -1
- package/dist/cli/agents/base-agent.d.ts.map +1 -1
- package/dist/cli/agents/base-agent.js +27 -27
- package/dist/cli/agents/base-agent.js.map +1 -1
- package/dist/cli/agents/capabilities.d.ts.map +1 -1
- package/dist/cli/agents/capabilities.js +49 -51
- package/dist/cli/agents/capabilities.js.map +1 -1
- package/dist/cli/agents/coder.d.ts.map +1 -1
- package/dist/cli/agents/coder.js +92 -98
- package/dist/cli/agents/coder.js.map +1 -1
- package/dist/cli/agents/coordinator.d.ts.map +1 -1
- package/dist/cli/agents/coordinator.js +59 -64
- package/dist/cli/agents/coordinator.js.map +1 -1
- package/dist/cli/agents/hive-agents.d.ts.map +1 -1
- package/dist/cli/agents/hive-agents.js +22 -24
- package/dist/cli/agents/hive-agents.js.map +1 -1
- package/dist/cli/agents/index.d.ts.map +1 -1
- package/dist/cli/agents/index.js +17 -17
- package/dist/cli/agents/index.js.map +1 -1
- package/dist/cli/agents/researcher.d.ts.map +1 -1
- package/dist/cli/agents/researcher.js +41 -61
- package/dist/cli/agents/researcher.js.map +1 -1
- package/dist/cli/agents/tester.d.ts.map +1 -1
- package/dist/cli/agents/tester.js +78 -90
- package/dist/cli/agents/tester.js.map +1 -1
- package/dist/cli/cli-core.d.ts +5 -2
- package/dist/cli/cli-core.d.ts.map +1 -1
- package/dist/cli/cli-core.js +40 -39
- package/dist/cli/cli-core.js.map +1 -1
- package/dist/cli/command-registry.d.ts +10 -0
- package/dist/cli/command-registry.d.ts.map +1 -0
- package/dist/cli/command-registry.js +735 -0
- package/dist/cli/command-registry.js.map +1 -0
- package/dist/cli/commands/advanced-memory-commands.d.ts.map +1 -1
- package/dist/cli/commands/advanced-memory-commands.js +49 -40
- package/dist/cli/commands/advanced-memory-commands.js.map +1 -1
- package/dist/cli/commands/agent-simple.d.ts +3 -0
- package/dist/cli/commands/agent-simple.d.ts.map +1 -1
- package/dist/cli/commands/agent-simple.js +30 -27
- package/dist/cli/commands/agent-simple.js.map +1 -1
- package/dist/cli/commands/agent.d.ts.map +1 -1
- package/dist/cli/commands/agent.js +53 -40
- package/dist/cli/commands/agent.js.map +1 -1
- package/dist/cli/commands/claude-api.d.ts +6 -0
- package/dist/cli/commands/claude-api.d.ts.map +1 -0
- package/dist/cli/commands/claude-api.js +256 -0
- package/dist/cli/commands/claude-api.js.map +1 -0
- package/dist/cli/commands/claude.d.ts.map +1 -1
- package/dist/cli/commands/claude.js +2 -2
- package/dist/cli/commands/claude.js.map +1 -1
- package/dist/cli/commands/config-integration.d.ts +7 -1
- package/dist/cli/commands/config-integration.d.ts.map +1 -1
- package/dist/cli/commands/config-integration.js +18 -9
- package/dist/cli/commands/config-integration.js.map +1 -1
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/config.js +2 -3
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/enterprise.d.ts.map +1 -1
- package/dist/cli/commands/enterprise.js +115 -95
- package/dist/cli/commands/enterprise.js.map +1 -1
- package/dist/cli/commands/help-new.d.ts +7 -0
- package/dist/cli/commands/help-new.d.ts.map +1 -0
- package/dist/cli/commands/help-new.js +236 -0
- package/dist/cli/commands/help-new.js.map +1 -0
- package/dist/cli/commands/help.d.ts +2 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +283 -133
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/commands/hive-mind/index.d.ts +5 -1
- package/dist/cli/commands/hive-mind/index.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/index.js +10 -2
- package/dist/cli/commands/hive-mind/index.js.map +1 -1
- package/dist/cli/commands/hive-mind/init.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/init.js.map +1 -1
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/optimize-memory.js +35 -26
- package/dist/cli/commands/hive-mind/optimize-memory.js.map +1 -1
- package/dist/cli/commands/hive-mind/pause.d.ts +9 -0
- package/dist/cli/commands/hive-mind/pause.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/pause.js +81 -0
- package/dist/cli/commands/hive-mind/pause.js.map +1 -0
- package/dist/cli/commands/hive-mind/ps.d.ts +9 -0
- package/dist/cli/commands/hive-mind/ps.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/ps.js +120 -0
- package/dist/cli/commands/hive-mind/ps.js.map +1 -0
- package/dist/cli/commands/hive-mind/resume.d.ts +9 -0
- package/dist/cli/commands/hive-mind/resume.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/resume.js +62 -0
- package/dist/cli/commands/hive-mind/resume.js.map +1 -0
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/spawn.js +20 -11
- package/dist/cli/commands/hive-mind/spawn.js.map +1 -1
- package/dist/cli/commands/hive-mind/status.js +17 -22
- package/dist/cli/commands/hive-mind/status.js.map +1 -1
- package/dist/cli/commands/hive-mind/stop.d.ts +9 -0
- package/dist/cli/commands/hive-mind/stop.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/stop.js +125 -0
- package/dist/cli/commands/hive-mind/stop.js.map +1 -0
- package/dist/cli/commands/hive-mind/task.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/task.js +25 -19
- package/dist/cli/commands/hive-mind/task.js.map +1 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/wizard.js +86 -68
- package/dist/cli/commands/hive-mind/wizard.js.map +1 -1
- package/dist/cli/commands/hive.js +73 -38
- package/dist/cli/commands/hive.js.map +1 -1
- package/dist/cli/commands/hook-types.d.ts +117 -0
- package/dist/cli/commands/hook-types.d.ts.map +1 -0
- package/dist/cli/commands/hook-types.js +5 -0
- package/dist/cli/commands/hook-types.js.map +1 -0
- package/dist/cli/commands/hook-validator.d.ts +18 -0
- package/dist/cli/commands/hook-validator.d.ts.map +1 -0
- package/dist/cli/commands/hook-validator.js +167 -0
- package/dist/cli/commands/hook-validator.js.map +1 -0
- package/dist/cli/commands/hook.d.ts +8 -0
- package/dist/cli/commands/hook.d.ts.map +1 -0
- package/dist/cli/commands/hook.js +299 -0
- package/dist/cli/commands/hook.js.map +1 -0
- package/dist/cli/commands/index.d.ts +1 -1
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +892 -776
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/commands/mcp.js +8 -16
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/memory.d.ts.map +1 -1
- package/dist/cli/commands/memory.js +8 -8
- package/dist/cli/commands/memory.js.map +1 -1
- package/dist/cli/commands/migrate.d.ts.map +1 -1
- package/dist/cli/commands/migrate.js +3 -3
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/monitor.d.ts.map +1 -1
- package/dist/cli/commands/monitor.js +50 -34
- package/dist/cli/commands/monitor.js.map +1 -1
- package/dist/cli/commands/ruv-swarm.d.ts +7 -1
- package/dist/cli/commands/ruv-swarm.d.ts.map +1 -1
- package/dist/cli/commands/ruv-swarm.js +6 -6
- package/dist/cli/commands/ruv-swarm.js.map +1 -1
- package/dist/cli/commands/session.d.ts.map +1 -1
- package/dist/cli/commands/session.js +22 -17
- package/dist/cli/commands/session.js.map +1 -1
- package/dist/cli/commands/sparc.d.ts +1 -1
- package/dist/cli/commands/sparc.d.ts.map +1 -1
- package/dist/cli/commands/sparc.js +146 -126
- package/dist/cli/commands/sparc.js.map +1 -1
- package/dist/cli/commands/start/event-emitter.js +1 -1
- package/dist/cli/commands/start/event-emitter.js.map +1 -1
- package/dist/cli/commands/start/process-manager.d.ts.map +1 -1
- package/dist/cli/commands/start/process-manager.js +20 -18
- package/dist/cli/commands/start/process-manager.js.map +1 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +4 -0
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +1 -1
- package/dist/cli/commands/start/process-ui-simple.js +2 -2
- package/dist/cli/commands/start/process-ui-simple.js.map +1 -1
- package/dist/cli/commands/start/start-command.d.ts.map +1 -1
- package/dist/cli/commands/start/start-command.js +27 -15
- package/dist/cli/commands/start/start-command.js.map +1 -1
- package/dist/cli/commands/start/system-monitor.d.ts +3 -0
- package/dist/cli/commands/start/system-monitor.d.ts.map +1 -1
- package/dist/cli/commands/start/system-monitor.js +16 -18
- package/dist/cli/commands/start/system-monitor.js.map +1 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +28 -33
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/swarm-spawn.d.ts.map +1 -1
- package/dist/cli/commands/swarm-spawn.js +8 -4
- package/dist/cli/commands/swarm-spawn.js.map +1 -1
- package/dist/cli/commands/swarm.d.ts +4 -1
- package/dist/cli/commands/swarm.d.ts.map +1 -1
- package/dist/cli/commands/swarm.js +23 -18
- package/dist/cli/commands/swarm.js.map +1 -1
- package/dist/cli/commands/task.d.ts +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +31 -28
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/workflow.d.ts.map +1 -1
- package/dist/cli/commands/workflow.js +82 -76
- package/dist/cli/commands/workflow.js.map +1 -1
- package/dist/cli/completion.d.ts +3 -0
- package/dist/cli/completion.d.ts.map +1 -1
- package/dist/cli/completion.js +15 -5
- package/dist/cli/completion.js.map +1 -1
- package/dist/cli/formatter.d.ts +3 -0
- package/dist/cli/formatter.d.ts.map +1 -1
- package/dist/cli/formatter.js +4 -4
- package/dist/cli/formatter.js.map +1 -1
- package/dist/cli/help-formatter.d.ts +49 -0
- package/dist/cli/help-formatter.d.ts.map +1 -0
- package/dist/cli/help-formatter.js +108 -0
- package/dist/cli/help-formatter.js.map +1 -0
- package/dist/cli/index-remote.d.ts +4 -0
- package/dist/cli/index-remote.d.ts.map +1 -1
- package/dist/cli/index-remote.js +2 -2
- package/dist/cli/index-remote.js.map +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +42 -48
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/batch-tools.d.ts.map +1 -1
- package/dist/cli/init/batch-tools.js.map +1 -1
- package/dist/cli/init/claude-config.d.ts.map +1 -1
- package/dist/cli/init/claude-config.js +111 -106
- package/dist/cli/init/claude-config.js.map +1 -1
- package/dist/cli/init/directory-structure.d.ts.map +1 -1
- package/dist/cli/init/directory-structure.js +3 -3
- package/dist/cli/init/directory-structure.js.map +1 -1
- package/dist/cli/init/index.d.ts.map +1 -1
- package/dist/cli/init/index.js +1 -1
- package/dist/cli/init/index.js.map +1 -1
- package/dist/cli/init/sparc-environment.d.ts.map +1 -1
- package/dist/cli/init/sparc-environment.js +69 -69
- package/dist/cli/init/sparc-environment.js.map +1 -1
- package/dist/cli/init/swarm-commands.d.ts.map +1 -1
- package/dist/cli/init/swarm-commands.js +1 -1
- package/dist/cli/init/swarm-commands.js.map +1 -1
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +6 -6
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/node-compat.d.ts +106 -0
- package/dist/cli/node-compat.d.ts.map +1 -0
- package/dist/cli/node-compat.js +248 -0
- package/dist/cli/node-compat.js.map +1 -0
- package/dist/cli/node-repl.d.ts +4 -0
- package/dist/cli/node-repl.d.ts.map +1 -1
- package/dist/cli/node-repl.js +24 -107
- package/dist/cli/node-repl.js.map +1 -1
- package/dist/cli/repl.d.ts.map +1 -1
- package/dist/cli/repl.js +139 -99
- package/dist/cli/repl.js.map +1 -1
- package/dist/cli/runtime-detector.d.ts +128 -0
- package/dist/cli/runtime-detector.d.ts.map +1 -0
- package/dist/cli/runtime-detector.js +267 -0
- package/dist/cli/runtime-detector.js.map +1 -0
- package/dist/cli/simple-cli.d.ts +4 -0
- package/dist/cli/simple-cli.d.ts.map +1 -1
- package/dist/cli/simple-cli.js +113 -98
- package/dist/cli/simple-cli.js.map +1 -1
- package/dist/cli/simple-commands/agent.d.ts +2 -0
- package/dist/cli/simple-commands/agent.d.ts.map +1 -0
- package/dist/cli/simple-commands/agent.js +175 -0
- package/dist/cli/simple-commands/agent.js.map +1 -0
- package/dist/cli/simple-commands/analysis.d.ts +2 -0
- package/dist/cli/simple-commands/analysis.d.ts.map +1 -0
- package/dist/cli/simple-commands/analysis.js +207 -0
- package/dist/cli/simple-commands/analysis.js.map +1 -0
- package/dist/cli/simple-commands/automation.d.ts +2 -0
- package/dist/cli/simple-commands/automation.d.ts.map +1 -0
- package/dist/cli/simple-commands/automation.js +246 -0
- package/dist/cli/simple-commands/automation.js.map +1 -0
- package/dist/cli/simple-commands/batch-manager.d.ts +2 -0
- package/dist/cli/simple-commands/batch-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/batch-manager.js +289 -0
- package/dist/cli/simple-commands/batch-manager.js.map +1 -0
- package/dist/cli/simple-commands/config.d.ts +2 -0
- package/dist/cli/simple-commands/config.d.ts.map +1 -0
- package/dist/cli/simple-commands/config.js +278 -0
- package/dist/cli/simple-commands/config.js.map +1 -0
- package/dist/cli/simple-commands/coordination.d.ts +2 -0
- package/dist/cli/simple-commands/coordination.d.ts.map +1 -0
- package/dist/cli/simple-commands/coordination.js +249 -0
- package/dist/cli/simple-commands/coordination.js.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts +16 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.js +320 -0
- package/dist/cli/simple-commands/fix-hook-variables.js.map +1 -0
- package/dist/cli/simple-commands/github.d.ts +3 -0
- package/dist/cli/simple-commands/github.d.ts.map +1 -0
- package/dist/cli/simple-commands/github.js +343 -0
- package/dist/cli/simple-commands/github.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts +68 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js +264 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts +176 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.js +611 -0
- package/dist/cli/simple-commands/hive-mind/communication.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts +306 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.js +840 -0
- package/dist/cli/simple-commands/hive-mind/core.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts +32 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js +702 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts +270 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js +1211 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts +334 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.js +1068 -0
- package/dist/cli/simple-commands/hive-mind/memory.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts +256 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js +520 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +294 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.js +697 -0
- package/dist/cli/simple-commands/hive-mind/queen.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts +139 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js +833 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts +6 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js +317 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind.d.ts +18 -0
- package/dist/cli/simple-commands/hive-mind.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind.js +2430 -0
- package/dist/cli/simple-commands/hive-mind.js.map +1 -0
- package/dist/cli/simple-commands/hook-safety.d.ts +177 -0
- package/dist/cli/simple-commands/hook-safety.d.ts.map +1 -0
- package/dist/cli/simple-commands/hook-safety.js +590 -0
- package/dist/cli/simple-commands/hook-safety.js.map +1 -0
- package/dist/cli/simple-commands/hooks.d.ts +3 -0
- package/dist/cli/simple-commands/hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/hooks.js +995 -0
- package/dist/cli/simple-commands/hooks.js.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts +137 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.js +557 -0
- package/dist/cli/simple-commands/init/batch-init.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js +432 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +870 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +332 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +488 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js +50 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js +288 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts +29 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js +159 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js +116 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts +23 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js +126 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js.map +1 -0
- package/dist/cli/simple-commands/init/help.d.ts +2 -0
- package/dist/cli/simple-commands/init/help.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/help.js +95 -0
- package/dist/cli/simple-commands/init/help.js.map +1 -0
- package/dist/cli/simple-commands/init/index.d.ts +2 -0
- package/dist/cli/simple-commands/init/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/index.js +1127 -0
- package/dist/cli/simple-commands/init/index.js.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts +73 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.js +277 -0
- package/dist/cli/simple-commands/init/performance-monitor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts +95 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js +485 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts +114 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.js +353 -0
- package/dist/cli/simple-commands/init/rollback/index.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts +161 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js +686 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts +112 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js +479 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts +121 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js +431 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js +61 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js +80 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js +36 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.js +61 -0
- package/dist/cli/simple-commands/init/sparc-structure.js.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts +27 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.js +510 -0
- package/dist/cli/simple-commands/init/template-copier.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +5 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js +646 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js +338 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts +18 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js +1300 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js +257 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts +3 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js +71 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts +30 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js +1375 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts +63 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js +307 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts +117 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js +538 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts +55 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.js +347 -0
- package/dist/cli/simple-commands/init/validation/index.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts +76 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js +342 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts +62 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js +348 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts +86 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js +260 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/mcp.js +366 -0
- package/dist/cli/simple-commands/mcp.js.map +1 -0
- package/dist/cli/simple-commands/memory.d.ts +2 -0
- package/dist/cli/simple-commands/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/memory.js +277 -0
- package/dist/cli/simple-commands/memory.js.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts +10 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.js +57 -0
- package/dist/cli/simple-commands/migrate-hooks.js.map +1 -0
- package/dist/cli/simple-commands/monitor.d.ts +3 -0
- package/dist/cli/simple-commands/monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/monitor.js +366 -0
- package/dist/cli/simple-commands/monitor.js.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts +55 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js +680 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js +126 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js +127 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.js +149 -0
- package/dist/cli/simple-commands/sparc-modes/code.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js +138 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js +35 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts +17 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.js +196 -0
- package/dist/cli/simple-commands/sparc-modes/index.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js +56 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js +131 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js +168 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js +150 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts +81 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js +428 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js +278 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js.map +1 -0
- package/dist/cli/simple-commands/sparc.d.ts +2 -0
- package/dist/cli/simple-commands/sparc.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc.js +478 -0
- package/dist/cli/simple-commands/sparc.js.map +1 -0
- package/dist/cli/simple-commands/start-ui.d.ts +2 -0
- package/dist/cli/simple-commands/start-ui.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-ui.js +135 -0
- package/dist/cli/simple-commands/start-ui.js.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.js +263 -0
- package/dist/cli/simple-commands/start-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/start.d.ts +2 -0
- package/dist/cli/simple-commands/start.d.ts.map +1 -0
- package/dist/cli/simple-commands/start.js +3 -0
- package/dist/cli/simple-commands/start.js.map +1 -0
- package/dist/cli/simple-commands/status.d.ts +2 -0
- package/dist/cli/simple-commands/status.d.ts.map +1 -0
- package/dist/cli/simple-commands/status.js +273 -0
- package/dist/cli/simple-commands/status.js.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.js +212 -0
- package/dist/cli/simple-commands/swarm-executor.js.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts +69 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js +294 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js +265 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm.d.ts +2 -0
- package/dist/cli/simple-commands/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm.js +1742 -0
- package/dist/cli/simple-commands/swarm.js.map +1 -0
- package/dist/cli/simple-commands/task.d.ts +2 -0
- package/dist/cli/simple-commands/task.d.ts.map +1 -0
- package/dist/cli/simple-commands/task.js +190 -0
- package/dist/cli/simple-commands/task.js.map +1 -0
- package/dist/cli/simple-commands/training.d.ts +2 -0
- package/dist/cli/simple-commands/training.d.ts.map +1 -0
- package/dist/cli/simple-commands/training.js +240 -0
- package/dist/cli/simple-commands/training.js.map +1 -0
- package/dist/cli/simple-commands/web-server.d.ts +152 -0
- package/dist/cli/simple-commands/web-server.d.ts.map +1 -0
- package/dist/cli/simple-commands/web-server.js +816 -0
- package/dist/cli/simple-commands/web-server.js.map +1 -0
- package/dist/cli/simple-mcp.d.ts.map +1 -1
- package/dist/cli/simple-mcp.js +2 -4
- package/dist/cli/simple-mcp.js.map +1 -1
- package/dist/cli/simple-orchestrator.d.ts +3 -0
- package/dist/cli/simple-orchestrator.d.ts.map +1 -1
- package/dist/cli/simple-orchestrator.js +38 -36
- package/dist/cli/simple-orchestrator.js.map +1 -1
- package/dist/cli/ui/compatible-ui.d.ts +4 -0
- package/dist/cli/ui/compatible-ui.d.ts.map +1 -1
- package/dist/cli/ui/compatible-ui.js +10 -9
- package/dist/cli/ui/compatible-ui.js.map +1 -1
- package/dist/cli/ui/fallback-handler.d.ts.map +1 -1
- package/dist/cli/ui/fallback-handler.js +8 -5
- package/dist/cli/ui/fallback-handler.js.map +1 -1
- package/dist/cli/ui/index.d.ts +2 -2
- package/dist/cli/ui/index.d.ts.map +1 -1
- package/dist/cli/ui/index.js +7 -5
- package/dist/cli/ui/index.js.map +1 -1
- package/dist/cli/utils/environment-detector.d.ts +7 -0
- package/dist/cli/utils/environment-detector.d.ts.map +1 -1
- package/dist/cli/utils/environment-detector.js +39 -10
- package/dist/cli/utils/environment-detector.js.map +1 -1
- package/dist/cli/utils/interactive-detector.d.ts +25 -0
- package/dist/cli/utils/interactive-detector.d.ts.map +1 -0
- package/dist/cli/utils/interactive-detector.js +129 -0
- package/dist/cli/utils/interactive-detector.js.map +1 -0
- package/dist/cli/utils/prompt-defaults.d.ts.map +1 -1
- package/dist/cli/utils/prompt-defaults.js +6 -7
- package/dist/cli/utils/prompt-defaults.js.map +1 -1
- package/dist/cli/utils/safe-interactive.d.ts +30 -0
- package/dist/cli/utils/safe-interactive.d.ts.map +1 -0
- package/dist/cli/utils/safe-interactive.js +134 -0
- package/dist/cli/utils/safe-interactive.js.map +1 -0
- package/dist/cli/utils.d.ts +74 -0
- package/dist/cli/utils.d.ts.map +1 -0
- package/dist/cli/utils.js +578 -0
- package/dist/cli/utils.js.map +1 -0
- package/dist/cli/validation-helper.d.ts +27 -0
- package/dist/cli/validation-helper.d.ts.map +1 -0
- package/dist/cli/validation-helper.js +72 -0
- package/dist/cli/validation-helper.js.map +1 -0
- package/dist/communication/message-bus.d.ts.map +1 -1
- package/dist/communication/message-bus.js +86 -75
- package/dist/communication/message-bus.js.map +1 -1
- package/dist/config/config-manager.d.ts +38 -0
- package/dist/config/config-manager.d.ts.map +1 -1
- package/dist/config/config-manager.js +112 -5
- package/dist/config/config-manager.js.map +1 -1
- package/dist/config/ruv-swarm-config.d.ts +6 -0
- package/dist/config/ruv-swarm-config.d.ts.map +1 -1
- package/dist/config/ruv-swarm-config.js +37 -22
- package/dist/config/ruv-swarm-config.js.map +1 -1
- package/dist/config/ruv-swarm-integration.d.ts.map +1 -1
- package/dist/config/ruv-swarm-integration.js +21 -21
- package/dist/config/ruv-swarm-integration.js.map +1 -1
- package/dist/constants/agent-types.d.ts +5 -5
- package/dist/constants/agent-types.d.ts.map +1 -1
- package/dist/constants/agent-types.js +4 -4
- package/dist/constants/agent-types.js.map +1 -1
- package/dist/coordination/advanced-scheduler.d.ts.map +1 -1
- package/dist/coordination/advanced-scheduler.js +6 -10
- package/dist/coordination/advanced-scheduler.js.map +1 -1
- package/dist/coordination/advanced-task-executor.d.ts.map +1 -1
- package/dist/coordination/advanced-task-executor.js +40 -36
- package/dist/coordination/advanced-task-executor.js.map +1 -1
- package/dist/coordination/background-executor.d.ts.map +1 -1
- package/dist/coordination/background-executor.js +17 -16
- package/dist/coordination/background-executor.js.map +1 -1
- package/dist/coordination/circuit-breaker.d.ts.map +1 -1
- package/dist/coordination/circuit-breaker.js +3 -0
- package/dist/coordination/circuit-breaker.js.map +1 -1
- package/dist/coordination/conflict-resolution.d.ts.map +1 -1
- package/dist/coordination/conflict-resolution.js +10 -8
- package/dist/coordination/conflict-resolution.js.map +1 -1
- package/dist/coordination/dependency-graph.d.ts.map +1 -1
- package/dist/coordination/dependency-graph.js +4 -3
- package/dist/coordination/dependency-graph.js.map +1 -1
- package/dist/coordination/hive-orchestrator.d.ts.map +1 -1
- package/dist/coordination/hive-orchestrator.js +29 -25
- package/dist/coordination/hive-orchestrator.js.map +1 -1
- package/dist/coordination/hive-protocol.d.ts.map +1 -1
- package/dist/coordination/hive-protocol.js +22 -23
- package/dist/coordination/hive-protocol.js.map +1 -1
- package/dist/coordination/index.d.ts +1 -1
- package/dist/coordination/index.d.ts.map +1 -1
- package/dist/coordination/index.js +1 -1
- package/dist/coordination/index.js.map +1 -1
- package/dist/coordination/load-balancer.d.ts.map +1 -1
- package/dist/coordination/load-balancer.js +67 -59
- package/dist/coordination/load-balancer.js.map +1 -1
- package/dist/coordination/manager.d.ts.map +1 -1
- package/dist/coordination/manager.js +2 -8
- package/dist/coordination/manager.js.map +1 -1
- package/dist/coordination/messaging.d.ts.map +1 -1
- package/dist/coordination/messaging.js +4 -4
- package/dist/coordination/messaging.js.map +1 -1
- package/dist/coordination/metrics.d.ts.map +1 -1
- package/dist/coordination/metrics.js +11 -9
- package/dist/coordination/metrics.js.map +1 -1
- package/dist/coordination/resources.d.ts.map +1 -1
- package/dist/coordination/resources.js +10 -6
- package/dist/coordination/resources.js.map +1 -1
- package/dist/coordination/scheduler.d.ts.map +1 -1
- package/dist/coordination/scheduler.js +4 -4
- package/dist/coordination/scheduler.js.map +1 -1
- package/dist/coordination/swarm-coordinator.d.ts.map +1 -1
- package/dist/coordination/swarm-coordinator.js +32 -34
- package/dist/coordination/swarm-coordinator.js.map +1 -1
- package/dist/coordination/swarm-monitor.d.ts.map +1 -1
- package/dist/coordination/swarm-monitor.js +17 -17
- package/dist/coordination/swarm-monitor.js.map +1 -1
- package/dist/coordination/work-stealing.d.ts.map +1 -1
- package/dist/coordination/work-stealing.js +3 -0
- package/dist/coordination/work-stealing.js.map +1 -1
- package/dist/core/config.d.ts +4 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +28 -31
- package/dist/core/config.js.map +1 -1
- package/dist/core/event-bus.d.ts +3 -0
- package/dist/core/event-bus.d.ts.map +1 -1
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/json-persistence.d.ts +3 -0
- package/dist/core/json-persistence.d.ts.map +1 -1
- package/dist/core/json-persistence.js +19 -23
- package/dist/core/json-persistence.js.map +1 -1
- package/dist/core/logger.d.ts +5 -0
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +5 -6
- package/dist/core/logger.js.map +1 -1
- package/dist/core/orchestrator-fixed.d.ts.map +1 -1
- package/dist/core/orchestrator-fixed.js +4 -1
- package/dist/core/orchestrator-fixed.js.map +1 -1
- package/dist/core/orchestrator.d.ts +20 -0
- package/dist/core/orchestrator.d.ts.map +1 -1
- package/dist/core/orchestrator.js +126 -33
- package/dist/core/orchestrator.js.map +1 -1
- package/dist/core/persistence.d.ts +3 -0
- package/dist/core/persistence.d.ts.map +1 -1
- package/dist/core/persistence.js +25 -19
- package/dist/core/persistence.js.map +1 -1
- package/dist/enterprise/analytics-manager.d.ts.map +1 -1
- package/dist/enterprise/analytics-manager.js +141 -134
- package/dist/enterprise/analytics-manager.js.map +1 -1
- package/dist/enterprise/audit-manager.d.ts.map +1 -1
- package/dist/enterprise/audit-manager.js +144 -122
- package/dist/enterprise/audit-manager.js.map +1 -1
- package/dist/enterprise/cloud-manager.d.ts.map +1 -1
- package/dist/enterprise/cloud-manager.js +104 -99
- package/dist/enterprise/cloud-manager.js.map +1 -1
- package/dist/enterprise/deployment-manager.d.ts.map +1 -1
- package/dist/enterprise/deployment-manager.js +104 -97
- package/dist/enterprise/deployment-manager.js.map +1 -1
- package/dist/enterprise/index.d.ts +6 -6
- package/dist/enterprise/index.d.ts.map +1 -1
- package/dist/enterprise/project-manager.d.ts.map +1 -1
- package/dist/enterprise/project-manager.js +74 -66
- package/dist/enterprise/project-manager.js.map +1 -1
- package/dist/enterprise/security-manager.d.ts.map +1 -1
- package/dist/enterprise/security-manager.js +137 -129
- package/dist/enterprise/security-manager.js.map +1 -1
- package/dist/hive-mind/core/Agent.d.ts.map +1 -1
- package/dist/hive-mind/core/Agent.js +36 -36
- package/dist/hive-mind/core/Agent.js.map +1 -1
- package/dist/hive-mind/core/Communication.d.ts.map +1 -1
- package/dist/hive-mind/core/Communication.js +17 -17
- package/dist/hive-mind/core/Communication.js.map +1 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +6 -0
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +1 -1
- package/dist/hive-mind/core/DatabaseManager.js +170 -73
- package/dist/hive-mind/core/DatabaseManager.js.map +1 -1
- package/dist/hive-mind/core/HiveMind.d.ts.map +1 -1
- package/dist/hive-mind/core/HiveMind.js +35 -35
- package/dist/hive-mind/core/HiveMind.js.map +1 -1
- package/dist/hive-mind/core/Memory.d.ts.map +1 -1
- package/dist/hive-mind/core/Memory.js +78 -71
- package/dist/hive-mind/core/Memory.js.map +1 -1
- package/dist/hive-mind/core/MemoryMonitor.d.ts.map +1 -1
- package/dist/hive-mind/core/MemoryMonitor.js +38 -38
- package/dist/hive-mind/core/MemoryMonitor.js.map +1 -1
- package/dist/hive-mind/core/Queen.d.ts.map +1 -1
- package/dist/hive-mind/core/Queen.js +110 -47
- package/dist/hive-mind/core/Queen.js.map +1 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +1 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +25 -23
- package/dist/hive-mind/integration/ConsensusEngine.js.map +1 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +1 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +2 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +1 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +1 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +60 -58
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +1 -1
- package/dist/hive-mind/types.d.ts.map +1 -1
- package/dist/integration/mock-components.d.ts.map +1 -1
- package/dist/integration/mock-components.js +21 -21
- package/dist/integration/mock-components.js.map +1 -1
- package/dist/integration/system-integration.d.ts.map +1 -1
- package/dist/integration/system-integration.js +29 -12
- package/dist/integration/system-integration.js.map +1 -1
- package/dist/mcp/auth.d.ts +1 -1
- package/dist/mcp/auth.d.ts.map +1 -1
- package/dist/mcp/auth.js +8 -1
- package/dist/mcp/auth.js.map +1 -1
- package/dist/mcp/claude-code-wrapper.d.ts.map +1 -1
- package/dist/mcp/claude-code-wrapper.js +169 -68
- package/dist/mcp/claude-code-wrapper.js.map +1 -1
- package/dist/mcp/claude-flow-tools.d.ts.map +1 -1
- package/dist/mcp/claude-flow-tools.js +42 -3
- package/dist/mcp/claude-flow-tools.js.map +1 -1
- package/dist/mcp/client.d.ts.map +1 -1
- package/dist/mcp/client.js.map +1 -1
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/integrate-wrapper.d.ts.map +1 -1
- package/dist/mcp/integrate-wrapper.js +5 -7
- package/dist/mcp/integrate-wrapper.js.map +1 -1
- package/dist/mcp/lifecycle-manager.d.ts.map +1 -1
- package/dist/mcp/lifecycle-manager.js +8 -7
- package/dist/mcp/lifecycle-manager.js.map +1 -1
- package/dist/mcp/load-balancer.d.ts.map +1 -1
- package/dist/mcp/load-balancer.js +5 -1
- package/dist/mcp/load-balancer.js.map +1 -1
- package/dist/mcp/orchestration-integration.d.ts.map +1 -1
- package/dist/mcp/orchestration-integration.js +22 -9
- package/dist/mcp/orchestration-integration.js.map +1 -1
- package/dist/mcp/performance-monitor.d.ts.map +1 -1
- package/dist/mcp/performance-monitor.js +22 -19
- package/dist/mcp/performance-monitor.js.map +1 -1
- package/dist/mcp/protocol-manager.d.ts.map +1 -1
- package/dist/mcp/protocol-manager.js +8 -19
- package/dist/mcp/protocol-manager.js.map +1 -1
- package/dist/mcp/recovery/connection-health-monitor.d.ts.map +1 -1
- package/dist/mcp/recovery/connection-health-monitor.js +5 -5
- package/dist/mcp/recovery/connection-health-monitor.js.map +1 -1
- package/dist/mcp/recovery/connection-state-manager.d.ts +4 -0
- package/dist/mcp/recovery/connection-state-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/connection-state-manager.js +13 -13
- package/dist/mcp/recovery/connection-state-manager.js.map +1 -1
- package/dist/mcp/recovery/fallback-coordinator.d.ts.map +1 -1
- package/dist/mcp/recovery/fallback-coordinator.js +5 -5
- package/dist/mcp/recovery/fallback-coordinator.js.map +1 -1
- package/dist/mcp/recovery/index.d.ts +4 -4
- package/dist/mcp/recovery/index.d.ts.map +1 -1
- package/dist/mcp/recovery/index.js +4 -4
- package/dist/mcp/recovery/index.js.map +1 -1
- package/dist/mcp/recovery/reconnection-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/reconnection-manager.js +1 -1
- package/dist/mcp/recovery/reconnection-manager.js.map +1 -1
- package/dist/mcp/recovery/recovery-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/recovery-manager.js +2 -4
- package/dist/mcp/recovery/recovery-manager.js.map +1 -1
- package/dist/mcp/router.d.ts.map +1 -1
- package/dist/mcp/router.js +3 -0
- package/dist/mcp/router.js.map +1 -1
- package/dist/mcp/ruv-swarm-tools.d.ts.map +1 -1
- package/dist/mcp/ruv-swarm-tools.js +132 -102
- package/dist/mcp/ruv-swarm-tools.js.map +1 -1
- package/dist/mcp/server-with-wrapper.d.ts +3 -0
- package/dist/mcp/server-with-wrapper.d.ts.map +1 -1
- package/dist/mcp/server-with-wrapper.js +2 -3
- package/dist/mcp/server-with-wrapper.js.map +1 -1
- package/dist/mcp/server-wrapper-mode.d.ts +5 -0
- package/dist/mcp/server-wrapper-mode.d.ts.map +1 -1
- package/dist/mcp/server-wrapper-mode.js +2 -3
- package/dist/mcp/server-wrapper-mode.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +12 -7
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/session-manager.d.ts.map +1 -1
- package/dist/mcp/session-manager.js +4 -3
- package/dist/mcp/session-manager.js.map +1 -1
- package/dist/mcp/sparc-modes.d.ts.map +1 -1
- package/dist/mcp/sparc-modes.js +15 -15
- package/dist/mcp/sparc-modes.js.map +1 -1
- package/dist/mcp/swarm-tools.d.ts.map +1 -1
- package/dist/mcp/swarm-tools.js +100 -80
- package/dist/mcp/swarm-tools.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +28 -12
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/transports/base.d.ts.map +1 -1
- package/dist/mcp/transports/base.js +3 -0
- package/dist/mcp/transports/base.js.map +1 -1
- package/dist/mcp/transports/http.d.ts +3 -0
- package/dist/mcp/transports/http.d.ts.map +1 -1
- package/dist/mcp/transports/http.js +3 -3
- package/dist/mcp/transports/http.js.map +1 -1
- package/dist/mcp/transports/stdio.d.ts +3 -0
- package/dist/mcp/transports/stdio.d.ts.map +1 -1
- package/dist/mcp/transports/stdio.js +3 -0
- package/dist/mcp/transports/stdio.js.map +1 -1
- package/dist/memory/advanced-memory-manager.d.ts.map +1 -1
- package/dist/memory/advanced-memory-manager.js +109 -100
- package/dist/memory/advanced-memory-manager.js.map +1 -1
- package/dist/memory/backends/base.d.ts.map +1 -1
- package/dist/memory/backends/base.js +3 -0
- package/dist/memory/backends/base.js.map +1 -1
- package/dist/memory/backends/markdown.d.ts +3 -0
- package/dist/memory/backends/markdown.d.ts.map +1 -1
- package/dist/memory/backends/markdown.js +8 -8
- package/dist/memory/backends/markdown.js.map +1 -1
- package/dist/memory/backends/sqlite.d.ts +4 -0
- package/dist/memory/backends/sqlite.d.ts.map +1 -1
- package/dist/memory/backends/sqlite.js +23 -4
- package/dist/memory/backends/sqlite.js.map +1 -1
- package/dist/memory/cache.d.ts.map +1 -1
- package/dist/memory/cache.js +5 -3
- package/dist/memory/cache.js.map +1 -1
- package/dist/memory/distributed-memory.d.ts.map +1 -1
- package/dist/memory/distributed-memory.js +27 -28
- package/dist/memory/distributed-memory.js.map +1 -1
- package/dist/memory/fallback-store.d.ts +28 -0
- package/dist/memory/fallback-store.d.ts.map +1 -0
- package/dist/memory/fallback-store.js +101 -0
- package/dist/memory/fallback-store.js.map +1 -0
- package/dist/memory/in-memory-store.d.ts +41 -0
- package/dist/memory/in-memory-store.d.ts.map +1 -0
- package/dist/memory/in-memory-store.js +173 -0
- package/dist/memory/in-memory-store.js.map +1 -0
- package/dist/memory/indexer.d.ts.map +1 -1
- package/dist/memory/indexer.js +4 -1
- package/dist/memory/indexer.js.map +1 -1
- package/dist/memory/manager.d.ts.map +1 -1
- package/dist/memory/manager.js +17 -20
- package/dist/memory/manager.js.map +1 -1
- package/dist/memory/sqlite-store.d.ts +34 -0
- package/dist/memory/sqlite-store.d.ts.map +1 -0
- package/dist/memory/sqlite-store.js +266 -0
- package/dist/memory/sqlite-store.js.map +1 -0
- package/dist/memory/sqlite-wrapper.d.ts +38 -0
- package/dist/memory/sqlite-wrapper.d.ts.map +1 -0
- package/dist/memory/sqlite-wrapper.js +157 -0
- package/dist/memory/sqlite-wrapper.js.map +1 -0
- package/dist/memory/swarm-memory.d.ts.map +1 -1
- package/dist/memory/swarm-memory.js +37 -44
- package/dist/memory/swarm-memory.js.map +1 -1
- package/dist/migration/index.d.ts +4 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +8 -8
- package/dist/migration/index.js.map +1 -1
- package/dist/migration/logger.d.ts.map +1 -1
- package/dist/migration/logger.js +5 -5
- package/dist/migration/logger.js.map +1 -1
- package/dist/migration/migration-analyzer.d.ts +3 -0
- package/dist/migration/migration-analyzer.d.ts.map +1 -1
- package/dist/migration/migration-analyzer.js +25 -20
- package/dist/migration/migration-analyzer.js.map +1 -1
- package/dist/migration/migration-runner.d.ts.map +1 -1
- package/dist/migration/migration-runner.js +35 -29
- package/dist/migration/migration-runner.js.map +1 -1
- package/dist/migration/migration-validator.d.ts +3 -0
- package/dist/migration/migration-validator.d.ts.map +1 -1
- package/dist/migration/migration-validator.js +22 -26
- package/dist/migration/migration-validator.js.map +1 -1
- package/dist/migration/progress-reporter.d.ts +3 -0
- package/dist/migration/progress-reporter.d.ts.map +1 -1
- package/dist/migration/progress-reporter.js +8 -8
- package/dist/migration/progress-reporter.js.map +1 -1
- package/dist/migration/rollback-manager.d.ts +3 -0
- package/dist/migration/rollback-manager.d.ts.map +1 -1
- package/dist/migration/rollback-manager.js +29 -26
- package/dist/migration/rollback-manager.js.map +1 -1
- package/dist/monitoring/diagnostics.d.ts.map +1 -1
- package/dist/monitoring/diagnostics.js +49 -37
- package/dist/monitoring/diagnostics.js.map +1 -1
- package/dist/monitoring/health-check.d.ts.map +1 -1
- package/dist/monitoring/health-check.js +24 -25
- package/dist/monitoring/health-check.js.map +1 -1
- package/dist/monitoring/real-time-monitor.d.ts.map +1 -1
- package/dist/monitoring/real-time-monitor.js +71 -58
- package/dist/monitoring/real-time-monitor.js.map +1 -1
- package/dist/providers/anthropic-provider.d.ts +27 -0
- package/dist/providers/anthropic-provider.d.ts.map +1 -0
- package/dist/providers/anthropic-provider.js +247 -0
- package/dist/providers/anthropic-provider.js.map +1 -0
- package/dist/providers/base-provider.d.ts +134 -0
- package/dist/providers/base-provider.d.ts.map +1 -0
- package/dist/providers/base-provider.js +407 -0
- package/dist/providers/base-provider.js.map +1 -0
- package/dist/providers/cohere-provider.d.ts +28 -0
- package/dist/providers/cohere-provider.d.ts.map +1 -0
- package/dist/providers/cohere-provider.js +407 -0
- package/dist/providers/cohere-provider.js.map +1 -0
- package/dist/providers/google-provider.d.ts +23 -0
- package/dist/providers/google-provider.d.ts.map +1 -0
- package/dist/providers/google-provider.js +362 -0
- package/dist/providers/google-provider.js.map +1 -0
- package/dist/providers/index.d.ts +14 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +18 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/ollama-provider.d.ts +23 -0
- package/dist/providers/ollama-provider.d.ts.map +1 -0
- package/dist/providers/ollama-provider.js +374 -0
- package/dist/providers/ollama-provider.js.map +1 -0
- package/dist/providers/openai-provider.d.ts +23 -0
- package/dist/providers/openai-provider.d.ts.map +1 -0
- package/dist/providers/openai-provider.js +349 -0
- package/dist/providers/openai-provider.js.map +1 -0
- package/dist/providers/provider-manager.d.ts +139 -0
- package/dist/providers/provider-manager.d.ts.map +1 -0
- package/dist/providers/provider-manager.js +513 -0
- package/dist/providers/provider-manager.js.map +1 -0
- package/dist/providers/types.d.ts +356 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +61 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/providers/utils.d.ts +37 -0
- package/dist/providers/utils.d.ts.map +1 -0
- package/dist/providers/utils.js +322 -0
- package/dist/providers/utils.js.map +1 -0
- package/dist/resources/resource-manager.d.ts.map +1 -1
- package/dist/resources/resource-manager.js +96 -83
- package/dist/resources/resource-manager.js.map +1 -1
- package/dist/services/agentic-flow-hooks/hook-manager.d.ts +70 -0
- package/dist/services/agentic-flow-hooks/hook-manager.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/hook-manager.js +512 -0
- package/dist/services/agentic-flow-hooks/hook-manager.js.map +1 -0
- package/dist/services/agentic-flow-hooks/index.d.ts +36 -0
- package/dist/services/agentic-flow-hooks/index.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/index.js +325 -0
- package/dist/services/agentic-flow-hooks/index.js.map +1 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.d.ts +33 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.js +415 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.d.ts +45 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.js +532 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.d.ts +39 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.js +561 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.d.ts +33 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.js +621 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/types.d.ts +379 -0
- package/dist/services/agentic-flow-hooks/types.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/types.js +8 -0
- package/dist/services/agentic-flow-hooks/types.js.map +1 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.d.ts +39 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.js +742 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.js.map +1 -0
- package/dist/swarm/claude-flow-executor.d.ts.map +1 -1
- package/dist/swarm/claude-flow-executor.js +37 -31
- package/dist/swarm/claude-flow-executor.js.map +1 -1
- package/dist/swarm/coordinator.d.ts +33 -0
- package/dist/swarm/coordinator.d.ts.map +1 -1
- package/dist/swarm/coordinator.js +411 -280
- package/dist/swarm/coordinator.js.map +1 -1
- package/dist/swarm/direct-executor.d.ts.map +1 -1
- package/dist/swarm/direct-executor.js +44 -37
- package/dist/swarm/direct-executor.js.map +1 -1
- package/dist/swarm/executor-v2.d.ts.map +1 -1
- package/dist/swarm/executor-v2.js +28 -27
- package/dist/swarm/executor-v2.js.map +1 -1
- package/dist/swarm/executor.d.ts +3 -0
- package/dist/swarm/executor.d.ts.map +1 -1
- package/dist/swarm/executor.js +58 -52
- package/dist/swarm/executor.js.map +1 -1
- package/dist/swarm/index.d.ts.map +1 -1
- package/dist/swarm/index.js +2 -2
- package/dist/swarm/index.js.map +1 -1
- package/dist/swarm/json-output-aggregator.d.ts +100 -0
- package/dist/swarm/json-output-aggregator.d.ts.map +1 -0
- package/dist/swarm/json-output-aggregator.js +250 -0
- package/dist/swarm/json-output-aggregator.js.map +1 -0
- package/dist/swarm/memory.d.ts.map +1 -1
- package/dist/swarm/memory.js +67 -67
- package/dist/swarm/memory.js.map +1 -1
- package/dist/swarm/optimizations/async-file-manager.d.ts +4 -0
- package/dist/swarm/optimizations/async-file-manager.d.ts.map +1 -1
- package/dist/swarm/optimizations/async-file-manager.js +19 -23
- package/dist/swarm/optimizations/async-file-manager.js.map +1 -1
- package/dist/swarm/optimizations/circular-buffer.d.ts.map +1 -1
- package/dist/swarm/optimizations/circular-buffer.js +2 -4
- package/dist/swarm/optimizations/circular-buffer.js.map +1 -1
- package/dist/swarm/optimizations/connection-pool.d.ts.map +1 -1
- package/dist/swarm/optimizations/connection-pool.js +12 -13
- package/dist/swarm/optimizations/connection-pool.js.map +1 -1
- package/dist/swarm/optimizations/index.js +2 -2
- package/dist/swarm/optimizations/optimized-executor.d.ts.map +1 -1
- package/dist/swarm/optimizations/optimized-executor.js +23 -29
- package/dist/swarm/optimizations/optimized-executor.js.map +1 -1
- package/dist/swarm/optimizations/ttl-map.d.ts.map +1 -1
- package/dist/swarm/optimizations/ttl-map.js +4 -4
- package/dist/swarm/optimizations/ttl-map.js.map +1 -1
- package/dist/swarm/prompt-cli.d.ts.map +1 -1
- package/dist/swarm/prompt-cli.js +18 -13
- package/dist/swarm/prompt-cli.js.map +1 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts +1 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts.map +1 -1
- package/dist/swarm/prompt-copier-enhanced.js +16 -13
- package/dist/swarm/prompt-copier-enhanced.js.map +1 -1
- package/dist/swarm/prompt-copier.d.ts.map +1 -1
- package/dist/swarm/prompt-copier.js +16 -18
- package/dist/swarm/prompt-copier.js.map +1 -1
- package/dist/swarm/prompt-manager.d.ts +1 -1
- package/dist/swarm/prompt-manager.d.ts.map +1 -1
- package/dist/swarm/prompt-manager.js +28 -22
- package/dist/swarm/prompt-manager.js.map +1 -1
- package/dist/swarm/prompt-utils.d.ts.map +1 -1
- package/dist/swarm/prompt-utils.js +34 -32
- package/dist/swarm/prompt-utils.js.map +1 -1
- package/dist/swarm/sparc-executor.d.ts.map +1 -1
- package/dist/swarm/sparc-executor.js +190 -124
- package/dist/swarm/sparc-executor.js.map +1 -1
- package/dist/swarm/strategies/auto.d.ts.map +1 -1
- package/dist/swarm/strategies/auto.js +105 -86
- package/dist/swarm/strategies/auto.js.map +1 -1
- package/dist/swarm/strategies/base.d.ts.map +1 -1
- package/dist/swarm/strategies/base.js +14 -11
- package/dist/swarm/strategies/base.js.map +1 -1
- package/dist/swarm/strategies/research.d.ts.map +1 -1
- package/dist/swarm/strategies/research.js +76 -71
- package/dist/swarm/strategies/research.js.map +1 -1
- package/dist/swarm/types.d.ts.map +1 -1
- package/dist/swarm/types.js +3 -0
- package/dist/swarm/types.js.map +1 -1
- package/dist/swarm/workers/copy-worker.js +4 -4
- package/dist/swarm/workers/copy-worker.js.map +1 -1
- package/dist/task/commands.d.ts.map +1 -1
- package/dist/task/commands.js +11 -7
- package/dist/task/commands.js.map +1 -1
- package/dist/task/coordination.d.ts.map +1 -1
- package/dist/task/coordination.js +75 -70
- package/dist/task/coordination.js.map +1 -1
- package/dist/task/engine.d.ts.map +1 -1
- package/dist/task/engine.js +35 -33
- package/dist/task/engine.js.map +1 -1
- package/dist/task/index.d.ts +3 -3
- package/dist/task/index.d.ts.map +1 -1
- package/dist/task/index.js +11 -11
- package/dist/task/index.js.map +1 -1
- package/dist/terminal/adapters/native.d.ts.map +1 -1
- package/dist/terminal/adapters/native.js +6 -6
- package/dist/terminal/adapters/native.js.map +1 -1
- package/dist/terminal/adapters/vscode.d.ts +3 -0
- package/dist/terminal/adapters/vscode.d.ts.map +1 -1
- package/dist/terminal/adapters/vscode.js +6 -4
- package/dist/terminal/adapters/vscode.js.map +1 -1
- package/dist/terminal/manager.d.ts.map +1 -1
- package/dist/terminal/manager.js +6 -8
- package/dist/terminal/manager.js.map +1 -1
- package/dist/terminal/pool.d.ts.map +1 -1
- package/dist/terminal/pool.js +3 -0
- package/dist/terminal/pool.js.map +1 -1
- package/dist/terminal/session.d.ts.map +1 -1
- package/dist/terminal/session.js +6 -2
- package/dist/terminal/session.js.map +1 -1
- package/dist/ui/hive-dashboard.d.ts.map +1 -1
- package/dist/ui/hive-dashboard.js +52 -33
- package/dist/ui/hive-dashboard.js.map +1 -1
- package/dist/utils/error-handler.d.ts +4 -3
- package/dist/utils/error-handler.d.ts.map +1 -1
- package/dist/utils/error-handler.js +5 -21
- package/dist/utils/error-handler.js.map +1 -1
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/helpers.d.ts +3 -0
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +5 -8
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/npx-isolated-cache.d.ts +17 -0
- package/dist/utils/npx-isolated-cache.d.ts.map +1 -0
- package/dist/utils/npx-isolated-cache.js +140 -0
- package/dist/utils/npx-isolated-cache.js.map +1 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +8 -4
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/type-guards.d.ts +117 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +166 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/package.json +24 -15
- package/scripts/claude-flow-wrapper.sh +35 -0
- package/scripts/fix-timezone-issue-246.js +200 -0
- package/scripts/install-arm64.js +78 -0
- package/scripts/migrate-hooks.js +173 -0
- package/scripts/optimize-performance.js +400 -0
- package/scripts/performance-monitor.js +263 -0
- package/scripts/quick-fix-ts.js +281 -0
- package/scripts/ruv-swarm-safe.js +74 -0
- package/scripts/update-bin-version.js +32 -0
- package/src/adapters/cliffy-node.ts +27 -22
- package/src/agents/agent-manager.ts +145 -121
- package/src/agents/agent-registry.ts +77 -70
- package/src/api/claude-api-errors.ts +248 -0
- package/src/api/claude-client-enhanced.ts +616 -0
- package/src/api/claude-client.ts +756 -0
- package/src/api/routes/analysis.js +750 -735
- package/src/cli/__tests__/command-registry.test.js +42 -32
- package/src/cli/__tests__/simple-cli.test.js +42 -37
- package/src/cli/__tests__/utils.test.js +9 -9
- package/src/cli/agents/README.md +30 -4
- package/src/cli/agents/analyst.ts +161 -163
- package/src/cli/agents/architect.ts +126 -131
- package/src/cli/agents/base-agent.ts +48 -47
- package/src/cli/agents/capabilities.ts +87 -85
- package/src/cli/agents/coder.ts +127 -120
- package/src/cli/agents/coordinator.ts +72 -72
- package/src/cli/agents/hive-agents.ts +96 -70
- package/src/cli/agents/index.ts +70 -55
- package/src/cli/agents/researcher.ts +63 -74
- package/src/cli/agents/tester.ts +91 -98
- package/src/cli/cli-core.ts +56 -47
- package/src/cli/command-registry.js +196 -77
- package/src/cli/commands/advanced-memory-commands.ts +210 -142
- package/src/cli/commands/agent-simple.ts +146 -114
- package/src/cli/commands/agent.ts +119 -95
- package/src/cli/commands/claude-api.ts +276 -0
- package/src/cli/commands/claude.ts +96 -88
- package/src/cli/commands/config-integration.ts +120 -101
- package/src/cli/commands/config.ts +10 -8
- package/src/cli/commands/enterprise.ts +323 -187
- package/src/cli/commands/help-new.ts +246 -0
- package/src/cli/commands/help.ts +326 -183
- package/src/cli/commands/hive-mind/index.ts +16 -4
- package/src/cli/commands/hive-mind/init.ts +19 -12
- package/src/cli/commands/hive-mind/optimize-memory.ts +83 -53
- package/src/cli/commands/hive-mind/pause.ts +89 -0
- package/src/cli/commands/hive-mind/ps.ts +139 -0
- package/src/cli/commands/hive-mind/resume.ts +67 -0
- package/src/cli/commands/hive-mind/spawn.ts +37 -29
- package/src/cli/commands/hive-mind/status.ts +51 -51
- package/src/cli/commands/hive-mind/stop.ts +139 -0
- package/src/cli/commands/hive-mind/task.ts +65 -54
- package/src/cli/commands/hive-mind/wizard.ts +181 -167
- package/src/cli/commands/hive.ts +136 -96
- package/src/cli/commands/hook-types.ts +148 -0
- package/src/cli/commands/hook-validator.ts +195 -0
- package/src/cli/commands/hook.ts +348 -0
- package/src/cli/commands/index.ts +1203 -1019
- package/src/cli/commands/mcp.ts +105 -94
- package/src/cli/commands/memory.ts +24 -21
- package/src/cli/commands/migrate.ts +24 -24
- package/src/cli/commands/monitor.ts +123 -93
- package/src/cli/commands/ruv-swarm.ts +131 -122
- package/src/cli/commands/session.ts +60 -45
- package/src/cli/commands/sparc.ts +170 -139
- package/src/cli/commands/start/event-emitter.ts +2 -2
- package/src/cli/commands/start/index.ts +1 -1
- package/src/cli/commands/start/process-manager.ts +30 -47
- package/src/cli/commands/start/process-ui-simple.ts +60 -49
- package/src/cli/commands/start/process-ui.ts +1 -1
- package/src/cli/commands/start/start-command.ts +104 -75
- package/src/cli/commands/start/system-monitor.ts +35 -41
- package/src/cli/commands/start/types.ts +3 -3
- package/src/cli/commands/start.ts +1 -1
- package/src/cli/commands/status.ts +67 -67
- package/src/cli/commands/swarm-new.ts.disabled +1620 -0
- package/src/cli/commands/swarm-spawn.ts +28 -15
- package/src/cli/commands/swarm.ts +224 -149
- package/src/cli/commands/task.ts +63 -66
- package/src/cli/commands/workflow.ts +186 -173
- package/src/cli/completion.ts +34 -19
- package/src/cli/create-enhanced-task.js +49 -17
- package/src/cli/formatter.ts +39 -38
- package/src/cli/help-formatter.js +145 -0
- package/src/cli/help-formatter.ts +173 -0
- package/src/cli/help-text.js +297 -9
- package/src/cli/index-remote.ts +13 -10
- package/src/cli/index.ts +87 -81
- package/src/cli/init/batch-tools.ts +4 -5
- package/src/cli/init/claude-config.ts +125 -118
- package/src/cli/init/directory-structure.ts +10 -11
- package/src/cli/init/index.ts +13 -13
- package/src/cli/init/sparc-environment.ts +90 -74
- package/src/cli/init/swarm-commands.ts +5 -6
- package/src/cli/init/utils.ts +1 -1
- package/src/cli/main.ts +9 -10
- package/src/cli/node-compat.js +139 -10
- package/src/cli/node-repl.ts +104 -180
- package/src/cli/repl.ts +240 -183
- package/src/cli/runtime-detector.js +24 -19
- package/src/cli/simple-cli.js +479 -394
- package/src/cli/simple-cli.ts +437 -376
- package/src/cli/simple-commands/__tests__/agent.test.js +49 -55
- package/src/cli/simple-commands/__tests__/memory.test.js +4 -401
- package/src/cli/simple-commands/__tests__/swarm.test.js +49 -55
- package/src/cli/simple-commands/__tests__/task.test.js +4 -478
- package/src/cli/simple-commands/agent.js +27 -27
- package/src/cli/simple-commands/analysis.js +179 -161
- package/src/cli/simple-commands/automation.js +226 -205
- package/src/cli/simple-commands/batch-manager.js +98 -88
- package/src/cli/simple-commands/config.js +65 -60
- package/src/cli/simple-commands/coordination.js +220 -184
- package/src/cli/simple-commands/enhanced-ui-views.js +142 -115
- package/src/cli/simple-commands/enhanced-webui-complete.js +267 -167
- package/src/cli/simple-commands/fix-hook-variables.js +363 -0
- package/src/cli/simple-commands/github/gh-coordinator.js +63 -53
- package/src/cli/simple-commands/github/github-api.js +45 -47
- package/src/cli/simple-commands/github.js +88 -34
- package/src/cli/simple-commands/hive-mind/auto-save-middleware.js +311 -0
- package/src/cli/simple-commands/hive-mind/communication.js +198 -185
- package/src/cli/simple-commands/hive-mind/core.js +292 -305
- package/src/cli/simple-commands/hive-mind/db-optimizer.js +872 -0
- package/src/cli/simple-commands/hive-mind/mcp-wrapper.js +679 -263
- package/src/cli/simple-commands/hive-mind/memory.js +374 -291
- package/src/cli/simple-commands/hive-mind/performance-optimizer.js +88 -79
- package/src/cli/simple-commands/hive-mind/performance-test.js +61 -49
- package/src/cli/simple-commands/hive-mind/queen.js +223 -213
- package/src/cli/simple-commands/hive-mind/session-manager.js +996 -0
- package/src/cli/simple-commands/hive-mind-optimize.js +361 -0
- package/src/cli/simple-commands/hive-mind-wizard.js +214 -212
- package/src/cli/simple-commands/hive-mind.js +1403 -428
- package/src/cli/simple-commands/hive.js +12 -12
- package/src/cli/simple-commands/hook-safety.js +671 -0
- package/src/cli/simple-commands/hooks.js +1129 -320
- package/src/cli/simple-commands/init/README.md +8 -1
- package/src/cli/simple-commands/init/VALIDATION_ROLLBACK.md +27 -1
- package/src/cli/simple-commands/init/batch-init.js +105 -100
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +6 -6
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +6 -6
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +64 -37
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +85 -71
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +40 -19
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +149 -63
- package/src/cli/simple-commands/init/copy-revised-templates.js +175 -0
- package/src/cli/simple-commands/init/executable-wrapper.js +28 -21
- package/src/cli/simple-commands/init/gitignore-updater.js +137 -0
- package/src/cli/simple-commands/init/help.js +10 -3
- package/src/cli/simple-commands/init/index.js +579 -421
- package/src/cli/simple-commands/init/performance-monitor.js +71 -64
- package/src/cli/simple-commands/init/rollback/backup-manager.js +44 -64
- package/src/cli/simple-commands/init/rollback/index.js +31 -39
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +71 -101
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +34 -53
- package/src/cli/simple-commands/init/rollback/state-tracker.js +38 -49
- package/src/cli/simple-commands/init/sparc/roo-readme.js +1 -1
- package/src/cli/simple-commands/init/sparc/roomodes-config.js +99 -77
- package/src/cli/simple-commands/init/sparc/workflows.js +37 -33
- package/src/cli/simple-commands/init/sparc-structure.js +12 -11
- package/src/cli/simple-commands/init/template-copier.js +583 -0
- package/src/cli/simple-commands/init/templates/CLAUDE.md +363 -61
- package/src/cli/simple-commands/init/templates/claude-flow-universal +81 -0
- package/src/cli/simple-commands/init/templates/claude-md.js +183 -1
- package/src/cli/simple-commands/init/templates/commands/analysis/bottleneck-detect.md +15 -3
- package/src/cli/simple-commands/init/templates/commands/automation/auto-agent.md +12 -2
- package/src/cli/simple-commands/init/templates/commands/coordination/swarm-init.md +10 -1
- package/src/cli/simple-commands/init/templates/commands/github/github-swarm.md +18 -5
- package/src/cli/simple-commands/init/templates/commands/hooks/notification.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-command.md +116 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-edit.md +117 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-task.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-command.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-edit.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-search.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-task.md +12 -1
- package/src/cli/simple-commands/init/templates/commands/hooks/session-end.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-restore.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-start.md +117 -0
- package/src/cli/simple-commands/init/templates/coordination-md.js +1 -1
- package/src/cli/simple-commands/init/templates/coordination.md +16 -0
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +191 -137
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +1 -1
- package/src/cli/simple-commands/init/templates/memory-bank.md +16 -0
- package/src/cli/simple-commands/init/templates/readme-files.js +1 -1
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +430 -0
- package/src/cli/simple-commands/init/templates/settings.json +51 -64
- package/src/cli/simple-commands/init/templates/settings.json.enhanced +35 -0
- package/src/cli/simple-commands/init/templates/sparc-modes.js +637 -26
- package/src/cli/simple-commands/init/validation/config-validator.js +17 -28
- package/src/cli/simple-commands/init/validation/health-checker.js +54 -62
- package/src/cli/simple-commands/init/validation/index.js +18 -23
- package/src/cli/simple-commands/init/validation/mode-validator.js +22 -32
- package/src/cli/simple-commands/init/validation/post-init-validator.js +25 -26
- package/src/cli/simple-commands/init/validation/pre-init-validator.js +32 -36
- package/src/cli/simple-commands/init/validation/test-runner.js +55 -63
- package/src/cli/simple-commands/init.js +1 -1
- package/src/cli/simple-commands/mcp-integration-layer.js +179 -110
- package/src/cli/simple-commands/mcp.js +63 -47
- package/src/cli/simple-commands/memory.js +62 -56
- package/src/cli/simple-commands/migrate-hooks.js +63 -0
- package/src/cli/simple-commands/monitor.js +313 -75
- package/src/cli/simple-commands/process-ui-enhanced.js +207 -155
- package/src/cli/simple-commands/process-ui.js +65 -56
- package/src/cli/simple-commands/realtime-update-system.js +136 -129
- package/src/cli/simple-commands/sparc/architecture.js +352 -251
- package/src/cli/simple-commands/sparc/commands.js +122 -94
- package/src/cli/simple-commands/sparc/completion.js +274 -199
- package/src/cli/simple-commands/sparc/coordinator.js +217 -169
- package/src/cli/simple-commands/sparc/index.js +40 -36
- package/src/cli/simple-commands/sparc/phase-base.js +72 -58
- package/src/cli/simple-commands/sparc/pseudocode.js +275 -159
- package/src/cli/simple-commands/sparc/refinement.js +306 -212
- package/src/cli/simple-commands/sparc/specification.js +164 -94
- package/src/cli/simple-commands/sparc-modes/architect.js +1 -1
- package/src/cli/simple-commands/sparc-modes/ask.js +1 -1
- package/src/cli/simple-commands/sparc-modes/code.js +1 -1
- package/src/cli/simple-commands/sparc-modes/debug.js +1 -1
- package/src/cli/simple-commands/sparc-modes/devops.js +1 -1
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +1 -1
- package/src/cli/simple-commands/sparc-modes/generic.js +1 -1
- package/src/cli/simple-commands/sparc-modes/index.js +15 -15
- package/src/cli/simple-commands/sparc-modes/integration.js +1 -1
- package/src/cli/simple-commands/sparc-modes/mcp.js +1 -1
- package/src/cli/simple-commands/sparc-modes/monitoring.js +1 -1
- package/src/cli/simple-commands/sparc-modes/optimization.js +1 -1
- package/src/cli/simple-commands/sparc-modes/security-review.js +1 -1
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +1 -1
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +1 -1
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +1 -1
- package/src/cli/simple-commands/sparc-modes/swarm.js +52 -52
- package/src/cli/simple-commands/sparc-modes/tdd.js +1 -1
- package/src/cli/simple-commands/sparc-modes/tutorial.js +1 -1
- package/src/cli/simple-commands/sparc.js +87 -69
- package/src/cli/simple-commands/start-ui.js +21 -20
- package/src/cli/simple-commands/start-wrapper.js +29 -31
- package/src/cli/simple-commands/start.js +1 -1
- package/src/cli/simple-commands/status.js +53 -47
- package/src/cli/simple-commands/swarm-executor.js +47 -57
- package/src/cli/simple-commands/swarm-metrics-integration.js +119 -79
- package/src/cli/simple-commands/swarm-ui.js +183 -104
- package/src/cli/simple-commands/swarm-webui-integration.js +48 -27
- package/src/cli/simple-commands/swarm.js +293 -196
- package/src/cli/simple-commands/task.js +87 -35
- package/src/cli/simple-commands/timestamp-fix.js +104 -0
- package/src/cli/simple-commands/tool-execution-framework.js +115 -118
- package/src/cli/simple-commands/training.js +219 -194
- package/src/cli/simple-commands/web-server.js +118 -117
- package/src/cli/simple-commands/webui-validator.js +4 -3
- package/src/cli/simple-mcp.ts +14 -17
- package/src/cli/simple-orchestrator.ts +115 -102
- package/src/cli/swarm-standalone.js +24 -26
- package/src/cli/ui/compatible-ui.ts +56 -45
- package/src/cli/ui/fallback-handler.ts +23 -18
- package/src/cli/ui/index.ts +18 -17
- package/src/cli/utils/environment-detector.ts +102 -61
- package/src/cli/utils/interactive-detector.js +20 -11
- package/src/cli/utils/prompt-defaults.ts +32 -28
- package/src/cli/utils/safe-interactive.js +143 -0
- package/src/cli/utils.js +127 -110
- package/src/cli/validation-helper.js +113 -0
- package/src/cli/validation-helper.ts +128 -0
- package/src/communication/message-bus.ts +143 -126
- package/src/config/config-manager.ts +173 -27
- package/src/config/ruv-swarm-config.ts +105 -86
- package/src/config/ruv-swarm-integration.ts +38 -38
- package/src/constants/agent-types.ts +9 -8
- package/src/coordination/README.md +54 -31
- package/src/coordination/advanced-scheduler.ts +23 -26
- package/src/coordination/advanced-task-executor.ts +83 -74
- package/src/coordination/background-executor.ts +33 -30
- package/src/coordination/circuit-breaker.ts +26 -27
- package/src/coordination/conflict-resolution.ts +18 -27
- package/src/coordination/dependency-graph.ts +15 -18
- package/src/coordination/hive-orchestrator.ts +111 -81
- package/src/coordination/hive-protocol.ts +68 -77
- package/src/coordination/index.ts +3 -7
- package/src/coordination/load-balancer.ts +127 -109
- package/src/coordination/manager.ts +38 -51
- package/src/coordination/messaging.ts +19 -29
- package/src/coordination/metrics.ts +57 -60
- package/src/coordination/resources.ts +32 -37
- package/src/coordination/scheduler.ts +29 -30
- package/src/coordination/swarm-coordinator.ts +81 -70
- package/src/coordination/swarm-monitor.ts +90 -69
- package/src/coordination/work-stealing.ts +6 -13
- package/src/core/config.ts +148 -143
- package/src/core/event-bus.ts +5 -6
- package/src/core/json-persistence.ts +27 -34
- package/src/core/logger.ts +18 -16
- package/src/core/orchestrator-fixed.ts +33 -32
- package/src/core/orchestrator.ts +234 -156
- package/src/core/persistence.ts +47 -36
- package/src/enterprise/analytics-manager.ts +242 -233
- package/src/enterprise/audit-manager.ts +238 -184
- package/src/enterprise/cloud-manager.ts +167 -151
- package/src/enterprise/deployment-manager.ts +223 -180
- package/src/enterprise/index.ts +7 -7
- package/src/enterprise/project-manager.ts +151 -133
- package/src/enterprise/security-manager.ts +278 -223
- package/src/hive-mind/core/Agent.ts +112 -109
- package/src/hive-mind/core/Communication.ts +67 -69
- package/src/hive-mind/core/DatabaseManager.ts +371 -179
- package/src/hive-mind/core/HiveMind.ts +100 -96
- package/src/hive-mind/core/Memory.ts +304 -295
- package/src/hive-mind/core/MemoryMonitor.ts +46 -47
- package/src/hive-mind/core/Queen.ts +187 -114
- package/src/hive-mind/index.ts +2 -2
- package/src/hive-mind/integration/ConsensusEngine.ts +88 -92
- package/src/hive-mind/integration/MCPToolWrapper.ts +22 -73
- package/src/hive-mind/integration/SwarmOrchestrator.ts +173 -165
- package/src/hive-mind/types.ts +24 -12
- package/src/index.js +1 -1
- package/src/integration/mock-components.ts +42 -30
- package/src/integration/system-integration.ts +93 -69
- package/src/integration/types.ts +7 -7
- package/src/mcp/README.md +23 -4
- package/src/mcp/auth.ts +25 -18
- package/src/mcp/claude-code-wrapper.ts +257 -150
- package/src/mcp/claude-flow-tools.ts +52 -13
- package/src/mcp/client.ts +15 -13
- package/src/mcp/index.ts +22 -27
- package/src/mcp/integrate-wrapper.ts +18 -18
- package/src/mcp/lifecycle-manager.ts +30 -27
- package/src/mcp/load-balancer.ts +10 -11
- package/src/mcp/mcp-server.js +1027 -257
- package/src/mcp/orchestration-integration.ts +32 -17
- package/src/mcp/performance-monitor.ts +65 -51
- package/src/mcp/protocol-manager.ts +36 -52
- package/src/mcp/recovery/connection-health-monitor.ts +40 -35
- package/src/mcp/recovery/connection-state-manager.ts +52 -50
- package/src/mcp/recovery/fallback-coordinator.ts +24 -24
- package/src/mcp/recovery/index.ts +23 -4
- package/src/mcp/recovery/reconnection-manager.ts +14 -15
- package/src/mcp/recovery/recovery-manager.ts +52 -68
- package/src/mcp/router.ts +1 -2
- package/src/mcp/ruv-swarm-tools.ts +167 -138
- package/src/mcp/ruv-swarm-wrapper.js +254 -0
- package/src/mcp/server-with-wrapper.ts +4 -5
- package/src/mcp/server-wrapper-mode.ts +5 -6
- package/src/mcp/server.ts +45 -40
- package/src/mcp/session-manager.ts +8 -11
- package/src/mcp/sparc-modes.ts +29 -28
- package/src/mcp/swarm-tools.ts +131 -114
- package/src/mcp/tests/mcp-integration.test.ts +53 -59
- package/src/mcp/tools.ts +53 -38
- package/src/mcp/transports/base.ts +4 -5
- package/src/mcp/transports/http.ts +45 -42
- package/src/mcp/transports/stdio.ts +9 -12
- package/src/memory/README.md +292 -0
- package/src/memory/advanced-memory-manager.ts +336 -279
- package/src/memory/backends/base.ts +4 -5
- package/src/memory/backends/markdown.ts +16 -22
- package/src/memory/backends/sqlite.ts +40 -18
- package/src/memory/cache.ts +18 -18
- package/src/memory/distributed-memory.ts +84 -92
- package/src/memory/enhanced-examples.js +307 -0
- package/src/memory/enhanced-memory.js +339 -0
- package/src/memory/enhanced-schema.sql +154 -0
- package/src/memory/fallback-store.js +134 -0
- package/src/memory/in-memory-store.js +214 -0
- package/src/memory/index.js +38 -0
- package/src/memory/indexer.ts +6 -10
- package/src/memory/manager.ts +45 -59
- package/src/memory/migration.js +462 -0
- package/src/memory/shared-memory.js +790 -0
- package/src/memory/sqlite-store.js +329 -0
- package/src/memory/sqlite-wrapper.js +173 -0
- package/src/memory/swarm-memory.js +604 -0
- package/src/memory/swarm-memory.ts +74 -75
- package/src/memory/test-example.js +138 -0
- package/src/migration/README.md +25 -9
- package/src/migration/index.ts +13 -14
- package/src/migration/logger.ts +9 -7
- package/src/migration/migration-analyzer.ts +66 -52
- package/src/migration/migration-manifest.json +2 -6
- package/src/migration/migration-runner.ts +86 -63
- package/src/migration/migration-validator.ts +93 -68
- package/src/migration/package.json +1 -1
- package/src/migration/progress-reporter.ts +25 -21
- package/src/migration/rollback-manager.ts +79 -63
- package/src/migration/tests/migration-system.test.ts +4 -491
- package/src/migration/tsconfig.json +3 -10
- package/src/migration/types.ts +1 -1
- package/src/monitoring/diagnostics.ts +123 -97
- package/src/monitoring/health-check.ts +45 -51
- package/src/monitoring/real-time-monitor.ts +105 -92
- package/src/patches/hive-mind-timezone-fix.patch +123 -0
- package/src/providers/anthropic-provider.ts +282 -0
- package/src/providers/base-provider.ts +560 -0
- package/src/providers/cohere-provider.ts +521 -0
- package/src/providers/google-provider.ts +477 -0
- package/src/providers/index.ts +21 -0
- package/src/providers/ollama-provider.ts +489 -0
- package/src/providers/openai-provider.ts +476 -0
- package/src/providers/provider-manager.ts +654 -0
- package/src/providers/types.ts +531 -0
- package/src/providers/utils.ts +376 -0
- package/src/resources/resource-manager.ts +205 -159
- package/src/services/agentic-flow-hooks/hook-manager.ts +701 -0
- package/src/services/agentic-flow-hooks/index.ts +386 -0
- package/src/services/agentic-flow-hooks/llm-hooks.ts +557 -0
- package/src/services/agentic-flow-hooks/memory-hooks.ts +710 -0
- package/src/services/agentic-flow-hooks/neural-hooks.ts +758 -0
- package/src/services/agentic-flow-hooks/performance-hooks.ts +827 -0
- package/src/services/agentic-flow-hooks/types.ts +503 -0
- package/src/services/agentic-flow-hooks/workflow-hooks.ts +1026 -0
- package/src/swarm/__tests__/integration.test.ts +59 -65
- package/src/swarm/__tests__/prompt-copier.test.ts +27 -27
- package/src/swarm/claude-flow-executor.ts +50 -49
- package/src/swarm/coordinator.ts +821 -624
- package/src/swarm/direct-executor.ts +80 -86
- package/src/swarm/executor-v2.ts +81 -66
- package/src/swarm/executor.ts +124 -124
- package/src/swarm/index.ts +7 -8
- package/src/swarm/json-output-aggregator.ts +372 -0
- package/src/swarm/memory.ts +152 -147
- package/src/swarm/optimizations/README.md +20 -12
- package/src/swarm/optimizations/__tests__/optimization.test.ts +84 -87
- package/src/swarm/optimizations/async-file-manager.ts +70 -80
- package/src/swarm/optimizations/circular-buffer.ts +37 -37
- package/src/swarm/optimizations/connection-pool.ts +64 -64
- package/src/swarm/optimizations/index.ts +4 -4
- package/src/swarm/optimizations/migration-guide.md +27 -16
- package/src/swarm/optimizations/optimized-executor.ts +104 -114
- package/src/swarm/optimizations/ttl-map.ts +66 -63
- package/src/swarm/prompt-cli.ts +48 -42
- package/src/swarm/prompt-copier-enhanced.ts +72 -70
- package/src/swarm/prompt-copier.ts +59 -64
- package/src/swarm/prompt-copying-README.md +49 -33
- package/src/swarm/prompt-manager.ts +71 -64
- package/src/swarm/prompt-utils.ts +71 -66
- package/src/swarm/sparc-executor.ts +302 -229
- package/src/swarm/strategies/auto.ts +367 -252
- package/src/swarm/strategies/base.ts +24 -20
- package/src/swarm/strategies/research.ts +144 -124
- package/src/swarm/types.ts +340 -309
- package/src/swarm/workers/copy-worker.ts +12 -13
- package/src/task/README.md +99 -70
- package/src/task/commands.ts +16 -8
- package/src/task/coordination.ts +209 -162
- package/src/task/engine.ts +82 -66
- package/src/task/index.ts +28 -31
- package/src/templates/claude-optimized/.claude/BATCHTOOLS_BEST_PRACTICES.md +479 -481
- package/src/templates/claude-optimized/.claude/BATCHTOOLS_GUIDE.md +210 -188
- package/src/templates/claude-optimized/.claude/MIGRATION_GUIDE.md +151 -105
- package/src/templates/claude-optimized/.claude/PERFORMANCE_BENCHMARKS.md +102 -87
- package/src/templates/claude-optimized/.claude/commands/claude-flow-help.md +18 -1
- package/src/templates/claude-optimized/.claude/commands/claude-flow-memory.md +17 -1
- package/src/templates/claude-optimized/.claude/commands/claude-flow-swarm.md +21 -1
- package/src/templates/claude-optimized/.claude/commands/sparc/architect.md +11 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/ask.md +16 -10
- package/src/templates/claude-optimized/.claude/commands/sparc/code.md +26 -7
- package/src/templates/claude-optimized/.claude/commands/sparc/debug.md +14 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/devops.md +23 -10
- package/src/templates/claude-optimized/.claude/commands/sparc/docs-writer.md +8 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/integration.md +43 -27
- package/src/templates/claude-optimized/.claude/commands/sparc/mcp.md +15 -1
- package/src/templates/claude-optimized/.claude/commands/sparc/post-deployment-monitoring-mode.md +45 -30
- package/src/templates/claude-optimized/.claude/commands/sparc/refinement-optimization-mode.md +23 -13
- package/src/templates/claude-optimized/.claude/commands/sparc/security-review.md +31 -17
- package/src/templates/claude-optimized/.claude/commands/sparc/sparc.md +54 -47
- package/src/templates/claude-optimized/.claude/commands/sparc/spec-pseudocode.md +27 -17
- package/src/templates/claude-optimized/.claude/commands/sparc/supabase-admin.md +18 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/tdd.md +23 -9
- package/src/templates/claude-optimized/.claude/commands/sparc/tutorial.md +22 -16
- package/src/templates/claude-optimized/.claude/commands/sparc.md +20 -1
- package/src/templates/claude-optimized/README.md +10 -1
- package/src/templates/claude-optimized/SUMMARY.md +23 -1
- package/src/templates/claude-optimized/deploy-to-project.js +22 -10
- package/src/templates/claude-optimized/install-template.js +14 -10
- package/src/templates/claude-optimized/manifest.json +1 -1
- package/src/templates/claude-optimized/package.json +1 -1
- package/src/templates/claude-optimized/template-manager.js +8 -8
- package/src/templates/claude-optimized/validate-template.js +33 -23
- package/src/terminal/adapters/base.ts +1 -1
- package/src/terminal/adapters/native.ts +47 -47
- package/src/terminal/adapters/vscode.ts +21 -28
- package/src/terminal/manager.ts +27 -22
- package/src/terminal/pool.ts +24 -27
- package/src/terminal/session.ts +18 -18
- package/src/terminal/vscode-bridge.ts +21 -21
- package/src/tests/validation-consistency.test.ts +4 -4
- package/src/types/cliffy.d.ts +11 -14
- package/src/types/global.d.ts +1 -2
- package/src/types/index.ts +2 -2
- package/src/types/mcp.d.ts +11 -17
- package/src/types/vscode.d.ts +18 -5
- package/src/ui/console/README-analysis-tools.md +52 -2
- package/src/ui/console/README.md +33 -1
- package/src/ui/console/WORKFLOW_DESIGNER_README.md +81 -22
- package/src/ui/console/analysis-tools.html +282 -261
- package/src/ui/console/analytics.html +329 -326
- package/src/ui/console/index.html +221 -209
- package/src/ui/console/js/analysis-tools.js +831 -686
- package/src/ui/console/js/command-handler.js +226 -196
- package/src/ui/console/js/console.js +117 -119
- package/src/ui/console/js/daa-tools.js +797 -787
- package/src/ui/console/js/memory-interface.js +676 -638
- package/src/ui/console/js/memory-test.js +49 -46
- package/src/ui/console/js/memory-tools.js +181 -159
- package/src/ui/console/js/settings.js +124 -103
- package/src/ui/console/js/terminal-emulator.js +147 -130
- package/src/ui/console/js/websocket-client.js +71 -71
- package/src/ui/console/js/workflow-designer.js +1126 -1110
- package/src/ui/console/neural-networks-demo.md +45 -16
- package/src/ui/console/styles/analysis-tools.css +571 -561
- package/src/ui/console/styles/console.css +16 -12
- package/src/ui/console/styles/daa-tools.css +322 -319
- package/src/ui/console/styles/responsive.css +71 -70
- package/src/ui/console/styles/settings.css +12 -12
- package/src/ui/console/styles/workflow-designer.css +628 -584
- package/src/ui/console/test-neural-networks.js +59 -54
- package/src/ui/console/test-neural.html +194 -196
- package/src/ui/console/workflow-designer-demo.html +433 -424
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js +2 -2
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/core.d.ts +1 -1
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/core.js +3 -3
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/error.js +2 -2
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +3 -3
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +10 -10
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/_shims/web-runtime.ts +3 -6
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/core.ts +3 -173
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/error.ts +2 -33
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +14 -69
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/streaming.ts +3 -81
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/streaming.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tracingPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/browser/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/browser/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/commonjs/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/commonjs/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/esm/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/esm/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/react-native/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/react-native/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-util/dist/browser/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/browser/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/commonjs/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/commonjs/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/esm/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/esm/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/react-native/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/react-native/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/PublicClientNext.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/AccountManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/LocalStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/IController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/NestedAppAuthController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/StandardController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/UnknownOperatingContextController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/event/EventHandler.d.ts +1 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/AuthBridge.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/BridgeError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/mapping/NestedAppAuthAdapter.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/operatingcontext/BaseOperatingContext.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/request/RequestHelpers.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/response/ResponseHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/msal-browser.js +97 -281
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/error/NativeAuthError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts +1 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/RedirectClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_handler/InteractionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_handler/SilentHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/AuthBridge.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/BridgeError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/operatingcontext/BaseOperatingContext.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/request/RequestHelpers.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/response/ResponseHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/IPublicClientApplication.ts +2 -5
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/PublicClientApplication.ts +2 -44
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/PublicClientNext.ts +3 -40
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +2 -23
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +5 -39
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthProvider.ts +3 -16
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/AccountManager.ts +2 -15
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/AsyncMemoryStorage.ts +2 -14
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/BrowserCacheManager.ts +4 -108
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/LocalStorage.ts +3 -44
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/TokenCache.ts +2 -38
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/IController.ts +2 -39
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/NestedAppAuthController.ts +2 -100
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/StandardController.ts +9 -205
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/UnknownOperatingContextController.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-browser/src/error/NativeAuthError.ts +2 -15
- package/src/ui/extension/node_modules/@azure/msal-browser/src/event/EventHandler.ts +2 -17
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/BaseInteractionClient.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/PlatformAuthInteractionClient.ts +2 -99
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/PopupClient.ts +2 -72
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/RedirectClient.ts +2 -59
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/SilentCacheClient.ts +2 -8
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/SilentIframeClient.ts +2 -26
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/StandardInteractionClient.ts +2 -22
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_handler/InteractionHandler.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/BridgeError.ts +2 -5
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/BridgeProxy.ts +2 -23
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/mapping/NestedAppAuthAdapter.ts +2 -29
- package/src/ui/extension/node_modules/@azure/msal-browser/src/network/FetchClient.ts +3 -11
- package/src/ui/extension/node_modules/@azure/msal-browser/src/operatingcontext/BaseOperatingContext.ts +3 -19
- package/src/ui/extension/node_modules/@azure/msal-browser/src/protocol/Authorize.ts +2 -37
- package/src/ui/extension/node_modules/@azure/msal-browser/src/telemetry/BrowserPerformanceClient.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-browser/src/utils/MsalFrameStatsUtils.ts +2 -7
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/error/NetworkError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/protocol/Authorize.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +6 -7
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/utils/FunctionWrappers.d.ts +2 -3
- package/src/ui/extension/node_modules/@azure/msal-common/lib/index-node-DNGOJ4N7.js +31 -106
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/Authority.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/AuthorityFactory.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/AuthorityMetadata.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/RegionDiscovery.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/cache/CacheManager.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/cache/entities/AccountEntity.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/client/BaseClient.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/crypto/PopTokenGenerator.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/error/NetworkError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/protocol/Authorize.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/response/ResponseHandler.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/performance/PerformanceClient.d.ts +6 -7
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/server/ServerTelemetryManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/utils/FunctionWrappers.d.ts +2 -3
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/Authority.ts +5 -120
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/AuthorityFactory.ts +1 -6
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/AuthorityMetadata.ts +2 -16
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/RegionDiscovery.ts +1 -17
- package/src/ui/extension/node_modules/@azure/msal-common/src/cache/CacheManager.ts +3 -207
- package/src/ui/extension/node_modules/@azure/msal-common/src/cache/entities/AccountEntity.ts +2 -39
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/AuthorizationCodeClient.ts +2 -52
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/BaseClient.ts +2 -35
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/RefreshTokenClient.ts +2 -49
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/SilentFlowClient.ts +2 -19
- package/src/ui/extension/node_modules/@azure/msal-common/src/config/ClientConfiguration.ts +2 -25
- package/src/ui/extension/node_modules/@azure/msal-common/src/crypto/PopTokenGenerator.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-common/src/error/NetworkError.ts +1 -7
- package/src/ui/extension/node_modules/@azure/msal-common/src/protocol/Authorize.ts +3 -38
- package/src/ui/extension/node_modules/@azure/msal-common/src/request/RequestParameterBuilder.ts +2 -55
- package/src/ui/extension/node_modules/@azure/msal-common/src/response/ResponseHandler.ts +9 -53
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/performance/IPerformanceClient.ts +3 -10
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/performance/PerformanceClient.ts +9 -96
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/server/ServerTelemetryManager.ts +4 -47
- package/src/ui/extension/node_modules/@azure/msal-common/src/url/UrlString.ts +2 -32
- package/src/ui/extension/node_modules/@azure/msal-common/src/utils/FunctionWrappers.ts +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/dist/cache/NodeStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentityClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AppService.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AzureArc.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/CloudShell.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/Imds.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/MachineLearning.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/ServiceFabric.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/IHttpRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/ImdsRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/cache/NodeStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/IConfidentialClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/IPublicClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentityClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/AppService.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/Imds.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/network/HttpClientWithRetries.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/IHttpRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/ImdsRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/esm-node/parse.js +1 -9
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/esm-node/v1.js +2 -30
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/parse.js +1 -12
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/rng-browser.js +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/v1.js +2 -34
- package/src/ui/extension/node_modules/@azure/msal-node/src/cache/TokenCache.ts +3 -30
- package/src/ui/extension/node_modules/@azure/msal-node/src/cache/distributed/DistributedCachePlugin.ts +2 -9
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientApplication.ts +3 -44
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientAssertion.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientCredentialClient.ts +4 -49
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ConfidentialClientApplication.ts +3 -25
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/DeviceCodeClient.ts +2 -28
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/AppService.ts +2 -20
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/AzureArc.ts +5 -43
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +5 -38
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/CloudShell.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/Imds.ts +3 -19
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/MachineLearning.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/ServiceFabric.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/OnBehalfOfClient.ts +2 -42
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/PublicClientApplication.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-node/src/config/Configuration.ts +2 -25
- package/src/ui/extension/node_modules/@azure/msal-node/src/network/HttpClient.ts +6 -50
- package/src/ui/extension/node_modules/@azure/msal-node/src/network/LoopbackClient.ts +2 -13
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/DefaultManagedIdentityRetryPolicy.ts +2 -11
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/IHttpRetryPolicy.ts +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/ImdsRetryPolicy.ts +2 -18
- package/src/ui/extension/node_modules/@babel/code-frame/lib/index.js +5 -11
- package/src/ui/extension/node_modules/@babel/core/lib/config/caching.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/config/config-chain.js +19 -21
- package/src/ui/extension/node_modules/@babel/core/lib/config/config-descriptors.js +5 -7
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/configuration.js +2 -12
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/module-types.js +6 -9
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/package.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/plugins.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/config/full.js +10 -12
- package/src/ui/extension/node_modules/@babel/core/lib/config/index.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/config/partial.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/config/resolve-targets-browser.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/config/resolve-targets.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/config/validation/options.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/gensync-utils/functional.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/parse.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/parser/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +2 -5
- package/src/ui/extension/node_modules/@babel/core/lib/tools/build-external-helpers.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transform-ast.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transform-file-browser.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transform.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/file/file.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/file/generate.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/normalize-file.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/normalize-opts.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/util/clone-deep.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +28 -30
- package/src/ui/extension/node_modules/@babel/core/src/config/resolve-targets-browser.ts +2 -8
- package/src/ui/extension/node_modules/@babel/core/src/config/resolve-targets.ts +3 -11
- package/src/ui/extension/node_modules/@babel/core/src/transform-file-browser.ts +4 -9
- package/src/ui/extension/node_modules/@babel/generator/lib/buffer.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/base.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/classes.js +3 -5
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/expressions.js +6 -8
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/flow.js +11 -13
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/methods.js +3 -5
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/modules.js +4 -6
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/statements.js +4 -6
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/types.js +8 -10
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/typescript.js +16 -18
- package/src/ui/extension/node_modules/@babel/generator/lib/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/parentheses.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/whitespace.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/printer.js +12 -14
- package/src/ui/extension/node_modules/@babel/generator/lib/source-map.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/token-map.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/lib/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/lib/pretty.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/node_modules/yallist/yallist.js +4 -63
- package/src/ui/extension/node_modules/@babel/helper-module-imports/lib/import-builder.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-module-imports/lib/import-injector.js +5 -7
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/index.js +4 -8
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +4 -6
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +16 -18
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-string-parser/lib/index.js +7 -9
- package/src/ui/extension/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/dispose.js +5 -7
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +2 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/usingCtx.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/parser/lib/index.js +211 -212
- package/src/ui/extension/node_modules/@babel/template/lib/builder.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/formatters.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/literal.js +3 -5
- package/src/ui/extension/node_modules/@babel/template/lib/options.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/parse.js +9 -11
- package/src/ui/extension/node_modules/@babel/template/lib/populate.js +3 -5
- package/src/ui/extension/node_modules/@babel/template/lib/string.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/cache.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/context.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/ancestry.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/comments.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/context.js +7 -9
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/conversion.js +12 -16
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/evaluation.js +7 -9
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/family.js +9 -11
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/inferers.js +4 -6
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/util.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/introspection.js +8 -10
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/lib/hoister.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +8 -10
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/modification.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/removal.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/replacement.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/scope/index.js +19 -21
- package/src/ui/extension/node_modules/@babel/traverse/lib/scope/lib/renamer.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/traverse-node.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/visitors.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/builders/generated/lowercase.js +3 -5
- package/src/ui/extension/node_modules/@babel/types/lib/clone/cloneNode.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/converters/toKeyAlias.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/converters/toStatement.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/converters/valueToNode.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/definitions/core.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/definitions/utils.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/retrievers/getFunctionName.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/traverse/traverse.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/utils/deprecationWarning.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/validators/matchesPattern.js +3 -5
- package/src/ui/extension/node_modules/@cspotcode/source-map-support/source-map-support.d.ts +2 -9
- package/src/ui/extension/node_modules/@cspotcode/source-map-support/source-map-support.js +5 -101
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +5 -71
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +2 -19
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +2 -23
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array-factory.js +12 -147
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/flat-compat.js +2 -59
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +2 -52
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +2 -7
- package/src/ui/extension/node_modules/@eslint-community/eslint-utils/index.js +4 -201
- package/src/ui/extension/node_modules/@eslint-community/regexpp/index.js +2 -16
- package/src/ui/extension/node_modules/@humanwhocodes/config-array/api.js +5 -214
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument_parser.js +2 -165
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/help/formatter.js +2 -115
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/bin/js-yaml.js +4 -44
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/dist/js-yaml.js +2 -868
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/dumper.js +2 -133
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/index.js +3 -11
- package/src/ui/extension/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +4 -11
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/async.js +6 -6
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/sync.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/async.js +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/sync.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/providers/async.js +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +5 -5
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/async.js +5 -5
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/common.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/sync.js +3 -3
- package/src/ui/extension/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js +2 -4
- package/src/ui/extension/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +13 -233
- package/src/ui/extension/node_modules/@sinonjs/samsam/lib/deep-equal-benchmark.js +2 -7
- package/src/ui/extension/node_modules/@sinonjs/samsam/lib/match.js +2 -1
- package/src/ui/extension/node_modules/@sinonjs/text-encoding/lib/encoding.js +4 -4
- package/src/ui/extension/node_modules/@types/mocha/index.d.ts +194 -570
- package/src/ui/extension/node_modules/@types/node/assert.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/async_hooks.d.ts +63 -63
- package/src/ui/extension/node_modules/@types/node/child_process.d.ts +60 -60
- package/src/ui/extension/node_modules/@types/node/cluster.d.ts +93 -93
- package/src/ui/extension/node_modules/@types/node/console.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/constants.d.ts +2 -3
- package/src/ui/extension/node_modules/@types/node/crypto.d.ts +79 -79
- package/src/ui/extension/node_modules/@types/node/dgram.d.ts +44 -44
- package/src/ui/extension/node_modules/@types/node/diagnostics_channel.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/dns/promises.d.ts +25 -25
- package/src/ui/extension/node_modules/@types/node/dom-events.d.ts +2 -12
- package/src/ui/extension/node_modules/@types/node/events.d.ts +3 -12
- package/src/ui/extension/node_modules/@types/node/fs/promises.d.ts +2 -6
- package/src/ui/extension/node_modules/@types/node/fs.d.ts +196 -205
- package/src/ui/extension/node_modules/@types/node/http.d.ts +153 -157
- package/src/ui/extension/node_modules/@types/node/http2.d.ts +535 -535
- package/src/ui/extension/node_modules/@types/node/https.d.ts +100 -100
- package/src/ui/extension/node_modules/@types/node/inspector.d.ts +171 -174
- package/src/ui/extension/node_modules/@types/node/module.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/net.d.ts +92 -92
- package/src/ui/extension/node_modules/@types/node/os.d.ts +153 -153
- package/src/ui/extension/node_modules/@types/node/path.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/perf_hooks.d.ts +13 -14
- package/src/ui/extension/node_modules/@types/node/process.d.ts +89 -89
- package/src/ui/extension/node_modules/@types/node/punycode.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/querystring.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/readline.d.ts +57 -58
- package/src/ui/extension/node_modules/@types/node/repl.d.ts +65 -65
- package/src/ui/extension/node_modules/@types/node/stream/web.d.ts +18 -36
- package/src/ui/extension/node_modules/@types/node/stream.d.ts +204 -208
- package/src/ui/extension/node_modules/@types/node/test.d.ts +74 -122
- package/src/ui/extension/node_modules/@types/node/timers/promises.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/timers.d.ts +5 -5
- package/src/ui/extension/node_modules/@types/node/tls.d.ts +75 -75
- package/src/ui/extension/node_modules/@types/node/tty.d.ts +14 -14
- package/src/ui/extension/node_modules/@types/node/util.d.ts +29 -58
- package/src/ui/extension/node_modules/@types/node/v8.d.ts +6 -6
- package/src/ui/extension/node_modules/@types/node/worker_threads.d.ts +88 -91
- package/src/ui/extension/node_modules/@types/node/zlib.d.ts +159 -159
- package/src/ui/extension/node_modules/@types/node-fetch/externals.d.ts +5 -11
- package/src/ui/extension/node_modules/@types/node-fetch/index.d.ts +2 -28
- package/src/ui/extension/node_modules/@types/sinon/index.d.ts +13 -88
- package/src/ui/extension/node_modules/@types/sinon-chai/index.d.ts +2 -6
- package/src/ui/extension/node_modules/@types/sinonjs__fake-timers/index.d.ts +4 -55
- package/src/ui/extension/node_modules/@types/vscode/index.d.ts +23 -2250
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -10
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +4 -4
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +3 -32
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -14
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/proxyPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@ungap/structured-clone/cjs/deserialize.js +2 -9
- package/src/ui/extension/node_modules/@ungap/structured-clone/cjs/serialize.js +2 -21
- package/src/ui/extension/node_modules/@vscode/test-electron/out/download.js +3 -3
- package/src/ui/extension/node_modules/@vscode/test-electron/out/progress.js +2 -2
- package/src/ui/extension/node_modules/@vscode/test-electron/out/request.js +3 -3
- package/src/ui/extension/node_modules/@vscode/test-electron/out/runTest.js +2 -2
- package/src/ui/extension/node_modules/@vscode/test-electron/out/util.js +4 -4
- package/src/ui/extension/node_modules/@vscode/vsce/out/auth.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce/out/npm.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce/out/package.js +9 -10
- package/src/ui/extension/node_modules/@vscode/vsce/out/publish.js +3 -3
- package/src/ui/extension/node_modules/@vscode/vsce/out/store.js +2 -2
- package/src/ui/extension/node_modules/@vscode/vsce/out/util.js +2 -2
- package/src/ui/extension/node_modules/@vscode/vsce/out/validation.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/main.js +1 -29
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/postinstall.js +1 -22
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/target.js +3 -24
- package/src/ui/extension/node_modules/acorn/dist/acorn.js +34 -778
- package/src/ui/extension/node_modules/acorn-jsx/index.js +5 -70
- package/src/ui/extension/node_modules/acorn-walk/dist/walk.d.ts +3 -23
- package/src/ui/extension/node_modules/acorn-walk/dist/walk.js +3 -44
- package/src/ui/extension/node_modules/agent-base/dist/index.d.ts +2 -2
- package/src/ui/extension/node_modules/agent-base/dist/index.js +1 -1
- package/src/ui/extension/node_modules/agentkeepalive/index.d.ts +3 -13
- package/src/ui/extension/node_modules/agentkeepalive/lib/agent.js +2 -44
- package/src/ui/extension/node_modules/agentkeepalive/lib/https_agent.js +2 -10
- package/src/ui/extension/node_modules/ajv/dist/ajv.bundle.js +13 -530
- package/src/ui/extension/node_modules/ajv/lib/ajv.js +6 -84
- package/src/ui/extension/node_modules/ajv/lib/compile/async.js +3 -21
- package/src/ui/extension/node_modules/ajv/lib/compile/resolve.js +4 -39
- package/src/ui/extension/node_modules/ansi-colors/types/index.d.ts +48 -71
- package/src/ui/extension/node_modules/append-transform/index.js +3 -21
- package/src/ui/extension/node_modules/argparse/argparse.js +301 -767
- package/src/ui/extension/node_modules/argparse/lib/sub.js +2 -13
- package/src/ui/extension/node_modules/argparse/lib/textwrap.js +5 -51
- package/src/ui/extension/node_modules/assertion-error/index.js +2 -25
- package/src/ui/extension/node_modules/asynckit/lib/async.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/iterate.js +3 -12
- package/src/ui/extension/node_modules/asynckit/lib/readable_parallel.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/readable_serial.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/readable_serial_ordered.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/streamify.js +5 -23
- package/src/ui/extension/node_modules/asynckit/lib/terminator.js +2 -7
- package/src/ui/extension/node_modules/asynckit/parallel.js +2 -8
- package/src/ui/extension/node_modules/asynckit/serial.js +2 -4
- package/src/ui/extension/node_modules/asynckit/serialOrdered.js +3 -13
- package/src/ui/extension/node_modules/azure-devops-node-api/AlertApi.js +9 -9
- package/src/ui/extension/node_modules/azure-devops-node-api/BuildApi.js +90 -90
- package/src/ui/extension/node_modules/azure-devops-node-api/CoreApi.js +34 -34
- package/src/ui/extension/node_modules/azure-devops-node-api/DashboardApi.js +14 -14
- package/src/ui/extension/node_modules/azure-devops-node-api/ExtensionManagementApi.js +26 -26
- package/src/ui/extension/node_modules/azure-devops-node-api/FeatureManagementApi.js +10 -10
- package/src/ui/extension/node_modules/azure-devops-node-api/FileContainerApi.js +6 -6
- package/src/ui/extension/node_modules/azure-devops-node-api/FileContainerApiBase.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/GalleryApi.js +74 -74
- package/src/ui/extension/node_modules/azure-devops-node-api/GalleryCompatHttpClientBase.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/GitApi.js +138 -138
- package/src/ui/extension/node_modules/azure-devops-node-api/LocationsApi.js +10 -10
- package/src/ui/extension/node_modules/azure-devops-node-api/ManagementApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/NotificationApi.js +25 -25
- package/src/ui/extension/node_modules/azure-devops-node-api/PolicyApi.js +13 -13
- package/src/ui/extension/node_modules/azure-devops-node-api/ProfileApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/ProjectAnalysisApi.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/ReleaseApi.js +79 -79
- package/src/ui/extension/node_modules/azure-devops-node-api/SecurityRolesApi.js +7 -7
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskAgentApi.js +2 -2
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskAgentApiBase.js +152 -152
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskApi.js +25 -25
- package/src/ui/extension/node_modules/azure-devops-node-api/TestApi.js +71 -71
- package/src/ui/extension/node_modules/azure-devops-node-api/TestPlanApi.js +42 -42
- package/src/ui/extension/node_modules/azure-devops-node-api/TestResultsApi.js +91 -91
- package/src/ui/extension/node_modules/azure-devops-node-api/TfvcApi.js +21 -21
- package/src/ui/extension/node_modules/azure-devops-node-api/VsoClient.js +7 -7
- package/src/ui/extension/node_modules/azure-devops-node-api/WebApi.js +3 -3
- package/src/ui/extension/node_modules/azure-devops-node-api/WikiApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkApi.js +58 -58
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingApi.js +87 -87
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingProcessApi.js +58 -58
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingProcessDefinitionsApi.js +47 -47
- package/src/ui/extension/node_modules/azure-devops-node-api/interfaces/common/VsoBaseInterfaces.d.ts +2 -2
- package/src/ui/extension/node_modules/azure-devops-node-api/opensource/node-http-ntlm/ntlm.js +2 -2
- package/src/ui/extension/node_modules/bl/bl.js +4 -23
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/errors.js +3 -18
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1 -71
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +2 -4
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +2 -3
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +2 -5
- package/src/ui/extension/node_modules/braces/lib/parse.js +10 -76
- package/src/ui/extension/node_modules/browserslist/browser.js +2 -16
- package/src/ui/extension/node_modules/browserslist/index.d.ts +9 -36
- package/src/ui/extension/node_modules/browserslist/index.js +43 -112
- package/src/ui/extension/node_modules/browserslist/node.js +2 -54
- package/src/ui/extension/node_modules/caching-transform/index.js +3 -19
- package/src/ui/extension/node_modules/call-bind-apply-helpers/index.d.ts +4 -11
- package/src/ui/extension/node_modules/call-bound/index.d.ts +3 -15
- package/src/ui/extension/node_modules/chai/chai.js +5 -1145
- package/src/ui/extension/node_modules/chai/lib/chai/core/assertions.js +2 -1
- package/src/ui/extension/node_modules/chai-as-promised/lib/chai-as-promised.js +4 -70
- package/src/ui/extension/node_modules/chalk/templates.js +3 -25
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/browser/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/browser/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/index.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/index.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/src/__tests__/deprecated.spec.ts +2 -31
- package/src/ui/extension/node_modules/cheerio/src/api/attributes.spec.ts +11 -202
- package/src/ui/extension/node_modules/cheerio/src/api/css.spec.ts +2 -21
- package/src/ui/extension/node_modules/cheerio/src/api/css.ts +2 -18
- package/src/ui/extension/node_modules/cheerio/src/api/forms.spec.ts +2 -20
- package/src/ui/extension/node_modules/cheerio/src/api/manipulation.spec.ts +6 -364
- package/src/ui/extension/node_modules/cheerio/src/api/manipulation.ts +3 -110
- package/src/ui/extension/node_modules/cheerio/src/api/traversing.spec.ts +8 -263
- package/src/ui/extension/node_modules/cheerio/src/api/traversing.ts +3 -73
- package/src/ui/extension/node_modules/cheerio/src/index.spec.ts +6 -50
- package/src/ui/extension/node_modules/cheerio/src/index.ts +5 -38
- package/src/ui/extension/node_modules/cheerio/src/load-parse.ts +2 -4
- package/src/ui/extension/node_modules/cheerio/src/parse.spec.ts +2 -72
- package/src/ui/extension/node_modules/cheerio/src/static.spec.ts +4 -59
- package/src/ui/extension/node_modules/cheerio/src/static.ts +2 -29
- package/src/ui/extension/node_modules/cheerio/src/utils.ts +2 -11
- package/src/ui/extension/node_modules/cheerio-select/lib/esm/index.js +1 -1
- package/src/ui/extension/node_modules/chokidar/index.js +12 -136
- package/src/ui/extension/node_modules/chokidar/lib/fsevents-handler.js +14 -76
- package/src/ui/extension/node_modules/chokidar/lib/nodefs-handler.js +12 -82
- package/src/ui/extension/node_modules/chokidar/types/index.d.ts +8 -42
- package/src/ui/extension/node_modules/chownr/chownr.js +2 -23
- package/src/ui/extension/node_modules/cliui/build/lib/index.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js +3 -2
- package/src/ui/extension/node_modules/cockatiel/dist/Policy.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/Policy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/RetryPolicy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/Backoff.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/common/Event.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/common/Event.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/common/defer.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/common/defer.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/CircuitBreakerPolicy.js +3 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/Policy.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/Policy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/RetryPolicy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/Backoff.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/DelegateBackoff.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/DelegateBackoff.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/Event.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/Event.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/defer.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/defer.js +2 -2
- package/src/ui/extension/node_modules/commander/index.js +9 -223
- package/src/ui/extension/node_modules/commander/typings/index.d.ts +2 -42
- package/src/ui/extension/node_modules/cross-spawn/lib/util/readShebang.js +2 -8
- package/src/ui/extension/node_modules/cross-spawn/lib/util/resolveCommand.js +2 -11
- package/src/ui/extension/node_modules/css-select/lib/attributes.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/attributes.js +8 -8
- package/src/ui/extension/node_modules/css-select/lib/compile.js +5 -5
- package/src/ui/extension/node_modules/css-select/lib/esm/attributes.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/attributes.js +8 -8
- package/src/ui/extension/node_modules/css-select/lib/esm/compile.js +6 -6
- package/src/ui/extension/node_modules/css-select/lib/esm/general.js +2 -2
- package/src/ui/extension/node_modules/css-select/lib/esm/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +6 -6
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +4 -4
- package/src/ui/extension/node_modules/css-select/lib/general.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/filters.js +10 -10
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/subselects.js +4 -4
- package/src/ui/extension/node_modules/css-what/lib/es/parse.js +3 -3
- package/src/ui/extension/node_modules/debug/src/browser.js +7 -34
- package/src/ui/extension/node_modules/debug/src/common.js +4 -46
- package/src/ui/extension/node_modules/debug/src/node.js +2 -34
- package/src/ui/extension/node_modules/decompress-response/index.js +4 -18
- package/src/ui/extension/node_modules/default-require-extensions/json.js +2 -4
- package/src/ui/extension/node_modules/detect-libc/lib/detect-libc.js +3 -30
- package/src/ui/extension/node_modules/diff/dist/diff.js +8 -330
- package/src/ui/extension/node_modules/diff/lib/diff/array.js +2 -10
- package/src/ui/extension/node_modules/diff/lib/diff/base.js +3 -68
- package/src/ui/extension/node_modules/diff/lib/diff/css.js +2 -9
- package/src/ui/extension/node_modules/diff/lib/diff/line.js +3 -20
- package/src/ui/extension/node_modules/diff/lib/diff/sentence.js +2 -9
- package/src/ui/extension/node_modules/diff/lib/index.es6.js +8 -327
- package/src/ui/extension/node_modules/doctrine/lib/doctrine.js +2 -123
- package/src/ui/extension/node_modules/domhandler/lib/esm/index.d.ts +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/esm/index.js +5 -5
- package/src/ui/extension/node_modules/domhandler/lib/esm/node.js +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/index.d.ts +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/index.js +5 -5
- package/src/ui/extension/node_modules/domhandler/lib/node.js +2 -2
- package/src/ui/extension/node_modules/domutils/lib/esm/manipulation.d.ts +1 -1
- package/src/ui/extension/node_modules/domutils/lib/esm/manipulation.js +2 -2
- package/src/ui/extension/node_modules/domutils/lib/manipulation.d.ts +1 -1
- package/src/ui/extension/node_modules/domutils/lib/manipulation.js +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/commonjs/index.js +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/esm/index.d.ts +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/esm/index.js +2 -2
- package/src/ui/extension/node_modules/end-of-stream/index.js +2 -21
- package/src/ui/extension/node_modules/entities/lib/esm/encode.js +1 -1
- package/src/ui/extension/node_modules/entities/lib/esm/escape.js +2 -2
- package/src/ui/extension/node_modules/escalade/dist/index.js +2 -6
- package/src/ui/extension/node_modules/escalade/sync/index.js +2 -5
- package/src/ui/extension/node_modules/eslint/bin/eslint.js +3 -33
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/cli-engine.js +13 -152
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/file-enumerator.js +6 -76
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/formatters/html.js +4 -47
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/formatters/stylish.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/cli.js +7 -81
- package/src/ui/extension/node_modules/eslint/lib/config/flat-config-array.js +6 -80
- package/src/ui/extension/node_modules/eslint/lib/config/flat-config-helpers.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/config/rule-validator.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/eslint/eslint-helpers.js +6 -140
- package/src/ui/extension/node_modules/eslint/lib/eslint/eslint.js +5 -83
- package/src/ui/extension/node_modules/eslint/lib/eslint/flat-eslint.js +16 -204
- package/src/ui/extension/node_modules/eslint/lib/linter/apply-disable-directives.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +2 -128
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +2 -41
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +9 -342
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +4 -49
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +3 -46
- package/src/ui/extension/node_modules/eslint/lib/linter/linter.js +11 -305
- package/src/ui/extension/node_modules/eslint/lib/linter/report-translator.js +2 -56
- package/src/ui/extension/node_modules/eslint/lib/options.js +8 -31
- package/src/ui/extension/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +6 -170
- package/src/ui/extension/node_modules/eslint/lib/rule-tester/rule-tester.js +4 -162
- package/src/ui/extension/node_modules/eslint/lib/rules/accessor-pairs.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/array-bracket-newline.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/array-bracket-spacing.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/array-callback-return.js +2 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/array-element-newline.js +4 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-body-style.js +3 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-parens.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-spacing.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/block-scoped-var.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/block-spacing.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/brace-style.js +2 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/callback-return.js +2 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/camelcase.js +2 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/capitalized-comments.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/class-methods-use-this.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-dangle.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-spacing.js +4 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-style.js +2 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/complexity.js +3 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/computed-property-spacing.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/consistent-return.js +3 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/consistent-this.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/constructor-super.js +2 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/curly.js +2 -70
- package/src/ui/extension/node_modules/eslint/lib/rules/default-case-last.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/default-case.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/default-param-last.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/dot-location.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/dot-notation.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/eol-last.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/eqeqeq.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/for-direction.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/func-call-spacing.js +2 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/func-name-matching.js +3 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/func-names.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/func-style.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/function-call-argument-newline.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/function-paren-newline.js +4 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/generator-star-spacing.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/getter-return.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/global-require.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/guard-for-in.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/handle-callback-err.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/id-blacklist.js +3 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/id-denylist.js +3 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/id-length.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/id-match.js +3 -55
- package/src/ui/extension/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/indent-legacy.js +8 -180
- package/src/ui/extension/node_modules/eslint/lib/rules/indent.js +7 -258
- package/src/ui/extension/node_modules/eslint/lib/rules/init-declarations.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/jsx-quotes.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/key-spacing.js +4 -80
- package/src/ui/extension/node_modules/eslint/lib/rules/keyword-spacing.js +2 -84
- package/src/ui/extension/node_modules/eslint/lib/rules/line-comment-position.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/linebreak-style.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-around-comment.js +2 -61
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-around-directive.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-between-class-members.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/logical-assignment-operators.js +2 -81
- package/src/ui/extension/node_modules/eslint/lib/rules/max-classes-per-file.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/max-depth.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/max-len.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/rules/max-lines-per-function.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/max-lines.js +3 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/max-nested-callbacks.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/max-params.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/max-statements-per-line.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/max-statements.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/multiline-comment-style.js +3 -71
- package/src/ui/extension/node_modules/eslint/lib/rules/multiline-ternary.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/new-cap.js +2 -51
- package/src/ui/extension/node_modules/eslint/lib/rules/new-parens.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-after-var.js +2 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-before-return.js +3 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-per-chained-call.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-alert.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-array-constructor.js +5 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-async-promise-executor.js +2 -7
- package/src/ui/extension/node_modules/eslint/lib/rules/no-await-in-loop.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-bitwise.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-buffer-constructor.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-caller.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-case-declarations.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-catch-shadow.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-class-assign.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-compare-neg-zero.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-cond-assign.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-confusing-arrow.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-console.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-const-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constant-binary-expression.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constant-condition.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constructor-return.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-continue.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-control-regex.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-debugger.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-delete-var.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-div-regex.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-args.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-class-members.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-else-if.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-keys.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-duplicate-case.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-duplicate-imports.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-else-return.js +4 -78
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-character-class.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-function.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-pattern.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-static-block.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-eq-null.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-eval.js +2 -47
- package/src/ui/extension/node_modules/eslint/lib/rules/no-ex-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extend-native.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-bind.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +2 -59
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-label.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-parens.js +4 -202
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-semi.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/no-fallthrough.js +3 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-floating-decimal.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-func-assign.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-global-assign.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implicit-coercion.js +4 -61
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implicit-globals.js +3 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implied-eval.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-import-assign.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-inline-comments.js +3 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-inner-declarations.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-invalid-regexp.js +2 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/no-invalid-this.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-irregular-whitespace.js +3 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/no-iterator.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-label-var.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-labels.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-lone-blocks.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-lonely-if.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-loop-func.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-loss-of-precision.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/no-magic-numbers.js +5 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/no-misleading-character-class.js +4 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-operators.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-requires.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +3 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-spaces.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-str.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-native-reassign.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-negated-condition.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-negated-in-lhs.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-nested-ternary.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-func.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-object.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-require.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-symbol.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-wrappers.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-obj-calls.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-object-constructor.js +5 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-octal-escape.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-octal.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-param-reassign.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-path-concat.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-plusplus.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-process-env.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-process-exit.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-promise-executor-return.js +3 -51
- package/src/ui/extension/node_modules/eslint/lib/rules/no-proto.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-prototype-builtins.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-redeclare.js +3 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/no-regex-spaces.js +5 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-exports.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-globals.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-imports.js +3 -46
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-modules.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-properties.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-syntax.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-return-assign.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-return-await.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-script-url.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-self-assign.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-self-compare.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sequences.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-setter-return.js +2 -41
- package/src/ui/extension/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-shadow.js +3 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/no-spaced-func.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sparse-arrays.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sync.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-tabs.js +3 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-template-curly-in-string.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-ternary.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-this-before-super.js +2 -47
- package/src/ui/extension/node_modules/eslint/lib/rules/no-throw-literal.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-trailing-spaces.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undef-init.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undef.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undefined.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-underscore-dangle.js +3 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unexpected-multiline.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +4 -62
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unneeded-ternary.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unreachable-loop.js +2 -37
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unreachable.js +2 -49
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-finally.js +3 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-negation.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-expressions.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-labels.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-private-class-members.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-vars.js +6 -122
- package/src/ui/extension/node_modules/eslint/lib/rules/no-use-before-define.js +2 -49
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-backreference.js +3 -39
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-call.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-catch.js +2 -9
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-computed-key.js +2 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-concat.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-constructor.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-escape.js +6 -60
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-rename.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-return.js +2 -53
- package/src/ui/extension/node_modules/eslint/lib/rules/no-var.js +2 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/no-void.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-warning-comments.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-whitespace-before-property.js +4 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-with.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/object-curly-newline.js +4 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/object-curly-spacing.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/object-property-newline.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/object-shorthand.js +3 -73
- package/src/ui/extension/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/one-var.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/rules/operator-assignment.js +3 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/operator-linebreak.js +3 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/padded-blocks.js +3 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/padding-line-between-statements.js +4 -65
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-arrow-callback.js +2 -66
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-const.js +2 -87
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-destructuring.js +2 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-named-capture-group.js +5 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-numeric-literals.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-object-has-own.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-object-spread.js +3 -41
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-reflect.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-regex-literals.js +3 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-rest-params.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-spread.js +3 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-template.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/quote-props.js +4 -42
- package/src/ui/extension/node_modules/eslint/lib/rules/quotes.js +2 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/radix.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/require-atomic-updates.js +2 -55
- package/src/ui/extension/node_modules/eslint/lib/rules/require-await.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/require-jsdoc.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/require-unicode-regexp.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/require-yield.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/rest-spread-spacing.js +3 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/semi-spacing.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/semi-style.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/semi.js +3 -58
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-imports.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-keys.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-vars.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/space-before-blocks.js +5 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/space-before-function-paren.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/space-in-parens.js +3 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/space-infix-ops.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/space-unary-ops.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/spaced-comment.js +2 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/strict.js +2 -39
- package/src/ui/extension/node_modules/eslint/lib/rules/switch-colon-spacing.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/symbol-description.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/template-curly-spacing.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/template-tag-spacing.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/unicode-bom.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/use-isnan.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/utils/ast-utils.js +8 -276
- package/src/ui/extension/node_modules/eslint/lib/rules/utils/fix-tracker.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/valid-jsdoc.js +4 -64
- package/src/ui/extension/node_modules/eslint/lib/rules/valid-typeof.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/vars-on-top.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/wrap-iife.js +2 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/wrap-regex.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/yield-star-spacing.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/yoda.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/shared/config-validator.js +2 -51
- package/src/ui/extension/node_modules/eslint/lib/shared/relative-module-resolver.js +2 -8
- package/src/ui/extension/node_modules/eslint/lib/shared/runtime-info.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/shared/string-utils.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/source-code/source-code.js +4 -175
- package/src/ui/extension/node_modules/eslint/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/eslint/node_modules/chalk/source/index.js +5 -47
- package/src/ui/extension/node_modules/eslint/node_modules/chalk/source/templates.js +3 -28
- package/src/ui/extension/node_modules/eslint/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/pattern-visitor.js +2 -32
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/referencer.js +5 -137
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/scope.js +5 -132
- package/src/ui/extension/node_modules/eslint/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/eslint/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/eslint-scope/lib/pattern-visitor.js +2 -31
- package/src/ui/extension/node_modules/eslint-scope/lib/referencer.js +5 -130
- package/src/ui/extension/node_modules/eslint-scope/lib/scope.js +5 -129
- package/src/ui/extension/node_modules/espree/espree.js +2 -28
- package/src/ui/extension/node_modules/espree/lib/espree.js +2 -62
- package/src/ui/extension/node_modules/esprima/bin/esvalidate.js +5 -36
- package/src/ui/extension/node_modules/esprima/dist/esprima.js +17 -72
- package/src/ui/extension/node_modules/esquery/dist/esquery.esm.js +3 -63
- package/src/ui/extension/node_modules/esquery/dist/esquery.js +3 -65
- package/src/ui/extension/node_modules/esquery/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/esrecurse/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/estraverse/estraverse.js +3 -109
- package/src/ui/extension/node_modules/event-target-shim/dist/event-target-shim.js +11 -99
- package/src/ui/extension/node_modules/event-target-shim/index.d.ts +2 -47
- package/src/ui/extension/node_modules/fast-glob/out/index.d.ts +5 -5
- package/src/ui/extension/node_modules/fast-glob/out/index.js +3 -3
- package/src/ui/extension/node_modules/fast-glob/out/providers/filters/error.js +3 -3
- package/src/ui/extension/node_modules/fast-glob/out/readers/async.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/reader.d.ts +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/reader.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/sync.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/utils/errno.d.ts +1 -1
- package/src/ui/extension/node_modules/fast-glob/out/utils/errno.js +2 -2
- package/src/ui/extension/node_modules/fastq/queue.js +4 -53
- package/src/ui/extension/node_modules/fd-slicer/index.js +9 -49
- package/src/ui/extension/node_modules/fill-range/index.js +2 -53
- package/src/ui/extension/node_modules/foreground-child/index.js +2 -22
- package/src/ui/extension/node_modules/form-data/index.d.ts +4 -12
- package/src/ui/extension/node_modules/form-data/lib/form_data.js +4 -95
- package/src/ui/extension/node_modules/form-data-encoder/lib/cjs/FormDataEncoder.js +2 -2
- package/src/ui/extension/node_modules/form-data-encoder/lib/esm/FormDataEncoder.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/@type/FormData.d.ts +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/Blob.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/FormData.js +3 -3
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/blobHelpers.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/fileFromPath.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/Blob.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/FormData.js +3 -3
- package/src/ui/extension/node_modules/formdata-node/lib/esm/blobHelpers.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/fileFromPath.js +2 -2
- package/src/ui/extension/node_modules/gensync/index.js +7 -49
- package/src/ui/extension/node_modules/gensync/test/index.test.js +3 -81
- package/src/ui/extension/node_modules/globby/index.js +2 -42
- package/src/ui/extension/node_modules/globby/stream-utils.js +3 -11
- package/src/ui/extension/node_modules/graceful-fs/graceful-fs.js +2 -58
- package/src/ui/extension/node_modules/graceful-fs/polyfills.js +2 -40
- package/src/ui/extension/node_modules/graphemer/lib/Graphemer.js +3 -3
- package/src/ui/extension/node_modules/graphemer/lib/GraphemerHelper.js +3 -3
- package/src/ui/extension/node_modules/graphemer/lib/GraphemerIterator.js +2 -2
- package/src/ui/extension/node_modules/hasha/index.js +2 -35
- package/src/ui/extension/node_modules/hasha/node_modules/type-fest/source/merge-exclusive.d.ts +2 -12
- package/src/ui/extension/node_modules/hasha/thread.js +2 -10
- package/src/ui/extension/node_modules/highlight.js/es/languages/fsharp.js +2 -36
- package/src/ui/extension/node_modules/highlight.js/es/languages/javascript.js +2 -37
- package/src/ui/extension/node_modules/highlight.js/es/languages/typescript.js +2 -54
- package/src/ui/extension/node_modules/highlight.js/lib/core.js +2 -317
- package/src/ui/extension/node_modules/highlight.js/lib/languages/fsharp.js +2 -36
- package/src/ui/extension/node_modules/highlight.js/lib/languages/javascript.js +2 -37
- package/src/ui/extension/node_modules/highlight.js/lib/languages/typescript.js +2 -54
- package/src/ui/extension/node_modules/highlight.js/types/index.d.ts +4 -34
- package/src/ui/extension/node_modules/hosted-git-info/index.js +3 -39
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +1 -1
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/WritableStream.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/index.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/index.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/Parser.d.ts +1 -1
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/WritableStream.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/index.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/index.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +3 -3
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +3 -3
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/decode.ts +3 -82
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/encode.ts +3 -12
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/escape.ts +4 -19
- package/src/ui/extension/node_modules/htmlparser2/src/Parser.events.spec.ts +3 -64
- package/src/ui/extension/node_modules/htmlparser2/src/Parser.ts +2 -88
- package/src/ui/extension/node_modules/htmlparser2/src/Tokenizer.ts +3 -63
- package/src/ui/extension/node_modules/htmlparser2/src/WritableStream.spec.ts +4 -21
- package/src/ui/extension/node_modules/htmlparser2/src/WritableStream.ts +2 -7
- package/src/ui/extension/node_modules/htmlparser2/src/__fixtures__/testHelper.ts +7 -20
- package/src/ui/extension/node_modules/htmlparser2/src/index.spec.ts +5 -19
- package/src/ui/extension/node_modules/htmlparser2/src/index.ts +4 -16
- package/src/ui/extension/node_modules/http-proxy-agent/dist/index.d.ts +3 -3
- package/src/ui/extension/node_modules/http-proxy-agent/dist/index.js +7 -7
- package/src/ui/extension/node_modules/https-proxy-agent/dist/index.d.ts +1 -1
- package/src/ui/extension/node_modules/https-proxy-agent/dist/index.js +3 -3
- package/src/ui/extension/node_modules/is-docker/index.js +2 -7
- package/src/ui/extension/node_modules/is-inside-container/index.js +2 -6
- package/src/ui/extension/node_modules/istanbul-lib-coverage/lib/coverage-map.js +2 -18
- package/src/ui/extension/node_modules/istanbul-lib-coverage/lib/percent.js +2 -3
- package/src/ui/extension/node_modules/istanbul-lib-hook/lib/hook.js +3 -10
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/instrumenter.js +2 -28
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/read-coverage.js +2 -23
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/visitor.js +1 -135
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/index.js +2 -57
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/esm-node/parse.js +1 -9
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/esm-node/v1.js +2 -30
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/index.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/parse.js +1 -12
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/rng-browser.js +1 -5
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v1.js +4 -36
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v35.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v4.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/file-writer.js +2 -22
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/path.js +6 -30
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/report-base.js +2 -6
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/summarizer-factory.js +4 -49
- package/src/ui/extension/node_modules/istanbul-lib-report/node_modules/make-dir/index.js +3 -35
- package/src/ui/extension/node_modules/istanbul-lib-report/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/get-mapping.js +2 -19
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/map-store.js +3 -29
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/transformer.js +3 -24
- package/src/ui/extension/node_modules/istanbul-reports/index.js +2 -5
- package/src/ui/extension/node_modules/istanbul-reports/lib/clover/index.js +4 -25
- package/src/ui/extension/node_modules/istanbul-reports/lib/cobertura/index.js +2 -19
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/annotator.js +15 -34
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/assets/block-navigation.js +2 -16
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/index.js +7 -44
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/insertion-text.js +5 -16
- package/src/ui/extension/node_modules/istanbul-reports/lib/html-spa/index.js +8 -26
- package/src/ui/extension/node_modules/istanbul-reports/lib/html-spa/src/getChildData.js +3 -17
- package/src/ui/extension/node_modules/istanbul-reports/lib/json/index.js +2 -9
- package/src/ui/extension/node_modules/istanbul-reports/lib/json-summary/index.js +2 -10
- package/src/ui/extension/node_modules/istanbul-reports/lib/lcovonly/index.js +2 -12
- package/src/ui/extension/node_modules/istanbul-reports/lib/teamcity/index.js +2 -13
- package/src/ui/extension/node_modules/istanbul-reports/lib/text/index.js +8 -49
- package/src/ui/extension/node_modules/istanbul-reports/lib/text-summary/index.js +2 -9
- package/src/ui/extension/node_modules/js-yaml/bin/js-yaml.js +4 -38
- package/src/ui/extension/node_modules/js-yaml/dist/js-yaml.js +2 -797
- package/src/ui/extension/node_modules/js-yaml/lib/dumper.js +2 -152
- package/src/ui/extension/node_modules/jsesc/jsesc.js +5 -31
- package/src/ui/extension/node_modules/json5/dist/index.js +2 -2
- package/src/ui/extension/node_modules/json5/lib/cli.js +11 -36
- package/src/ui/extension/node_modules/json5/lib/parse.js +16 -224
- package/src/ui/extension/node_modules/json5/lib/stringify.js +8 -51
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/edit.js +6 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/format.js +7 -7
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/parser.js +8 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/scanner.js +6 -4
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/main.d.ts +2 -2
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/edit.js +6 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/format.js +7 -7
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/parser.js +8 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/scanner.js +6 -4
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/main.d.ts +2 -2
- package/src/ui/extension/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +2 -4
- package/src/ui/extension/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +2 -1
- package/src/ui/extension/node_modules/jsonwebtoken/sign.js +6 -35
- package/src/ui/extension/node_modules/jsonwebtoken/verify.js +7 -57
- package/src/ui/extension/node_modules/jszip/dist/jszip.js +9 -1379
- package/src/ui/extension/node_modules/jszip/index.d.ts +6 -48
- package/src/ui/extension/node_modules/jszip/lib/stream/GenericWorker.js +2 -16
- package/src/ui/extension/node_modules/jszip/lib/utils.js +2 -42
- package/src/ui/extension/node_modules/jszip/vendor/FileSaver.js +3 -9
- package/src/ui/extension/node_modules/leven/index.js +5 -20
- package/src/ui/extension/node_modules/lie/dist/lie.js +5 -40
- package/src/ui/extension/node_modules/lie/dist/lie.polyfill.js +5 -42
- package/src/ui/extension/node_modules/lie/lib/browser.js +5 -32
- package/src/ui/extension/node_modules/lie/lib/index.js +5 -32
- package/src/ui/extension/node_modules/log-symbols/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/log-symbols/node_modules/chalk/source/index.js +5 -47
- package/src/ui/extension/node_modules/log-symbols/node_modules/chalk/source/templates.js +3 -28
- package/src/ui/extension/node_modules/log-symbols/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/log-symbols/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/loupe/lib/error.js +2 -4
- package/src/ui/extension/node_modules/loupe/loupe.js +2 -163
- package/src/ui/extension/node_modules/make-dir/index.js +3 -35
- package/src/ui/extension/node_modules/make-error/dist/make-error.js +1 -1
- package/src/ui/extension/node_modules/make-error/index.js +2 -25
- package/src/ui/extension/node_modules/markdown-it/bin/markdown-it.js +2 -31
- package/src/ui/extension/node_modules/marked/bin/main.js +10 -44
- package/src/ui/extension/node_modules/marked/lib/marked.d.ts +4 -7
- package/src/ui/extension/node_modules/marked/lib/marked.esm.js +21 -34
- package/src/ui/extension/node_modules/marked/lib/marked.umd.js +21 -36
- package/src/ui/extension/node_modules/minimist/index.js +2 -37
- package/src/ui/extension/node_modules/mocha/bin/mocha.js +2 -21
- package/src/ui/extension/node_modules/mocha/browser-entry.js +2 -38
- package/src/ui/extension/node_modules/mocha/lib/cli/cli.js +2 -11
- package/src/ui/extension/node_modules/mocha/lib/cli/config.js +2 -10
- package/src/ui/extension/node_modules/mocha/lib/cli/lookup-files.js +4 -14
- package/src/ui/extension/node_modules/mocha/lib/cli/options.js +3 -27
- package/src/ui/extension/node_modules/mocha/lib/cli/run-helpers.js +4 -37
- package/src/ui/extension/node_modules/mocha/lib/cli/run.js +3 -23
- package/src/ui/extension/node_modules/mocha/lib/cli/watch-run.js +2 -49
- package/src/ui/extension/node_modules/mocha/lib/interfaces/bdd.js +2 -18
- package/src/ui/extension/node_modules/mocha/lib/interfaces/common.js +2 -16
- package/src/ui/extension/node_modules/mocha/lib/interfaces/qunit.js +2 -15
- package/src/ui/extension/node_modules/mocha/lib/interfaces/tdd.js +2 -14
- package/src/ui/extension/node_modules/mocha/lib/mocha.js +5 -89
- package/src/ui/extension/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +9 -51
- package/src/ui/extension/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +3 -19
- package/src/ui/extension/node_modules/mocha/lib/nodejs/serializer.js +2 -34
- package/src/ui/extension/node_modules/mocha/lib/nodejs/worker.js +5 -24
- package/src/ui/extension/node_modules/mocha/lib/plugin-loader.js +2 -21
- package/src/ui/extension/node_modules/mocha/lib/reporters/html.js +2 -50
- package/src/ui/extension/node_modules/mocha/lib/reporters/json-stream.js +2 -15
- package/src/ui/extension/node_modules/mocha/lib/runnable.js +2 -47
- package/src/ui/extension/node_modules/mocha/lib/runner.js +2 -130
- package/src/ui/extension/node_modules/mocha/lib/utils.js +7 -5
- package/src/ui/extension/node_modules/mocha/mocha.js +40 -2765
- package/src/ui/extension/node_modules/mocha/node_modules/minimatch/minimatch.js +7 -151
- package/src/ui/extension/node_modules/mocha/node_modules/supports-color/index.js +2 -32
- package/src/ui/extension/node_modules/nise/lib/event/event-target.js +2 -15
- package/src/ui/extension/node_modules/nise/lib/fake-xhr/index.js +5 -121
- package/src/ui/extension/node_modules/nise/nise.js +20 -1174
- package/src/ui/extension/node_modules/nise/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +17 -282
- package/src/ui/extension/node_modules/node-addon-api/tools/check-napi.js +4 -10
- package/src/ui/extension/node_modules/node-fetch/lib/index.es.js +16 -261
- package/src/ui/extension/node_modules/node-fetch/lib/index.js +16 -263
- package/src/ui/extension/node_modules/nyc/bin/nyc.js +2 -21
- package/src/ui/extension/node_modules/nyc/index.js +4 -88
- package/src/ui/extension/node_modules/nyc/lib/commands/helpers.js +2 -12
- package/src/ui/extension/node_modules/nyc/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/nyc/node_modules/cliui/index.js +2 -70
- package/src/ui/extension/node_modules/nyc/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/nyc/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/nyc/node_modules/resolve-from/index.js +3 -11
- package/src/ui/extension/node_modules/nyc/node_modules/wrap-ansi/index.js +2 -41
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/command.d.ts +2 -2
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/command.js +5 -5
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/completion.js +2 -2
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/levenshtein.js +3 -6
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/middleware.js +3 -3
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/usage.js +3 -3
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/yargs.js +9 -9
- package/src/ui/extension/node_modules/nyc/node_modules/yargs-parser/index.js +11 -137
- package/src/ui/extension/node_modules/onetime/index.js +2 -13
- package/src/ui/extension/node_modules/open/index.js +5 -84
- package/src/ui/extension/node_modules/ora/index.js +2 -92
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/index.js +3 -45
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js +4 -40
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.js +2 -38
- package/src/ui/extension/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/p-map/index.js +2 -14
- package/src/ui/extension/node_modules/p-try/index.d.ts +2 -7
- package/src/ui/extension/node_modules/parse5/dist/cjs/common/error-codes.d.ts +2 -2
- package/src/ui/extension/node_modules/parse5/dist/cjs/parser/index.js +7 -7
- package/src/ui/extension/node_modules/parse5/dist/common/error-codes.d.ts +2 -2
- package/src/ui/extension/node_modules/parse5/dist/parser/index.js +7 -7
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +2 -2
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +3 -3
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/esm/encode.js +2 -2
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/esm/escape.js +3 -3
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/decode.ts +3 -82
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/encode.ts +3 -12
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/escape.ts +4 -19
- package/src/ui/extension/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +3 -3
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/cjs/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/index.d.ts +3 -3
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/index.js +2 -2
- package/src/ui/extension/node_modules/path-type/index.js +3 -10
- package/src/ui/extension/node_modules/picomatch/lib/parse.js +9 -220
- package/src/ui/extension/node_modules/picomatch/lib/scan.js +8 -70
- package/src/ui/extension/node_modules/picomatch/lib/utils.js +2 -11
- package/src/ui/extension/node_modules/pkg-dir/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/prebuild-install/asset.js +2 -9
- package/src/ui/extension/node_modules/prebuild-install/download.js +4 -26
- package/src/ui/extension/node_modules/prelude-ls/lib/Func.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/List.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Num.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Obj.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Str.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/index.js +1 -1
- package/src/ui/extension/node_modules/pump/index.js +2 -21
- package/src/ui/extension/node_modules/pump/test-browser.js +2 -16
- package/src/ui/extension/node_modules/pump/test-node.js +2 -14
- package/src/ui/extension/node_modules/punycode/punycode.es6.js +3 -59
- package/src/ui/extension/node_modules/punycode/punycode.js +3 -59
- package/src/ui/extension/node_modules/queue-microtask/index.js +2 -3
- package/src/ui/extension/node_modules/readable-stream/lib/_stream_readable.js +1 -149
- package/src/ui/extension/node_modules/readdirp/index.js +6 -38
- package/src/ui/extension/node_modules/release-zalgo/lib/unwrapSync.js +2 -11
- package/src/ui/extension/node_modules/rimraf/rimraf.js +5 -55
- package/src/ui/extension/node_modules/run-parallel/index.js +2 -9
- package/src/ui/extension/node_modules/sax/lib/sax.js +4 -134
- package/src/ui/extension/node_modules/semver/bin/semver.js +3 -40
- package/src/ui/extension/node_modules/semver/classes/range.js +4 -70
- package/src/ui/extension/node_modules/semver/functions/coerce.js +2 -11
- package/src/ui/extension/node_modules/semver/internal/re.js +2 -49
- package/src/ui/extension/node_modules/semver/ranges/outside.js +2 -13
- package/src/ui/extension/node_modules/semver/ranges/subset.js +5 -30
- package/src/ui/extension/node_modules/setimmediate/setImmediate.js +4 -27
- package/src/ui/extension/node_modules/signal-exit/index.js +2 -24
- package/src/ui/extension/node_modules/simple-get/index.js +4 -21
- package/src/ui/extension/node_modules/sinon/lib/sinon/assert.js +2 -35
- package/src/ui/extension/node_modules/sinon/lib/sinon/behavior.js +4 -47
- package/src/ui/extension/node_modules/sinon/lib/sinon/default-behaviors.js +8 -52
- package/src/ui/extension/node_modules/sinon/lib/sinon/fake.js +3 -32
- package/src/ui/extension/node_modules/sinon/lib/sinon/mock.js +3 -43
- package/src/ui/extension/node_modules/sinon/lib/sinon/promise.js +2 -12
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-call-util.js +2 -11
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-call.js +3 -55
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-invoke.js +2 -17
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy.js +4 -42
- package/src/ui/extension/node_modules/sinon/lib/sinon/sandbox.js +3 -110
- package/src/ui/extension/node_modules/sinon/lib/sinon/spy.js +2 -28
- package/src/ui/extension/node_modules/sinon/lib/sinon/stub.js +2 -43
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/extend.js +2 -15
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/function-to-string.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/get-next-tick.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/get-property-descriptor.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/walk.js +4 -11
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/wrap-method.js +6 -37
- package/src/ui/extension/node_modules/sinon/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/sinon/pkg/sinon-esm.js +68 -2626
- package/src/ui/extension/node_modules/sinon/pkg/sinon.js +6 -5
- package/src/ui/extension/node_modules/sprintf-js/dist/sprintf.min.js +1 -1
- package/src/ui/extension/node_modules/sprintf-js/src/sprintf.js +2 -2
- package/src/ui/extension/node_modules/ts-node/dist-raw/node-options.js +5 -5
- package/src/ui/extension/node_modules/tsutils/util/usage.js +2 -1
- package/src/ui/extension/node_modules/tsutils/util/util.js +3 -2
- package/src/ui/extension/node_modules/typescript/lib/_tsc.js +266 -188
- package/src/ui/extension/node_modules/typescript/lib/_tsserver.js +2 -1
- package/src/ui/extension/node_modules/typescript/lib/typescript.js +399 -261
- package/src/ui/extension/node_modules/uri-js/dist/es5/uri.all.js +2 -1
- package/src/ui/extension/node_modules/uri-js/dist/esnext/schemes/mailto.js +2 -1
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/index.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v1.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v35.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v4.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/index.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v1.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v35.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v4.js +2 -2
- package/src/ui/hive-dashboard.ts +74 -52
- package/src/ui/web-ui/EnhancedProcessUI.js +570 -424
- package/src/ui/web-ui/EnhancedWebUI.js +65 -65
- package/src/ui/web-ui/README.md +16 -16
- package/src/ui/web-ui/components/ComponentLibrary.js +173 -124
- package/src/ui/web-ui/core/EventBus.js +27 -25
- package/src/ui/web-ui/core/MCPIntegrationLayer.js +294 -108
- package/src/ui/web-ui/core/StateManager.js +43 -46
- package/src/ui/web-ui/core/UIManager.js +120 -70
- package/src/ui/web-ui/core/ViewManager.js +16 -19
- package/src/ui/web-ui/index.js +101 -48
- package/src/ui/web-ui/neural-panel-test.js +109 -108
- package/src/ui/web-ui/test-github-view.js +11 -12
- package/src/ui/web-ui/test-neural-panel.html +219 -205
- package/src/ui/web-ui/views/DAAView.js +88 -85
- package/src/ui/web-ui/views/GitHubIntegrationTest.js +42 -42
- package/src/ui/web-ui/views/GitHubIntegrationView.js +59 -53
- package/src/ui/web-ui/views/NeuralNetworkView.js +20 -21
- package/src/ui/web-ui/views/WorkflowAutomationView.js +31 -32
- package/src/utils/error-handler.js +1 -1
- package/src/utils/error-handler.ts +14 -27
- package/src/utils/errors.ts +20 -18
- package/src/utils/formatters.ts +6 -6
- package/src/utils/helpers.ts +53 -55
- package/src/utils/npx-isolated-cache.js +156 -0
- package/src/utils/paths.ts +9 -6
- package/src/utils/timezone-utils.js +134 -0
- package/src/utils/type-guards.ts +199 -0
- package/src/utils/types.ts +2 -2
- package/cli.mjs +0 -126
- package/dist/cli/commands/swarm-new.d.ts +0 -3
- package/dist/cli/commands/swarm-new.d.ts.map +0 -1
- package/dist/cli/commands/swarm-new.js +0 -989
- package/dist/cli/commands/swarm-new.js.map +0 -1
- package/src/cli/commands/swarm-new.ts +0 -1111
- package/src/templates/claude-optimized/.claude/tests/README.md +0 -139
- package/src/templates/claude-optimized/.claude/tests/e2e/workflows.test.js +0 -1110
- package/src/templates/claude-optimized/.claude/tests/error-handling/batch-errors.test.js +0 -550
- package/src/templates/claude-optimized/.claude/tests/error-handling/rollback.test.js +0 -746
- package/src/templates/claude-optimized/.claude/tests/integration/architect-batch.test.js +0 -275
- package/src/templates/claude-optimized/.claude/tests/integration/code-batch.test.js +0 -467
- package/src/templates/claude-optimized/.claude/tests/integration/debug-batch.test.js +0 -490
- package/src/templates/claude-optimized/.claude/tests/integration/security-batch.test.js +0 -618
- package/src/templates/claude-optimized/.claude/tests/integration/tdd-batch.test.js +0 -522
- package/src/templates/claude-optimized/.claude/tests/performance/benchmarks.test.js +0 -609
- package/src/templates/claude-optimized/.claude/tests/performance/resource-usage.test.js +0 -520
- package/src/templates/claude-optimized/.claude/tests/test-harness.js +0 -275
- package/src/templates/claude-optimized/.claude/tests/unit/batch-operations.test.js +0 -193
- package/src/templates/claude-optimized/.claude/tests/unit/parallel-utils.test.js +0 -238
package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js
CHANGED
|
@@ -2,20 +2,15 @@
|
|
|
2
2
|
* @fileoverview A class to manage state of generating a code path.
|
|
3
3
|
* @author Toru Nagashima
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
5
|
"use strict";
|
|
7
|
-
|
|
8
6
|
//------------------------------------------------------------------------------
|
|
9
7
|
// Requirements
|
|
10
8
|
//------------------------------------------------------------------------------
|
|
11
|
-
|
|
12
9
|
const CodePathSegment = require("./code-path-segment"),
|
|
13
10
|
ForkContext = require("./fork-context");
|
|
14
|
-
|
|
15
11
|
//-----------------------------------------------------------------------------
|
|
16
12
|
// Contexts
|
|
17
13
|
//-----------------------------------------------------------------------------
|
|
18
|
-
|
|
19
14
|
/**
|
|
20
15
|
* Represents the context in which a `break` statement can be used.
|
|
21
16
|
*
|
|
@@ -35,7 +30,6 @@ const CodePathSegment = require("./code-path-segment"),
|
|
|
35
30
|
* that `break` without a label is invalid.
|
|
36
31
|
*/
|
|
37
32
|
class BreakContext {
|
|
38
|
-
|
|
39
33
|
/**
|
|
40
34
|
* Creates a new instance.
|
|
41
35
|
* @param {BreakContext} upperContext The previous `BreakContext`.
|
|
@@ -45,26 +39,22 @@ class BreakContext {
|
|
|
45
39
|
* @param {ForkContext} forkContext The current fork context.
|
|
46
40
|
*/
|
|
47
41
|
constructor(upperContext, breakable, label, forkContext) {
|
|
48
|
-
|
|
49
42
|
/**
|
|
50
43
|
* The previous `BreakContext`
|
|
51
44
|
* @type {BreakContext}
|
|
52
45
|
*/
|
|
53
46
|
this.upper = upperContext;
|
|
54
|
-
|
|
55
47
|
/**
|
|
56
48
|
* Indicates if we are inside a statement where `break` without a label
|
|
57
49
|
* will exit the statement.
|
|
58
50
|
* @type {boolean}
|
|
59
51
|
*/
|
|
60
52
|
this.breakable = breakable;
|
|
61
|
-
|
|
62
53
|
/**
|
|
63
54
|
* The label associated with the statement.
|
|
64
55
|
* @type {string|null}
|
|
65
56
|
*/
|
|
66
57
|
this.label = label;
|
|
67
|
-
|
|
68
58
|
/**
|
|
69
59
|
* The fork context for the `break`.
|
|
70
60
|
* @type {ForkContext}
|
|
@@ -72,33 +62,27 @@ class BreakContext {
|
|
|
72
62
|
this.brokenForkContext = ForkContext.newEmpty(forkContext);
|
|
73
63
|
}
|
|
74
64
|
}
|
|
75
|
-
|
|
76
65
|
/**
|
|
77
66
|
* Represents the context for `ChainExpression` nodes.
|
|
78
67
|
*/
|
|
79
68
|
class ChainContext {
|
|
80
|
-
|
|
81
69
|
/**
|
|
82
70
|
* Creates a new instance.
|
|
83
71
|
* @param {ChainContext} upperContext The previous `ChainContext`.
|
|
84
72
|
*/
|
|
85
73
|
constructor(upperContext) {
|
|
86
|
-
|
|
87
74
|
/**
|
|
88
75
|
* The previous `ChainContext`
|
|
89
76
|
* @type {ChainContext}
|
|
90
77
|
*/
|
|
91
78
|
this.upper = upperContext;
|
|
92
|
-
|
|
93
79
|
/**
|
|
94
80
|
* The number of choice contexts inside of the `ChainContext`.
|
|
95
81
|
* @type {number}
|
|
96
82
|
*/
|
|
97
83
|
this.choiceContextCount = 0;
|
|
98
|
-
|
|
99
84
|
}
|
|
100
85
|
}
|
|
101
|
-
|
|
102
86
|
/**
|
|
103
87
|
* Represents a choice in the code path.
|
|
104
88
|
*
|
|
@@ -124,7 +108,6 @@ class ChainContext {
|
|
|
124
108
|
* we fork to the right expression (tracked by `nullishForkContext`).
|
|
125
109
|
*/
|
|
126
110
|
class ChoiceContext {
|
|
127
|
-
|
|
128
111
|
/**
|
|
129
112
|
* Creates a new instance.
|
|
130
113
|
* @param {ChoiceContext} upperContext The previous `ChoiceContext`.
|
|
@@ -136,13 +119,11 @@ class ChoiceContext {
|
|
|
136
119
|
* @param {ForkContext} forkContext The containing `ForkContext`.
|
|
137
120
|
*/
|
|
138
121
|
constructor(upperContext, kind, isForkingAsResult, forkContext) {
|
|
139
|
-
|
|
140
122
|
/**
|
|
141
123
|
* The previous `ChoiceContext`
|
|
142
124
|
* @type {ChoiceContext}
|
|
143
125
|
*/
|
|
144
126
|
this.upper = upperContext;
|
|
145
|
-
|
|
146
127
|
/**
|
|
147
128
|
* The kind of choice. If it's a logical or assignment expression, this
|
|
148
129
|
* is `"&&"` or `"||"` or `"??"`; if it's an `if` statement or
|
|
@@ -150,31 +131,26 @@ class ChoiceContext {
|
|
|
150
131
|
* @type {string}
|
|
151
132
|
*/
|
|
152
133
|
this.kind = kind;
|
|
153
|
-
|
|
154
134
|
/**
|
|
155
135
|
* Indicates if the result of the choice forks the code path.
|
|
156
136
|
* @type {boolean}
|
|
157
137
|
*/
|
|
158
138
|
this.isForkingAsResult = isForkingAsResult;
|
|
159
|
-
|
|
160
139
|
/**
|
|
161
140
|
* The fork context for the `true` path of the choice.
|
|
162
141
|
* @type {ForkContext}
|
|
163
142
|
*/
|
|
164
143
|
this.trueForkContext = ForkContext.newEmpty(forkContext);
|
|
165
|
-
|
|
166
144
|
/**
|
|
167
145
|
* The fork context for the `false` path of the choice.
|
|
168
146
|
* @type {ForkContext}
|
|
169
147
|
*/
|
|
170
148
|
this.falseForkContext = ForkContext.newEmpty(forkContext);
|
|
171
|
-
|
|
172
149
|
/**
|
|
173
150
|
* The fork context for when the choice result is `null` or `undefined`.
|
|
174
151
|
* @type {ForkContext}
|
|
175
152
|
*/
|
|
176
153
|
this.nullishForkContext = ForkContext.newEmpty(forkContext);
|
|
177
|
-
|
|
178
154
|
/**
|
|
179
155
|
* Indicates if any of `trueForkContext`, `falseForkContext`, or
|
|
180
156
|
* `nullishForkContext` have been updated with segments from a child context.
|
|
@@ -182,14 +158,11 @@ class ChoiceContext {
|
|
|
182
158
|
*/
|
|
183
159
|
this.processed = false;
|
|
184
160
|
}
|
|
185
|
-
|
|
186
161
|
}
|
|
187
|
-
|
|
188
162
|
/**
|
|
189
163
|
* Base class for all loop contexts.
|
|
190
164
|
*/
|
|
191
165
|
class LoopContextBase {
|
|
192
|
-
|
|
193
166
|
/**
|
|
194
167
|
* Creates a new instance.
|
|
195
168
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -198,25 +171,21 @@ class LoopContextBase {
|
|
|
198
171
|
* @param {BreakContext} breakContext The context for breaking the loop.
|
|
199
172
|
*/
|
|
200
173
|
constructor(upperContext, type, label, breakContext) {
|
|
201
|
-
|
|
202
174
|
/**
|
|
203
175
|
* The previous `LoopContext`.
|
|
204
176
|
* @type {LoopContext}
|
|
205
177
|
*/
|
|
206
178
|
this.upper = upperContext;
|
|
207
|
-
|
|
208
179
|
/**
|
|
209
180
|
* The AST node's `type` for the loop.
|
|
210
181
|
* @type {string}
|
|
211
182
|
*/
|
|
212
183
|
this.type = type;
|
|
213
|
-
|
|
214
184
|
/**
|
|
215
185
|
* The label for the loop from an enclosing `LabeledStatement`.
|
|
216
186
|
* @type {string|null}
|
|
217
187
|
*/
|
|
218
188
|
this.label = label;
|
|
219
|
-
|
|
220
189
|
/**
|
|
221
190
|
* The fork context for when `break` is encountered.
|
|
222
191
|
* @type {ForkContext}
|
|
@@ -224,12 +193,10 @@ class LoopContextBase {
|
|
|
224
193
|
this.brokenForkContext = breakContext.brokenForkContext;
|
|
225
194
|
}
|
|
226
195
|
}
|
|
227
|
-
|
|
228
196
|
/**
|
|
229
197
|
* Represents the context for a `while` loop.
|
|
230
198
|
*/
|
|
231
199
|
class WhileLoopContext extends LoopContextBase {
|
|
232
|
-
|
|
233
200
|
/**
|
|
234
201
|
* Creates a new instance.
|
|
235
202
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -238,14 +205,12 @@ class WhileLoopContext extends LoopContextBase {
|
|
|
238
205
|
*/
|
|
239
206
|
constructor(upperContext, label, breakContext) {
|
|
240
207
|
super(upperContext, "WhileStatement", label, breakContext);
|
|
241
|
-
|
|
242
208
|
/**
|
|
243
209
|
* The hardcoded literal boolean test condition for
|
|
244
210
|
* the loop. Used to catch infinite or skipped loops.
|
|
245
211
|
* @type {boolean|undefined}
|
|
246
212
|
*/
|
|
247
213
|
this.test = void 0;
|
|
248
|
-
|
|
249
214
|
/**
|
|
250
215
|
* The segments representing the test condition where `continue` will
|
|
251
216
|
* jump to. The test condition will typically have just one segment but
|
|
@@ -255,12 +220,10 @@ class WhileLoopContext extends LoopContextBase {
|
|
|
255
220
|
this.continueDestSegments = null;
|
|
256
221
|
}
|
|
257
222
|
}
|
|
258
|
-
|
|
259
223
|
/**
|
|
260
224
|
* Represents the context for a `do-while` loop.
|
|
261
225
|
*/
|
|
262
226
|
class DoWhileLoopContext extends LoopContextBase {
|
|
263
|
-
|
|
264
227
|
/**
|
|
265
228
|
* Creates a new instance.
|
|
266
229
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -270,14 +233,12 @@ class DoWhileLoopContext extends LoopContextBase {
|
|
|
270
233
|
*/
|
|
271
234
|
constructor(upperContext, label, breakContext, forkContext) {
|
|
272
235
|
super(upperContext, "DoWhileStatement", label, breakContext);
|
|
273
|
-
|
|
274
236
|
/**
|
|
275
237
|
* The hardcoded literal boolean test condition for
|
|
276
238
|
* the loop. Used to catch infinite or skipped loops.
|
|
277
239
|
* @type {boolean|undefined}
|
|
278
240
|
*/
|
|
279
241
|
this.test = void 0;
|
|
280
|
-
|
|
281
242
|
/**
|
|
282
243
|
* The segments at the start of the loop body. This is the only loop
|
|
283
244
|
* where the test comes at the end, so the first iteration always
|
|
@@ -285,7 +246,6 @@ class DoWhileLoopContext extends LoopContextBase {
|
|
|
285
246
|
* @type {Array<CodePathSegment>|null}
|
|
286
247
|
*/
|
|
287
248
|
this.entrySegments = null;
|
|
288
|
-
|
|
289
249
|
/**
|
|
290
250
|
* The fork context to follow when a `continue` is found.
|
|
291
251
|
* @type {ForkContext}
|
|
@@ -293,12 +253,10 @@ class DoWhileLoopContext extends LoopContextBase {
|
|
|
293
253
|
this.continueForkContext = ForkContext.newEmpty(forkContext);
|
|
294
254
|
}
|
|
295
255
|
}
|
|
296
|
-
|
|
297
256
|
/**
|
|
298
257
|
* Represents the context for a `for` loop.
|
|
299
258
|
*/
|
|
300
259
|
class ForLoopContext extends LoopContextBase {
|
|
301
|
-
|
|
302
260
|
/**
|
|
303
261
|
* Creates a new instance.
|
|
304
262
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -307,14 +265,12 @@ class ForLoopContext extends LoopContextBase {
|
|
|
307
265
|
*/
|
|
308
266
|
constructor(upperContext, label, breakContext) {
|
|
309
267
|
super(upperContext, "ForStatement", label, breakContext);
|
|
310
|
-
|
|
311
268
|
/**
|
|
312
269
|
* The hardcoded literal boolean test condition for
|
|
313
270
|
* the loop. Used to catch infinite or skipped loops.
|
|
314
271
|
* @type {boolean|undefined}
|
|
315
272
|
*/
|
|
316
273
|
this.test = void 0;
|
|
317
|
-
|
|
318
274
|
/**
|
|
319
275
|
* The end of the init expression. This may change during the lifetime
|
|
320
276
|
* of the instance as we traverse the loop because some loops don't have
|
|
@@ -322,7 +278,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
322
278
|
* @type {Array<CodePathSegment>|null}
|
|
323
279
|
*/
|
|
324
280
|
this.endOfInitSegments = null;
|
|
325
|
-
|
|
326
281
|
/**
|
|
327
282
|
* The start of the test expression. This may change during the lifetime
|
|
328
283
|
* of the instance as we traverse the loop because some loops don't have
|
|
@@ -330,7 +285,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
330
285
|
* @type {Array<CodePathSegment>|null}
|
|
331
286
|
*/
|
|
332
287
|
this.testSegments = null;
|
|
333
|
-
|
|
334
288
|
/**
|
|
335
289
|
* The end of the test expression. This may change during the lifetime
|
|
336
290
|
* of the instance as we traverse the loop because some loops don't have
|
|
@@ -338,7 +292,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
338
292
|
* @type {Array<CodePathSegment>|null}
|
|
339
293
|
*/
|
|
340
294
|
this.endOfTestSegments = null;
|
|
341
|
-
|
|
342
295
|
/**
|
|
343
296
|
* The start of the update expression. This may change during the lifetime
|
|
344
297
|
* of the instance as we traverse the loop because some loops don't have
|
|
@@ -346,7 +299,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
346
299
|
* @type {Array<CodePathSegment>|null}
|
|
347
300
|
*/
|
|
348
301
|
this.updateSegments = null;
|
|
349
|
-
|
|
350
302
|
/**
|
|
351
303
|
* The end of the update expresion. This may change during the lifetime
|
|
352
304
|
* of the instance as we traverse the loop because some loops don't have
|
|
@@ -354,7 +306,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
354
306
|
* @type {Array<CodePathSegment>|null}
|
|
355
307
|
*/
|
|
356
308
|
this.endOfUpdateSegments = null;
|
|
357
|
-
|
|
358
309
|
/**
|
|
359
310
|
* The segments representing the test condition where `continue` will
|
|
360
311
|
* jump to. The test condition will typically have just one segment but
|
|
@@ -368,7 +319,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
368
319
|
this.continueDestSegments = null;
|
|
369
320
|
}
|
|
370
321
|
}
|
|
371
|
-
|
|
372
322
|
/**
|
|
373
323
|
* Represents the context for a `for-in` loop.
|
|
374
324
|
*
|
|
@@ -379,7 +329,6 @@ class ForLoopContext extends LoopContextBase {
|
|
|
379
329
|
* example, in `for (var x in y)`, the right is `y`.
|
|
380
330
|
*/
|
|
381
331
|
class ForInLoopContext extends LoopContextBase {
|
|
382
|
-
|
|
383
332
|
/**
|
|
384
333
|
* Creates a new instance.
|
|
385
334
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -388,7 +337,6 @@ class ForInLoopContext extends LoopContextBase {
|
|
|
388
337
|
*/
|
|
389
338
|
constructor(upperContext, label, breakContext) {
|
|
390
339
|
super(upperContext, "ForInStatement", label, breakContext);
|
|
391
|
-
|
|
392
340
|
/**
|
|
393
341
|
* The segments that came immediately before the start of the loop.
|
|
394
342
|
* This allows you to traverse backwards out of the loop into the
|
|
@@ -400,7 +348,6 @@ class ForInLoopContext extends LoopContextBase {
|
|
|
400
348
|
* @type {Array<CodePathSegment>|null}
|
|
401
349
|
*/
|
|
402
350
|
this.prevSegments = null;
|
|
403
|
-
|
|
404
351
|
/**
|
|
405
352
|
* Segments representing the start of everything to the left of the
|
|
406
353
|
* `in` keyword. This can be used to move forward towards
|
|
@@ -409,7 +356,6 @@ class ForInLoopContext extends LoopContextBase {
|
|
|
409
356
|
* @type {Array<CodePathSegment>|null}
|
|
410
357
|
*/
|
|
411
358
|
this.leftSegments = null;
|
|
412
|
-
|
|
413
359
|
/**
|
|
414
360
|
* Segments representing the end of everything to the left of the
|
|
415
361
|
* `in` keyword. This can be used to move backward towards `leftSegments`.
|
|
@@ -418,7 +364,6 @@ class ForInLoopContext extends LoopContextBase {
|
|
|
418
364
|
* @type {Array<CodePathSegment>|null}
|
|
419
365
|
*/
|
|
420
366
|
this.endOfLeftSegments = null;
|
|
421
|
-
|
|
422
367
|
/**
|
|
423
368
|
* The segments representing the left expression where `continue` will
|
|
424
369
|
* jump to. In `for-in` loops, `continue` must always re-execute the
|
|
@@ -431,12 +376,10 @@ class ForInLoopContext extends LoopContextBase {
|
|
|
431
376
|
this.continueDestSegments = null;
|
|
432
377
|
}
|
|
433
378
|
}
|
|
434
|
-
|
|
435
379
|
/**
|
|
436
380
|
* Represents the context for a `for-of` loop.
|
|
437
381
|
*/
|
|
438
382
|
class ForOfLoopContext extends LoopContextBase {
|
|
439
|
-
|
|
440
383
|
/**
|
|
441
384
|
* Creates a new instance.
|
|
442
385
|
* @param {LoopContext|null} upperContext The previous `LoopContext`.
|
|
@@ -445,7 +388,6 @@ class ForOfLoopContext extends LoopContextBase {
|
|
|
445
388
|
*/
|
|
446
389
|
constructor(upperContext, label, breakContext) {
|
|
447
390
|
super(upperContext, "ForOfStatement", label, breakContext);
|
|
448
|
-
|
|
449
391
|
/**
|
|
450
392
|
* The segments that came immediately before the start of the loop.
|
|
451
393
|
* This allows you to traverse backwards out of the loop into the
|
|
@@ -457,7 +399,6 @@ class ForOfLoopContext extends LoopContextBase {
|
|
|
457
399
|
* @type {Array<CodePathSegment>|null}
|
|
458
400
|
*/
|
|
459
401
|
this.prevSegments = null;
|
|
460
|
-
|
|
461
402
|
/**
|
|
462
403
|
* Segments representing the start of everything to the left of the
|
|
463
404
|
* `of` keyword. This can be used to move forward towards
|
|
@@ -466,7 +407,6 @@ class ForOfLoopContext extends LoopContextBase {
|
|
|
466
407
|
* @type {Array<CodePathSegment>|null}
|
|
467
408
|
*/
|
|
468
409
|
this.leftSegments = null;
|
|
469
|
-
|
|
470
410
|
/**
|
|
471
411
|
* Segments representing the end of everything to the left of the
|
|
472
412
|
* `of` keyword. This can be used to move backward towards `leftSegments`.
|
|
@@ -475,7 +415,6 @@ class ForOfLoopContext extends LoopContextBase {
|
|
|
475
415
|
* @type {Array<CodePathSegment>|null}
|
|
476
416
|
*/
|
|
477
417
|
this.endOfLeftSegments = null;
|
|
478
|
-
|
|
479
418
|
/**
|
|
480
419
|
* The segments representing the left expression where `continue` will
|
|
481
420
|
* jump to. In `for-in` loops, `continue` must always re-execute the
|
|
@@ -488,17 +427,14 @@ class ForOfLoopContext extends LoopContextBase {
|
|
|
488
427
|
this.continueDestSegments = null;
|
|
489
428
|
}
|
|
490
429
|
}
|
|
491
|
-
|
|
492
430
|
/**
|
|
493
431
|
* Represents the context for any loop.
|
|
494
432
|
* @typedef {WhileLoopContext|DoWhileLoopContext|ForLoopContext|ForInLoopContext|ForOfLoopContext} LoopContext
|
|
495
433
|
*/
|
|
496
|
-
|
|
497
434
|
/**
|
|
498
435
|
* Represents the context for a `switch` statement.
|
|
499
436
|
*/
|
|
500
437
|
class SwitchContext {
|
|
501
|
-
|
|
502
438
|
/**
|
|
503
439
|
* Creates a new instance.
|
|
504
440
|
* @param {SwitchContext} upperContext The previous context.
|
|
@@ -506,43 +442,36 @@ class SwitchContext {
|
|
|
506
442
|
* `default` doesn't count.
|
|
507
443
|
*/
|
|
508
444
|
constructor(upperContext, hasCase) {
|
|
509
|
-
|
|
510
445
|
/**
|
|
511
446
|
* The previous context.
|
|
512
447
|
* @type {SwitchContext}
|
|
513
448
|
*/
|
|
514
449
|
this.upper = upperContext;
|
|
515
|
-
|
|
516
450
|
/**
|
|
517
451
|
* Indicates if there is at least one `case` statement. `default` doesn't count.
|
|
518
452
|
* @type {boolean}
|
|
519
453
|
*/
|
|
520
454
|
this.hasCase = hasCase;
|
|
521
|
-
|
|
522
455
|
/**
|
|
523
456
|
* The `default` keyword.
|
|
524
457
|
* @type {Array<CodePathSegment>|null}
|
|
525
458
|
*/
|
|
526
459
|
this.defaultSegments = null;
|
|
527
|
-
|
|
528
460
|
/**
|
|
529
461
|
* The default case body starting segments.
|
|
530
462
|
* @type {Array<CodePathSegment>|null}
|
|
531
463
|
*/
|
|
532
464
|
this.defaultBodySegments = null;
|
|
533
|
-
|
|
534
465
|
/**
|
|
535
466
|
* Indicates if a `default` case and is empty exists.
|
|
536
467
|
* @type {boolean}
|
|
537
468
|
*/
|
|
538
469
|
this.foundEmptyDefault = false;
|
|
539
|
-
|
|
540
470
|
/**
|
|
541
471
|
* Indicates that a `default` exists and is the last case.
|
|
542
472
|
* @type {boolean}
|
|
543
473
|
*/
|
|
544
474
|
this.lastIsDefault = false;
|
|
545
|
-
|
|
546
475
|
/**
|
|
547
476
|
* The number of fork contexts created. This is equivalent to the
|
|
548
477
|
* number of `case` statements plus a `default` statement (if present).
|
|
@@ -551,12 +480,10 @@ class SwitchContext {
|
|
|
551
480
|
this.forkCount = 0;
|
|
552
481
|
}
|
|
553
482
|
}
|
|
554
|
-
|
|
555
483
|
/**
|
|
556
484
|
* Represents the context for a `try` statement.
|
|
557
485
|
*/
|
|
558
486
|
class TryContext {
|
|
559
|
-
|
|
560
487
|
/**
|
|
561
488
|
* Creates a new instance.
|
|
562
489
|
* @param {TryContext} upperContext The previous context.
|
|
@@ -565,19 +492,16 @@ class TryContext {
|
|
|
565
492
|
* @param {ForkContext} forkContext The enclosing fork context.
|
|
566
493
|
*/
|
|
567
494
|
constructor(upperContext, hasFinalizer, forkContext) {
|
|
568
|
-
|
|
569
495
|
/**
|
|
570
496
|
* The previous context.
|
|
571
497
|
* @type {TryContext}
|
|
572
498
|
*/
|
|
573
499
|
this.upper = upperContext;
|
|
574
|
-
|
|
575
500
|
/**
|
|
576
501
|
* Indicates if the `try` statement has a `finally` block.
|
|
577
502
|
* @type {boolean}
|
|
578
503
|
*/
|
|
579
504
|
this.hasFinalizer = hasFinalizer;
|
|
580
|
-
|
|
581
505
|
/**
|
|
582
506
|
* Tracks the traversal position inside of the `try` statement. This is
|
|
583
507
|
* used to help determine the context necessary to create paths because
|
|
@@ -586,7 +510,6 @@ class TryContext {
|
|
|
586
510
|
* @type {"try"|"catch"|"finally"}
|
|
587
511
|
*/
|
|
588
512
|
this.position = "try";
|
|
589
|
-
|
|
590
513
|
/**
|
|
591
514
|
* If the `try` statement has a `finally` block, this affects how a
|
|
592
515
|
* `return` statement behaves in the `try` block. Without `finally`,
|
|
@@ -598,7 +521,6 @@ class TryContext {
|
|
|
598
521
|
this.returnedForkContext = hasFinalizer
|
|
599
522
|
? ForkContext.newEmpty(forkContext)
|
|
600
523
|
: null;
|
|
601
|
-
|
|
602
524
|
/**
|
|
603
525
|
* When a `throw` occurs inside of a `try` block, the code path forks
|
|
604
526
|
* into the `catch` or `finally` blocks, and this fork context tracks
|
|
@@ -606,13 +528,11 @@ class TryContext {
|
|
|
606
528
|
* @type {ForkContext}
|
|
607
529
|
*/
|
|
608
530
|
this.thrownForkContext = ForkContext.newEmpty(forkContext);
|
|
609
|
-
|
|
610
531
|
/**
|
|
611
532
|
* Indicates if the last segment in the `try` block is reachable.
|
|
612
533
|
* @type {boolean}
|
|
613
534
|
*/
|
|
614
535
|
this.lastOfTryIsReachable = false;
|
|
615
|
-
|
|
616
536
|
/**
|
|
617
537
|
* Indicates if the last segment in the `catch` block is reachable.
|
|
618
538
|
* @type {boolean}
|
|
@@ -620,11 +540,9 @@ class TryContext {
|
|
|
620
540
|
this.lastOfCatchIsReachable = false;
|
|
621
541
|
}
|
|
622
542
|
}
|
|
623
|
-
|
|
624
543
|
//------------------------------------------------------------------------------
|
|
625
544
|
// Helpers
|
|
626
545
|
//------------------------------------------------------------------------------
|
|
627
|
-
|
|
628
546
|
/**
|
|
629
547
|
* Adds given segments into the `dest` array.
|
|
630
548
|
* If the `others` array does not include the given segments, adds to the `all`
|
|
@@ -640,14 +558,12 @@ class TryContext {
|
|
|
640
558
|
function addToReturnedOrThrown(dest, others, all, segments) {
|
|
641
559
|
for (let i = 0; i < segments.length; ++i) {
|
|
642
560
|
const segment = segments[i];
|
|
643
|
-
|
|
644
561
|
dest.push(segment);
|
|
645
562
|
if (!others.includes(segment)) {
|
|
646
563
|
all.push(segment);
|
|
647
564
|
}
|
|
648
565
|
}
|
|
649
566
|
}
|
|
650
|
-
|
|
651
567
|
/**
|
|
652
568
|
* Gets a loop context for a `continue` statement based on a given label.
|
|
653
569
|
* @param {CodePathState} state The state to search within.
|
|
@@ -658,20 +574,16 @@ function getContinueContext(state, label) {
|
|
|
658
574
|
if (!label) {
|
|
659
575
|
return state.loopContext;
|
|
660
576
|
}
|
|
661
|
-
|
|
662
577
|
let context = state.loopContext;
|
|
663
|
-
|
|
664
|
-
while (context) {
|
|
578
|
+
while (_context) {
|
|
665
579
|
if (context.label === label) {
|
|
666
580
|
return context;
|
|
667
581
|
}
|
|
668
582
|
context = context.upper;
|
|
669
583
|
}
|
|
670
|
-
|
|
671
584
|
/* c8 ignore next */
|
|
672
585
|
return null;
|
|
673
586
|
}
|
|
674
|
-
|
|
675
587
|
/**
|
|
676
588
|
* Gets a context for a `break` statement.
|
|
677
589
|
* @param {CodePathState} state The state to search within.
|
|
@@ -680,18 +592,15 @@ function getContinueContext(state, label) {
|
|
|
680
592
|
*/
|
|
681
593
|
function getBreakContext(state, label) {
|
|
682
594
|
let context = state.breakContext;
|
|
683
|
-
|
|
684
|
-
while (context) {
|
|
595
|
+
while (_context) {
|
|
685
596
|
if (label ? context.label === label : context.breakable) {
|
|
686
597
|
return context;
|
|
687
598
|
}
|
|
688
599
|
context = context.upper;
|
|
689
600
|
}
|
|
690
|
-
|
|
691
601
|
/* c8 ignore next */
|
|
692
602
|
return null;
|
|
693
603
|
}
|
|
694
|
-
|
|
695
604
|
/**
|
|
696
605
|
* Gets a context for a `return` statement. There is just one special case:
|
|
697
606
|
* if there is a `try` statement with a `finally` block, because that alters
|
|
@@ -701,17 +610,14 @@ function getBreakContext(state, label) {
|
|
|
701
610
|
*/
|
|
702
611
|
function getReturnContext(state) {
|
|
703
612
|
let context = state.tryContext;
|
|
704
|
-
|
|
705
|
-
while (context) {
|
|
613
|
+
while (_context) {
|
|
706
614
|
if (context.hasFinalizer && context.position !== "finally") {
|
|
707
615
|
return context;
|
|
708
616
|
}
|
|
709
617
|
context = context.upper;
|
|
710
618
|
}
|
|
711
|
-
|
|
712
619
|
return state;
|
|
713
620
|
}
|
|
714
|
-
|
|
715
621
|
/**
|
|
716
622
|
* Gets a context for a `throw` statement. There is just one special case:
|
|
717
623
|
* if there is a `try` statement with a `finally` block and we are inside of
|
|
@@ -722,8 +628,7 @@ function getReturnContext(state) {
|
|
|
722
628
|
*/
|
|
723
629
|
function getThrowContext(state) {
|
|
724
630
|
let context = state.tryContext;
|
|
725
|
-
|
|
726
|
-
while (context) {
|
|
631
|
+
while (_context) {
|
|
727
632
|
if (context.position === "try" ||
|
|
728
633
|
(context.hasFinalizer && context.position === "catch")
|
|
729
634
|
) {
|
|
@@ -731,10 +636,8 @@ function getThrowContext(state) {
|
|
|
731
636
|
}
|
|
732
637
|
context = context.upper;
|
|
733
638
|
}
|
|
734
|
-
|
|
735
639
|
return state;
|
|
736
640
|
}
|
|
737
|
-
|
|
738
641
|
/**
|
|
739
642
|
* Removes a given value from a given array.
|
|
740
643
|
* @param {any[]} elements An array to remove the specific element.
|
|
@@ -744,7 +647,6 @@ function getThrowContext(state) {
|
|
|
744
647
|
function removeFromArray(elements, value) {
|
|
745
648
|
elements.splice(elements.indexOf(value), 1);
|
|
746
649
|
}
|
|
747
|
-
|
|
748
650
|
/**
|
|
749
651
|
* Disconnect given segments.
|
|
750
652
|
*
|
|
@@ -759,14 +661,12 @@ function disconnectSegments(prevSegments, nextSegments) {
|
|
|
759
661
|
for (let i = 0; i < prevSegments.length; ++i) {
|
|
760
662
|
const prevSegment = prevSegments[i];
|
|
761
663
|
const nextSegment = nextSegments[i];
|
|
762
|
-
|
|
763
664
|
removeFromArray(prevSegment.nextSegments, nextSegment);
|
|
764
665
|
removeFromArray(prevSegment.allNextSegments, nextSegment);
|
|
765
666
|
removeFromArray(nextSegment.prevSegments, prevSegment);
|
|
766
667
|
removeFromArray(nextSegment.allPrevSegments, prevSegment);
|
|
767
668
|
}
|
|
768
669
|
}
|
|
769
|
-
|
|
770
670
|
/**
|
|
771
671
|
* Creates looping path between two arrays of segments, ensuring that there are
|
|
772
672
|
* paths going between matching segments in the arrays.
|
|
@@ -776,22 +676,18 @@ function disconnectSegments(prevSegments, nextSegments) {
|
|
|
776
676
|
* @returns {void}
|
|
777
677
|
*/
|
|
778
678
|
function makeLooped(state, unflattenedFromSegments, unflattenedToSegments) {
|
|
779
|
-
|
|
780
679
|
const fromSegments = CodePathSegment.flattenUnusedSegments(unflattenedFromSegments);
|
|
781
680
|
const toSegments = CodePathSegment.flattenUnusedSegments(unflattenedToSegments);
|
|
782
681
|
const end = Math.min(fromSegments.length, toSegments.length);
|
|
783
|
-
|
|
784
682
|
/*
|
|
785
683
|
* This loop effectively updates a doubly-linked list between two collections
|
|
786
684
|
* of segments making sure that segments in the same array indices are
|
|
787
685
|
* combined to create a path.
|
|
788
686
|
*/
|
|
789
687
|
for (let i = 0; i < end; ++i) {
|
|
790
|
-
|
|
791
688
|
// get the segments in matching array indices
|
|
792
689
|
const fromSegment = fromSegments[i];
|
|
793
690
|
const toSegment = toSegments[i];
|
|
794
|
-
|
|
795
691
|
/*
|
|
796
692
|
* If the destination segment is reachable, then create a path from the
|
|
797
693
|
* source segment to the destination segment.
|
|
@@ -799,7 +695,6 @@ function makeLooped(state, unflattenedFromSegments, unflattenedToSegments) {
|
|
|
799
695
|
if (toSegment.reachable) {
|
|
800
696
|
fromSegment.nextSegments.push(toSegment);
|
|
801
697
|
}
|
|
802
|
-
|
|
803
698
|
/*
|
|
804
699
|
* If the source segment is reachable, then create a path from the
|
|
805
700
|
* destination segment back to the source segment.
|
|
@@ -807,14 +702,12 @@ function makeLooped(state, unflattenedFromSegments, unflattenedToSegments) {
|
|
|
807
702
|
if (fromSegment.reachable) {
|
|
808
703
|
toSegment.prevSegments.push(fromSegment);
|
|
809
704
|
}
|
|
810
|
-
|
|
811
705
|
/*
|
|
812
706
|
* Also update the arrays that don't care if the segments are reachable
|
|
813
707
|
* or not. This should always happen regardless of anything else.
|
|
814
708
|
*/
|
|
815
709
|
fromSegment.allNextSegments.push(toSegment);
|
|
816
710
|
toSegment.allPrevSegments.push(fromSegment);
|
|
817
|
-
|
|
818
711
|
/*
|
|
819
712
|
* If the destination segment has at least two previous segments in its
|
|
820
713
|
* path then that means there was one previous segment before this iteration
|
|
@@ -824,12 +717,10 @@ function makeLooped(state, unflattenedFromSegments, unflattenedToSegments) {
|
|
|
824
717
|
if (toSegment.allPrevSegments.length >= 2) {
|
|
825
718
|
CodePathSegment.markPrevSegmentAsLooped(toSegment, fromSegment);
|
|
826
719
|
}
|
|
827
|
-
|
|
828
720
|
// let the code path analyzer know that there's been a loop created
|
|
829
721
|
state.notifyLooped(fromSegment, toSegment);
|
|
830
722
|
}
|
|
831
723
|
}
|
|
832
|
-
|
|
833
724
|
/**
|
|
834
725
|
* Finalizes segments of `test` chunk of a ForStatement.
|
|
835
726
|
*
|
|
@@ -840,8 +731,7 @@ function makeLooped(state, unflattenedFromSegments, unflattenedToSegments) {
|
|
|
840
731
|
* @param {CodePathSegment[]} head The current head paths.
|
|
841
732
|
* @returns {void}
|
|
842
733
|
*/
|
|
843
|
-
function finalizeTestSegmentsOfFor(
|
|
844
|
-
|
|
734
|
+
function finalizeTestSegmentsOfFor(_context, choiceContext, head) {
|
|
845
735
|
/*
|
|
846
736
|
* If this choice context doesn't already contain paths from a
|
|
847
737
|
* child context, then add the current head to each potential path.
|
|
@@ -851,7 +741,6 @@ function finalizeTestSegmentsOfFor(context, choiceContext, head) {
|
|
|
851
741
|
choiceContext.falseForkContext.add(head);
|
|
852
742
|
choiceContext.nullishForkContext.add(head);
|
|
853
743
|
}
|
|
854
|
-
|
|
855
744
|
/*
|
|
856
745
|
* If the test condition isn't a hardcoded truthy value, then `break`
|
|
857
746
|
* must follow the same path as if the test condition is false. To represent
|
|
@@ -861,19 +750,15 @@ function finalizeTestSegmentsOfFor(context, choiceContext, head) {
|
|
|
861
750
|
if (context.test !== true) {
|
|
862
751
|
context.brokenForkContext.addAll(choiceContext.falseForkContext);
|
|
863
752
|
}
|
|
864
|
-
|
|
865
753
|
context.endOfTestSegments = choiceContext.trueForkContext.makeNext(0, -1);
|
|
866
754
|
}
|
|
867
|
-
|
|
868
755
|
//------------------------------------------------------------------------------
|
|
869
756
|
// Public Interface
|
|
870
757
|
//------------------------------------------------------------------------------
|
|
871
|
-
|
|
872
758
|
/**
|
|
873
759
|
* A class which manages state to analyze code paths.
|
|
874
760
|
*/
|
|
875
761
|
class CodePathState {
|
|
876
|
-
|
|
877
762
|
/**
|
|
878
763
|
* Creates a new instance.
|
|
879
764
|
* @param {IdGenerator} idGenerator An id generator to generate id for code
|
|
@@ -881,62 +766,52 @@ class CodePathState {
|
|
|
881
766
|
* @param {Function} onLooped A callback function to notify looping.
|
|
882
767
|
*/
|
|
883
768
|
constructor(idGenerator, onLooped) {
|
|
884
|
-
|
|
885
769
|
/**
|
|
886
770
|
* The ID generator to use when creating new segments.
|
|
887
771
|
* @type {IdGenerator}
|
|
888
772
|
*/
|
|
889
773
|
this.idGenerator = idGenerator;
|
|
890
|
-
|
|
891
774
|
/**
|
|
892
775
|
* A callback function to call when there is a loop.
|
|
893
776
|
* @type {Function}
|
|
894
777
|
*/
|
|
895
778
|
this.notifyLooped = onLooped;
|
|
896
|
-
|
|
897
779
|
/**
|
|
898
780
|
* The root fork context for this state.
|
|
899
781
|
* @type {ForkContext}
|
|
900
782
|
*/
|
|
901
783
|
this.forkContext = ForkContext.newRoot(idGenerator);
|
|
902
|
-
|
|
903
784
|
/**
|
|
904
785
|
* Context for logical expressions, conditional expressions, `if` statements,
|
|
905
786
|
* and loops.
|
|
906
787
|
* @type {ChoiceContext}
|
|
907
788
|
*/
|
|
908
789
|
this.choiceContext = null;
|
|
909
|
-
|
|
910
790
|
/**
|
|
911
791
|
* Context for `switch` statements.
|
|
912
792
|
* @type {SwitchContext}
|
|
913
793
|
*/
|
|
914
794
|
this.switchContext = null;
|
|
915
|
-
|
|
916
795
|
/**
|
|
917
796
|
* Context for `try` statements.
|
|
918
797
|
* @type {TryContext}
|
|
919
798
|
*/
|
|
920
799
|
this.tryContext = null;
|
|
921
|
-
|
|
922
800
|
/**
|
|
923
801
|
* Context for loop statements.
|
|
924
802
|
* @type {LoopContext}
|
|
925
803
|
*/
|
|
926
804
|
this.loopContext = null;
|
|
927
|
-
|
|
928
805
|
/**
|
|
929
806
|
* Context for `break` statements.
|
|
930
807
|
* @type {BreakContext}
|
|
931
808
|
*/
|
|
932
809
|
this.breakContext = null;
|
|
933
|
-
|
|
934
810
|
/**
|
|
935
811
|
* Context for `ChainExpression` nodes.
|
|
936
812
|
* @type {ChainContext}
|
|
937
813
|
*/
|
|
938
814
|
this.chainContext = null;
|
|
939
|
-
|
|
940
815
|
/**
|
|
941
816
|
* An array that tracks the current segments in the state. The array
|
|
942
817
|
* starts empty and segments are added with each `onCodePathSegmentStart`
|
|
@@ -946,34 +821,29 @@ class CodePathState {
|
|
|
946
821
|
* @type {Array<CodePathSegment>}
|
|
947
822
|
*/
|
|
948
823
|
this.currentSegments = [];
|
|
949
|
-
|
|
950
824
|
/**
|
|
951
825
|
* Tracks the starting segment for this path. This value never changes.
|
|
952
826
|
* @type {CodePathSegment}
|
|
953
827
|
*/
|
|
954
828
|
this.initialSegment = this.forkContext.head[0];
|
|
955
|
-
|
|
956
829
|
/**
|
|
957
830
|
* The final segments of the code path which are either `return` or `throw`.
|
|
958
831
|
* This is a union of the segments in `returnedForkContext` and `thrownForkContext`.
|
|
959
832
|
* @type {Array<CodePathSegment>}
|
|
960
833
|
*/
|
|
961
834
|
this.finalSegments = [];
|
|
962
|
-
|
|
963
835
|
/**
|
|
964
836
|
* The final segments of the code path which are `return`. These
|
|
965
837
|
* segments are also contained in `finalSegments`.
|
|
966
838
|
* @type {Array<CodePathSegment>}
|
|
967
839
|
*/
|
|
968
840
|
this.returnedForkContext = [];
|
|
969
|
-
|
|
970
841
|
/**
|
|
971
842
|
* The final segments of the code path which are `throw`. These
|
|
972
843
|
* segments are also contained in `finalSegments`.
|
|
973
844
|
* @type {Array<CodePathSegment>}
|
|
974
845
|
*/
|
|
975
846
|
this.thrownForkContext = [];
|
|
976
|
-
|
|
977
847
|
/*
|
|
978
848
|
* We add an `add` method so that these look more like fork contexts and
|
|
979
849
|
* can be used interchangeably when a fork context is needed to add more
|
|
@@ -986,11 +856,9 @@ class CodePathState {
|
|
|
986
856
|
const final = this.finalSegments;
|
|
987
857
|
const returned = this.returnedForkContext;
|
|
988
858
|
const thrown = this.thrownForkContext;
|
|
989
|
-
|
|
990
859
|
returned.add = addToReturnedOrThrown.bind(null, returned, thrown, final);
|
|
991
860
|
thrown.add = addToReturnedOrThrown.bind(null, thrown, returned, final);
|
|
992
861
|
}
|
|
993
|
-
|
|
994
862
|
/**
|
|
995
863
|
* A passthrough property exposing the current pointer as part of the API.
|
|
996
864
|
* @type {CodePathSegment[]}
|
|
@@ -998,7 +866,6 @@ class CodePathState {
|
|
|
998
866
|
get headSegments() {
|
|
999
867
|
return this.forkContext.head;
|
|
1000
868
|
}
|
|
1001
|
-
|
|
1002
869
|
/**
|
|
1003
870
|
* The parent forking context.
|
|
1004
871
|
* This is used for the root of new forks.
|
|
@@ -1006,10 +873,8 @@ class CodePathState {
|
|
|
1006
873
|
*/
|
|
1007
874
|
get parentForkContext() {
|
|
1008
875
|
const current = this.forkContext;
|
|
1009
|
-
|
|
1010
876
|
return current && current.upper;
|
|
1011
877
|
}
|
|
1012
|
-
|
|
1013
878
|
/**
|
|
1014
879
|
* Creates and stacks new forking context.
|
|
1015
880
|
* @param {boolean} forkLeavingPath A flag which shows being in a
|
|
@@ -1021,23 +886,18 @@ class CodePathState {
|
|
|
1021
886
|
this.forkContext,
|
|
1022
887
|
forkLeavingPath
|
|
1023
888
|
);
|
|
1024
|
-
|
|
1025
889
|
return this.forkContext;
|
|
1026
890
|
}
|
|
1027
|
-
|
|
1028
891
|
/**
|
|
1029
892
|
* Pops and merges the last forking context.
|
|
1030
893
|
* @returns {ForkContext} The last context.
|
|
1031
894
|
*/
|
|
1032
895
|
popForkContext() {
|
|
1033
896
|
const lastContext = this.forkContext;
|
|
1034
|
-
|
|
1035
897
|
this.forkContext = lastContext.upper;
|
|
1036
898
|
this.forkContext.replaceHead(lastContext.makeNext(0, -1));
|
|
1037
|
-
|
|
1038
899
|
return lastContext;
|
|
1039
900
|
}
|
|
1040
|
-
|
|
1041
901
|
/**
|
|
1042
902
|
* Creates a new path.
|
|
1043
903
|
* @returns {void}
|
|
@@ -1045,7 +905,6 @@ class CodePathState {
|
|
|
1045
905
|
forkPath() {
|
|
1046
906
|
this.forkContext.add(this.parentForkContext.makeNext(-1, -1));
|
|
1047
907
|
}
|
|
1048
|
-
|
|
1049
908
|
/**
|
|
1050
909
|
* Creates a bypass path.
|
|
1051
910
|
* This is used for such as IfStatement which does not have "else" chunk.
|
|
@@ -1054,11 +913,9 @@ class CodePathState {
|
|
|
1054
913
|
forkBypassPath() {
|
|
1055
914
|
this.forkContext.add(this.parentForkContext.head);
|
|
1056
915
|
}
|
|
1057
|
-
|
|
1058
916
|
//--------------------------------------------------------------------------
|
|
1059
917
|
// ConditionalExpression, LogicalExpression, IfStatement
|
|
1060
918
|
//--------------------------------------------------------------------------
|
|
1061
|
-
|
|
1062
919
|
/**
|
|
1063
920
|
* Creates a context for ConditionalExpression, LogicalExpression, AssignmentExpression (logical assignments only),
|
|
1064
921
|
* IfStatement, WhileStatement, DoWhileStatement, or ForStatement.
|
|
@@ -1092,7 +949,6 @@ class CodePathState {
|
|
|
1092
949
|
pushChoiceContext(kind, isForkingAsResult) {
|
|
1093
950
|
this.choiceContext = new ChoiceContext(this.choiceContext, kind, isForkingAsResult, this.forkContext);
|
|
1094
951
|
}
|
|
1095
|
-
|
|
1096
952
|
/**
|
|
1097
953
|
* Pops the last choice context and finalizes it.
|
|
1098
954
|
* This is called upon leaving a node that represents a choice.
|
|
@@ -1103,14 +959,11 @@ class CodePathState {
|
|
|
1103
959
|
const poppedChoiceContext = this.choiceContext;
|
|
1104
960
|
const forkContext = this.forkContext;
|
|
1105
961
|
const head = forkContext.head;
|
|
1106
|
-
|
|
1107
962
|
this.choiceContext = poppedChoiceContext.upper;
|
|
1108
|
-
|
|
1109
963
|
switch (poppedChoiceContext.kind) {
|
|
1110
964
|
case "&&":
|
|
1111
965
|
case "||":
|
|
1112
966
|
case "??":
|
|
1113
|
-
|
|
1114
967
|
/*
|
|
1115
968
|
* The `head` are the path of the right-hand operand.
|
|
1116
969
|
* If we haven't previously added segments from child contexts,
|
|
@@ -1121,7 +974,6 @@ class CodePathState {
|
|
|
1121
974
|
poppedChoiceContext.falseForkContext.add(head);
|
|
1122
975
|
poppedChoiceContext.nullishForkContext.add(head);
|
|
1123
976
|
}
|
|
1124
|
-
|
|
1125
977
|
/*
|
|
1126
978
|
* If this context is the left (test) expression for another choice
|
|
1127
979
|
* context, such as `a || b` in the expression `a || b || c`,
|
|
@@ -1130,21 +982,16 @@ class CodePathState {
|
|
|
1130
982
|
*/
|
|
1131
983
|
if (poppedChoiceContext.isForkingAsResult) {
|
|
1132
984
|
const parentContext = this.choiceContext;
|
|
1133
|
-
|
|
1134
985
|
parentContext.trueForkContext.addAll(poppedChoiceContext.trueForkContext);
|
|
1135
986
|
parentContext.falseForkContext.addAll(poppedChoiceContext.falseForkContext);
|
|
1136
987
|
parentContext.nullishForkContext.addAll(poppedChoiceContext.nullishForkContext);
|
|
1137
988
|
parentContext.processed = true;
|
|
1138
|
-
|
|
1139
989
|
// Exit early so we don't collapse all paths into one.
|
|
1140
990
|
return poppedChoiceContext;
|
|
1141
991
|
}
|
|
1142
|
-
|
|
1143
992
|
break;
|
|
1144
|
-
|
|
1145
993
|
case "test":
|
|
1146
994
|
if (!poppedChoiceContext.processed) {
|
|
1147
|
-
|
|
1148
995
|
/*
|
|
1149
996
|
* The head segments are the path of the `if` block here.
|
|
1150
997
|
* Updates the `true` path with the end of the `if` block.
|
|
@@ -1152,7 +999,6 @@ class CodePathState {
|
|
|
1152
999
|
poppedChoiceContext.trueForkContext.clear();
|
|
1153
1000
|
poppedChoiceContext.trueForkContext.add(head);
|
|
1154
1001
|
} else {
|
|
1155
|
-
|
|
1156
1002
|
/*
|
|
1157
1003
|
* The head segments are the path of the `else` block here.
|
|
1158
1004
|
* Updates the `false` path with the end of the `else`
|
|
@@ -1161,33 +1007,25 @@ class CodePathState {
|
|
|
1161
1007
|
poppedChoiceContext.falseForkContext.clear();
|
|
1162
1008
|
poppedChoiceContext.falseForkContext.add(head);
|
|
1163
1009
|
}
|
|
1164
|
-
|
|
1165
1010
|
break;
|
|
1166
|
-
|
|
1167
1011
|
case "loop":
|
|
1168
|
-
|
|
1169
1012
|
/*
|
|
1170
1013
|
* Loops are addressed in `popLoopContext()` so just return
|
|
1171
1014
|
* the context without modification.
|
|
1172
1015
|
*/
|
|
1173
1016
|
return poppedChoiceContext;
|
|
1174
|
-
|
|
1175
1017
|
/* c8 ignore next */
|
|
1176
1018
|
default:
|
|
1177
1019
|
throw new Error("unreachable");
|
|
1178
1020
|
}
|
|
1179
|
-
|
|
1180
1021
|
/*
|
|
1181
1022
|
* Merge the true path with the false path to create a single path.
|
|
1182
1023
|
*/
|
|
1183
1024
|
const combinedForkContext = poppedChoiceContext.trueForkContext;
|
|
1184
|
-
|
|
1185
1025
|
combinedForkContext.addAll(poppedChoiceContext.falseForkContext);
|
|
1186
1026
|
forkContext.replaceHead(combinedForkContext.makeNext(0, -1));
|
|
1187
|
-
|
|
1188
1027
|
return poppedChoiceContext;
|
|
1189
1028
|
}
|
|
1190
|
-
|
|
1191
1029
|
/**
|
|
1192
1030
|
* Creates a code path segment to represent right-hand operand of a logical
|
|
1193
1031
|
* expression.
|
|
@@ -1198,17 +1036,14 @@ class CodePathState {
|
|
|
1198
1036
|
makeLogicalRight() {
|
|
1199
1037
|
const currentChoiceContext = this.choiceContext;
|
|
1200
1038
|
const forkContext = this.forkContext;
|
|
1201
|
-
|
|
1202
1039
|
if (currentChoiceContext.processed) {
|
|
1203
|
-
|
|
1204
1040
|
/*
|
|
1205
1041
|
* This context was already assigned segments from a child
|
|
1206
1042
|
* choice context. In this case, we are concerned only about
|
|
1207
1043
|
* the path that does not short-circuit and so ends up on the
|
|
1208
1044
|
* right-hand operand of the logical expression.
|
|
1209
1045
|
*/
|
|
1210
|
-
let prevForkContext;
|
|
1211
|
-
|
|
1046
|
+
let prevForkContext; // TODO: Remove if unused
|
|
1212
1047
|
switch (currentChoiceContext.kind) {
|
|
1213
1048
|
case "&&": // if true then go to the right-hand side.
|
|
1214
1049
|
prevForkContext = currentChoiceContext.trueForkContext;
|
|
@@ -1222,14 +1057,12 @@ class CodePathState {
|
|
|
1222
1057
|
default:
|
|
1223
1058
|
throw new Error("unreachable");
|
|
1224
1059
|
}
|
|
1225
|
-
|
|
1226
1060
|
/*
|
|
1227
1061
|
* Create the segment for the right-hand operand of the logical expression
|
|
1228
1062
|
* and adjust the fork context pointer to point there. The right-hand segment
|
|
1229
1063
|
* is added at the end of all segments in `prevForkContext`.
|
|
1230
1064
|
*/
|
|
1231
1065
|
forkContext.replaceHead(prevForkContext.makeNext(0, -1));
|
|
1232
|
-
|
|
1233
1066
|
/*
|
|
1234
1067
|
* We no longer need this list of segments.
|
|
1235
1068
|
*
|
|
@@ -1239,9 +1072,7 @@ class CodePathState {
|
|
|
1239
1072
|
*/
|
|
1240
1073
|
prevForkContext.clear();
|
|
1241
1074
|
currentChoiceContext.processed = false;
|
|
1242
|
-
|
|
1243
1075
|
} else {
|
|
1244
|
-
|
|
1245
1076
|
/*
|
|
1246
1077
|
* This choice context was not assigned segments from a child
|
|
1247
1078
|
* choice context, which means that it's a terminal logical
|
|
@@ -1258,7 +1089,6 @@ class CodePathState {
|
|
|
1258
1089
|
*/
|
|
1259
1090
|
switch (currentChoiceContext.kind) {
|
|
1260
1091
|
case "&&":
|
|
1261
|
-
|
|
1262
1092
|
/*
|
|
1263
1093
|
* In most contexts, when a && expression evaluates to false,
|
|
1264
1094
|
* it short circuits, so we need to account for that by setting
|
|
@@ -1285,7 +1115,6 @@ class CodePathState {
|
|
|
1285
1115
|
default:
|
|
1286
1116
|
throw new Error("unreachable");
|
|
1287
1117
|
}
|
|
1288
|
-
|
|
1289
1118
|
/*
|
|
1290
1119
|
* Create the segment for the right-hand operand of the logical expression
|
|
1291
1120
|
* and adjust the fork context pointer to point there.
|
|
@@ -1293,7 +1122,6 @@ class CodePathState {
|
|
|
1293
1122
|
forkContext.replaceHead(forkContext.makeNext(-1, -1));
|
|
1294
1123
|
}
|
|
1295
1124
|
}
|
|
1296
|
-
|
|
1297
1125
|
/**
|
|
1298
1126
|
* Makes a code path segment of the `if` block.
|
|
1299
1127
|
* @returns {void}
|
|
@@ -1301,7 +1129,6 @@ class CodePathState {
|
|
|
1301
1129
|
makeIfConsequent() {
|
|
1302
1130
|
const context = this.choiceContext;
|
|
1303
1131
|
const forkContext = this.forkContext;
|
|
1304
|
-
|
|
1305
1132
|
/*
|
|
1306
1133
|
* If any result were not transferred from child contexts,
|
|
1307
1134
|
* this sets the head segments to both cases.
|
|
@@ -1312,15 +1139,12 @@ class CodePathState {
|
|
|
1312
1139
|
context.falseForkContext.add(forkContext.head);
|
|
1313
1140
|
context.nullishForkContext.add(forkContext.head);
|
|
1314
1141
|
}
|
|
1315
|
-
|
|
1316
1142
|
context.processed = false;
|
|
1317
|
-
|
|
1318
1143
|
// Creates new path from the `true` case.
|
|
1319
1144
|
forkContext.replaceHead(
|
|
1320
1145
|
context.trueForkContext.makeNext(0, -1)
|
|
1321
1146
|
);
|
|
1322
1147
|
}
|
|
1323
|
-
|
|
1324
1148
|
/**
|
|
1325
1149
|
* Makes a code path segment of the `else` block.
|
|
1326
1150
|
* @returns {void}
|
|
@@ -1328,7 +1152,6 @@ class CodePathState {
|
|
|
1328
1152
|
makeIfAlternate() {
|
|
1329
1153
|
const context = this.choiceContext;
|
|
1330
1154
|
const forkContext = this.forkContext;
|
|
1331
|
-
|
|
1332
1155
|
/*
|
|
1333
1156
|
* The head segments are the path of the `if` block.
|
|
1334
1157
|
* Updates the `true` path with the end of the `if` block.
|
|
@@ -1336,17 +1159,14 @@ class CodePathState {
|
|
|
1336
1159
|
context.trueForkContext.clear();
|
|
1337
1160
|
context.trueForkContext.add(forkContext.head);
|
|
1338
1161
|
context.processed = true;
|
|
1339
|
-
|
|
1340
1162
|
// Creates new path from the `false` case.
|
|
1341
1163
|
forkContext.replaceHead(
|
|
1342
1164
|
context.falseForkContext.makeNext(0, -1)
|
|
1343
1165
|
);
|
|
1344
1166
|
}
|
|
1345
|
-
|
|
1346
1167
|
//--------------------------------------------------------------------------
|
|
1347
1168
|
// ChainExpression
|
|
1348
1169
|
//--------------------------------------------------------------------------
|
|
1349
|
-
|
|
1350
1170
|
/**
|
|
1351
1171
|
* Pushes a new `ChainExpression` context to the stack. This method is
|
|
1352
1172
|
* called when entering a `ChainExpression` node. A chain context is used to
|
|
@@ -1357,7 +1177,6 @@ class CodePathState {
|
|
|
1357
1177
|
pushChainContext() {
|
|
1358
1178
|
this.chainContext = new ChainContext(this.chainContext);
|
|
1359
1179
|
}
|
|
1360
|
-
|
|
1361
1180
|
/**
|
|
1362
1181
|
* Pop a `ChainExpression` context from the stack. This method is called on
|
|
1363
1182
|
* exiting from each `ChainExpression` node. This merges all forks of the
|
|
@@ -1366,15 +1185,12 @@ class CodePathState {
|
|
|
1366
1185
|
*/
|
|
1367
1186
|
popChainContext() {
|
|
1368
1187
|
const context = this.chainContext;
|
|
1369
|
-
|
|
1370
1188
|
this.chainContext = context.upper;
|
|
1371
|
-
|
|
1372
1189
|
// pop all choice contexts of this.
|
|
1373
1190
|
for (let i = context.choiceContextCount; i > 0; --i) {
|
|
1374
1191
|
this.popChoiceContext();
|
|
1375
1192
|
}
|
|
1376
1193
|
}
|
|
1377
|
-
|
|
1378
1194
|
/**
|
|
1379
1195
|
* Create a choice context for optional access.
|
|
1380
1196
|
* This method is called on entering to each `(Call|Member)Expression[optional=true]` node.
|
|
@@ -1387,7 +1203,6 @@ class CodePathState {
|
|
|
1387
1203
|
this.pushChoiceContext("??", false);
|
|
1388
1204
|
}
|
|
1389
1205
|
}
|
|
1390
|
-
|
|
1391
1206
|
/**
|
|
1392
1207
|
* Create a fork.
|
|
1393
1208
|
* This method is called on entering to the `arguments|property` property of each `(Call|Member)Expression` node.
|
|
@@ -1398,11 +1213,9 @@ class CodePathState {
|
|
|
1398
1213
|
this.makeLogicalRight();
|
|
1399
1214
|
}
|
|
1400
1215
|
}
|
|
1401
|
-
|
|
1402
1216
|
//--------------------------------------------------------------------------
|
|
1403
1217
|
// SwitchStatement
|
|
1404
1218
|
//--------------------------------------------------------------------------
|
|
1405
|
-
|
|
1406
1219
|
/**
|
|
1407
1220
|
* Creates a context object of SwitchStatement and stacks it.
|
|
1408
1221
|
* @param {boolean} hasCase `true` if the switch statement has one or more
|
|
@@ -1414,7 +1227,6 @@ class CodePathState {
|
|
|
1414
1227
|
this.switchContext = new SwitchContext(this.switchContext, hasCase);
|
|
1415
1228
|
this.pushBreakContext(true, label);
|
|
1416
1229
|
}
|
|
1417
|
-
|
|
1418
1230
|
/**
|
|
1419
1231
|
* Pops the last context of SwitchStatement and finalizes it.
|
|
1420
1232
|
*
|
|
@@ -1426,14 +1238,10 @@ class CodePathState {
|
|
|
1426
1238
|
*/
|
|
1427
1239
|
popSwitchContext() {
|
|
1428
1240
|
const context = this.switchContext;
|
|
1429
|
-
|
|
1430
1241
|
this.switchContext = context.upper;
|
|
1431
|
-
|
|
1432
1242
|
const forkContext = this.forkContext;
|
|
1433
1243
|
const brokenForkContext = this.popBreakContext().brokenForkContext;
|
|
1434
|
-
|
|
1435
1244
|
if (context.forkCount === 0) {
|
|
1436
|
-
|
|
1437
1245
|
/*
|
|
1438
1246
|
* When there is only one `default` chunk and there is one or more
|
|
1439
1247
|
* `break` statements, even if forks are nothing, it needs to merge
|
|
@@ -1443,21 +1251,16 @@ class CodePathState {
|
|
|
1443
1251
|
brokenForkContext.add(forkContext.makeNext(-1, -1));
|
|
1444
1252
|
forkContext.replaceHead(brokenForkContext.makeNext(0, -1));
|
|
1445
1253
|
}
|
|
1446
|
-
|
|
1447
1254
|
return;
|
|
1448
1255
|
}
|
|
1449
|
-
|
|
1450
1256
|
const lastSegments = forkContext.head;
|
|
1451
|
-
|
|
1452
1257
|
this.forkBypassPath();
|
|
1453
1258
|
const lastCaseSegments = forkContext.head;
|
|
1454
|
-
|
|
1455
1259
|
/*
|
|
1456
1260
|
* `brokenForkContext` is used to make the next segment.
|
|
1457
1261
|
* It must add the last segment into `brokenForkContext`.
|
|
1458
1262
|
*/
|
|
1459
1263
|
brokenForkContext.add(lastSegments);
|
|
1460
|
-
|
|
1461
1264
|
/*
|
|
1462
1265
|
* Any value that doesn't match a `case` test should flow to the default
|
|
1463
1266
|
* case. That happens normally when the default case is last in the `switch`,
|
|
@@ -1465,21 +1268,17 @@ class CodePathState {
|
|
|
1465
1268
|
*/
|
|
1466
1269
|
if (!context.lastIsDefault) {
|
|
1467
1270
|
if (context.defaultBodySegments) {
|
|
1468
|
-
|
|
1469
1271
|
/*
|
|
1470
1272
|
* There is a non-empty default case, so remove the path from the `default`
|
|
1471
1273
|
* label to its body for an accurate representation.
|
|
1472
1274
|
*/
|
|
1473
1275
|
disconnectSegments(context.defaultSegments, context.defaultBodySegments);
|
|
1474
|
-
|
|
1475
1276
|
/*
|
|
1476
1277
|
* Connect the path from the last non-default case to the body of the
|
|
1477
1278
|
* default case.
|
|
1478
1279
|
*/
|
|
1479
1280
|
makeLooped(this, lastCaseSegments, context.defaultBodySegments);
|
|
1480
|
-
|
|
1481
1281
|
} else {
|
|
1482
|
-
|
|
1483
1282
|
/*
|
|
1484
1283
|
* There is no default case, so we treat this as if the last case
|
|
1485
1284
|
* had a `break` in it.
|
|
@@ -1487,19 +1286,16 @@ class CodePathState {
|
|
|
1487
1286
|
brokenForkContext.add(lastCaseSegments);
|
|
1488
1287
|
}
|
|
1489
1288
|
}
|
|
1490
|
-
|
|
1491
1289
|
// Traverse up to the original fork context for the `switch` statement
|
|
1492
1290
|
for (let i = 0; i < context.forkCount; ++i) {
|
|
1493
1291
|
this.forkContext = this.forkContext.upper;
|
|
1494
1292
|
}
|
|
1495
|
-
|
|
1496
1293
|
/*
|
|
1497
1294
|
* Creates a path from all `brokenForkContext` paths.
|
|
1498
1295
|
* This is a path after `switch` statement.
|
|
1499
1296
|
*/
|
|
1500
1297
|
this.forkContext.replaceHead(brokenForkContext.makeNext(0, -1));
|
|
1501
1298
|
}
|
|
1502
|
-
|
|
1503
1299
|
/**
|
|
1504
1300
|
* Makes a code path segment for a `SwitchCase` node.
|
|
1505
1301
|
* @param {boolean} isCaseBodyEmpty `true` if the body is empty.
|
|
@@ -1508,11 +1304,9 @@ class CodePathState {
|
|
|
1508
1304
|
*/
|
|
1509
1305
|
makeSwitchCaseBody(isCaseBodyEmpty, isDefaultCase) {
|
|
1510
1306
|
const context = this.switchContext;
|
|
1511
|
-
|
|
1512
1307
|
if (!context.hasCase) {
|
|
1513
1308
|
return;
|
|
1514
1309
|
}
|
|
1515
|
-
|
|
1516
1310
|
/*
|
|
1517
1311
|
* Merge forks.
|
|
1518
1312
|
* The parent fork context has two segments.
|
|
@@ -1520,9 +1314,7 @@ class CodePathState {
|
|
|
1520
1314
|
*/
|
|
1521
1315
|
const parentForkContext = this.forkContext;
|
|
1522
1316
|
const forkContext = this.pushForkContext();
|
|
1523
|
-
|
|
1524
1317
|
forkContext.add(parentForkContext.makeNext(0, -1));
|
|
1525
|
-
|
|
1526
1318
|
/*
|
|
1527
1319
|
* Add information about the default case.
|
|
1528
1320
|
*
|
|
@@ -1530,7 +1322,6 @@ class CodePathState {
|
|
|
1530
1322
|
* default case to make sure there is a path there.
|
|
1531
1323
|
*/
|
|
1532
1324
|
if (isDefaultCase) {
|
|
1533
|
-
|
|
1534
1325
|
/*
|
|
1535
1326
|
* This is the default case in the `switch`.
|
|
1536
1327
|
*
|
|
@@ -1538,7 +1329,6 @@ class CodePathState {
|
|
|
1538
1329
|
* to the `default` keyword.
|
|
1539
1330
|
*/
|
|
1540
1331
|
context.defaultSegments = parentForkContext.head;
|
|
1541
|
-
|
|
1542
1332
|
/*
|
|
1543
1333
|
* If the body of the case is empty then we just set
|
|
1544
1334
|
* `foundEmptyDefault` to true; otherwise, we save a reference
|
|
@@ -1549,9 +1339,7 @@ class CodePathState {
|
|
|
1549
1339
|
} else {
|
|
1550
1340
|
context.defaultBodySegments = forkContext.head;
|
|
1551
1341
|
}
|
|
1552
|
-
|
|
1553
1342
|
} else {
|
|
1554
|
-
|
|
1555
1343
|
/*
|
|
1556
1344
|
* This is not the default case in the `switch`.
|
|
1557
1345
|
*
|
|
@@ -1567,16 +1355,13 @@ class CodePathState {
|
|
|
1567
1355
|
context.defaultBodySegments = forkContext.head;
|
|
1568
1356
|
}
|
|
1569
1357
|
}
|
|
1570
|
-
|
|
1571
1358
|
// keep track if the default case ends up last
|
|
1572
1359
|
context.lastIsDefault = isDefaultCase;
|
|
1573
1360
|
context.forkCount += 1;
|
|
1574
1361
|
}
|
|
1575
|
-
|
|
1576
1362
|
//--------------------------------------------------------------------------
|
|
1577
1363
|
// TryStatement
|
|
1578
1364
|
//--------------------------------------------------------------------------
|
|
1579
|
-
|
|
1580
1365
|
/**
|
|
1581
1366
|
* Creates a context object of TryStatement and stacks it.
|
|
1582
1367
|
* @param {boolean} hasFinalizer `true` if the try statement has a
|
|
@@ -1586,16 +1371,13 @@ class CodePathState {
|
|
|
1586
1371
|
pushTryContext(hasFinalizer) {
|
|
1587
1372
|
this.tryContext = new TryContext(this.tryContext, hasFinalizer, this.forkContext);
|
|
1588
1373
|
}
|
|
1589
|
-
|
|
1590
1374
|
/**
|
|
1591
1375
|
* Pops the last context of TryStatement and finalizes it.
|
|
1592
1376
|
* @returns {void}
|
|
1593
1377
|
*/
|
|
1594
1378
|
popTryContext() {
|
|
1595
1379
|
const context = this.tryContext;
|
|
1596
|
-
|
|
1597
1380
|
this.tryContext = context.upper;
|
|
1598
|
-
|
|
1599
1381
|
/*
|
|
1600
1382
|
* If we're inside the `catch` block, that means there is no `finally`,
|
|
1601
1383
|
* so we can process the `try` and `catch` blocks the simple way and
|
|
@@ -1605,33 +1387,26 @@ class CodePathState {
|
|
|
1605
1387
|
this.popForkContext();
|
|
1606
1388
|
return;
|
|
1607
1389
|
}
|
|
1608
|
-
|
|
1609
1390
|
/*
|
|
1610
1391
|
* The following process is executed only when there is a `finally`
|
|
1611
1392
|
* block.
|
|
1612
1393
|
*/
|
|
1613
|
-
|
|
1614
1394
|
const originalReturnedForkContext = context.returnedForkContext;
|
|
1615
1395
|
const originalThrownForkContext = context.thrownForkContext;
|
|
1616
|
-
|
|
1617
1396
|
// no `return` or `throw` in `try` or `catch` so there's nothing left to do
|
|
1618
1397
|
if (originalReturnedForkContext.empty && originalThrownForkContext.empty) {
|
|
1619
1398
|
return;
|
|
1620
1399
|
}
|
|
1621
|
-
|
|
1622
1400
|
/*
|
|
1623
1401
|
* The following process is executed only when there is a `finally`
|
|
1624
1402
|
* block and there was a `return` or `throw` in the `try` or `catch`
|
|
1625
1403
|
* blocks.
|
|
1626
1404
|
*/
|
|
1627
|
-
|
|
1628
1405
|
// Separate head to normal paths and leaving paths.
|
|
1629
1406
|
const headSegments = this.forkContext.head;
|
|
1630
|
-
|
|
1631
1407
|
this.forkContext = this.forkContext.upper;
|
|
1632
1408
|
const normalSegments = headSegments.slice(0, headSegments.length / 2 | 0);
|
|
1633
1409
|
const leavingSegments = headSegments.slice(headSegments.length / 2 | 0);
|
|
1634
|
-
|
|
1635
1410
|
// Forwards the leaving path to upper contexts.
|
|
1636
1411
|
if (!originalReturnedForkContext.empty) {
|
|
1637
1412
|
getReturnContext(this).returnedForkContext.add(leavingSegments);
|
|
@@ -1639,10 +1414,8 @@ class CodePathState {
|
|
|
1639
1414
|
if (!originalThrownForkContext.empty) {
|
|
1640
1415
|
getThrowContext(this).thrownForkContext.add(leavingSegments);
|
|
1641
1416
|
}
|
|
1642
|
-
|
|
1643
1417
|
// Sets the normal path as the next.
|
|
1644
1418
|
this.forkContext.replaceHead(normalSegments);
|
|
1645
|
-
|
|
1646
1419
|
/*
|
|
1647
1420
|
* If both paths of the `try` block and the `catch` block are
|
|
1648
1421
|
* unreachable, the next path becomes unreachable as well.
|
|
@@ -1651,7 +1424,6 @@ class CodePathState {
|
|
|
1651
1424
|
this.forkContext.makeUnreachable();
|
|
1652
1425
|
}
|
|
1653
1426
|
}
|
|
1654
|
-
|
|
1655
1427
|
/**
|
|
1656
1428
|
* Makes a code path segment for a `catch` block.
|
|
1657
1429
|
* @returns {void}
|
|
@@ -1660,7 +1432,6 @@ class CodePathState {
|
|
|
1660
1432
|
const context = this.tryContext;
|
|
1661
1433
|
const forkContext = this.forkContext;
|
|
1662
1434
|
const originalThrownForkContext = context.thrownForkContext;
|
|
1663
|
-
|
|
1664
1435
|
/*
|
|
1665
1436
|
* We are now in a catch block so we need to update the context
|
|
1666
1437
|
* with that information. This includes creating a new fork
|
|
@@ -1669,17 +1440,14 @@ class CodePathState {
|
|
|
1669
1440
|
context.position = "catch";
|
|
1670
1441
|
context.thrownForkContext = ForkContext.newEmpty(forkContext);
|
|
1671
1442
|
context.lastOfTryIsReachable = forkContext.reachable;
|
|
1672
|
-
|
|
1673
1443
|
// Merge the thrown paths from the `try` and `catch` blocks
|
|
1674
1444
|
originalThrownForkContext.add(forkContext.head);
|
|
1675
1445
|
const thrownSegments = originalThrownForkContext.makeNext(0, -1);
|
|
1676
|
-
|
|
1677
1446
|
// Fork to a bypass and the merged thrown path.
|
|
1678
1447
|
this.pushForkContext();
|
|
1679
1448
|
this.forkBypassPath();
|
|
1680
1449
|
this.forkContext.add(thrownSegments);
|
|
1681
1450
|
}
|
|
1682
|
-
|
|
1683
1451
|
/**
|
|
1684
1452
|
* Makes a code path segment for a `finally` block.
|
|
1685
1453
|
*
|
|
@@ -1694,48 +1462,37 @@ class CodePathState {
|
|
|
1694
1462
|
const originalReturnedForkContext = context.returnedForkContext;
|
|
1695
1463
|
const originalThrownForContext = context.thrownForkContext;
|
|
1696
1464
|
const headOfLeavingSegments = forkContext.head;
|
|
1697
|
-
|
|
1698
1465
|
// Update state.
|
|
1699
1466
|
if (context.position === "catch") {
|
|
1700
|
-
|
|
1701
1467
|
// Merges two paths from the `try` block and `catch` block.
|
|
1702
1468
|
this.popForkContext();
|
|
1703
1469
|
forkContext = this.forkContext;
|
|
1704
|
-
|
|
1705
1470
|
context.lastOfCatchIsReachable = forkContext.reachable;
|
|
1706
1471
|
} else {
|
|
1707
1472
|
context.lastOfTryIsReachable = forkContext.reachable;
|
|
1708
1473
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
1474
|
context.position = "finally";
|
|
1712
|
-
|
|
1713
1475
|
/*
|
|
1714
1476
|
* If there was no `return` or `throw` in either the `try` or `catch`
|
|
1715
1477
|
* blocks, then there's no further code paths to create for `finally`.
|
|
1716
1478
|
*/
|
|
1717
1479
|
if (originalReturnedForkContext.empty && originalThrownForContext.empty) {
|
|
1718
|
-
|
|
1719
1480
|
// This path does not leave.
|
|
1720
1481
|
return;
|
|
1721
1482
|
}
|
|
1722
|
-
|
|
1723
1483
|
/*
|
|
1724
1484
|
* Create a parallel segment from merging returned and thrown.
|
|
1725
1485
|
* This segment will leave at the end of this `finally` block.
|
|
1726
1486
|
*/
|
|
1727
1487
|
const segments = forkContext.makeNext(-1, -1);
|
|
1728
|
-
|
|
1729
1488
|
for (let i = 0; i < forkContext.count; ++i) {
|
|
1730
1489
|
const prevSegsOfLeavingSegment = [headOfLeavingSegments[i]];
|
|
1731
|
-
|
|
1732
1490
|
for (let j = 0; j < originalReturnedForkContext.segmentsList.length; ++j) {
|
|
1733
1491
|
prevSegsOfLeavingSegment.push(originalReturnedForkContext.segmentsList[j][i]);
|
|
1734
1492
|
}
|
|
1735
1493
|
for (let j = 0; j < originalThrownForContext.segmentsList.length; ++j) {
|
|
1736
1494
|
prevSegsOfLeavingSegment.push(originalThrownForContext.segmentsList[j][i]);
|
|
1737
1495
|
}
|
|
1738
|
-
|
|
1739
1496
|
segments.push(
|
|
1740
1497
|
CodePathSegment.newNext(
|
|
1741
1498
|
this.idGenerator.next(),
|
|
@@ -1743,11 +1500,9 @@ class CodePathState {
|
|
|
1743
1500
|
)
|
|
1744
1501
|
);
|
|
1745
1502
|
}
|
|
1746
|
-
|
|
1747
1503
|
this.pushForkContext(true);
|
|
1748
1504
|
this.forkContext.add(segments);
|
|
1749
1505
|
}
|
|
1750
|
-
|
|
1751
1506
|
/**
|
|
1752
1507
|
* Makes a code path segment from the first throwable node to the `catch`
|
|
1753
1508
|
* block or the `finally` block.
|
|
@@ -1755,28 +1510,22 @@ class CodePathState {
|
|
|
1755
1510
|
*/
|
|
1756
1511
|
makeFirstThrowablePathInTryBlock() {
|
|
1757
1512
|
const forkContext = this.forkContext;
|
|
1758
|
-
|
|
1759
1513
|
if (!forkContext.reachable) {
|
|
1760
1514
|
return;
|
|
1761
1515
|
}
|
|
1762
|
-
|
|
1763
1516
|
const context = getThrowContext(this);
|
|
1764
|
-
|
|
1765
1517
|
if (context === this ||
|
|
1766
1518
|
context.position !== "try" ||
|
|
1767
1519
|
!context.thrownForkContext.empty
|
|
1768
1520
|
) {
|
|
1769
1521
|
return;
|
|
1770
1522
|
}
|
|
1771
|
-
|
|
1772
1523
|
context.thrownForkContext.add(forkContext.head);
|
|
1773
1524
|
forkContext.replaceHead(forkContext.makeNext(-1, -1));
|
|
1774
1525
|
}
|
|
1775
|
-
|
|
1776
1526
|
//--------------------------------------------------------------------------
|
|
1777
1527
|
// Loop Statements
|
|
1778
1528
|
//--------------------------------------------------------------------------
|
|
1779
|
-
|
|
1780
1529
|
/**
|
|
1781
1530
|
* Creates a context object of a loop statement and stacks it.
|
|
1782
1531
|
* @param {string} type The type of the node which was triggered. One of
|
|
@@ -1788,40 +1537,32 @@ class CodePathState {
|
|
|
1788
1537
|
*/
|
|
1789
1538
|
pushLoopContext(type, label) {
|
|
1790
1539
|
const forkContext = this.forkContext;
|
|
1791
|
-
|
|
1792
1540
|
// All loops need a path to account for `break` statements
|
|
1793
1541
|
const breakContext = this.pushBreakContext(true, label);
|
|
1794
|
-
|
|
1795
1542
|
switch (type) {
|
|
1796
1543
|
case "WhileStatement":
|
|
1797
1544
|
this.pushChoiceContext("loop", false);
|
|
1798
1545
|
this.loopContext = new WhileLoopContext(this.loopContext, label, breakContext);
|
|
1799
1546
|
break;
|
|
1800
|
-
|
|
1801
1547
|
case "DoWhileStatement":
|
|
1802
1548
|
this.pushChoiceContext("loop", false);
|
|
1803
1549
|
this.loopContext = new DoWhileLoopContext(this.loopContext, label, breakContext, forkContext);
|
|
1804
1550
|
break;
|
|
1805
|
-
|
|
1806
1551
|
case "ForStatement":
|
|
1807
1552
|
this.pushChoiceContext("loop", false);
|
|
1808
1553
|
this.loopContext = new ForLoopContext(this.loopContext, label, breakContext);
|
|
1809
1554
|
break;
|
|
1810
|
-
|
|
1811
1555
|
case "ForInStatement":
|
|
1812
1556
|
this.loopContext = new ForInLoopContext(this.loopContext, label, breakContext);
|
|
1813
1557
|
break;
|
|
1814
|
-
|
|
1815
1558
|
case "ForOfStatement":
|
|
1816
1559
|
this.loopContext = new ForOfLoopContext(this.loopContext, label, breakContext);
|
|
1817
1560
|
break;
|
|
1818
|
-
|
|
1819
1561
|
/* c8 ignore next */
|
|
1820
1562
|
default:
|
|
1821
1563
|
throw new Error(`unknown type: "${type}"`);
|
|
1822
1564
|
}
|
|
1823
1565
|
}
|
|
1824
|
-
|
|
1825
1566
|
/**
|
|
1826
1567
|
* Pops the last context of a loop statement and finalizes it.
|
|
1827
1568
|
* @throws {Error} (Unreachable - unknown type.)
|
|
@@ -1829,18 +1570,14 @@ class CodePathState {
|
|
|
1829
1570
|
*/
|
|
1830
1571
|
popLoopContext() {
|
|
1831
1572
|
const context = this.loopContext;
|
|
1832
|
-
|
|
1833
1573
|
this.loopContext = context.upper;
|
|
1834
|
-
|
|
1835
1574
|
const forkContext = this.forkContext;
|
|
1836
1575
|
const brokenForkContext = this.popBreakContext().brokenForkContext;
|
|
1837
|
-
|
|
1838
1576
|
// Creates a looped path.
|
|
1839
1577
|
switch (context.type) {
|
|
1840
1578
|
case "WhileStatement":
|
|
1841
1579
|
case "ForStatement":
|
|
1842
1580
|
this.popChoiceContext();
|
|
1843
|
-
|
|
1844
1581
|
/*
|
|
1845
1582
|
* Creates the path from the end of the loop body up to the
|
|
1846
1583
|
* location where `continue` would jump to.
|
|
@@ -1851,15 +1588,12 @@ class CodePathState {
|
|
|
1851
1588
|
context.continueDestSegments
|
|
1852
1589
|
);
|
|
1853
1590
|
break;
|
|
1854
|
-
|
|
1855
1591
|
case "DoWhileStatement": {
|
|
1856
1592
|
const choiceContext = this.popChoiceContext();
|
|
1857
|
-
|
|
1858
1593
|
if (!choiceContext.processed) {
|
|
1859
1594
|
choiceContext.trueForkContext.add(forkContext.head);
|
|
1860
1595
|
choiceContext.falseForkContext.add(forkContext.head);
|
|
1861
1596
|
}
|
|
1862
|
-
|
|
1863
1597
|
/*
|
|
1864
1598
|
* If this isn't a hardcoded `true` condition, then `break`
|
|
1865
1599
|
* should continue down the path as if the condition evaluated
|
|
@@ -1868,14 +1602,12 @@ class CodePathState {
|
|
|
1868
1602
|
if (context.test !== true) {
|
|
1869
1603
|
brokenForkContext.addAll(choiceContext.falseForkContext);
|
|
1870
1604
|
}
|
|
1871
|
-
|
|
1872
1605
|
/*
|
|
1873
1606
|
* When the condition is true, the loop continues back to the top,
|
|
1874
1607
|
* so create a path from each possible true condition back to the
|
|
1875
1608
|
* top of the loop.
|
|
1876
1609
|
*/
|
|
1877
1610
|
const segmentsList = choiceContext.trueForkContext.segmentsList;
|
|
1878
|
-
|
|
1879
1611
|
for (let i = 0; i < segmentsList.length; ++i) {
|
|
1880
1612
|
makeLooped(
|
|
1881
1613
|
this,
|
|
@@ -1885,11 +1617,9 @@ class CodePathState {
|
|
|
1885
1617
|
}
|
|
1886
1618
|
break;
|
|
1887
1619
|
}
|
|
1888
|
-
|
|
1889
1620
|
case "ForInStatement":
|
|
1890
1621
|
case "ForOfStatement":
|
|
1891
1622
|
brokenForkContext.add(forkContext.head);
|
|
1892
|
-
|
|
1893
1623
|
/*
|
|
1894
1624
|
* Creates the path from the end of the loop body up to the
|
|
1895
1625
|
* left expression (left of `in` or `of`) of the loop.
|
|
@@ -1900,12 +1630,10 @@ class CodePathState {
|
|
|
1900
1630
|
context.leftSegments
|
|
1901
1631
|
);
|
|
1902
1632
|
break;
|
|
1903
|
-
|
|
1904
1633
|
/* c8 ignore next */
|
|
1905
1634
|
default:
|
|
1906
1635
|
throw new Error("unreachable");
|
|
1907
1636
|
}
|
|
1908
|
-
|
|
1909
1637
|
/*
|
|
1910
1638
|
* If there wasn't a `break` statement in the loop, then we're at
|
|
1911
1639
|
* the end of the loop's path, so we make an unreachable segment
|
|
@@ -1920,7 +1648,6 @@ class CodePathState {
|
|
|
1920
1648
|
forkContext.replaceHead(brokenForkContext.makeNext(0, -1));
|
|
1921
1649
|
}
|
|
1922
1650
|
}
|
|
1923
|
-
|
|
1924
1651
|
/**
|
|
1925
1652
|
* Makes a code path segment for the test part of a WhileStatement.
|
|
1926
1653
|
* @param {boolean|undefined} test The test value (only when constant).
|
|
@@ -1930,13 +1657,11 @@ class CodePathState {
|
|
|
1930
1657
|
const context = this.loopContext;
|
|
1931
1658
|
const forkContext = this.forkContext;
|
|
1932
1659
|
const testSegments = forkContext.makeNext(0, -1);
|
|
1933
|
-
|
|
1934
1660
|
// Update state.
|
|
1935
1661
|
context.test = test;
|
|
1936
1662
|
context.continueDestSegments = testSegments;
|
|
1937
1663
|
forkContext.replaceHead(testSegments);
|
|
1938
1664
|
}
|
|
1939
|
-
|
|
1940
1665
|
/**
|
|
1941
1666
|
* Makes a code path segment for the body part of a WhileStatement.
|
|
1942
1667
|
* @returns {void}
|
|
@@ -1945,12 +1670,10 @@ class CodePathState {
|
|
|
1945
1670
|
const context = this.loopContext;
|
|
1946
1671
|
const choiceContext = this.choiceContext;
|
|
1947
1672
|
const forkContext = this.forkContext;
|
|
1948
|
-
|
|
1949
1673
|
if (!choiceContext.processed) {
|
|
1950
1674
|
choiceContext.trueForkContext.add(forkContext.head);
|
|
1951
1675
|
choiceContext.falseForkContext.add(forkContext.head);
|
|
1952
1676
|
}
|
|
1953
|
-
|
|
1954
1677
|
/*
|
|
1955
1678
|
* If this isn't a hardcoded `true` condition, then `break`
|
|
1956
1679
|
* should continue down the path as if the condition evaluated
|
|
@@ -1961,7 +1684,6 @@ class CodePathState {
|
|
|
1961
1684
|
}
|
|
1962
1685
|
forkContext.replaceHead(choiceContext.trueForkContext.makeNext(0, -1));
|
|
1963
1686
|
}
|
|
1964
|
-
|
|
1965
1687
|
/**
|
|
1966
1688
|
* Makes a code path segment for the body part of a DoWhileStatement.
|
|
1967
1689
|
* @returns {void}
|
|
@@ -1970,12 +1692,10 @@ class CodePathState {
|
|
|
1970
1692
|
const context = this.loopContext;
|
|
1971
1693
|
const forkContext = this.forkContext;
|
|
1972
1694
|
const bodySegments = forkContext.makeNext(-1, -1);
|
|
1973
|
-
|
|
1974
1695
|
// Update state.
|
|
1975
1696
|
context.entrySegments = bodySegments;
|
|
1976
1697
|
forkContext.replaceHead(bodySegments);
|
|
1977
1698
|
}
|
|
1978
|
-
|
|
1979
1699
|
/**
|
|
1980
1700
|
* Makes a code path segment for the test part of a DoWhileStatement.
|
|
1981
1701
|
* @param {boolean|undefined} test The test value (only when constant).
|
|
@@ -1984,9 +1704,7 @@ class CodePathState {
|
|
|
1984
1704
|
makeDoWhileTest(test) {
|
|
1985
1705
|
const context = this.loopContext;
|
|
1986
1706
|
const forkContext = this.forkContext;
|
|
1987
|
-
|
|
1988
1707
|
context.test = test;
|
|
1989
|
-
|
|
1990
1708
|
/*
|
|
1991
1709
|
* If there is a `continue` statement in the loop then `continueForkContext`
|
|
1992
1710
|
* won't be empty. We wire up the path from `continue` to the loop
|
|
@@ -1995,11 +1713,9 @@ class CodePathState {
|
|
|
1995
1713
|
if (!context.continueForkContext.empty) {
|
|
1996
1714
|
context.continueForkContext.add(forkContext.head);
|
|
1997
1715
|
const testSegments = context.continueForkContext.makeNext(0, -1);
|
|
1998
|
-
|
|
1999
1716
|
forkContext.replaceHead(testSegments);
|
|
2000
1717
|
}
|
|
2001
1718
|
}
|
|
2002
|
-
|
|
2003
1719
|
/**
|
|
2004
1720
|
* Makes a code path segment for the test part of a ForStatement.
|
|
2005
1721
|
* @param {boolean|undefined} test The test value (only when constant).
|
|
@@ -2010,7 +1726,6 @@ class CodePathState {
|
|
|
2010
1726
|
const forkContext = this.forkContext;
|
|
2011
1727
|
const endOfInitSegments = forkContext.head;
|
|
2012
1728
|
const testSegments = forkContext.makeNext(-1, -1);
|
|
2013
|
-
|
|
2014
1729
|
/*
|
|
2015
1730
|
* Update the state.
|
|
2016
1731
|
*
|
|
@@ -2024,7 +1739,6 @@ class CodePathState {
|
|
|
2024
1739
|
context.continueDestSegments = context.testSegments = testSegments;
|
|
2025
1740
|
forkContext.replaceHead(testSegments);
|
|
2026
1741
|
}
|
|
2027
|
-
|
|
2028
1742
|
/**
|
|
2029
1743
|
* Makes a code path segment for the update part of a ForStatement.
|
|
2030
1744
|
* @returns {void}
|
|
@@ -2033,7 +1747,6 @@ class CodePathState {
|
|
|
2033
1747
|
const context = this.loopContext;
|
|
2034
1748
|
const choiceContext = this.choiceContext;
|
|
2035
1749
|
const forkContext = this.forkContext;
|
|
2036
|
-
|
|
2037
1750
|
// Make the next paths of the test.
|
|
2038
1751
|
if (context.testSegments) {
|
|
2039
1752
|
finalizeTestSegmentsOfFor(
|
|
@@ -2044,7 +1757,6 @@ class CodePathState {
|
|
|
2044
1757
|
} else {
|
|
2045
1758
|
context.endOfInitSegments = forkContext.head;
|
|
2046
1759
|
}
|
|
2047
|
-
|
|
2048
1760
|
/*
|
|
2049
1761
|
* Update the state.
|
|
2050
1762
|
*
|
|
@@ -2054,11 +1766,9 @@ class CodePathState {
|
|
|
2054
1766
|
* test expression the loop might have.
|
|
2055
1767
|
*/
|
|
2056
1768
|
const updateSegments = forkContext.makeDisconnected(-1, -1);
|
|
2057
|
-
|
|
2058
1769
|
context.continueDestSegments = context.updateSegments = updateSegments;
|
|
2059
1770
|
forkContext.replaceHead(updateSegments);
|
|
2060
1771
|
}
|
|
2061
|
-
|
|
2062
1772
|
/**
|
|
2063
1773
|
* Makes a code path segment for the body part of a ForStatement.
|
|
2064
1774
|
* @returns {void}
|
|
@@ -2067,7 +1777,6 @@ class CodePathState {
|
|
|
2067
1777
|
const context = this.loopContext;
|
|
2068
1778
|
const choiceContext = this.choiceContext;
|
|
2069
1779
|
const forkContext = this.forkContext;
|
|
2070
|
-
|
|
2071
1780
|
/*
|
|
2072
1781
|
* Determine what to do based on which part of the `for` loop are present.
|
|
2073
1782
|
* 1. If there is an update expression, then `updateSegments` is not null and
|
|
@@ -2081,7 +1790,6 @@ class CodePathState {
|
|
|
2081
1790
|
*/
|
|
2082
1791
|
if (context.updateSegments) {
|
|
2083
1792
|
context.endOfUpdateSegments = forkContext.head;
|
|
2084
|
-
|
|
2085
1793
|
/*
|
|
2086
1794
|
* In a `for` loop that has both an update expression and a test
|
|
2087
1795
|
* condition, execution flows from the test expression into the
|
|
@@ -2108,9 +1816,7 @@ class CodePathState {
|
|
|
2108
1816
|
} else {
|
|
2109
1817
|
context.endOfInitSegments = forkContext.head;
|
|
2110
1818
|
}
|
|
2111
|
-
|
|
2112
1819
|
let bodySegments = context.endOfTestSegments;
|
|
2113
|
-
|
|
2114
1820
|
/*
|
|
2115
1821
|
* If there is a test condition, then there `endOfTestSegments` is also
|
|
2116
1822
|
* the start of the loop body. If there isn't a test condition then
|
|
@@ -2122,17 +1828,13 @@ class CodePathState {
|
|
|
2122
1828
|
* body segments.
|
|
2123
1829
|
*/
|
|
2124
1830
|
if (!bodySegments) {
|
|
2125
|
-
|
|
2126
1831
|
const prevForkContext = ForkContext.newEmpty(forkContext);
|
|
2127
|
-
|
|
2128
1832
|
prevForkContext.add(context.endOfInitSegments);
|
|
2129
1833
|
if (context.endOfUpdateSegments) {
|
|
2130
1834
|
prevForkContext.add(context.endOfUpdateSegments);
|
|
2131
1835
|
}
|
|
2132
|
-
|
|
2133
1836
|
bodySegments = prevForkContext.makeNext(0, -1);
|
|
2134
1837
|
}
|
|
2135
|
-
|
|
2136
1838
|
/*
|
|
2137
1839
|
* If there was no test condition and no update expression, then
|
|
2138
1840
|
* `continueDestSegments` will be null. In that case, a
|
|
@@ -2140,11 +1842,9 @@ class CodePathState {
|
|
|
2140
1842
|
* Otherwise, we want to keep the current `continueDestSegments`.
|
|
2141
1843
|
*/
|
|
2142
1844
|
context.continueDestSegments = context.continueDestSegments || bodySegments;
|
|
2143
|
-
|
|
2144
1845
|
// move pointer to the body
|
|
2145
1846
|
forkContext.replaceHead(bodySegments);
|
|
2146
1847
|
}
|
|
2147
|
-
|
|
2148
1848
|
/**
|
|
2149
1849
|
* Makes a code path segment for the left part of a ForInStatement and a
|
|
2150
1850
|
* ForOfStatement.
|
|
@@ -2154,13 +1854,11 @@ class CodePathState {
|
|
|
2154
1854
|
const context = this.loopContext;
|
|
2155
1855
|
const forkContext = this.forkContext;
|
|
2156
1856
|
const leftSegments = forkContext.makeDisconnected(-1, -1);
|
|
2157
|
-
|
|
2158
1857
|
// Update state.
|
|
2159
1858
|
context.prevSegments = forkContext.head;
|
|
2160
1859
|
context.leftSegments = context.continueDestSegments = leftSegments;
|
|
2161
1860
|
forkContext.replaceHead(leftSegments);
|
|
2162
1861
|
}
|
|
2163
|
-
|
|
2164
1862
|
/**
|
|
2165
1863
|
* Makes a code path segment for the right part of a ForInStatement and a
|
|
2166
1864
|
* ForOfStatement.
|
|
@@ -2170,15 +1868,12 @@ class CodePathState {
|
|
|
2170
1868
|
const context = this.loopContext;
|
|
2171
1869
|
const forkContext = this.forkContext;
|
|
2172
1870
|
const temp = ForkContext.newEmpty(forkContext);
|
|
2173
|
-
|
|
2174
1871
|
temp.add(context.prevSegments);
|
|
2175
1872
|
const rightSegments = temp.makeNext(-1, -1);
|
|
2176
|
-
|
|
2177
1873
|
// Update state.
|
|
2178
1874
|
context.endOfLeftSegments = forkContext.head;
|
|
2179
1875
|
forkContext.replaceHead(rightSegments);
|
|
2180
1876
|
}
|
|
2181
|
-
|
|
2182
1877
|
/**
|
|
2183
1878
|
* Makes a code path segment for the body part of a ForInStatement and a
|
|
2184
1879
|
* ForOfStatement.
|
|
@@ -2188,22 +1883,17 @@ class CodePathState {
|
|
|
2188
1883
|
const context = this.loopContext;
|
|
2189
1884
|
const forkContext = this.forkContext;
|
|
2190
1885
|
const temp = ForkContext.newEmpty(forkContext);
|
|
2191
|
-
|
|
2192
1886
|
temp.add(context.endOfLeftSegments);
|
|
2193
1887
|
const bodySegments = temp.makeNext(-1, -1);
|
|
2194
|
-
|
|
2195
1888
|
// Make a path: `right` -> `left`.
|
|
2196
1889
|
makeLooped(this, forkContext.head, context.leftSegments);
|
|
2197
|
-
|
|
2198
1890
|
// Update state.
|
|
2199
1891
|
context.brokenForkContext.add(forkContext.head);
|
|
2200
1892
|
forkContext.replaceHead(bodySegments);
|
|
2201
1893
|
}
|
|
2202
|
-
|
|
2203
1894
|
//--------------------------------------------------------------------------
|
|
2204
1895
|
// Control Statements
|
|
2205
1896
|
//--------------------------------------------------------------------------
|
|
2206
|
-
|
|
2207
1897
|
/**
|
|
2208
1898
|
* Creates new context in which a `break` statement can be used. This occurs inside of a loop,
|
|
2209
1899
|
* labeled statement, or switch statement.
|
|
@@ -2216,7 +1906,6 @@ class CodePathState {
|
|
|
2216
1906
|
this.breakContext = new BreakContext(this.breakContext, breakable, label, this.forkContext);
|
|
2217
1907
|
return this.breakContext;
|
|
2218
1908
|
}
|
|
2219
|
-
|
|
2220
1909
|
/**
|
|
2221
1910
|
* Removes the top item of the break context stack.
|
|
2222
1911
|
* @returns {Object} The removed context.
|
|
@@ -2224,22 +1913,17 @@ class CodePathState {
|
|
|
2224
1913
|
popBreakContext() {
|
|
2225
1914
|
const context = this.breakContext;
|
|
2226
1915
|
const forkContext = this.forkContext;
|
|
2227
|
-
|
|
2228
1916
|
this.breakContext = context.upper;
|
|
2229
|
-
|
|
2230
1917
|
// Process this context here for other than switches and loops.
|
|
2231
1918
|
if (!context.breakable) {
|
|
2232
1919
|
const brokenForkContext = context.brokenForkContext;
|
|
2233
|
-
|
|
2234
1920
|
if (!brokenForkContext.empty) {
|
|
2235
1921
|
brokenForkContext.add(forkContext.head);
|
|
2236
1922
|
forkContext.replaceHead(brokenForkContext.makeNext(0, -1));
|
|
2237
1923
|
}
|
|
2238
1924
|
}
|
|
2239
|
-
|
|
2240
1925
|
return context;
|
|
2241
1926
|
}
|
|
2242
|
-
|
|
2243
1927
|
/**
|
|
2244
1928
|
* Makes a path for a `break` statement.
|
|
2245
1929
|
*
|
|
@@ -2250,22 +1934,16 @@ class CodePathState {
|
|
|
2250
1934
|
*/
|
|
2251
1935
|
makeBreak(label) {
|
|
2252
1936
|
const forkContext = this.forkContext;
|
|
2253
|
-
|
|
2254
1937
|
if (!forkContext.reachable) {
|
|
2255
1938
|
return;
|
|
2256
1939
|
}
|
|
2257
|
-
|
|
2258
1940
|
const context = getBreakContext(this, label);
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
if (context) {
|
|
1941
|
+
if (_context) {
|
|
2262
1942
|
context.brokenForkContext.add(forkContext.head);
|
|
2263
1943
|
}
|
|
2264
|
-
|
|
2265
1944
|
/* c8 ignore next */
|
|
2266
1945
|
forkContext.replaceHead(forkContext.makeUnreachable(-1, -1));
|
|
2267
1946
|
}
|
|
2268
|
-
|
|
2269
1947
|
/**
|
|
2270
1948
|
* Makes a path for a `continue` statement.
|
|
2271
1949
|
*
|
|
@@ -2276,17 +1954,13 @@ class CodePathState {
|
|
|
2276
1954
|
*/
|
|
2277
1955
|
makeContinue(label) {
|
|
2278
1956
|
const forkContext = this.forkContext;
|
|
2279
|
-
|
|
2280
1957
|
if (!forkContext.reachable) {
|
|
2281
1958
|
return;
|
|
2282
1959
|
}
|
|
2283
|
-
|
|
2284
1960
|
const context = getContinueContext(this, label);
|
|
2285
|
-
|
|
2286
|
-
if (context) {
|
|
1961
|
+
if (_context) {
|
|
2287
1962
|
if (context.continueDestSegments) {
|
|
2288
1963
|
makeLooped(this, forkContext.head, context.continueDestSegments);
|
|
2289
|
-
|
|
2290
1964
|
// If the context is a for-in/of loop, this affects a break also.
|
|
2291
1965
|
if (context.type === "ForInStatement" ||
|
|
2292
1966
|
context.type === "ForOfStatement"
|
|
@@ -2299,7 +1973,6 @@ class CodePathState {
|
|
|
2299
1973
|
}
|
|
2300
1974
|
forkContext.replaceHead(forkContext.makeUnreachable(-1, -1));
|
|
2301
1975
|
}
|
|
2302
|
-
|
|
2303
1976
|
/**
|
|
2304
1977
|
* Makes a path for a `return` statement.
|
|
2305
1978
|
*
|
|
@@ -2309,13 +1982,11 @@ class CodePathState {
|
|
|
2309
1982
|
*/
|
|
2310
1983
|
makeReturn() {
|
|
2311
1984
|
const forkContext = this.forkContext;
|
|
2312
|
-
|
|
2313
1985
|
if (forkContext.reachable) {
|
|
2314
1986
|
getReturnContext(this).returnedForkContext.add(forkContext.head);
|
|
2315
1987
|
forkContext.replaceHead(forkContext.makeUnreachable(-1, -1));
|
|
2316
1988
|
}
|
|
2317
1989
|
}
|
|
2318
|
-
|
|
2319
1990
|
/**
|
|
2320
1991
|
* Makes a path for a `throw` statement.
|
|
2321
1992
|
*
|
|
@@ -2325,24 +1996,20 @@ class CodePathState {
|
|
|
2325
1996
|
*/
|
|
2326
1997
|
makeThrow() {
|
|
2327
1998
|
const forkContext = this.forkContext;
|
|
2328
|
-
|
|
2329
1999
|
if (forkContext.reachable) {
|
|
2330
2000
|
getThrowContext(this).thrownForkContext.add(forkContext.head);
|
|
2331
2001
|
forkContext.replaceHead(forkContext.makeUnreachable(-1, -1));
|
|
2332
2002
|
}
|
|
2333
2003
|
}
|
|
2334
|
-
|
|
2335
2004
|
/**
|
|
2336
2005
|
* Makes the final path.
|
|
2337
2006
|
* @returns {void}
|
|
2338
2007
|
*/
|
|
2339
2008
|
makeFinal() {
|
|
2340
2009
|
const segments = this.currentSegments;
|
|
2341
|
-
|
|
2342
2010
|
if (segments.length > 0 && segments[0].reachable) {
|
|
2343
2011
|
this.returnedForkContext.add(segments);
|
|
2344
2012
|
}
|
|
2345
2013
|
}
|
|
2346
2014
|
}
|
|
2347
|
-
|
|
2348
|
-
module.exports = CodePathState;
|
|
2015
|
+
module.exports = CodePathState;
|