@pandacss/shared 0.36.1 → 0.37.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -441,7 +441,7 @@ var deepSet = (target, path, value) => {
|
|
|
441
441
|
}
|
|
442
442
|
if (i === path.length - 1) {
|
|
443
443
|
if (isValueObject && isObject(current[key])) {
|
|
444
|
-
Object.assign(current[key], value);
|
|
444
|
+
current[key] = Object.assign({ ...current[key] }, value);
|
|
445
445
|
} else {
|
|
446
446
|
current[key] = value;
|
|
447
447
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -351,7 +351,7 @@ var deepSet = (target, path, value) => {
|
|
|
351
351
|
}
|
|
352
352
|
if (i === path.length - 1) {
|
|
353
353
|
if (isValueObject && isObject(current[key])) {
|
|
354
|
-
Object.assign(current[key], value);
|
|
354
|
+
current[key] = Object.assign({ ...current[key] }, value);
|
|
355
355
|
} else {
|
|
356
356
|
current[key] = value;
|
|
357
357
|
}
|