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.0.0 I don't think optional types are working correctly. My understanding is that optional types (including proto3 optionals) should have a type signature of "|null|undefined", while non-optional types...

protobuf.js version: 6.11.3 Fails while trying to load proto with custom enum values proto line (complete [file](https://github.com/DianaSuvorova/test-protobufjs/blob/main/test.proto) to repro) ``` enum SideEffectTask { SIDE_EFFECT_TASK_INVALID = 0 [(descriptors) = {id: "SIDE_EFFECT_TASK_INVALID",...

protobuf.js version: 6.8.8 My use case for the generated Typescript types, specifically the interfaces, is to expose a less verbose API to a client consuming, what is under the hood,...

Remove duplicate `long` types Long has shipped with its own TS types for a while now, and the package from DefinitelyTyped conflicts with the newest version. TS consumers wind up...

protobuf.js version: 6.11.3 (possibly affects every version after 6.9.0) Running pbjs command logs incorrect pkg version of protobuf.js version ([stderr line](https://github.com/protobufjs/protobuf.js/blob/b130dfd4f06b642d4b7c3ccc9f3f9fb6a6e6ed0d/cli/pbjs.js#L91)) To reproduce - install latest version of protobuf.js and...

I can't find protobufjs-cli on npm even though the README says that it is available. Potentially related to https://github.com/protobufjs/protobuf.js/pull/1535.

protobuf.js version: v7.0.0 Why `Any` uses `type_url` field instead of `typeUrl`? ```js // works const any = Any.create({ type_url: `'type.googleapis.com/foobar', value: buffer, }); // type url is missing const any...

package.json has `@types/long` and `@types/node` in the dependencies section but I think it should be in the devDependencies section. I installed in my project a library (newrelic) that uses this...

protobuf.js version: 7.0.0 Hello, all! Try to convert JS structure in proto message. Problem is that nested structure is always empty list. In example expected that output 3 will be...

This fixes sparse mode for my use-case. Protos are spread over several files, and may include nested messages/enums from other files. Additionally, this fixes the case where a Type is...

needs review