baudehlo / node-fs-ext

Extras missing from node's fs module
MIT License
101 stars 45 forks source link

restore compatibility with node 0.10* #93

Open jlevon opened 4 years ago

jlevon commented 4 years ago

Use Nan::To() in the necessary places.

Signed-off-by: John Levon john.levon@joyent.com

jlevon commented 4 years ago

I tested this with "npm test" under node 0.10 as well as more recent node.

I'm aware that this is a VERY old version of node; we're slowly trying to dig out of this hole, and this is one step towards doing so, and as you can see the changes are minimal.