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