1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-11 08:33:43 -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 David Sherret
parent 2d2c087703
commit 4cd7092fd2

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,