@unocss/extractor-arbitrary-variants 0.63.5 → 0.64.0

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.d.mts CHANGED
@@ -3,6 +3,6 @@ import { Extractor } from '@unocss/core';
3
3
  declare const quotedArbitraryValuesRE: RegExp;
4
4
  declare const arbitraryPropertyRE: RegExp;
5
5
  declare function splitCodeWithArbitraryVariants(code: string): string[];
6
- declare const extractorArbitraryVariants: Extractor;
6
+ declare function extractorArbitraryVariants(): Extractor;
7
7
 
8
- export { arbitraryPropertyRE, extractorArbitraryVariants as default, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
8
+ export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
package/dist/index.d.ts CHANGED
@@ -3,6 +3,6 @@ import { Extractor } from '@unocss/core';
3
3
  declare const quotedArbitraryValuesRE: RegExp;
4
4
  declare const arbitraryPropertyRE: RegExp;
5
5
  declare function splitCodeWithArbitraryVariants(code: string): string[];
6
- declare const extractorArbitraryVariants: Extractor;
6
+ declare function extractorArbitraryVariants(): Extractor;
7
7
 
8
- export { arbitraryPropertyRE, extractorArbitraryVariants as default, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
8
+ export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
package/dist/index.mjs CHANGED
@@ -59,12 +59,14 @@ function splitCodeWithArbitraryVariants(code) {
59
59
  });
60
60
  return result;
61
61
  }
62
- const extractorArbitraryVariants = {
63
- name: "@unocss/extractor-arbitrary-variants",
64
- order: 0,
65
- extract({ code }) {
66
- return splitCodeWithArbitraryVariants(removeSourceMap(code));
67
- }
68
- };
62
+ function extractorArbitraryVariants() {
63
+ return {
64
+ name: "@unocss/extractor-arbitrary-variants",
65
+ order: 0,
66
+ extract({ code }) {
67
+ return splitCodeWithArbitraryVariants(removeSourceMap(code));
68
+ }
69
+ };
70
+ }
69
71
 
70
- export { arbitraryPropertyRE, extractorArbitraryVariants as default, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
72
+ 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": "0.63.5",
4
+ "version": "0.64.0",
5
5
  "description": "Extractor arbitrary variants for utilities",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "0.63.5"
36
+ "@unocss/core": "0.64.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",