From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/webpack/lib/util/Queue.js | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/node_modules/webpack/lib/util/Queue.js b/node_modules/webpack/lib/util/Queue.js
index 3820770..e843784 100644
--- a/node_modules/webpack/lib/util/Queue.js
+++ b/node_modules/webpack/lib/util/Queue.js
@@ -6,10 +6,13 @@
"use strict";
/**
+ * FIFO queue that keeps items unique by storing them in insertion order inside
+ * a `Set`.
* @template T
*/
class Queue {
/**
+ * Seeds the queue with an optional iterable of initial unique items.
* @param {Iterable<T>=} items The initial elements.
*/
constructor(items) {
@@ -21,7 +24,7 @@
}
/**
- * Returns the number of elements in this queue.
+ * Returns the number of unique items currently waiting in the queue.
* @returns {number} The number of elements in this queue.
*/
get length() {
@@ -29,7 +32,7 @@
}
/**
- * Appends the specified element to this queue.
+ * Enqueues an item, moving nothing if that value is already present.
* @param {T} item The element to add.
* @returns {void}
*/
@@ -38,7 +41,7 @@
}
/**
- * Retrieves and removes the head of this queue.
+ * Removes and returns the oldest enqueued item.
* @returns {T | undefined} The head of the queue of `undefined` if this queue is empty.
*/
dequeue() {
--
Gitblit v1.9.3