@fileverse-dev/ddoc 2.0.2-patch-6 → 2.0.2-patch-7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.es.js +7 -5
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -138570,10 +138570,12 @@ const agt = /* @__PURE__ */ q4(ogt), lgt = ({
138570
138570
  isNavbarVisible: r,
138571
138571
  setIsNavbarVisible: i
138572
138572
  }) => {
138573
- const { toolVisibility: s, setToolVisibility: o, bottomToolbar: a } = kL({
138574
- editor: t,
138575
- onError: e
138576
- }), l = wL("(max-width: 1023px)"), [c, u] = et(""), [f, d] = et(""), [h, p] = et(!0), [m, g] = et(!0), v = $e(null), k = () => {
138573
+ const { toolVisibility: s, setToolVisibility: o, bottomToolbar: a } = kL(
138574
+ {
138575
+ editor: t,
138576
+ onError: e
138577
+ }
138578
+ ), l = wL("(max-width: 1023px)"), [c, u] = et(""), [f, d] = et(""), [h, p] = et(!0), [m, g] = et(!0), v = $e(null), k = () => {
138577
138579
  if (c === null) {
138578
138580
  g(!1), o(pt.NONE);
138579
138581
  return;
@@ -138587,7 +138589,7 @@ const agt = /* @__PURE__ */ q4(ogt), lgt = ({
138587
138589
  return;
138588
138590
  }
138589
138591
  let x = c;
138590
- !c.startsWith("http://") || !c.startsWith("https://") ? x = "https://" + c : x = c;
138592
+ !c.startsWith("http://") && !c.startsWith("https://") ? x = "https://" + c : x = c;
138591
138593
  try {
138592
138594
  x.match(
138593
138595
  /^((http|https):\/\/)?([w|W]{3}\.)+[a-zA-Z0-9\-\.]{3,}\.[a-zA-Z]{2,}(\.[a-zA-Z]{2,})?$/
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.0.2-patch-6",
5
+ "version": "2.0.2-patch-7",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {