Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NAN_MODULE_WORKER_ENABLED to make module context aware #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2022

  1. 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.
    Bong Nguyen committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    6964467 View commit details
    Browse the repository at this point in the history