mol_plot_all 1.2.874 → 1.2.876

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/node.mjs CHANGED
@@ -215,18 +215,16 @@ var $;
215
215
  return this.toString();
216
216
  }
217
217
  static toString() {
218
- if (Symbol.toStringTag in this)
219
- return this[Symbol.toStringTag];
220
- return this.name;
218
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
219
+ }
220
+ static toJSON() {
221
+ return this.toString();
221
222
  }
222
223
  destructor() { }
223
224
  static destructor() { }
224
225
  toString() {
225
226
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
226
227
  }
227
- static toJSON() {
228
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
229
- }
230
228
  toJSON() {
231
229
  return this.toString();
232
230
  }
package/node.test.js CHANGED
@@ -207,18 +207,16 @@ var $;
207
207
  return this.toString();
208
208
  }
209
209
  static toString() {
210
- if (Symbol.toStringTag in this)
211
- return this[Symbol.toStringTag];
212
- return this.name;
210
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
211
+ }
212
+ static toJSON() {
213
+ return this.toString();
213
214
  }
214
215
  destructor() { }
215
216
  static destructor() { }
216
217
  toString() {
217
218
  return this[Symbol.toStringTag] || this.constructor.name + '<>';
218
219
  }
219
- static toJSON() {
220
- return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
221
- }
222
220
  toJSON() {
223
221
  return this.toString();
224
222
  }
@@ -7129,7 +7127,7 @@ var $;
7129
7127
  continue;
7130
7128
  if (!$mol_compare_deep(args[i], args[j]))
7131
7129
  continue;
7132
- $mol_fail(new Error(`args[${i}] = args[${j}] = ${args[i]}`));
7130
+ $mol_fail(new Error(`args[${i}] = args[${j}] = ${print(args[i])}`));
7133
7131
  }
7134
7132
  }
7135
7133
  }