@pandacss/shared 0.0.0-dev-20230416182746 → 0.0.0-dev-20230416210337

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/index.js CHANGED
@@ -340,8 +340,9 @@ function cssVar(name, options = {}) {
340
340
  }
341
341
 
342
342
  // src/esc.ts
343
+ var escapeRegExp = /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g;
343
344
  function esc2(str) {
344
- return "".replace.call(str, /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g, "\\$1");
345
+ return "".replace.call(str, escapeRegExp, "\\$1");
345
346
  }
346
347
 
347
348
  // src/flatten.ts
package/dist/index.mjs CHANGED
@@ -278,8 +278,9 @@ function cssVar(name, options = {}) {
278
278
  }
279
279
 
280
280
  // src/esc.ts
281
+ var escapeRegExp = /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g;
281
282
  function esc2(str) {
282
- return "".replace.call(str, /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g, "\\$1");
283
+ return "".replace.call(str, escapeRegExp, "\\$1");
283
284
  }
284
285
 
285
286
  // src/flatten.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.0.0-dev-20230416182746",
3
+ "version": "0.0.0-dev-20230416210337",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",