@cms-lab/core 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -708,7 +708,7 @@ function imageAltCandidate(provider, record) {
708
708
  if (typeof record.url === "string" && ("alt" in record || "dimensions" in record)) {
709
709
  return { isImage: true, value: record.alt };
710
710
  }
711
- if (provider === "strapi" && typeof record.url === "string" && ("alternativeText" in record || "mime" in record || "formats" in record)) {
711
+ if (provider === "strapi" && typeof record.url === "string" && ("alternativeText" in record || "formats" in record)) {
712
712
  return { isImage: true, value: record.alternativeText };
713
713
  }
714
714
  if (provider === "wordpress" && typeof record.source_url === "string" && ("alt_text" in record || "media_type" in record || "mime_type" in record)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cms-lab/core",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "type": "module",
5
5
  "description": "Core config, scan, diagnostics, and checks for cms-lab.",
6
6
  "license": "MIT",