claude-flow 2.0.0-alpha.7 → 2.0.0-alpha.71
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/performance-bottlenecks.md +1 -1
- package/.claude/commands/analysis/token-efficiency.md +2 -1
- 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/coordination/init.md +2 -2
- package/.claude/commands/coordination/orchestrate.md +2 -2
- package/.claude/commands/coordination/spawn.md +2 -2
- package/.claude/commands/github/code-review-swarm.md +80 -15
- package/.claude/commands/github/github-modes.md +19 -19
- package/.claude/commands/github/issue-tracker.md +32 -29
- package/.claude/commands/github/multi-repo-swarm.md +114 -16
- 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-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/overview.md +2 -2
- package/.claude/commands/hooks/setup.md +7 -7
- package/.claude/commands/memory/neural.md +11 -6
- package/.claude/commands/memory/usage.md +10 -6
- package/.claude/commands/monitoring/agents.md +8 -6
- package/.claude/commands/monitoring/status.md +9 -6
- package/.claude/commands/optimization/auto-topology.md +15 -3
- package/.claude/commands/optimization/parallel-execution.md +9 -3
- package/.claude/commands/sparc/analyzer.md +41 -68
- package/.claude/commands/sparc/architect.md +42 -67
- package/.claude/commands/sparc/batch-executor.md +44 -68
- package/.claude/commands/sparc/coder.md +44 -69
- package/.claude/commands/sparc/debugger.md +43 -67
- package/.claude/commands/sparc/designer.md +42 -66
- package/.claude/commands/sparc/documenter.md +43 -66
- package/.claude/commands/sparc/innovator.md +43 -67
- 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/researcher.md +43 -68
- package/.claude/commands/sparc/reviewer.md +43 -67
- package/.claude/commands/sparc/sparc-modes.md +145 -333
- package/.claude/commands/sparc/swarm-coordinator.md +44 -67
- package/.claude/commands/sparc/tdd.md +44 -68
- package/.claude/commands/sparc/tester.md +43 -67
- package/.claude/commands/sparc/workflow-manager.md +44 -67
- 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/neural-patterns.md +29 -4
- package/.claude/commands/training/specialization.md +15 -5
- package/.claude/commands/workflows/development.md +47 -8
- package/.claude/commands/workflows/research.md +30 -6
- package/.claude/config.json +32 -11
- package/.claude/jq-validation.log +4 -0
- package/.claude/optimized-settings.json +270 -0
- package/.claude/settings-enhanced.json +278 -0
- package/.claude/settings.json +51 -64
- package/.claude/settings.local.json +12 -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/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 +1139 -321
- 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/adapters/cliffy-node.d.ts +0 -45
- package/dist/adapters/cliffy-node.d.ts.map +0 -1
- package/dist/adapters/cliffy-node.js +0 -61
- package/dist/adapters/cliffy-node.js.map +0 -1
- package/dist/agents/agent-manager.d.ts +0 -191
- package/dist/agents/agent-manager.d.ts.map +0 -1
- package/dist/agents/agent-manager.js +0 -969
- package/dist/agents/agent-manager.js.map +0 -1
- package/dist/agents/agent-registry.d.ts +0 -112
- package/dist/agents/agent-registry.d.ts.map +0 -1
- package/dist/agents/agent-registry.js +0 -341
- package/dist/agents/agent-registry.js.map +0 -1
- package/dist/cli/agents/analyst.d.ts +0 -28
- package/dist/cli/agents/analyst.d.ts.map +0 -1
- package/dist/cli/agents/analyst.js +0 -718
- package/dist/cli/agents/analyst.js.map +0 -1
- package/dist/cli/agents/architect.d.ts +0 -27
- package/dist/cli/agents/architect.d.ts.map +0 -1
- package/dist/cli/agents/architect.js +0 -729
- package/dist/cli/agents/architect.js.map +0 -1
- package/dist/cli/agents/base-agent.d.ts +0 -80
- package/dist/cli/agents/base-agent.d.ts.map +0 -1
- package/dist/cli/agents/base-agent.js +0 -385
- package/dist/cli/agents/base-agent.js.map +0 -1
- package/dist/cli/agents/capabilities.d.ts +0 -106
- package/dist/cli/agents/capabilities.d.ts.map +0 -1
- package/dist/cli/agents/capabilities.js +0 -556
- package/dist/cli/agents/capabilities.js.map +0 -1
- package/dist/cli/agents/coder.d.ts +0 -34
- package/dist/cli/agents/coder.d.ts.map +0 -1
- package/dist/cli/agents/coder.js +0 -806
- package/dist/cli/agents/coder.js.map +0 -1
- package/dist/cli/agents/coordinator.d.ts +0 -25
- package/dist/cli/agents/coordinator.d.ts.map +0 -1
- package/dist/cli/agents/coordinator.js +0 -454
- package/dist/cli/agents/coordinator.js.map +0 -1
- package/dist/cli/agents/hive-agents.d.ts +0 -85
- package/dist/cli/agents/hive-agents.d.ts.map +0 -1
- package/dist/cli/agents/hive-agents.js +0 -549
- package/dist/cli/agents/hive-agents.js.map +0 -1
- package/dist/cli/agents/index.d.ts +0 -111
- package/dist/cli/agents/index.d.ts.map +0 -1
- package/dist/cli/agents/index.js +0 -276
- package/dist/cli/agents/index.js.map +0 -1
- package/dist/cli/agents/researcher.d.ts +0 -24
- package/dist/cli/agents/researcher.d.ts.map +0 -1
- package/dist/cli/agents/researcher.js +0 -356
- package/dist/cli/agents/researcher.js.map +0 -1
- package/dist/cli/agents/tester.d.ts +0 -27
- package/dist/cli/agents/tester.d.ts.map +0 -1
- package/dist/cli/agents/tester.js +0 -594
- package/dist/cli/agents/tester.js.map +0 -1
- package/dist/cli/cli-core.d.ts +0 -49
- package/dist/cli/cli-core.d.ts.map +0 -1
- package/dist/cli/cli-core.js +0 -263
- package/dist/cli/cli-core.js.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.d.ts +0 -2
- package/dist/cli/commands/advanced-memory-commands.d.ts.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.js +0 -849
- package/dist/cli/commands/advanced-memory-commands.js.map +0 -1
- package/dist/cli/commands/agent-simple.d.ts +0 -12
- package/dist/cli/commands/agent-simple.d.ts.map +0 -1
- package/dist/cli/commands/agent-simple.js +0 -353
- package/dist/cli/commands/agent-simple.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -7
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -369
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/claude.d.ts +0 -3
- package/dist/cli/commands/claude.d.ts.map +0 -1
- package/dist/cli/commands/claude.js +0 -154
- package/dist/cli/commands/claude.js.map +0 -1
- package/dist/cli/commands/config-integration.d.ts +0 -10
- package/dist/cli/commands/config-integration.d.ts.map +0 -1
- package/dist/cli/commands/config-integration.js +0 -416
- package/dist/cli/commands/config-integration.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -5
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -89
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/enterprise.d.ts +0 -3
- package/dist/cli/commands/enterprise.d.ts.map +0 -1
- package/dist/cli/commands/enterprise.js +0 -1486
- package/dist/cli/commands/enterprise.js.map +0 -1
- package/dist/cli/commands/help.d.ts +0 -6
- package/dist/cli/commands/help.d.ts.map +0 -1
- package/dist/cli/commands/help.js +0 -786
- package/dist/cli/commands/help.js.map +0 -1
- package/dist/cli/commands/hive-mind/index.d.ts +0 -15
- package/dist/cli/commands/hive-mind/index.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/index.js +0 -22
- package/dist/cli/commands/hive-mind/index.js.map +0 -1
- package/dist/cli/commands/hive-mind/init.d.ts +0 -10
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts +0 -8
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.js +0 -391
- package/dist/cli/commands/hive-mind/optimize-memory.js.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.d.ts +0 -10
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.js +0 -147
- package/dist/cli/commands/hive-mind/spawn.js.map +0 -1
- package/dist/cli/commands/hive-mind/status.d.ts +0 -10
- package/dist/cli/commands/hive-mind/status.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/status.js +0 -209
- package/dist/cli/commands/hive-mind/status.js.map +0 -1
- package/dist/cli/commands/hive-mind/task.d.ts +0 -10
- package/dist/cli/commands/hive-mind/task.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/task.js +0 -288
- package/dist/cli/commands/hive-mind/task.js.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts +0 -10
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.js +0 -513
- package/dist/cli/commands/hive-mind/wizard.js.map +0 -1
- package/dist/cli/commands/hive.d.ts +0 -6
- package/dist/cli/commands/hive.d.ts.map +0 -1
- package/dist/cli/commands/hive.js +0 -374
- package/dist/cli/commands/hive.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -3
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -2416
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/mcp.d.ts +0 -6
- package/dist/cli/commands/mcp.d.ts.map +0 -1
- package/dist/cli/commands/mcp.js +0 -177
- package/dist/cli/commands/mcp.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -30
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -6
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -6
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -477
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/ruv-swarm.d.ts +0 -10
- package/dist/cli/commands/ruv-swarm.d.ts.map +0 -1
- package/dist/cli/commands/ruv-swarm.js +0 -563
- package/dist/cli/commands/ruv-swarm.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -6
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -543
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/sparc.d.ts +0 -3
- package/dist/cli/commands/sparc.d.ts.map +0 -1
- package/dist/cli/commands/sparc.js +0 -452
- package/dist/cli/commands/sparc.js.map +0 -1
- package/dist/cli/commands/start/event-emitter.d.ts +0 -13
- package/dist/cli/commands/start/event-emitter.d.ts.map +0 -1
- package/dist/cli/commands/start/event-emitter.js +0 -35
- package/dist/cli/commands/start/event-emitter.js.map +0 -1
- package/dist/cli/commands/start/index.d.ts +0 -10
- package/dist/cli/commands/start/index.d.ts.map +0 -1
- package/dist/cli/commands/start/index.js +0 -9
- package/dist/cli/commands/start/index.js.map +0 -1
- package/dist/cli/commands/start/process-manager.d.ts +0 -31
- package/dist/cli/commands/start/process-manager.d.ts.map +0 -1
- package/dist/cli/commands/start/process-manager.js +0 -281
- package/dist/cli/commands/start/process-manager.js.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +0 -25
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.js +0 -334
- package/dist/cli/commands/start/process-ui-simple.js.map +0 -1
- package/dist/cli/commands/start/process-ui.d.ts +0 -5
- package/dist/cli/commands/start/process-ui.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui.js +0 -5
- package/dist/cli/commands/start/process-ui.js.map +0 -1
- package/dist/cli/commands/start/start-command.d.ts +0 -6
- package/dist/cli/commands/start/start-command.d.ts.map +0 -1
- package/dist/cli/commands/start/start-command.js +0 -450
- package/dist/cli/commands/start/start-command.js.map +0 -1
- package/dist/cli/commands/start/system-monitor.d.ts +0 -22
- package/dist/cli/commands/start/system-monitor.d.ts.map +0 -1
- package/dist/cli/commands/start/system-monitor.js +0 -267
- package/dist/cli/commands/start/system-monitor.js.map +0 -1
- package/dist/cli/commands/start/types.d.ts +0 -64
- package/dist/cli/commands/start/types.d.ts.map +0 -1
- package/dist/cli/commands/start/types.js +0 -22
- package/dist/cli/commands/start/types.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -6
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -6
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -6
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -312
- package/dist/cli/commands/status.js.map +0 -1
- 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/dist/cli/commands/swarm-spawn.d.ts +0 -24
- package/dist/cli/commands/swarm-spawn.d.ts.map +0 -1
- package/dist/cli/commands/swarm-spawn.js +0 -52
- package/dist/cli/commands/swarm-spawn.js.map +0 -1
- package/dist/cli/commands/swarm.d.ts +0 -3
- package/dist/cli/commands/swarm.d.ts.map +0 -1
- package/dist/cli/commands/swarm.js +0 -460
- package/dist/cli/commands/swarm.js.map +0 -1
- package/dist/cli/commands/task.d.ts +0 -6
- package/dist/cli/commands/task.d.ts.map +0 -1
- package/dist/cli/commands/task.js +0 -72
- package/dist/cli/commands/task.js.map +0 -1
- package/dist/cli/commands/workflow.d.ts +0 -6
- package/dist/cli/commands/workflow.d.ts.map +0 -1
- package/dist/cli/commands/workflow.js +0 -618
- package/dist/cli/commands/workflow.js.map +0 -1
- package/dist/cli/completion.d.ts +0 -16
- package/dist/cli/completion.d.ts.map +0 -1
- package/dist/cli/completion.js +0 -535
- package/dist/cli/completion.js.map +0 -1
- package/dist/cli/formatter.d.ts +0 -66
- package/dist/cli/formatter.d.ts.map +0 -1
- package/dist/cli/formatter.js +0 -277
- package/dist/cli/formatter.js.map +0 -1
- package/dist/cli/index-remote.d.ts +0 -3
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -126
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -197
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/init/batch-tools.d.ts +0 -2
- package/dist/cli/init/batch-tools.d.ts.map +0 -1
- package/dist/cli/init/batch-tools.js +0 -387
- package/dist/cli/init/batch-tools.js.map +0 -1
- package/dist/cli/init/claude-config.d.ts +0 -3
- package/dist/cli/init/claude-config.d.ts.map +0 -1
- package/dist/cli/init/claude-config.js +0 -289
- package/dist/cli/init/claude-config.js.map +0 -1
- package/dist/cli/init/directory-structure.d.ts +0 -2
- package/dist/cli/init/directory-structure.d.ts.map +0 -1
- package/dist/cli/init/directory-structure.js +0 -144
- package/dist/cli/init/directory-structure.js.map +0 -1
- package/dist/cli/init/index.d.ts +0 -6
- package/dist/cli/init/index.d.ts.map +0 -1
- package/dist/cli/init/index.js +0 -52
- package/dist/cli/init/index.js.map +0 -1
- package/dist/cli/init/sparc-environment.d.ts +0 -2
- package/dist/cli/init/sparc-environment.d.ts.map +0 -1
- package/dist/cli/init/sparc-environment.js +0 -426
- package/dist/cli/init/sparc-environment.js.map +0 -1
- package/dist/cli/init/swarm-commands.d.ts +0 -2
- package/dist/cli/init/swarm-commands.d.ts.map +0 -1
- package/dist/cli/init/swarm-commands.js +0 -795
- package/dist/cli/init/swarm-commands.js.map +0 -1
- package/dist/cli/init/utils.d.ts +0 -5
- package/dist/cli/init/utils.d.ts.map +0 -1
- package/dist/cli/init/utils.js +0 -14
- package/dist/cli/init/utils.js.map +0 -1
- package/dist/cli/main.d.ts +0 -3
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -26
- package/dist/cli/main.js.map +0 -1
- package/dist/cli/node-repl.d.ts +0 -5
- package/dist/cli/node-repl.d.ts.map +0 -1
- package/dist/cli/node-repl.js +0 -677
- package/dist/cli/node-repl.js.map +0 -1
- package/dist/cli/repl.d.ts +0 -5
- package/dist/cli/repl.d.ts.map +0 -1
- package/dist/cli/repl.js +0 -909
- package/dist/cli/repl.js.map +0 -1
- package/dist/cli/simple-cli.d.ts +0 -3
- package/dist/cli/simple-cli.d.ts.map +0 -1
- package/dist/cli/simple-cli.js +0 -3059
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-mcp.d.ts +0 -6
- package/dist/cli/simple-mcp.d.ts.map +0 -1
- package/dist/cli/simple-mcp.js +0 -107
- package/dist/cli/simple-mcp.js.map +0 -1
- package/dist/cli/simple-orchestrator.d.ts +0 -16
- package/dist/cli/simple-orchestrator.d.ts.map +0 -1
- package/dist/cli/simple-orchestrator.js +0 -833
- package/dist/cli/simple-orchestrator.js.map +0 -1
- package/dist/cli/ui/compatible-ui.d.ts +0 -45
- package/dist/cli/ui/compatible-ui.d.ts.map +0 -1
- package/dist/cli/ui/compatible-ui.js +0 -318
- package/dist/cli/ui/compatible-ui.js.map +0 -1
- package/dist/cli/ui/fallback-handler.d.ts +0 -26
- package/dist/cli/ui/fallback-handler.d.ts.map +0 -1
- package/dist/cli/ui/fallback-handler.js +0 -163
- package/dist/cli/ui/fallback-handler.js.map +0 -1
- package/dist/cli/ui/index.d.ts +0 -11
- package/dist/cli/ui/index.d.ts.map +0 -1
- package/dist/cli/ui/index.js +0 -33
- package/dist/cli/ui/index.js.map +0 -1
- package/dist/cli/utils/environment-detector.d.ts +0 -52
- package/dist/cli/utils/environment-detector.d.ts.map +0 -1
- package/dist/cli/utils/environment-detector.js +0 -238
- package/dist/cli/utils/environment-detector.js.map +0 -1
- package/dist/cli/utils/prompt-defaults.d.ts +0 -82
- package/dist/cli/utils/prompt-defaults.d.ts.map +0 -1
- package/dist/cli/utils/prompt-defaults.js +0 -253
- package/dist/cli/utils/prompt-defaults.js.map +0 -1
- package/dist/communication/message-bus.d.ts +0 -283
- package/dist/communication/message-bus.d.ts.map +0 -1
- package/dist/communication/message-bus.js +0 -954
- package/dist/communication/message-bus.js.map +0 -1
- package/dist/config/config-manager.d.ts +0 -174
- package/dist/config/config-manager.d.ts.map +0 -1
- package/dist/config/config-manager.js +0 -443
- package/dist/config/config-manager.js.map +0 -1
- package/dist/config/ruv-swarm-config.d.ts +0 -167
- package/dist/config/ruv-swarm-config.d.ts.map +0 -1
- package/dist/config/ruv-swarm-config.js +0 -274
- package/dist/config/ruv-swarm-config.js.map +0 -1
- package/dist/config/ruv-swarm-integration.d.ts +0 -93
- package/dist/config/ruv-swarm-integration.d.ts.map +0 -1
- package/dist/config/ruv-swarm-integration.js +0 -292
- package/dist/config/ruv-swarm-integration.js.map +0 -1
- package/dist/constants/agent-types.d.ts +0 -46
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -50
- package/dist/constants/agent-types.js.map +0 -1
- package/dist/coordination/advanced-scheduler.d.ts +0 -121
- package/dist/coordination/advanced-scheduler.d.ts.map +0 -1
- package/dist/coordination/advanced-scheduler.js +0 -386
- package/dist/coordination/advanced-scheduler.js.map +0 -1
- package/dist/coordination/advanced-task-executor.d.ts +0 -100
- package/dist/coordination/advanced-task-executor.d.ts.map +0 -1
- package/dist/coordination/advanced-task-executor.js +0 -459
- package/dist/coordination/advanced-task-executor.js.map +0 -1
- package/dist/coordination/background-executor.d.ts +0 -69
- package/dist/coordination/background-executor.d.ts.map +0 -1
- package/dist/coordination/background-executor.js +0 -362
- package/dist/coordination/background-executor.js.map +0 -1
- package/dist/coordination/circuit-breaker.d.ts +0 -124
- package/dist/coordination/circuit-breaker.d.ts.map +0 -1
- package/dist/coordination/circuit-breaker.js +0 -298
- package/dist/coordination/circuit-breaker.js.map +0 -1
- package/dist/coordination/conflict-resolution.d.ts +0 -133
- package/dist/coordination/conflict-resolution.d.ts.map +0 -1
- package/dist/coordination/conflict-resolution.js +0 -358
- package/dist/coordination/conflict-resolution.js.map +0 -1
- package/dist/coordination/dependency-graph.d.ts +0 -78
- package/dist/coordination/dependency-graph.d.ts.map +0 -1
- package/dist/coordination/dependency-graph.js +0 -386
- package/dist/coordination/dependency-graph.js.map +0 -1
- package/dist/coordination/hive-orchestrator.d.ts +0 -118
- package/dist/coordination/hive-orchestrator.d.ts.map +0 -1
- package/dist/coordination/hive-orchestrator.js +0 -321
- package/dist/coordination/hive-orchestrator.js.map +0 -1
- package/dist/coordination/hive-protocol.d.ts +0 -117
- package/dist/coordination/hive-protocol.d.ts.map +0 -1
- package/dist/coordination/hive-protocol.js +0 -373
- package/dist/coordination/hive-protocol.js.map +0 -1
- package/dist/coordination/index.d.ts +0 -14
- package/dist/coordination/index.d.ts.map +0 -1
- package/dist/coordination/index.js +0 -21
- package/dist/coordination/index.js.map +0 -1
- package/dist/coordination/load-balancer.d.ts +0 -139
- package/dist/coordination/load-balancer.d.ts.map +0 -1
- package/dist/coordination/load-balancer.js +0 -691
- package/dist/coordination/load-balancer.js.map +0 -1
- package/dist/coordination/manager.d.ts +0 -66
- package/dist/coordination/manager.d.ts.map +0 -1
- package/dist/coordination/manager.js +0 -360
- package/dist/coordination/manager.js.map +0 -1
- package/dist/coordination/messaging.d.ts +0 -37
- package/dist/coordination/messaging.d.ts.map +0 -1
- package/dist/coordination/messaging.js +0 -219
- package/dist/coordination/messaging.js.map +0 -1
- package/dist/coordination/metrics.d.ts +0 -153
- package/dist/coordination/metrics.d.ts.map +0 -1
- package/dist/coordination/metrics.js +0 -434
- package/dist/coordination/metrics.js.map +0 -1
- package/dist/coordination/resources.d.ts +0 -36
- package/dist/coordination/resources.d.ts.map +0 -1
- package/dist/coordination/resources.js +0 -250
- package/dist/coordination/resources.js.map +0 -1
- package/dist/coordination/scheduler.d.ts +0 -48
- package/dist/coordination/scheduler.d.ts.map +0 -1
- package/dist/coordination/scheduler.js +0 -308
- package/dist/coordination/scheduler.js.map +0 -1
- package/dist/coordination/swarm-coordinator.d.ts +0 -116
- package/dist/coordination/swarm-coordinator.d.ts.map +0 -1
- package/dist/coordination/swarm-coordinator.js +0 -565
- package/dist/coordination/swarm-coordinator.js.map +0 -1
- package/dist/coordination/swarm-monitor.d.ts +0 -101
- package/dist/coordination/swarm-monitor.d.ts.map +0 -1
- package/dist/coordination/swarm-monitor.js +0 -340
- package/dist/coordination/swarm-monitor.js.map +0 -1
- package/dist/coordination/work-stealing.d.ts +0 -44
- package/dist/coordination/work-stealing.d.ts.map +0 -1
- package/dist/coordination/work-stealing.js +0 -155
- package/dist/coordination/work-stealing.js.map +0 -1
- package/dist/core/config.d.ts +0 -239
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -1128
- package/dist/core/config.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -60
- package/dist/core/event-bus.d.ts.map +0 -1
- package/dist/core/event-bus.js +0 -153
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/json-persistence.d.ts +0 -52
- package/dist/core/json-persistence.d.ts.map +0 -1
- package/dist/core/json-persistence.js +0 -115
- package/dist/core/json-persistence.js.map +0 -1
- package/dist/core/logger.d.ts +0 -57
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js +0 -253
- package/dist/core/logger.js.map +0 -1
- package/dist/core/orchestrator-fixed.d.ts +0 -81
- package/dist/core/orchestrator-fixed.d.ts.map +0 -1
- package/dist/core/orchestrator-fixed.js +0 -210
- package/dist/core/orchestrator-fixed.js.map +0 -1
- package/dist/core/orchestrator.d.ts +0 -103
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -965
- package/dist/core/orchestrator.js.map +0 -1
- package/dist/core/persistence.d.ts +0 -50
- package/dist/core/persistence.d.ts.map +0 -1
- package/dist/core/persistence.js +0 -186
- package/dist/core/persistence.js.map +0 -1
- package/dist/enterprise/analytics-manager.d.ts +0 -489
- package/dist/enterprise/analytics-manager.d.ts.map +0 -1
- package/dist/enterprise/analytics-manager.js +0 -949
- package/dist/enterprise/analytics-manager.js.map +0 -1
- package/dist/enterprise/audit-manager.d.ts +0 -459
- package/dist/enterprise/audit-manager.d.ts.map +0 -1
- package/dist/enterprise/audit-manager.js +0 -992
- package/dist/enterprise/audit-manager.js.map +0 -1
- package/dist/enterprise/cloud-manager.d.ts +0 -435
- package/dist/enterprise/cloud-manager.d.ts.map +0 -1
- package/dist/enterprise/cloud-manager.js +0 -784
- package/dist/enterprise/cloud-manager.js.map +0 -1
- package/dist/enterprise/deployment-manager.d.ts +0 -328
- package/dist/enterprise/deployment-manager.d.ts.map +0 -1
- package/dist/enterprise/deployment-manager.js +0 -823
- package/dist/enterprise/deployment-manager.js.map +0 -1
- package/dist/enterprise/index.d.ts +0 -13
- package/dist/enterprise/index.d.ts.map +0 -1
- package/dist/enterprise/index.js +0 -7
- package/dist/enterprise/index.js.map +0 -1
- package/dist/enterprise/project-manager.d.ts +0 -228
- package/dist/enterprise/project-manager.d.ts.map +0 -1
- package/dist/enterprise/project-manager.js +0 -529
- package/dist/enterprise/project-manager.js.map +0 -1
- package/dist/enterprise/security-manager.d.ts +0 -422
- package/dist/enterprise/security-manager.d.ts.map +0 -1
- package/dist/enterprise/security-manager.js +0 -902
- package/dist/enterprise/security-manager.js.map +0 -1
- package/dist/hive-mind/core/Agent.d.ts +0 -137
- package/dist/hive-mind/core/Agent.d.ts.map +0 -1
- package/dist/hive-mind/core/Agent.js +0 -567
- package/dist/hive-mind/core/Agent.js.map +0 -1
- package/dist/hive-mind/core/Communication.d.ts +0 -116
- package/dist/hive-mind/core/Communication.d.ts.map +0 -1
- package/dist/hive-mind/core/Communication.js +0 -407
- package/dist/hive-mind/core/Communication.js.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +0 -93
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.js +0 -551
- package/dist/hive-mind/core/DatabaseManager.js.map +0 -1
- package/dist/hive-mind/core/HiveMind.d.ts +0 -90
- package/dist/hive-mind/core/HiveMind.d.ts.map +0 -1
- package/dist/hive-mind/core/HiveMind.js +0 -439
- package/dist/hive-mind/core/HiveMind.js.map +0 -1
- package/dist/hive-mind/core/Memory.d.ts +0 -235
- package/dist/hive-mind/core/Memory.d.ts.map +0 -1
- package/dist/hive-mind/core/Memory.js +0 -1185
- package/dist/hive-mind/core/Memory.js.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.d.ts +0 -183
- package/dist/hive-mind/core/MemoryMonitor.d.ts.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.js +0 -547
- package/dist/hive-mind/core/MemoryMonitor.js.map +0 -1
- package/dist/hive-mind/core/Queen.d.ts +0 -115
- package/dist/hive-mind/core/Queen.d.ts.map +0 -1
- package/dist/hive-mind/core/Queen.js +0 -586
- package/dist/hive-mind/core/Queen.js.map +0 -1
- package/dist/hive-mind/index.d.ts +0 -17
- package/dist/hive-mind/index.d.ts.map +0 -1
- package/dist/hive-mind/index.js +0 -21
- package/dist/hive-mind/index.js.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +0 -117
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +0 -476
- package/dist/hive-mind/integration/ConsensusEngine.js.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +0 -172
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +0 -216
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts +0 -172
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +0 -746
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +0 -1
- package/dist/hive-mind/types.d.ts +0 -298
- package/dist/hive-mind/types.d.ts.map +0 -1
- package/dist/hive-mind/types.js +0 -7
- package/dist/hive-mind/types.js.map +0 -1
- package/dist/integration/mock-components.d.ts +0 -107
- package/dist/integration/mock-components.d.ts.map +0 -1
- package/dist/integration/mock-components.js +0 -357
- package/dist/integration/mock-components.js.map +0 -1
- package/dist/integration/system-integration.d.ts +0 -84
- package/dist/integration/system-integration.d.ts.map +0 -1
- package/dist/integration/system-integration.js +0 -429
- package/dist/integration/system-integration.js.map +0 -1
- package/dist/integration/types.d.ts +0 -119
- package/dist/integration/types.d.ts.map +0 -1
- package/dist/integration/types.js +0 -5
- package/dist/integration/types.js.map +0 -1
- package/dist/mcp/auth.d.ts +0 -80
- package/dist/mcp/auth.d.ts.map +0 -1
- package/dist/mcp/auth.js +0 -343
- package/dist/mcp/auth.js.map +0 -1
- package/dist/mcp/claude-code-wrapper.d.ts +0 -26
- package/dist/mcp/claude-code-wrapper.d.ts.map +0 -1
- package/dist/mcp/claude-code-wrapper.js +0 -598
- package/dist/mcp/claude-code-wrapper.js.map +0 -1
- package/dist/mcp/claude-flow-tools.d.ts +0 -13
- package/dist/mcp/claude-flow-tools.d.ts.map +0 -1
- package/dist/mcp/claude-flow-tools.js +0 -1142
- package/dist/mcp/claude-flow-tools.js.map +0 -1
- package/dist/mcp/client.d.ts +0 -41
- package/dist/mcp/client.d.ts.map +0 -1
- package/dist/mcp/client.js +0 -194
- package/dist/mcp/client.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -134
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js +0 -212
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/integrate-wrapper.d.ts +0 -16
- package/dist/mcp/integrate-wrapper.d.ts.map +0 -1
- package/dist/mcp/integrate-wrapper.js +0 -77
- package/dist/mcp/integrate-wrapper.js.map +0 -1
- package/dist/mcp/lifecycle-manager.d.ts +0 -121
- package/dist/mcp/lifecycle-manager.d.ts.map +0 -1
- package/dist/mcp/lifecycle-manager.js +0 -365
- package/dist/mcp/lifecycle-manager.js.map +0 -1
- package/dist/mcp/load-balancer.d.ts +0 -88
- package/dist/mcp/load-balancer.d.ts.map +0 -1
- package/dist/mcp/load-balancer.js +0 -389
- package/dist/mcp/load-balancer.js.map +0 -1
- package/dist/mcp/orchestration-integration.d.ts +0 -135
- package/dist/mcp/orchestration-integration.d.ts.map +0 -1
- package/dist/mcp/orchestration-integration.js +0 -722
- package/dist/mcp/orchestration-integration.js.map +0 -1
- package/dist/mcp/performance-monitor.d.ts +0 -164
- package/dist/mcp/performance-monitor.d.ts.map +0 -1
- package/dist/mcp/performance-monitor.js +0 -478
- package/dist/mcp/performance-monitor.js.map +0 -1
- package/dist/mcp/protocol-manager.d.ts +0 -88
- package/dist/mcp/protocol-manager.d.ts.map +0 -1
- package/dist/mcp/protocol-manager.js +0 -358
- package/dist/mcp/protocol-manager.js.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.d.ts +0 -69
- package/dist/mcp/recovery/connection-health-monitor.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.js +0 -241
- package/dist/mcp/recovery/connection-health-monitor.js.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.d.ts +0 -102
- package/dist/mcp/recovery/connection-state-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.js +0 -318
- package/dist/mcp/recovery/connection-state-manager.js.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.d.ts +0 -79
- package/dist/mcp/recovery/fallback-coordinator.d.ts.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.js +0 -278
- package/dist/mcp/recovery/fallback-coordinator.js.map +0 -1
- package/dist/mcp/recovery/index.d.ts +0 -10
- package/dist/mcp/recovery/index.d.ts.map +0 -1
- package/dist/mcp/recovery/index.js +0 -10
- package/dist/mcp/recovery/index.js.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.d.ts +0 -69
- package/dist/mcp/recovery/reconnection-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.js +0 -226
- package/dist/mcp/recovery/reconnection-manager.js.map +0 -1
- package/dist/mcp/recovery/recovery-manager.d.ts +0 -93
- package/dist/mcp/recovery/recovery-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/recovery-manager.js +0 -250
- package/dist/mcp/recovery/recovery-manager.js.map +0 -1
- package/dist/mcp/router.d.ts +0 -54
- package/dist/mcp/router.d.ts.map +0 -1
- package/dist/mcp/router.js +0 -201
- package/dist/mcp/router.js.map +0 -1
- package/dist/mcp/ruv-swarm-tools.d.ts +0 -58
- package/dist/mcp/ruv-swarm-tools.d.ts.map +0 -1
- package/dist/mcp/ruv-swarm-tools.js +0 -518
- package/dist/mcp/ruv-swarm-tools.js.map +0 -1
- package/dist/mcp/server-with-wrapper.d.ts +0 -3
- package/dist/mcp/server-with-wrapper.d.ts.map +0 -1
- package/dist/mcp/server-with-wrapper.js +0 -36
- package/dist/mcp/server-with-wrapper.js.map +0 -1
- package/dist/mcp/server-wrapper-mode.d.ts +0 -3
- package/dist/mcp/server-wrapper-mode.d.ts.map +0 -1
- package/dist/mcp/server-wrapper-mode.js +0 -28
- package/dist/mcp/server-wrapper-mode.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -75
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -533
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-manager.d.ts +0 -60
- package/dist/mcp/session-manager.d.ts.map +0 -1
- package/dist/mcp/session-manager.js +0 -322
- package/dist/mcp/session-manager.js.map +0 -1
- package/dist/mcp/sparc-modes.d.ts +0 -12
- package/dist/mcp/sparc-modes.d.ts.map +0 -1
- package/dist/mcp/sparc-modes.js +0 -370
- package/dist/mcp/sparc-modes.js.map +0 -1
- package/dist/mcp/swarm-tools.d.ts +0 -87
- package/dist/mcp/swarm-tools.d.ts.map +0 -1
- package/dist/mcp/swarm-tools.js +0 -711
- package/dist/mcp/swarm-tools.js.map +0 -1
- package/dist/mcp/tools.d.ts +0 -145
- package/dist/mcp/tools.d.ts.map +0 -1
- package/dist/mcp/tools.js +0 -418
- package/dist/mcp/tools.js.map +0 -1
- package/dist/mcp/transports/base.d.ts +0 -22
- package/dist/mcp/transports/base.d.ts.map +0 -1
- package/dist/mcp/transports/base.js +0 -2
- package/dist/mcp/transports/base.js.map +0 -1
- package/dist/mcp/transports/http.d.ts +0 -45
- package/dist/mcp/transports/http.d.ts.map +0 -1
- package/dist/mcp/transports/http.js +0 -400
- package/dist/mcp/transports/http.js.map +0 -1
- package/dist/mcp/transports/stdio.d.ts +0 -34
- package/dist/mcp/transports/stdio.d.ts.map +0 -1
- package/dist/mcp/transports/stdio.js +0 -203
- package/dist/mcp/transports/stdio.js.map +0 -1
- package/dist/memory/advanced-memory-manager.d.ts +0 -303
- package/dist/memory/advanced-memory-manager.d.ts.map +0 -1
- package/dist/memory/advanced-memory-manager.js +0 -1458
- package/dist/memory/advanced-memory-manager.js.map +0 -1
- package/dist/memory/backends/base.d.ts +0 -21
- package/dist/memory/backends/base.d.ts.map +0 -1
- package/dist/memory/backends/base.js +0 -2
- package/dist/memory/backends/base.js.map +0 -1
- package/dist/memory/backends/markdown.d.ts +0 -32
- package/dist/memory/backends/markdown.d.ts.map +0 -1
- package/dist/memory/backends/markdown.js +0 -223
- package/dist/memory/backends/markdown.js.map +0 -1
- package/dist/memory/backends/sqlite.d.ts +0 -29
- package/dist/memory/backends/sqlite.d.ts.map +0 -1
- package/dist/memory/backends/sqlite.js +0 -272
- package/dist/memory/backends/sqlite.js.map +0 -1
- package/dist/memory/cache.d.ts +0 -65
- package/dist/memory/cache.d.ts.map +0 -1
- package/dist/memory/cache.js +0 -186
- package/dist/memory/cache.js.map +0 -1
- package/dist/memory/distributed-memory.d.ts +0 -188
- package/dist/memory/distributed-memory.d.ts.map +0 -1
- package/dist/memory/distributed-memory.js +0 -711
- package/dist/memory/distributed-memory.js.map +0 -1
- package/dist/memory/indexer.d.ts +0 -52
- package/dist/memory/indexer.d.ts.map +0 -1
- package/dist/memory/indexer.js +0 -188
- package/dist/memory/indexer.js.map +0 -1
- package/dist/memory/manager.d.ts +0 -58
- package/dist/memory/manager.d.ts.map +0 -1
- package/dist/memory/manager.js +0 -426
- package/dist/memory/manager.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -91
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -461
- package/dist/memory/swarm-memory.js.map +0 -1
- package/dist/migration/index.d.ts +0 -3
- package/dist/migration/index.d.ts.map +0 -1
- package/dist/migration/index.js +0 -166
- package/dist/migration/index.js.map +0 -1
- package/dist/migration/logger.d.ts +0 -26
- package/dist/migration/logger.d.ts.map +0 -1
- package/dist/migration/logger.js +0 -145
- package/dist/migration/logger.js.map +0 -1
- package/dist/migration/migration-analyzer.d.ts +0 -15
- package/dist/migration/migration-analyzer.d.ts.map +0 -1
- package/dist/migration/migration-analyzer.js +0 -279
- package/dist/migration/migration-analyzer.js.map +0 -1
- package/dist/migration/migration-runner.d.ts +0 -26
- package/dist/migration/migration-runner.d.ts.map +0 -1
- package/dist/migration/migration-runner.js +0 -499
- package/dist/migration/migration-runner.js.map +0 -1
- package/dist/migration/migration-validator.d.ts +0 -14
- package/dist/migration/migration-validator.d.ts.map +0 -1
- package/dist/migration/migration-validator.js +0 -313
- package/dist/migration/migration-validator.js.map +0 -1
- package/dist/migration/progress-reporter.d.ts +0 -25
- package/dist/migration/progress-reporter.d.ts.map +0 -1
- package/dist/migration/progress-reporter.js +0 -163
- package/dist/migration/progress-reporter.js.map +0 -1
- package/dist/migration/rollback-manager.d.ts +0 -21
- package/dist/migration/rollback-manager.d.ts.map +0 -1
- package/dist/migration/rollback-manager.js +0 -348
- package/dist/migration/rollback-manager.js.map +0 -1
- package/dist/migration/types.d.ts +0 -103
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -6
- package/dist/migration/types.js.map +0 -1
- package/dist/monitoring/diagnostics.d.ts +0 -109
- package/dist/monitoring/diagnostics.d.ts.map +0 -1
- package/dist/monitoring/diagnostics.js +0 -545
- package/dist/monitoring/diagnostics.js.map +0 -1
- package/dist/monitoring/health-check.d.ts +0 -91
- package/dist/monitoring/health-check.d.ts.map +0 -1
- package/dist/monitoring/health-check.js +0 -371
- package/dist/monitoring/health-check.js.map +0 -1
- package/dist/monitoring/real-time-monitor.d.ts +0 -230
- package/dist/monitoring/real-time-monitor.d.ts.map +0 -1
- package/dist/monitoring/real-time-monitor.js +0 -839
- package/dist/monitoring/real-time-monitor.js.map +0 -1
- package/dist/resources/resource-manager.d.ts +0 -390
- package/dist/resources/resource-manager.d.ts.map +0 -1
- package/dist/resources/resource-manager.js +0 -1220
- package/dist/resources/resource-manager.js.map +0 -1
- package/dist/swarm/claude-flow-executor.d.ts +0 -28
- package/dist/swarm/claude-flow-executor.d.ts.map +0 -1
- package/dist/swarm/claude-flow-executor.js +0 -210
- package/dist/swarm/claude-flow-executor.js.map +0 -1
- package/dist/swarm/coordinator.d.ts +0 -134
- package/dist/swarm/coordinator.d.ts.map +0 -1
- package/dist/swarm/coordinator.js +0 -2607
- package/dist/swarm/coordinator.js.map +0 -1
- package/dist/swarm/direct-executor.d.ts +0 -48
- package/dist/swarm/direct-executor.d.ts.map +0 -1
- package/dist/swarm/direct-executor.js +0 -1113
- package/dist/swarm/direct-executor.js.map +0 -1
- package/dist/swarm/executor-v2.d.ts +0 -23
- package/dist/swarm/executor-v2.d.ts.map +0 -1
- package/dist/swarm/executor-v2.js +0 -320
- package/dist/swarm/executor-v2.js.map +0 -1
- package/dist/swarm/executor.d.ts +0 -117
- package/dist/swarm/executor.d.ts.map +0 -1
- package/dist/swarm/executor.js +0 -791
- package/dist/swarm/executor.js.map +0 -1
- package/dist/swarm/index.d.ts +0 -31
- package/dist/swarm/index.d.ts.map +0 -1
- package/dist/swarm/index.js +0 -42
- package/dist/swarm/index.js.map +0 -1
- package/dist/swarm/memory.d.ts +0 -176
- package/dist/swarm/memory.d.ts.map +0 -1
- package/dist/swarm/memory.js +0 -1068
- package/dist/swarm/memory.js.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.d.ts +0 -49
- package/dist/swarm/optimizations/async-file-manager.d.ts.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.js +0 -248
- package/dist/swarm/optimizations/async-file-manager.js.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.d.ts +0 -46
- package/dist/swarm/optimizations/circular-buffer.d.ts.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.js +0 -159
- package/dist/swarm/optimizations/circular-buffer.js.map +0 -1
- package/dist/swarm/optimizations/connection-pool.d.ts +0 -54
- package/dist/swarm/optimizations/connection-pool.d.ts.map +0 -1
- package/dist/swarm/optimizations/connection-pool.js +0 -227
- package/dist/swarm/optimizations/connection-pool.js.map +0 -1
- package/dist/swarm/optimizations/index.d.ts +0 -24
- package/dist/swarm/optimizations/index.d.ts.map +0 -1
- package/dist/swarm/optimizations/index.js +0 -30
- package/dist/swarm/optimizations/index.js.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.d.ts +0 -109
- package/dist/swarm/optimizations/optimized-executor.d.ts.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.js +0 -321
- package/dist/swarm/optimizations/optimized-executor.js.map +0 -1
- package/dist/swarm/optimizations/ttl-map.d.ts +0 -78
- package/dist/swarm/optimizations/ttl-map.d.ts.map +0 -1
- package/dist/swarm/optimizations/ttl-map.js +0 -229
- package/dist/swarm/optimizations/ttl-map.js.map +0 -1
- package/dist/swarm/prompt-cli.d.ts +0 -5
- package/dist/swarm/prompt-cli.d.ts.map +0 -1
- package/dist/swarm/prompt-cli.js +0 -256
- package/dist/swarm/prompt-cli.js.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts +0 -17
- package/dist/swarm/prompt-copier-enhanced.d.ts.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.js +0 -190
- package/dist/swarm/prompt-copier-enhanced.js.map +0 -1
- package/dist/swarm/prompt-copier.d.ts +0 -76
- package/dist/swarm/prompt-copier.d.ts.map +0 -1
- package/dist/swarm/prompt-copier.js +0 -379
- package/dist/swarm/prompt-copier.js.map +0 -1
- package/dist/swarm/prompt-manager.d.ts +0 -72
- package/dist/swarm/prompt-manager.d.ts.map +0 -1
- package/dist/swarm/prompt-manager.js +0 -270
- package/dist/swarm/prompt-manager.js.map +0 -1
- package/dist/swarm/prompt-utils.d.ts +0 -52
- package/dist/swarm/prompt-utils.d.ts.map +0 -1
- package/dist/swarm/prompt-utils.js +0 -265
- package/dist/swarm/prompt-utils.js.map +0 -1
- package/dist/swarm/sparc-executor.d.ts +0 -105
- package/dist/swarm/sparc-executor.d.ts.map +0 -1
- package/dist/swarm/sparc-executor.js +0 -1364
- package/dist/swarm/sparc-executor.js.map +0 -1
- package/dist/swarm/strategies/auto.d.ts +0 -57
- package/dist/swarm/strategies/auto.d.ts.map +0 -1
- package/dist/swarm/strategies/auto.js +0 -623
- package/dist/swarm/strategies/auto.js.map +0 -1
- package/dist/swarm/strategies/base.d.ts +0 -78
- package/dist/swarm/strategies/base.d.ts.map +0 -1
- package/dist/swarm/strategies/base.js +0 -108
- package/dist/swarm/strategies/base.js.map +0 -1
- package/dist/swarm/strategies/research.d.ts +0 -75
- package/dist/swarm/strategies/research.d.ts.map +0 -1
- package/dist/swarm/strategies/research.js +0 -841
- package/dist/swarm/strategies/research.js.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts +0 -11
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.js +0 -2
- package/dist/swarm/strategies/strategy-metrics-patch.js.map +0 -1
- package/dist/swarm/types.d.ts +0 -578
- package/dist/swarm/types.d.ts.map +0 -1
- package/dist/swarm/types.js +0 -51
- package/dist/swarm/types.js.map +0 -1
- package/dist/swarm/workers/copy-worker.d.ts +0 -2
- package/dist/swarm/workers/copy-worker.d.ts.map +0 -1
- package/dist/swarm/workers/copy-worker.js +0 -56
- package/dist/swarm/workers/copy-worker.js.map +0 -1
- package/dist/task/commands.d.ts +0 -60
- package/dist/task/commands.d.ts.map +0 -1
- package/dist/task/commands.js +0 -107
- package/dist/task/commands.js.map +0 -1
- package/dist/task/coordination.d.ts +0 -109
- package/dist/task/coordination.d.ts.map +0 -1
- package/dist/task/coordination.js +0 -629
- package/dist/task/coordination.js.map +0 -1
- package/dist/task/engine.d.ts +0 -198
- package/dist/task/engine.d.ts.map +0 -1
- package/dist/task/engine.js +0 -498
- package/dist/task/engine.js.map +0 -1
- package/dist/task/index.d.ts +0 -103
- package/dist/task/index.d.ts.map +0 -1
- package/dist/task/index.js +0 -276
- package/dist/task/index.js.map +0 -1
- package/dist/task/types.d.ts +0 -56
- package/dist/task/types.d.ts.map +0 -1
- package/dist/task/types.js +0 -2
- package/dist/task/types.js.map +0 -1
- package/dist/terminal/adapters/base.d.ts +0 -40
- package/dist/terminal/adapters/base.d.ts.map +0 -1
- package/dist/terminal/adapters/base.js +0 -5
- package/dist/terminal/adapters/base.js.map +0 -1
- package/dist/terminal/adapters/native.d.ts +0 -19
- package/dist/terminal/adapters/native.d.ts.map +0 -1
- package/dist/terminal/adapters/native.js +0 -414
- package/dist/terminal/adapters/native.js.map +0 -1
- package/dist/terminal/adapters/vscode.d.ts +0 -20
- package/dist/terminal/adapters/vscode.d.ts.map +0 -1
- package/dist/terminal/adapters/vscode.js +0 -265
- package/dist/terminal/adapters/vscode.js.map +0 -1
- package/dist/terminal/manager.d.ts +0 -59
- package/dist/terminal/manager.d.ts.map +0 -1
- package/dist/terminal/manager.js +0 -237
- package/dist/terminal/manager.js.map +0 -1
- package/dist/terminal/pool.d.ts +0 -32
- package/dist/terminal/pool.d.ts.map +0 -1
- package/dist/terminal/pool.js +0 -205
- package/dist/terminal/pool.js.map +0 -1
- package/dist/terminal/session.d.ts +0 -41
- package/dist/terminal/session.d.ts.map +0 -1
- package/dist/terminal/session.js +0 -206
- package/dist/terminal/session.js.map +0 -1
- package/dist/types/index.d.ts +0 -28
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -15
- package/dist/types/index.js.map +0 -1
- package/dist/ui/hive-dashboard.d.ts +0 -140
- package/dist/ui/hive-dashboard.d.ts.map +0 -1
- package/dist/ui/hive-dashboard.js +0 -281
- package/dist/ui/hive-dashboard.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -13
- package/dist/utils/error-handler.d.ts.map +0 -1
- package/dist/utils/error-handler.js +0 -45
- package/dist/utils/error-handler.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -121
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -194
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/formatters.d.ts +0 -15
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -75
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/helpers.d.ts +0 -131
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/helpers.js +0 -447
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -4
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -39
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/types.d.ts +0 -512
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/types.js +0 -37
- package/dist/utils/types.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
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
/*! js-yaml 3.14.1 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
2
2
|
'use strict';
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
var loader = require('./js-yaml/loader');
|
|
6
4
|
var dumper = require('./js-yaml/dumper');
|
|
7
|
-
|
|
8
|
-
|
|
9
5
|
function deprecated(name) {
|
|
10
6
|
return function () {
|
|
11
7
|
throw new Error('Function ' + name + ' is deprecated and cannot be used.');
|
|
12
8
|
};
|
|
13
9
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
10
|
module.exports.Type = require('./js-yaml/type');
|
|
17
11
|
module.exports.Schema = require('./js-yaml/schema');
|
|
18
12
|
module.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');
|
|
@@ -27,92 +21,64 @@ module.exports.safeLoadAll = loader.safeLoadAll;
|
|
|
27
21
|
module.exports.dump = dumper.dump;
|
|
28
22
|
module.exports.safeDump = dumper.safeDump;
|
|
29
23
|
module.exports.YAMLException = require('./js-yaml/exception');
|
|
30
|
-
|
|
31
24
|
// Deprecated schema names from JS-YAML 2.0.x
|
|
32
25
|
module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');
|
|
33
26
|
module.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');
|
|
34
27
|
module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');
|
|
35
|
-
|
|
36
28
|
// Deprecated functions from JS-YAML 1.x.x
|
|
37
29
|
module.exports.scan = deprecated('scan');
|
|
38
30
|
module.exports.parse = deprecated('parse');
|
|
39
31
|
module.exports.compose = deprecated('compose');
|
|
40
32
|
module.exports.addConstructor = deprecated('addConstructor');
|
|
41
|
-
|
|
42
33
|
},{"./js-yaml/dumper":3,"./js-yaml/exception":4,"./js-yaml/loader":5,"./js-yaml/schema":7,"./js-yaml/schema/core":8,"./js-yaml/schema/default_full":9,"./js-yaml/schema/default_safe":10,"./js-yaml/schema/failsafe":11,"./js-yaml/schema/json":12,"./js-yaml/type":13}],2:[function(require,module,exports){
|
|
43
34
|
'use strict';
|
|
44
|
-
|
|
45
|
-
|
|
46
35
|
function isNothing(subject) {
|
|
47
36
|
return (typeof subject === 'undefined') || (subject === null);
|
|
48
37
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
38
|
function isObject(subject) {
|
|
52
39
|
return (typeof subject === 'object') && (subject !== null);
|
|
53
40
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
41
|
function toArray(sequence) {
|
|
57
42
|
if (Array.isArray(sequence)) return sequence;
|
|
58
43
|
else if (isNothing(sequence)) return [];
|
|
59
|
-
|
|
60
44
|
return [ sequence ];
|
|
61
45
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
46
|
function extend(target, source) {
|
|
65
47
|
var index, length, key, sourceKeys;
|
|
66
|
-
|
|
67
48
|
if (source) {
|
|
68
49
|
sourceKeys = Object.keys(source);
|
|
69
|
-
|
|
70
50
|
for (index = 0, length = sourceKeys.length; index < length; index += 1) {
|
|
71
51
|
key = sourceKeys[index];
|
|
72
52
|
target[key] = source[key];
|
|
73
53
|
}
|
|
74
54
|
}
|
|
75
|
-
|
|
76
55
|
return target;
|
|
77
56
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
57
|
function repeat(string, count) {
|
|
81
58
|
var result = '', cycle;
|
|
82
|
-
|
|
83
59
|
for (cycle = 0; cycle < count; cycle += 1) {
|
|
84
60
|
result += string;
|
|
85
61
|
}
|
|
86
|
-
|
|
87
62
|
return result;
|
|
88
63
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
64
|
function isNegativeZero(number) {
|
|
92
65
|
return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);
|
|
93
66
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
67
|
module.exports.isNothing = isNothing;
|
|
97
68
|
module.exports.isObject = isObject;
|
|
98
69
|
module.exports.toArray = toArray;
|
|
99
70
|
module.exports.repeat = repeat;
|
|
100
71
|
module.exports.isNegativeZero = isNegativeZero;
|
|
101
72
|
module.exports.extend = extend;
|
|
102
|
-
|
|
103
73
|
},{}],3:[function(require,module,exports){
|
|
104
74
|
'use strict';
|
|
105
|
-
|
|
106
75
|
/*eslint-disable no-use-before-define*/
|
|
107
|
-
|
|
108
76
|
var common = require('./common');
|
|
109
77
|
var YAMLException = require('./exception');
|
|
110
78
|
var DEFAULT_FULL_SCHEMA = require('./schema/default_full');
|
|
111
79
|
var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');
|
|
112
|
-
|
|
113
80
|
var _toString = Object.prototype.toString;
|
|
114
81
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
115
|
-
|
|
116
82
|
var CHAR_TAB = 0x09; /* Tab */
|
|
117
83
|
var CHAR_LINE_FEED = 0x0A; /* LF */
|
|
118
84
|
var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */
|
|
@@ -137,9 +103,7 @@ var CHAR_GRAVE_ACCENT = 0x60; /* ` */
|
|
|
137
103
|
var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */
|
|
138
104
|
var CHAR_VERTICAL_LINE = 0x7C; /* | */
|
|
139
105
|
var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */
|
|
140
|
-
|
|
141
106
|
var ESCAPE_SEQUENCES = {};
|
|
142
|
-
|
|
143
107
|
ESCAPE_SEQUENCES[0x00] = '\\0';
|
|
144
108
|
ESCAPE_SEQUENCES[0x07] = '\\a';
|
|
145
109
|
ESCAPE_SEQUENCES[0x08] = '\\b';
|
|
@@ -155,44 +119,32 @@ ESCAPE_SEQUENCES[0x85] = '\\N';
|
|
|
155
119
|
ESCAPE_SEQUENCES[0xA0] = '\\_';
|
|
156
120
|
ESCAPE_SEQUENCES[0x2028] = '\\L';
|
|
157
121
|
ESCAPE_SEQUENCES[0x2029] = '\\P';
|
|
158
|
-
|
|
159
122
|
var DEPRECATED_BOOLEANS_SYNTAX = [
|
|
160
123
|
'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',
|
|
161
124
|
'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'
|
|
162
125
|
];
|
|
163
|
-
|
|
164
126
|
function compileStyleMap(schema, map) {
|
|
165
127
|
var result, keys, index, length, tag, style, type;
|
|
166
|
-
|
|
167
128
|
if (map === null) return {};
|
|
168
|
-
|
|
169
129
|
result = {};
|
|
170
130
|
keys = Object.keys(map);
|
|
171
|
-
|
|
172
131
|
for (index = 0, length = keys.length; index < length; index += 1) {
|
|
173
132
|
tag = keys[index];
|
|
174
133
|
style = String(map[tag]);
|
|
175
|
-
|
|
176
134
|
if (tag.slice(0, 2) === '!!') {
|
|
177
135
|
tag = 'tag:yaml.org,2002:' + tag.slice(2);
|
|
178
136
|
}
|
|
179
137
|
type = schema.compiledTypeMap['fallback'][tag];
|
|
180
|
-
|
|
181
138
|
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
|
182
139
|
style = type.styleAliases[style];
|
|
183
140
|
}
|
|
184
|
-
|
|
185
141
|
result[tag] = style;
|
|
186
142
|
}
|
|
187
|
-
|
|
188
143
|
return result;
|
|
189
144
|
}
|
|
190
|
-
|
|
191
145
|
function encodeHex(character) {
|
|
192
146
|
var string, handle, length;
|
|
193
|
-
|
|
194
147
|
string = character.toString(16).toUpperCase();
|
|
195
|
-
|
|
196
148
|
if (character <= 0xFF) {
|
|
197
149
|
handle = 'x';
|
|
198
150
|
length = 2;
|
|
@@ -205,10 +157,8 @@ function encodeHex(character) {
|
|
|
205
157
|
} else {
|
|
206
158
|
throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');
|
|
207
159
|
}
|
|
208
|
-
|
|
209
160
|
return '\\' + handle + common.repeat('0', length - string.length) + string;
|
|
210
161
|
}
|
|
211
|
-
|
|
212
162
|
function State(options) {
|
|
213
163
|
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
|
214
164
|
this.indent = Math.max(1, (options['indent'] || 2));
|
|
@@ -221,17 +171,13 @@ function State(options) {
|
|
|
221
171
|
this.noRefs = options['noRefs'] || false;
|
|
222
172
|
this.noCompatMode = options['noCompatMode'] || false;
|
|
223
173
|
this.condenseFlow = options['condenseFlow'] || false;
|
|
224
|
-
|
|
225
174
|
this.implicitTypes = this.schema.compiledImplicit;
|
|
226
175
|
this.explicitTypes = this.schema.compiledExplicit;
|
|
227
|
-
|
|
228
176
|
this.tag = null;
|
|
229
177
|
this.result = '';
|
|
230
|
-
|
|
231
178
|
this.duplicates = [];
|
|
232
179
|
this.usedDuplicates = null;
|
|
233
180
|
}
|
|
234
|
-
|
|
235
181
|
// Indents every line in a string. Empty lines (\n only) are not indented.
|
|
236
182
|
function indentString(string, spaces) {
|
|
237
183
|
var ind = common.repeat(' ', spaces),
|
|
@@ -240,48 +186,37 @@ function indentString(string, spaces) {
|
|
|
240
186
|
result = '',
|
|
241
187
|
line,
|
|
242
188
|
length = string.length;
|
|
243
|
-
|
|
244
189
|
while (position < length) {
|
|
245
190
|
next = string.indexOf('\n', position);
|
|
246
|
-
if (
|
|
191
|
+
if (_next === -1) {
|
|
247
192
|
line = string.slice(position);
|
|
248
193
|
position = length;
|
|
249
194
|
} else {
|
|
250
195
|
line = string.slice(position, next + 1);
|
|
251
196
|
position = next + 1;
|
|
252
197
|
}
|
|
253
|
-
|
|
254
198
|
if (line.length && line !== '\n') result += ind;
|
|
255
|
-
|
|
256
199
|
result += line;
|
|
257
200
|
}
|
|
258
|
-
|
|
259
201
|
return result;
|
|
260
202
|
}
|
|
261
|
-
|
|
262
203
|
function generateNextLine(state, level) {
|
|
263
204
|
return '\n' + common.repeat(' ', state.indent * level);
|
|
264
205
|
}
|
|
265
|
-
|
|
266
206
|
function testImplicitResolving(state, str) {
|
|
267
207
|
var index, length, type;
|
|
268
|
-
|
|
269
208
|
for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
|
|
270
209
|
type = state.implicitTypes[index];
|
|
271
|
-
|
|
272
210
|
if (type.resolve(str)) {
|
|
273
211
|
return true;
|
|
274
212
|
}
|
|
275
213
|
}
|
|
276
|
-
|
|
277
214
|
return false;
|
|
278
215
|
}
|
|
279
|
-
|
|
280
216
|
// [33] s-white ::= s-space | s-tab
|
|
281
217
|
function isWhitespace(c) {
|
|
282
218
|
return c === CHAR_SPACE || c === CHAR_TAB;
|
|
283
219
|
}
|
|
284
|
-
|
|
285
220
|
// Returns true if the character can be printed without escaping.
|
|
286
221
|
// From YAML 1.2: "any allowed characters known to be non-printable
|
|
287
222
|
// should also be escaped. [However,] This isn’t mandatory"
|
|
@@ -292,7 +227,6 @@ function isPrintable(c) {
|
|
|
292
227
|
|| ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF /* BOM */)
|
|
293
228
|
|| (0x10000 <= c && c <= 0x10FFFF);
|
|
294
229
|
}
|
|
295
|
-
|
|
296
230
|
// [34] ns-char ::= nb-char - s-white
|
|
297
231
|
// [27] nb-char ::= c-printable - b-char - c-byte-order-mark
|
|
298
232
|
// [26] b-char ::= b-line-feed | b-carriage-return
|
|
@@ -307,7 +241,6 @@ function isNsChar(c) {
|
|
|
307
241
|
&& c !== CHAR_CARRIAGE_RETURN
|
|
308
242
|
&& c !== CHAR_LINE_FEED;
|
|
309
243
|
}
|
|
310
|
-
|
|
311
244
|
// Simplified test for values allowed after the first character in plain style.
|
|
312
245
|
function isPlainSafe(c, prev) {
|
|
313
246
|
// Uses a subset of nb-char - c-flow-indicator - ":" - "#"
|
|
@@ -324,7 +257,6 @@ function isPlainSafe(c, prev) {
|
|
|
324
257
|
&& c !== CHAR_COLON
|
|
325
258
|
&& ((c !== CHAR_SHARP) || (prev && isNsChar(prev)));
|
|
326
259
|
}
|
|
327
|
-
|
|
328
260
|
// Simplified test for values allowed as the first character in plain style.
|
|
329
261
|
function isPlainSafeFirst(c) {
|
|
330
262
|
// Uses a subset of ns-char - c-indicator
|
|
@@ -356,19 +288,16 @@ function isPlainSafeFirst(c) {
|
|
|
356
288
|
&& c !== CHAR_COMMERCIAL_AT
|
|
357
289
|
&& c !== CHAR_GRAVE_ACCENT;
|
|
358
290
|
}
|
|
359
|
-
|
|
360
291
|
// Determines whether block indentation indicator is required.
|
|
361
292
|
function needIndentIndicator(string) {
|
|
362
293
|
var leadingSpaceRe = /^\n* /;
|
|
363
294
|
return leadingSpaceRe.test(string);
|
|
364
295
|
}
|
|
365
|
-
|
|
366
296
|
var STYLE_PLAIN = 1,
|
|
367
297
|
STYLE_SINGLE = 2,
|
|
368
298
|
STYLE_LITERAL = 3,
|
|
369
299
|
STYLE_FOLDED = 4,
|
|
370
300
|
STYLE_DOUBLE = 5;
|
|
371
|
-
|
|
372
301
|
// Determines which scalar styles are possible and returns the preferred style.
|
|
373
302
|
// lineWidth = -1 => no limit.
|
|
374
303
|
// Pre-conditions: str.length > 0.
|
|
@@ -385,7 +314,6 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, te
|
|
|
385
314
|
var previousLineBreak = -1; // count the first line correctly
|
|
386
315
|
var plain = isPlainSafeFirst(string.charCodeAt(0))
|
|
387
316
|
&& !isWhitespace(string.charCodeAt(string.length - 1));
|
|
388
|
-
|
|
389
317
|
if (singleLineOnly) {
|
|
390
318
|
// Case: no block styles.
|
|
391
319
|
// Check for disallowed characters to rule out plain and single.
|
|
@@ -439,7 +367,6 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, te
|
|
|
439
367
|
// Prefer literal style unless we want to fold.
|
|
440
368
|
return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
|
|
441
369
|
}
|
|
442
|
-
|
|
443
370
|
// Note: line breaking/folding is implemented for only the folded style.
|
|
444
371
|
// NB. We drop the last trailing newline (if any) of a returned block scalar
|
|
445
372
|
// since the dumper adds its own newline. This always works:
|
|
@@ -455,7 +382,6 @@ function writeScalar(state, string, level, iskey) {
|
|
|
455
382
|
DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {
|
|
456
383
|
return "'" + string + "'";
|
|
457
384
|
}
|
|
458
|
-
|
|
459
385
|
var indent = state.indent * Math.max(1, level); // no 0-indent scalars
|
|
460
386
|
// As indentation gets deeper, let the width decrease monotonically
|
|
461
387
|
// to the lower bound min(state.lineWidth, 40).
|
|
@@ -466,7 +392,6 @@ function writeScalar(state, string, level, iskey) {
|
|
|
466
392
|
// or an indent threshold which causes the width to suddenly increase.
|
|
467
393
|
var lineWidth = state.lineWidth === -1
|
|
468
394
|
? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
|
|
469
|
-
|
|
470
395
|
// Without knowing if keys are implicit/explicit, assume implicit for safety.
|
|
471
396
|
var singleLineOnly = iskey
|
|
472
397
|
// No block styles in flow mode.
|
|
@@ -474,7 +399,6 @@ function writeScalar(state, string, level, iskey) {
|
|
|
474
399
|
function testAmbiguity(string) {
|
|
475
400
|
return testImplicitResolving(state, string);
|
|
476
401
|
}
|
|
477
|
-
|
|
478
402
|
switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {
|
|
479
403
|
case STYLE_PLAIN:
|
|
480
404
|
return string;
|
|
@@ -493,24 +417,19 @@ function writeScalar(state, string, level, iskey) {
|
|
|
493
417
|
}
|
|
494
418
|
}());
|
|
495
419
|
}
|
|
496
|
-
|
|
497
420
|
// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.
|
|
498
421
|
function blockHeader(string, indentPerLevel) {
|
|
499
422
|
var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';
|
|
500
|
-
|
|
501
423
|
// note the special case: the string '\n' counts as a "trailing" empty line.
|
|
502
424
|
var clip = string[string.length - 1] === '\n';
|
|
503
425
|
var keep = clip && (string[string.length - 2] === '\n' || string === '\n');
|
|
504
426
|
var chomp = keep ? '+' : (clip ? '' : '-');
|
|
505
|
-
|
|
506
427
|
return indentIndicator + chomp + '\n';
|
|
507
428
|
}
|
|
508
|
-
|
|
509
429
|
// (See the note for writeScalar.)
|
|
510
430
|
function dropEndingNewline(string) {
|
|
511
431
|
return string[string.length - 1] === '\n' ? string.slice(0, -1) : string;
|
|
512
432
|
}
|
|
513
|
-
|
|
514
433
|
// Note: a long line without a suitable break point will exceed the width limit.
|
|
515
434
|
// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.
|
|
516
435
|
function foldString(string, width) {
|
|
@@ -519,7 +438,6 @@ function foldString(string, width) {
|
|
|
519
438
|
// beginning or end, in which case $k$ maps to $k$.
|
|
520
439
|
// Therefore, parse each chunk as newline(s) followed by a content line.
|
|
521
440
|
var lineRe = /(\n+)([^\n]*)/g;
|
|
522
|
-
|
|
523
441
|
// first line (possibly an empty line)
|
|
524
442
|
var result = (function () {
|
|
525
443
|
var nextLF = string.indexOf('\n');
|
|
@@ -530,7 +448,6 @@ function foldString(string, width) {
|
|
|
530
448
|
// If we haven't reached the first content line yet, don't add an extra \n.
|
|
531
449
|
var prevMoreIndented = string[0] === '\n' || string[0] === ' ';
|
|
532
450
|
var moreIndented;
|
|
533
|
-
|
|
534
451
|
// rest of the lines
|
|
535
452
|
var match;
|
|
536
453
|
while ((match = lineRe.exec(string))) {
|
|
@@ -542,24 +459,20 @@ function foldString(string, width) {
|
|
|
542
459
|
+ foldLine(line, width);
|
|
543
460
|
prevMoreIndented = moreIndented;
|
|
544
461
|
}
|
|
545
|
-
|
|
546
462
|
return result;
|
|
547
463
|
}
|
|
548
|
-
|
|
549
464
|
// Greedy line breaking.
|
|
550
465
|
// Picks the longest line under the limit each time,
|
|
551
466
|
// otherwise settles for the shortest line over the limit.
|
|
552
467
|
// NB. More-indented lines *cannot* be folded, as that would add an extra \n.
|
|
553
468
|
function foldLine(line, width) {
|
|
554
469
|
if (line === '' || line[0] === ' ') return line;
|
|
555
|
-
|
|
556
470
|
// Since a more-indented line adds a \n, breaks can't be followed by a space.
|
|
557
471
|
var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.
|
|
558
472
|
var match;
|
|
559
473
|
// start is an inclusive index. end, curr, and next are exclusive.
|
|
560
474
|
var start = 0, end, curr = 0, next = 0;
|
|
561
475
|
var result = '';
|
|
562
|
-
|
|
563
476
|
// Invariants: 0 <= start <= length-1.
|
|
564
477
|
// 0 <= curr <= next <= max(0, length-2). curr - start <= width.
|
|
565
478
|
// Inside the loop:
|
|
@@ -575,7 +488,6 @@ function foldLine(line, width) {
|
|
|
575
488
|
}
|
|
576
489
|
curr = next;
|
|
577
490
|
}
|
|
578
|
-
|
|
579
491
|
// By the invariants, start <= length-1, so there is something left over.
|
|
580
492
|
// It is either the whole string or a part starting from non-whitespace.
|
|
581
493
|
result += '\n';
|
|
@@ -585,16 +497,13 @@ function foldLine(line, width) {
|
|
|
585
497
|
} else {
|
|
586
498
|
result += line.slice(start);
|
|
587
499
|
}
|
|
588
|
-
|
|
589
500
|
return result.slice(1); // drop extra \n joiner
|
|
590
501
|
}
|
|
591
|
-
|
|
592
502
|
// Escapes a double-quoted string.
|
|
593
503
|
function escapeString(string) {
|
|
594
504
|
var result = '';
|
|
595
505
|
var char, nextChar;
|
|
596
506
|
var escapeSeq;
|
|
597
|
-
|
|
598
507
|
for (var i = 0; i < string.length; i++) {
|
|
599
508
|
char = string.charCodeAt(i);
|
|
600
509
|
// Check for surrogate pairs (reference Unicode 3.0 section "3.7 Surrogates").
|
|
@@ -612,16 +521,13 @@ function escapeString(string) {
|
|
|
612
521
|
? string[i]
|
|
613
522
|
: escapeSeq || encodeHex(char);
|
|
614
523
|
}
|
|
615
|
-
|
|
616
524
|
return result;
|
|
617
525
|
}
|
|
618
|
-
|
|
619
526
|
function writeFlowSequence(state, level, object) {
|
|
620
527
|
var _result = '',
|
|
621
528
|
_tag = state.tag,
|
|
622
529
|
index,
|
|
623
530
|
length;
|
|
624
|
-
|
|
625
531
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
626
532
|
// Write only valid elements.
|
|
627
533
|
if (writeNode(state, level, object[index], false, false)) {
|
|
@@ -629,38 +535,31 @@ function writeFlowSequence(state, level, object) {
|
|
|
629
535
|
_result += state.dump;
|
|
630
536
|
}
|
|
631
537
|
}
|
|
632
|
-
|
|
633
538
|
state.tag = _tag;
|
|
634
539
|
state.dump = '[' + _result + ']';
|
|
635
540
|
}
|
|
636
|
-
|
|
637
541
|
function writeBlockSequence(state, level, object, compact) {
|
|
638
542
|
var _result = '',
|
|
639
543
|
_tag = state.tag,
|
|
640
544
|
index,
|
|
641
545
|
length;
|
|
642
|
-
|
|
643
546
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
644
547
|
// Write only valid elements.
|
|
645
548
|
if (writeNode(state, level + 1, object[index], true, true)) {
|
|
646
549
|
if (!compact || index !== 0) {
|
|
647
550
|
_result += generateNextLine(state, level);
|
|
648
551
|
}
|
|
649
|
-
|
|
650
552
|
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
|
651
553
|
_result += '-';
|
|
652
554
|
} else {
|
|
653
555
|
_result += '- ';
|
|
654
556
|
}
|
|
655
|
-
|
|
656
557
|
_result += state.dump;
|
|
657
558
|
}
|
|
658
559
|
}
|
|
659
|
-
|
|
660
560
|
state.tag = _tag;
|
|
661
561
|
state.dump = _result || '[]'; // Empty sequence if no valid values.
|
|
662
562
|
}
|
|
663
|
-
|
|
664
563
|
function writeFlowMapping(state, level, object) {
|
|
665
564
|
var _result = '',
|
|
666
565
|
_tag = state.tag,
|
|
@@ -670,39 +569,27 @@ function writeFlowMapping(state, level, object) {
|
|
|
670
569
|
objectKey,
|
|
671
570
|
objectValue,
|
|
672
571
|
pairBuffer;
|
|
673
|
-
|
|
674
572
|
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
|
675
|
-
|
|
676
573
|
pairBuffer = '';
|
|
677
574
|
if (index !== 0) pairBuffer += ', ';
|
|
678
|
-
|
|
679
575
|
if (state.condenseFlow) pairBuffer += '"';
|
|
680
|
-
|
|
681
576
|
objectKey = objectKeyList[index];
|
|
682
577
|
objectValue = object[objectKey];
|
|
683
|
-
|
|
684
578
|
if (!writeNode(state, level, objectKey, false, false)) {
|
|
685
579
|
continue; // Skip this pair because of invalid key;
|
|
686
580
|
}
|
|
687
|
-
|
|
688
581
|
if (state.dump.length > 1024) pairBuffer += '? ';
|
|
689
|
-
|
|
690
582
|
pairBuffer += state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' ');
|
|
691
|
-
|
|
692
583
|
if (!writeNode(state, level, objectValue, false, false)) {
|
|
693
584
|
continue; // Skip this pair because of invalid value.
|
|
694
585
|
}
|
|
695
|
-
|
|
696
586
|
pairBuffer += state.dump;
|
|
697
|
-
|
|
698
587
|
// Both key and value are valid.
|
|
699
588
|
_result += pairBuffer;
|
|
700
589
|
}
|
|
701
|
-
|
|
702
590
|
state.tag = _tag;
|
|
703
591
|
state.dump = '{' + _result + '}';
|
|
704
592
|
}
|
|
705
|
-
|
|
706
593
|
function writeBlockMapping(state, level, object, compact) {
|
|
707
594
|
var _result = '',
|
|
708
595
|
_tag = state.tag,
|
|
@@ -713,7 +600,6 @@ function writeBlockMapping(state, level, object, compact) {
|
|
|
713
600
|
objectValue,
|
|
714
601
|
explicitPair,
|
|
715
602
|
pairBuffer;
|
|
716
|
-
|
|
717
603
|
// Allow sorting keys so that the output file is deterministic
|
|
718
604
|
if (state.sortKeys === true) {
|
|
719
605
|
// Default sorting
|
|
@@ -725,24 +611,18 @@ function writeBlockMapping(state, level, object, compact) {
|
|
|
725
611
|
// Something is wrong
|
|
726
612
|
throw new YAMLException('sortKeys must be a boolean or a function');
|
|
727
613
|
}
|
|
728
|
-
|
|
729
614
|
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
|
730
615
|
pairBuffer = '';
|
|
731
|
-
|
|
732
616
|
if (!compact || index !== 0) {
|
|
733
617
|
pairBuffer += generateNextLine(state, level);
|
|
734
618
|
}
|
|
735
|
-
|
|
736
619
|
objectKey = objectKeyList[index];
|
|
737
620
|
objectValue = object[objectKey];
|
|
738
|
-
|
|
739
621
|
if (!writeNode(state, level + 1, objectKey, true, true, true)) {
|
|
740
622
|
continue; // Skip this pair because of invalid key.
|
|
741
623
|
}
|
|
742
|
-
|
|
743
624
|
explicitPair = (state.tag !== null && state.tag !== '?') ||
|
|
744
625
|
(state.dump && state.dump.length > 1024);
|
|
745
|
-
|
|
746
626
|
if (explicitPair) {
|
|
747
627
|
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
|
748
628
|
pairBuffer += '?';
|
|
@@ -750,50 +630,36 @@ function writeBlockMapping(state, level, object, compact) {
|
|
|
750
630
|
pairBuffer += '? ';
|
|
751
631
|
}
|
|
752
632
|
}
|
|
753
|
-
|
|
754
633
|
pairBuffer += state.dump;
|
|
755
|
-
|
|
756
634
|
if (explicitPair) {
|
|
757
635
|
pairBuffer += generateNextLine(state, level);
|
|
758
636
|
}
|
|
759
|
-
|
|
760
637
|
if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
|
|
761
638
|
continue; // Skip this pair because of invalid value.
|
|
762
639
|
}
|
|
763
|
-
|
|
764
640
|
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
|
765
641
|
pairBuffer += ':';
|
|
766
642
|
} else {
|
|
767
643
|
pairBuffer += ': ';
|
|
768
644
|
}
|
|
769
|
-
|
|
770
645
|
pairBuffer += state.dump;
|
|
771
|
-
|
|
772
646
|
// Both key and value are valid.
|
|
773
647
|
_result += pairBuffer;
|
|
774
648
|
}
|
|
775
|
-
|
|
776
649
|
state.tag = _tag;
|
|
777
650
|
state.dump = _result || '{}'; // Empty mapping if no valid pairs.
|
|
778
651
|
}
|
|
779
|
-
|
|
780
652
|
function detectType(state, object, explicit) {
|
|
781
653
|
var _result, typeList, index, length, type, style;
|
|
782
|
-
|
|
783
654
|
typeList = explicit ? state.explicitTypes : state.implicitTypes;
|
|
784
|
-
|
|
785
655
|
for (index = 0, length = typeList.length; index < length; index += 1) {
|
|
786
656
|
type = typeList[index];
|
|
787
|
-
|
|
788
657
|
if ((type.instanceOf || type.predicate) &&
|
|
789
658
|
(!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&
|
|
790
659
|
(!type.predicate || type.predicate(object))) {
|
|
791
|
-
|
|
792
660
|
state.tag = explicit ? type.tag : '?';
|
|
793
|
-
|
|
794
661
|
if (type.represent) {
|
|
795
662
|
style = state.styleMap[type.tag] || type.defaultStyle;
|
|
796
|
-
|
|
797
663
|
if (_toString.call(type.represent) === '[object Function]') {
|
|
798
664
|
_result = type.represent(object, style);
|
|
799
665
|
} else if (_hasOwnProperty.call(type.represent, style)) {
|
|
@@ -801,47 +667,36 @@ function detectType(state, object, explicit) {
|
|
|
801
667
|
} else {
|
|
802
668
|
throw new YAMLException('!<' + type.tag + '> tag resolver accepts not "' + style + '" style');
|
|
803
669
|
}
|
|
804
|
-
|
|
805
670
|
state.dump = _result;
|
|
806
671
|
}
|
|
807
|
-
|
|
808
672
|
return true;
|
|
809
673
|
}
|
|
810
674
|
}
|
|
811
|
-
|
|
812
675
|
return false;
|
|
813
676
|
}
|
|
814
|
-
|
|
815
677
|
// Serializes `object` and writes it to global `result`.
|
|
816
678
|
// Returns true on success, or false on invalid object.
|
|
817
679
|
//
|
|
818
680
|
function writeNode(state, level, object, block, compact, iskey) {
|
|
819
681
|
state.tag = null;
|
|
820
682
|
state.dump = object;
|
|
821
|
-
|
|
822
683
|
if (!detectType(state, object, false)) {
|
|
823
684
|
detectType(state, object, true);
|
|
824
685
|
}
|
|
825
|
-
|
|
826
686
|
var type = _toString.call(state.dump);
|
|
827
|
-
|
|
828
687
|
if (block) {
|
|
829
688
|
block = (state.flowLevel < 0 || state.flowLevel > level);
|
|
830
689
|
}
|
|
831
|
-
|
|
832
690
|
var objectOrArray = type === '[object Object]' || type === '[object Array]',
|
|
833
691
|
duplicateIndex,
|
|
834
692
|
duplicate;
|
|
835
|
-
|
|
836
693
|
if (objectOrArray) {
|
|
837
694
|
duplicateIndex = state.duplicates.indexOf(object);
|
|
838
695
|
duplicate = duplicateIndex !== -1;
|
|
839
696
|
}
|
|
840
|
-
|
|
841
697
|
if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {
|
|
842
698
|
compact = false;
|
|
843
699
|
}
|
|
844
|
-
|
|
845
700
|
if (duplicate && state.usedDuplicates[duplicateIndex]) {
|
|
846
701
|
state.dump = '*ref_' + duplicateIndex;
|
|
847
702
|
} else {
|
|
@@ -881,34 +736,27 @@ function writeNode(state, level, object, block, compact, iskey) {
|
|
|
881
736
|
if (state.skipInvalid) return false;
|
|
882
737
|
throw new YAMLException('unacceptable kind of an object to dump ' + type);
|
|
883
738
|
}
|
|
884
|
-
|
|
885
739
|
if (state.tag !== null && state.tag !== '?') {
|
|
886
740
|
state.dump = '!<' + state.tag + '> ' + state.dump;
|
|
887
741
|
}
|
|
888
742
|
}
|
|
889
|
-
|
|
890
743
|
return true;
|
|
891
744
|
}
|
|
892
|
-
|
|
893
745
|
function getDuplicateReferences(object, state) {
|
|
894
746
|
var objects = [],
|
|
895
747
|
duplicatesIndexes = [],
|
|
896
748
|
index,
|
|
897
749
|
length;
|
|
898
|
-
|
|
899
750
|
inspectNode(object, objects, duplicatesIndexes);
|
|
900
|
-
|
|
901
751
|
for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {
|
|
902
752
|
state.duplicates.push(objects[duplicatesIndexes[index]]);
|
|
903
753
|
}
|
|
904
754
|
state.usedDuplicates = new Array(length);
|
|
905
755
|
}
|
|
906
|
-
|
|
907
756
|
function inspectNode(object, objects, duplicatesIndexes) {
|
|
908
757
|
var objectKeyList,
|
|
909
758
|
index,
|
|
910
759
|
length;
|
|
911
|
-
|
|
912
760
|
if (object !== null && typeof object === 'object') {
|
|
913
761
|
index = objects.indexOf(object);
|
|
914
762
|
if (index !== -1) {
|
|
@@ -917,14 +765,12 @@ function inspectNode(object, objects, duplicatesIndexes) {
|
|
|
917
765
|
}
|
|
918
766
|
} else {
|
|
919
767
|
objects.push(object);
|
|
920
|
-
|
|
921
768
|
if (Array.isArray(object)) {
|
|
922
769
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
923
770
|
inspectNode(object[index], objects, duplicatesIndexes);
|
|
924
771
|
}
|
|
925
772
|
} else {
|
|
926
773
|
objectKeyList = Object.keys(object);
|
|
927
|
-
|
|
928
774
|
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
|
929
775
|
inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
|
|
930
776
|
}
|
|
@@ -932,40 +778,29 @@ function inspectNode(object, objects, duplicatesIndexes) {
|
|
|
932
778
|
}
|
|
933
779
|
}
|
|
934
780
|
}
|
|
935
|
-
|
|
936
781
|
function dump(input, options) {
|
|
937
782
|
options = options || {};
|
|
938
|
-
|
|
939
783
|
var state = new State(options);
|
|
940
|
-
|
|
941
784
|
if (!state.noRefs) getDuplicateReferences(input, state);
|
|
942
|
-
|
|
943
785
|
if (writeNode(state, 0, input, true, true)) return state.dump + '\n';
|
|
944
|
-
|
|
945
786
|
return '';
|
|
946
787
|
}
|
|
947
|
-
|
|
948
788
|
function safeDump(input, options) {
|
|
949
789
|
return dump(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
|
950
790
|
}
|
|
951
|
-
|
|
952
791
|
module.exports.dump = dump;
|
|
953
792
|
module.exports.safeDump = safeDump;
|
|
954
|
-
|
|
955
793
|
},{"./common":2,"./exception":4,"./schema/default_full":9,"./schema/default_safe":10}],4:[function(require,module,exports){
|
|
956
794
|
// YAML error class. http://stackoverflow.com/questions/8458984
|
|
957
795
|
//
|
|
958
796
|
'use strict';
|
|
959
|
-
|
|
960
797
|
function YAMLException(reason, mark) {
|
|
961
798
|
// Super constructor
|
|
962
799
|
Error.call(this);
|
|
963
|
-
|
|
964
800
|
this.name = 'YAMLException';
|
|
965
801
|
this.reason = reason;
|
|
966
802
|
this.mark = mark;
|
|
967
803
|
this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');
|
|
968
|
-
|
|
969
804
|
// Include stack trace in error object
|
|
970
805
|
if (Error.captureStackTrace) {
|
|
971
806
|
// Chrome and NodeJS
|
|
@@ -975,78 +810,52 @@ function YAMLException(reason, mark) {
|
|
|
975
810
|
this.stack = (new Error()).stack || '';
|
|
976
811
|
}
|
|
977
812
|
}
|
|
978
|
-
|
|
979
|
-
|
|
980
813
|
// Inherit from Error
|
|
981
814
|
YAMLException.prototype = Object.create(Error.prototype);
|
|
982
815
|
YAMLException.prototype.constructor = YAMLException;
|
|
983
|
-
|
|
984
|
-
|
|
985
816
|
YAMLException.prototype.toString = function toString(compact) {
|
|
986
817
|
var result = this.name + ': ';
|
|
987
|
-
|
|
988
818
|
result += this.reason || '(unknown reason)';
|
|
989
|
-
|
|
990
819
|
if (!compact && this.mark) {
|
|
991
820
|
result += ' ' + this.mark.toString();
|
|
992
821
|
}
|
|
993
|
-
|
|
994
822
|
return result;
|
|
995
823
|
};
|
|
996
|
-
|
|
997
|
-
|
|
998
824
|
module.exports = YAMLException;
|
|
999
|
-
|
|
1000
825
|
},{}],5:[function(require,module,exports){
|
|
1001
826
|
'use strict';
|
|
1002
|
-
|
|
1003
827
|
/*eslint-disable max-len,no-use-before-define*/
|
|
1004
|
-
|
|
1005
828
|
var common = require('./common');
|
|
1006
829
|
var YAMLException = require('./exception');
|
|
1007
830
|
var Mark = require('./mark');
|
|
1008
831
|
var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');
|
|
1009
832
|
var DEFAULT_FULL_SCHEMA = require('./schema/default_full');
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
833
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
834
|
var CONTEXT_FLOW_IN = 1;
|
|
1016
835
|
var CONTEXT_FLOW_OUT = 2;
|
|
1017
836
|
var CONTEXT_BLOCK_IN = 3;
|
|
1018
837
|
var CONTEXT_BLOCK_OUT = 4;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
838
|
var CHOMPING_CLIP = 1;
|
|
1022
839
|
var CHOMPING_STRIP = 2;
|
|
1023
840
|
var CHOMPING_KEEP = 3;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
841
|
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
1027
842
|
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
|
1028
843
|
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
|
1029
844
|
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
|
1030
845
|
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
846
|
function _class(obj) { return Object.prototype.toString.call(obj); }
|
|
1034
|
-
|
|
1035
847
|
function is_EOL(c) {
|
|
1036
848
|
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
|
1037
849
|
}
|
|
1038
|
-
|
|
1039
850
|
function is_WHITE_SPACE(c) {
|
|
1040
851
|
return (c === 0x09/* Tab */) || (c === 0x20/* Space */);
|
|
1041
852
|
}
|
|
1042
|
-
|
|
1043
853
|
function is_WS_OR_EOL(c) {
|
|
1044
854
|
return (c === 0x09/* Tab */) ||
|
|
1045
855
|
(c === 0x20/* Space */) ||
|
|
1046
856
|
(c === 0x0A/* LF */) ||
|
|
1047
857
|
(c === 0x0D/* CR */);
|
|
1048
858
|
}
|
|
1049
|
-
|
|
1050
859
|
function is_FLOW_INDICATOR(c) {
|
|
1051
860
|
return c === 0x2C/* , */ ||
|
|
1052
861
|
c === 0x5B/* [ */ ||
|
|
@@ -1054,39 +863,30 @@ function is_FLOW_INDICATOR(c) {
|
|
|
1054
863
|
c === 0x7B/* { */ ||
|
|
1055
864
|
c === 0x7D/* } */;
|
|
1056
865
|
}
|
|
1057
|
-
|
|
1058
866
|
function fromHexCode(c) {
|
|
1059
867
|
var lc;
|
|
1060
|
-
|
|
1061
868
|
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
|
1062
869
|
return c - 0x30;
|
|
1063
870
|
}
|
|
1064
|
-
|
|
1065
871
|
/*eslint-disable no-bitwise*/
|
|
1066
872
|
lc = c | 0x20;
|
|
1067
|
-
|
|
1068
873
|
if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {
|
|
1069
874
|
return lc - 0x61 + 10;
|
|
1070
875
|
}
|
|
1071
|
-
|
|
1072
876
|
return -1;
|
|
1073
877
|
}
|
|
1074
|
-
|
|
1075
878
|
function escapedHexLen(c) {
|
|
1076
879
|
if (c === 0x78/* x */) { return 2; }
|
|
1077
880
|
if (c === 0x75/* u */) { return 4; }
|
|
1078
881
|
if (c === 0x55/* U */) { return 8; }
|
|
1079
882
|
return 0;
|
|
1080
883
|
}
|
|
1081
|
-
|
|
1082
884
|
function fromDecimalCode(c) {
|
|
1083
885
|
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
|
1084
886
|
return c - 0x30;
|
|
1085
887
|
}
|
|
1086
|
-
|
|
1087
888
|
return -1;
|
|
1088
889
|
}
|
|
1089
|
-
|
|
1090
890
|
function simpleEscapeSequence(c) {
|
|
1091
891
|
/* eslint-disable indent */
|
|
1092
892
|
return (c === 0x30/* 0 */) ? '\x00' :
|
|
@@ -1108,7 +908,6 @@ function simpleEscapeSequence(c) {
|
|
|
1108
908
|
(c === 0x4C/* L */) ? '\u2028' :
|
|
1109
909
|
(c === 0x50/* P */) ? '\u2029' : '';
|
|
1110
910
|
}
|
|
1111
|
-
|
|
1112
911
|
function charFromCodepoint(c) {
|
|
1113
912
|
if (c <= 0xFFFF) {
|
|
1114
913
|
return String.fromCharCode(c);
|
|
@@ -1120,36 +919,28 @@ function charFromCodepoint(c) {
|
|
|
1120
919
|
((c - 0x010000) & 0x03FF) + 0xDC00
|
|
1121
920
|
);
|
|
1122
921
|
}
|
|
1123
|
-
|
|
1124
922
|
var simpleEscapeCheck = new Array(256); // integer, for fast access
|
|
1125
923
|
var simpleEscapeMap = new Array(256);
|
|
1126
924
|
for (var i = 0; i < 256; i++) {
|
|
1127
925
|
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
|
1128
926
|
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
1129
927
|
}
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
928
|
function State(input, options) {
|
|
1133
929
|
this.input = input;
|
|
1134
|
-
|
|
1135
930
|
this.filename = options['filename'] || null;
|
|
1136
931
|
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
|
1137
932
|
this.onWarning = options['onWarning'] || null;
|
|
1138
933
|
this.legacy = options['legacy'] || false;
|
|
1139
934
|
this.json = options['json'] || false;
|
|
1140
935
|
this.listener = options['listener'] || null;
|
|
1141
|
-
|
|
1142
936
|
this.implicitTypes = this.schema.compiledImplicit;
|
|
1143
937
|
this.typeMap = this.schema.compiledTypeMap;
|
|
1144
|
-
|
|
1145
938
|
this.length = input.length;
|
|
1146
939
|
this.position = 0;
|
|
1147
940
|
this.line = 0;
|
|
1148
941
|
this.lineStart = 0;
|
|
1149
942
|
this.lineIndent = 0;
|
|
1150
|
-
|
|
1151
943
|
this.documents = [];
|
|
1152
|
-
|
|
1153
944
|
/*
|
|
1154
945
|
this.version;
|
|
1155
946
|
this.checkLineBreaks;
|
|
@@ -1159,96 +950,67 @@ function State(input, options) {
|
|
|
1159
950
|
this.anchor;
|
|
1160
951
|
this.kind;
|
|
1161
952
|
this.result;*/
|
|
1162
|
-
|
|
1163
953
|
}
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
954
|
function generateError(state, message) {
|
|
1167
955
|
return new YAMLException(
|
|
1168
956
|
message,
|
|
1169
957
|
new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));
|
|
1170
958
|
}
|
|
1171
|
-
|
|
1172
959
|
function throwError(state, message) {
|
|
1173
960
|
throw generateError(state, message);
|
|
1174
961
|
}
|
|
1175
|
-
|
|
1176
962
|
function throwWarning(state, message) {
|
|
1177
963
|
if (state.onWarning) {
|
|
1178
964
|
state.onWarning.call(null, generateError(state, message));
|
|
1179
965
|
}
|
|
1180
966
|
}
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
967
|
var directiveHandlers = {
|
|
1184
|
-
|
|
1185
968
|
YAML: function handleYamlDirective(state, name, args) {
|
|
1186
|
-
|
|
1187
969
|
var match, major, minor;
|
|
1188
|
-
|
|
1189
970
|
if (state.version !== null) {
|
|
1190
971
|
throwError(state, 'duplication of %YAML directive');
|
|
1191
972
|
}
|
|
1192
|
-
|
|
1193
973
|
if (args.length !== 1) {
|
|
1194
974
|
throwError(state, 'YAML directive accepts exactly one argument');
|
|
1195
975
|
}
|
|
1196
|
-
|
|
1197
976
|
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
|
1198
|
-
|
|
1199
977
|
if (match === null) {
|
|
1200
978
|
throwError(state, 'ill-formed argument of the YAML directive');
|
|
1201
979
|
}
|
|
1202
|
-
|
|
1203
980
|
major = parseInt(match[1], 10);
|
|
1204
981
|
minor = parseInt(match[2], 10);
|
|
1205
|
-
|
|
1206
982
|
if (major !== 1) {
|
|
1207
983
|
throwError(state, 'unacceptable YAML version of the document');
|
|
1208
984
|
}
|
|
1209
|
-
|
|
1210
985
|
state.version = args[0];
|
|
1211
986
|
state.checkLineBreaks = (minor < 2);
|
|
1212
|
-
|
|
1213
987
|
if (minor !== 1 && minor !== 2) {
|
|
1214
988
|
throwWarning(state, 'unsupported YAML version of the document');
|
|
1215
989
|
}
|
|
1216
990
|
},
|
|
1217
|
-
|
|
1218
991
|
TAG: function handleTagDirective(state, name, args) {
|
|
1219
|
-
|
|
1220
992
|
var handle, prefix;
|
|
1221
|
-
|
|
1222
993
|
if (args.length !== 2) {
|
|
1223
994
|
throwError(state, 'TAG directive accepts exactly two arguments');
|
|
1224
995
|
}
|
|
1225
|
-
|
|
1226
996
|
handle = args[0];
|
|
1227
997
|
prefix = args[1];
|
|
1228
|
-
|
|
1229
998
|
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
|
1230
999
|
throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
|
|
1231
1000
|
}
|
|
1232
|
-
|
|
1233
1001
|
if (_hasOwnProperty.call(state.tagMap, handle)) {
|
|
1234
1002
|
throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
|
|
1235
1003
|
}
|
|
1236
|
-
|
|
1237
1004
|
if (!PATTERN_TAG_URI.test(prefix)) {
|
|
1238
1005
|
throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
|
|
1239
1006
|
}
|
|
1240
|
-
|
|
1241
1007
|
state.tagMap[handle] = prefix;
|
|
1242
1008
|
}
|
|
1243
1009
|
};
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
1010
|
function captureSegment(state, start, end, checkJson) {
|
|
1247
1011
|
var _position, _length, _character, _result;
|
|
1248
|
-
|
|
1249
1012
|
if (start < end) {
|
|
1250
1013
|
_result = state.input.slice(start, end);
|
|
1251
|
-
|
|
1252
1014
|
if (checkJson) {
|
|
1253
1015
|
for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
|
|
1254
1016
|
_character = _result.charCodeAt(_position);
|
|
@@ -1260,64 +1022,49 @@ function captureSegment(state, start, end, checkJson) {
|
|
|
1260
1022
|
} else if (PATTERN_NON_PRINTABLE.test(_result)) {
|
|
1261
1023
|
throwError(state, 'the stream contains non-printable characters');
|
|
1262
1024
|
}
|
|
1263
|
-
|
|
1264
1025
|
state.result += _result;
|
|
1265
1026
|
}
|
|
1266
1027
|
}
|
|
1267
|
-
|
|
1268
1028
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
1269
1029
|
var sourceKeys, key, index, quantity;
|
|
1270
|
-
|
|
1271
1030
|
if (!common.isObject(source)) {
|
|
1272
1031
|
throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
|
|
1273
1032
|
}
|
|
1274
|
-
|
|
1275
1033
|
sourceKeys = Object.keys(source);
|
|
1276
|
-
|
|
1277
1034
|
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
1278
1035
|
key = sourceKeys[index];
|
|
1279
|
-
|
|
1280
1036
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
1281
1037
|
destination[key] = source[key];
|
|
1282
1038
|
overridableKeys[key] = true;
|
|
1283
1039
|
}
|
|
1284
1040
|
}
|
|
1285
1041
|
}
|
|
1286
|
-
|
|
1287
1042
|
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
|
1288
1043
|
var index, quantity;
|
|
1289
|
-
|
|
1290
1044
|
// The output is a plain object here, so keys can only be strings.
|
|
1291
1045
|
// We need to convert keyNode to a string, but doing so can hang the process
|
|
1292
1046
|
// (deeply nested arrays that explode exponentially using aliases).
|
|
1293
1047
|
if (Array.isArray(keyNode)) {
|
|
1294
1048
|
keyNode = Array.prototype.slice.call(keyNode);
|
|
1295
|
-
|
|
1296
1049
|
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
|
1297
1050
|
if (Array.isArray(keyNode[index])) {
|
|
1298
1051
|
throwError(state, 'nested arrays are not supported inside keys');
|
|
1299
1052
|
}
|
|
1300
|
-
|
|
1301
1053
|
if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
|
|
1302
1054
|
keyNode[index] = '[object Object]';
|
|
1303
1055
|
}
|
|
1304
1056
|
}
|
|
1305
1057
|
}
|
|
1306
|
-
|
|
1307
1058
|
// Avoid code execution in load() via toString property
|
|
1308
1059
|
// (still use its own toString for arrays, timestamps,
|
|
1309
1060
|
// and whatever user schema extensions happen to have @@toStringTag)
|
|
1310
1061
|
if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
|
|
1311
1062
|
keyNode = '[object Object]';
|
|
1312
1063
|
}
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
1064
|
keyNode = String(keyNode);
|
|
1316
|
-
|
|
1317
1065
|
if (_result === null) {
|
|
1318
1066
|
_result = {};
|
|
1319
1067
|
}
|
|
1320
|
-
|
|
1321
1068
|
if (keyTag === 'tag:yaml.org,2002:merge') {
|
|
1322
1069
|
if (Array.isArray(valueNode)) {
|
|
1323
1070
|
for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
@@ -1337,15 +1084,11 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
|
|
|
1337
1084
|
_result[keyNode] = valueNode;
|
|
1338
1085
|
delete overridableKeys[keyNode];
|
|
1339
1086
|
}
|
|
1340
|
-
|
|
1341
1087
|
return _result;
|
|
1342
1088
|
}
|
|
1343
|
-
|
|
1344
1089
|
function readLineBreak(state) {
|
|
1345
1090
|
var ch;
|
|
1346
|
-
|
|
1347
1091
|
ch = state.input.charCodeAt(state.position);
|
|
1348
|
-
|
|
1349
1092
|
if (ch === 0x0A/* LF */) {
|
|
1350
1093
|
state.position++;
|
|
1351
1094
|
} else if (ch === 0x0D/* CR */) {
|
|
@@ -1356,33 +1099,26 @@ function readLineBreak(state) {
|
|
|
1356
1099
|
} else {
|
|
1357
1100
|
throwError(state, 'a line break is expected');
|
|
1358
1101
|
}
|
|
1359
|
-
|
|
1360
1102
|
state.line += 1;
|
|
1361
1103
|
state.lineStart = state.position;
|
|
1362
1104
|
}
|
|
1363
|
-
|
|
1364
1105
|
function skipSeparationSpace(state, allowComments, checkIndent) {
|
|
1365
1106
|
var lineBreaks = 0,
|
|
1366
1107
|
ch = state.input.charCodeAt(state.position);
|
|
1367
|
-
|
|
1368
1108
|
while (ch !== 0) {
|
|
1369
1109
|
while (is_WHITE_SPACE(ch)) {
|
|
1370
1110
|
ch = state.input.charCodeAt(++state.position);
|
|
1371
1111
|
}
|
|
1372
|
-
|
|
1373
1112
|
if (allowComments && ch === 0x23/* # */) {
|
|
1374
1113
|
do {
|
|
1375
1114
|
ch = state.input.charCodeAt(++state.position);
|
|
1376
1115
|
} while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);
|
|
1377
1116
|
}
|
|
1378
|
-
|
|
1379
1117
|
if (is_EOL(ch)) {
|
|
1380
1118
|
readLineBreak(state);
|
|
1381
|
-
|
|
1382
1119
|
ch = state.input.charCodeAt(state.position);
|
|
1383
1120
|
lineBreaks++;
|
|
1384
1121
|
state.lineIndent = 0;
|
|
1385
|
-
|
|
1386
1122
|
while (ch === 0x20/* Space */) {
|
|
1387
1123
|
state.lineIndent++;
|
|
1388
1124
|
ch = state.input.charCodeAt(++state.position);
|
|
@@ -1391,38 +1127,28 @@ function skipSeparationSpace(state, allowComments, checkIndent) {
|
|
|
1391
1127
|
break;
|
|
1392
1128
|
}
|
|
1393
1129
|
}
|
|
1394
|
-
|
|
1395
1130
|
if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
|
|
1396
1131
|
throwWarning(state, 'deficient indentation');
|
|
1397
1132
|
}
|
|
1398
|
-
|
|
1399
1133
|
return lineBreaks;
|
|
1400
1134
|
}
|
|
1401
|
-
|
|
1402
1135
|
function testDocumentSeparator(state) {
|
|
1403
1136
|
var _position = state.position,
|
|
1404
1137
|
ch;
|
|
1405
|
-
|
|
1406
1138
|
ch = state.input.charCodeAt(_position);
|
|
1407
|
-
|
|
1408
1139
|
// Condition state.position === state.lineStart is tested
|
|
1409
1140
|
// in parent on each call, for efficiency. No needs to test here again.
|
|
1410
1141
|
if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&
|
|
1411
1142
|
ch === state.input.charCodeAt(_position + 1) &&
|
|
1412
1143
|
ch === state.input.charCodeAt(_position + 2)) {
|
|
1413
|
-
|
|
1414
1144
|
_position += 3;
|
|
1415
|
-
|
|
1416
1145
|
ch = state.input.charCodeAt(_position);
|
|
1417
|
-
|
|
1418
1146
|
if (ch === 0 || is_WS_OR_EOL(ch)) {
|
|
1419
1147
|
return true;
|
|
1420
1148
|
}
|
|
1421
1149
|
}
|
|
1422
|
-
|
|
1423
1150
|
return false;
|
|
1424
1151
|
}
|
|
1425
|
-
|
|
1426
1152
|
function writeFoldedLines(state, count) {
|
|
1427
1153
|
if (count === 1) {
|
|
1428
1154
|
state.result += ' ';
|
|
@@ -1430,8 +1156,6 @@ function writeFoldedLines(state, count) {
|
|
|
1430
1156
|
state.result += common.repeat('\n', count - 1);
|
|
1431
1157
|
}
|
|
1432
1158
|
}
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
1159
|
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
1436
1160
|
var preceding,
|
|
1437
1161
|
following,
|
|
@@ -1444,9 +1168,7 @@ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
|
1444
1168
|
_kind = state.kind,
|
|
1445
1169
|
_result = state.result,
|
|
1446
1170
|
ch;
|
|
1447
|
-
|
|
1448
1171
|
ch = state.input.charCodeAt(state.position);
|
|
1449
|
-
|
|
1450
1172
|
if (is_WS_OR_EOL(ch) ||
|
|
1451
1173
|
is_FLOW_INDICATOR(ch) ||
|
|
1452
1174
|
ch === 0x23/* # */ ||
|
|
@@ -1462,47 +1184,37 @@ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
|
1462
1184
|
ch === 0x60/* ` */) {
|
|
1463
1185
|
return false;
|
|
1464
1186
|
}
|
|
1465
|
-
|
|
1466
1187
|
if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {
|
|
1467
1188
|
following = state.input.charCodeAt(state.position + 1);
|
|
1468
|
-
|
|
1469
1189
|
if (is_WS_OR_EOL(following) ||
|
|
1470
1190
|
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
|
1471
1191
|
return false;
|
|
1472
1192
|
}
|
|
1473
1193
|
}
|
|
1474
|
-
|
|
1475
1194
|
state.kind = 'scalar';
|
|
1476
1195
|
state.result = '';
|
|
1477
1196
|
captureStart = captureEnd = state.position;
|
|
1478
1197
|
hasPendingContent = false;
|
|
1479
|
-
|
|
1480
1198
|
while (ch !== 0) {
|
|
1481
1199
|
if (ch === 0x3A/* : */) {
|
|
1482
1200
|
following = state.input.charCodeAt(state.position + 1);
|
|
1483
|
-
|
|
1484
1201
|
if (is_WS_OR_EOL(following) ||
|
|
1485
1202
|
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
|
1486
1203
|
break;
|
|
1487
1204
|
}
|
|
1488
|
-
|
|
1489
1205
|
} else if (ch === 0x23/* # */) {
|
|
1490
1206
|
preceding = state.input.charCodeAt(state.position - 1);
|
|
1491
|
-
|
|
1492
1207
|
if (is_WS_OR_EOL(preceding)) {
|
|
1493
1208
|
break;
|
|
1494
1209
|
}
|
|
1495
|
-
|
|
1496
1210
|
} else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
|
|
1497
1211
|
withinFlowCollection && is_FLOW_INDICATOR(ch)) {
|
|
1498
1212
|
break;
|
|
1499
|
-
|
|
1500
1213
|
} else if (is_EOL(ch)) {
|
|
1501
1214
|
_line = state.line;
|
|
1502
1215
|
_lineStart = state.lineStart;
|
|
1503
1216
|
_lineIndent = state.lineIndent;
|
|
1504
1217
|
skipSeparationSpace(state, false, -1);
|
|
1505
|
-
|
|
1506
1218
|
if (state.lineIndent >= nodeIndent) {
|
|
1507
1219
|
hasPendingContent = true;
|
|
1508
1220
|
ch = state.input.charCodeAt(state.position);
|
|
@@ -1515,52 +1227,40 @@ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
|
1515
1227
|
break;
|
|
1516
1228
|
}
|
|
1517
1229
|
}
|
|
1518
|
-
|
|
1519
1230
|
if (hasPendingContent) {
|
|
1520
1231
|
captureSegment(state, captureStart, captureEnd, false);
|
|
1521
1232
|
writeFoldedLines(state, state.line - _line);
|
|
1522
1233
|
captureStart = captureEnd = state.position;
|
|
1523
1234
|
hasPendingContent = false;
|
|
1524
1235
|
}
|
|
1525
|
-
|
|
1526
1236
|
if (!is_WHITE_SPACE(ch)) {
|
|
1527
1237
|
captureEnd = state.position + 1;
|
|
1528
1238
|
}
|
|
1529
|
-
|
|
1530
1239
|
ch = state.input.charCodeAt(++state.position);
|
|
1531
1240
|
}
|
|
1532
|
-
|
|
1533
1241
|
captureSegment(state, captureStart, captureEnd, false);
|
|
1534
|
-
|
|
1535
1242
|
if (state.result) {
|
|
1536
1243
|
return true;
|
|
1537
1244
|
}
|
|
1538
|
-
|
|
1539
1245
|
state.kind = _kind;
|
|
1540
1246
|
state.result = _result;
|
|
1541
1247
|
return false;
|
|
1542
1248
|
}
|
|
1543
|
-
|
|
1544
1249
|
function readSingleQuotedScalar(state, nodeIndent) {
|
|
1545
1250
|
var ch,
|
|
1546
1251
|
captureStart, captureEnd;
|
|
1547
|
-
|
|
1548
1252
|
ch = state.input.charCodeAt(state.position);
|
|
1549
|
-
|
|
1550
1253
|
if (ch !== 0x27/* ' */) {
|
|
1551
1254
|
return false;
|
|
1552
1255
|
}
|
|
1553
|
-
|
|
1554
1256
|
state.kind = 'scalar';
|
|
1555
1257
|
state.result = '';
|
|
1556
1258
|
state.position++;
|
|
1557
1259
|
captureStart = captureEnd = state.position;
|
|
1558
|
-
|
|
1559
1260
|
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
1560
1261
|
if (ch === 0x27/* ' */) {
|
|
1561
1262
|
captureSegment(state, captureStart, state.position, true);
|
|
1562
1263
|
ch = state.input.charCodeAt(++state.position);
|
|
1563
|
-
|
|
1564
1264
|
if (ch === 0x27/* ' */) {
|
|
1565
1265
|
captureStart = state.position;
|
|
1566
1266
|
state.position++;
|
|
@@ -1568,24 +1268,19 @@ function readSingleQuotedScalar(state, nodeIndent) {
|
|
|
1568
1268
|
} else {
|
|
1569
1269
|
return true;
|
|
1570
1270
|
}
|
|
1571
|
-
|
|
1572
1271
|
} else if (is_EOL(ch)) {
|
|
1573
1272
|
captureSegment(state, captureStart, captureEnd, true);
|
|
1574
1273
|
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
1575
1274
|
captureStart = captureEnd = state.position;
|
|
1576
|
-
|
|
1577
1275
|
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
1578
1276
|
throwError(state, 'unexpected end of the document within a single quoted scalar');
|
|
1579
|
-
|
|
1580
1277
|
} else {
|
|
1581
1278
|
state.position++;
|
|
1582
1279
|
captureEnd = state.position;
|
|
1583
1280
|
}
|
|
1584
1281
|
}
|
|
1585
|
-
|
|
1586
1282
|
throwError(state, 'unexpected end of the stream within a single quoted scalar');
|
|
1587
1283
|
}
|
|
1588
|
-
|
|
1589
1284
|
function readDoubleQuotedScalar(state, nodeIndent) {
|
|
1590
1285
|
var captureStart,
|
|
1591
1286
|
captureEnd,
|
|
@@ -1593,78 +1288,58 @@ function readDoubleQuotedScalar(state, nodeIndent) {
|
|
|
1593
1288
|
hexResult,
|
|
1594
1289
|
tmp,
|
|
1595
1290
|
ch;
|
|
1596
|
-
|
|
1597
1291
|
ch = state.input.charCodeAt(state.position);
|
|
1598
|
-
|
|
1599
1292
|
if (ch !== 0x22/* " */) {
|
|
1600
1293
|
return false;
|
|
1601
1294
|
}
|
|
1602
|
-
|
|
1603
1295
|
state.kind = 'scalar';
|
|
1604
1296
|
state.result = '';
|
|
1605
1297
|
state.position++;
|
|
1606
1298
|
captureStart = captureEnd = state.position;
|
|
1607
|
-
|
|
1608
1299
|
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
1609
1300
|
if (ch === 0x22/* " */) {
|
|
1610
1301
|
captureSegment(state, captureStart, state.position, true);
|
|
1611
1302
|
state.position++;
|
|
1612
1303
|
return true;
|
|
1613
|
-
|
|
1614
1304
|
} else if (ch === 0x5C/* \ */) {
|
|
1615
1305
|
captureSegment(state, captureStart, state.position, true);
|
|
1616
1306
|
ch = state.input.charCodeAt(++state.position);
|
|
1617
|
-
|
|
1618
1307
|
if (is_EOL(ch)) {
|
|
1619
1308
|
skipSeparationSpace(state, false, nodeIndent);
|
|
1620
|
-
|
|
1621
1309
|
// TODO: rework to inline fn with no type cast?
|
|
1622
1310
|
} else if (ch < 256 && simpleEscapeCheck[ch]) {
|
|
1623
1311
|
state.result += simpleEscapeMap[ch];
|
|
1624
1312
|
state.position++;
|
|
1625
|
-
|
|
1626
1313
|
} else if ((tmp = escapedHexLen(ch)) > 0) {
|
|
1627
1314
|
hexLength = tmp;
|
|
1628
1315
|
hexResult = 0;
|
|
1629
|
-
|
|
1630
1316
|
for (; hexLength > 0; hexLength--) {
|
|
1631
1317
|
ch = state.input.charCodeAt(++state.position);
|
|
1632
|
-
|
|
1633
1318
|
if ((tmp = fromHexCode(ch)) >= 0) {
|
|
1634
1319
|
hexResult = (hexResult << 4) + tmp;
|
|
1635
|
-
|
|
1636
1320
|
} else {
|
|
1637
1321
|
throwError(state, 'expected hexadecimal character');
|
|
1638
1322
|
}
|
|
1639
1323
|
}
|
|
1640
|
-
|
|
1641
1324
|
state.result += charFromCodepoint(hexResult);
|
|
1642
|
-
|
|
1643
1325
|
state.position++;
|
|
1644
|
-
|
|
1645
1326
|
} else {
|
|
1646
1327
|
throwError(state, 'unknown escape sequence');
|
|
1647
1328
|
}
|
|
1648
|
-
|
|
1649
1329
|
captureStart = captureEnd = state.position;
|
|
1650
|
-
|
|
1651
1330
|
} else if (is_EOL(ch)) {
|
|
1652
1331
|
captureSegment(state, captureStart, captureEnd, true);
|
|
1653
1332
|
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
1654
1333
|
captureStart = captureEnd = state.position;
|
|
1655
|
-
|
|
1656
1334
|
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
1657
1335
|
throwError(state, 'unexpected end of the document within a double quoted scalar');
|
|
1658
|
-
|
|
1659
1336
|
} else {
|
|
1660
1337
|
state.position++;
|
|
1661
1338
|
captureEnd = state.position;
|
|
1662
1339
|
}
|
|
1663
1340
|
}
|
|
1664
|
-
|
|
1665
1341
|
throwError(state, 'unexpected end of the stream within a double quoted scalar');
|
|
1666
1342
|
}
|
|
1667
|
-
|
|
1668
1343
|
function readFlowCollection(state, nodeIndent) {
|
|
1669
1344
|
var readNext = true,
|
|
1670
1345
|
_line,
|
|
@@ -1681,9 +1356,7 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1681
1356
|
keyTag,
|
|
1682
1357
|
valueNode,
|
|
1683
1358
|
ch;
|
|
1684
|
-
|
|
1685
1359
|
ch = state.input.charCodeAt(state.position);
|
|
1686
|
-
|
|
1687
1360
|
if (ch === 0x5B/* [ */) {
|
|
1688
1361
|
terminator = 0x5D;/* ] */
|
|
1689
1362
|
isMapping = false;
|
|
@@ -1695,18 +1368,13 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1695
1368
|
} else {
|
|
1696
1369
|
return false;
|
|
1697
1370
|
}
|
|
1698
|
-
|
|
1699
1371
|
if (state.anchor !== null) {
|
|
1700
1372
|
state.anchorMap[state.anchor] = _result;
|
|
1701
1373
|
}
|
|
1702
|
-
|
|
1703
1374
|
ch = state.input.charCodeAt(++state.position);
|
|
1704
|
-
|
|
1705
1375
|
while (ch !== 0) {
|
|
1706
1376
|
skipSeparationSpace(state, true, nodeIndent);
|
|
1707
|
-
|
|
1708
1377
|
ch = state.input.charCodeAt(state.position);
|
|
1709
|
-
|
|
1710
1378
|
if (ch === terminator) {
|
|
1711
1379
|
state.position++;
|
|
1712
1380
|
state.tag = _tag;
|
|
@@ -1717,28 +1385,22 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1717
1385
|
} else if (!readNext) {
|
|
1718
1386
|
throwError(state, 'missed comma between flow collection entries');
|
|
1719
1387
|
}
|
|
1720
|
-
|
|
1721
1388
|
keyTag = keyNode = valueNode = null;
|
|
1722
1389
|
isPair = isExplicitPair = false;
|
|
1723
|
-
|
|
1724
1390
|
if (ch === 0x3F/* ? */) {
|
|
1725
1391
|
following = state.input.charCodeAt(state.position + 1);
|
|
1726
|
-
|
|
1727
1392
|
if (is_WS_OR_EOL(following)) {
|
|
1728
1393
|
isPair = isExplicitPair = true;
|
|
1729
1394
|
state.position++;
|
|
1730
1395
|
skipSeparationSpace(state, true, nodeIndent);
|
|
1731
1396
|
}
|
|
1732
1397
|
}
|
|
1733
|
-
|
|
1734
1398
|
_line = state.line;
|
|
1735
1399
|
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
1736
1400
|
keyTag = state.tag;
|
|
1737
1401
|
keyNode = state.result;
|
|
1738
1402
|
skipSeparationSpace(state, true, nodeIndent);
|
|
1739
|
-
|
|
1740
1403
|
ch = state.input.charCodeAt(state.position);
|
|
1741
|
-
|
|
1742
1404
|
if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {
|
|
1743
1405
|
isPair = true;
|
|
1744
1406
|
ch = state.input.charCodeAt(++state.position);
|
|
@@ -1746,7 +1408,6 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1746
1408
|
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
1747
1409
|
valueNode = state.result;
|
|
1748
1410
|
}
|
|
1749
|
-
|
|
1750
1411
|
if (isMapping) {
|
|
1751
1412
|
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);
|
|
1752
1413
|
} else if (isPair) {
|
|
@@ -1754,11 +1415,8 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1754
1415
|
} else {
|
|
1755
1416
|
_result.push(keyNode);
|
|
1756
1417
|
}
|
|
1757
|
-
|
|
1758
1418
|
skipSeparationSpace(state, true, nodeIndent);
|
|
1759
|
-
|
|
1760
1419
|
ch = state.input.charCodeAt(state.position);
|
|
1761
|
-
|
|
1762
1420
|
if (ch === 0x2C/* , */) {
|
|
1763
1421
|
readNext = true;
|
|
1764
1422
|
ch = state.input.charCodeAt(++state.position);
|
|
@@ -1766,10 +1424,8 @@ function readFlowCollection(state, nodeIndent) {
|
|
|
1766
1424
|
readNext = false;
|
|
1767
1425
|
}
|
|
1768
1426
|
}
|
|
1769
|
-
|
|
1770
1427
|
throwError(state, 'unexpected end of the stream within a flow collection');
|
|
1771
1428
|
}
|
|
1772
|
-
|
|
1773
1429
|
function readBlockScalar(state, nodeIndent) {
|
|
1774
1430
|
var captureStart,
|
|
1775
1431
|
folding,
|
|
@@ -1781,9 +1437,7 @@ function readBlockScalar(state, nodeIndent) {
|
|
|
1781
1437
|
atMoreIndented = false,
|
|
1782
1438
|
tmp,
|
|
1783
1439
|
ch;
|
|
1784
|
-
|
|
1785
1440
|
ch = state.input.charCodeAt(state.position);
|
|
1786
|
-
|
|
1787
1441
|
if (ch === 0x7C/* | */) {
|
|
1788
1442
|
folding = false;
|
|
1789
1443
|
} else if (ch === 0x3E/* > */) {
|
|
@@ -1791,20 +1445,16 @@ function readBlockScalar(state, nodeIndent) {
|
|
|
1791
1445
|
} else {
|
|
1792
1446
|
return false;
|
|
1793
1447
|
}
|
|
1794
|
-
|
|
1795
1448
|
state.kind = 'scalar';
|
|
1796
1449
|
state.result = '';
|
|
1797
|
-
|
|
1798
1450
|
while (ch !== 0) {
|
|
1799
1451
|
ch = state.input.charCodeAt(++state.position);
|
|
1800
|
-
|
|
1801
1452
|
if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {
|
|
1802
1453
|
if (CHOMPING_CLIP === chomping) {
|
|
1803
1454
|
chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;
|
|
1804
1455
|
} else {
|
|
1805
1456
|
throwError(state, 'repeat of a chomping mode identifier');
|
|
1806
1457
|
}
|
|
1807
|
-
|
|
1808
1458
|
} else if ((tmp = fromDecimalCode(ch)) >= 0) {
|
|
1809
1459
|
if (tmp === 0) {
|
|
1810
1460
|
throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
|
|
@@ -1814,46 +1464,36 @@ function readBlockScalar(state, nodeIndent) {
|
|
|
1814
1464
|
} else {
|
|
1815
1465
|
throwError(state, 'repeat of an indentation width identifier');
|
|
1816
1466
|
}
|
|
1817
|
-
|
|
1818
1467
|
} else {
|
|
1819
1468
|
break;
|
|
1820
1469
|
}
|
|
1821
1470
|
}
|
|
1822
|
-
|
|
1823
1471
|
if (is_WHITE_SPACE(ch)) {
|
|
1824
1472
|
do { ch = state.input.charCodeAt(++state.position); }
|
|
1825
1473
|
while (is_WHITE_SPACE(ch));
|
|
1826
|
-
|
|
1827
1474
|
if (ch === 0x23/* # */) {
|
|
1828
1475
|
do { ch = state.input.charCodeAt(++state.position); }
|
|
1829
1476
|
while (!is_EOL(ch) && (ch !== 0));
|
|
1830
1477
|
}
|
|
1831
1478
|
}
|
|
1832
|
-
|
|
1833
1479
|
while (ch !== 0) {
|
|
1834
1480
|
readLineBreak(state);
|
|
1835
1481
|
state.lineIndent = 0;
|
|
1836
|
-
|
|
1837
1482
|
ch = state.input.charCodeAt(state.position);
|
|
1838
|
-
|
|
1839
1483
|
while ((!detectedIndent || state.lineIndent < textIndent) &&
|
|
1840
1484
|
(ch === 0x20/* Space */)) {
|
|
1841
1485
|
state.lineIndent++;
|
|
1842
1486
|
ch = state.input.charCodeAt(++state.position);
|
|
1843
1487
|
}
|
|
1844
|
-
|
|
1845
1488
|
if (!detectedIndent && state.lineIndent > textIndent) {
|
|
1846
1489
|
textIndent = state.lineIndent;
|
|
1847
1490
|
}
|
|
1848
|
-
|
|
1849
1491
|
if (is_EOL(ch)) {
|
|
1850
1492
|
emptyLines++;
|
|
1851
1493
|
continue;
|
|
1852
1494
|
}
|
|
1853
|
-
|
|
1854
1495
|
// End of the scalar.
|
|
1855
1496
|
if (state.lineIndent < textIndent) {
|
|
1856
|
-
|
|
1857
1497
|
// Perform the chomping.
|
|
1858
1498
|
if (chomping === CHOMPING_KEEP) {
|
|
1859
1499
|
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
@@ -1862,57 +1502,45 @@ function readBlockScalar(state, nodeIndent) {
|
|
|
1862
1502
|
state.result += '\n';
|
|
1863
1503
|
}
|
|
1864
1504
|
}
|
|
1865
|
-
|
|
1866
1505
|
// Break this `while` cycle and go to the funciton's epilogue.
|
|
1867
1506
|
break;
|
|
1868
1507
|
}
|
|
1869
|
-
|
|
1870
1508
|
// Folded style: use fancy rules to handle line breaks.
|
|
1871
1509
|
if (folding) {
|
|
1872
|
-
|
|
1873
1510
|
// Lines starting with white space characters (more-indented lines) are not folded.
|
|
1874
1511
|
if (is_WHITE_SPACE(ch)) {
|
|
1875
1512
|
atMoreIndented = true;
|
|
1876
1513
|
// except for the first content line (cf. Example 8.1)
|
|
1877
1514
|
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
1878
|
-
|
|
1879
1515
|
// End of more-indented block.
|
|
1880
1516
|
} else if (atMoreIndented) {
|
|
1881
1517
|
atMoreIndented = false;
|
|
1882
1518
|
state.result += common.repeat('\n', emptyLines + 1);
|
|
1883
|
-
|
|
1884
1519
|
// Just one line break - perceive as the same line.
|
|
1885
1520
|
} else if (emptyLines === 0) {
|
|
1886
1521
|
if (didReadContent) { // i.e. only if we have already read some scalar content.
|
|
1887
1522
|
state.result += ' ';
|
|
1888
1523
|
}
|
|
1889
|
-
|
|
1890
1524
|
// Several line breaks - perceive as different lines.
|
|
1891
1525
|
} else {
|
|
1892
1526
|
state.result += common.repeat('\n', emptyLines);
|
|
1893
1527
|
}
|
|
1894
|
-
|
|
1895
1528
|
// Literal style: just add exact number of line breaks between content lines.
|
|
1896
1529
|
} else {
|
|
1897
1530
|
// Keep all line breaks except the header line break.
|
|
1898
1531
|
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
1899
1532
|
}
|
|
1900
|
-
|
|
1901
1533
|
didReadContent = true;
|
|
1902
1534
|
detectedIndent = true;
|
|
1903
1535
|
emptyLines = 0;
|
|
1904
1536
|
captureStart = state.position;
|
|
1905
|
-
|
|
1906
1537
|
while (!is_EOL(ch) && (ch !== 0)) {
|
|
1907
1538
|
ch = state.input.charCodeAt(++state.position);
|
|
1908
1539
|
}
|
|
1909
|
-
|
|
1910
1540
|
captureSegment(state, captureStart, state.position, false);
|
|
1911
1541
|
}
|
|
1912
|
-
|
|
1913
1542
|
return true;
|
|
1914
1543
|
}
|
|
1915
|
-
|
|
1916
1544
|
function readBlockSequence(state, nodeIndent) {
|
|
1917
1545
|
var _line,
|
|
1918
1546
|
_tag = state.tag,
|
|
@@ -1921,28 +1549,20 @@ function readBlockSequence(state, nodeIndent) {
|
|
|
1921
1549
|
following,
|
|
1922
1550
|
detected = false,
|
|
1923
1551
|
ch;
|
|
1924
|
-
|
|
1925
1552
|
if (state.anchor !== null) {
|
|
1926
1553
|
state.anchorMap[state.anchor] = _result;
|
|
1927
1554
|
}
|
|
1928
|
-
|
|
1929
1555
|
ch = state.input.charCodeAt(state.position);
|
|
1930
|
-
|
|
1931
1556
|
while (ch !== 0) {
|
|
1932
|
-
|
|
1933
1557
|
if (ch !== 0x2D/* - */) {
|
|
1934
1558
|
break;
|
|
1935
1559
|
}
|
|
1936
|
-
|
|
1937
1560
|
following = state.input.charCodeAt(state.position + 1);
|
|
1938
|
-
|
|
1939
1561
|
if (!is_WS_OR_EOL(following)) {
|
|
1940
1562
|
break;
|
|
1941
1563
|
}
|
|
1942
|
-
|
|
1943
1564
|
detected = true;
|
|
1944
1565
|
state.position++;
|
|
1945
|
-
|
|
1946
1566
|
if (skipSeparationSpace(state, true, -1)) {
|
|
1947
1567
|
if (state.lineIndent <= nodeIndent) {
|
|
1948
1568
|
_result.push(null);
|
|
@@ -1950,21 +1570,17 @@ function readBlockSequence(state, nodeIndent) {
|
|
|
1950
1570
|
continue;
|
|
1951
1571
|
}
|
|
1952
1572
|
}
|
|
1953
|
-
|
|
1954
1573
|
_line = state.line;
|
|
1955
1574
|
composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
|
1956
1575
|
_result.push(state.result);
|
|
1957
1576
|
skipSeparationSpace(state, true, -1);
|
|
1958
|
-
|
|
1959
1577
|
ch = state.input.charCodeAt(state.position);
|
|
1960
|
-
|
|
1961
1578
|
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
|
1962
1579
|
throwError(state, 'bad indentation of a sequence entry');
|
|
1963
1580
|
} else if (state.lineIndent < nodeIndent) {
|
|
1964
1581
|
break;
|
|
1965
1582
|
}
|
|
1966
1583
|
}
|
|
1967
|
-
|
|
1968
1584
|
if (detected) {
|
|
1969
1585
|
state.tag = _tag;
|
|
1970
1586
|
state.anchor = _anchor;
|
|
@@ -1974,7 +1590,6 @@ function readBlockSequence(state, nodeIndent) {
|
|
|
1974
1590
|
}
|
|
1975
1591
|
return false;
|
|
1976
1592
|
}
|
|
1977
|
-
|
|
1978
1593
|
function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
1979
1594
|
var following,
|
|
1980
1595
|
allowCompact,
|
|
@@ -1990,98 +1605,76 @@ function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
|
1990
1605
|
atExplicitKey = false,
|
|
1991
1606
|
detected = false,
|
|
1992
1607
|
ch;
|
|
1993
|
-
|
|
1994
1608
|
if (state.anchor !== null) {
|
|
1995
1609
|
state.anchorMap[state.anchor] = _result;
|
|
1996
1610
|
}
|
|
1997
|
-
|
|
1998
1611
|
ch = state.input.charCodeAt(state.position);
|
|
1999
|
-
|
|
2000
1612
|
while (ch !== 0) {
|
|
2001
1613
|
following = state.input.charCodeAt(state.position + 1);
|
|
2002
1614
|
_line = state.line; // Save the current line.
|
|
2003
1615
|
_pos = state.position;
|
|
2004
|
-
|
|
2005
1616
|
//
|
|
2006
1617
|
// Explicit notation case. There are two separate blocks:
|
|
2007
1618
|
// first for the key (denoted by "?") and second for the value (denoted by ":")
|
|
2008
1619
|
//
|
|
2009
1620
|
if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {
|
|
2010
|
-
|
|
2011
1621
|
if (ch === 0x3F/* ? */) {
|
|
2012
1622
|
if (atExplicitKey) {
|
|
2013
1623
|
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
2014
1624
|
keyTag = keyNode = valueNode = null;
|
|
2015
1625
|
}
|
|
2016
|
-
|
|
2017
1626
|
detected = true;
|
|
2018
1627
|
atExplicitKey = true;
|
|
2019
1628
|
allowCompact = true;
|
|
2020
|
-
|
|
2021
1629
|
} else if (atExplicitKey) {
|
|
2022
1630
|
// i.e. 0x3A/* : */ === character after the explicit key.
|
|
2023
1631
|
atExplicitKey = false;
|
|
2024
1632
|
allowCompact = true;
|
|
2025
|
-
|
|
2026
1633
|
} else {
|
|
2027
1634
|
throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');
|
|
2028
1635
|
}
|
|
2029
|
-
|
|
2030
1636
|
state.position += 1;
|
|
2031
1637
|
ch = following;
|
|
2032
|
-
|
|
2033
1638
|
//
|
|
2034
1639
|
// Implicit notation case. Flow-style node as the key first, then ":", and the value.
|
|
2035
1640
|
//
|
|
2036
1641
|
} else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
|
|
2037
|
-
|
|
2038
1642
|
if (state.line === _line) {
|
|
2039
1643
|
ch = state.input.charCodeAt(state.position);
|
|
2040
|
-
|
|
2041
1644
|
while (is_WHITE_SPACE(ch)) {
|
|
2042
1645
|
ch = state.input.charCodeAt(++state.position);
|
|
2043
1646
|
}
|
|
2044
|
-
|
|
2045
1647
|
if (ch === 0x3A/* : */) {
|
|
2046
1648
|
ch = state.input.charCodeAt(++state.position);
|
|
2047
|
-
|
|
2048
1649
|
if (!is_WS_OR_EOL(ch)) {
|
|
2049
1650
|
throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
|
|
2050
1651
|
}
|
|
2051
|
-
|
|
2052
1652
|
if (atExplicitKey) {
|
|
2053
1653
|
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
2054
1654
|
keyTag = keyNode = valueNode = null;
|
|
2055
1655
|
}
|
|
2056
|
-
|
|
2057
1656
|
detected = true;
|
|
2058
1657
|
atExplicitKey = false;
|
|
2059
1658
|
allowCompact = false;
|
|
2060
1659
|
keyTag = state.tag;
|
|
2061
1660
|
keyNode = state.result;
|
|
2062
|
-
|
|
2063
1661
|
} else if (detected) {
|
|
2064
1662
|
throwError(state, 'can not read an implicit mapping pair; a colon is missed');
|
|
2065
|
-
|
|
2066
1663
|
} else {
|
|
2067
1664
|
state.tag = _tag;
|
|
2068
1665
|
state.anchor = _anchor;
|
|
2069
1666
|
return true; // Keep the result of `composeNode`.
|
|
2070
1667
|
}
|
|
2071
|
-
|
|
2072
1668
|
} else if (detected) {
|
|
2073
1669
|
throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
|
|
2074
|
-
|
|
2075
1670
|
} else {
|
|
2076
1671
|
state.tag = _tag;
|
|
2077
1672
|
state.anchor = _anchor;
|
|
2078
1673
|
return true; // Keep the result of `composeNode`.
|
|
2079
1674
|
}
|
|
2080
|
-
|
|
2081
1675
|
} else {
|
|
2082
1676
|
break; // Reading is done. Go to the epilogue.
|
|
2083
1677
|
}
|
|
2084
|
-
|
|
2085
1678
|
//
|
|
2086
1679
|
// Common reading code for both explicit and implicit notations.
|
|
2087
1680
|
//
|
|
@@ -2093,32 +1686,26 @@ function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
|
2093
1686
|
valueNode = state.result;
|
|
2094
1687
|
}
|
|
2095
1688
|
}
|
|
2096
|
-
|
|
2097
1689
|
if (!atExplicitKey) {
|
|
2098
1690
|
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);
|
|
2099
1691
|
keyTag = keyNode = valueNode = null;
|
|
2100
1692
|
}
|
|
2101
|
-
|
|
2102
1693
|
skipSeparationSpace(state, true, -1);
|
|
2103
1694
|
ch = state.input.charCodeAt(state.position);
|
|
2104
1695
|
}
|
|
2105
|
-
|
|
2106
1696
|
if (state.lineIndent > nodeIndent && (ch !== 0)) {
|
|
2107
1697
|
throwError(state, 'bad indentation of a mapping entry');
|
|
2108
1698
|
} else if (state.lineIndent < nodeIndent) {
|
|
2109
1699
|
break;
|
|
2110
1700
|
}
|
|
2111
1701
|
}
|
|
2112
|
-
|
|
2113
1702
|
//
|
|
2114
1703
|
// Epilogue.
|
|
2115
1704
|
//
|
|
2116
|
-
|
|
2117
1705
|
// Special case: last mapping's node contains only the key in explicit notation.
|
|
2118
1706
|
if (atExplicitKey) {
|
|
2119
1707
|
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
2120
1708
|
}
|
|
2121
|
-
|
|
2122
1709
|
// Expose the resulting mapping.
|
|
2123
1710
|
if (detected) {
|
|
2124
1711
|
state.tag = _tag;
|
|
@@ -2126,10 +1713,8 @@ function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
|
2126
1713
|
state.kind = 'mapping';
|
|
2127
1714
|
state.result = _result;
|
|
2128
1715
|
}
|
|
2129
|
-
|
|
2130
1716
|
return detected;
|
|
2131
1717
|
}
|
|
2132
|
-
|
|
2133
1718
|
function readTagProperty(state) {
|
|
2134
1719
|
var _position,
|
|
2135
1720
|
isVerbatim = false,
|
|
@@ -2137,36 +1722,26 @@ function readTagProperty(state) {
|
|
|
2137
1722
|
tagHandle,
|
|
2138
1723
|
tagName,
|
|
2139
1724
|
ch;
|
|
2140
|
-
|
|
2141
1725
|
ch = state.input.charCodeAt(state.position);
|
|
2142
|
-
|
|
2143
1726
|
if (ch !== 0x21/* ! */) return false;
|
|
2144
|
-
|
|
2145
1727
|
if (state.tag !== null) {
|
|
2146
1728
|
throwError(state, 'duplication of a tag property');
|
|
2147
1729
|
}
|
|
2148
|
-
|
|
2149
1730
|
ch = state.input.charCodeAt(++state.position);
|
|
2150
|
-
|
|
2151
1731
|
if (ch === 0x3C/* < */) {
|
|
2152
1732
|
isVerbatim = true;
|
|
2153
1733
|
ch = state.input.charCodeAt(++state.position);
|
|
2154
|
-
|
|
2155
1734
|
} else if (ch === 0x21/* ! */) {
|
|
2156
1735
|
isNamed = true;
|
|
2157
1736
|
tagHandle = '!!';
|
|
2158
1737
|
ch = state.input.charCodeAt(++state.position);
|
|
2159
|
-
|
|
2160
1738
|
} else {
|
|
2161
1739
|
tagHandle = '!';
|
|
2162
1740
|
}
|
|
2163
|
-
|
|
2164
1741
|
_position = state.position;
|
|
2165
|
-
|
|
2166
1742
|
if (isVerbatim) {
|
|
2167
1743
|
do { ch = state.input.charCodeAt(++state.position); }
|
|
2168
1744
|
while (ch !== 0 && ch !== 0x3E/* > */);
|
|
2169
|
-
|
|
2170
1745
|
if (state.position < state.length) {
|
|
2171
1746
|
tagName = state.input.slice(_position, state.position);
|
|
2172
1747
|
ch = state.input.charCodeAt(++state.position);
|
|
@@ -2175,112 +1750,81 @@ function readTagProperty(state) {
|
|
|
2175
1750
|
}
|
|
2176
1751
|
} else {
|
|
2177
1752
|
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
2178
|
-
|
|
2179
1753
|
if (ch === 0x21/* ! */) {
|
|
2180
1754
|
if (!isNamed) {
|
|
2181
1755
|
tagHandle = state.input.slice(_position - 1, state.position + 1);
|
|
2182
|
-
|
|
2183
1756
|
if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
|
|
2184
1757
|
throwError(state, 'named tag handle cannot contain such characters');
|
|
2185
1758
|
}
|
|
2186
|
-
|
|
2187
1759
|
isNamed = true;
|
|
2188
1760
|
_position = state.position + 1;
|
|
2189
1761
|
} else {
|
|
2190
1762
|
throwError(state, 'tag suffix cannot contain exclamation marks');
|
|
2191
1763
|
}
|
|
2192
1764
|
}
|
|
2193
|
-
|
|
2194
1765
|
ch = state.input.charCodeAt(++state.position);
|
|
2195
1766
|
}
|
|
2196
|
-
|
|
2197
1767
|
tagName = state.input.slice(_position, state.position);
|
|
2198
|
-
|
|
2199
1768
|
if (PATTERN_FLOW_INDICATORS.test(tagName)) {
|
|
2200
1769
|
throwError(state, 'tag suffix cannot contain flow indicator characters');
|
|
2201
1770
|
}
|
|
2202
1771
|
}
|
|
2203
|
-
|
|
2204
1772
|
if (tagName && !PATTERN_TAG_URI.test(tagName)) {
|
|
2205
1773
|
throwError(state, 'tag name cannot contain such characters: ' + tagName);
|
|
2206
1774
|
}
|
|
2207
|
-
|
|
2208
1775
|
if (isVerbatim) {
|
|
2209
1776
|
state.tag = tagName;
|
|
2210
|
-
|
|
2211
1777
|
} else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
|
|
2212
1778
|
state.tag = state.tagMap[tagHandle] + tagName;
|
|
2213
|
-
|
|
2214
1779
|
} else if (tagHandle === '!') {
|
|
2215
1780
|
state.tag = '!' + tagName;
|
|
2216
|
-
|
|
2217
1781
|
} else if (tagHandle === '!!') {
|
|
2218
1782
|
state.tag = 'tag:yaml.org,2002:' + tagName;
|
|
2219
|
-
|
|
2220
1783
|
} else {
|
|
2221
1784
|
throwError(state, 'undeclared tag handle "' + tagHandle + '"');
|
|
2222
1785
|
}
|
|
2223
|
-
|
|
2224
1786
|
return true;
|
|
2225
1787
|
}
|
|
2226
|
-
|
|
2227
1788
|
function readAnchorProperty(state) {
|
|
2228
1789
|
var _position,
|
|
2229
1790
|
ch;
|
|
2230
|
-
|
|
2231
1791
|
ch = state.input.charCodeAt(state.position);
|
|
2232
|
-
|
|
2233
1792
|
if (ch !== 0x26/* & */) return false;
|
|
2234
|
-
|
|
2235
1793
|
if (state.anchor !== null) {
|
|
2236
1794
|
throwError(state, 'duplication of an anchor property');
|
|
2237
1795
|
}
|
|
2238
|
-
|
|
2239
1796
|
ch = state.input.charCodeAt(++state.position);
|
|
2240
1797
|
_position = state.position;
|
|
2241
|
-
|
|
2242
1798
|
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
|
2243
1799
|
ch = state.input.charCodeAt(++state.position);
|
|
2244
1800
|
}
|
|
2245
|
-
|
|
2246
1801
|
if (state.position === _position) {
|
|
2247
1802
|
throwError(state, 'name of an anchor node must contain at least one character');
|
|
2248
1803
|
}
|
|
2249
|
-
|
|
2250
1804
|
state.anchor = state.input.slice(_position, state.position);
|
|
2251
1805
|
return true;
|
|
2252
1806
|
}
|
|
2253
|
-
|
|
2254
1807
|
function readAlias(state) {
|
|
2255
1808
|
var _position, alias,
|
|
2256
1809
|
ch;
|
|
2257
|
-
|
|
2258
1810
|
ch = state.input.charCodeAt(state.position);
|
|
2259
|
-
|
|
2260
1811
|
if (ch !== 0x2A/* * */) return false;
|
|
2261
|
-
|
|
2262
1812
|
ch = state.input.charCodeAt(++state.position);
|
|
2263
1813
|
_position = state.position;
|
|
2264
|
-
|
|
2265
1814
|
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
|
2266
1815
|
ch = state.input.charCodeAt(++state.position);
|
|
2267
1816
|
}
|
|
2268
|
-
|
|
2269
1817
|
if (state.position === _position) {
|
|
2270
1818
|
throwError(state, 'name of an alias node must contain at least one character');
|
|
2271
1819
|
}
|
|
2272
|
-
|
|
2273
1820
|
alias = state.input.slice(_position, state.position);
|
|
2274
|
-
|
|
2275
1821
|
if (!_hasOwnProperty.call(state.anchorMap, alias)) {
|
|
2276
1822
|
throwError(state, 'unidentified alias "' + alias + '"');
|
|
2277
1823
|
}
|
|
2278
|
-
|
|
2279
1824
|
state.result = state.anchorMap[alias];
|
|
2280
1825
|
skipSeparationSpace(state, true, -1);
|
|
2281
1826
|
return true;
|
|
2282
1827
|
}
|
|
2283
|
-
|
|
2284
1828
|
function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
|
|
2285
1829
|
var allowBlockStyles,
|
|
2286
1830
|
allowBlockScalars,
|
|
@@ -2293,24 +1837,19 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2293
1837
|
type,
|
|
2294
1838
|
flowIndent,
|
|
2295
1839
|
blockIndent;
|
|
2296
|
-
|
|
2297
1840
|
if (state.listener !== null) {
|
|
2298
1841
|
state.listener('open', state);
|
|
2299
1842
|
}
|
|
2300
|
-
|
|
2301
1843
|
state.tag = null;
|
|
2302
1844
|
state.anchor = null;
|
|
2303
1845
|
state.kind = null;
|
|
2304
1846
|
state.result = null;
|
|
2305
|
-
|
|
2306
1847
|
allowBlockStyles = allowBlockScalars = allowBlockCollections =
|
|
2307
1848
|
CONTEXT_BLOCK_OUT === nodeContext ||
|
|
2308
1849
|
CONTEXT_BLOCK_IN === nodeContext;
|
|
2309
|
-
|
|
2310
1850
|
if (allowToSeek) {
|
|
2311
1851
|
if (skipSeparationSpace(state, true, -1)) {
|
|
2312
1852
|
atNewLine = true;
|
|
2313
|
-
|
|
2314
1853
|
if (state.lineIndent > parentIndent) {
|
|
2315
1854
|
indentStatus = 1;
|
|
2316
1855
|
} else if (state.lineIndent === parentIndent) {
|
|
@@ -2320,13 +1859,11 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2320
1859
|
}
|
|
2321
1860
|
}
|
|
2322
1861
|
}
|
|
2323
|
-
|
|
2324
1862
|
if (indentStatus === 1) {
|
|
2325
1863
|
while (readTagProperty(state) || readAnchorProperty(state)) {
|
|
2326
1864
|
if (skipSeparationSpace(state, true, -1)) {
|
|
2327
1865
|
atNewLine = true;
|
|
2328
1866
|
allowBlockCollections = allowBlockStyles;
|
|
2329
|
-
|
|
2330
1867
|
if (state.lineIndent > parentIndent) {
|
|
2331
1868
|
indentStatus = 1;
|
|
2332
1869
|
} else if (state.lineIndent === parentIndent) {
|
|
@@ -2339,20 +1876,16 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2339
1876
|
}
|
|
2340
1877
|
}
|
|
2341
1878
|
}
|
|
2342
|
-
|
|
2343
1879
|
if (allowBlockCollections) {
|
|
2344
1880
|
allowBlockCollections = atNewLine || allowCompact;
|
|
2345
1881
|
}
|
|
2346
|
-
|
|
2347
1882
|
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
|
2348
1883
|
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
|
|
2349
1884
|
flowIndent = parentIndent;
|
|
2350
1885
|
} else {
|
|
2351
1886
|
flowIndent = parentIndent + 1;
|
|
2352
1887
|
}
|
|
2353
|
-
|
|
2354
1888
|
blockIndent = state.position - state.lineStart;
|
|
2355
|
-
|
|
2356
1889
|
if (indentStatus === 1) {
|
|
2357
1890
|
if (allowBlockCollections &&
|
|
2358
1891
|
(readBlockSequence(state, blockIndent) ||
|
|
@@ -2364,22 +1897,17 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2364
1897
|
readSingleQuotedScalar(state, flowIndent) ||
|
|
2365
1898
|
readDoubleQuotedScalar(state, flowIndent)) {
|
|
2366
1899
|
hasContent = true;
|
|
2367
|
-
|
|
2368
1900
|
} else if (readAlias(state)) {
|
|
2369
1901
|
hasContent = true;
|
|
2370
|
-
|
|
2371
1902
|
if (state.tag !== null || state.anchor !== null) {
|
|
2372
1903
|
throwError(state, 'alias node should not have any properties');
|
|
2373
1904
|
}
|
|
2374
|
-
|
|
2375
1905
|
} else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
|
2376
1906
|
hasContent = true;
|
|
2377
|
-
|
|
2378
1907
|
if (state.tag === null) {
|
|
2379
1908
|
state.tag = '?';
|
|
2380
1909
|
}
|
|
2381
1910
|
}
|
|
2382
|
-
|
|
2383
1911
|
if (state.anchor !== null) {
|
|
2384
1912
|
state.anchorMap[state.anchor] = state.result;
|
|
2385
1913
|
}
|
|
@@ -2390,7 +1918,6 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2390
1918
|
hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
|
|
2391
1919
|
}
|
|
2392
1920
|
}
|
|
2393
|
-
|
|
2394
1921
|
if (state.tag !== null && state.tag !== '!') {
|
|
2395
1922
|
if (state.tag === '?') {
|
|
2396
1923
|
// Implicit resolving is not allowed for non-scalar types, and '?'
|
|
@@ -2402,10 +1929,8 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2402
1929
|
if (state.result !== null && state.kind !== 'scalar') {
|
|
2403
1930
|
throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
|
|
2404
1931
|
}
|
|
2405
|
-
|
|
2406
1932
|
for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
|
|
2407
1933
|
type = state.implicitTypes[typeIndex];
|
|
2408
|
-
|
|
2409
1934
|
if (type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
|
2410
1935
|
state.result = type.construct(state.result);
|
|
2411
1936
|
state.tag = type.tag;
|
|
@@ -2417,11 +1942,9 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2417
1942
|
}
|
|
2418
1943
|
} else if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {
|
|
2419
1944
|
type = state.typeMap[state.kind || 'fallback'][state.tag];
|
|
2420
|
-
|
|
2421
1945
|
if (state.result !== null && type.kind !== state.kind) {
|
|
2422
1946
|
throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
|
|
2423
1947
|
}
|
|
2424
|
-
|
|
2425
1948
|
if (!type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
|
2426
1949
|
throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
|
|
2427
1950
|
} else {
|
|
@@ -2434,13 +1957,11 @@ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact
|
|
|
2434
1957
|
throwError(state, 'unknown tag !<' + state.tag + '>');
|
|
2435
1958
|
}
|
|
2436
1959
|
}
|
|
2437
|
-
|
|
2438
1960
|
if (state.listener !== null) {
|
|
2439
1961
|
state.listener('close', state);
|
|
2440
1962
|
}
|
|
2441
1963
|
return state.tag !== null || state.anchor !== null || hasContent;
|
|
2442
1964
|
}
|
|
2443
|
-
|
|
2444
1965
|
function readDocument(state) {
|
|
2445
1966
|
var documentStart = state.position,
|
|
2446
1967
|
_position,
|
|
@@ -2448,171 +1969,126 @@ function readDocument(state) {
|
|
|
2448
1969
|
directiveArgs,
|
|
2449
1970
|
hasDirectives = false,
|
|
2450
1971
|
ch;
|
|
2451
|
-
|
|
2452
1972
|
state.version = null;
|
|
2453
1973
|
state.checkLineBreaks = state.legacy;
|
|
2454
1974
|
state.tagMap = {};
|
|
2455
1975
|
state.anchorMap = {};
|
|
2456
|
-
|
|
2457
1976
|
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
2458
1977
|
skipSeparationSpace(state, true, -1);
|
|
2459
|
-
|
|
2460
1978
|
ch = state.input.charCodeAt(state.position);
|
|
2461
|
-
|
|
2462
1979
|
if (state.lineIndent > 0 || ch !== 0x25/* % */) {
|
|
2463
1980
|
break;
|
|
2464
1981
|
}
|
|
2465
|
-
|
|
2466
1982
|
hasDirectives = true;
|
|
2467
1983
|
ch = state.input.charCodeAt(++state.position);
|
|
2468
1984
|
_position = state.position;
|
|
2469
|
-
|
|
2470
1985
|
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
2471
1986
|
ch = state.input.charCodeAt(++state.position);
|
|
2472
1987
|
}
|
|
2473
|
-
|
|
2474
1988
|
directiveName = state.input.slice(_position, state.position);
|
|
2475
1989
|
directiveArgs = [];
|
|
2476
|
-
|
|
2477
1990
|
if (directiveName.length < 1) {
|
|
2478
1991
|
throwError(state, 'directive name must not be less than one character in length');
|
|
2479
1992
|
}
|
|
2480
|
-
|
|
2481
1993
|
while (ch !== 0) {
|
|
2482
1994
|
while (is_WHITE_SPACE(ch)) {
|
|
2483
1995
|
ch = state.input.charCodeAt(++state.position);
|
|
2484
1996
|
}
|
|
2485
|
-
|
|
2486
1997
|
if (ch === 0x23/* # */) {
|
|
2487
1998
|
do { ch = state.input.charCodeAt(++state.position); }
|
|
2488
1999
|
while (ch !== 0 && !is_EOL(ch));
|
|
2489
2000
|
break;
|
|
2490
2001
|
}
|
|
2491
|
-
|
|
2492
2002
|
if (is_EOL(ch)) break;
|
|
2493
|
-
|
|
2494
2003
|
_position = state.position;
|
|
2495
|
-
|
|
2496
2004
|
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
2497
2005
|
ch = state.input.charCodeAt(++state.position);
|
|
2498
2006
|
}
|
|
2499
|
-
|
|
2500
2007
|
directiveArgs.push(state.input.slice(_position, state.position));
|
|
2501
2008
|
}
|
|
2502
|
-
|
|
2503
2009
|
if (ch !== 0) readLineBreak(state);
|
|
2504
|
-
|
|
2505
2010
|
if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
|
|
2506
2011
|
directiveHandlers[directiveName](state, directiveName, directiveArgs);
|
|
2507
2012
|
} else {
|
|
2508
2013
|
throwWarning(state, 'unknown document directive "' + directiveName + '"');
|
|
2509
2014
|
}
|
|
2510
2015
|
}
|
|
2511
|
-
|
|
2512
2016
|
skipSeparationSpace(state, true, -1);
|
|
2513
|
-
|
|
2514
2017
|
if (state.lineIndent === 0 &&
|
|
2515
2018
|
state.input.charCodeAt(state.position) === 0x2D/* - */ &&
|
|
2516
2019
|
state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&
|
|
2517
2020
|
state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {
|
|
2518
2021
|
state.position += 3;
|
|
2519
2022
|
skipSeparationSpace(state, true, -1);
|
|
2520
|
-
|
|
2521
2023
|
} else if (hasDirectives) {
|
|
2522
2024
|
throwError(state, 'directives end mark is expected');
|
|
2523
2025
|
}
|
|
2524
|
-
|
|
2525
2026
|
composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
|
2526
2027
|
skipSeparationSpace(state, true, -1);
|
|
2527
|
-
|
|
2528
2028
|
if (state.checkLineBreaks &&
|
|
2529
2029
|
PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
|
|
2530
2030
|
throwWarning(state, 'non-ASCII line breaks are interpreted as content');
|
|
2531
2031
|
}
|
|
2532
|
-
|
|
2533
2032
|
state.documents.push(state.result);
|
|
2534
|
-
|
|
2535
2033
|
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
2536
|
-
|
|
2537
2034
|
if (state.input.charCodeAt(state.position) === 0x2E/* . */) {
|
|
2538
2035
|
state.position += 3;
|
|
2539
2036
|
skipSeparationSpace(state, true, -1);
|
|
2540
2037
|
}
|
|
2541
2038
|
return;
|
|
2542
2039
|
}
|
|
2543
|
-
|
|
2544
2040
|
if (state.position < (state.length - 1)) {
|
|
2545
2041
|
throwError(state, 'end of the stream or a document separator is expected');
|
|
2546
2042
|
} else {
|
|
2547
2043
|
return;
|
|
2548
2044
|
}
|
|
2549
2045
|
}
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
2046
|
function loadDocuments(input, options) {
|
|
2553
2047
|
input = String(input);
|
|
2554
2048
|
options = options || {};
|
|
2555
|
-
|
|
2556
2049
|
if (input.length !== 0) {
|
|
2557
|
-
|
|
2558
2050
|
// Add tailing `\n` if not exists
|
|
2559
2051
|
if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&
|
|
2560
2052
|
input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {
|
|
2561
2053
|
input += '\n';
|
|
2562
2054
|
}
|
|
2563
|
-
|
|
2564
2055
|
// Strip BOM
|
|
2565
2056
|
if (input.charCodeAt(0) === 0xFEFF) {
|
|
2566
2057
|
input = input.slice(1);
|
|
2567
2058
|
}
|
|
2568
2059
|
}
|
|
2569
|
-
|
|
2570
2060
|
var state = new State(input, options);
|
|
2571
|
-
|
|
2572
2061
|
var nullpos = input.indexOf('\0');
|
|
2573
|
-
|
|
2574
2062
|
if (nullpos !== -1) {
|
|
2575
2063
|
state.position = nullpos;
|
|
2576
2064
|
throwError(state, 'null byte is not allowed in input');
|
|
2577
2065
|
}
|
|
2578
|
-
|
|
2579
2066
|
// Use 0 as string terminator. That significantly simplifies bounds check.
|
|
2580
2067
|
state.input += '\0';
|
|
2581
|
-
|
|
2582
2068
|
while (state.input.charCodeAt(state.position) === 0x20/* Space */) {
|
|
2583
2069
|
state.lineIndent += 1;
|
|
2584
2070
|
state.position += 1;
|
|
2585
2071
|
}
|
|
2586
|
-
|
|
2587
2072
|
while (state.position < (state.length - 1)) {
|
|
2588
2073
|
readDocument(state);
|
|
2589
2074
|
}
|
|
2590
|
-
|
|
2591
2075
|
return state.documents;
|
|
2592
2076
|
}
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
2077
|
function loadAll(input, iterator, options) {
|
|
2596
2078
|
if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {
|
|
2597
2079
|
options = iterator;
|
|
2598
2080
|
iterator = null;
|
|
2599
2081
|
}
|
|
2600
|
-
|
|
2601
2082
|
var documents = loadDocuments(input, options);
|
|
2602
|
-
|
|
2603
2083
|
if (typeof iterator !== 'function') {
|
|
2604
2084
|
return documents;
|
|
2605
2085
|
}
|
|
2606
|
-
|
|
2607
2086
|
for (var index = 0, length = documents.length; index < length; index += 1) {
|
|
2608
2087
|
iterator(documents[index]);
|
|
2609
2088
|
}
|
|
2610
2089
|
}
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
2090
|
function load(input, options) {
|
|
2614
2091
|
var documents = loadDocuments(input, options);
|
|
2615
|
-
|
|
2616
2092
|
if (documents.length === 0) {
|
|
2617
2093
|
/*eslint-disable no-undefined*/
|
|
2618
2094
|
return undefined;
|
|
@@ -2621,35 +2097,23 @@ function load(input, options) {
|
|
|
2621
2097
|
}
|
|
2622
2098
|
throw new YAMLException('expected a single document in the stream, but found more');
|
|
2623
2099
|
}
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
2100
|
function safeLoadAll(input, iterator, options) {
|
|
2627
2101
|
if (typeof iterator === 'object' && iterator !== null && typeof options === 'undefined') {
|
|
2628
2102
|
options = iterator;
|
|
2629
2103
|
iterator = null;
|
|
2630
2104
|
}
|
|
2631
|
-
|
|
2632
2105
|
return loadAll(input, iterator, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
|
2633
2106
|
}
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
2107
|
function safeLoad(input, options) {
|
|
2637
2108
|
return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
|
2638
2109
|
}
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
2110
|
module.exports.loadAll = loadAll;
|
|
2642
2111
|
module.exports.load = load;
|
|
2643
2112
|
module.exports.safeLoadAll = safeLoadAll;
|
|
2644
2113
|
module.exports.safeLoad = safeLoad;
|
|
2645
|
-
|
|
2646
2114
|
},{"./common":2,"./exception":4,"./mark":6,"./schema/default_full":9,"./schema/default_safe":10}],6:[function(require,module,exports){
|
|
2647
2115
|
'use strict';
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
2116
|
var common = require('./common');
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
2117
|
function Mark(name, buffer, position, line, column) {
|
|
2654
2118
|
this.name = name;
|
|
2655
2119
|
this.buffer = buffer;
|
|
@@ -2657,19 +2121,13 @@ function Mark(name, buffer, position, line, column) {
|
|
|
2657
2121
|
this.line = line;
|
|
2658
2122
|
this.column = column;
|
|
2659
2123
|
}
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
2124
|
Mark.prototype.getSnippet = function getSnippet(indent, maxLength) {
|
|
2663
2125
|
var head, start, tail, end, snippet;
|
|
2664
|
-
|
|
2665
2126
|
if (!this.buffer) return null;
|
|
2666
|
-
|
|
2667
2127
|
indent = indent || 4;
|
|
2668
2128
|
maxLength = maxLength || 75;
|
|
2669
|
-
|
|
2670
2129
|
head = '';
|
|
2671
2130
|
start = this.position;
|
|
2672
|
-
|
|
2673
2131
|
while (start > 0 && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {
|
|
2674
2132
|
start -= 1;
|
|
2675
2133
|
if (this.position - start > (maxLength / 2 - 1)) {
|
|
@@ -2678,10 +2136,8 @@ Mark.prototype.getSnippet = function getSnippet(indent, maxLength) {
|
|
|
2678
2136
|
break;
|
|
2679
2137
|
}
|
|
2680
2138
|
}
|
|
2681
|
-
|
|
2682
2139
|
tail = '';
|
|
2683
2140
|
end = this.position;
|
|
2684
|
-
|
|
2685
2141
|
while (end < this.buffer.length && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(end)) === -1) {
|
|
2686
2142
|
end += 1;
|
|
2687
2143
|
if (end - this.position > (maxLength / 2 - 1)) {
|
|
@@ -2690,70 +2146,48 @@ Mark.prototype.getSnippet = function getSnippet(indent, maxLength) {
|
|
|
2690
2146
|
break;
|
|
2691
2147
|
}
|
|
2692
2148
|
}
|
|
2693
|
-
|
|
2694
2149
|
snippet = this.buffer.slice(start, end);
|
|
2695
|
-
|
|
2696
2150
|
return common.repeat(' ', indent) + head + snippet + tail + '\n' +
|
|
2697
2151
|
common.repeat(' ', indent + this.position - start + head.length) + '^';
|
|
2698
2152
|
};
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
2153
|
Mark.prototype.toString = function toString(compact) {
|
|
2702
2154
|
var snippet, where = '';
|
|
2703
|
-
|
|
2704
2155
|
if (this.name) {
|
|
2705
2156
|
where += 'in "' + this.name + '" ';
|
|
2706
2157
|
}
|
|
2707
|
-
|
|
2708
2158
|
where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);
|
|
2709
|
-
|
|
2710
2159
|
if (!compact) {
|
|
2711
2160
|
snippet = this.getSnippet();
|
|
2712
|
-
|
|
2713
2161
|
if (snippet) {
|
|
2714
2162
|
where += ':\n' + snippet;
|
|
2715
2163
|
}
|
|
2716
2164
|
}
|
|
2717
|
-
|
|
2718
2165
|
return where;
|
|
2719
2166
|
};
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
2167
|
module.exports = Mark;
|
|
2723
|
-
|
|
2724
2168
|
},{"./common":2}],7:[function(require,module,exports){
|
|
2725
2169
|
'use strict';
|
|
2726
|
-
|
|
2727
2170
|
/*eslint-disable max-len*/
|
|
2728
|
-
|
|
2729
2171
|
var common = require('./common');
|
|
2730
2172
|
var YAMLException = require('./exception');
|
|
2731
2173
|
var Type = require('./type');
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
2174
|
function compileList(schema, name, result) {
|
|
2735
2175
|
var exclude = [];
|
|
2736
|
-
|
|
2737
2176
|
schema.include.forEach(function (includedSchema) {
|
|
2738
2177
|
result = compileList(includedSchema, name, result);
|
|
2739
2178
|
});
|
|
2740
|
-
|
|
2741
2179
|
schema[name].forEach(function (currentType) {
|
|
2742
2180
|
result.forEach(function (previousType, previousIndex) {
|
|
2743
2181
|
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {
|
|
2744
2182
|
exclude.push(previousIndex);
|
|
2745
2183
|
}
|
|
2746
2184
|
});
|
|
2747
|
-
|
|
2748
2185
|
result.push(currentType);
|
|
2749
2186
|
});
|
|
2750
|
-
|
|
2751
2187
|
return result.filter(function (type, index) {
|
|
2752
2188
|
return exclude.indexOf(index) === -1;
|
|
2753
2189
|
});
|
|
2754
2190
|
}
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
2191
|
function compileMap(/* lists... */) {
|
|
2758
2192
|
var result = {
|
|
2759
2193
|
scalar: {},
|
|
@@ -2761,96 +2195,69 @@ function compileMap(/* lists... */) {
|
|
|
2761
2195
|
mapping: {},
|
|
2762
2196
|
fallback: {}
|
|
2763
2197
|
}, index, length;
|
|
2764
|
-
|
|
2765
2198
|
function collectType(type) {
|
|
2766
2199
|
result[type.kind][type.tag] = result['fallback'][type.tag] = type;
|
|
2767
2200
|
}
|
|
2768
|
-
|
|
2769
2201
|
for (index = 0, length = arguments.length; index < length; index += 1) {
|
|
2770
2202
|
arguments[index].forEach(collectType);
|
|
2771
2203
|
}
|
|
2772
2204
|
return result;
|
|
2773
2205
|
}
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
2206
|
function Schema(definition) {
|
|
2777
2207
|
this.include = definition.include || [];
|
|
2778
2208
|
this.implicit = definition.implicit || [];
|
|
2779
2209
|
this.explicit = definition.explicit || [];
|
|
2780
|
-
|
|
2781
2210
|
this.implicit.forEach(function (type) {
|
|
2782
2211
|
if (type.loadKind && type.loadKind !== 'scalar') {
|
|
2783
2212
|
throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');
|
|
2784
2213
|
}
|
|
2785
2214
|
});
|
|
2786
|
-
|
|
2787
2215
|
this.compiledImplicit = compileList(this, 'implicit', []);
|
|
2788
2216
|
this.compiledExplicit = compileList(this, 'explicit', []);
|
|
2789
2217
|
this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);
|
|
2790
2218
|
}
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
2219
|
Schema.DEFAULT = null;
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
2220
|
Schema.create = function createSchema() {
|
|
2797
2221
|
var schemas, types;
|
|
2798
|
-
|
|
2799
2222
|
switch (arguments.length) {
|
|
2800
2223
|
case 1:
|
|
2801
2224
|
schemas = Schema.DEFAULT;
|
|
2802
2225
|
types = arguments[0];
|
|
2803
2226
|
break;
|
|
2804
|
-
|
|
2805
2227
|
case 2:
|
|
2806
2228
|
schemas = arguments[0];
|
|
2807
2229
|
types = arguments[1];
|
|
2808
2230
|
break;
|
|
2809
|
-
|
|
2810
2231
|
default:
|
|
2811
2232
|
throw new YAMLException('Wrong number of arguments for Schema.create function');
|
|
2812
2233
|
}
|
|
2813
|
-
|
|
2814
2234
|
schemas = common.toArray(schemas);
|
|
2815
2235
|
types = common.toArray(types);
|
|
2816
|
-
|
|
2817
2236
|
if (!schemas.every(function (schema) { return schema instanceof Schema; })) {
|
|
2818
2237
|
throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');
|
|
2819
2238
|
}
|
|
2820
|
-
|
|
2821
2239
|
if (!types.every(function (type) { return type instanceof Type; })) {
|
|
2822
2240
|
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');
|
|
2823
2241
|
}
|
|
2824
|
-
|
|
2825
2242
|
return new Schema({
|
|
2826
2243
|
include: schemas,
|
|
2827
2244
|
explicit: types
|
|
2828
2245
|
});
|
|
2829
2246
|
};
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
2247
|
module.exports = Schema;
|
|
2833
|
-
|
|
2834
2248
|
},{"./common":2,"./exception":4,"./type":13}],8:[function(require,module,exports){
|
|
2835
2249
|
// Standard YAML's Core schema.
|
|
2836
2250
|
// http://www.yaml.org/spec/1.2/spec.html#id2804923
|
|
2837
2251
|
//
|
|
2838
2252
|
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
|
2839
2253
|
// So, Core schema has no distinctions from JSON schema is JS-YAML.
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
2254
|
'use strict';
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
2255
|
var Schema = require('../schema');
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
2256
|
module.exports = new Schema({
|
|
2849
2257
|
include: [
|
|
2850
2258
|
require('./json')
|
|
2851
2259
|
]
|
|
2852
2260
|
});
|
|
2853
|
-
|
|
2854
2261
|
},{"../schema":7,"./json":12}],9:[function(require,module,exports){
|
|
2855
2262
|
// JS-YAML's default schema for `load` function.
|
|
2856
2263
|
// It is not described in the YAML specification.
|
|
@@ -2859,14 +2266,8 @@ module.exports = new Schema({
|
|
|
2859
2266
|
// JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function.
|
|
2860
2267
|
//
|
|
2861
2268
|
// Also this schema is used as default base schema at `Schema.create` function.
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
2269
|
'use strict';
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
2270
|
var Schema = require('../schema');
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
2271
|
module.exports = Schema.DEFAULT = new Schema({
|
|
2871
2272
|
include: [
|
|
2872
2273
|
require('./default_safe')
|
|
@@ -2877,21 +2278,14 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
|
2877
2278
|
require('../type/js/function')
|
|
2878
2279
|
]
|
|
2879
2280
|
});
|
|
2880
|
-
|
|
2881
2281
|
},{"../schema":7,"../type/js/function":18,"../type/js/regexp":19,"../type/js/undefined":20,"./default_safe":10}],10:[function(require,module,exports){
|
|
2882
2282
|
// JS-YAML's default schema for `safeLoad` function.
|
|
2883
2283
|
// It is not described in the YAML specification.
|
|
2884
2284
|
//
|
|
2885
2285
|
// This schema is based on standard YAML's Core schema and includes most of
|
|
2886
2286
|
// extra types described at YAML tag repository. (http://yaml.org/type/)
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
2287
|
'use strict';
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
2288
|
var Schema = require('../schema');
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
2289
|
module.exports = new Schema({
|
|
2896
2290
|
include: [
|
|
2897
2291
|
require('./core')
|
|
@@ -2907,18 +2301,11 @@ module.exports = new Schema({
|
|
|
2907
2301
|
require('../type/set')
|
|
2908
2302
|
]
|
|
2909
2303
|
});
|
|
2910
|
-
|
|
2911
2304
|
},{"../schema":7,"../type/binary":14,"../type/merge":22,"../type/omap":24,"../type/pairs":25,"../type/set":27,"../type/timestamp":29,"./core":8}],11:[function(require,module,exports){
|
|
2912
2305
|
// Standard YAML's Failsafe schema.
|
|
2913
2306
|
// http://www.yaml.org/spec/1.2/spec.html#id2802346
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
2307
|
'use strict';
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
2308
|
var Schema = require('../schema');
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
2309
|
module.exports = new Schema({
|
|
2923
2310
|
explicit: [
|
|
2924
2311
|
require('../type/str'),
|
|
@@ -2926,7 +2313,6 @@ module.exports = new Schema({
|
|
|
2926
2313
|
require('../type/map')
|
|
2927
2314
|
]
|
|
2928
2315
|
});
|
|
2929
|
-
|
|
2930
2316
|
},{"../schema":7,"../type/map":21,"../type/seq":26,"../type/str":28}],12:[function(require,module,exports){
|
|
2931
2317
|
// Standard YAML's JSON schema.
|
|
2932
2318
|
// http://www.yaml.org/spec/1.2/spec.html#id2803231
|
|
@@ -2934,14 +2320,8 @@ module.exports = new Schema({
|
|
|
2934
2320
|
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
|
2935
2321
|
// So, this schema is not such strict as defined in the YAML specification.
|
|
2936
2322
|
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
2323
|
'use strict';
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
2324
|
var Schema = require('../schema');
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
2325
|
module.exports = new Schema({
|
|
2946
2326
|
include: [
|
|
2947
2327
|
require('./failsafe')
|
|
@@ -2953,12 +2333,9 @@ module.exports = new Schema({
|
|
|
2953
2333
|
require('../type/float')
|
|
2954
2334
|
]
|
|
2955
2335
|
});
|
|
2956
|
-
|
|
2957
2336
|
},{"../schema":7,"../type/bool":15,"../type/float":16,"../type/int":17,"../type/null":23,"./failsafe":11}],13:[function(require,module,exports){
|
|
2958
2337
|
'use strict';
|
|
2959
|
-
|
|
2960
2338
|
var YAMLException = require('./exception');
|
|
2961
|
-
|
|
2962
2339
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
|
2963
2340
|
'kind',
|
|
2964
2341
|
'resolve',
|
|
@@ -2969,16 +2346,13 @@ var TYPE_CONSTRUCTOR_OPTIONS = [
|
|
|
2969
2346
|
'defaultStyle',
|
|
2970
2347
|
'styleAliases'
|
|
2971
2348
|
];
|
|
2972
|
-
|
|
2973
2349
|
var YAML_NODE_KINDS = [
|
|
2974
2350
|
'scalar',
|
|
2975
2351
|
'sequence',
|
|
2976
2352
|
'mapping'
|
|
2977
2353
|
];
|
|
2978
|
-
|
|
2979
2354
|
function compileStyleAliases(map) {
|
|
2980
2355
|
var result = {};
|
|
2981
|
-
|
|
2982
2356
|
if (map !== null) {
|
|
2983
2357
|
Object.keys(map).forEach(function (style) {
|
|
2984
2358
|
map[style].forEach(function (alias) {
|
|
@@ -2986,19 +2360,15 @@ function compileStyleAliases(map) {
|
|
|
2986
2360
|
});
|
|
2987
2361
|
});
|
|
2988
2362
|
}
|
|
2989
|
-
|
|
2990
2363
|
return result;
|
|
2991
2364
|
}
|
|
2992
|
-
|
|
2993
2365
|
function Type(tag, options) {
|
|
2994
2366
|
options = options || {};
|
|
2995
|
-
|
|
2996
2367
|
Object.keys(options).forEach(function (name) {
|
|
2997
2368
|
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
|
|
2998
2369
|
throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
|
|
2999
2370
|
}
|
|
3000
2371
|
});
|
|
3001
|
-
|
|
3002
2372
|
// TODO: Add tag format check.
|
|
3003
2373
|
this.tag = tag;
|
|
3004
2374
|
this.kind = options['kind'] || null;
|
|
@@ -3009,56 +2379,38 @@ function Type(tag, options) {
|
|
|
3009
2379
|
this.represent = options['represent'] || null;
|
|
3010
2380
|
this.defaultStyle = options['defaultStyle'] || null;
|
|
3011
2381
|
this.styleAliases = compileStyleAliases(options['styleAliases'] || null);
|
|
3012
|
-
|
|
3013
2382
|
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
|
|
3014
2383
|
throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
|
|
3015
2384
|
}
|
|
3016
2385
|
}
|
|
3017
|
-
|
|
3018
2386
|
module.exports = Type;
|
|
3019
|
-
|
|
3020
2387
|
},{"./exception":4}],14:[function(require,module,exports){
|
|
3021
2388
|
'use strict';
|
|
3022
|
-
|
|
3023
2389
|
/*eslint-disable no-bitwise*/
|
|
3024
|
-
|
|
3025
2390
|
var NodeBuffer;
|
|
3026
|
-
|
|
3027
2391
|
try {
|
|
3028
2392
|
// A trick for browserified version, to not include `Buffer` shim
|
|
3029
2393
|
var _require = require;
|
|
3030
2394
|
NodeBuffer = _require('buffer').Buffer;
|
|
3031
2395
|
} catch (__) {}
|
|
3032
|
-
|
|
3033
2396
|
var Type = require('../type');
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
2397
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
|
3037
2398
|
var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r';
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
2399
|
function resolveYamlBinary(data) {
|
|
3041
2400
|
if (data === null) return false;
|
|
3042
|
-
|
|
3043
2401
|
var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
|
|
3044
|
-
|
|
3045
2402
|
// Convert one by one.
|
|
3046
2403
|
for (idx = 0; idx < max; idx++) {
|
|
3047
2404
|
code = map.indexOf(data.charAt(idx));
|
|
3048
|
-
|
|
3049
2405
|
// Skip CR/LF
|
|
3050
2406
|
if (code > 64) continue;
|
|
3051
|
-
|
|
3052
2407
|
// Fail on illegal characters
|
|
3053
2408
|
if (code < 0) return false;
|
|
3054
|
-
|
|
3055
2409
|
bitlen += 6;
|
|
3056
2410
|
}
|
|
3057
|
-
|
|
3058
2411
|
// If there are any bits left, source was corrupted
|
|
3059
2412
|
return (bitlen % 8) === 0;
|
|
3060
2413
|
}
|
|
3061
|
-
|
|
3062
2414
|
function constructYamlBinary(data) {
|
|
3063
2415
|
var idx, tailbits,
|
|
3064
2416
|
input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan
|
|
@@ -3066,23 +2418,17 @@ function constructYamlBinary(data) {
|
|
|
3066
2418
|
map = BASE64_MAP,
|
|
3067
2419
|
bits = 0,
|
|
3068
2420
|
result = [];
|
|
3069
|
-
|
|
3070
2421
|
// Collect by 6*4 bits (3 bytes)
|
|
3071
|
-
|
|
3072
2422
|
for (idx = 0; idx < max; idx++) {
|
|
3073
2423
|
if ((idx % 4 === 0) && idx) {
|
|
3074
2424
|
result.push((bits >> 16) & 0xFF);
|
|
3075
2425
|
result.push((bits >> 8) & 0xFF);
|
|
3076
2426
|
result.push(bits & 0xFF);
|
|
3077
2427
|
}
|
|
3078
|
-
|
|
3079
2428
|
bits = (bits << 6) | map.indexOf(input.charAt(idx));
|
|
3080
2429
|
}
|
|
3081
|
-
|
|
3082
2430
|
// Dump tail
|
|
3083
|
-
|
|
3084
2431
|
tailbits = (max % 4) * 6;
|
|
3085
|
-
|
|
3086
2432
|
if (tailbits === 0) {
|
|
3087
2433
|
result.push((bits >> 16) & 0xFF);
|
|
3088
2434
|
result.push((bits >> 8) & 0xFF);
|
|
@@ -3093,23 +2439,18 @@ function constructYamlBinary(data) {
|
|
|
3093
2439
|
} else if (tailbits === 12) {
|
|
3094
2440
|
result.push((bits >> 4) & 0xFF);
|
|
3095
2441
|
}
|
|
3096
|
-
|
|
3097
2442
|
// Wrap into Buffer for NodeJS and leave Array for browser
|
|
3098
2443
|
if (NodeBuffer) {
|
|
3099
2444
|
// Support node 6.+ Buffer API when available
|
|
3100
2445
|
return NodeBuffer.from ? NodeBuffer.from(result) : new NodeBuffer(result);
|
|
3101
2446
|
}
|
|
3102
|
-
|
|
3103
2447
|
return result;
|
|
3104
2448
|
}
|
|
3105
|
-
|
|
3106
2449
|
function representYamlBinary(object /*, style*/) {
|
|
3107
2450
|
var result = '', bits = 0, idx, tail,
|
|
3108
2451
|
max = object.length,
|
|
3109
2452
|
map = BASE64_MAP;
|
|
3110
|
-
|
|
3111
2453
|
// Convert every three bytes to 4 ASCII characters.
|
|
3112
|
-
|
|
3113
2454
|
for (idx = 0; idx < max; idx++) {
|
|
3114
2455
|
if ((idx % 3 === 0) && idx) {
|
|
3115
2456
|
result += map[(bits >> 18) & 0x3F];
|
|
@@ -3117,14 +2458,10 @@ function representYamlBinary(object /*, style*/) {
|
|
|
3117
2458
|
result += map[(bits >> 6) & 0x3F];
|
|
3118
2459
|
result += map[bits & 0x3F];
|
|
3119
2460
|
}
|
|
3120
|
-
|
|
3121
2461
|
bits = (bits << 8) + object[idx];
|
|
3122
2462
|
}
|
|
3123
|
-
|
|
3124
2463
|
// Dump tail
|
|
3125
|
-
|
|
3126
2464
|
tail = max % 3;
|
|
3127
|
-
|
|
3128
2465
|
if (tail === 0) {
|
|
3129
2466
|
result += map[(bits >> 18) & 0x3F];
|
|
3130
2467
|
result += map[(bits >> 12) & 0x3F];
|
|
@@ -3141,14 +2478,11 @@ function representYamlBinary(object /*, style*/) {
|
|
|
3141
2478
|
result += map[64];
|
|
3142
2479
|
result += map[64];
|
|
3143
2480
|
}
|
|
3144
|
-
|
|
3145
2481
|
return result;
|
|
3146
2482
|
}
|
|
3147
|
-
|
|
3148
2483
|
function isBinary(object) {
|
|
3149
2484
|
return NodeBuffer && NodeBuffer.isBuffer(object);
|
|
3150
2485
|
}
|
|
3151
|
-
|
|
3152
2486
|
module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
3153
2487
|
kind: 'scalar',
|
|
3154
2488
|
resolve: resolveYamlBinary,
|
|
@@ -3156,31 +2490,23 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
|
3156
2490
|
predicate: isBinary,
|
|
3157
2491
|
represent: representYamlBinary
|
|
3158
2492
|
});
|
|
3159
|
-
|
|
3160
2493
|
},{"../type":13}],15:[function(require,module,exports){
|
|
3161
2494
|
'use strict';
|
|
3162
|
-
|
|
3163
2495
|
var Type = require('../type');
|
|
3164
|
-
|
|
3165
2496
|
function resolveYamlBoolean(data) {
|
|
3166
2497
|
if (data === null) return false;
|
|
3167
|
-
|
|
3168
2498
|
var max = data.length;
|
|
3169
|
-
|
|
3170
2499
|
return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||
|
|
3171
2500
|
(max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));
|
|
3172
2501
|
}
|
|
3173
|
-
|
|
3174
2502
|
function constructYamlBoolean(data) {
|
|
3175
2503
|
return data === 'true' ||
|
|
3176
2504
|
data === 'True' ||
|
|
3177
2505
|
data === 'TRUE';
|
|
3178
2506
|
}
|
|
3179
|
-
|
|
3180
2507
|
function isBoolean(object) {
|
|
3181
2508
|
return Object.prototype.toString.call(object) === '[object Boolean]';
|
|
3182
2509
|
}
|
|
3183
|
-
|
|
3184
2510
|
module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
3185
2511
|
kind: 'scalar',
|
|
3186
2512
|
resolve: resolveYamlBoolean,
|
|
@@ -3193,13 +2519,10 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
|
3193
2519
|
},
|
|
3194
2520
|
defaultStyle: 'lowercase'
|
|
3195
2521
|
});
|
|
3196
|
-
|
|
3197
2522
|
},{"../type":13}],16:[function(require,module,exports){
|
|
3198
2523
|
'use strict';
|
|
3199
|
-
|
|
3200
2524
|
var common = require('../common');
|
|
3201
2525
|
var Type = require('../type');
|
|
3202
|
-
|
|
3203
2526
|
var YAML_FLOAT_PATTERN = new RegExp(
|
|
3204
2527
|
// 2.5e4, 2.5 and integers
|
|
3205
2528
|
'^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +
|
|
@@ -3212,62 +2535,45 @@ var YAML_FLOAT_PATTERN = new RegExp(
|
|
|
3212
2535
|
'|[-+]?\\.(?:inf|Inf|INF)' +
|
|
3213
2536
|
// .nan
|
|
3214
2537
|
'|\\.(?:nan|NaN|NAN))$');
|
|
3215
|
-
|
|
3216
2538
|
function resolveYamlFloat(data) {
|
|
3217
2539
|
if (data === null) return false;
|
|
3218
|
-
|
|
3219
2540
|
if (!YAML_FLOAT_PATTERN.test(data) ||
|
|
3220
2541
|
// Quick hack to not allow integers end with `_`
|
|
3221
2542
|
// Probably should update regexp & check speed
|
|
3222
2543
|
data[data.length - 1] === '_') {
|
|
3223
2544
|
return false;
|
|
3224
2545
|
}
|
|
3225
|
-
|
|
3226
2546
|
return true;
|
|
3227
2547
|
}
|
|
3228
|
-
|
|
3229
2548
|
function constructYamlFloat(data) {
|
|
3230
2549
|
var value, sign, base, digits;
|
|
3231
|
-
|
|
3232
2550
|
value = data.replace(/_/g, '').toLowerCase();
|
|
3233
2551
|
sign = value[0] === '-' ? -1 : 1;
|
|
3234
2552
|
digits = [];
|
|
3235
|
-
|
|
3236
2553
|
if ('+-'.indexOf(value[0]) >= 0) {
|
|
3237
2554
|
value = value.slice(1);
|
|
3238
2555
|
}
|
|
3239
|
-
|
|
3240
2556
|
if (value === '.inf') {
|
|
3241
2557
|
return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
|
3242
|
-
|
|
3243
2558
|
} else if (value === '.nan') {
|
|
3244
2559
|
return NaN;
|
|
3245
|
-
|
|
3246
2560
|
} else if (value.indexOf(':') >= 0) {
|
|
3247
2561
|
value.split(':').forEach(function (v) {
|
|
3248
2562
|
digits.unshift(parseFloat(v, 10));
|
|
3249
2563
|
});
|
|
3250
|
-
|
|
3251
2564
|
value = 0.0;
|
|
3252
2565
|
base = 1;
|
|
3253
|
-
|
|
3254
2566
|
digits.forEach(function (d) {
|
|
3255
2567
|
value += d * base;
|
|
3256
2568
|
base *= 60;
|
|
3257
2569
|
});
|
|
3258
|
-
|
|
3259
2570
|
return sign * value;
|
|
3260
|
-
|
|
3261
2571
|
}
|
|
3262
2572
|
return sign * parseFloat(value, 10);
|
|
3263
2573
|
}
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
2574
|
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
3267
|
-
|
|
3268
2575
|
function representYamlFloat(object, style) {
|
|
3269
2576
|
var res;
|
|
3270
|
-
|
|
3271
2577
|
if (isNaN(object)) {
|
|
3272
2578
|
switch (style) {
|
|
3273
2579
|
case 'lowercase': return '.nan';
|
|
@@ -3289,20 +2595,15 @@ function representYamlFloat(object, style) {
|
|
|
3289
2595
|
} else if (common.isNegativeZero(object)) {
|
|
3290
2596
|
return '-0.0';
|
|
3291
2597
|
}
|
|
3292
|
-
|
|
3293
2598
|
res = object.toString(10);
|
|
3294
|
-
|
|
3295
2599
|
// JS stringifier can build scientific format without dots: 5e-100,
|
|
3296
2600
|
// while YAML requres dot: 5.e-100. Fix it with simple hack
|
|
3297
|
-
|
|
3298
2601
|
return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;
|
|
3299
2602
|
}
|
|
3300
|
-
|
|
3301
2603
|
function isFloat(object) {
|
|
3302
2604
|
return (Object.prototype.toString.call(object) === '[object Number]') &&
|
|
3303
2605
|
(object % 1 !== 0 || common.isNegativeZero(object));
|
|
3304
2606
|
}
|
|
3305
|
-
|
|
3306
2607
|
module.exports = new Type('tag:yaml.org,2002:float', {
|
|
3307
2608
|
kind: 'scalar',
|
|
3308
2609
|
resolve: resolveYamlFloat,
|
|
@@ -3311,55 +2612,41 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
|
3311
2612
|
represent: representYamlFloat,
|
|
3312
2613
|
defaultStyle: 'lowercase'
|
|
3313
2614
|
});
|
|
3314
|
-
|
|
3315
2615
|
},{"../common":2,"../type":13}],17:[function(require,module,exports){
|
|
3316
2616
|
'use strict';
|
|
3317
|
-
|
|
3318
2617
|
var common = require('../common');
|
|
3319
2618
|
var Type = require('../type');
|
|
3320
|
-
|
|
3321
2619
|
function isHexCode(c) {
|
|
3322
2620
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
|
3323
2621
|
((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||
|
|
3324
2622
|
((0x61/* a */ <= c) && (c <= 0x66/* f */));
|
|
3325
2623
|
}
|
|
3326
|
-
|
|
3327
2624
|
function isOctCode(c) {
|
|
3328
2625
|
return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));
|
|
3329
2626
|
}
|
|
3330
|
-
|
|
3331
2627
|
function isDecCode(c) {
|
|
3332
2628
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));
|
|
3333
2629
|
}
|
|
3334
|
-
|
|
3335
2630
|
function resolveYamlInteger(data) {
|
|
3336
2631
|
if (data === null) return false;
|
|
3337
|
-
|
|
3338
2632
|
var max = data.length,
|
|
3339
2633
|
index = 0,
|
|
3340
2634
|
hasDigits = false,
|
|
3341
2635
|
ch;
|
|
3342
|
-
|
|
3343
2636
|
if (!max) return false;
|
|
3344
|
-
|
|
3345
2637
|
ch = data[index];
|
|
3346
|
-
|
|
3347
2638
|
// sign
|
|
3348
2639
|
if (ch === '-' || ch === '+') {
|
|
3349
2640
|
ch = data[++index];
|
|
3350
2641
|
}
|
|
3351
|
-
|
|
3352
2642
|
if (ch === '0') {
|
|
3353
2643
|
// 0
|
|
3354
2644
|
if (index + 1 === max) return true;
|
|
3355
2645
|
ch = data[++index];
|
|
3356
|
-
|
|
3357
2646
|
// base 2, base 8, base 16
|
|
3358
|
-
|
|
3359
2647
|
if (ch === 'b') {
|
|
3360
2648
|
// base 2
|
|
3361
2649
|
index++;
|
|
3362
|
-
|
|
3363
2650
|
for (; index < max; index++) {
|
|
3364
2651
|
ch = data[index];
|
|
3365
2652
|
if (ch === '_') continue;
|
|
@@ -3368,12 +2655,9 @@ function resolveYamlInteger(data) {
|
|
|
3368
2655
|
}
|
|
3369
2656
|
return hasDigits && ch !== '_';
|
|
3370
2657
|
}
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
2658
|
if (ch === 'x') {
|
|
3374
2659
|
// base 16
|
|
3375
2660
|
index++;
|
|
3376
|
-
|
|
3377
2661
|
for (; index < max; index++) {
|
|
3378
2662
|
ch = data[index];
|
|
3379
2663
|
if (ch === '_') continue;
|
|
@@ -3382,7 +2666,6 @@ function resolveYamlInteger(data) {
|
|
|
3382
2666
|
}
|
|
3383
2667
|
return hasDigits && ch !== '_';
|
|
3384
2668
|
}
|
|
3385
|
-
|
|
3386
2669
|
// base 8
|
|
3387
2670
|
for (; index < max; index++) {
|
|
3388
2671
|
ch = data[index];
|
|
@@ -3392,12 +2675,9 @@ function resolveYamlInteger(data) {
|
|
|
3392
2675
|
}
|
|
3393
2676
|
return hasDigits && ch !== '_';
|
|
3394
2677
|
}
|
|
3395
|
-
|
|
3396
2678
|
// base 10 (except 0) or base 60
|
|
3397
|
-
|
|
3398
2679
|
// value should not start with `_`;
|
|
3399
2680
|
if (ch === '_') return false;
|
|
3400
|
-
|
|
3401
2681
|
for (; index < max; index++) {
|
|
3402
2682
|
ch = data[index];
|
|
3403
2683
|
if (ch === '_') continue;
|
|
@@ -3407,65 +2687,48 @@ function resolveYamlInteger(data) {
|
|
|
3407
2687
|
}
|
|
3408
2688
|
hasDigits = true;
|
|
3409
2689
|
}
|
|
3410
|
-
|
|
3411
2690
|
// Should have digits and should not end with `_`
|
|
3412
2691
|
if (!hasDigits || ch === '_') return false;
|
|
3413
|
-
|
|
3414
2692
|
// if !base60 - done;
|
|
3415
2693
|
if (ch !== ':') return true;
|
|
3416
|
-
|
|
3417
2694
|
// base60 almost not used, no needs to optimize
|
|
3418
2695
|
return /^(:[0-5]?[0-9])+$/.test(data.slice(index));
|
|
3419
2696
|
}
|
|
3420
|
-
|
|
3421
2697
|
function constructYamlInteger(data) {
|
|
3422
2698
|
var value = data, sign = 1, ch, base, digits = [];
|
|
3423
|
-
|
|
3424
2699
|
if (value.indexOf('_') !== -1) {
|
|
3425
2700
|
value = value.replace(/_/g, '');
|
|
3426
2701
|
}
|
|
3427
|
-
|
|
3428
2702
|
ch = value[0];
|
|
3429
|
-
|
|
3430
2703
|
if (ch === '-' || ch === '+') {
|
|
3431
2704
|
if (ch === '-') sign = -1;
|
|
3432
2705
|
value = value.slice(1);
|
|
3433
2706
|
ch = value[0];
|
|
3434
2707
|
}
|
|
3435
|
-
|
|
3436
2708
|
if (value === '0') return 0;
|
|
3437
|
-
|
|
3438
2709
|
if (ch === '0') {
|
|
3439
2710
|
if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);
|
|
3440
2711
|
if (value[1] === 'x') return sign * parseInt(value, 16);
|
|
3441
2712
|
return sign * parseInt(value, 8);
|
|
3442
2713
|
}
|
|
3443
|
-
|
|
3444
2714
|
if (value.indexOf(':') !== -1) {
|
|
3445
2715
|
value.split(':').forEach(function (v) {
|
|
3446
2716
|
digits.unshift(parseInt(v, 10));
|
|
3447
2717
|
});
|
|
3448
|
-
|
|
3449
2718
|
value = 0;
|
|
3450
2719
|
base = 1;
|
|
3451
|
-
|
|
3452
2720
|
digits.forEach(function (d) {
|
|
3453
2721
|
value += (d * base);
|
|
3454
2722
|
base *= 60;
|
|
3455
2723
|
});
|
|
3456
|
-
|
|
3457
2724
|
return sign * value;
|
|
3458
|
-
|
|
3459
2725
|
}
|
|
3460
|
-
|
|
3461
2726
|
return sign * parseInt(value, 10);
|
|
3462
2727
|
}
|
|
3463
|
-
|
|
3464
2728
|
function isInteger(object) {
|
|
3465
2729
|
return (Object.prototype.toString.call(object)) === '[object Number]' &&
|
|
3466
2730
|
(object % 1 === 0 && !common.isNegativeZero(object));
|
|
3467
2731
|
}
|
|
3468
|
-
|
|
3469
2732
|
module.exports = new Type('tag:yaml.org,2002:int', {
|
|
3470
2733
|
kind: 'scalar',
|
|
3471
2734
|
resolve: resolveYamlInteger,
|
|
@@ -3486,12 +2749,9 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
|
3486
2749
|
hexadecimal: [ 16, 'hex' ]
|
|
3487
2750
|
}
|
|
3488
2751
|
});
|
|
3489
|
-
|
|
3490
2752
|
},{"../common":2,"../type":13}],18:[function(require,module,exports){
|
|
3491
2753
|
'use strict';
|
|
3492
|
-
|
|
3493
2754
|
var esprima;
|
|
3494
|
-
|
|
3495
2755
|
// Browserified version does not have esprima
|
|
3496
2756
|
//
|
|
3497
2757
|
// 1. For node.js just require module as deps
|
|
@@ -3508,16 +2768,12 @@ try {
|
|
|
3508
2768
|
/* global window */
|
|
3509
2769
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
|
3510
2770
|
}
|
|
3511
|
-
|
|
3512
2771
|
var Type = require('../../type');
|
|
3513
|
-
|
|
3514
2772
|
function resolveJavascriptFunction(data) {
|
|
3515
2773
|
if (data === null) return false;
|
|
3516
|
-
|
|
3517
2774
|
try {
|
|
3518
2775
|
var source = '(' + data + ')',
|
|
3519
2776
|
ast = esprima.parse(source, { range: true });
|
|
3520
|
-
|
|
3521
2777
|
if (ast.type !== 'Program' ||
|
|
3522
2778
|
ast.body.length !== 1 ||
|
|
3523
2779
|
ast.body[0].type !== 'ExpressionStatement' ||
|
|
@@ -3525,21 +2781,17 @@ function resolveJavascriptFunction(data) {
|
|
|
3525
2781
|
ast.body[0].expression.type !== 'FunctionExpression')) {
|
|
3526
2782
|
return false;
|
|
3527
2783
|
}
|
|
3528
|
-
|
|
3529
2784
|
return true;
|
|
3530
2785
|
} catch (err) {
|
|
3531
2786
|
return false;
|
|
3532
2787
|
}
|
|
3533
2788
|
}
|
|
3534
|
-
|
|
3535
2789
|
function constructJavascriptFunction(data) {
|
|
3536
2790
|
/*jslint evil:true*/
|
|
3537
|
-
|
|
3538
2791
|
var source = '(' + data + ')',
|
|
3539
2792
|
ast = esprima.parse(source, { range: true }),
|
|
3540
2793
|
params = [],
|
|
3541
2794
|
body;
|
|
3542
|
-
|
|
3543
2795
|
if (ast.type !== 'Program' ||
|
|
3544
2796
|
ast.body.length !== 1 ||
|
|
3545
2797
|
ast.body[0].type !== 'ExpressionStatement' ||
|
|
@@ -3547,13 +2799,10 @@ function constructJavascriptFunction(data) {
|
|
|
3547
2799
|
ast.body[0].expression.type !== 'FunctionExpression')) {
|
|
3548
2800
|
throw new Error('Failed to resolve function');
|
|
3549
2801
|
}
|
|
3550
|
-
|
|
3551
2802
|
ast.body[0].expression.params.forEach(function (param) {
|
|
3552
2803
|
params.push(param.name);
|
|
3553
2804
|
});
|
|
3554
|
-
|
|
3555
2805
|
body = ast.body[0].expression.body.range;
|
|
3556
|
-
|
|
3557
2806
|
// Esprima's ranges include the first '{' and the last '}' characters on
|
|
3558
2807
|
// function expressions. So cut them out.
|
|
3559
2808
|
if (ast.body[0].expression.body.type === 'BlockStatement') {
|
|
@@ -3565,15 +2814,12 @@ function constructJavascriptFunction(data) {
|
|
|
3565
2814
|
/*eslint-disable no-new-func*/
|
|
3566
2815
|
return new Function(params, 'return ' + source.slice(body[0], body[1]));
|
|
3567
2816
|
}
|
|
3568
|
-
|
|
3569
2817
|
function representJavascriptFunction(object /*, style*/) {
|
|
3570
2818
|
return object.toString();
|
|
3571
2819
|
}
|
|
3572
|
-
|
|
3573
2820
|
function isFunction(object) {
|
|
3574
2821
|
return Object.prototype.toString.call(object) === '[object Function]';
|
|
3575
2822
|
}
|
|
3576
|
-
|
|
3577
2823
|
module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
3578
2824
|
kind: 'scalar',
|
|
3579
2825
|
resolve: resolveJavascriptFunction,
|
|
@@ -3581,61 +2827,46 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
|
3581
2827
|
predicate: isFunction,
|
|
3582
2828
|
represent: representJavascriptFunction
|
|
3583
2829
|
});
|
|
3584
|
-
|
|
3585
2830
|
},{"../../type":13}],19:[function(require,module,exports){
|
|
3586
2831
|
'use strict';
|
|
3587
|
-
|
|
3588
2832
|
var Type = require('../../type');
|
|
3589
|
-
|
|
3590
2833
|
function resolveJavascriptRegExp(data) {
|
|
3591
2834
|
if (data === null) return false;
|
|
3592
2835
|
if (data.length === 0) return false;
|
|
3593
|
-
|
|
3594
2836
|
var regexp = data,
|
|
3595
2837
|
tail = /\/([gim]*)$/.exec(data),
|
|
3596
2838
|
modifiers = '';
|
|
3597
|
-
|
|
3598
2839
|
// if regexp starts with '/' it can have modifiers and must be properly closed
|
|
3599
2840
|
// `/foo/gim` - modifiers tail can be maximum 3 chars
|
|
3600
2841
|
if (regexp[0] === '/') {
|
|
3601
2842
|
if (tail) modifiers = tail[1];
|
|
3602
|
-
|
|
3603
2843
|
if (modifiers.length > 3) return false;
|
|
3604
2844
|
// if expression starts with /, is should be properly terminated
|
|
3605
2845
|
if (regexp[regexp.length - modifiers.length - 1] !== '/') return false;
|
|
3606
2846
|
}
|
|
3607
|
-
|
|
3608
2847
|
return true;
|
|
3609
2848
|
}
|
|
3610
|
-
|
|
3611
2849
|
function constructJavascriptRegExp(data) {
|
|
3612
2850
|
var regexp = data,
|
|
3613
2851
|
tail = /\/([gim]*)$/.exec(data),
|
|
3614
2852
|
modifiers = '';
|
|
3615
|
-
|
|
3616
2853
|
// `/foo/gim` - tail can be maximum 4 chars
|
|
3617
2854
|
if (regexp[0] === '/') {
|
|
3618
2855
|
if (tail) modifiers = tail[1];
|
|
3619
2856
|
regexp = regexp.slice(1, regexp.length - modifiers.length - 1);
|
|
3620
2857
|
}
|
|
3621
|
-
|
|
3622
2858
|
return new RegExp(regexp, modifiers);
|
|
3623
2859
|
}
|
|
3624
|
-
|
|
3625
2860
|
function representJavascriptRegExp(object /*, style*/) {
|
|
3626
2861
|
var result = '/' + object.source + '/';
|
|
3627
|
-
|
|
3628
2862
|
if (object.global) result += 'g';
|
|
3629
2863
|
if (object.multiline) result += 'm';
|
|
3630
2864
|
if (object.ignoreCase) result += 'i';
|
|
3631
|
-
|
|
3632
2865
|
return result;
|
|
3633
2866
|
}
|
|
3634
|
-
|
|
3635
2867
|
function isRegExp(object) {
|
|
3636
2868
|
return Object.prototype.toString.call(object) === '[object RegExp]';
|
|
3637
2869
|
}
|
|
3638
|
-
|
|
3639
2870
|
module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
3640
2871
|
kind: 'scalar',
|
|
3641
2872
|
resolve: resolveJavascriptRegExp,
|
|
@@ -3643,29 +2874,22 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
|
3643
2874
|
predicate: isRegExp,
|
|
3644
2875
|
represent: representJavascriptRegExp
|
|
3645
2876
|
});
|
|
3646
|
-
|
|
3647
2877
|
},{"../../type":13}],20:[function(require,module,exports){
|
|
3648
2878
|
'use strict';
|
|
3649
|
-
|
|
3650
2879
|
var Type = require('../../type');
|
|
3651
|
-
|
|
3652
2880
|
function resolveJavascriptUndefined() {
|
|
3653
2881
|
return true;
|
|
3654
2882
|
}
|
|
3655
|
-
|
|
3656
2883
|
function constructJavascriptUndefined() {
|
|
3657
2884
|
/*eslint-disable no-undefined*/
|
|
3658
2885
|
return undefined;
|
|
3659
2886
|
}
|
|
3660
|
-
|
|
3661
2887
|
function representJavascriptUndefined() {
|
|
3662
2888
|
return '';
|
|
3663
2889
|
}
|
|
3664
|
-
|
|
3665
2890
|
function isUndefined(object) {
|
|
3666
2891
|
return typeof object === 'undefined';
|
|
3667
2892
|
}
|
|
3668
|
-
|
|
3669
2893
|
module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
3670
2894
|
kind: 'scalar',
|
|
3671
2895
|
resolve: resolveJavascriptUndefined,
|
|
@@ -3673,53 +2897,38 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
|
3673
2897
|
predicate: isUndefined,
|
|
3674
2898
|
represent: representJavascriptUndefined
|
|
3675
2899
|
});
|
|
3676
|
-
|
|
3677
2900
|
},{"../../type":13}],21:[function(require,module,exports){
|
|
3678
2901
|
'use strict';
|
|
3679
|
-
|
|
3680
2902
|
var Type = require('../type');
|
|
3681
|
-
|
|
3682
2903
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
|
3683
2904
|
kind: 'mapping',
|
|
3684
2905
|
construct: function (data) { return data !== null ? data : {}; }
|
|
3685
2906
|
});
|
|
3686
|
-
|
|
3687
2907
|
},{"../type":13}],22:[function(require,module,exports){
|
|
3688
2908
|
'use strict';
|
|
3689
|
-
|
|
3690
2909
|
var Type = require('../type');
|
|
3691
|
-
|
|
3692
2910
|
function resolveYamlMerge(data) {
|
|
3693
2911
|
return data === '<<' || data === null;
|
|
3694
2912
|
}
|
|
3695
|
-
|
|
3696
2913
|
module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
3697
2914
|
kind: 'scalar',
|
|
3698
2915
|
resolve: resolveYamlMerge
|
|
3699
2916
|
});
|
|
3700
|
-
|
|
3701
2917
|
},{"../type":13}],23:[function(require,module,exports){
|
|
3702
2918
|
'use strict';
|
|
3703
|
-
|
|
3704
2919
|
var Type = require('../type');
|
|
3705
|
-
|
|
3706
2920
|
function resolveYamlNull(data) {
|
|
3707
2921
|
if (data === null) return true;
|
|
3708
|
-
|
|
3709
2922
|
var max = data.length;
|
|
3710
|
-
|
|
3711
2923
|
return (max === 1 && data === '~') ||
|
|
3712
2924
|
(max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));
|
|
3713
2925
|
}
|
|
3714
|
-
|
|
3715
2926
|
function constructYamlNull() {
|
|
3716
2927
|
return null;
|
|
3717
2928
|
}
|
|
3718
|
-
|
|
3719
2929
|
function isNull(object) {
|
|
3720
2930
|
return object === null;
|
|
3721
2931
|
}
|
|
3722
|
-
|
|
3723
2932
|
module.exports = new Type('tag:yaml.org,2002:null', {
|
|
3724
2933
|
kind: 'scalar',
|
|
3725
2934
|
resolve: resolveYamlNull,
|
|
@@ -3733,169 +2942,117 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
|
3733
2942
|
},
|
|
3734
2943
|
defaultStyle: 'lowercase'
|
|
3735
2944
|
});
|
|
3736
|
-
|
|
3737
2945
|
},{"../type":13}],24:[function(require,module,exports){
|
|
3738
2946
|
'use strict';
|
|
3739
|
-
|
|
3740
2947
|
var Type = require('../type');
|
|
3741
|
-
|
|
3742
2948
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3743
2949
|
var _toString = Object.prototype.toString;
|
|
3744
|
-
|
|
3745
2950
|
function resolveYamlOmap(data) {
|
|
3746
2951
|
if (data === null) return true;
|
|
3747
|
-
|
|
3748
2952
|
var objectKeys = [], index, length, pair, pairKey, pairHasKey,
|
|
3749
2953
|
object = data;
|
|
3750
|
-
|
|
3751
2954
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
3752
2955
|
pair = object[index];
|
|
3753
2956
|
pairHasKey = false;
|
|
3754
|
-
|
|
3755
2957
|
if (_toString.call(pair) !== '[object Object]') return false;
|
|
3756
|
-
|
|
3757
2958
|
for (pairKey in pair) {
|
|
3758
2959
|
if (_hasOwnProperty.call(pair, pairKey)) {
|
|
3759
2960
|
if (!pairHasKey) pairHasKey = true;
|
|
3760
2961
|
else return false;
|
|
3761
2962
|
}
|
|
3762
2963
|
}
|
|
3763
|
-
|
|
3764
2964
|
if (!pairHasKey) return false;
|
|
3765
|
-
|
|
3766
2965
|
if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
|
|
3767
2966
|
else return false;
|
|
3768
2967
|
}
|
|
3769
|
-
|
|
3770
2968
|
return true;
|
|
3771
2969
|
}
|
|
3772
|
-
|
|
3773
2970
|
function constructYamlOmap(data) {
|
|
3774
2971
|
return data !== null ? data : [];
|
|
3775
2972
|
}
|
|
3776
|
-
|
|
3777
2973
|
module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
3778
2974
|
kind: 'sequence',
|
|
3779
2975
|
resolve: resolveYamlOmap,
|
|
3780
2976
|
construct: constructYamlOmap
|
|
3781
2977
|
});
|
|
3782
|
-
|
|
3783
2978
|
},{"../type":13}],25:[function(require,module,exports){
|
|
3784
2979
|
'use strict';
|
|
3785
|
-
|
|
3786
2980
|
var Type = require('../type');
|
|
3787
|
-
|
|
3788
2981
|
var _toString = Object.prototype.toString;
|
|
3789
|
-
|
|
3790
2982
|
function resolveYamlPairs(data) {
|
|
3791
2983
|
if (data === null) return true;
|
|
3792
|
-
|
|
3793
2984
|
var index, length, pair, keys, result,
|
|
3794
2985
|
object = data;
|
|
3795
|
-
|
|
3796
2986
|
result = new Array(object.length);
|
|
3797
|
-
|
|
3798
2987
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
3799
2988
|
pair = object[index];
|
|
3800
|
-
|
|
3801
2989
|
if (_toString.call(pair) !== '[object Object]') return false;
|
|
3802
|
-
|
|
3803
2990
|
keys = Object.keys(pair);
|
|
3804
|
-
|
|
3805
2991
|
if (keys.length !== 1) return false;
|
|
3806
|
-
|
|
3807
2992
|
result[index] = [ keys[0], pair[keys[0]] ];
|
|
3808
2993
|
}
|
|
3809
|
-
|
|
3810
2994
|
return true;
|
|
3811
2995
|
}
|
|
3812
|
-
|
|
3813
2996
|
function constructYamlPairs(data) {
|
|
3814
2997
|
if (data === null) return [];
|
|
3815
|
-
|
|
3816
2998
|
var index, length, pair, keys, result,
|
|
3817
2999
|
object = data;
|
|
3818
|
-
|
|
3819
3000
|
result = new Array(object.length);
|
|
3820
|
-
|
|
3821
3001
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
3822
3002
|
pair = object[index];
|
|
3823
|
-
|
|
3824
3003
|
keys = Object.keys(pair);
|
|
3825
|
-
|
|
3826
3004
|
result[index] = [ keys[0], pair[keys[0]] ];
|
|
3827
3005
|
}
|
|
3828
|
-
|
|
3829
3006
|
return result;
|
|
3830
3007
|
}
|
|
3831
|
-
|
|
3832
3008
|
module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
3833
3009
|
kind: 'sequence',
|
|
3834
3010
|
resolve: resolveYamlPairs,
|
|
3835
3011
|
construct: constructYamlPairs
|
|
3836
3012
|
});
|
|
3837
|
-
|
|
3838
3013
|
},{"../type":13}],26:[function(require,module,exports){
|
|
3839
3014
|
'use strict';
|
|
3840
|
-
|
|
3841
3015
|
var Type = require('../type');
|
|
3842
|
-
|
|
3843
3016
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
3844
3017
|
kind: 'sequence',
|
|
3845
3018
|
construct: function (data) { return data !== null ? data : []; }
|
|
3846
3019
|
});
|
|
3847
|
-
|
|
3848
3020
|
},{"../type":13}],27:[function(require,module,exports){
|
|
3849
3021
|
'use strict';
|
|
3850
|
-
|
|
3851
3022
|
var Type = require('../type');
|
|
3852
|
-
|
|
3853
3023
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3854
|
-
|
|
3855
3024
|
function resolveYamlSet(data) {
|
|
3856
3025
|
if (data === null) return true;
|
|
3857
|
-
|
|
3858
3026
|
var key, object = data;
|
|
3859
|
-
|
|
3860
3027
|
for (key in object) {
|
|
3861
3028
|
if (_hasOwnProperty.call(object, key)) {
|
|
3862
3029
|
if (object[key] !== null) return false;
|
|
3863
3030
|
}
|
|
3864
3031
|
}
|
|
3865
|
-
|
|
3866
3032
|
return true;
|
|
3867
3033
|
}
|
|
3868
|
-
|
|
3869
3034
|
function constructYamlSet(data) {
|
|
3870
3035
|
return data !== null ? data : {};
|
|
3871
3036
|
}
|
|
3872
|
-
|
|
3873
3037
|
module.exports = new Type('tag:yaml.org,2002:set', {
|
|
3874
3038
|
kind: 'mapping',
|
|
3875
3039
|
resolve: resolveYamlSet,
|
|
3876
3040
|
construct: constructYamlSet
|
|
3877
3041
|
});
|
|
3878
|
-
|
|
3879
3042
|
},{"../type":13}],28:[function(require,module,exports){
|
|
3880
3043
|
'use strict';
|
|
3881
|
-
|
|
3882
3044
|
var Type = require('../type');
|
|
3883
|
-
|
|
3884
3045
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
|
3885
3046
|
kind: 'scalar',
|
|
3886
3047
|
construct: function (data) { return data !== null ? data : ''; }
|
|
3887
3048
|
});
|
|
3888
|
-
|
|
3889
3049
|
},{"../type":13}],29:[function(require,module,exports){
|
|
3890
3050
|
'use strict';
|
|
3891
|
-
|
|
3892
3051
|
var Type = require('../type');
|
|
3893
|
-
|
|
3894
3052
|
var YAML_DATE_REGEXP = new RegExp(
|
|
3895
3053
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
|
3896
3054
|
'-([0-9][0-9])' + // [2] month
|
|
3897
3055
|
'-([0-9][0-9])$'); // [3] day
|
|
3898
|
-
|
|
3899
3056
|
var YAML_TIMESTAMP_REGEXP = new RegExp(
|
|
3900
3057
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
|
3901
3058
|
'-([0-9][0-9]?)' + // [2] month
|
|
@@ -3907,39 +3064,29 @@ var YAML_TIMESTAMP_REGEXP = new RegExp(
|
|
|
3907
3064
|
'(?:\\.([0-9]*))?' + // [7] fraction
|
|
3908
3065
|
'(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour
|
|
3909
3066
|
'(?::([0-9][0-9]))?))?$'); // [11] tz_minute
|
|
3910
|
-
|
|
3911
3067
|
function resolveYamlTimestamp(data) {
|
|
3912
3068
|
if (data === null) return false;
|
|
3913
3069
|
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
|
|
3914
3070
|
if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
|
|
3915
3071
|
return false;
|
|
3916
3072
|
}
|
|
3917
|
-
|
|
3918
3073
|
function constructYamlTimestamp(data) {
|
|
3919
3074
|
var match, year, month, day, hour, minute, second, fraction = 0,
|
|
3920
3075
|
delta = null, tz_hour, tz_minute, date;
|
|
3921
|
-
|
|
3922
3076
|
match = YAML_DATE_REGEXP.exec(data);
|
|
3923
3077
|
if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
|
|
3924
|
-
|
|
3925
3078
|
if (match === null) throw new Error('Date resolve error');
|
|
3926
|
-
|
|
3927
3079
|
// match: [1] year [2] month [3] day
|
|
3928
|
-
|
|
3929
3080
|
year = +(match[1]);
|
|
3930
3081
|
month = +(match[2]) - 1; // JS month starts with 0
|
|
3931
3082
|
day = +(match[3]);
|
|
3932
|
-
|
|
3933
3083
|
if (!match[4]) { // no hour
|
|
3934
3084
|
return new Date(Date.UTC(year, month, day));
|
|
3935
3085
|
}
|
|
3936
|
-
|
|
3937
3086
|
// match: [4] hour [5] minute [6] second [7] fraction
|
|
3938
|
-
|
|
3939
3087
|
hour = +(match[4]);
|
|
3940
3088
|
minute = +(match[5]);
|
|
3941
3089
|
second = +(match[6]);
|
|
3942
|
-
|
|
3943
3090
|
if (match[7]) {
|
|
3944
3091
|
fraction = match[7].slice(0, 3);
|
|
3945
3092
|
while (fraction.length < 3) { // milli-seconds
|
|
@@ -3947,27 +3094,20 @@ function constructYamlTimestamp(data) {
|
|
|
3947
3094
|
}
|
|
3948
3095
|
fraction = +fraction;
|
|
3949
3096
|
}
|
|
3950
|
-
|
|
3951
3097
|
// match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute
|
|
3952
|
-
|
|
3953
3098
|
if (match[9]) {
|
|
3954
3099
|
tz_hour = +(match[10]);
|
|
3955
3100
|
tz_minute = +(match[11] || 0);
|
|
3956
3101
|
delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds
|
|
3957
3102
|
if (match[9] === '-') delta = -delta;
|
|
3958
3103
|
}
|
|
3959
|
-
|
|
3960
3104
|
date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
|
|
3961
|
-
|
|
3962
3105
|
if (delta) date.setTime(date.getTime() - delta);
|
|
3963
|
-
|
|
3964
3106
|
return date;
|
|
3965
3107
|
}
|
|
3966
|
-
|
|
3967
3108
|
function representYamlTimestamp(object /*, style*/) {
|
|
3968
3109
|
return object.toISOString();
|
|
3969
3110
|
}
|
|
3970
|
-
|
|
3971
3111
|
module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
3972
3112
|
kind: 'scalar',
|
|
3973
3113
|
resolve: resolveYamlTimestamp,
|
|
@@ -3975,15 +3115,9 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
|
3975
3115
|
instanceOf: Date,
|
|
3976
3116
|
represent: representYamlTimestamp
|
|
3977
3117
|
});
|
|
3978
|
-
|
|
3979
3118
|
},{"../type":13}],"/":[function(require,module,exports){
|
|
3980
3119
|
'use strict';
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
3120
|
var yaml = require('./lib/js-yaml.js');
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
3121
|
module.exports = yaml;
|
|
3987
|
-
|
|
3988
3122
|
},{"./lib/js-yaml.js":1}]},{},[])("/")
|
|
3989
|
-
});
|
|
3123
|
+
});
|