json-schema-defaults
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"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 @@ ``` |
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
14386