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

protodef-yaml

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protodef-yaml - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

2

generators/protodef.js

@@ -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

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