From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +0800
Subject: [PATCH] 青岛推送
---
node_modules/@babel/types/lib/builders/generated/lowercase.js | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/node_modules/@babel/types/lib/builders/generated/lowercase.js b/node_modules/@babel/types/lib/builders/generated/lowercase.js
index ed948b3..0a13bcd 100644
--- a/node_modules/@babel/types/lib/builders/generated/lowercase.js
+++ b/node_modules/@babel/types/lib/builders/generated/lowercase.js
@@ -917,13 +917,15 @@
validate(defs.decorators, node, "decorators", decorators, 1);
return node;
}
-function exportAllDeclaration(source) {
+function exportAllDeclaration(source, attributes = null) {
const node = {
type: "ExportAllDeclaration",
- source
+ source,
+ attributes
};
const defs = NODE_FIELDS.ExportAllDeclaration;
validate(defs.source, node, "source", source, 1);
+ validate(defs.attributes, node, "attributes", attributes, 1);
return node;
}
function exportDefaultDeclaration(declaration) {
@@ -935,17 +937,19 @@
validate(defs.declaration, node, "declaration", declaration, 1);
return node;
}
-function exportNamedDeclaration(declaration = null, specifiers = [], source = null) {
+function exportNamedDeclaration(declaration = null, specifiers = [], source = null, attributes = null) {
const node = {
type: "ExportNamedDeclaration",
declaration,
specifiers,
- source
+ source,
+ attributes
};
const defs = NODE_FIELDS.ExportNamedDeclaration;
validate(defs.declaration, node, "declaration", declaration, 1);
validate(defs.specifiers, node, "specifiers", specifiers, 1);
validate(defs.source, node, "source", source, 1);
+ validate(defs.attributes, node, "attributes", attributes, 1);
return node;
}
function exportSpecifier(local, exported) {
@@ -974,15 +978,17 @@
validate(defs.await, node, "await", _await);
return node;
}
-function importDeclaration(specifiers, source) {
+function importDeclaration(specifiers, source, attributes = null) {
const node = {
type: "ImportDeclaration",
specifiers,
- source
+ source,
+ attributes
};
const defs = NODE_FIELDS.ImportDeclaration;
validate(defs.specifiers, node, "specifiers", specifiers, 1);
validate(defs.source, node, "source", source, 1);
+ validate(defs.attributes, node, "attributes", attributes, 1);
return node;
}
function importDefaultSpecifier(local) {
--
Gitblit v1.9.3