@pandacss/eslint-plugin 0.2.1 → 0.2.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/dist/index.js CHANGED
@@ -7957,7 +7957,7 @@ init_cjs_shims();
7957
7957
 
7958
7958
  // package.json
7959
7959
  var name = "@pandacss/eslint-plugin";
7960
- var version = "0.2.1";
7960
+ var version = "0.2.2";
7961
7961
 
7962
7962
  // src/configs/all.ts
7963
7963
  init_cjs_shims();
@@ -8206,7 +8206,7 @@ var isColorToken = (value, context) => {
8206
8206
  };
8207
8207
  var invalidTokensCache = /* @__PURE__ */ new Map();
8208
8208
  var extractTokens = (value) => {
8209
- const regex = /token\(([^"'(),]+)(?:,\s*([^"'(),]+))?\)|\{([^{}]+)\}/g;
8209
+ const regex = /token\(([^"'(),]+)(?:,\s*([^"'(),]+))?\)|\{([^{\r\n}]+)\}/g;
8210
8210
  const matches = [];
8211
8211
  let match;
8212
8212
  while ((match = regex.exec(value)) !== null) {
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ var name, version;
10
10
  var init_package = __esm({
11
11
  "package.json"() {
12
12
  name = "@pandacss/eslint-plugin";
13
- version = "0.2.1";
13
+ version = "0.2.2";
14
14
  }
15
15
  });
16
16
 
@@ -8207,7 +8207,7 @@ var init_helpers = __esm({
8207
8207
  };
8208
8208
  invalidTokensCache = /* @__PURE__ */ new Map();
8209
8209
  extractTokens = (value) => {
8210
- const regex = /token\(([^"'(),]+)(?:,\s*([^"'(),]+))?\)|\{([^{}]+)\}/g;
8210
+ const regex = /token\(([^"'(),]+)(?:,\s*([^"'(),]+))?\)|\{([^{\r\n}]+)\}/g;
8211
8211
  const matches = [];
8212
8212
  let match;
8213
8213
  while ((match = regex.exec(value)) !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/eslint-plugin",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Eslint plugin for Panda CSS",
5
5
  "author": "Abraham Aremu <anubra266@gmail.com>",
6
6
  "main": "dist/index.js",