protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

Protocol Buffers for JavaScript & TypeScript.

Results 286 protobuf.js issues
Sort by recently updated
recently updated
newest added

protobuf.js version: 6.11.2 Parsing this: ``` option (mo_rep_msg) = { rep_value: [ ] }; ``` Fails with: ``` Error: illegal value ']' (tests/data/options_test.proto, line 82) at illegal (/Users/jason/src/protobuf.js/src/parse.js:96:16) at readValue...

Using protobuf3 and just realized some fields were not being encoded because I was using snake case, where it seems protobufjs expected camel case, so would like to have a...

protobuf.js version: 6.8.8 Expected: Protobufjs runs and installs dependencies Actual: Protobufjs fails to install dependencies ``` installing jsdoc@^3.5.5 installing uglify-js@^3.3.25 installing espree@^3.5.4 child_process.js:669 throw err; ^ Error: Command failed: npm...

I'm trying to create .proto files from some dataset, it looks like my best option is to transform that dataset into a JSON object that is the same as the...

fix codegen error, if proto pacakge name contains javascript reserved word, codegen will gen error code in static/static-module target ## e.g. ### test.proto ```proto package function.b; // `function` is a...

a message include an enum value, when use toJSON func, the enum will be changed to a string ,however, this is not what i want.

protobuf.js version: 6.9.0 The above deprecation error is logged from new version of Node when using this package. ``` internal/process/warning.js:18 (node:61713) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and...

protobuf.js version: 6.9.0 suppose I have the following proto file ```proto message MessageA { MessageB message = 1; } message MessageB { oneof inner { string str1 = 1; string...

protobuf.js version: v6.11.2 Please release a new version of the package. There are commits in `master` that resolve the upstream issue: https://github.com/grpc/grpc-node/issues/1964. Thanks!

protobuf.js version: 6.11.2 While trying to parse a **proto2** message and convert it to its `descriptor.proto` format, all field descriptors are marked as `packed = true`. I would expect this...