inibase 1.2.3 → 1.2.4

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/dist/file.js +1 -1
  2. package/package.json +1 -1
package/dist/file.js CHANGED
@@ -558,7 +558,7 @@ export const search = async (filePath, operator, comparedAtValue, logicalOperato
558
558
  if (offset && linesNumbers.size < offset)
559
559
  continue;
560
560
  // Check if the limit has been reached.
561
- if (limit && linesNumbers.size > limit + (offset ?? 0)) {
561
+ if (limit && linesNumbers.size >= limit + (offset ?? 0)) {
562
562
  if (readWholeFile)
563
563
  continue;
564
564
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",