@unocss/eslint-plugin 66.5.10 → 66.5.11

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.
@@ -0,0 +1,13 @@
1
+ const require_index = require('./index.cjs');
2
+ let node_url = require("node:url");
3
+
4
+ //#region src/dirs.ts
5
+ const distDir = (0, node_url.fileURLToPath)(new URL("../dist", require("url").pathToFileURL(__filename).href));
6
+
7
+ //#endregion
8
+ Object.defineProperty(exports, 'distDir', {
9
+ enumerable: true,
10
+ get: function () {
11
+ return distDir;
12
+ }
13
+ });
@@ -0,0 +1,7 @@
1
+ import { fileURLToPath } from "node:url";
2
+
3
+ //#region src/dirs.ts
4
+ const distDir = fileURLToPath(new URL("../dist", import.meta.url));
5
+
6
+ //#endregion
7
+ export { distDir as t };
package/dist/dirs.cjs CHANGED
@@ -1,8 +1,3 @@
1
- 'use strict';
1
+ const require_dirs = require('./dirs-DMLliOn8.cjs');
2
2
 
3
- const node_url = require('node:url');
4
-
5
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
- const distDir = node_url.fileURLToPath(new URL("../dist", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('dirs.cjs', document.baseURI).href))));
7
-
8
- exports.distDir = distDir;
3
+ exports.distDir = require_dirs.distDir;
package/dist/dirs.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ //#region src/dirs.d.ts
1
2
  declare const distDir: string;
2
-
3
- export { distDir };
3
+ //#endregion
4
+ export { distDir };
package/dist/dirs.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ //#region src/dirs.d.ts
1
2
  declare const distDir: string;
2
-
3
- export { distDir };
3
+ //#endregion
4
+ export { distDir };
package/dist/dirs.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import { fileURLToPath } from 'node:url';
1
+ import { t as distDir } from "./dirs-DTjbV7PE.mjs";
2
2
 
3
- const distDir = fileURLToPath(new URL("../dist", import.meta.url));
4
-
5
- export { distDir };
3
+ export { distDir };