gitnexus 1.6.3-rc.42 → 1.6.3-rc.43

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.
@@ -6,7 +6,8 @@ import Python from 'tree-sitter-python';
6
6
  import Java from 'tree-sitter-java';
7
7
  import C from 'tree-sitter-c';
8
8
  import CPP from 'tree-sitter-cpp';
9
- import CSharp from 'tree-sitter-c-sharp';
9
+ // Explicit subpath import see parser-loader.ts for rationale (#1013).
10
+ import CSharp from 'tree-sitter-c-sharp/bindings/node/index.js';
10
11
  import Go from 'tree-sitter-go';
11
12
  import Rust from 'tree-sitter-rust';
12
13
  import PHP from 'tree-sitter-php';
@@ -5,7 +5,12 @@ import Python from 'tree-sitter-python';
5
5
  import Java from 'tree-sitter-java';
6
6
  import C from 'tree-sitter-c';
7
7
  import CPP from 'tree-sitter-cpp';
8
- import CSharp from 'tree-sitter-c-sharp';
8
+ // Explicit subpath import: tree-sitter-c-sharp declares `type: "module"` with
9
+ // `main: "bindings/node"` (no extension) and no `exports` field, which triggers
10
+ // Node 22's DEP0151 deprecation warning on the bare-package import. Importing
11
+ // the built entrypoint directly bypasses the deprecated ESM main-field
12
+ // resolution. (#1013)
13
+ import CSharp from 'tree-sitter-c-sharp/bindings/node/index.js';
9
14
  import Go from 'tree-sitter-go';
10
15
  import Rust from 'tree-sitter-rust';
11
16
  import PHP from 'tree-sitter-php';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.6.3-rc.42",
3
+ "version": "1.6.3-rc.43",
4
4
  "description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",