@riboseinc/anafero-cli 0.0.59 → 0.0.61

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.
package/bootstrap.js CHANGED
@@ -110332,8 +110332,9 @@ schema (${ast._tag}): ${ast}`;
110332
110332
  el.setAttribute("id", inferredID);
110333
110333
  } else if (["href", "src"].includes(attr.name)) {
110334
110334
  const isHTTPHref = attr.name === "href" && attr.value.startsWith("http");
110335
+ const isMailtoHref = attr.name === "href" && attr.value.startsWith("mailto:");
110335
110336
  const isDataSrc = attr.name === "src" && attr.value.startsWith("data:");
110336
- if (!isHTTPHref && !isDataSrc) {
110337
+ if (!isHTTPHref && !isDataSrc && !isMailtoHref) {
110337
110338
  let resolvedResourcePath;
110338
110339
  try {
110339
110340
  resolvedResourcePath = locateResource(attr.value);