Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
8
node_modules/espree/lib/token-translator.js
generated
vendored
8
node_modules/espree/lib/token-translator.js
generated
vendored
|
|
@ -4,8 +4,6 @@
|
|||
*/
|
||||
/* eslint no-underscore-dangle: 0 */
|
||||
|
||||
"use strict";
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Requirements
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
@ -22,6 +20,7 @@ const Token = {
|
|||
Boolean: "Boolean",
|
||||
EOF: "<end>",
|
||||
Identifier: "Identifier",
|
||||
PrivateIdentifier: "PrivateIdentifier",
|
||||
Keyword: "Keyword",
|
||||
Null: "Null",
|
||||
Numeric: "Numeric",
|
||||
|
|
@ -116,6 +115,9 @@ TokenTranslator.prototype = {
|
|||
token.type = Token.Keyword;
|
||||
}
|
||||
|
||||
} else if (type === tt.privateId) {
|
||||
token.type = Token.PrivateIdentifier;
|
||||
|
||||
} else if (type === tt.semi || type === tt.comma ||
|
||||
type === tt.parenL || type === tt.parenR ||
|
||||
type === tt.braceL || type === tt.braceR ||
|
||||
|
|
@ -260,4 +262,4 @@ TokenTranslator.prototype = {
|
|||
// Public
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
module.exports = TokenTranslator;
|
||||
export default TokenTranslator;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue