@markdoc/markdoc 0.3.3 → 0.3.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 CHANGED
@@ -6951,7 +6951,11 @@ var Node = class {
6951
6951
  resolve(config = {}) {
6952
6952
  return Object.assign(new Node(), this, {
6953
6953
  children: this.children.map((child) => child.resolve(config)),
6954
- attributes: resolve(this.attributes, config)
6954
+ attributes: resolve(this.attributes, config),
6955
+ slots: Object.fromEntries(Object.entries(this.slots).map(([name, slot2]) => [
6956
+ name,
6957
+ slot2.resolve(config)
6958
+ ]))
6955
6959
  });
6956
6960
  }
6957
6961
  findSchema(config = {}) {