-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to node 18.19.0 #531
Conversation
5, 85, 84, 70, 45, 56, 40, 0, 34, 48, 120, 156, 51, 52, 48, 209, 49, 52, | ||
48, 212, 49, 52, 176, 128, 96, 67, 67, 29, 99, 35, 29, 67, 67, 75, 48, | ||
211, 208, 208, 4, 42, 101, 0, 22, 30, 85, 61, 170, 122, 84, 53, 237, 85, | ||
3, 0, 139, 43, 173, 229, | ||
]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm not sure why this is necessary. i couldn't find anything in the node release notes that may have changed CompressionStream
or DecompressionStream
.
@@ -2,7 +2,7 @@ import { ciphertext } from '@xmtp/proto' | |||
import Ciphertext, { AESGCMNonceSize, KDFSaltSize } from './Ciphertext' | |||
import crypto from './crypto' | |||
|
|||
const hkdfNoInfo = new ArrayBuffer(0) | |||
const hkdfNoInfo = new Uint8Array().buffer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, but OK
57581c0
to
b623ec5
Compare
Deploying with Cloudflare Pages
|
🎉 This PR is included in version 11.3.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
in this PR:
18.19.0
checkout
andsetup-node
actions tov4
ArrayBuffer
with buffer of emptyUint8Array
as of node 18.17.0...
link to PR for more context: nodejs/node#46067
with this change, the
crypto.subtle.deriveKey
function started complaining that an emptyArrayBuffer
was not actually an instance of anArrayBuffer
. to fix this error, i simply instantiate an emptyUint8Array
and use its buffer as the value for theinfo
parameter. the values are equivalent (both empty array buffers).