Comparing version 1.11.0 to 1.12.0
# History | ||
## 1.12.0 | ||
* Fix issue with anon bitfield in compiler | ||
## 1.11.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"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(', ') + '}' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152842
4183