@naturalcycles/nodejs-lib 15.5.0 → 15.6.0
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.
|
@@ -92,8 +92,8 @@ export class AjvSchema {
|
|
|
92
92
|
dataVar: name,
|
|
93
93
|
separator,
|
|
94
94
|
});
|
|
95
|
-
const
|
|
96
|
-
message = [message, 'Input: ' +
|
|
95
|
+
const inputStringified = _inspect(obj, { maxLen: 4000 });
|
|
96
|
+
message = [message, 'Input: ' + inputStringified].join(separator);
|
|
97
97
|
return new AjvValidationError(message, _filterNullishValues({
|
|
98
98
|
errors,
|
|
99
99
|
objectName,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/nodejs-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.6.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@naturalcycles/js-lib": "^15",
|
|
7
7
|
"@types/js-yaml": "^4",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/through2-concurrent": "^2",
|
|
26
|
-
"@naturalcycles/dev-lib": "
|
|
26
|
+
"@naturalcycles/dev-lib": "18.4.2"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": "./dist/index.js",
|
|
@@ -150,8 +150,8 @@ export class AjvSchema<T = unknown> {
|
|
|
150
150
|
separator,
|
|
151
151
|
})
|
|
152
152
|
|
|
153
|
-
const
|
|
154
|
-
message = [message, 'Input: ' +
|
|
153
|
+
const inputStringified = _inspect(obj, { maxLen: 4000 })
|
|
154
|
+
message = [message, 'Input: ' + inputStringified].join(separator)
|
|
155
155
|
|
|
156
156
|
return new AjvValidationError(
|
|
157
157
|
message,
|