tree-sitter / node-tree-sitter

Node.js bindings for tree-sitter
https://www.npmjs.com/package/tree-sitter
MIT License
648 stars 113 forks source link

fix: Fix parsing when string is larger than buffer length #214

Closed segevfiner closed 2 months ago

segevfiner commented 3 months ago

Caused by annoying limitation of Node-API where you can't create a reference to a String.

Fixes #199

segevfiner commented 2 months ago

@amaanq ?

amaanq commented 2 months ago

Thanks @segevfiner, sorry for being behind :grimacing: