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: I used protobuf.min.js. But protobuf.load is only available in callback function. Otherwise 'Uncaught ReferenceError: protobuf is not defined at xxxx' will show. For example, the following is not...

protobuf.js version: 7.2.6 proto-files support repeated options that should be parsed as an array https://protobuf.com/docs/language-spec#resolving-option-names **foo.proto** ```proto syntax = "proto3"; import "google/protobuf/descriptor.proto"; extend google.protobuf.MessageOptions { repeated string fooOption = 80000;...

protobuf.js version: 7.2.6 I have this issue which happens intermittently. ```js fetch("url").then(res => { if (!res.ok) { console.error("Error - " + JSON.stringify(res)); throw error; } response.arrayBuffer().then(arryBuff => { const feed...

I'm trying to use this library on QuickJS but the run prompt cannot be found. It looks like this: ` "const $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); TypeError: Cannot...

I try to write the mqtt sparkplugB client to test some payload, but the embedded metrics oneof value can not encode. I found this problem in many place. its value...

how to define Two-dimensional Array, like [[1, 2, 3]] or [[{}, {}, {}]] i made proto like, but it doesn't work message Data { repeated uint32 val = 1; }...

protobuf.js version: 7.2.6 protobufjs-cli version: 1.1.2 The CLI pulls in `"glob": "^8.0.0",`. glob less than 9 has `inflight` as a dependency. `inflight` has a known vulnerability, https://security.snyk.io/package/npm/inflight, and as it...

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

When using `v7.2.5` our [proto](https://github.com/hashgraph/hedera-sdk-js/tree/develop/packages/proto) project works just fine. But when we are using `v7.2.6` the project can not be compiled because of thrown error `Error: ENOENT: no such file...