acp-kernel 0.0.64-pr.169.106 → 0.0.64-pr.169.107

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
@@ -822,7 +822,7 @@ function cloneNode(node, overrides) {
822
822
  const out = {};
823
823
  for (const [name, value] of Object.entries(node)) {
824
824
  const cloned = cloneNode(value, overrides);
825
- if (name in overrides && cloned && typeof cloned === "object" && !Array.isArray(cloned)) {
825
+ if (Object.hasOwn(overrides, name) && cloned && typeof cloned === "object" && !Array.isArray(cloned)) {
826
826
  cloned.description = overrides[name];
827
827
  }
828
828
  out[name] = cloned;