Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@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 779 weekly downloads. As such, @dxos/codec-protobuf popularity was classified as not 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 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.