v1.0 with SW PWA enabled
This commit is contained in:
10
frontend/node_modules/@babel/traverse/lib/visitors.js
generated
vendored
10
frontend/node_modules/@babel/traverse/lib/visitors.js
generated
vendored
@ -53,11 +53,9 @@ function explode$1(visitor) {
|
||||
const types = virtualTypes[nodeType];
|
||||
if (types !== null) {
|
||||
for (const type of types) {
|
||||
if (visitor[type]) {
|
||||
mergePair(visitor[type], fns);
|
||||
} else {
|
||||
visitor[type] = fns;
|
||||
}
|
||||
var _visitor$type;
|
||||
(_visitor$type = visitor[type]) != null ? _visitor$type : visitor[type] = {};
|
||||
mergePair(visitor[type], fns);
|
||||
}
|
||||
} else {
|
||||
mergePair(visitor, fns);
|
||||
@ -104,7 +102,7 @@ function verify$1(visitor) {
|
||||
}
|
||||
if (shouldIgnoreKey(nodeType)) continue;
|
||||
if (!TYPES.includes(nodeType)) {
|
||||
throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"7.28.3"}`);
|
||||
throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"7.28.5"}`);
|
||||
}
|
||||
const visitors = visitor[nodeType];
|
||||
if (typeof visitors === "object") {
|
||||
|
||||
Reference in New Issue
Block a user