-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Buffer.buffer in iojs 3.0 #2473
Comments
I don't think it's a property we want to remove (or even can.) I'm curious though, how is it breaking code? |
Slightly simplified example from engine.io:
In 2.5 this will send the message "hello" to your client. In 3.0 it will send them 8kb of what looks like random memory contents. |
Thanks, I see what you mean. It's regrettable but I think we'll have to chalk this one up to the price of progress. Even if we could remove the |
Understood, thanks. |
Buffers have picked up a new
.buffer
property in 3.0 that seems to be a side effect of the Uint8Array stuff but is breaking code.2.5
3.1
Can you remove this new property or do I need to file PR against the modules this breaks?
The text was updated successfully, but these errors were encountered: