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/URLDependency.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/dependencies/URLDependency.js b/node_modules/webpack/lib/dependencies/URLDependency.js
index d1b03f7..a265c01 100644
--- a/node_modules/webpack/lib/dependencies/URLDependency.js
+++ b/node_modules/webpack/lib/dependencies/URLDependency.js
@@ -31,6 +31,7 @@
class URLDependency extends ModuleDependency {
/**
+ * Creates an instance of URLDependency.
* @param {string} request request
* @param {Range} range range of the arguments of new URL( |> ... <| )
* @param {Range} outerRange range of the full |> new URL(...) <|
@@ -54,6 +55,7 @@
}
/**
+ * Returns function to determine if the connection is active.
* @param {ModuleGraph} moduleGraph module graph
* @returns {null | false | GetConditionFn} function to determine if the connection is active
*/
@@ -66,6 +68,7 @@
}
/**
+ * Creates an ignored module.
* @param {string} context context directory
* @returns {Module} ignored module
*/
@@ -74,6 +77,7 @@
}
/**
+ * Serializes this instance into the provided serializer context.
* @param {ObjectSerializerContext} context context
*/
serialize(context) {
@@ -85,6 +89,7 @@
}
/**
+ * Restores this instance from the provided deserializer context.
* @param {ObjectDeserializerContext} context context
*/
deserialize(context) {
@@ -100,6 +105,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