tojocky / node-pdfium

Native PDFium ported for node, iojs and nwjs
BSD 2-Clause "Simplified" License
73 stars 26 forks source link

Update for Node 7.* #14

Closed MatteoMeil closed 6 years ago

MatteoMeil commented 6 years ago

I had to work with this plugin and once I tried to build with node-gyp I encountered a issue due to node's version and removed methods (see #9, #12, #13) I used this plugin with electron so I couldn't change node's version an I decided to update this plugin with the new V8 API. What I did is change some removed method with the new one and, at least, modify some piece of code to adapt to new API.

This work it has been tested in my electron app and it works.

tojocky commented 6 years ago

Thank you!