Skip to content

Commit 596bfb3

Browse files
panvadanielleadams
authored andcommitted
doc: mention CryptoKey in port.postMessage()
PR-URL: #37196 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 0702d60 commit 596bfb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/api/worker_threads.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,9 @@ changes:
477477
- version: v15.6.0
478478
pr-url: https://github.com/nodejs/node/pull/36804
479479
description: Added `X509Certificate` to the list of cloneable types.
480+
- version: v15.0.0
481+
pr-url: https://github.com/nodejs/node/pull/35093
482+
description: Added `CryptoKey` to the list of cloneable types.
480483
- version:
481484
- v14.5.0
482485
- v12.19.0
@@ -505,7 +508,7 @@ In particular, the significant differences to `JSON` are:
505508
and `SharedArrayBuffer`s.
506509
* `value` may contain [`WebAssembly.Module`][] instances.
507510
* `value` may not contain native (C++-backed) objects other than {MessagePort}s,
508-
{FileHandle}s, {KeyObject}s, and {X509Certificate}s.
511+
{FileHandle}s, {KeyObject}s, {CryptoKey}s, and {X509Certificate}s.
509512

510513
```js
511514
const { MessageChannel } = require('worker_threads');

0 commit comments

Comments
 (0)