Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
9
node_modules/espree/espree.js
generated
vendored
9
node_modules/espree/espree.js
generated
vendored
|
|
@ -139,6 +139,7 @@ export function parse(code, options) {
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
export const version = espreeVersion;
|
||||
export const name = "espree";
|
||||
|
||||
/* istanbul ignore next */
|
||||
export const VisitorKeys = (function() {
|
||||
|
|
@ -148,16 +149,16 @@ export const VisitorKeys = (function() {
|
|||
// Derive node types from VisitorKeys
|
||||
/* istanbul ignore next */
|
||||
export const Syntax = (function() {
|
||||
let name,
|
||||
let key,
|
||||
types = {};
|
||||
|
||||
if (typeof Object.create === "function") {
|
||||
types = Object.create(null);
|
||||
}
|
||||
|
||||
for (name in VisitorKeys) {
|
||||
if (Object.hasOwnProperty.call(VisitorKeys, name)) {
|
||||
types[name] = name;
|
||||
for (key in VisitorKeys) {
|
||||
if (Object.hasOwnProperty.call(VisitorKeys, key)) {
|
||||
types[key] = key;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue