@typescript-eslint/eslint-plugin 8.29.1-alpha.3 → 8.29.1-alpha.4
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":"no-deprecated.d.ts","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAgBpD,KAAK,UAAU,GAAG,YAAY,GAAG,sBAAsB,CAAC;AAExD,KAAK,OAAO,GAAG;IACb;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;KAChC;CACF,CAAC;;AAEF,
|
1
|
+
{"version":3,"file":"no-deprecated.d.ts","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAgBpD,KAAK,UAAU,GAAG,YAAY,GAAG,sBAAsB,CAAC;AAExD,KAAK,OAAO,GAAG;IACb;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;KAChC;CACF,CAAC;;AAEF,wBA0XG"}
|
@@ -285,7 +285,8 @@ exports.default = (0, util_1.createRule)({
|
|
285
285
|
.getProperty(node.name);
|
286
286
|
const propertySymbol = services.getSymbolAtLocation(node);
|
287
287
|
const valueSymbol = checker.getShorthandAssignmentValueSymbol(propertySymbol?.valueDeclaration);
|
288
|
-
return (
|
288
|
+
return (searchForDeprecationInAliasesChain(propertySymbol, true) ??
|
289
|
+
getJsDocDeprecation(property) ??
|
289
290
|
getJsDocDeprecation(propertySymbol) ??
|
290
291
|
getJsDocDeprecation(valueSymbol));
|
291
292
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.29.1-alpha.
|
3
|
+
"version": "8.29.1-alpha.4",
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
5
5
|
"files": [
|
6
6
|
"dist",
|
@@ -62,10 +62,10 @@
|
|
62
62
|
},
|
63
63
|
"dependencies": {
|
64
64
|
"@eslint-community/regexpp": "^4.10.0",
|
65
|
-
"@typescript-eslint/scope-manager": "8.29.1-alpha.
|
66
|
-
"@typescript-eslint/type-utils": "8.29.1-alpha.
|
67
|
-
"@typescript-eslint/utils": "8.29.1-alpha.
|
68
|
-
"@typescript-eslint/visitor-keys": "8.29.1-alpha.
|
65
|
+
"@typescript-eslint/scope-manager": "8.29.1-alpha.4",
|
66
|
+
"@typescript-eslint/type-utils": "8.29.1-alpha.4",
|
67
|
+
"@typescript-eslint/utils": "8.29.1-alpha.4",
|
68
|
+
"@typescript-eslint/visitor-keys": "8.29.1-alpha.4",
|
69
69
|
"graphemer": "^1.4.0",
|
70
70
|
"ignore": "^5.3.1",
|
71
71
|
"natural-compare": "^1.4.0",
|
@@ -76,8 +76,8 @@
|
|
76
76
|
"@types/marked": "^5.0.2",
|
77
77
|
"@types/mdast": "^4.0.3",
|
78
78
|
"@types/natural-compare": "*",
|
79
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.29.1-alpha.
|
80
|
-
"@typescript-eslint/rule-tester": "8.29.1-alpha.
|
79
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.29.1-alpha.4",
|
80
|
+
"@typescript-eslint/rule-tester": "8.29.1-alpha.4",
|
81
81
|
"ajv": "^6.12.6",
|
82
82
|
"cross-env": "^7.0.3",
|
83
83
|
"cross-fetch": "*",
|