@k3000/store 1.5.2 → 1.5.3

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.
Files changed (2) hide show
  1. package/architect.mjs +1 -1
  2. package/package.json +1 -1
package/architect.mjs CHANGED
@@ -781,7 +781,7 @@ export class Entities extends Array {
781
781
 
782
782
  s = this.#indexAfterPosition(index, after, length, s, e)
783
783
 
784
- e = this.#indexBeforePosition(index, before, length, s, e)
784
+ e = this.#indexBeforePosition(index, before, length, s === 0 ? 0 : s - 1, e)
785
785
 
786
786
  return index.slice(s, e + 1)
787
787
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3000/store",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "storage",
5
5
  "main": "generator.mjs",
6
6
  "scripts": {