typescript-eslint 8.41.1-alpha.8 → 8.41.1-alpha.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTSConfigRootDirFromStack.d.ts","sourceRoot":"","sources":["../src/getTSConfigRootDirFromStack.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"getTSConfigRootDirFromStack.d.ts","sourceRoot":"","sources":["../src/getTSConfigRootDirFromStack.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,GAAG,SAAS,CA2ChE"}
|
|
@@ -40,6 +40,11 @@ function getTSConfigRootDirFromStack() {
|
|
|
40
40
|
: stackFrameFilePathOrUrl;
|
|
41
41
|
const parsedPath = node_path_1.default.parse(stackFrameFilePath);
|
|
42
42
|
if (/^eslint\.config\.(c|m)?(j|t)s$/.test(parsedPath.base)) {
|
|
43
|
+
if (process.platform === 'win32') {
|
|
44
|
+
// workaround for https://github.com/typescript-eslint/typescript-eslint/issues/11530
|
|
45
|
+
// (caused by https://github.com/unjs/jiti/issues/397)
|
|
46
|
+
return parsedPath.dir.replaceAll('/', node_path_1.default.sep);
|
|
47
|
+
}
|
|
43
48
|
return parsedPath.dir;
|
|
44
49
|
}
|
|
45
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-eslint",
|
|
3
|
-
"version": "8.41.1-alpha.
|
|
3
|
+
"version": "8.41.1-alpha.9",
|
|
4
4
|
"description": "Tooling which enables you to use TypeScript with ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"typecheck": "yarn run -BT nx typecheck"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "8.41.1-alpha.
|
|
54
|
-
"@typescript-eslint/parser": "8.41.1-alpha.
|
|
55
|
-
"@typescript-eslint/typescript-estree": "8.41.1-alpha.
|
|
56
|
-
"@typescript-eslint/utils": "8.41.1-alpha.
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "8.41.1-alpha.9",
|
|
54
|
+
"@typescript-eslint/parser": "8.41.1-alpha.9",
|
|
55
|
+
"@typescript-eslint/typescript-estree": "8.41.1-alpha.9",
|
|
56
|
+
"@typescript-eslint/utils": "8.41.1-alpha.9"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"eslint": "^8.57.0 || ^9.0.0",
|