protobuf.js
protobuf.js copied to clipboard
fix: missing valuesOptions in the fromJSON parser function (#1961)
I've found out that the "valuesOptions" option in the Enum class is missing when parsed from the JSON.
This PR should fix the issue: https://github.com/protobufjs/protobuf.js/issues/1961
I reproduced this issue on 7.4, and verified that this fix works as intended.