awesome-ajv-errors
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -13,3 +13,2 @@ "use strict"; | ||
: arg.maxWidth; | ||
whiteSpacePerChar; | ||
const charWidth = numberWidth * font_1.font.width; | ||
@@ -16,0 +15,0 @@ const emptyLine = ' '.repeat(charWidth); |
@@ -6,4 +6,6 @@ "use strict"; | ||
function getValueByPath(context, path = context.dataPath.dotOnly) { | ||
if (context.data === null || typeof context.data !== 'object') | ||
return context.data; | ||
return pointer.get(context.data, path.replace(/\./g, '/')); | ||
} | ||
exports.getValueByPath = getValueByPath; |
{ | ||
"name": "awesome-ajv-errors", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Prettified AJV errors", | ||
@@ -5,0 +5,0 @@ "author": "Gustaf Räntilä", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69817
1296