@orpc/shared 2.0.0-beta.25 → 2.0.0-beta.26
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.mjs +2 -2
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -601,10 +601,10 @@ function clone(value) {
|
|
|
601
601
|
if (isPlainObject(value)) {
|
|
602
602
|
const result = {};
|
|
603
603
|
for (const key in value) {
|
|
604
|
-
result
|
|
604
|
+
defineOwnProperty(result, key, clone(value[key]));
|
|
605
605
|
}
|
|
606
606
|
for (const sym of Object.getOwnPropertySymbols(value)) {
|
|
607
|
-
result
|
|
607
|
+
defineOwnProperty(result, sym, clone(value[sym]));
|
|
608
608
|
}
|
|
609
609
|
return result;
|
|
610
610
|
}
|
package/package.json
CHANGED