@pandacss/shared
Advanced tools
Comparing version 0.0.0-dev-20240730123712 to 0.0.0-dev-20240804095701
@@ -515,3 +515,3 @@ "use strict"; | ||
if (!path.length && isValueObject) { | ||
return Object.assign(target, value); | ||
return mergeProps(target, value); | ||
} | ||
@@ -521,8 +521,6 @@ let current = target; | ||
const key = path[i]; | ||
if (!current[key]) { | ||
current[key] = {}; | ||
} | ||
current[key] ||= {}; | ||
if (i === path.length - 1) { | ||
if (isValueObject && isObject(current[key])) { | ||
current[key] = Object.assign({ ...current[key] }, value); | ||
current[key] = mergeProps(current[key], value); | ||
} else { | ||
@@ -529,0 +527,0 @@ current[key] = value; |
{ | ||
"name": "@pandacss/shared", | ||
"version": "0.0.0-dev-20240730123712", | ||
"version": "0.0.0-dev-20240804095701", | ||
"description": "Shared utilities for css panda", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110626
2981