mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 03:50:13 +02:00
Add experimental support for Worker Threads #1558
This commit is contained in:
parent
628996846d
commit
946d3c81a5
@ -8,6 +8,9 @@ Requires libvips v8.8.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.
|
||||
[#1674](https://github.com/lovell/sharp/issues/1674)
|
||||
|
||||
|
@ -51,4 +51,4 @@ NAN_MODULE_INIT(init) {
|
||||
Nan::GetFunction(Nan::New<v8::FunctionTemplate>(stats)).ToLocalChecked());
|
||||
}
|
||||
|
||||
NODE_MODULE(sharp, init)
|
||||
NAN_MODULE_WORKER_ENABLED(sharp, init)
|
||||
|
Loading…
x
Reference in New Issue
Block a user