presidium 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/StrictValidator.js +1 -1
- package/package.json +2 -2
package/StrictValidator.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ) -> strictValidator Validator
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
-
* Creates a strict validator. A strict validator validates each field of a `data` object with the corresponding `parserValidator` function. A strict validator throws an error if any of the required fields specified by the `parserValidatorSchema` are missing.
|
|
17
|
+
* Creates a strict validator. A strict validator validates each field of a `data` object with the corresponding `parserValidator` function. A strict validator throws an error if any of the required fields specified by the `parserValidatorSchema` are missing (not in the data object).
|
|
18
18
|
*
|
|
19
19
|
* Arguments:
|
|
20
20
|
* * `parserValidatorSchema` - an object of parser validator functions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "presidium",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A library for creating web services",
|
|
5
5
|
"author": "Richard Tong",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"bcrypt": "^5.1.0",
|
|
63
63
|
"minimatch": "^9.0.3",
|
|
64
|
-
"presidium-websocket": ">=
|
|
64
|
+
"presidium-websocket": ">=2.0.1",
|
|
65
65
|
"rubico": "^2.7.7",
|
|
66
66
|
"tar-stream": "^2.1.4"
|
|
67
67
|
},
|