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/HarmonyEvaluatedImportSpecifierDependency.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js b/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js
index cd0aed9..ec6afe5 100644
--- a/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js
+++ b/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js
@@ -6,6 +6,7 @@
"use strict";
const makeSerializable = require("../util/makeSerializable");
+const { ExportPresenceModes } = require("./HarmonyImportDependency");
const HarmonyImportSpecifierDependency = require("./HarmonyImportSpecifierDependency");
const { ImportPhase } = require("./ImportPhase");
@@ -29,6 +30,7 @@
*/
class HarmonyEvaluatedImportSpecifierDependency extends HarmonyImportSpecifierDependency {
/**
+ * Creates an instance of HarmonyEvaluatedImportSpecifierDependency.
* @param {string} request the request string
* @param {number} sourceOrder source order
* @param {Ids} ids ids
@@ -44,7 +46,7 @@
ids,
name,
range,
- false,
+ ExportPresenceModes.NONE,
ImportPhase.Evaluation,
attributes,
[]
@@ -57,6 +59,7 @@
}
/**
+ * Serializes this instance into the provided serializer context.
* @param {ObjectSerializerContext} context context
*/
serialize(context) {
@@ -66,6 +69,7 @@
}
/**
+ * Restores this instance from the provided deserializer context.
* @param {ObjectDeserializerContext} context context
*/
deserialize(context) {
@@ -84,6 +88,7 @@
HarmonyImportSpecifierDependency.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
@@ -103,6 +108,7 @@
);
const ids = dep.getIds(moduleGraph);
+ /** @type {boolean | undefined | null} */
let value;
const exportsType =
--
Gitblit v1.9.3