@colbymchenry/codegraph-win32-arm64 1.6.0 → 1.6.2
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/bin/codegraph +5 -0
- package/lib/dist/.test-build-engine.json +1 -0
- package/lib/dist/.test-build-viewer.json +1 -0
- package/lib/dist/bin/codegraph.d.ts +1 -0
- package/lib/dist/bin/codegraph.d.ts.map +1 -1
- package/lib/dist/bin/codegraph.js +605 -291
- package/lib/dist/bin/codegraph.js.map +1 -1
- package/lib/dist/bin/command-supervision.d.ts +7 -0
- package/lib/dist/bin/command-supervision.d.ts.map +1 -1
- package/lib/dist/bin/command-supervision.js +39 -27
- package/lib/dist/bin/command-supervision.js.map +1 -1
- package/lib/dist/bin/viewer-gate.d.ts +17 -0
- package/lib/dist/bin/viewer-gate.d.ts.map +1 -0
- package/lib/dist/bin/viewer-gate.js +31 -0
- package/lib/dist/bin/viewer-gate.js.map +1 -0
- package/lib/dist/context/index.d.ts.map +1 -1
- package/lib/dist/context/index.js +43 -2
- package/lib/dist/context/index.js.map +1 -1
- package/lib/dist/db/index.d.ts +21 -2
- package/lib/dist/db/index.d.ts.map +1 -1
- package/lib/dist/db/index.js +86 -31
- package/lib/dist/db/index.js.map +1 -1
- package/lib/dist/db/migrations.d.ts +1 -1
- package/lib/dist/db/migrations.d.ts.map +1 -1
- package/lib/dist/db/migrations.js +40 -1
- package/lib/dist/db/migrations.js.map +1 -1
- package/lib/dist/db/queries.d.ts +454 -10
- package/lib/dist/db/queries.d.ts.map +1 -1
- package/lib/dist/db/queries.js +1080 -41
- package/lib/dist/db/queries.js.map +1 -1
- package/lib/dist/db/schema.sql +11 -1
- package/lib/dist/db/sqlite-adapter.d.ts +2 -0
- package/lib/dist/db/sqlite-adapter.d.ts.map +1 -1
- package/lib/dist/db/sqlite-adapter.js +56 -7
- package/lib/dist/db/sqlite-adapter.js.map +1 -1
- package/lib/dist/db/synthesis-stage.d.ts +12 -0
- package/lib/dist/db/synthesis-stage.d.ts.map +1 -0
- package/lib/dist/db/synthesis-stage.js +89 -0
- package/lib/dist/db/synthesis-stage.js.map +1 -0
- package/lib/dist/db/wal-valve.d.ts +32 -12
- package/lib/dist/db/wal-valve.d.ts.map +1 -1
- package/lib/dist/db/wal-valve.js +65 -22
- package/lib/dist/db/wal-valve.js.map +1 -1
- package/lib/dist/db/wsl-shared-index.d.ts +53 -0
- package/lib/dist/db/wsl-shared-index.d.ts.map +1 -0
- package/lib/dist/db/wsl-shared-index.js +121 -0
- package/lib/dist/db/wsl-shared-index.js.map +1 -0
- package/lib/dist/directory.d.ts +131 -2
- package/lib/dist/directory.d.ts.map +1 -1
- package/lib/dist/directory.js +299 -23
- package/lib/dist/directory.js.map +1 -1
- package/lib/dist/errors.d.ts +14 -0
- package/lib/dist/errors.d.ts.map +1 -1
- package/lib/dist/errors.js +16 -1
- package/lib/dist/errors.js.map +1 -1
- package/lib/dist/extraction/astro-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/astro-extractor.js +7 -35
- package/lib/dist/extraction/astro-extractor.js.map +1 -1
- package/lib/dist/extraction/cfml-extractor.d.ts +77 -10
- package/lib/dist/extraction/cfml-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/cfml-extractor.js +302 -71
- package/lib/dist/extraction/cfml-extractor.js.map +1 -1
- package/lib/dist/extraction/commonjs-requires.d.ts +23 -0
- package/lib/dist/extraction/commonjs-requires.d.ts.map +1 -0
- package/lib/dist/extraction/commonjs-requires.js +68 -0
- package/lib/dist/extraction/commonjs-requires.js.map +1 -0
- package/lib/dist/extraction/dfm-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/dfm-extractor.js +14 -10
- package/lib/dist/extraction/dfm-extractor.js.map +1 -1
- package/lib/dist/extraction/extraction-version.d.ts +1 -1
- package/lib/dist/extraction/extraction-version.js +1 -1
- package/lib/dist/extraction/function-ref.d.ts +6 -4
- package/lib/dist/extraction/function-ref.d.ts.map +1 -1
- package/lib/dist/extraction/function-ref.js +35 -14
- package/lib/dist/extraction/function-ref.js.map +1 -1
- package/lib/dist/extraction/generated-detection.d.ts +9 -0
- package/lib/dist/extraction/generated-detection.d.ts.map +1 -1
- package/lib/dist/extraction/generated-detection.js +42 -2
- package/lib/dist/extraction/generated-detection.js.map +1 -1
- package/lib/dist/extraction/grammars.d.ts +40 -0
- package/lib/dist/extraction/grammars.d.ts.map +1 -1
- package/lib/dist/extraction/grammars.js +171 -1
- package/lib/dist/extraction/grammars.js.map +1 -1
- package/lib/dist/extraction/index.d.ts +132 -19
- package/lib/dist/extraction/index.d.ts.map +1 -1
- package/lib/dist/extraction/index.js +825 -195
- package/lib/dist/extraction/index.js.map +1 -1
- package/lib/dist/extraction/kernel/index.d.ts.map +1 -1
- package/lib/dist/extraction/kernel/index.js +6 -0
- package/lib/dist/extraction/kernel/index.js.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.d.ts +73 -0
- package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.js +412 -16
- package/lib/dist/extraction/languages/c-cpp.js.map +1 -1
- package/lib/dist/extraction/languages/csharp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/csharp.js +14 -5
- package/lib/dist/extraction/languages/csharp.js.map +1 -1
- package/lib/dist/extraction/languages/dart.d.ts.map +1 -1
- package/lib/dist/extraction/languages/dart.js +16 -3
- package/lib/dist/extraction/languages/dart.js.map +1 -1
- package/lib/dist/extraction/languages/javascript.js +1 -1
- package/lib/dist/extraction/languages/javascript.js.map +1 -1
- package/lib/dist/extraction/languages/kotlin.d.ts +4 -0
- package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -1
- package/lib/dist/extraction/languages/kotlin.js +237 -36
- package/lib/dist/extraction/languages/kotlin.js.map +1 -1
- package/lib/dist/extraction/languages/lua.d.ts.map +1 -1
- package/lib/dist/extraction/languages/lua.js +4 -1
- package/lib/dist/extraction/languages/lua.js.map +1 -1
- package/lib/dist/extraction/languages/python.d.ts.map +1 -1
- package/lib/dist/extraction/languages/python.js +71 -0
- package/lib/dist/extraction/languages/python.js.map +1 -1
- package/lib/dist/extraction/languages/rust.d.ts.map +1 -1
- package/lib/dist/extraction/languages/rust.js +3 -0
- package/lib/dist/extraction/languages/rust.js.map +1 -1
- package/lib/dist/extraction/languages/scala.d.ts.map +1 -1
- package/lib/dist/extraction/languages/scala.js +18 -3
- package/lib/dist/extraction/languages/scala.js.map +1 -1
- package/lib/dist/extraction/languages/swift.d.ts +15 -0
- package/lib/dist/extraction/languages/swift.d.ts.map +1 -1
- package/lib/dist/extraction/languages/swift.js +50 -0
- package/lib/dist/extraction/languages/swift.js.map +1 -1
- package/lib/dist/extraction/languages/typescript.d.ts +7 -0
- package/lib/dist/extraction/languages/typescript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/typescript.js +30 -2
- package/lib/dist/extraction/languages/typescript.js.map +1 -1
- package/lib/dist/extraction/liquid-extractor.d.ts +18 -0
- package/lib/dist/extraction/liquid-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/liquid-extractor.js +98 -22
- package/lib/dist/extraction/liquid-extractor.js.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.js +6 -4
- package/lib/dist/extraction/mybatis-extractor.js.map +1 -1
- package/lib/dist/extraction/parse-budget.d.ts +16 -0
- package/lib/dist/extraction/parse-budget.d.ts.map +1 -0
- package/lib/dist/extraction/parse-budget.js +24 -0
- package/lib/dist/extraction/parse-budget.js.map +1 -0
- package/lib/dist/extraction/parse-pool.d.ts +12 -0
- package/lib/dist/extraction/parse-pool.d.ts.map +1 -1
- package/lib/dist/extraction/parse-pool.js +51 -3
- package/lib/dist/extraction/parse-pool.js.map +1 -1
- package/lib/dist/extraction/parse-worker.js +3 -1
- package/lib/dist/extraction/parse-worker.js.map +1 -1
- package/lib/dist/extraction/sfc-script.d.ts +43 -0
- package/lib/dist/extraction/sfc-script.d.ts.map +1 -0
- package/lib/dist/extraction/sfc-script.js +135 -0
- package/lib/dist/extraction/sfc-script.js.map +1 -0
- package/lib/dist/extraction/store-worker.js +5 -0
- package/lib/dist/extraction/store-worker.js.map +1 -1
- package/lib/dist/extraction/store-writer.d.ts +10 -2
- package/lib/dist/extraction/store-writer.d.ts.map +1 -1
- package/lib/dist/extraction/store-writer.js +12 -4
- package/lib/dist/extraction/store-writer.js.map +1 -1
- package/lib/dist/extraction/svelte-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/svelte-extractor.js +7 -37
- package/lib/dist/extraction/svelte-extractor.js.map +1 -1
- package/lib/dist/extraction/syntax-tokens.d.ts +103 -0
- package/lib/dist/extraction/syntax-tokens.d.ts.map +1 -0
- package/lib/dist/extraction/syntax-tokens.js +382 -0
- package/lib/dist/extraction/syntax-tokens.js.map +1 -0
- package/lib/dist/extraction/tree-sitter-helpers.d.ts +5 -0
- package/lib/dist/extraction/tree-sitter-helpers.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.js +17 -0
- package/lib/dist/extraction/tree-sitter-helpers.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.d.ts +29 -3
- package/lib/dist/extraction/tree-sitter-types.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.d.ts +104 -17
- package/lib/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.js +943 -88
- package/lib/dist/extraction/tree-sitter.js.map +1 -1
- package/lib/dist/extraction/vue-extractor.d.ts +7 -0
- package/lib/dist/extraction/vue-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/vue-extractor.js +73 -35
- package/lib/dist/extraction/vue-extractor.js.map +1 -1
- package/lib/dist/extraction/vue-options-api.d.ts +28 -0
- package/lib/dist/extraction/vue-options-api.d.ts.map +1 -0
- package/lib/dist/extraction/vue-options-api.js +196 -0
- package/lib/dist/extraction/vue-options-api.js.map +1 -0
- package/lib/dist/extraction/wasm/tree-sitter-cobol.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-kotlin.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-scala.wasm +0 -0
- package/lib/dist/file-limits.d.ts +40 -0
- package/lib/dist/file-limits.d.ts.map +1 -0
- package/lib/dist/file-limits.js +147 -0
- package/lib/dist/file-limits.js.map +1 -0
- package/lib/dist/graph/branch-guards.d.ts +265 -0
- package/lib/dist/graph/branch-guards.d.ts.map +1 -0
- package/lib/dist/graph/branch-guards.js +2326 -0
- package/lib/dist/graph/branch-guards.js.map +1 -0
- package/lib/dist/graph/dead-code.d.ts +251 -0
- package/lib/dist/graph/dead-code.d.ts.map +1 -0
- package/lib/dist/graph/dead-code.js +776 -0
- package/lib/dist/graph/dead-code.js.map +1 -0
- package/lib/dist/graph/dynamic-boundary-report.d.ts +121 -0
- package/lib/dist/graph/dynamic-boundary-report.d.ts.map +1 -0
- package/lib/dist/graph/dynamic-boundary-report.js +283 -0
- package/lib/dist/graph/dynamic-boundary-report.js.map +1 -0
- package/lib/dist/graph/index.d.ts +4 -0
- package/lib/dist/graph/index.d.ts.map +1 -1
- package/lib/dist/graph/index.js +16 -1
- package/lib/dist/graph/index.js.map +1 -1
- package/lib/dist/graph/named-symbol-flow.d.ts +125 -0
- package/lib/dist/graph/named-symbol-flow.d.ts.map +1 -0
- package/lib/dist/graph/named-symbol-flow.js +559 -0
- package/lib/dist/graph/named-symbol-flow.js.map +1 -0
- package/lib/dist/graph/symbol-lookup.d.ts +83 -0
- package/lib/dist/graph/symbol-lookup.d.ts.map +1 -0
- package/lib/dist/graph/symbol-lookup.js +181 -0
- package/lib/dist/graph/symbol-lookup.js.map +1 -0
- package/lib/dist/graph/traversal.d.ts +9 -0
- package/lib/dist/graph/traversal.d.ts.map +1 -1
- package/lib/dist/graph/traversal.js +61 -35
- package/lib/dist/graph/traversal.js.map +1 -1
- package/lib/dist/graph/type-hierarchy.d.ts +155 -0
- package/lib/dist/graph/type-hierarchy.d.ts.map +1 -0
- package/lib/dist/graph/type-hierarchy.js +382 -0
- package/lib/dist/graph/type-hierarchy.js.map +1 -0
- package/lib/dist/index.d.ts +256 -11
- package/lib/dist/index.d.ts.map +1 -1
- package/lib/dist/index.js +402 -34
- package/lib/dist/index.js.map +1 -1
- package/lib/dist/installer/index.d.ts.map +1 -1
- package/lib/dist/installer/index.js +3 -2
- package/lib/dist/installer/index.js.map +1 -1
- package/lib/dist/installer/targets/antigravity.d.ts.map +1 -1
- package/lib/dist/installer/targets/antigravity.js +14 -2
- package/lib/dist/installer/targets/antigravity.js.map +1 -1
- package/lib/dist/installer/targets/claude.d.ts +3 -0
- package/lib/dist/installer/targets/claude.d.ts.map +1 -1
- package/lib/dist/installer/targets/claude.js +35 -7
- package/lib/dist/installer/targets/claude.js.map +1 -1
- package/lib/dist/installer/targets/codex.d.ts +2 -1
- package/lib/dist/installer/targets/codex.d.ts.map +1 -1
- package/lib/dist/installer/targets/codex.js +14 -4
- package/lib/dist/installer/targets/codex.js.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.d.ts.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.js +7 -1
- package/lib/dist/installer/targets/copilot-cli.js.map +1 -1
- package/lib/dist/installer/targets/opencode.d.ts +16 -5
- package/lib/dist/installer/targets/opencode.d.ts.map +1 -1
- package/lib/dist/installer/targets/opencode.js +73 -22
- package/lib/dist/installer/targets/opencode.js.map +1 -1
- package/lib/dist/installer/targets/shared.d.ts +14 -3
- package/lib/dist/installer/targets/shared.d.ts.map +1 -1
- package/lib/dist/installer/targets/shared.js +39 -11
- package/lib/dist/installer/targets/shared.js.map +1 -1
- package/lib/dist/installer/targets/types.d.ts +7 -0
- package/lib/dist/installer/targets/types.d.ts.map +1 -1
- package/lib/dist/mcp/answer-freshness.d.ts +10 -0
- package/lib/dist/mcp/answer-freshness.d.ts.map +1 -0
- package/lib/dist/mcp/answer-freshness.js +68 -0
- package/lib/dist/mcp/answer-freshness.js.map +1 -0
- package/lib/dist/mcp/daemon-manager.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-manager.js +16 -0
- package/lib/dist/mcp/daemon-manager.js.map +1 -1
- package/lib/dist/mcp/daemon-paths.d.ts +2 -0
- package/lib/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-paths.js +20 -5
- package/lib/dist/mcp/daemon-paths.js.map +1 -1
- package/lib/dist/mcp/daemon-registry.d.ts +11 -4
- package/lib/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-registry.js +132 -36
- package/lib/dist/mcp/daemon-registry.js.map +1 -1
- package/lib/dist/mcp/daemon.d.ts +17 -7
- package/lib/dist/mcp/daemon.d.ts.map +1 -1
- package/lib/dist/mcp/daemon.js +116 -24
- package/lib/dist/mcp/daemon.js.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.d.ts +1 -10
- package/lib/dist/mcp/dynamic-boundaries.d.ts.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.js +46 -42
- package/lib/dist/mcp/dynamic-boundaries.js.map +1 -1
- package/lib/dist/mcp/engine.d.ts +30 -9
- package/lib/dist/mcp/engine.d.ts.map +1 -1
- package/lib/dist/mcp/engine.js +158 -66
- package/lib/dist/mcp/engine.js.map +1 -1
- package/lib/dist/mcp/explore-dedup.d.ts +5 -2
- package/lib/dist/mcp/explore-dedup.d.ts.map +1 -1
- package/lib/dist/mcp/explore-dedup.js +8 -5
- package/lib/dist/mcp/explore-dedup.js.map +1 -1
- package/lib/dist/mcp/index-freshness-worker.d.ts +2 -0
- package/lib/dist/mcp/index-freshness-worker.d.ts.map +1 -0
- package/lib/dist/mcp/index-freshness-worker.js +36 -0
- package/lib/dist/mcp/index-freshness-worker.js.map +1 -0
- package/lib/dist/mcp/index-freshness.d.ts +13 -0
- package/lib/dist/mcp/index-freshness.d.ts.map +1 -0
- package/lib/dist/mcp/index-freshness.js +117 -0
- package/lib/dist/mcp/index-freshness.js.map +1 -0
- package/lib/dist/mcp/index.d.ts +3 -1
- package/lib/dist/mcp/index.d.ts.map +1 -1
- package/lib/dist/mcp/index.js +95 -11
- package/lib/dist/mcp/index.js.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts +4 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.js +11 -2
- package/lib/dist/mcp/liveness-watchdog.js.map +1 -1
- package/lib/dist/mcp/project-lifecycle.d.ts +9 -0
- package/lib/dist/mcp/project-lifecycle.d.ts.map +1 -0
- package/lib/dist/mcp/project-lifecycle.js +182 -0
- package/lib/dist/mcp/project-lifecycle.js.map +1 -0
- package/lib/dist/mcp/proxy.d.ts +9 -2
- package/lib/dist/mcp/proxy.d.ts.map +1 -1
- package/lib/dist/mcp/proxy.js +201 -32
- package/lib/dist/mcp/proxy.js.map +1 -1
- package/lib/dist/mcp/query-pool.d.ts +18 -3
- package/lib/dist/mcp/query-pool.d.ts.map +1 -1
- package/lib/dist/mcp/query-pool.js +67 -11
- package/lib/dist/mcp/query-pool.js.map +1 -1
- package/lib/dist/mcp/query-worker.js +2 -2
- package/lib/dist/mcp/query-worker.js.map +1 -1
- package/lib/dist/mcp/server-instructions.d.ts +1 -1
- package/lib/dist/mcp/server-instructions.d.ts.map +1 -1
- package/lib/dist/mcp/server-instructions.js +6 -3
- package/lib/dist/mcp/server-instructions.js.map +1 -1
- package/lib/dist/mcp/startup-handshake.d.ts +3 -1
- package/lib/dist/mcp/startup-handshake.d.ts.map +1 -1
- package/lib/dist/mcp/startup-handshake.js +10 -2
- package/lib/dist/mcp/startup-handshake.js.map +1 -1
- package/lib/dist/mcp/tools.d.ts +306 -36
- package/lib/dist/mcp/tools.d.ts.map +1 -1
- package/lib/dist/mcp/tools.js +2395 -966
- package/lib/dist/mcp/tools.js.map +1 -1
- package/lib/dist/mcp/writer-lock.d.ts +61 -0
- package/lib/dist/mcp/writer-lock.d.ts.map +1 -0
- package/lib/dist/mcp/writer-lock.js +260 -0
- package/lib/dist/mcp/writer-lock.js.map +1 -0
- package/lib/dist/resolution/alias-binding.d.ts +56 -0
- package/lib/dist/resolution/alias-binding.d.ts.map +1 -0
- package/lib/dist/resolution/alias-binding.js +143 -0
- package/lib/dist/resolution/alias-binding.js.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts +49 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.js +359 -0
- package/lib/dist/resolution/angular-template-synthesizer.js.map +1 -0
- package/lib/dist/resolution/callback-synthesizer.d.ts +23 -1
- package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/callback-synthesizer.js +460 -144
- package/lib/dist/resolution/callback-synthesizer.js.map +1 -1
- package/lib/dist/resolution/cpp-constructor.d.ts +4 -0
- package/lib/dist/resolution/cpp-constructor.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-constructor.js +123 -0
- package/lib/dist/resolution/cpp-constructor.js.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts +12 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.js +392 -0
- package/lib/dist/resolution/cpp-macro-visibility.js.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.d.ts +32 -0
- package/lib/dist/resolution/expo-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.js +189 -0
- package/lib/dist/resolution/expo-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/frameworks/angular-router.d.ts +142 -0
- package/lib/dist/resolution/frameworks/angular-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/angular-router.js +1126 -0
- package/lib/dist/resolution/frameworks/angular-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/astro.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/astro.js +32 -6
- package/lib/dist/resolution/frameworks/astro.js.map +1 -1
- package/lib/dist/resolution/frameworks/csharp.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/csharp.js +186 -24
- package/lib/dist/resolution/frameworks/csharp.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.d.ts +10 -0
- package/lib/dist/resolution/frameworks/expo-modules.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.js +95 -1
- package/lib/dist/resolution/frameworks/expo-modules.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.d.ts +195 -0
- package/lib/dist/resolution/frameworks/expo-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/expo-router.js +847 -0
- package/lib/dist/resolution/frameworks/expo-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/express.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/express.js +339 -45
- package/lib/dist/resolution/frameworks/express.js.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.js +13 -11
- package/lib/dist/resolution/frameworks/fabric.js.map +1 -1
- package/lib/dist/resolution/frameworks/go.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/go.js +11 -28
- package/lib/dist/resolution/frameworks/go.js.map +1 -1
- package/lib/dist/resolution/frameworks/index.d.ts +8 -2
- package/lib/dist/resolution/frameworks/index.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/index.js +39 -1
- package/lib/dist/resolution/frameworks/index.js.map +1 -1
- package/lib/dist/resolution/frameworks/java.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/java.js +88 -68
- package/lib/dist/resolution/frameworks/java.js.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.js +369 -26
- package/lib/dist/resolution/frameworks/laravel.js.map +1 -1
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts +35 -0
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js +45 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js.map +1 -0
- package/lib/dist/resolution/frameworks/nestjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.js +288 -55
- package/lib/dist/resolution/frameworks/nestjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/nextjs.d.ts +76 -0
- package/lib/dist/resolution/frameworks/nextjs.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/nextjs.js +329 -0
- package/lib/dist/resolution/frameworks/nextjs.js.map +1 -0
- package/lib/dist/resolution/frameworks/object-literal.d.ts +32 -0
- package/lib/dist/resolution/frameworks/object-literal.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/object-literal.js +139 -0
- package/lib/dist/resolution/frameworks/object-literal.js.map +1 -0
- package/lib/dist/resolution/frameworks/package-deps.d.ts +14 -0
- package/lib/dist/resolution/frameworks/package-deps.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/package-deps.js +78 -0
- package/lib/dist/resolution/frameworks/package-deps.js.map +1 -0
- package/lib/dist/resolution/frameworks/page-component.d.ts +20 -0
- package/lib/dist/resolution/frameworks/page-component.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/page-component.js +45 -0
- package/lib/dist/resolution/frameworks/page-component.js.map +1 -0
- package/lib/dist/resolution/frameworks/play.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/play.js +3 -1
- package/lib/dist/resolution/frameworks/play.js.map +1 -1
- package/lib/dist/resolution/frameworks/python.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/python.js +279 -26
- package/lib/dist/resolution/frameworks/python.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.d.ts +26 -0
- package/lib/dist/resolution/frameworks/react-native.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.js +153 -14
- package/lib/dist/resolution/frameworks/react-native.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.d.ts +47 -0
- package/lib/dist/resolution/frameworks/react-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/react-router.js +201 -0
- package/lib/dist/resolution/frameworks/react-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/react.d.ts +13 -2
- package/lib/dist/resolution/frameworks/react.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react.js +542 -144
- package/lib/dist/resolution/frameworks/react.js.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.js +177 -17
- package/lib/dist/resolution/frameworks/ruby.js.map +1 -1
- package/lib/dist/resolution/frameworks/rust.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/rust.js +24 -22
- package/lib/dist/resolution/frameworks/rust.js.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.js +14 -6
- package/lib/dist/resolution/frameworks/svelte.js.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts +36 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.js +156 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/swift.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/swift.js +253 -124
- package/lib/dist/resolution/frameworks/swift.js.map +1 -1
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts +84 -0
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/tanstack-router.js +437 -0
- package/lib/dist/resolution/frameworks/tanstack-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/vue-router.d.ts +98 -0
- package/lib/dist/resolution/frameworks/vue-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/vue-router.js +500 -0
- package/lib/dist/resolution/frameworks/vue-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/vue.d.ts +9 -2
- package/lib/dist/resolution/frameworks/vue.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue.js +45 -11
- package/lib/dist/resolution/frameworks/vue.js.map +1 -1
- package/lib/dist/resolution/import-resolver.d.ts +66 -0
- package/lib/dist/resolution/import-resolver.d.ts.map +1 -1
- package/lib/dist/resolution/import-resolver.js +643 -61
- package/lib/dist/resolution/import-resolver.js.map +1 -1
- package/lib/dist/resolution/index.d.ts +124 -25
- package/lib/dist/resolution/index.d.ts.map +1 -1
- package/lib/dist/resolution/index.js +769 -152
- package/lib/dist/resolution/index.js.map +1 -1
- package/lib/dist/resolution/js-builtins.d.ts +13 -0
- package/lib/dist/resolution/js-builtins.d.ts.map +1 -0
- package/lib/dist/resolution/js-builtins.js +48 -0
- package/lib/dist/resolution/js-builtins.js.map +1 -0
- package/lib/dist/resolution/name-matcher.d.ts +101 -22
- package/lib/dist/resolution/name-matcher.d.ts.map +1 -1
- package/lib/dist/resolution/name-matcher.js +8267 -287
- package/lib/dist/resolution/name-matcher.js.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.d.ts +27 -0
- package/lib/dist/resolution/next-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/next-router-synthesizer.js +113 -0
- package/lib/dist/resolution/next-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts +35 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.js +197 -0
- package/lib/dist/resolution/react-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/resolver-pool.d.ts +22 -1
- package/lib/dist/resolution/resolver-pool.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-pool.js +35 -5
- package/lib/dist/resolution/resolver-pool.js.map +1 -1
- package/lib/dist/resolution/resolver-worker.js +3 -0
- package/lib/dist/resolution/resolver-worker.js.map +1 -1
- package/lib/dist/resolution/strip-comments.d.ts +6 -0
- package/lib/dist/resolution/strip-comments.d.ts.map +1 -1
- package/lib/dist/resolution/strip-comments.js +58 -0
- package/lib/dist/resolution/strip-comments.js.map +1 -1
- package/lib/dist/resolution/sveltekit-synthesizer.d.ts +58 -0
- package/lib/dist/resolution/sveltekit-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/sveltekit-synthesizer.js +173 -0
- package/lib/dist/resolution/sveltekit-synthesizer.js.map +1 -0
- package/lib/dist/resolution/swift-type-visibility.d.ts +68 -0
- package/lib/dist/resolution/swift-type-visibility.d.ts.map +1 -0
- package/lib/dist/resolution/swift-type-visibility.js +454 -0
- package/lib/dist/resolution/swift-type-visibility.js.map +1 -0
- package/lib/dist/resolution/synth-utils.d.ts +26 -0
- package/lib/dist/resolution/synth-utils.d.ts.map +1 -0
- package/lib/dist/resolution/synth-utils.js +75 -0
- package/lib/dist/resolution/synth-utils.js.map +1 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.d.ts +31 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.js +114 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts +54 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.js +1294 -0
- package/lib/dist/resolution/tier-synthesizer.js.map +1 -0
- package/lib/dist/resolution/type-parameters.d.ts +11 -0
- package/lib/dist/resolution/type-parameters.d.ts.map +1 -0
- package/lib/dist/resolution/type-parameters.js +287 -0
- package/lib/dist/resolution/type-parameters.js.map +1 -0
- package/lib/dist/resolution/types.d.ts +105 -2
- package/lib/dist/resolution/types.d.ts.map +1 -1
- package/lib/dist/resolution/types.js +64 -0
- package/lib/dist/resolution/types.js.map +1 -1
- package/lib/dist/resolution/vue-router-synthesizer.d.ts +30 -0
- package/lib/dist/resolution/vue-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/vue-router-synthesizer.js +115 -0
- package/lib/dist/resolution/vue-router-synthesizer.js.map +1 -0
- package/lib/dist/search/query-paths.d.ts +50 -1
- package/lib/dist/search/query-paths.d.ts.map +1 -1
- package/lib/dist/search/query-paths.js +227 -12
- package/lib/dist/search/query-paths.js.map +1 -1
- package/lib/dist/search/query-utils.d.ts +15 -0
- package/lib/dist/search/query-utils.d.ts.map +1 -1
- package/lib/dist/search/query-utils.js +35 -7
- package/lib/dist/search/query-utils.js.map +1 -1
- package/lib/dist/sync/watch-policy.d.ts +14 -0
- package/lib/dist/sync/watch-policy.d.ts.map +1 -1
- package/lib/dist/sync/watch-policy.js +19 -0
- package/lib/dist/sync/watch-policy.js.map +1 -1
- package/lib/dist/sync/watcher.d.ts +52 -35
- package/lib/dist/sync/watcher.d.ts.map +1 -1
- package/lib/dist/sync/watcher.js +236 -100
- package/lib/dist/sync/watcher.js.map +1 -1
- package/lib/dist/sync/worktree.d.ts +22 -0
- package/lib/dist/sync/worktree.d.ts.map +1 -1
- package/lib/dist/sync/worktree.js +54 -0
- package/lib/dist/sync/worktree.js.map +1 -1
- package/lib/dist/telemetry/index.d.ts +4 -2
- package/lib/dist/telemetry/index.d.ts.map +1 -1
- package/lib/dist/telemetry/index.js +159 -66
- package/lib/dist/telemetry/index.js.map +1 -1
- package/lib/dist/types.d.ts +1 -1
- package/lib/dist/types.d.ts.map +1 -1
- package/lib/dist/types.js +1 -0
- package/lib/dist/types.js.map +1 -1
- package/lib/dist/ui-server/api/deadcode.d.ts +84 -0
- package/lib/dist/ui-server/api/deadcode.d.ts.map +1 -0
- package/lib/dist/ui-server/api/deadcode.js +136 -0
- package/lib/dist/ui-server/api/deadcode.js.map +1 -0
- package/lib/dist/ui-server/api/effects.d.ts +94 -0
- package/lib/dist/ui-server/api/effects.d.ts.map +1 -0
- package/lib/dist/ui-server/api/effects.js +527 -0
- package/lib/dist/ui-server/api/effects.js.map +1 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts +92 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts.map +1 -0
- package/lib/dist/ui-server/api/entrypoints.js +364 -0
- package/lib/dist/ui-server/api/entrypoints.js.map +1 -0
- package/lib/dist/ui-server/api/events.d.ts +183 -0
- package/lib/dist/ui-server/api/events.d.ts.map +1 -0
- package/lib/dist/ui-server/api/events.js +430 -0
- package/lib/dist/ui-server/api/events.js.map +1 -0
- package/lib/dist/ui-server/api/file.d.ts +66 -0
- package/lib/dist/ui-server/api/file.d.ts.map +1 -0
- package/lib/dist/ui-server/api/file.js +235 -0
- package/lib/dist/ui-server/api/file.js.map +1 -0
- package/lib/dist/ui-server/api/filecode.d.ts +126 -0
- package/lib/dist/ui-server/api/filecode.d.ts.map +1 -0
- package/lib/dist/ui-server/api/filecode.js +205 -0
- package/lib/dist/ui-server/api/filecode.js.map +1 -0
- package/lib/dist/ui-server/api/flow.d.ts +226 -0
- package/lib/dist/ui-server/api/flow.d.ts.map +1 -0
- package/lib/dist/ui-server/api/flow.js +612 -0
- package/lib/dist/ui-server/api/flow.js.map +1 -0
- package/lib/dist/ui-server/api/hierarchy.d.ts +81 -0
- package/lib/dist/ui-server/api/hierarchy.d.ts.map +1 -0
- package/lib/dist/ui-server/api/hierarchy.js +92 -0
- package/lib/dist/ui-server/api/hierarchy.js.map +1 -0
- package/lib/dist/ui-server/api/index.d.ts +90 -0
- package/lib/dist/ui-server/api/index.d.ts.map +1 -0
- package/lib/dist/ui-server/api/index.js +332 -0
- package/lib/dist/ui-server/api/index.js.map +1 -0
- package/lib/dist/ui-server/api/map.d.ts +273 -0
- package/lib/dist/ui-server/api/map.d.ts.map +1 -0
- package/lib/dist/ui-server/api/map.js +781 -0
- package/lib/dist/ui-server/api/map.js.map +1 -0
- package/lib/dist/ui-server/api/node.d.ts +81 -0
- package/lib/dist/ui-server/api/node.d.ts.map +1 -0
- package/lib/dist/ui-server/api/node.js +394 -0
- package/lib/dist/ui-server/api/node.js.map +1 -0
- package/lib/dist/ui-server/api/nodes.d.ts +25 -0
- package/lib/dist/ui-server/api/nodes.d.ts.map +1 -0
- package/lib/dist/ui-server/api/nodes.js +45 -0
- package/lib/dist/ui-server/api/nodes.js.map +1 -0
- package/lib/dist/ui-server/api/program.d.ts +139 -0
- package/lib/dist/ui-server/api/program.d.ts.map +1 -0
- package/lib/dist/ui-server/api/program.js +315 -0
- package/lib/dist/ui-server/api/program.js.map +1 -0
- package/lib/dist/ui-server/api/respond.d.ts +76 -0
- package/lib/dist/ui-server/api/respond.d.ts.map +1 -0
- package/lib/dist/ui-server/api/respond.js +186 -0
- package/lib/dist/ui-server/api/respond.js.map +1 -0
- package/lib/dist/ui-server/api/route-roots.d.ts +45 -0
- package/lib/dist/ui-server/api/route-roots.d.ts.map +1 -0
- package/lib/dist/ui-server/api/route-roots.js +117 -0
- package/lib/dist/ui-server/api/route-roots.js.map +1 -0
- package/lib/dist/ui-server/api/routes.d.ts +61 -0
- package/lib/dist/ui-server/api/routes.d.ts.map +1 -0
- package/lib/dist/ui-server/api/routes.js +164 -0
- package/lib/dist/ui-server/api/routes.js.map +1 -0
- package/lib/dist/ui-server/api/screens.d.ts +117 -0
- package/lib/dist/ui-server/api/screens.d.ts.map +1 -0
- package/lib/dist/ui-server/api/screens.js +626 -0
- package/lib/dist/ui-server/api/screens.js.map +1 -0
- package/lib/dist/ui-server/api/search.d.ts +29 -0
- package/lib/dist/ui-server/api/search.d.ts.map +1 -0
- package/lib/dist/ui-server/api/search.js +232 -0
- package/lib/dist/ui-server/api/search.js.map +1 -0
- package/lib/dist/ui-server/api/session.d.ts +52 -0
- package/lib/dist/ui-server/api/session.d.ts.map +1 -0
- package/lib/dist/ui-server/api/session.js +196 -0
- package/lib/dist/ui-server/api/session.js.map +1 -0
- package/lib/dist/ui-server/api/source.d.ts +200 -0
- package/lib/dist/ui-server/api/source.d.ts.map +1 -0
- package/lib/dist/ui-server/api/source.js +422 -0
- package/lib/dist/ui-server/api/source.js.map +1 -0
- package/lib/dist/ui-server/api/stats.d.ts +27 -0
- package/lib/dist/ui-server/api/stats.d.ts.map +1 -0
- package/lib/dist/ui-server/api/stats.js +164 -0
- package/lib/dist/ui-server/api/stats.js.map +1 -0
- package/lib/dist/ui-server/api/steps.d.ts +274 -0
- package/lib/dist/ui-server/api/steps.d.ts.map +1 -0
- package/lib/dist/ui-server/api/steps.js +1554 -0
- package/lib/dist/ui-server/api/steps.js.map +1 -0
- package/lib/dist/ui-server/api/trail-store.d.ts +142 -0
- package/lib/dist/ui-server/api/trail-store.d.ts.map +1 -0
- package/lib/dist/ui-server/api/trail-store.js +323 -0
- package/lib/dist/ui-server/api/trail-store.js.map +1 -0
- package/lib/dist/ui-server/api/trails.d.ts +163 -0
- package/lib/dist/ui-server/api/trails.d.ts.map +1 -0
- package/lib/dist/ui-server/api/trails.js +370 -0
- package/lib/dist/ui-server/api/trails.js.map +1 -0
- package/lib/dist/ui-server/api/when.d.ts +133 -0
- package/lib/dist/ui-server/api/when.d.ts.map +1 -0
- package/lib/dist/ui-server/api/when.js +275 -0
- package/lib/dist/ui-server/api/when.js.map +1 -0
- package/lib/dist/ui-server/api/wire.d.ts +179 -0
- package/lib/dist/ui-server/api/wire.d.ts.map +1 -0
- package/lib/dist/ui-server/api/wire.js +231 -0
- package/lib/dist/ui-server/api/wire.js.map +1 -0
- package/lib/dist/ui-server/assets.d.ts +40 -0
- package/lib/dist/ui-server/assets.d.ts.map +1 -0
- package/lib/dist/ui-server/assets.js +110 -0
- package/lib/dist/ui-server/assets.js.map +1 -0
- package/lib/dist/ui-server/constants.d.ts +32 -0
- package/lib/dist/ui-server/constants.d.ts.map +1 -0
- package/lib/dist/ui-server/constants.js +35 -0
- package/lib/dist/ui-server/constants.js.map +1 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts +28 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js +139 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js.map +1 -0
- package/lib/dist/ui-server/highlight/index.d.ts +113 -0
- package/lib/dist/ui-server/highlight/index.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/index.js +312 -0
- package/lib/dist/ui-server/highlight/index.js.map +1 -0
- package/lib/dist/ui-server/highlight/languages.d.ts +36 -0
- package/lib/dist/ui-server/highlight/languages.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/languages.js +50 -0
- package/lib/dist/ui-server/highlight/languages.js.map +1 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts +7 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js +20 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js.map +1 -0
- package/lib/dist/ui-server/index.d.ts +92 -0
- package/lib/dist/ui-server/index.d.ts.map +1 -0
- package/lib/dist/ui-server/index.js +399 -0
- package/lib/dist/ui-server/index.js.map +1 -0
- package/lib/dist/ui-server/open-browser.d.ts +31 -0
- package/lib/dist/ui-server/open-browser.d.ts.map +1 -0
- package/lib/dist/ui-server/open-browser.js +79 -0
- package/lib/dist/ui-server/open-browser.js.map +1 -0
- package/lib/dist/ui-server/security.d.ts +127 -0
- package/lib/dist/ui-server/security.d.ts.map +1 -0
- package/lib/dist/ui-server/security.js +332 -0
- package/lib/dist/ui-server/security.js.map +1 -0
- package/lib/dist/ui-server/static.d.ts +45 -0
- package/lib/dist/ui-server/static.d.ts.map +1 -0
- package/lib/dist/ui-server/static.js +165 -0
- package/lib/dist/ui-server/static.js.map +1 -0
- package/lib/dist/upgrade/index.d.ts +43 -5
- package/lib/dist/upgrade/index.d.ts.map +1 -1
- package/lib/dist/upgrade/index.js +157 -35
- package/lib/dist/upgrade/index.js.map +1 -1
- package/lib/dist/utils.d.ts +14 -2
- package/lib/dist/utils.d.ts.map +1 -1
- package/lib/dist/utils.js +25 -10
- package/lib/dist/utils.js.map +1 -1
- package/lib/dist/viewer/assets/archivo-latin-ext-wght-normal-C4zznr8T.woff2 +0 -0
- package/lib/dist/viewer/assets/archivo-latin-wght-normal-E0tuGl4L.woff2 +0 -0
- package/lib/dist/viewer/assets/archivo-vietnamese-wght-normal-XAtsl5Q_.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-italic-2syK4fUT.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-italic-CBJ8pzag.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-600-normal-CTOM6hUh.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-600-normal-fLZuRloM.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-italic-B4oTjJdl.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-italic-CBjNughH.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-600-normal-9HEixskS.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-600-normal-V-xxqcpd.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-italic-66oory27.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-italic-BqAiT5Ww.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-italic-B7_fu1kp.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-italic-Bg0ZHwF4.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-italic-D6eaYXMU.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-italic-DRuN92E5.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-600-normal-D2EvbN8M.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-600-normal-iLQfcSjf.woff +0 -0
- package/lib/dist/viewer/assets/index-BSGpxBr9.js +99 -0
- package/lib/dist/viewer/assets/index-CF9yvio6.css +1 -0
- package/lib/dist/viewer/index.html +16 -0
- package/lib/dist/worker-teardown.d.ts +48 -0
- package/lib/dist/worker-teardown.d.ts.map +1 -0
- package/lib/dist/worker-teardown.js +100 -0
- package/lib/dist/worker-teardown.js.map +1 -0
- package/lib/kernel/codegraph-kernel.node +2 -2
- package/lib/node_modules/.package-lock.json +4 -4
- package/lib/node_modules/picomatch/README.md +56 -51
- package/lib/node_modules/picomatch/lib/constants.js +4 -0
- package/lib/node_modules/picomatch/lib/parse.js +341 -1
- package/lib/node_modules/picomatch/lib/picomatch.js +25 -5
- package/lib/node_modules/picomatch/lib/scan.js +30 -18
- package/lib/node_modules/picomatch/package.json +4 -4
- package/lib/package.json +9 -2
- package/package.json +1 -1
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Vue Router — routes declared in a config object, navigation often by NAME.
|
|
4
|
+
*
|
|
5
|
+
* `frameworks/vue.ts` reads Nuxt's file convention (`pages/about.vue` is
|
|
6
|
+
* `/about`), which is half the Vue world. The other half — every plain Vue 3
|
|
7
|
+
* app — declares its routes in one object:
|
|
8
|
+
*
|
|
9
|
+
* const router = createRouter({
|
|
10
|
+
* history: createWebHistory(),
|
|
11
|
+
* routes: [
|
|
12
|
+
* { name: 'login', path: '/login', component: () => import('@/views/Login') },
|
|
13
|
+
* { name: 'profile', path: '/profile/:username', component: Profile },
|
|
14
|
+
* ],
|
|
15
|
+
* })
|
|
16
|
+
*
|
|
17
|
+
* `extract()` reads that array into one `route` node per entry, named by its
|
|
18
|
+
* path the way every other framework's routes are, bound to the component it
|
|
19
|
+
* names — an identifier, or the last segment of a lazy `() => import(…)`,
|
|
20
|
+
* which is the `.vue` file's own name.
|
|
21
|
+
*
|
|
22
|
+
* **Navigation is usually a name, not a path.** This is what makes Vue
|
|
23
|
+
* different from React Router and Next.js, where the destination is always a
|
|
24
|
+
* URL:
|
|
25
|
+
*
|
|
26
|
+
* router.push({ name: 'login' }) // by name — the common idiom
|
|
27
|
+
* router.push('/') // by path
|
|
28
|
+
* router.push({ path: '/', query }) // by path, with extras
|
|
29
|
+
* navigateTo('/dashboard') // Nuxt
|
|
30
|
+
*
|
|
31
|
+
* So `resolve()` reads the argument as a name FIRST and falls back to the
|
|
32
|
+
* path readers every other framework shares. A route's name lives only in the
|
|
33
|
+
* source — node metadata is not persisted — so the table re-reads the config
|
|
34
|
+
* files its own route nodes came from, with the same parser `extract` used.
|
|
35
|
+
* `<router-link to>` / `<RouterLink to>` / `<NuxtLink to>` are markup rather
|
|
36
|
+
* than calls, so a synthesizer reads them (`vue-router-synthesizer.ts`).
|
|
37
|
+
*
|
|
38
|
+
* Left unresolved rather than guessed: a computed destination
|
|
39
|
+
* (`router.push(postAuthRoute.value)`), a name or path nothing declares, and
|
|
40
|
+
* a nested `children:` route, whose path is relative to its parent.
|
|
41
|
+
*/
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.vueRouterResolver = void 0;
|
|
44
|
+
exports.parseVueRoutes = parseVueRoutes;
|
|
45
|
+
exports.vueRouteTable = vueRouteTable;
|
|
46
|
+
exports.vueNavVerb = vueNavVerb;
|
|
47
|
+
exports.routeNameInExpression = routeNameInExpression;
|
|
48
|
+
exports.parseVuePathObject = parseVuePathObject;
|
|
49
|
+
const strip_comments_1 = require("../strip-comments");
|
|
50
|
+
const object_literal_1 = require("./object-literal");
|
|
51
|
+
const package_deps_1 = require("./package-deps");
|
|
52
|
+
const expo_router_1 = require("./expo-router");
|
|
53
|
+
const nextjs_1 = require("./nextjs");
|
|
54
|
+
const import_resolver_1 = require("../import-resolver");
|
|
55
|
+
const ROUTE_LANGUAGES = ['typescript', 'javascript', 'vue'];
|
|
56
|
+
/** A file that builds a router — the cheap gate before parsing anything. */
|
|
57
|
+
const ROUTER_FACTORY = /\b(?:createRouter|createWebHistory|createWebHashHistory|createMemoryHistory)\s*\(|\bnew\s+(?:VueRouter|Router)\s*\(/;
|
|
58
|
+
/** `routes: [` / `routes = [` — the array itself, for a file that only holds the table. */
|
|
59
|
+
const ROUTES_ARRAY = /\broutes\s*[:=]\s*\[/;
|
|
60
|
+
/** A file that imports from `vue-router`. */
|
|
61
|
+
const VUE_ROUTER_IMPORT = /\bfrom\s*['"]vue-router['"]/;
|
|
62
|
+
/** A file in a `router/` or `routes/` directory, or named `router.js` / `routes.ts`. */
|
|
63
|
+
const ROUTE_FILE_PATH = /(?:^|\/)(?:router|routes)(?:\/|\.[cm]?[jt]s$)/;
|
|
64
|
+
/**
|
|
65
|
+
* Where a routes table starts: a `routes: [` field, or a declaration named
|
|
66
|
+
* for what it holds — `export const constantRoutes = [`, `const routes:
|
|
67
|
+
* RouteRecordRaw[] = [`, vue-element-admin's per-module `const tableRouter = {`.
|
|
68
|
+
*/
|
|
69
|
+
const TABLE_OPENERS = /\broutes\s*[:=]\s*\[|\b(?:const|let|var)\s+(?:[A-Za-z_$][\w$]*)?(?:[Rr]outes?|[Rr]outers?)\s*(?::[^=;\n]*)?=\s*([[{])/g;
|
|
70
|
+
/**
|
|
71
|
+
* Every route a file's routes tables declare.
|
|
72
|
+
*
|
|
73
|
+
* The tables are walked, not pattern-matched: a `name` is written ABOVE the
|
|
74
|
+
* `path` it belongs to, so reading fields out of a window around each `path`
|
|
75
|
+
* hands an entry its PREDECESSOR's name — vue-realworld's `login` came out as
|
|
76
|
+
* `/register`, silently, for every route in the file. So each `{…}` is
|
|
77
|
+
* matched as a unit and only its own depth-1 fields are read; a `meta: {…}`
|
|
78
|
+
* and a lazy `component: () => import(…)` are stepped over rather than
|
|
79
|
+
* searched, and `children` are walked in turn with the parent's path in front
|
|
80
|
+
* of theirs.
|
|
81
|
+
*
|
|
82
|
+
* A route with children is a layout: its component renders the outlet they
|
|
83
|
+
* fill. It is a screen of its own only when no child claims its address and
|
|
84
|
+
* it does not `redirect` elsewhere — vue-element-admin's `{ path: '/table',
|
|
85
|
+
* component: Layout, redirect: '/table/complex-table', children }` is the
|
|
86
|
+
* frame around four tables, not a fifth page.
|
|
87
|
+
*
|
|
88
|
+
* A top-level entry whose path does not start with `/` (`*`, a catch-all) is
|
|
89
|
+
* not an address. A table is read from a file that builds a router, imports
|
|
90
|
+
* `vue-router`, or lives in a `router/` directory.
|
|
91
|
+
*/
|
|
92
|
+
function parseVueRoutes(content, filePath = '') {
|
|
93
|
+
const routeFile = ROUTER_FACTORY.test(content) || ROUTES_ARRAY.test(content) || VUE_ROUTER_IMPORT.test(content) || ROUTE_FILE_PATH.test(filePath);
|
|
94
|
+
if (!routeFile)
|
|
95
|
+
return [];
|
|
96
|
+
const safe = (0, strip_comments_1.stripCommentsForRegex)(content, 'typescript');
|
|
97
|
+
const out = [];
|
|
98
|
+
const seen = new Set();
|
|
99
|
+
const walked = new Set();
|
|
100
|
+
const lineOf = (at) => safe.slice(0, at).split('\n').length;
|
|
101
|
+
const visit = (obj, prefix, layouts, depth) => {
|
|
102
|
+
const fields = (0, object_literal_1.readFields)(safe, obj.start, obj.end);
|
|
103
|
+
const pathField = fields.get('path');
|
|
104
|
+
if (!pathField)
|
|
105
|
+
return;
|
|
106
|
+
const own = (0, expo_router_1.readStringAt)(pathField.text.trimStart(), 0);
|
|
107
|
+
if (own === null)
|
|
108
|
+
return;
|
|
109
|
+
let path;
|
|
110
|
+
if (own.startsWith('/'))
|
|
111
|
+
path = own;
|
|
112
|
+
else if (prefix === null)
|
|
113
|
+
return; // a top-level `*` or relative path is no address
|
|
114
|
+
else
|
|
115
|
+
path = own === '' ? prefix : `${prefix === '/' ? '' : prefix}/${own}`;
|
|
116
|
+
if (path.length > 1)
|
|
117
|
+
path = path.replace(/\/+$/, '');
|
|
118
|
+
const componentField = fields.get('component') ?? fields.get('components');
|
|
119
|
+
const component = componentField ? componentOf(componentField.text) : null;
|
|
120
|
+
const children = fields.get('children');
|
|
121
|
+
let childClaimsAddress = false;
|
|
122
|
+
if (children && depth < 12) {
|
|
123
|
+
const open = safe.indexOf('[', children.at);
|
|
124
|
+
const close = open < 0 ? -1 : (0, object_literal_1.matchBracket)(safe, open);
|
|
125
|
+
if (open >= 0 && close > open) {
|
|
126
|
+
const inner = component ? [...layouts, component] : layouts;
|
|
127
|
+
for (const child of (0, object_literal_1.topLevelObjects)(safe, open + 1, close)) {
|
|
128
|
+
const childPath = (0, object_literal_1.readFields)(safe, child.start, child.end).get('path');
|
|
129
|
+
const childOwn = childPath ? (0, expo_router_1.readStringAt)(childPath.text.trimStart(), 0) : null;
|
|
130
|
+
if (childOwn === '' || childOwn === path)
|
|
131
|
+
childClaimsAddress = true;
|
|
132
|
+
visit(child, path, inner, depth + 1);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (!component)
|
|
137
|
+
return;
|
|
138
|
+
if (children && (childClaimsAddress || fields.has('redirect')))
|
|
139
|
+
return;
|
|
140
|
+
const nameField = fields.get('name');
|
|
141
|
+
const name = nameField ? (0, expo_router_1.readStringAt)(nameField.text.trimStart(), 0) : null;
|
|
142
|
+
const key = `${path} ${name ?? ''}`;
|
|
143
|
+
if (seen.has(key))
|
|
144
|
+
return;
|
|
145
|
+
seen.add(key);
|
|
146
|
+
out.push({ path, name, component: component.component, spec: component.spec, layouts: [...layouts], line: lineOf(pathField.at) });
|
|
147
|
+
};
|
|
148
|
+
TABLE_OPENERS.lastIndex = 0;
|
|
149
|
+
let m;
|
|
150
|
+
while ((m = TABLE_OPENERS.exec(safe)) !== null) {
|
|
151
|
+
const open = m.index + m[0].length - 1;
|
|
152
|
+
const close = (0, object_literal_1.matchBracket)(safe, open);
|
|
153
|
+
if (close < 0 || walked.has(open))
|
|
154
|
+
continue;
|
|
155
|
+
walked.add(open);
|
|
156
|
+
if (safe[open] === '{')
|
|
157
|
+
visit({ start: open, end: close }, null, [], 0);
|
|
158
|
+
else
|
|
159
|
+
for (const obj of (0, object_literal_1.topLevelObjects)(safe, open + 1, close))
|
|
160
|
+
visit(obj, null, [], 0);
|
|
161
|
+
TABLE_OPENERS.lastIndex = close;
|
|
162
|
+
}
|
|
163
|
+
return out;
|
|
164
|
+
}
|
|
165
|
+
/** The component an entry names: an identifier, or the file a lazy import names. */
|
|
166
|
+
function componentOf(value) {
|
|
167
|
+
const lazy = /\bimport\s*\(\s*['"`]([^'"`]+)['"`]/.exec(value);
|
|
168
|
+
if (lazy) {
|
|
169
|
+
const tail = (lazy[1].split('/').pop() ?? '').replace(/\.\w+$/, '');
|
|
170
|
+
return tail ? { component: tail, spec: lazy[1] } : null;
|
|
171
|
+
}
|
|
172
|
+
const ident = /^\s*([A-Z][A-Za-z0-9_]*)\s*$/.exec(value);
|
|
173
|
+
return ident ? { component: ident[1], spec: null } : null;
|
|
174
|
+
}
|
|
175
|
+
function languageForFile(filePath) {
|
|
176
|
+
if (filePath.endsWith('.vue'))
|
|
177
|
+
return 'vue';
|
|
178
|
+
if (/\.(?:ts|mts|cts)$/.test(filePath))
|
|
179
|
+
return 'typescript';
|
|
180
|
+
return 'javascript';
|
|
181
|
+
}
|
|
182
|
+
/** The id a config-declared route carries — a verbatim reconstruction, so the table can recognise its own. */
|
|
183
|
+
function routeId(filePath, line, path) {
|
|
184
|
+
return `route:${filePath}:${line}:${path}:vue`;
|
|
185
|
+
}
|
|
186
|
+
/** True for a route node this resolver emitted, and no other. */
|
|
187
|
+
function isVueConfigRoute(node) {
|
|
188
|
+
return node.id === routeId(node.filePath, node.startLine, node.name);
|
|
189
|
+
}
|
|
190
|
+
/** True for a Nuxt page route `frameworks/vue.ts` emitted. */
|
|
191
|
+
function isNuxtPage(node) {
|
|
192
|
+
return (node.language === 'vue' &&
|
|
193
|
+
`/${node.filePath}`.includes('/pages/') &&
|
|
194
|
+
node.id === `route:${node.filePath}:${node.name}:1`);
|
|
195
|
+
}
|
|
196
|
+
const tables = new WeakMap();
|
|
197
|
+
function vueRouteTable(context) {
|
|
198
|
+
const all = context.getNodesByKind('route');
|
|
199
|
+
const cached = tables.get(context);
|
|
200
|
+
if (cached && cached.source === all)
|
|
201
|
+
return cached;
|
|
202
|
+
const byRoot = new Map();
|
|
203
|
+
const configFiles = new Map();
|
|
204
|
+
const tableAt = (root) => {
|
|
205
|
+
let t = byRoot.get(root);
|
|
206
|
+
if (!t)
|
|
207
|
+
byRoot.set(root, (t = { source: all, exact: new Map(), dynamic: [], byName: new Map() }));
|
|
208
|
+
return t;
|
|
209
|
+
};
|
|
210
|
+
for (const node of all) {
|
|
211
|
+
const config = isVueConfigRoute(node);
|
|
212
|
+
if (!config && !isNuxtPage(node))
|
|
213
|
+
continue;
|
|
214
|
+
if (!node.name.startsWith('/'))
|
|
215
|
+
continue;
|
|
216
|
+
const root = (0, expo_router_1.appRootFor)(node.filePath);
|
|
217
|
+
(0, expo_router_1.addRouteTo)(tableAt(root), node.name, node);
|
|
218
|
+
if (config) {
|
|
219
|
+
const group = configFiles.get(node.filePath);
|
|
220
|
+
if (group)
|
|
221
|
+
group.nodes.push(node);
|
|
222
|
+
else
|
|
223
|
+
configFiles.set(node.filePath, { root, nodes: [node] });
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
// A route's NAME is not persisted on the node, so the config files its own
|
|
227
|
+
// route nodes came from are re-read with the same parser `extract` used.
|
|
228
|
+
for (const [filePath, group] of configFiles) {
|
|
229
|
+
const content = context.readFile(filePath);
|
|
230
|
+
if (!content)
|
|
231
|
+
continue;
|
|
232
|
+
const byName = tableAt(group.root).byName;
|
|
233
|
+
const byPath = new Map(group.nodes.map((n) => [n.name, n]));
|
|
234
|
+
for (const entry of parseVueRoutes(content, filePath)) {
|
|
235
|
+
if (!entry.name)
|
|
236
|
+
continue;
|
|
237
|
+
const node = byPath.get(entry.path);
|
|
238
|
+
if (node && !byName.has(entry.name))
|
|
239
|
+
byName.set(entry.name, node);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
const table = { source: all, byRoot };
|
|
243
|
+
tables.set(context, table);
|
|
244
|
+
return table;
|
|
245
|
+
}
|
|
246
|
+
// =============================================================================
|
|
247
|
+
// Navigation calls
|
|
248
|
+
// =============================================================================
|
|
249
|
+
/**
|
|
250
|
+
* `router.push` / `.replace` (the Composition API), `this.$router.push` /
|
|
251
|
+
* `$router.push` (the Options API and templates), and Nuxt's `navigateTo`.
|
|
252
|
+
*
|
|
253
|
+
* As everywhere else, `push` and `replace` need a receiver that names a
|
|
254
|
+
* router: an unqualified `push` is an array's.
|
|
255
|
+
*/
|
|
256
|
+
const NAV_CALL = /^(?:this\.)?\$?router\.(?:push|replace)$|^navigateTo$/;
|
|
257
|
+
/** The verb a navigation call name stands for, or null. */
|
|
258
|
+
function vueNavVerb(name) {
|
|
259
|
+
if (!NAV_CALL.test(name))
|
|
260
|
+
return null;
|
|
261
|
+
const dot = name.lastIndexOf('.');
|
|
262
|
+
return dot < 0 ? name : name.slice(dot + 1);
|
|
263
|
+
}
|
|
264
|
+
/** The route name in a `{ name: 'login' }` destination, or null for anything else. */
|
|
265
|
+
function routeNameInExpression(expr) {
|
|
266
|
+
const args = expr.trim();
|
|
267
|
+
if (args[0] !== '{')
|
|
268
|
+
return null;
|
|
269
|
+
const key = /\bname\s*:\s*['"`]/.exec(args);
|
|
270
|
+
if (!key)
|
|
271
|
+
return null;
|
|
272
|
+
return (0, expo_router_1.readStringAt)(args, key.index + key[0].length - 1);
|
|
273
|
+
}
|
|
274
|
+
/** `{ path: '/', query }` — Vue's object destination, whose key is `path`, not `pathname`. */
|
|
275
|
+
function parseVuePathObject(expr) {
|
|
276
|
+
const args = expr.trim();
|
|
277
|
+
if (args[0] !== '{')
|
|
278
|
+
return null;
|
|
279
|
+
const key = /\bpath\s*:\s*['"`]/.exec(args);
|
|
280
|
+
if (!key)
|
|
281
|
+
return null;
|
|
282
|
+
return (0, expo_router_1.toHref)((0, expo_router_1.readStringAt)(args, key.index + key[0].length - 1));
|
|
283
|
+
}
|
|
284
|
+
/** True for the `calls` ref this resolver's `extract` emitted from a route to its component. */
|
|
285
|
+
function isVueRouteRef(ref) {
|
|
286
|
+
return ref.fromNodeId.startsWith('route:') && ref.fromNodeId.endsWith(':vue');
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* The component a route names — a `.vue` file's own component node, or a
|
|
290
|
+
* component declared in a plain script. Nearest app root first; an ambiguous
|
|
291
|
+
* name resolves to nothing rather than to an arbitrary one of several.
|
|
292
|
+
*/
|
|
293
|
+
function vueComponentNamed(name, fromFile, context) {
|
|
294
|
+
const candidates = context
|
|
295
|
+
.getNodesByName(name)
|
|
296
|
+
.filter((n) => n.kind === 'component' || (n.kind === 'function' && n.filePath.endsWith('.vue')));
|
|
297
|
+
if (candidates.length === 0)
|
|
298
|
+
return null;
|
|
299
|
+
if (candidates.length === 1)
|
|
300
|
+
return candidates[0];
|
|
301
|
+
const root = (0, expo_router_1.appRootFor)(fromFile);
|
|
302
|
+
const near = candidates.filter((n) => n.filePath.startsWith(root));
|
|
303
|
+
return near.length === 1 ? near[0] : null;
|
|
304
|
+
}
|
|
305
|
+
/** `import:@/views/Login#Login` for a lazy component, the bare name for an identifier. */
|
|
306
|
+
function componentRefName(component, spec) {
|
|
307
|
+
return spec === null ? component : `import:${spec}#${component}`;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* The component a route's reference names. A lazy import names a FILE, and
|
|
311
|
+
* the component is that file's: vue-element-admin's views are all
|
|
312
|
+
* `…/index.vue`, so the name alone (`index`) fits dozens. The import is
|
|
313
|
+
* resolved as the router file would resolve it, or — through an alias the
|
|
314
|
+
* resolver doesn't know, like vben's `#/views/…` — by the one file in the
|
|
315
|
+
* same app whose path ends the way the specifier does.
|
|
316
|
+
*/
|
|
317
|
+
function routeComponent(encoded, fromFile, context) {
|
|
318
|
+
const lazy = /^import:(.+)#([^#]+)$/.exec(encoded);
|
|
319
|
+
// `component: Layout` — the file's own import of it says which file that is
|
|
320
|
+
// (`import Layout from '@/layout'`, a `layout/index.vue`).
|
|
321
|
+
const spec = lazy ? lazy[1] : (context.getImportMappings(fromFile, languageForFile(fromFile)).find((m) => m.localName === encoded)?.source ?? null);
|
|
322
|
+
const name = lazy ? lazy[2] : encoded;
|
|
323
|
+
if (spec !== null) {
|
|
324
|
+
const file = (0, import_resolver_1.resolveImportPath)(spec, fromFile, 'vue', context) ?? fileBySuffix(spec, fromFile, context);
|
|
325
|
+
const component = file ? componentInFile(file, context) : null;
|
|
326
|
+
if (component)
|
|
327
|
+
return component;
|
|
328
|
+
}
|
|
329
|
+
return name === 'index' ? null : vueComponentNamed(name, fromFile, context);
|
|
330
|
+
}
|
|
331
|
+
function componentInFile(file, context) {
|
|
332
|
+
const nodes = context.getNodesInFile(file);
|
|
333
|
+
return nodes.find((n) => n.kind === 'component') ?? nodes.find((n) => n.kind === 'function' && /^[A-Z]/.test(n.name)) ?? null;
|
|
334
|
+
}
|
|
335
|
+
const COMPONENT_EXTENSIONS = ['', '.vue', '.tsx', '.jsx', '.ts', '.js', '/index.vue', '/index.tsx', '/index.ts', '/index.js'];
|
|
336
|
+
/** The one file under `fromFile`'s app whose path ends like `spec` minus its alias (`#/`, `@/`, `~/`). */
|
|
337
|
+
function fileBySuffix(spec, fromFile, context) {
|
|
338
|
+
const rest = spec.replace(/^(?:[@#~$][\w-]*\/|\.{1,2}\/)+/, '');
|
|
339
|
+
if (rest === spec || rest.length === 0)
|
|
340
|
+
return null;
|
|
341
|
+
const root = (0, expo_router_1.appRootFor)(fromFile);
|
|
342
|
+
const hits = new Set();
|
|
343
|
+
for (const file of context.getAllFiles()) {
|
|
344
|
+
if (!file.startsWith(root))
|
|
345
|
+
continue;
|
|
346
|
+
for (const ext of COMPONENT_EXTENSIONS) {
|
|
347
|
+
const tail = rest + ext;
|
|
348
|
+
if (file === tail || file.endsWith('/' + tail))
|
|
349
|
+
hits.add(file);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
return hits.size === 1 ? [...hits][0] : null;
|
|
353
|
+
}
|
|
354
|
+
// =============================================================================
|
|
355
|
+
// The resolver
|
|
356
|
+
// =============================================================================
|
|
357
|
+
exports.vueRouterResolver = {
|
|
358
|
+
name: 'vue-router',
|
|
359
|
+
languages: [...ROUTE_LANGUAGES],
|
|
360
|
+
appDependencies: ['vue-router', 'nuxt', 'nuxt3'],
|
|
361
|
+
detect(context) {
|
|
362
|
+
return (0, package_deps_1.dependsOn)(context, 'vue-router', 'nuxt', 'nuxt3');
|
|
363
|
+
},
|
|
364
|
+
claimsReference(name) {
|
|
365
|
+
return NAV_CALL.test(name) || name.startsWith('import:') || name.startsWith('layout:');
|
|
366
|
+
},
|
|
367
|
+
extract(filePath, content) {
|
|
368
|
+
const entries = parseVueRoutes(content, filePath);
|
|
369
|
+
if (entries.length === 0)
|
|
370
|
+
return { nodes: [], references: [] };
|
|
371
|
+
const language = languageForFile(filePath);
|
|
372
|
+
const now = Date.now();
|
|
373
|
+
const nodes = [];
|
|
374
|
+
const references = [];
|
|
375
|
+
for (const entry of entries) {
|
|
376
|
+
const node = {
|
|
377
|
+
id: routeId(filePath, entry.line, entry.path),
|
|
378
|
+
kind: 'route',
|
|
379
|
+
name: entry.path,
|
|
380
|
+
qualifiedName: `${filePath}::route:${entry.path}`,
|
|
381
|
+
filePath,
|
|
382
|
+
startLine: entry.line,
|
|
383
|
+
endLine: entry.line,
|
|
384
|
+
startColumn: 0,
|
|
385
|
+
endColumn: 0,
|
|
386
|
+
language,
|
|
387
|
+
updatedAt: now,
|
|
388
|
+
};
|
|
389
|
+
nodes.push(node);
|
|
390
|
+
if (entry.component) {
|
|
391
|
+
// `calls`, not `references`, for the same reason Next.js binds a page
|
|
392
|
+
// that way: a `references` candidate list is filtered to the ref's own
|
|
393
|
+
// language family, and a router config is `.js` while the component it
|
|
394
|
+
// names is `.vue` — so the right component was dropped and a same-named
|
|
395
|
+
// `.js` function in a store was picked instead. `route-roots.ts` reads
|
|
396
|
+
// a `calls` edge to a component as the page a screen renders.
|
|
397
|
+
references.push({
|
|
398
|
+
fromNodeId: node.id,
|
|
399
|
+
referenceName: componentRefName(entry.component, entry.spec),
|
|
400
|
+
referenceKind: 'calls',
|
|
401
|
+
line: entry.line,
|
|
402
|
+
column: 0,
|
|
403
|
+
filePath,
|
|
404
|
+
language,
|
|
405
|
+
candidates: [entry.component],
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
// The layouts around it: what they render — a sidebar, a navbar — is on
|
|
409
|
+
// this screen too.
|
|
410
|
+
for (const layout of entry.layouts) {
|
|
411
|
+
references.push({
|
|
412
|
+
fromNodeId: node.id,
|
|
413
|
+
referenceName: `layout:${componentRefName(layout.component, layout.spec)}`,
|
|
414
|
+
referenceKind: 'references',
|
|
415
|
+
line: entry.line,
|
|
416
|
+
column: 0,
|
|
417
|
+
filePath,
|
|
418
|
+
language,
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
return { nodes, references };
|
|
423
|
+
},
|
|
424
|
+
resolve(ref, context) {
|
|
425
|
+
if (ref.referenceKind === 'references' && isVueRouteRef(ref) && ref.referenceName.startsWith('layout:')) {
|
|
426
|
+
const layout = routeComponent(ref.referenceName.slice('layout:'.length), ref.filePath, context);
|
|
427
|
+
return layout
|
|
428
|
+
? { original: ref, targetNodeId: layout.id, confidence: 0.95, resolvedBy: 'framework', metadata: { layout: true } }
|
|
429
|
+
: null;
|
|
430
|
+
}
|
|
431
|
+
if (ref.referenceKind !== 'calls')
|
|
432
|
+
return null;
|
|
433
|
+
// A route naming the component it renders — this resolver's own reference,
|
|
434
|
+
// bound here rather than by name alone: a Vue app usually has a `.vue`
|
|
435
|
+
// `Login` view AND a `login` action in a store, and only one of them is
|
|
436
|
+
// the screen.
|
|
437
|
+
if (isVueRouteRef(ref)) {
|
|
438
|
+
const component = routeComponent(ref.referenceName, ref.filePath, context);
|
|
439
|
+
return component
|
|
440
|
+
? { original: ref, targetNodeId: component.id, confidence: 0.95, resolvedBy: 'framework' }
|
|
441
|
+
: null;
|
|
442
|
+
}
|
|
443
|
+
const verb = vueNavVerb(ref.referenceName);
|
|
444
|
+
if (!verb)
|
|
445
|
+
return null;
|
|
446
|
+
if (!ROUTE_LANGUAGES.includes(ref.language))
|
|
447
|
+
return null;
|
|
448
|
+
const routes = (0, expo_router_1.routesForFile)(vueRouteTable(context), ref.filePath);
|
|
449
|
+
if (!routes || routes.exact.size === 0)
|
|
450
|
+
return null;
|
|
451
|
+
const lines = context.getFileLines?.(ref.filePath) ?? context.readFile(ref.filePath)?.split(/\r?\n/) ?? null;
|
|
452
|
+
if (!lines)
|
|
453
|
+
return null;
|
|
454
|
+
const arg = (0, expo_router_1.firstArgumentText)(lines, ref.line, ref.column, verb);
|
|
455
|
+
if (arg === null)
|
|
456
|
+
return null;
|
|
457
|
+
// By name first — `{ name: 'login' }` is the idiom Vue apps are written in.
|
|
458
|
+
const named = routeNameInExpression(arg);
|
|
459
|
+
if (named !== null) {
|
|
460
|
+
const target = routes.byName.get(named);
|
|
461
|
+
return target
|
|
462
|
+
? {
|
|
463
|
+
original: ref,
|
|
464
|
+
targetNodeId: target.id,
|
|
465
|
+
confidence: 0.95,
|
|
466
|
+
resolvedBy: 'framework',
|
|
467
|
+
edgeKind: 'navigates',
|
|
468
|
+
metadata: { href: named, navMethod: verb, by: 'name' },
|
|
469
|
+
}
|
|
470
|
+
: null;
|
|
471
|
+
}
|
|
472
|
+
// Otherwise a path, read exactly as every other framework reads one.
|
|
473
|
+
let href = (0, expo_router_1.parseHrefExpression)(arg) ?? parseVuePathObject(arg);
|
|
474
|
+
if (!href) {
|
|
475
|
+
const enclosing = context.getNodeById?.(ref.fromNodeId);
|
|
476
|
+
const start = enclosing && enclosing.filePath === ref.filePath ? enclosing.startLine : Math.max(1, ref.line - 40);
|
|
477
|
+
href = (0, expo_router_1.readHrefViaLocal)(lines, ref.line, ref.column, verb, start);
|
|
478
|
+
}
|
|
479
|
+
if (!href)
|
|
480
|
+
return null;
|
|
481
|
+
// Every arm of a conditional destination is somewhere this call goes; the
|
|
482
|
+
// first is this reference's resolution and the rest ride as `alsoTargets`.
|
|
483
|
+
const targets = (0, nextjs_1.destinationsForHref)(href, routes);
|
|
484
|
+
const target = targets[0];
|
|
485
|
+
if (!target)
|
|
486
|
+
return null;
|
|
487
|
+
return {
|
|
488
|
+
original: ref,
|
|
489
|
+
targetNodeId: target.node.id,
|
|
490
|
+
...(targets.length > 1
|
|
491
|
+
? { alsoTargets: targets.slice(1).map((t) => ({ targetNodeId: t.node.id, metadata: { href: t.href.display, navMethod: verb } })) }
|
|
492
|
+
: {}),
|
|
493
|
+
confidence: 0.95,
|
|
494
|
+
resolvedBy: 'framework',
|
|
495
|
+
edgeKind: 'navigates',
|
|
496
|
+
metadata: { href: target.href.display, navMethod: verb },
|
|
497
|
+
};
|
|
498
|
+
},
|
|
499
|
+
};
|
|
500
|
+
//# sourceMappingURL=vue-router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-router.js","sourceRoot":"","sources":["../../../src/resolution/frameworks/vue-router.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;;;AA+FH,wCA6DC;AAoDD,sCAuCC;AAgBD,gCAIC;AAGD,sDAMC;AAGD,gDAMC;AAnRD,sDAA0D;AAC1D,qDAA6E;AAC7E,iDAA2C;AAC3C,+CAYuB;AACvB,qCAA+C;AAC/C,wDAAuD;AAEvD,MAAM,eAAe,GAAwB,CAAC,YAAY,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;AAyBjF,4EAA4E;AAC5E,MAAM,cAAc,GAAG,qHAAqH,CAAC;AAE7I,2FAA2F;AAC3F,MAAM,YAAY,GAAG,sBA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OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE;gBAClI,CAAC,CAAC,EAAE,CAAC;YACP,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,WAAW;YACvB,QAAQ,EAAE,WAAW;YACrB,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;SACzD,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vue / Nuxt Framework Resolver
|
|
3
3
|
*
|
|
4
|
-
* Handles Vue component references, compiler macros (defineProps, etc.)
|
|
5
|
-
* Nuxt auto-imports
|
|
4
|
+
* Handles Vue component references, compiler macros (defineProps, etc.) and
|
|
5
|
+
* Nuxt auto-imports; `nuxtResolver` reads Nuxt's file-based routes.
|
|
6
6
|
*/
|
|
7
7
|
import { FrameworkResolver } from '../types';
|
|
8
8
|
export declare const vueResolver: FrameworkResolver;
|
|
9
|
+
/**
|
|
10
|
+
* Nuxt's file-based routes: `pages/` screens, `server/api/` endpoints and
|
|
11
|
+
* `middleware/`. Its own resolver, detected only in a Nuxt app: a plain Vue
|
|
12
|
+
* app keeps its views in a `pages/` folder just as often (halo's console
|
|
13
|
+
* does), and those are components a router config names, not addresses.
|
|
14
|
+
*/
|
|
15
|
+
export declare const nuxtResolver: FrameworkResolver;
|
|
9
16
|
//# sourceMappingURL=vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../../src/resolution/frameworks/vue.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAiD,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../../src/resolution/frameworks/vue.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAiD,MAAM,UAAU,CAAC;AA4E5F,eAAO,MAAM,WAAW,EAAE,iBAkHzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,iBA+F1B,CAAC"}
|