protobuf-javascript icon indicating copy to clipboard operation
protobuf-javascript copied to clipboard

Results 73 protobuf-javascript issues
Sort by recently updated
recently updated
newest added

I have a import which is not used for javascript When use this plugin to generate the code, the useless import become a require(xxx) How to disable this. ![1](https://user-images.githubusercontent.com/29348971/204515958-0c05cf3e-76d8-44df-ac7e-29f1a96b8b3b.jpg) ![2](https://user-images.githubusercontent.com/29348971/204515697-3e107352-e7f8-4c62-82dc-a8134cc2dcfe.jpg)

enhancement
cleanup
triaged

Please provide a [musl](https://www.musl-libc.org/) compatible protoc-gen-js. I know it's possible because I've been able to build the project in Alpine Linux, but a release tar like the ones we already...

enhancement
triaged

This is the same issue as https://github.com/protocolbuffers/protobuf/issues/9152, which was notionally fixed in https://github.com/protocolbuffers/protobuf/pull/9156. However, it seems that as of 3.20.3 the output is (still? again?) the Jest-incompatible ```js var global...

bug
triaged

When using the plugin [v3.21.2](https://github.com/protocolbuffers/protobuf-javascript/releases/tag/v3.21.2) through `buf` on Linux (Ubuntu), I'm getting the following warning: > Warning: Generated file name "./some/path/to/file/my_message_pb.js" does not conform to the Protobuf generation specification. Note...

good first issue
P3
triaged

In the process of generating a PR, I noticed that the GitHub test runners caught issues in `commonjs/{import_test.js,strict_test.js}` that weren't triggered by my local `gulp test_commonjs` runs. Closure tests did...

bug
triaged

As of #146, we have a growing number of `@export` statements that have been added for the sake of closure optimizations while preserving tests. However, a lot of the exported...

cleanup
triaged

**What version of protobuf and what language are you using?** Version: v3.7.1. Language: Javascript **What operating system (Linux, Windows, ...) and version?** Chrome **What runtime / compiler are you using...

bug
javascript
triaged
port-fix

As in Java and other implementations, it would be great if the JS impl could provide facilities to easily prepend the size of the encoded message (as a varint) directly....

enhancement
javascript
triaged

As pointed out in https://github.com/angular/clutz/issues/501#issuecomment-297157148, there is no tutorial for Javascript at https://developers.google.com/protocol-buffers/docs/overview. A cursory search for "javascript tutorial" on this repository was not useful. Could we please add a...

documentation
good first issue
javascript
triaged

Hi, Has anyone thought of using JS typed arrays in the splitFloat and joinFloat methods for the JavaScript library (https://github.com/google/protobuf/blob/master/js/binary/utils.js#L388)? One could imagine adding something like: ``` jspb.utils.joinFloat64 = function(bitsLow,...

enhancement
javascript
P3
triaged