Git Product home page Git Product logo

Comments (5)

Ethan-Arrowood avatar Ethan-Arrowood commented on May 29, 2024

I've discovered this has to do with making the module context-aware. There is an open issue on nodejs detailing some other affected modules as well as some solutions.

nodejs/node#21783 (comment)

Some more documentation:
https://nodejs.org/docs/latest/api/addons.html#addons_context_aware_addons

I'm attempting a fix but have not found any luck thus far. My C++ skills are very novice so this stuff is going over my head and I'm really just trying to emulate what others have done to migrate their modules (like here: https://github.com/schroffl/node-lzo/pull/11/files)

from mmap-io.

ozra avatar ozra commented on May 29, 2024

@Ethan-Arrowood — I quickly looked at the linked commentary, and did some very minor edits, not sure if the macro use changes does anything at all for you, but please try it out.

from mmap-io.

ozra avatar ozra commented on May 29, 2024

No follow up, so I'm closing. Re-open if the problem subsists.

from mmap-io.

pdesantis avatar pdesantis commented on May 29, 2024

I'm receiving this deprecation message when using mmap-io in Electron:

Electron: Loading non-context-aware native module in renderer. This is deprecated

This is fixed in master thanks to this change daeff71

@ozra could you release a new version?

from mmap-io.

stan-ros avatar stan-ros commented on May 29, 2024

@ozra New release version with daeff71 will be great!

from mmap-io.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.