removed peerDependency, closes #78

master
Evgeny Poberezkin 2015-11-24 06:35:50 +00:00
parent cffb7c7f72
commit 06fd23217a
3 changed files with 3 additions and 6 deletions

View File

@ -26,7 +26,7 @@ NB: [Upgrading to version 2.0.0](https://github.com/epoberezkin/ajv/releases/tag
- [asynchronous loading](#asynchronous-compilation) of referenced schemas during compilation
- "All errors" validation mode with [option allErrors](#options)
- [error messages with parameters](#validation-errors) describing error reasons to allow creating custom error messages
- i18n error messages support with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package
- i18n error messages support with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package (version >= 1.0.0)
- [filtering data](#filtering-data) from additional properties
- NEW: [custom keywords](#defining-custom-keywords)
- NEW: keywords `constant` and `contains` from [JSON-schema v5 proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) with [option v5](#options)

View File

@ -62,4 +62,4 @@ module.exports = function addKeyword(keyword, definition) {
function checkDataType(dataType) {
if (!self.RULES.types[dataType]) throw new Error('Unknown type ' + dataType);
}
}
};

View File

@ -1,6 +1,6 @@
{
"name": "ajv",
"version": "2.0.1",
"version": "2.0.2",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"files": [
@ -58,8 +58,5 @@
"pre-commit": "^1.1.1",
"require-globify": "^1.3.0",
"watch": "^0.16.0"
},
"peerDependencies": {
"ajv-i18n": "^1.0.0"
}
}