pbf icon indicating copy to clipboard operation
pbf copied to clipboard

A low-level, lightweight protocol buffers implementation in JavaScript.

Results 21 pbf issues
Sort by recently updated
recently updated
newest added

Sandbox: https://repl.it/repls/GleamingWhimsicalInformationtechnology pbf fails to compile this proto ```import "google/protobuf/any.proto"; message RequestEnvelope { string correlationId = 1; string callPath = 2; google.protobuf.Any payload = 3; } ``` with ``` ./node_modules/pbf/compile.js:157...

bug
question

It would be nice if this generated typescript type declarations corresponding to the generated Javascript code. Or even better, just have a `--typescript` mode that generates Typescript in the first...

enhancement

My project takes in encoded proto strings (which were created from google's protobuf) and I just need a package that can decode them into javascript. Is this package's decoding process...

question

Library should serialize default values of `oneof` field in any case to be possible to understand which one was set. Decoding fix for `oneof` was done in #51 for #54....

bug

Packed repeated enums are not handled when enums are toplevel Similar issue to #34

bug

i use google.protobuf.Any type, need import "google/protobuf/any.proto", when i pbf xxx.proto > xxx.js Error: ENOENT: no such file or directory, open '........./google/protobuf/any.proto', how i to do? thanks

question

Can we have a ES module version`import pbf from 'https://unpkg.com/[email protected]/dist/pbf.mjs?module'` please and a proto compiler `--module` flag that can output a module instead of a `self` thing. Life is to...

enhancement

Many of our protobuf objects end up being eventually serialized as JSON. Currently, message fields have default values of `null`, which gets serialized into the result. This is problematic because...

question

Is anyone here opposed to maybe adding a more user-friendly API to this library. Right now it takes a fair amount of boilerplate to do what is essentially `JSON.parse(encoded)` or...

question

Added Financial Data to data sources