discord / erlpack

High Performance Erlang Term Format Packer
MIT License
217 stars 64 forks source link

Node 12 support and dependency/version updates #25

Closed TheAkio closed 4 years ago

TheAkio commented 4 years ago

This PR adds support for Node 12 (tested with 12.13.0). The functionality of this package was also tested for Node 8 (8.16.2) and Node 10 (10.16.3).

Thanks to @abalabahaha for his changes regarding the Node 12 support.

The version of the NPM package was updated to 0.1.3 The reason is that the package published on NPM is currently on 0.1.2 and the last publish was 3 years ago. I plan on publishing a new version onto there and this time I would like to do it without a separate repository that introduces changes not existing in here.

TheAkio commented 4 years ago

This PR also makes #20 obsolete. The reason I chose to use abals changes is because I found them a lot cleaner and also made some improvements on using NAN more.