@depup/typescript-eslint 8.58.0-depup.0 → 8.66.0-depup.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/README.md +2 -2
- package/changes.json +1 -1
- package/dist/config-helper.d.ts +4 -4
- package/dist/config-helper.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +47 -0
- package/package.json +27 -12
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/typescript-eslint
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [typescript-eslint](https://www.npmjs.com/package/typescript-eslint) @ 8.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [typescript-eslint](https://www.npmjs.com/package/typescript-eslint) @ 8.66.0 |
|
|
17
|
+
| Processed | 2026-08-09 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/dist/config-helper.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface ConfigWithExtends extends TSESLint.FlatConfig.Config {
|
|
|
11
11
|
* export default tseslint.config({
|
|
12
12
|
* files: ['** /*.ts'],
|
|
13
13
|
* extends: [
|
|
14
|
-
*
|
|
14
|
+
* js.configs.recommended,
|
|
15
15
|
* tseslint.configs.recommended,
|
|
16
16
|
* ],
|
|
17
17
|
* rules: {
|
|
@@ -24,7 +24,7 @@ export interface ConfigWithExtends extends TSESLint.FlatConfig.Config {
|
|
|
24
24
|
*
|
|
25
25
|
* export default [
|
|
26
26
|
* {
|
|
27
|
-
* ...
|
|
27
|
+
* ...js.configs.recommended,
|
|
28
28
|
* files: ['** /*.ts'],
|
|
29
29
|
* },
|
|
30
30
|
* ...tseslint.configs.recommended.map(conf => ({
|
|
@@ -50,11 +50,11 @@ export type ConfigArray = TSESLint.FlatConfig.ConfigArray;
|
|
|
50
50
|
* ```js
|
|
51
51
|
* // @ts-check
|
|
52
52
|
*
|
|
53
|
-
* import
|
|
53
|
+
* import js from '@eslint/js';
|
|
54
54
|
* import tseslint from 'typescript-eslint';
|
|
55
55
|
*
|
|
56
56
|
* export default tseslint.config(
|
|
57
|
-
*
|
|
57
|
+
* js.configs.recommended,
|
|
58
58
|
* tseslint.configs.recommended,
|
|
59
59
|
* {
|
|
60
60
|
* rules: {
|
package/dist/config-helper.js
CHANGED
|
@@ -7,11 +7,11 @@ exports.config = config;
|
|
|
7
7
|
* ```js
|
|
8
8
|
* // @ts-check
|
|
9
9
|
*
|
|
10
|
-
* import
|
|
10
|
+
* import js from '@eslint/js';
|
|
11
11
|
* import tseslint from 'typescript-eslint';
|
|
12
12
|
*
|
|
13
13
|
* export default tseslint.config(
|
|
14
|
-
*
|
|
14
|
+
* js.configs.recommended,
|
|
15
15
|
* tseslint.configs.recommended,
|
|
16
16
|
* {
|
|
17
17
|
* rules: {
|
package/dist/index.d.ts
CHANGED
|
@@ -152,3 +152,4 @@ declare const _default: {
|
|
|
152
152
|
};
|
|
153
153
|
export default _default;
|
|
154
154
|
export { config, type ConfigWithExtends, type InfiniteDepthConfigWithExtends, type ConfigArray, } from './config-helper';
|
|
155
|
+
export type { CompatibleConfig, CompatibleConfigArray, CompatibleParser, CompatiblePlugin, } from './compatibility-types';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* eslint-disable import/first -- intentionally executing code before rest of the require()s. This will not work with ESM. */
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
2
36
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
38
|
};
|
|
5
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
40
|
exports.config = exports.configs = exports.plugin = exports.parser = void 0;
|
|
41
|
+
const ts = __importStar(require("typescript"));
|
|
42
|
+
const [versionMajor, _versionMinor] = ts.versionMajorMinor
|
|
43
|
+
.split('.')
|
|
44
|
+
.map(Number);
|
|
45
|
+
if (versionMajor >= 7) {
|
|
46
|
+
// eslint-disable-next-line no-console
|
|
47
|
+
console.error([
|
|
48
|
+
'typescript-eslint does not support TS 7.0.',
|
|
49
|
+
'Please see https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0 to run typescript-eslint using the TS 6 API.',
|
|
50
|
+
"See also https://github.com/typescript-eslint/typescript-eslint/issues/10940 for tracking typescript-eslint's support for TS >=7.1",
|
|
51
|
+
].join('\n'));
|
|
52
|
+
throw new Error('typescript-eslint does not support TS 7.0.');
|
|
53
|
+
}
|
|
7
54
|
const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin"));
|
|
8
55
|
const raw_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin/use-at-your-own-risk/raw-plugin"));
|
|
9
56
|
const typescript_estree_1 = require("@typescript-eslint/typescript-estree");
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/typescript-eslint",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.66.0-depup.0",
|
|
4
4
|
"description": "Tooling which enables you to use TypeScript with ESLint (with updated dependencies)",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"changes.json"
|
|
7
|
+
"!**/*.tsbuildinfo",
|
|
8
|
+
"changes.json",
|
|
9
|
+
"README.md"
|
|
11
10
|
],
|
|
12
11
|
"type": "commonjs",
|
|
13
12
|
"exports": {
|
|
@@ -49,16 +48,17 @@
|
|
|
49
48
|
"eslint-plugin"
|
|
50
49
|
],
|
|
51
50
|
"dependencies": {
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
53
|
-
"@typescript-eslint/parser": "8.
|
|
54
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
55
|
-
"@typescript-eslint/utils": "8.
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "8.66.0",
|
|
52
|
+
"@typescript-eslint/parser": "8.66.0",
|
|
53
|
+
"@typescript-eslint/typescript-estree": "8.66.0",
|
|
54
|
+
"@typescript-eslint/utils": "8.66.0"
|
|
56
55
|
},
|
|
57
56
|
"peerDependencies": {
|
|
58
57
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
59
58
|
"typescript": ">=4.8.4 <6.1.0"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
61
|
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
|
62
62
|
"@vitest/coverage-v8": "^4.0.18",
|
|
63
63
|
"eslint": "^10.0.0",
|
|
64
64
|
"rimraf": "^5.0.10",
|
|
@@ -84,11 +84,24 @@
|
|
|
84
84
|
"{projectRoot}/dist"
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
|
+
"typecheck:tsgo": {
|
|
88
|
+
"outputs": [
|
|
89
|
+
"{workspaceRoot}/dist",
|
|
90
|
+
"{projectRoot}/dist"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
87
93
|
"test": {
|
|
88
94
|
"dependsOn": [
|
|
89
95
|
"^build",
|
|
90
96
|
"typecheck"
|
|
91
97
|
]
|
|
98
|
+
},
|
|
99
|
+
"attw-check": {
|
|
100
|
+
"cache": false,
|
|
101
|
+
"options": {
|
|
102
|
+
"cwd": "{projectRoot}"
|
|
103
|
+
},
|
|
104
|
+
"command": "pnpm pack --out attw-check.tgz && attw attw-check.tgz --profile node16 --ignore-rules cjs-only-exports-default"
|
|
92
105
|
}
|
|
93
106
|
}
|
|
94
107
|
},
|
|
@@ -98,14 +111,16 @@
|
|
|
98
111
|
"format": "pnpm -w run format",
|
|
99
112
|
"lint": "pnpm -w exec nx lint",
|
|
100
113
|
"test": "pnpm -w exec nx test",
|
|
101
|
-
"typecheck": "pnpm -w exec nx typecheck"
|
|
114
|
+
"typecheck": "pnpm -w exec nx typecheck",
|
|
115
|
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo",
|
|
116
|
+
"attw-check": "pnpm -w exec nx attw-check"
|
|
102
117
|
},
|
|
103
118
|
"depup": {
|
|
104
119
|
"changes": {},
|
|
105
120
|
"depsUpdated": 0,
|
|
106
121
|
"originalPackage": "typescript-eslint",
|
|
107
|
-
"originalVersion": "8.
|
|
108
|
-
"processedAt": "2026-
|
|
122
|
+
"originalVersion": "8.66.0",
|
|
123
|
+
"processedAt": "2026-08-09T00:36:50.479Z",
|
|
109
124
|
"smokeTest": "passed"
|
|
110
125
|
}
|
|
111
126
|
}
|