From 596bfb36a0d88b0c93d1bf248fea5f56f1d9b449 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Wed, 3 Feb 2021 11:05:38 +0100 Subject: [PATCH] doc: mention CryptoKey in port.postMessage() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/37196 Reviewed-By: James M Snell Reviewed-By: Tobias Nießen --- doc/api/worker_threads.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 07f39f8452bcba..4c6e590c2a788b 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');