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: 7.3.3 `@types/node` should be listed as a `devDependency`. Here's the output of npmgraph showing the size of `@types/node`: [![CleanShot 2024-08-18 at 21 53 32@2x](https://github.com/user-attachments/assets/6da9312b-6a45-4db6-9713-3205522cf2f2)](https://npmgraph.js.org/?q=protobufjs#select=exact%3A%40types%2Fnode%4022.4.0)

When `alternateCommentMode` is enabled, the tokenizer treats a block of multiple end-of-line (`//`) comments as a single line when keeping track of line numbers, making error messages very difficult to...

I am consuming a HTTP API, that is generated by grpc-gateway. In protobuf3 docs (https://developers.google.com/protocol-buffers/docs/proto3#json) it says, that timestamps are encoded as RFC 3339 strings. So, any Timestamp fields end...

protobuf.js version: 7.3.2 and newer. Steps to reproduce: - Find a `Type` object in the tree: `const myType = ns.lookupType('.MyType')` - Change its name: `myType.name = "NewName"` - Remove the...

When we generate output with --force-number we still are getting Longs when we decode a proto that is serialized with encode.

I've spend about an hour trying to work out how to get protobufjs to follow import paths. I'm surprised this isn't a problem more people seem to have, but I...

protobuf.js version: latest Doc would benefit some clarity, especially that proto variable in **snake_case** get corresponding variables in **camelCase**

protobuf.js version: 7.3.2 According to [protobuf language specification](https://protobuf.com/docs/language-spec#option-values) option value in form of `MessageLiteralWithBraces = l_brace MessageTexFormat r_brace` can have `MessageLiteralFieldName` represented as `l_bracket SpecialFieldName r_bracket` (see [Protobuf Text Format...

protobuf.js version: 7.3.2 I believe there is an issue with the way null is handled in the JSDoc / TS type definitions. Specifically, the construction of properties / members in...

protobuf.js version: 6.8.8 we have two proto file a.proto and b.proto ```protobuf syntax = "proto3"; package ttt; message A{ string RID = 1; } ``` ```protobuf syntax = "proto3"; package...