@unocss/extractor-arbitrary-variants 66.6.6-beta.1 → 66.6.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/dist/index.mjs +1 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { defaultSplitRE, isValidSelector } from "@unocss/core";
|
|
2
|
-
|
|
3
2
|
//#region ../../virtual-shared/integration/src/utils.ts
|
|
4
3
|
function hash(str) {
|
|
5
4
|
let i;
|
|
@@ -24,7 +23,6 @@ function restoreSkipCode(code, map) {
|
|
|
24
23
|
for (const [withHashKey, matched] of map.entries()) code = code.replaceAll(withHashKey, matched);
|
|
25
24
|
return code;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
//#region src/source-map.ts
|
|
30
28
|
const sourceMapRE = /\/\/#\s*sourceMappingURL=.*\n?/g;
|
|
@@ -32,7 +30,6 @@ function removeSourceMap(code) {
|
|
|
32
30
|
if (code.includes("sourceMappingURL=")) return code.replace(sourceMapRE, "");
|
|
33
31
|
return code;
|
|
34
32
|
}
|
|
35
|
-
|
|
36
33
|
//#endregion
|
|
37
34
|
//#region src/index.ts
|
|
38
35
|
const quotedArbitraryValuesRE = /(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g;
|
|
@@ -64,6 +61,5 @@ function extractorArbitraryVariants() {
|
|
|
64
61
|
}
|
|
65
62
|
};
|
|
66
63
|
}
|
|
67
|
-
|
|
68
64
|
//#endregion
|
|
69
|
-
export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
|
|
65
|
+
export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/extractor-arbitrary-variants",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.6.
|
|
4
|
+
"version": "66.6.7",
|
|
5
5
|
"description": "Extractor arbitrary variants for utilities",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@unocss/core": "66.6.
|
|
32
|
+
"@unocss/core": "66.6.7"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsdown --config-loader unrun",
|