@microsoft/teams-manifest
Advanced tools
Comparing version 0.1.7-alpha.dc2ed64c9.0 to 0.1.7-alpha.e623f48bd.0
@@ -88,3 +88,7 @@ "use strict"; | ||
else { | ||
const ajv = new ajv_draft_04_1.default({ formats: { uri: true }, allErrors: true, strictTypes: false }); | ||
const ajv = new ajv_draft_04_1.default({ | ||
allErrors: true, | ||
strictTypes: false, | ||
}); | ||
(0, ajv_formats_1.default)(ajv, ["uri", "email", "regex"]); | ||
validate = ajv.compile(schema); | ||
@@ -94,3 +98,3 @@ } | ||
if (!valid && validate.errors) { | ||
return Promise.resolve((_b = validate.errors) === null || _b === void 0 ? void 0 : _b.map((error) => `${error.instancePath} ${error.message || ""}`)); | ||
return Promise.resolve((_b = validate.errors) === null || _b === void 0 ? void 0 : _b.map((error) => `${error.instancePath} ${error.message || ""}. Details: ${error.params ? JSON.stringify(error.params) : ""}`)); | ||
} | ||
@@ -97,0 +101,0 @@ else { |
{ | ||
"name": "@microsoft/teams-manifest", | ||
"version": "0.1.7-alpha.dc2ed64c9.0", | ||
"version": "0.1.7-alpha.e623f48bd.0", | ||
"main": "build/index.js", | ||
@@ -65,3 +65,3 @@ "types": "build/index.d.ts", | ||
}, | ||
"gitHead": "22e32fe4131772aab0733a3765d0fac7c205e3eb" | ||
"gitHead": "6e245c83b801c92a3ed138f9a24a7655db3fdba4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
109148
1997