utils-lib-js 2.0.17 → 2.0.19
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/README.en.md +7 -3
- package/README.md +4 -0
- package/dist/bundle/index.d.ts +3 -0
- package/dist/bundle/index.js +29 -5
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.js +13 -12195
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +13 -12137
- package/dist/umd/index.d.ts +3 -0
- package/dist/umd/index.js +21 -12205
- package/package.json +51 -50
package/README.en.md
CHANGED
|
@@ -354,9 +354,9 @@ Determines if the object is empty
|
|
|
354
354
|
- `object` : the target object.
|
|
355
355
|
|
|
356
356
|
```javascript
|
|
357
|
-
const o = isEmptyObject({name: "a u"});
|
|
357
|
+
const o = isEmptyObject({ name: "a u" });
|
|
358
358
|
const o2 = isEmptyObject({});
|
|
359
|
-
console.log(o, o2);
|
|
359
|
+
console.log(o, o2); // Output: false true
|
|
360
360
|
```
|
|
361
361
|
|
|
362
362
|
#### array module
|
|
@@ -372,7 +372,7 @@ const originalArray = [1, 2, 3, 4, 5];
|
|
|
372
372
|
const randomizedArray = arrayRandom(originalArray);
|
|
373
373
|
console.log(randomizedArray);
|
|
374
374
|
// Output: a randomly sorted array
|
|
375
|
-
|
|
375
|
+
```
|
|
376
376
|
|
|
377
377
|
##### 2. `arrayUniq(arr: any[]): any[]`
|
|
378
378
|
|
|
@@ -758,3 +758,7 @@ https://gitee.com/DieHunter/task-queue
|
|
|
758
758
|
#### js-request-lib
|
|
759
759
|
|
|
760
760
|
https://gitee.com/DieHunter/js-request-lib
|
|
761
|
+
|
|
762
|
+
#### js-log-lib
|
|
763
|
+
|
|
764
|
+
https://gitee.com/DieHunter/js-log-lib
|
package/README.md
CHANGED
package/dist/bundle/index.d.ts
CHANGED
|
@@ -13,15 +13,18 @@ export * from "event-message-center";
|
|
|
13
13
|
export * from "task-queue-lib";
|
|
14
14
|
export * from "js-request-lib";
|
|
15
15
|
export * from "timer-manager-lib";
|
|
16
|
+
export * from "js-log-lib";
|
|
16
17
|
import eventMessageCenter from "event-message-center";
|
|
17
18
|
import taskQueueLib from "task-queue-lib";
|
|
18
19
|
import JSRequest from "js-request-lib";
|
|
19
20
|
import TimerManager from "timer-manager-lib";
|
|
21
|
+
import JSLogLib from "js-log-lib";
|
|
20
22
|
declare const _default: {
|
|
21
23
|
eventMessageCenter: typeof eventMessageCenter;
|
|
22
24
|
taskQueueLib: typeof taskQueueLib;
|
|
23
25
|
JSRequest: typeof JSRequest;
|
|
24
26
|
TimerManager: typeof TimerManager;
|
|
27
|
+
JSLogLib: typeof JSLogLib;
|
|
25
28
|
AnimateFrame: typeof import("./animate").AnimateFrame;
|
|
26
29
|
quadraticBezier: typeof import("./animate").quadraticBezier;
|
|
27
30
|
cubicBezier: typeof import("./animate").cubicBezier;
|