@aeriajs/core 0.0.196 → 0.0.198
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.
|
@@ -177,7 +177,7 @@ const validate = (value, ctx) => {
|
|
|
177
177
|
return value;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
const { error } = (0, validation_1.validateProperty)(
|
|
180
|
+
const { error } = (0, validation_1.validateProperty)(value, ctx.property);
|
|
181
181
|
if (error) {
|
|
182
182
|
return types_1.Result.error({
|
|
183
183
|
[ctx.propName]: error,
|
|
@@ -145,7 +145,7 @@ const validate = (value, ctx) => {
|
|
|
145
145
|
return value;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
const { error } = validateProperty(
|
|
148
|
+
const { error } = validateProperty(value, ctx.property);
|
|
149
149
|
if (error) {
|
|
150
150
|
return Result.error({
|
|
151
151
|
[ctx.propName]: error
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.198",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"aeriaMain": "tests/fixtures/aeriaMain.js",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"mongodb-memory-server": "^9.2.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aeriajs/builtins": "^0.0.
|
|
45
|
+
"@aeriajs/builtins": "^0.0.198",
|
|
46
46
|
"@aeriajs/common": "^0.0.120",
|
|
47
47
|
"@aeriajs/entrypoint": "^0.0.123",
|
|
48
|
-
"@aeriajs/http": "^0.0.
|
|
49
|
-
"@aeriajs/security": "^0.0.
|
|
48
|
+
"@aeriajs/http": "^0.0.138",
|
|
49
|
+
"@aeriajs/security": "^0.0.198",
|
|
50
50
|
"@aeriajs/types": "^0.0.102",
|
|
51
|
-
"@aeriajs/validation": "^0.0.
|
|
51
|
+
"@aeriajs/validation": "^0.0.127"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"mongodb": "^6.5.0",
|