@arcgis/lumina 5.0.0-next.4 → 5.0.0-next.42
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.
|
@@ -197,10 +197,12 @@ const deepMerge = (original, overwrites) => {
|
|
|
197
197
|
}
|
|
198
198
|
const merged = { ...original };
|
|
199
199
|
Object.entries(overwrites).forEach(([key, value]) => {
|
|
200
|
-
if (
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
if (original[key] !== void 0) {
|
|
201
|
+
if (typeof value === "object") {
|
|
202
|
+
merged[key] = deepMerge(original[key], value);
|
|
203
|
+
} else {
|
|
204
|
+
merged[key] = value ?? original[key];
|
|
205
|
+
}
|
|
204
206
|
}
|
|
205
207
|
});
|
|
206
208
|
return merged;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcgis/toolkit": "~5.0.0-next.
|
|
25
|
+
"@arcgis/toolkit": "~5.0.0-next.42",
|
|
26
26
|
"csstype": "^3.1.3",
|
|
27
27
|
"tslib": "^2.8.1"
|
|
28
28
|
},
|