Merge pull request #2841 from segevfiner/patch-1

Make Node.js language bindings context aware
This commit is contained in:
Max Brunsfeld 2024-02-23 11:23:11 -08:00 committed by GitHub
commit 1f751bbd5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,6 @@ void Init(Local<Object> exports, Local<Object> module) {
Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance);
}
NODE_MODULE(tree_sitter_PARSER_NAME_binding, Init)
NODE_MODULE_CONTEXT_AWARE(tree_sitter_PARSER_NAME_binding, Init)
} // namespace