
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@dxos/codec-protobuf
Advanced tools
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
Based on:
In protobuf scalar fields (numbers, booleans, strings, bytes, enums) may have an implicit default value:
Example:
int32 number = 1;
If the field is set to it's default value (0 in this example) it MAY be missing in the wire encoding (Go implementation) or present with the value set to 0 (JS implementation).
When decoding, the missing fields MUST be treated as having the default implicit value (0 in this case).
optional int32 number = 1;
If the field is set to it's default value (0 in this example) it MUST be present in the wire encoding with the value set to 0.
When decoding, the missing fields it MUST be set as undefined. If the field is present in the wire format, it must be set to its numeric value.
This package must NOT use toolchain
to avoid cyclic dependencies.
FAQs
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
The npm package @dxos/codec-protobuf receives a total of 4,238 weekly downloads. As such, @dxos/codec-protobuf popularity was classified as popular.
We found that @dxos/codec-protobuf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.