@spscommerce/utils 8.4.0 → 8.4.2
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -715,7 +715,7 @@ function oe(e) {
|
|
|
715
715
|
throw new Error("parseFileSize does not support units above PB");
|
|
716
716
|
return Math.ceil(t * x ** r);
|
|
717
717
|
}
|
|
718
|
-
const P = /(<%=|{{)(.+?)(%>|}})/g, E = /<%\?(.+?)%>(.+?)<\/%>/g, T = Symbol("sps.utils.templateSrc");
|
|
718
|
+
const P = /(<%=|{{)(.+?)(%>|}})/g, E = /<%\?(.+?)%>(.+?)<\/%>/g, T = /* @__PURE__ */ Symbol("sps.utils.templateSrc");
|
|
719
719
|
function se(e) {
|
|
720
720
|
const n = (a) => e.replace(E, (t, r, i) => b(a, r.trim()) ? i : "").replace(P, (t, r, i) => b(a, i.trim(), ""));
|
|
721
721
|
return n[T] = e, n;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/utils",
|
|
3
3
|
"description": "Utility items for frontend projects.",
|
|
4
|
-
"version": "8.4.
|
|
4
|
+
"version": "8.4.2",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/utils",
|