Skip to content

Last NPM release was 2023-02, but there have been many GitHub commits since then #45

@cakoose

Description

@cakoose

As of today, the NPM blake2 package is version 5.0.0, released ~3 years ago. But looking in this GitHub repo, there have been many commits since then. Will a new version be published to NPM?

The concrete issue I ran into is that I'm using the 5.0.0 release from NPM but am getting a build error:

In file included from ../src/blake2.cpp:4:
../../nan/nan.h:2548:8: error: no matching member function for call to 'SetAccessor'
 2548 |   tpl->SetAccessor(
      |   ~~~~~^~~~~~~~~~~
/Users/REDACTED/Library/Caches/node-gyp/22.19.0/include/node/v8-template.h:1049:8: note: candidate fu
 1049 |   void SetAccessor(
      |        ^
 1050 |       Local<String> name, AccessorGetterCallback getter,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I think is because this package is not compatible with Node 22. In the GitHub repo, there are commits that look like they might fix my issue. Would be easier to use those fixes if they were published to NPM.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions