chore: bump eslint-visitor-keys (#13272)

This commit is contained in:
Huáng Jùnliàng 2021-05-06 12:23:21 -04:00 committed by GitHub
parent a387973821
commit 96fce81438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 10 deletions

View File

@ -31,7 +31,7 @@
}, },
"dependencies": { "dependencies": {
"eslint-scope": "^5.1.0", "eslint-scope": "^5.1.0",
"eslint-visitor-keys": "^1.3.0", "eslint-visitor-keys": "^2.1.0",
"semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0" "semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0"
}, },
"devDependencies": { "devDependencies": {

View File

@ -8,10 +8,9 @@ export const newTypes = {
Literal: ESLINT_VISITOR_KEYS.Literal, Literal: ESLINT_VISITOR_KEYS.Literal,
MethodDefinition: ["decorators"].concat(ESLINT_VISITOR_KEYS.MethodDefinition), MethodDefinition: ["decorators"].concat(ESLINT_VISITOR_KEYS.MethodDefinition),
Property: ["decorators"].concat(ESLINT_VISITOR_KEYS.Property), Property: ["decorators"].concat(ESLINT_VISITOR_KEYS.Property),
// todo: remove this when Acorn supports class properties PropertyDefinition: ["decorators"].concat(
PropertyDefinition: t.VISITOR_KEYS.ClassProperty, ESLINT_VISITOR_KEYS.PropertyDefinition,
// todo: remove this when Acorn supports class properties ),
PrivateIdentifier: [],
}; };
// AST Types that shares `"type"` property with Babel but have different shape // AST Types that shares `"type"` property with Babel but have different shape

View File

@ -248,7 +248,7 @@ __metadata:
dedent: ^0.7.0 dedent: ^0.7.0
eslint: ^7.5.0 eslint: ^7.5.0
eslint-scope: ^5.1.0 eslint-scope: ^5.1.0
eslint-visitor-keys: ^1.3.0 eslint-visitor-keys: ^2.1.0
semver: "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0" semver: "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0"
peerDependencies: peerDependencies:
"@babel/core": ">=7.11.0" "@babel/core": ">=7.11.0"
@ -7700,10 +7700,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"eslint-visitor-keys@npm:^2.0.0": "eslint-visitor-keys@npm:^2.0.0, eslint-visitor-keys@npm:^2.1.0":
version: 2.0.0 version: 2.1.0
resolution: "eslint-visitor-keys@npm:2.0.0" resolution: "eslint-visitor-keys@npm:2.1.0"
checksum: 429dabdcab3c1cf5e65d44843afc513398d4ee32a37f93edc93bb5ba59a12b78fa67d87ff23c752c170b5e4f9085050f45b3c036cdfb23d40a724f2614048140 checksum: 75eaae9006f5bcb9d1e09641719b840b83c4758f5f25bc06a0e94918d78658d0f19691bdc2e3b100604d0fe2d1eb94a2aab287ba24ad2f02f87cacdccb86c2e4
languageName: node languageName: node
linkType: hard linkType: hard