Add experimental support for Worker Threads #1558

This commit is contained in:
Lovell Fuller 2019-06-26 21:15:04 +01:00
parent 628996846d
commit 946d3c81a5
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@ Requires libvips v8.8.0.
* Remove `overlayWith` previously deprecated in v0.22.0. * Remove `overlayWith` previously deprecated in v0.22.0.
* Add experimental support for Worker Threads.
[#1558](https://github.com/lovell/sharp/issues/1558)
* Drop support for Node.js versions 6 and 11. * Drop support for Node.js versions 6 and 11.
[#1674](https://github.com/lovell/sharp/issues/1674) [#1674](https://github.com/lovell/sharp/issues/1674)

View File

@ -51,4 +51,4 @@ NAN_MODULE_INIT(init) {
Nan::GetFunction(Nan::New<v8::FunctionTemplate>(stats)).ToLocalChecked()); Nan::GetFunction(Nan::New<v8::FunctionTemplate>(stats)).ToLocalChecked());
} }
NODE_MODULE(sharp, init) NAN_MODULE_WORKER_ENABLED(sharp, init)