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/ModuleDecoratorDependency.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js b/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js
index 72951e6..9b3d531 100644
--- a/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js
+++ b/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js
@@ -23,6 +23,7 @@
 
 class ModuleDecoratorDependency extends NullDependency {
 	/**
+	 * Creates an instance of ModuleDecoratorDependency.
 	 * @param {string} decorator the decorator requirement
 	 * @param {boolean} allowExportsAccess allow to access exports from module
 	 */
@@ -30,10 +31,12 @@
 		super();
 		this.decorator = decorator;
 		this.allowExportsAccess = allowExportsAccess;
+		/** @type {undefined | string} */
 		this._hashUpdate = undefined;
 	}
 
 	/**
+	 * Returns a display name for the type of dependency.
 	 * @returns {string} a display name for the type of dependency
 	 */
 	get type() {
@@ -45,6 +48,7 @@
 	}
 
 	/**
+	 * Returns an identifier to merge equal requests.
 	 * @returns {string | null} an identifier to merge equal requests
 	 */
 	getResourceIdentifier() {
@@ -64,7 +68,7 @@
 	}
 
 	/**
-	 * Update the hash
+	 * Updates the hash with the data contributed by this instance.
 	 * @param {Hash} hash hash to be updated
 	 * @param {UpdateHashContext} context context
 	 * @returns {void}
@@ -77,6 +81,7 @@
 	}
 
 	/**
+	 * Serializes this instance into the provided serializer context.
 	 * @param {ObjectSerializerContext} context context
 	 */
 	serialize(context) {
@@ -87,6 +92,7 @@
 	}
 
 	/**
+	 * Restores this instance from the provided deserializer context.
 	 * @param {ObjectDeserializerContext} context context
 	 */
 	deserialize(context) {
@@ -106,6 +112,7 @@
 	NullDependency.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