GitNexus/gitnexus/src
azizur100389 7c600caea8 fix(deps): silence Node 22 DEP0151 warning from tree-sitter-c-sharp import (#1013) (#1049)
tree-sitter-c-sharp ships with `"type": "module"` + `"main": "bindings/node"`
(no file extension) and no `"exports"` field. On Node 22, the bare-package
ESM import hits the deprecated main-field extension resolution and emits
repeated `[DEP0151] DeprecationWarning` lines for every analyze run.

Switch both callsites (parser-loader.ts, parse-worker.ts) to the explicit
subpath `tree-sitter-c-sharp/bindings/node/index.js`. The explicit path
bypasses the deprecated resolution step entirely; types continue to resolve
from the colocated `bindings/node/index.d.ts`. Other tree-sitter grammars
are CommonJS (no `type: "module"`) so they don't trigger DEP0151 and are
left untouched to keep the diff narrow.

Reporter pre-tested the same fix locally (#1013).
2026-04-23 17:08:14 +01:00
..
cli feat(ingestion): GITNEXUS_INDEX_TEST_DIRS opt-in for __tests__ / __mocks__ (#771) (#1046) 2026-04-23 13:49:06 +01:00
config feat(ingestion): GITNEXUS_INDEX_TEST_DIRS opt-in for __tests__ / __mocks__ (#771) (#1046) 2026-04-23 13:49:06 +01:00
core fix(deps): silence Node 22 DEP0151 warning from tree-sitter-c-sharp import (#1013) (#1049) 2026-04-23 17:08:14 +01:00
lib feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
mcp feat(cli): Fingerprint indexed repos by remote URL to detect sibling-clone graph drift (#982) 2026-04-21 21:58:54 +01:00
server feat(embeddings): AST-aware chunking with offset-based splitting (#889) 2026-04-16 22:55:04 +01:00
storage feat(cli): Fingerprint indexed repos by remote URL to detect sibling-clone graph drift (#982) 2026-04-21 21:58:54 +01:00
types feat(ingestion): language-agnostic heritage extractor with config+factory pattern (#890) 2026-04-17 17:51:17 +01:00