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/dependencies/PureExpressionDependency.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/dependencies/PureExpressionDependency.js b/node_modules/webpack/lib/dependencies/PureExpressionDependency.js
index 574479f..b5eea07 100644
--- a/node_modules/webpack/lib/dependencies/PureExpressionDependency.js
+++ b/node_modules/webpack/lib/dependencies/PureExpressionDependency.js
@@ -25,6 +25,7 @@
class PureExpressionDependency extends NullDependency {
/**
+ * Creates an instance of PureExpressionDependency.
* @param {Range} range the source range
*/
constructor(range) {
@@ -35,6 +36,7 @@
}
/**
+ * Get runtime condition.
* @param {ModuleGraph} moduleGraph module graph
* @param {RuntimeSpec} runtime current runtimes
* @returns {boolean | RuntimeSpec} runtime condition
@@ -60,7 +62,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}
@@ -85,6 +87,7 @@
}
/**
+ * Gets module evaluation side effects state.
* @param {ModuleGraph} moduleGraph the module graph
* @returns {ConnectionState} how this dependency connects the module to referencing modules
*/
@@ -93,6 +96,7 @@
}
/**
+ * Serializes this instance into the provided serializer context.
* @param {ObjectSerializerContext} context context
*/
serialize(context) {
@@ -103,6 +107,7 @@
}
/**
+ * Restores this instance from the provided deserializer context.
* @param {ObjectDeserializerContext} context context
*/
deserialize(context) {
@@ -122,6 +127,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