lucid-extension-sdk
Advanced tools
Comparing version 0.0.357 to 0.0.358
@@ -73,2 +73,3 @@ "use strict"; | ||
return (subject, invalidElements, level = 0) => { | ||
var _a; | ||
if (!(0, checks_1.isArray)(subject)) { | ||
@@ -85,3 +86,6 @@ return false; | ||
}); | ||
invalidElements === null || invalidElements === void 0 ? void 0 : invalidElements.set(level, invalidList); | ||
if ((0, checks_1.isMap)(invalidElements)) { | ||
const prevInvalidList = (_a = invalidElements.get(level)) !== null && _a !== void 0 ? _a : []; | ||
invalidElements.set(level, prevInvalidList.concat(invalidList)); | ||
} | ||
return valid; | ||
@@ -88,0 +92,0 @@ }; |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.357", | ||
"version": "0.0.358", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
899864
20498