Skip to content

Commit

Permalink
Add experimental support for Worker Threads #1558
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Jun 26, 2019
1 parent 6289968 commit 946d3c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/changelog.md
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/sharp.cc
Expand Up @@ -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)

0 comments on commit 946d3c8

Please sign in to comment.