protobuf.js
protobuf.js copied to clipboard
fix: RangeError [ERR_BUFFER_OUT_OF_BOUNDS] "length" is outside of buffer bounds
fix: RangeError [ERR_BUFFER_OUT_OF_BOUNDS] "length" is outside of buffer bounds since nodejs 22.7
call buf.utf8Write() conditionally, it will be called in buf.write()
ref: https://github.com/protobufjs/protobuf.js/issues/2025
What is preventing this from getting merged? This bug prevents using the library on Node.js 24.x.x