@pandacss/shared 0.53.2 → 0.53.4
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 +3 -0
- package/dist/index.mjs +3 -0
- package/dist/shared.js +3 -0
- package/dist/shared.mjs +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -357,11 +357,14 @@ function markImportant(obj) {
|
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
// src/merge-props.ts
|
|
360
|
+
var MERGE_OMIT = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
360
361
|
function mergeProps(...sources) {
|
|
361
362
|
return sources.reduce((prev, obj) => {
|
|
362
363
|
if (!obj)
|
|
363
364
|
return prev;
|
|
364
365
|
Object.keys(obj).forEach((key) => {
|
|
366
|
+
if (MERGE_OMIT.has(key))
|
|
367
|
+
return;
|
|
365
368
|
const prevValue = prev[key];
|
|
366
369
|
const value = obj[key];
|
|
367
370
|
if (isObject(prevValue) && isObject(value)) {
|
package/dist/index.mjs
CHANGED
|
@@ -265,11 +265,14 @@ function markImportant(obj) {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
// src/merge-props.ts
|
|
268
|
+
var MERGE_OMIT = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
268
269
|
function mergeProps(...sources) {
|
|
269
270
|
return sources.reduce((prev, obj) => {
|
|
270
271
|
if (!obj)
|
|
271
272
|
return prev;
|
|
272
273
|
Object.keys(obj).forEach((key) => {
|
|
274
|
+
if (MERGE_OMIT.has(key))
|
|
275
|
+
return;
|
|
273
276
|
const prevValue = prev[key];
|
|
274
277
|
const value = obj[key];
|
|
275
278
|
if (isObject(prevValue) && isObject(value)) {
|
package/dist/shared.js
CHANGED
|
@@ -108,11 +108,14 @@ var memo = (fn) => {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
// src/merge-props.ts
|
|
111
|
+
var MERGE_OMIT = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
111
112
|
function mergeProps(...sources) {
|
|
112
113
|
return sources.reduce((prev, obj) => {
|
|
113
114
|
if (!obj)
|
|
114
115
|
return prev;
|
|
115
116
|
Object.keys(obj).forEach((key) => {
|
|
117
|
+
if (MERGE_OMIT.has(key))
|
|
118
|
+
return;
|
|
116
119
|
const prevValue = prev[key];
|
|
117
120
|
const value = obj[key];
|
|
118
121
|
if (isObject(prevValue) && isObject(value)) {
|
package/dist/shared.mjs
CHANGED
|
@@ -64,11 +64,14 @@ var memo = (fn) => {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
// src/merge-props.ts
|
|
67
|
+
var MERGE_OMIT = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
67
68
|
function mergeProps(...sources) {
|
|
68
69
|
return sources.reduce((prev, obj) => {
|
|
69
70
|
if (!obj)
|
|
70
71
|
return prev;
|
|
71
72
|
Object.keys(obj).forEach((key) => {
|
|
73
|
+
if (MERGE_OMIT.has(key))
|
|
74
|
+
return;
|
|
72
75
|
const prevValue = prev[key];
|
|
73
76
|
const value = obj[key];
|
|
74
77
|
if (isObject(prevValue) && isObject(value)) {
|