ajv-merge-patch
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -42,3 +42,3 @@ 'use strict'; | ||
}, | ||
{ "$ref": "http://json-schema.org/draft-06/schema#" } | ||
{ "$ref": "http://json-schema.org/draft-07/schema#" } | ||
] | ||
@@ -45,0 +45,0 @@ }, |
{ | ||
"name": "ajv-merge-patch", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"ajv": "^5.0.0", | ||
"ajv": "^6.5.1", | ||
"coveralls": "^2.11.12", | ||
@@ -50,4 +50,4 @@ "eslint": "^3.3.0", | ||
"peerDependencies": { | ||
"ajv": ">=5.0.0" | ||
"ajv": ">=6.0.0" | ||
} | ||
} |
@@ -96,3 +96,3 @@ # ajv-merge-patch | ||
These keywords are compatible with Ajv version >=4.6.0 and require the option `v5: true`. | ||
These keywords are compatible with Ajv version >=5.1.0-beta.0. | ||
@@ -103,3 +103,3 @@ To add these keywords to Ajv instance: | ||
var Ajv = require('ajv'); | ||
var ajv = new Ajv({ v5: true }); | ||
var ajv = new Ajv(); | ||
require('ajv-merge-patch')(ajv); | ||
@@ -106,0 +106,0 @@ ``` |
@@ -44,3 +44,3 @@ 'use strict'; | ||
var sourceSchema = { | ||
"id": "obj.json#", | ||
"$id": "obj.json#", | ||
"type": "object", | ||
@@ -72,3 +72,3 @@ "properties": { "p": { "type": "string" } }, | ||
var schema = { | ||
"id": "obj.json#", | ||
"$id": "obj.json#", | ||
"definitions": { | ||
@@ -138,3 +138,3 @@ "source": { | ||
var schema = { | ||
"id": "obj2.json#", | ||
"$id": "obj2.json#", | ||
"definitions": { | ||
@@ -141,0 +141,0 @@ "patch":{ |
@@ -44,3 +44,3 @@ 'use strict'; | ||
var sourceSchema = { | ||
"id": "obj.json#", | ||
"$id": "obj.json#", | ||
"type": "object", | ||
@@ -72,3 +72,3 @@ "properties": { "p": { "type": "string" } }, | ||
var schema = { | ||
"id": "obj.json#", | ||
"$id": "obj.json#", | ||
"definitions": { | ||
@@ -75,0 +75,0 @@ "source": { |
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
19116
15