mixlea-utils-js 0.1.37 → 0.1.39

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.
@@ -1025,6 +1025,10 @@ export declare function objectEqual(obj: any, obj1: any, opts?: {
1025
1025
  */
1026
1026
  export declare function objectFieldsEvery(obj: any, validateFunc: (fieldValue: any) => boolean, fields?: string[], defaultValue?: boolean): boolean;
1027
1027
 
1028
+ export declare function objectFieldsSetNull(o: any, fields: string[]): Record<string, any>;
1029
+
1030
+ export declare function objectFieldsSetUndefined(o: any, fields: string[]): Record<string, any>;
1031
+
1028
1032
  /**
1029
1033
  * 对象字段校验
1030
1034
  * @param obj 检测对象
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.37",
4
+ "version": "0.1.39",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {