@plumeria/turbopack-loader 13.0.0 → 13.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ function cleanStaleThemeRules(currentCss, optInCss) {
49
49
  }
50
50
  let cleanedCss = currentCss;
51
51
  for (const hash of hashes) {
52
- const ruleRegex = new RegExp(`(@[a-zA-Z]+[^{]*\\{[^{]*\\{[^\\}]*--${hash}-[a-zA-Z0-9-]+[^\\}]*\\}[^\\}]*\\})|([^\\}]*\\{[^\\}]*--${hash}-[a-zA-Z0-9-]+[^\\}]*\\})`, 'g');
52
+ const ruleRegex = new RegExp(`(@[a-zA-Z]+[^{]*\\{[^{]*\\{[^\\}]*--${hash}-[a-zA-Z0-9-]+:[^\\}]*\\}[^\\}]*\\})|([^\\}]*\\{[^\\}]*--${hash}-[a-zA-Z0-9-]+:[^\\}]*\\})`, 'g');
53
53
  cleanedCss = cleanedCss.replace(ruleRegex, '');
54
54
  }
55
55
  return cleanedCss.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/turbopack-loader",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "Plumeria Turbopack-loader",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "zero-virtual.css"
23
23
  ],
24
24
  "dependencies": {
25
- "@plumeria/utils": "^13.0.0"
25
+ "@plumeria/utils": "^13.0.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@swc/core": "1.15.40",