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

diff --git a/node_modules/webpack/lib/ModuleWarning.js b/node_modules/webpack/lib/ModuleWarning.js
index 9b45a9a..9bf8fe3 100644
--- a/node_modules/webpack/lib/ModuleWarning.js
+++ b/node_modules/webpack/lib/ModuleWarning.js
@@ -14,8 +14,9 @@
 
 class ModuleWarning extends WebpackError {
 	/**
+	 * Creates an instance of ModuleWarning.
 	 * @param {Error} warning error thrown
-	 * @param {{from?: string|null}} info additional info
+	 * @param {{ from?: string | null }} info additional info
 	 */
 	constructor(warning, { from = null } = {}) {
 		let message = "Module Warning";
@@ -30,6 +31,7 @@
 
 		super(message);
 
+		/** @type {string} */
 		this.name = "ModuleWarning";
 		this.warning = warning;
 		this.details =
@@ -39,6 +41,7 @@
 	}
 
 	/**
+	 * Serializes this instance into the provided serializer context.
 	 * @param {ObjectSerializerContext} context context
 	 */
 	serialize(context) {
@@ -50,6 +53,7 @@
 	}
 
 	/**
+	 * Restores this instance from the provided deserializer context.
 	 * @param {ObjectDeserializerContext} context context
 	 */
 	deserialize(context) {
@@ -63,4 +67,5 @@
 
 makeSerializable(ModuleWarning, "webpack/lib/ModuleWarning");
 
+/** @type {typeof ModuleWarning} */
 module.exports = ModuleWarning;

--
Gitblit v1.9.3