Skip to content

Fixed deprecation warning for new Buffer#1905

Merged
alexander-fenster merged 1 commit intoprotobufjs:masterfrom
panther7:fixed-deprecation-warning-buffer
Aug 21, 2023
Merged

Fixed deprecation warning for new Buffer#1905
alexander-fenster merged 1 commit intoprotobufjs:masterfrom
panther7:fixed-deprecation-warning-buffer

Conversation

@panther7
Copy link
Copy Markdown
Contributor

Used Buffer.alloc if it's available.

#1411

@panther7
Copy link
Copy Markdown
Contributor Author

^ @alexander-fenster Please, can you check it? Thanks

Comment thread src/reader.js Outdated
@panther7 panther7 force-pushed the fixed-deprecation-warning-buffer branch 2 times, most recently from a1bd21f to 93894d5 Compare August 21, 2023 18:20
@panther7 panther7 force-pushed the fixed-deprecation-warning-buffer branch from 93894d5 to 33d852f Compare August 21, 2023 18:41
@panther7
Copy link
Copy Markdown
Contributor Author

Fixed eslint

@panther7 panther7 force-pushed the fixed-deprecation-warning-buffer branch from 33d852f to a3c8463 Compare August 21, 2023 19:02
@alexander-fenster alexander-fenster merged commit e93286e into protobufjs:master Aug 21, 2023
@alexander-fenster
Copy link
Copy Markdown
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants