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/CommonJsSelfReferenceDependency.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js b/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js
index 5aea9bb..d39e208 100644
--- a/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js
+++ b/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js
@@ -8,7 +8,7 @@
const RuntimeGlobals = require("../RuntimeGlobals");
const { equals } = require("../util/ArrayHelpers");
const makeSerializable = require("../util/makeSerializable");
-const propertyAccess = require("../util/propertyAccess");
+const { propertyAccess } = require("../util/property");
const NullDependency = require("./NullDependency");
/** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
@@ -25,6 +25,7 @@
class CommonJsSelfReferenceDependency extends NullDependency {
/**
+ * Creates an instance of CommonJsSelfReferenceDependency.
* @param {Range} range range
* @param {CommonJSDependencyBaseKeywords} base base
* @param {ExportInfoName[]} names names
@@ -47,6 +48,7 @@
}
/**
+ * Returns an identifier to merge equal requests.
* @returns {string | null} an identifier to merge equal requests
*/
getResourceIdentifier() {
@@ -64,6 +66,7 @@
}
/**
+ * Serializes this instance into the provided serializer context.
* @param {ObjectSerializerContext} context context
*/
serialize(context) {
@@ -76,6 +79,7 @@
}
/**
+ * Restores this instance from the provided deserializer context.
* @param {ObjectDeserializerContext} context context
*/
deserialize(context) {
@@ -97,6 +101,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
@@ -118,6 +123,7 @@
);
}
+ /** @type {string} */
let base;
switch (dep.base) {
case "exports":
--
Gitblit v1.9.3