Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Skokan <panva.ip@gmail.com>2021-02-03 13:05:38 +0300
committerFilip Skokan <panva.ip@gmail.com>2021-02-05 20:16:19 +0300
commit88be944747cb82a2d56bfff673b6111b0c9c9f83 (patch)
tree0d40ce04e151c2d3b6fa393b14e1c06110a01097 /doc/api/worker_threads.md
parent29789f78b2dd929f0be5daf6a37f56ffe8ee111b (diff)
doc: mention CryptoKey in port.postMessage()
PR-URL: https://github.com/nodejs/node/pull/37196 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r--doc/api/worker_threads.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md
index 07f39f8452b..4c6e590c2a7 100644
--- a/doc/api/worker_threads.md
+++ b/doc/api/worker_threads.md
@@ -477,6 +477,9 @@ changes:
- version: v15.6.0
pr-url: https://github.com/nodejs/node/pull/36804
description: Added `X509Certificate` to the list of cloneable types.
+ - version: v15.0.0
+ pr-url: https://github.com/nodejs/node/pull/35093
+ description: Added `CryptoKey` to the list of cloneable types.
- version:
- v14.5.0
- v12.19.0
@@ -505,7 +508,7 @@ In particular, the significant differences to `JSON` are:
and `SharedArrayBuffer`s.
* `value` may contain [`WebAssembly.Module`][] instances.
* `value` may not contain native (C++-backed) objects other than {MessagePort}s,
- {FileHandle}s, {KeyObject}s, and {X509Certificate}s.
+ {FileHandle}s, {KeyObject}s, {CryptoKey}s, and {X509Certificate}s.
```js
const { MessageChannel } = require('worker_threads');