mol_view_tree2_lib 1.0.198 → 1.0.200

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/web.mjs CHANGED
@@ -2124,7 +2124,7 @@ var $;
2124
2124
  if (!is_writable(right))
2125
2125
  this.$mol_fail(err `Expected writable at ${right.span}`);
2126
2126
  }
2127
- else if (operator?.type === "<=" && is_writable(left)) {
2127
+ else if (context.factory && operator?.type === "<=" && is_writable(left)) {
2128
2128
  this.$mol_fail(err `Expected readonly at ${left.span}`);
2129
2129
  }
2130
2130
  if (right)
package/web.test.js CHANGED
@@ -7536,7 +7536,7 @@ var $;
7536
7536
  indexed(id, next){
7537
7537
  if(next !== undefined) return next;
7538
7538
  const obj = new this.$.$mol_view_tree2_to_js_test_ex_bidi_indexed_second_level_bar();
7539
- (obj.expanded) = () => ((this.owner(id, next)));
7539
+ (obj.expanded) = (next) => ((this.owner(id, next)));
7540
7540
  return obj;
7541
7541
  }
7542
7542
  };