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

schema-to-json

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-to-json - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

10

CHANGELOG.md

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

2

lib/defaults.js

@@ -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": {

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