emily-css 1.2.6 → 1.2.7

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to `emily-css` are documented here.
4
4
 
5
5
  ---
6
6
 
7
+ ## v1.2.7 — May 2026
8
+
9
+ **Fix migration scanner filtering so Vue dynamic class placeholders such as [rootClass] are not reported as unsupported arbitrary value utilities.**
10
+
11
+ ### Fixed
12
+ - fix: ignore dynamic class placeholders in migration scan
13
+
14
+ ---
7
15
  ## v1.2.6 — May 2026
8
16
 
9
17
  **Fix migration scanner false positives by ignoring prose tokens, JS property access, and dynamic placeholders while keeping valid utility classes and arbitrary value support.**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emily-css",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "A config-driven utility CSS framework. Define your brand once, generate the CSS.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/migrate.js CHANGED
@@ -579,7 +579,7 @@ function isLikelyUtilityClass(className) {
579
579
  * Ignore obvious prose / JS expressions
580
580
  */
581
581
  if (/[.]+$/.test(className)) return false;
582
- if (/^[[][^:\]]+[]]$/.test(className)) return false;
582
+ if (/^\[[^\]:]+\]$/.test(className)) return false;
583
583
  if (/^[a-zA-Z]+\.[a-zA-Z0-9_$]+$/.test(className)) return false;
584
584
  if (/^[a-z]+$/.test(className) && !SINGLE_WORD_UTILITY_ALLOWLIST.has(className)) return false;
585
585
  if (!hasUtilityLikeSyntax(className) && !SINGLE_WORD_UTILITY_ALLOWLIST.has(className)) return false;