@blackglory/structures 0.10.9 → 0.10.10

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.
@@ -16481,6 +16481,9 @@ class SparseMap {
16481
16481
  get [Symbol.toStringTag]() {
16482
16482
  return this.constructor.name;
16483
16483
  }
16484
+ get size() {
16485
+ return this.indexToKey.length;
16486
+ }
16484
16487
  *entries() {
16485
16488
  for (let i = 0; i < this.indexToKey.length; i++) {
16486
16489
  yield [this.indexToKey[i], this.indexToValue[i]];
@@ -16545,6 +16548,9 @@ class TypedSparseMap {
16545
16548
  get [Symbol.toStringTag]() {
16546
16549
  return this.constructor.name;
16547
16550
  }
16551
+ get size() {
16552
+ return this.indexToKey.length;
16553
+ }
16548
16554
  *entries() {
16549
16555
  for (let i = 0; i < this.indexToKey.length; i++) {
16550
16556
  yield [