Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use NAN_MODULE_WORKER_ENABLED to make module context aware
All native modules used Electron be context-ware before when upgrading to Electron 14. [ref](electron/electron#18397). `superstring` is still one of the module that isn't context-aware. This commit uses NAN_MODULE_WORKER_ENABLED instead of `NODE_MODULE` to make the module context-aware. Please check electron/electron#18397 and nodejs/nan#792 for more detail.
- Loading branch information