mol_conform 0.0.87 → 0.0.89

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_conform",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.test.js CHANGED
@@ -588,6 +588,9 @@ var $;
588
588
  sort() {
589
589
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
590
590
  }
591
+ indexOf(needle) {
592
+ return this.findIndex(item => item === needle);
593
+ }
591
594
  [Symbol.toPrimitive]() {
592
595
  return $mol_guid();
593
596
  }