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/util/StringXor.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/node_modules/webpack/lib/util/StringXor.js b/node_modules/webpack/lib/util/StringXor.js
index 785af5f..b80bdfa 100644
--- a/node_modules/webpack/lib/util/StringXor.js
+++ b/node_modules/webpack/lib/util/StringXor.js
@@ -36,12 +36,12 @@
*/
class StringXor {
constructor() {
- /** @type {Buffer|undefined} */
+ /** @type {Buffer | undefined} */
this._value = undefined;
}
/**
- * Adds a string to the current StringXor object.
+ * Processes the provided str.
* @param {string} str string
* @returns {void}
*/
@@ -62,6 +62,7 @@
const valueLen = value.length;
if (valueLen < len) {
const newValue = (this._value = Buffer.allocUnsafe(len));
+ /** @type {number} */
let i;
for (i = 0; i < valueLen; i++) {
newValue[i] = value[i] ^ str.charCodeAt(i);
--
Gitblit v1.9.3