tree-sitter/crates
ObserverOfTime f222db57ce fix(bindings): fix ESM errors in Node bindings
1. The module tries to call the native binary as a function.

Only `node-gyp-build` returns a function, so the call is moved there.

2. `node-types.json` is imported with outdated syntax.

Use import attributes which require Node 18.

3. The test does not properly catch import errors.

This is solved by moving the import inside the assertion.
2025-09-18 16:59:34 -04:00
..
cli fix(bindings): fix ESM errors in Node bindings 2025-09-18 16:59:34 -04:00
config chore: copy license to all packages 2025-09-11 03:12:35 -04:00
generate refactor: remove url dependency 2025-09-17 04:31:53 -04:00
highlight chore: copy license to all packages 2025-09-11 03:12:35 -04:00
language feat: support compiling to wasm32-unknown-unknown 2025-09-17 04:57:49 -04:00
loader refactor: remove url dependency 2025-09-17 04:31:53 -04:00
tags chore: copy license to all packages 2025-09-11 03:12:35 -04:00
xtask feat: support compiling to wasm32-unknown-unknown 2025-09-17 04:57:49 -04:00