Skip to content

Commit

Permalink
fix: ajv-merge-patch issue 56
Browse files Browse the repository at this point in the history
  • Loading branch information
timheilman committed Dec 12, 2023
1 parent 0a4c44f commit e13edc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keywords/add_keyword.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function (ajv, keyword, jsonPatch, patchSchema) {
: $ref;
var validate = ajv.getSchema(id);
if (validate) return validate.schema;
throw new ajv.constructor.MissingRefError(it.baseId, $ref);
throw new ajv.constructor.MissingRefError(ajv.opts.uriResolver, it.baseId, $ref);
}
},
metaSchema: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"json-merge-patch": "^1.0.2"
},
"devDependencies": {
"ajv": "^8.2.0",
"ajv": "^8.10.0",
"coveralls": "^3.1.1",
"eslint": "^7.8.1",
"mocha": "^9.0.3",
"nyc": "^15.1.0",
"pre-commit": "^1.1.3"
},
"peerDependencies": {
"ajv": ">=8.0.0"
"ajv": ">=8.10.0"
},
"nyc": {
"exclude": [
Expand Down

0 comments on commit e13edc7

Please sign in to comment.