@fileverse-dev/ddoc 2.1.1-patch-9 → 2.1.1-patch-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.es.js +1 -1
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -79421,7 +79421,7 @@ const m5 = [
79421
79421
  { color: "#073763", code: "bg-[#073763]" },
79422
79422
  { color: "#20124D", code: "bg-[#20124D]" },
79423
79423
  { color: "#4C1130", code: "bg-[#4C1130]" }
79424
- ], u4 = (t, e) => t.type.includes("image") && !t.type.includes("image/png") && !t.type.includes("image/jpeg") ? (e && typeof e == "function" && e("Invalid image type. Try PNG or JPEG."), !1) : !0, BQ = (t) => {
79424
+ ], u4 = (t, e) => t.type.includes("image") && !["image/png", "image/jpeg", "image/gif"].includes(t.type) ? (e && typeof e == "function" && e("Invalid image type. Try PNG, JPEG or GIF."), !1) : !0, BQ = (t) => {
79425
79425
  const n = `
79426
79426
  <!DOCTYPE html>
79427
79427
  <html>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.1.1-patch-9",
5
+ "version": "2.1.1-patch-10",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {