From 9b1f0c8ba3c8ca7a7207519889b6509bfc10370e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 12 Oct 2021 09:58:04 -0400 Subject: chore: upgrade crates based on deno ast 0.3 (#12403) --- ext/crypto/00_crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/crypto') diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index 4c2f3e41c..2885a9699 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -225,7 +225,7 @@ if (idlType === "BufferSource" && idlValue) { normalizedAlgorithm[member] = TypedArrayPrototypeSlice( new Uint8Array( - (ArrayBufferIsView(idlValue) ? idlValue.buffer : idlValue), + ArrayBufferIsView(idlValue) ? idlValue.buffer : idlValue, idlValue.byteOffset ?? 0, idlValue.byteLength, ), -- cgit v1.2.3