react-querybuilder
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -81,4 +81,4 @@ "use strict"; | ||
// src/utils/objectKeys.ts | ||
var objectKeys = (obj) => Object.keys(obj); | ||
// src/utils/objectUtils.ts | ||
var objectKeys = Object.keys; | ||
@@ -85,0 +85,0 @@ // src/utils/optGroupUtils.ts |
@@ -81,4 +81,4 @@ "use strict"; | ||
// src/utils/objectKeys.ts | ||
var objectKeys = (obj) => Object.keys(obj); | ||
// src/utils/objectUtils.ts | ||
var objectKeys = Object.keys; | ||
@@ -85,0 +85,0 @@ // src/utils/optGroupUtils.ts |
@@ -29,5 +29,5 @@ "use strict"; | ||
for (const [k, v] of Object.entries(propertyMap)) { | ||
if (k !== v) { | ||
if (!!v && k !== v && Object.hasOwn(draft, k)) { | ||
draft[v] = draft[k]; | ||
if (deleteRemappedProperties && Object.hasOwn(draft, k)) { | ||
if (deleteRemappedProperties) { | ||
delete draft[k]; | ||
@@ -68,3 +68,3 @@ } | ||
...{ ...r, path: [...rg.path, idx] }, | ||
operator: operatorMap[r.operator] ?? r.operator | ||
..."operator" in r ? { operator: operatorMap[r.operator] ?? r.operator } : {} | ||
}, | ||
@@ -71,0 +71,0 @@ propertyMap, |
{ | ||
"name": "react-querybuilder", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "The React <QueryBuilder /> component for constructing queries", | ||
@@ -120,3 +120,3 @@ "main": "./dist/cjs/index.js", | ||
}, | ||
"gitHead": "c017101a87e83adcd3530986aff300717ee3ef29" | ||
"gitHead": "d92b54f1e72034e2bc7c3da0a4022f377ffa9a25" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4921104
29528