@jxsuite/runtime 5.1.0 → 5.2.0

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/dist/runtime.js CHANGED
@@ -2814,7 +2814,7 @@ function transposeCanvasUnits(value) {
2814
2814
  if (!_canvasViewportTranspose || !value.includes("v")) {
2815
2815
  return value;
2816
2816
  }
2817
- return value.replace(VIEWPORT_UNIT_RE, (_m, num, dim) => `${num}${VIEWPORT_UNIT_MAP.get(dim.toLowerCase()) ?? `cq${dim}`}`);
2817
+ return value.replaceAll(VIEWPORT_UNIT_RE, (_m, num, dim) => `${num}${VIEWPORT_UNIT_MAP.get(dim.toLowerCase()) ?? `cq${dim}`}`);
2818
2818
  }
2819
2819
  var _canvasDelinkAnchors = false;
2820
2820
  function setCanvasDelinkAnchors(on) {
@@ -5217,5 +5217,5 @@ export {
5217
5217
  transposeCanvasUnits
5218
5218
  };
5219
5219
 
5220
- //# debugId=F9E5ED7079B70E8764756E2164756E21
5220
+ //# debugId=4EE9F58BD84E1FEB64756E2164756E21
5221
5221
  //# sourceMappingURL=runtime.js.map