Socket
Socket
Sign inDemoInstall

ajv-merge-patch

Package Overview
Dependencies
31
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 4.0.0

2

keywords/add_keyword.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc