schema-to-json
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.1.1"></a> | ||
## [1.1.1](https://github.com/forsigner/schema-to-json/compare/v1.1.0...v1.1.1) (2017-12-30) | ||
### Bug Fixes | ||
* set default if schema empty ([a0ce2b4](https://github.com/forsigner/schema-to-json/commit/a0ce2b4)) | ||
<a name="1.1.0"></a> | ||
@@ -7,0 +17,0 @@ # [1.1.0](https://github.com/forsigner/schema-to-json/compare/v1.0.0...v1.1.0) (2017-12-30) |
@@ -75,5 +75,5 @@ 'use strict'; | ||
function main(schema) { | ||
return defaults(clone(schema)); | ||
return defaults(clone(schema)) || {}; | ||
} | ||
module.exports = main; |
{ | ||
"name": "schema-to-json", | ||
"description": "", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/defaults.js", | ||
@@ -6,0 +6,0 @@ "author": { |
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
6082