Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
fix(core-ingestion): silence DEP0151 warning from tree-sitter-css (#266)
Joseph Mikhailf2ea2d4ac57c
diff --git a/core-ingestion/src/index.ts b/core-ingestion/src/index.tsindex 7d10b844..ee35bc04 100644--- a/core-ingestion/src/index.ts+++ b/core-ingestion/src/index.ts@@ -64,7 +64,11 @@ const Hcl = HclPkg?.default ?? HclPkg;// files go unparsed, exactly as with any unavailable CJS grammar.const SAS = await tryImportGrammar('tree-sitter-sas');const Lua = await tryImportGrammar('@tree-sitter-grammars/tree-sitter-lua');-const Css = await tryImportGrammar('tree-sitter-css');+// Import the binding by its explicit file path. tree-sitter-css's package.json+// `main` is "bindings/node" (no filename/extension), which makes Node emit a+// DEP0151 deprecation warning on every ESM resolution, once per parse worker,+// flooding `ix map`. Pointing straight at the file skips that resolution.+const Css = await tryImportGrammar('tree-sitter-css/bindings/node/index.js');import { SupportedLanguages, languageFromPath } from './languages.js';import { LANGUAGE_QUERIES } from './queries.js';