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/async-modules/AwaitDependenciesInitFragment.js | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js b/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js
index a0a25a8..ee96bf8 100644
--- a/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js
+++ b/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js
@@ -12,12 +12,16 @@
/** @typedef {import("webpack-sources").Source} Source */
/** @typedef {import("../Generator").GenerateContext} GenerateContext */
+/** @typedef {Map<string, string>} Dependencies */
+
/**
+ * Represents AwaitDependenciesInitFragment.
* @extends {InitFragment<GenerateContext>}
*/
class AwaitDependenciesInitFragment extends InitFragment {
/**
- * @param {Map<string, string>} dependencies maps an import var to an async module that needs to be awaited
+ * Creates an instance of AwaitDependenciesInitFragment.
+ * @param {Dependencies} dependencies maps an import var to an async module that needs to be awaited
*/
constructor(dependencies) {
super(
@@ -26,10 +30,12 @@
0,
"await-dependencies"
);
+ /** @type {Dependencies} */
this.dependencies = dependencies;
}
/**
+ * Merges another await-dependencies fragment into this fragment.
* @param {AwaitDependenciesInitFragment} other other AwaitDependenciesInitFragment
* @returns {AwaitDependenciesInitFragment} AwaitDependenciesInitFragment
*/
@@ -42,6 +48,7 @@
}
/**
+ * Returns the source code that will be included as initialization code.
* @param {GenerateContext} context context
* @returns {string | Source | undefined} the source code that will be included as initialization code
*/
--
Gitblit v1.9.3