@pie-element/shared-lodash 0.1.1-next.1 → 0.1.1-next.2
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.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -8
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare function throttle<T extends AnyFn>(fn: T, wait?: number, options?
|
|
|
63
63
|
}): CancelableFunction<T>;
|
|
64
64
|
export declare function times<T = number>(count: number, iteratee?: (index: number) => T): T[];
|
|
65
65
|
export declare function uniqueId(prefix?: string): string;
|
|
66
|
-
export declare function uniq<T>(array: T
|
|
66
|
+
export declare function uniq<T>(array: ArrayLike<T> | null | undefined): T[];
|
|
67
67
|
export declare function uniqWith<T>(array: T[] | null | undefined, comparator: (a: T, b: T) => boolean): T[];
|
|
68
68
|
export declare function zip(...arrays: unknown[][]): unknown[][];
|
|
69
69
|
declare const lodash: {
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ function D(e) {
|
|
|
136
136
|
return Array.isArray(e);
|
|
137
137
|
}
|
|
138
138
|
function O(e) {
|
|
139
|
-
return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : t(e)
|
|
139
|
+
return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : !t(e) || Object.keys(e).length === 0;
|
|
140
140
|
}
|
|
141
141
|
function k(n, r, i) {
|
|
142
142
|
let a = i?.(n, r);
|
|
@@ -260,7 +260,7 @@ function ie(e = "") {
|
|
|
260
260
|
return re += 1, `${e}${re}`;
|
|
261
261
|
}
|
|
262
262
|
function $(e) {
|
|
263
|
-
return Array.from(new Set(e
|
|
263
|
+
return e != null && e.length ? Array.from(new Set(Array.from(e))) : [];
|
|
264
264
|
}
|
|
265
265
|
function ae(e, t) {
|
|
266
266
|
let n = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/shared-lodash",
|
|
3
|
-
"version": "0.1.1-next.
|
|
3
|
+
"version": "0.1.1-next.2",
|
|
4
4
|
"description": "Vendored lodash helper subset for PIE elements",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,19 +20,13 @@
|
|
|
20
20
|
"test": "vitest",
|
|
21
21
|
"clean": "rm -rf dist"
|
|
22
22
|
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@types/bun": "latest",
|
|
25
|
-
"typescript": "^5.9.3",
|
|
26
|
-
"vite": "^8.0.1",
|
|
27
|
-
"vitest": "^4.1.0"
|
|
28
|
-
},
|
|
29
23
|
"publishConfig": {
|
|
30
24
|
"access": "public"
|
|
31
25
|
},
|
|
32
26
|
"license": "MIT",
|
|
33
27
|
"repository": {
|
|
34
28
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/pie-framework/pie-elements-ng.git",
|
|
29
|
+
"url": "git+https://github.com/pie-framework/pie-elements-ng.git",
|
|
36
30
|
"directory": "packages/shared/lodash"
|
|
37
31
|
},
|
|
38
32
|
"homepage": "https://github.com/pie-framework/pie-elements-ng#readme",
|