-
Notifications
You must be signed in to change notification settings - Fork 84
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.write is deprecated. #71
Conversation
Buffer.write(string, encoding, offset, length) is deprecated. Use write(string[, offset[, length]][, encoding]) instead.
Please can we implement this soon as we will be deploying to servers and need the main repository to be correct |
Would be great to have a new release with this addition. |
+1 |
👍 |
1 similar comment
👍 |
Hey all. As you can tell I don't actively maintain this project anymore, and don't keep up with node much. I will go through the PRs now to get things in a stable state, but if someone is willing to pick up this project please reach out! |
Oh, and thanks for the patience here and for the PR, very much appreciated! |
Buffer.write(string, encoding, offset, length) is deprecated. Use write(string[, offset[, length]][, encoding]) instead.
Since offset default value is
0
and encoding default value isutf-8
, there's no need to pass these arguments.