From 15c7836cccb4b150a6cd174309ae93de5380f11d Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Tue, 5 Mar 2024 22:03:50 +0800 Subject: [PATCH] fix --- package.json | 2 +- test/base.test.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 56def6d..39b9916 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xe-utils", - "version": "3.5.21", + "version": "3.5.22", "description": "JavaScript 函数库、工具类", "main": "index.js", "unpkg": "dist/xe-utils.umd.min.js", diff --git a/test/base.test.js b/test/base.test.js index 881b215..c915d54 100644 --- a/test/base.test.js +++ b/test/base.test.js @@ -2501,9 +2501,6 @@ describe('Base functions', () => { expect( XEUtils.clone([['11', /\d/], [[11, [[new Date()], 22, [{ aa: 33 }, 44]]], { jj: 99 }], { uu: 88 }]) ).toEqual([['11', /\d/], [[11, [[new Date()], 22, [{ aa: 33 }, 44]]], { jj: 99 }], { uu: 88 }]) - expect( - XEUtils.clone(Object.create(null)) - ).toEqual(Object.create(null)) let v1 = { num: 11,