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

diff --git a/node_modules/webpack/lib/dependencies/ProvidedDependency.js b/node_modules/webpack/lib/dependencies/ProvidedDependency.js
index 0a0ca28..c67929d 100644
--- a/node_modules/webpack/lib/dependencies/ProvidedDependency.js
+++ b/node_modules/webpack/lib/dependencies/ProvidedDependency.js
@@ -24,6 +24,7 @@
 /** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
 
 /**
+ * Returns the converted path.
  * @param {string[] | null} path the property path array
  * @returns {string} the converted path
  */
@@ -34,6 +35,7 @@
 
 class ProvidedDependency extends ModuleDependency {
 	/**
+	 * Creates an instance of ProvidedDependency.
 	 * @param {string} request request
 	 * @param {string} identifier identifier
 	 * @param {ExportInfoName[]} ids ids
@@ -44,6 +46,7 @@
 		this.identifier = identifier;
 		this.ids = ids;
 		this.range = range;
+		/** @type {undefined | string} */
 		this._hashUpdate = undefined;
 	}
 
@@ -68,7 +71,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}
@@ -81,6 +84,7 @@
 	}
 
 	/**
+	 * Serializes this instance into the provided serializer context.
 	 * @param {ObjectSerializerContext} context context
 	 */
 	serialize(context) {
@@ -91,6 +95,7 @@
 	}
 
 	/**
+	 * Restores this instance from the provided deserializer context.
 	 * @param {ObjectDeserializerContext} context context
 	 */
 	deserialize(context) {
@@ -108,6 +113,7 @@
 
 class ProvidedDependencyTemplate extends 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