1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix: unblock fsevents native module (#24542)

node-api is fully supported now.

Signed-off-by: snek <snek@deno.com>
This commit is contained in:
snek 2024-07-11 19:15:05 -07:00 committed by GitHub
parent 0be4c8947d
commit 7ab25dd89e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1101,9 +1101,6 @@ Module._extensions[".json"] = function (module, filename) {
// Native extension for .node
Module._extensions[".node"] = function (module, filename) {
if (filename.endsWith("fsevents.node")) {
throw new Error("Using fsevents module is currently not supported");
}
module.exports = op_napi_open(
filename,
globalThis,