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/RequestShortener.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/RequestShortener.js b/node_modules/webpack/lib/RequestShortener.js
index b39bc2e..ebda7b2 100644
--- a/node_modules/webpack/lib/RequestShortener.js
+++ b/node_modules/webpack/lib/RequestShortener.js
@@ -9,8 +9,14 @@
/** @typedef {import("./util/identifier").AssociatedObjectForCache} AssociatedObjectForCache */
+/**
+ * Shortens absolute or verbose request strings so diagnostics and stats output
+ * can be rendered relative to a chosen base directory.
+ */
class RequestShortener {
/**
+ * Binds a context-aware shortening function to the provided directory and
+ * optional cache owner.
* @param {string} dir the directory
* @param {AssociatedObjectForCache=} associatedObjectForCache an object to which the cache will be attached
*/
@@ -22,6 +28,8 @@
}
/**
+ * Returns a request string rewritten relative to the configured directory
+ * when one is provided.
* @param {string | undefined | null} request the request to shorten
* @returns {string | undefined | null} the shortened request
*/
--
Gitblit v1.9.3