From 9ee38a4d3f40515647b3cf3cfbe39b9bd53c8423 Mon Sep 17 00:00:00 2001 From: Achille Roussel Date: Tue, 10 Mar 2020 23:17:40 -0700 Subject: [PATCH] fix: NAN_MODULE_WORKER_ENABLED --- node-expat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-expat.cc b/node-expat.cc index c81d54b..abfde93 100644 --- a/node-expat.cc +++ b/node-expat.cc @@ -495,6 +495,6 @@ extern "C" { Parser::Initialize(target); } //Changed the name cause I couldn't load the module with - in their names - NODE_MODULE(node_expat, InitAll); + NAN_MODULE_WORKER_ENABLED(node_expat, InitAll); };