From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/@babel/types/lib/validators/isReferenced.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/node_modules/@babel/types/lib/validators/isReferenced.js b/node_modules/@babel/types/lib/validators/isReferenced.js
index f8084f1..b2718d7 100644
--- a/node_modules/@babel/types/lib/validators/isReferenced.js
+++ b/node_modules/@babel/types/lib/validators/isReferenced.js
@@ -31,7 +31,7 @@
if (parent.key === node) {
return !!parent.computed;
}
- return !grandparent || grandparent.type !== "ObjectPattern";
+ return (grandparent == null ? void 0 : grandparent.type) !== "ObjectPattern";
case "ClassProperty":
case "ClassAccessorProperty":
if (parent.key === node) {
--
Gitblit v1.9.3