protodef-yaml
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -370,3 +370,3 @@ const fs = globalThis.window ? null : require('fs') | ||
fields: as, | ||
default: def.length ? def : 'void' | ||
default: def.length ? def : undefined | ||
} | ||
@@ -373,0 +373,0 @@ ] |
@@ -0,1 +1,4 @@ | ||
## 1.5.3 | ||
* [Use undefined instead of void for ProtoDef switch defaults](https://github.com/extremeheat/protodef-yaml/commit/855cc721b8785761411bc7c6aac6fc155612e9a6) (thanks @extremeheat) | ||
## 1.5.2 | ||
@@ -2,0 +5,0 @@ * [Parse !special fields as string if we have a float-string parsing disreprency](https://github.com/extremeheat/protodef-yaml/commit/aecec767963b4248b41de01c652f34776ae21382) (thanks @extremeheat) |
{ | ||
"name": "protodef-yaml", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Transforms YAML-like syntax to ProtoDef JSON schema", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -158,4 +158,3 @@ { | ||
] | ||
}, | ||
"default": "void" | ||
} | ||
} | ||
@@ -183,4 +182,3 @@ ] | ||
] | ||
}, | ||
"default": "void" | ||
} | ||
} | ||
@@ -187,0 +185,0 @@ ] |
@@ -28,3 +28,3 @@ const { parse, compile, genHTML } = require('../index') | ||
console.info('sha1', hash) | ||
assert.strictEqual(hash, '2cd08c609e734c8a914a46ec29540daf74907746') | ||
assert.strictEqual(hash, 'c31e7a1ecf123f0a99c46851baf20aeef3e8960d') | ||
}) | ||
@@ -36,3 +36,3 @@ | ||
console.info('sha1 of optionals', hash) | ||
assert.strictEqual(hash, '3c24211c3b0ed22371104a0485277e607dc7b58b') | ||
assert.strictEqual(hash, '3c8517a43bd5f84193be7cb47e1295ecfea77363') | ||
}) | ||
@@ -44,3 +44,3 @@ | ||
console.info('sha1 of mcpc', hash) | ||
assert.strictEqual(hash, 'ae1814852484282be4bbfe13c132ad44e780b162') | ||
assert.strictEqual(hash, '8968dfbf2ccb49d8608e406a8dd5b1d161be8af4') | ||
}) | ||
@@ -47,0 +47,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1375919
30615