@budibase/bbui 3.44.0 → 3.44.1

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/bbui.mjs +2 -1
  2. package/package.json +2 -2
package/dist/bbui.mjs CHANGED
@@ -35401,12 +35401,13 @@ function processStringWithLogsSync(l, u, f) {
35401
35401
  if (isBackendService()) throw Error("Logging disabled for backend bindings");
35402
35402
  return processStringSyncInternal(l, u, Object.assign(Object.assign({}, f), { logging: !0 }));
35403
35403
  }
35404
+ var escapeRegExp = (l) => l.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
35404
35405
  function disableEscaping(l) {
35405
35406
  let u = findDoubleHbsInstances(l);
35406
35407
  if (u == null) return l;
35407
35408
  let f = [...new Set(u)];
35408
35409
  for (let u of f) {
35409
- let f = RegExp(`${u}(?!})`, "g");
35410
+ let f = RegExp(`${escapeRegExp(u)}(?!})`, "g");
35410
35411
  l = l.replace(f, `{${u}}`);
35411
35412
  }
35412
35413
  return l;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "v3.44.0",
4
+ "version": "v3.44.1",
5
5
  "license": "MPL-2.0",
6
6
  "module": "dist/bbui.mjs",
7
7
  "exports": {
@@ -108,5 +108,5 @@
108
108
  }
109
109
  }
110
110
  },
111
- "gitHead": "3b4b472084bfed7fdf0b083c5a7390ce0a3eebda"
111
+ "gitHead": "1709761edbab48686390d5d2336283e31b0d1dce"
112
112
  }