aboutsummaryrefslogtreecommitdiff
path: root/node_modules/ajv-keywords
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/ajv-keywords
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
upgrade dependencies
Diffstat (limited to 'node_modules/ajv-keywords')
-rw-r--r--node_modules/ajv-keywords/README.md8
-rw-r--r--node_modules/ajv-keywords/package.json14
2 files changed, 11 insertions, 11 deletions
diff --git a/node_modules/ajv-keywords/README.md b/node_modules/ajv-keywords/README.md
index 9334531a0..0eb497175 100644
--- a/node_modules/ajv-keywords/README.md
+++ b/node_modules/ajv-keywords/README.md
@@ -216,7 +216,7 @@ var validItems = [1, 5, 10, 20, 50, 100, 200, 500, 1000];
var invalidItems = [1, 0, 2000, 11, 57, 123, 'foo'];
```
-__Please note__: this keyword is moved here from Ajv, mainly to preserve beckward compatibility. It is unlikely to become a standard. It's preferreable to use `if`/`then`/`else` keywords if possible, as they are likely to be added to the standard. The above schema is equivalent to (for example):
+__Please note__: this keyword is moved here from Ajv, mainly to preserve backward compatibility. It is unlikely to become a standard. It's preferable to use `if`/`then`/`else` keywords if possible, as they are likely to be added to the standard. The above schema is equivalent to (for example):
```javascript
{
@@ -312,12 +312,12 @@ var invalidDataList = [
];
```
-__Please note__: the current implementation is BETA. It does not allow using relative URIs in $ref keywords in schemas in `selectCases` and `selectDefault` that point ouside of these schemas. The workaround is to use absolute URIs (that can point to any (sub-)schema added to Ajv, including those inside the current root schema where `select` is used). See [tests](https://github.com/epoberezkin/ajv-keywords/blob/v2.0.0/spec/tests/select.json#L314).
+__Please note__: the current implementation is BETA. It does not allow using relative URIs in $ref keywords in schemas in `selectCases` and `selectDefault` that point outside of these schemas. The workaround is to use absolute URIs (that can point to any (sub-)schema added to Ajv, including those inside the current root schema where `select` is used). See [tests](https://github.com/epoberezkin/ajv-keywords/blob/v2.0.0/spec/tests/select.json#L314).
### `patternRequired`
-This keyword allows to require the presense of properties that match some pattern(s).
+This keyword allows to require the presence of properties that match some pattern(s).
This keyword applies only to objects. If the data is not an object, the validation succeeds.
@@ -456,7 +456,7 @@ The keyword allows to check that some properties in array items are unique.
This keyword applies only to arrays. If the data is not an array, the validation succeeds.
-The value of this keyword must be an array of strings - property names that should have unique values accross all items.
+The value of this keyword must be an array of strings - property names that should have unique values across all items.
```javascript
var schema = { uniqueItemProperties: [ "id", "name" ] };
diff --git a/node_modules/ajv-keywords/package.json b/node_modules/ajv-keywords/package.json
index 6d5ae698e..d8e5afd7e 100644
--- a/node_modules/ajv-keywords/package.json
+++ b/node_modules/ajv-keywords/package.json
@@ -1,6 +1,6 @@
{
"name": "ajv-keywords",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "Custom JSON-Schema keywords for Ajv validator",
"main": "index.js",
"scripts": {
@@ -31,20 +31,20 @@
},
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"peerDependencies": {
- "ajv": ">=5.0.0"
+ "ajv": "^5.0.0"
},
"devDependencies": {
"ajv": "^5.0.0",
"ajv-pack": "^0.3.0",
- "chai": "^3.5.0",
- "coveralls": "^2.11.9",
+ "chai": "^4.0.2",
+ "coveralls": "^3.0.0",
"dot": "^1.1.1",
- "eslint": "^3.6.0",
+ "eslint": "^4.9.0",
"glob": "^7.1.1",
"istanbul": "^0.4.3",
- "js-beautify": "^1.6.4",
+ "js-beautify": "^1.7.4",
"json-schema-test": "^1.3.0",
- "mocha": "^3.0.2",
+ "mocha": "^4.0.0",
"pre-commit": "^1.1.3",
"uuid": "^3.0.1"
}