GeezerVison is showing github.com — doc: mention CryptoKey in port.postMessage() · nodejs/node@596bfb3
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/worker_threads.md +4-1Lines changed: 4 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -477,6 +477,9 @@ changes: |
477 | 477 | - version: v15.6.0 |
478 | 478 | pr-url: https://github.com/nodejs/node/pull/36804 |
479 | 479 | 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. |
480 | 483 | - version: |
481 | 484 | - v14.5.0 |
482 | 485 | - v12.19.0 |
@@ -505,7 +508,7 @@ In particular, the significant differences to `JSON` are: |
505 | 508 | and `SharedArrayBuffer`s. |
506 | 509 | * `value` may contain [`WebAssembly.Module`][] instances. |
507 | 510 | * `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. |
509 | 512 |
|
510 | 513 | ```js |
511 | 514 | const { MessageChannel } = require('worker_threads'); |
|