@unocss/eslint-plugin 0.55.1 → 0.55.3
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/dirs.cjs +1 -3
- package/dist/index.cjs +2 -2
- package/package.json +6 -6
package/dist/dirs.cjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const node_url = require('node:url');
|
|
6
4
|
|
|
7
|
-
const distDir = node_url.fileURLToPath(new URL("../dist", (typeof document === 'undefined' ?
|
|
5
|
+
const distDir = node_url.fileURLToPath(new URL("../dist", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('dirs.cjs', document.baseURI).href))));
|
|
8
6
|
|
|
9
7
|
exports.distDir = distDir;
|
package/dist/index.cjs
CHANGED
|
@@ -7,9 +7,9 @@ const dirs = require('./dirs.cjs');
|
|
|
7
7
|
const MagicString = require('magic-string');
|
|
8
8
|
require('node:url');
|
|
9
9
|
|
|
10
|
-
function
|
|
10
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
11
11
|
|
|
12
|
-
const MagicString__default = /*#__PURE__*/
|
|
12
|
+
const MagicString__default = /*#__PURE__*/_interopDefaultCompat(MagicString);
|
|
13
13
|
|
|
14
14
|
const CLASS_FIELDS = ["class", "classname"];
|
|
15
15
|
const AST_NODES_WITH_QUOTES = ["Literal", "VLiteral"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/eslint-plugin",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.3",
|
|
4
4
|
"description": "ESLint plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"node": ">=14"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@typescript-eslint/utils": "^6.4.
|
|
38
|
-
"magic-string": "^0.30.
|
|
37
|
+
"@typescript-eslint/utils": "^6.4.1",
|
|
38
|
+
"magic-string": "^0.30.3",
|
|
39
39
|
"synckit": "^0.8.5",
|
|
40
|
-
"@unocss/config": "0.55.
|
|
41
|
-
"@unocss/core": "0.55.
|
|
40
|
+
"@unocss/config": "0.55.3",
|
|
41
|
+
"@unocss/core": "0.55.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@unocss/eslint-plugin": "0.55.
|
|
44
|
+
"@unocss/eslint-plugin": "0.55.3"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|