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

json-schema-defaults

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-defaults - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

bower.json
{
"name": "json-schema-defaults",
"main": "index.js",
"version": "0.2.0",
"version": "0.3.0",
"authors": [

@@ -6,0 +6,0 @@ "Chute <hello@getchute.com>"

@@ -0,1 +1,6 @@

<a name="0.3.0"></a>
## 0.3.0 (2016-12-26)
* clone array items defined by object schema ([31fd902a](https://github.com/chute/json-schema-defaults/commit/31fd902a7c939009f07ba08438f5f2d6a40023c1))
<a name="0.2.0"></a>

@@ -2,0 +7,0 @@ ## 0.2.0 (2016-08-05)

@@ -194,3 +194,3 @@ (function(root, factory) {

for (var i = 0; i < Math.max(1, ct); i++) {
values.push(value);
values.push(cloneJSON(value));
}

@@ -197,0 +197,0 @@ return values;

{
"name": "json-schema-defaults",
"version": "0.2.0",
"version": "0.3.0",
"description": "Generate JSON object from default values in JSON Schema",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/chute/grunt-json-schema-defaults",

@@ -30,3 +30,3 @@ # JSON Schema Defaults [![Build Status](https://travis-ci.org/chute/json-schema-defaults.svg?branch=master)](https://travis-ci.org/chute/json-schema-defaults)

```js
var defaults = require('./path/to/index.js');
var defaults = require('json-schema-defaults');
defaults({ ... });

@@ -33,0 +33,0 @@ ```

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