@libs-ui/utils 0.2.310-0 → 0.2.312-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/helpers.d.ts CHANGED
@@ -27,8 +27,7 @@ export declare const isNil: (value: unknown, options?: {
27
27
  * isEmpty({ a: 1 }); // false
28
28
  */
29
29
  export declare const isEmpty: (value: unknown, options?: {
30
- ignoreCheckTypeObj?: boolean;
31
- ignoreCheckFalsy?: boolean;
30
+ ignoreCheckTypePrimitive?: boolean;
32
31
  ignoreUnWrapSignal?: boolean;
33
32
  ignoreCheckString?: boolean;
34
33
  }) => value is null | undefined | "" | 0;
@@ -43,7 +42,7 @@ export declare const isEmpty: (value: unknown, options?: {
43
42
  * isTruthy(''); // false
44
43
  * isTruthy(undefined); // false
45
44
  * isTruthy(0); // false
46
- * isTruthy({}); // false
45
+ * isTruthy({}); // true
47
46
  * isTruthy(0, { ignoreZero: true }); // true
48
47
  */
49
48
  export declare const isTruthy: <T>(value: T, options?: {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@libs-ui/utils",
3
- "version": "0.2.310-0",
3
+ "version": "0.2.312-0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
7
  "crypto-es": "^2.1.0",
8
8
  "dayjs": "1.11.5",
9
- "@libs-ui/interfaces-types": "0.2.310-0",
9
+ "@libs-ui/interfaces-types": "0.2.312-0",
10
10
  "rxjs": "~7.8.0"
11
11
  },
12
12
  "sideEffects": false,