wowserhq / blizzardry

JavaScript library for mastering the wizardry that is Blizzard's game files
MIT License
55 stars 15 forks source link

chore: support node 10+ #121

Closed fallenoak closed 2 years ago

fallenoak commented 2 years ago

Recent versions of Node no longer play well with the now-unmaintained versions of node-ffi and ref. This updates the relevant packages to the supported Node-API successors of these packages.

Node 10 and 12 work well with these new packages. While Node 14 and 16 should also work, it appears we intermittently run in to the same issue outlined here: https://github.com/node-ffi-napi/ref-napi/issues/54 Once fixed, we can enable 14 and 16 in the CI matrix.

timkurvers commented 2 years ago

Looks great! 👍