@colophon/schema
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -17,3 +17,8 @@ const { safeLoad } = require('js-yaml') | ||
if (typeof data === 'string') { | ||
data = safeLoad(data) | ||
try { | ||
data = safeLoad(data) | ||
} catch (error) { | ||
/* istanbul ignore next */ | ||
return Promise.reject(error) | ||
} | ||
} | ||
@@ -20,0 +25,0 @@ |
{ | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"name": "@colophon/schema", | ||
@@ -4,0 +4,0 @@ "description": "Schema & Validator for https://colophon.id", |
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
48685
605