@pandacss/shared 0.36.0 → 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 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",