Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protodef

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protodef - npm Package Compare versions

Comparing version 1.11.0 to 1.12.0

4

doc/history.md
# History
## 1.12.0
* Fix issue with anon bitfield in compiler
## 1.11.0

@@ -4,0 +8,0 @@

2

package.json
{
"name": "protodef",
"version": "1.11.0",
"version": "1.12.0",
"description": "A simple yet powerful way to define binary protocols",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -42,5 +42,9 @@ module.exports = {

const trueName = compiler.getField(name)
subnames.push(trueName)
if (name === trueName) names.push(name)
else names.push(`${name}: ${trueName}`)
if (name === trueName) {
names.push(name)
subnames.push(name)
} else {
names.push(`${name}: ${trueName}`)
subnames.push(`${name}: ${trueName}`)
}
}

@@ -47,0 +51,0 @@ trueName = '{' + subnames.join(', ') + '}'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc