@whitesev/utils 2.7.8 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -4283,13 +4283,13 @@ class UtilsDictionary {
4283
4283
  * 获取字典所有的键
4284
4284
  */
4285
4285
  keys() {
4286
- return this.items.keys().toArray();
4286
+ return Array.from(this.items.keys());
4287
4287
  }
4288
4288
  /**
4289
4289
  * 返回字典中的所有值
4290
4290
  */
4291
4291
  values() {
4292
- return this.items.values().toArray();
4292
+ return Array.from(this.items.values());
4293
4293
  }
4294
4294
  /**
4295
4295
  * 清空字典
@@ -5475,7 +5475,7 @@ class Utils {
5475
5475
  this.windowApi = new WindowApi(option);
5476
5476
  }
5477
5477
  /** 版本号 */
5478
- version = "2025.9.8";
5478
+ version = "2025.9.14";
5479
5479
  addStyle(cssText) {
5480
5480
  if (typeof cssText !== "string") {
5481
5481
  throw new Error("Utils.addStyle 参数cssText 必须为String类型");