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/webpack/lib/dependencies/CommonJsFullRequireDependency.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js b/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js
index 3cf98bb..f800f08 100644
--- a/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js
+++ b/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js
@@ -9,7 +9,7 @@
 const { equals } = require("../util/ArrayHelpers");
 const { getTrimmedIdsAndRange } = require("../util/chainedImports");
 const makeSerializable = require("../util/makeSerializable");
-const propertyAccess = require("../util/propertyAccess");
+const { propertyAccess } = require("../util/property");
 const ModuleDependency = require("./ModuleDependency");
 
 /** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
@@ -26,6 +26,7 @@
 
 class CommonJsFullRequireDependency extends ModuleDependency {
 	/**
+	 * Creates an instance of CommonJsFullRequireDependency.
 	 * @param {string} request the request string
 	 * @param {Range} range location in source code
 	 * @param {ExportInfoName[]} names accessed properties on module
@@ -41,7 +42,9 @@
 		this.range = range;
 		this.names = names;
 		this.idRanges = idRanges;
+		/** @type {boolean} */
 		this.call = false;
+		/** @type {undefined | boolean} */
 		this.asiSafe = undefined;
 	}
 
@@ -65,6 +68,7 @@
 	}
 
 	/**
+	 * Serializes this instance into the provided serializer context.
 	 * @param {ObjectSerializerContext} context context
 	 */
 	serialize(context) {
@@ -77,6 +81,7 @@
 	}
 
 	/**
+	 * Restores this instance from the provided deserializer context.
 	 * @param {ObjectDeserializerContext} context context
 	 */
 	deserialize(context) {
@@ -101,6 +106,7 @@
 	ModuleDependency.Template
 ) {
 	/**
+	 * Applies the plugin by registering its hooks on the compiler.
 	 * @param {Dependency} dependency the dependency for which the template should be applied
 	 * @param {ReplaceSource} source the current replace source which can be modified
 	 * @param {DependencyTemplateContext} templateContext the context object

--
Gitblit v1.9.3