10000 chore: update remaining dependencies (#3057) · arminyahya/typescript-eslint@3dcedb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3dcedb8

Browse files
authored
chore: update remaining dependencies (typescript-eslint#3057)
* chore: update remaining dependencies - move all `@types` deps into the root so they're easier to manage and update - `yarn outdated` and upgrade out-of-date deps - manually fix up a few spots in the yarn.lock that had duplications * fix: prevent checking ForIn when right is a type assertion
1 parent 5a78444 commit 3dcedb8

File tree

6 files changed

+174
-149
lines changed

6 files changed

+174
-149
lines changed

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,25 @@
7575
"@commitlint/cli": "^11.0.0",
7676
"@commitlint/config-conventional": "^11.0.0",
7777
"@commitlint/config-lerna-scopes": "^11.0.0",
78+
"@types/babel__code-frame": "^7.0.2",
7879
"@types/debug": "^4.1.5",
80+
"@types/eslint-visitor-keys": "^1.0.0",
7981
"@types/glob": "^7.1.3",
82+
"@types/is-glob": "^4.0.1",
8083
"@types/jest": "^26.0.20",
8184
"@types/jest-specific-snapshot": "^0.5.5",
8285
"@types/lodash": "^4.14.149",
83-
"@types/node": "^14.6.2",
84-
"@types/prettier": "^2.1.0",
86+
"@types/marked": "^1.1.0",
87+
"@types/node": "^14.14.27",
88+
"@types/prettier": "^2.2.1",
8589
"@types/rimraf": "^3.0.0",
86-
"all-contributors-cli": "^6.17.2",
90+
"@types/semver": "^7.3.4",
91+
"@types/tmp": "^0.2.0",
92+
"all-contributors-cli": "^6.20.0",
8793
"cspell": "^5.2.4",
8894
"cz-conventional-changelog": "^3.3.0",
8995
"downlevel-dts": "^0.7.0",
90-
"eslint": "^7.7.0",
96+
"eslint": "^7.20.0",
9197
"eslint-plugin-eslint-comments": "^3.2.0",
9298
"eslint-plugin-eslint-plugin": "^2.3.0",
9399
"eslint-plugin-import": "^2.22.0",
@@ -103,12 +109,12 @@
103109
"markdownlint-cli": "^0.26.0",
104110
"prettier": "^2.2.1",
105111
"rimraf": "^3.0.2",
106-
"ts-jest": "^26.3.0",
112+
"ts-jest": "^26.5.1",
107113
"ts-node": "^9.0.0",
108114
"tslint": "^6.1.3",
109-
"typescript": ">=3.3.1 <4.2.0 || 4.1.1-rc"
115+
"typescript": ">=3.3.1 <4.2.0"
110116
},
111117
"resolutions": {
112-
"typescript": "4.1.2"
118+
"typescript": "4.1.5"
113119
}
114120
}

packages/eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"devDependencies": {
5555
"@types/debug": "*",
56-
"@types/marked": "^1.1.0",
56+
"@types/marked": "*",
5757
"@types/prettier": "*",
5858
"chalk": "^4.0.0",
5959
"marked": "^2.0.0",

packages/eslint-plugin/src/rules/no-extra-parens.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,15 +243,9 @@ export default util.createRule<Options, MessageIds>({
243243
if (rules.ForInStatement && rules.ForOfStatement) {
244244
overrides.ForInStatement = function (node): void {
245245
if (util.isTypeAssertion(node.right)) {
246-
// makes the rule skip checking of the right
247-
return rules.ForInStatement({
248-
...node,
249-
type: AST_NODE_TYPES.ForInStatement,
250-
right: {
251-
...node.right,
252-
type: AST_NODE_TYPES.SequenceExpression as any,
253-
},
254-
});
246+
// as of 7.20.0 there's no way to skip checking the right of the ForIn
247+
// so just don't validate it at all
248+
return;
255249
}
256250

257251
return rules.ForInStatement(node);

packages/typescript-estree/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
"@babel/code-frame": "^7.12.13",
5454
"@babel/parser": "^7.12.16",
5555
"@babel/types": "^7.12.13",
56-
"@types/babel__code-frame": "^7.0.2",
56+
"@types/babel__code-frame": "*",
5757
"@types/debug": "*",
5858
"@types/glob": "*",
59-
"@types/is-glob": "^4.0.1",
60-
"@types/semver": "^7.1.0",
61-
"@types/tmp": "^0.2.0",
59+
"@types/is-glob": "*",
60+
"@types/semver": "*",
61+
"@types/tmp": "*",
6262
"@typescript-eslint/shared-fixtures": "4.15.0",
6363
"glob": "*",
6464
"jest-specific-snapshot": "*",

packages/visitor-keys/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-visitor-keys": "^2.0.0"
4343
},
4444
"devDependencies": {
45-
"@types/eslint-visitor-keys": "^1.0.0"
45 48A3 +
"@types/eslint-visitor-keys": "*"
4646
},
4747
"funding": {
4848
"type": "opencollective",

0 commit comments

Comments
 (0)
0