Handle zero-length Buffers in Node.js v13.2.0+

These now use nullptr internally - see
https://github.com/nodejs/node/pull/30339
This commit is contained in:
Lovell Fuller
2019-11-28 21:20:32 +00:00
parent bb15cd9067
commit 400ef71b6f
3 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ Requires libvips v8.8.1.
#### v0.23.4 - TBD
* Handle zero-length Buffer objects when using Node.js v13.2.0+.
* Improve thread safety by using copy-on-write when updating metadata.
[#1986](https://github.com/lovell/sharp/issues/1986)