inibase 1.0.0-rc.122 → 1.0.0-rc.123
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/dist/file.js +1 -1
- package/package.json +1 -1
package/dist/file.js
CHANGED
|
@@ -542,7 +542,7 @@ export const search = async (filePath, operator, comparedAtValue, logicalOperato
|
|
|
542
542
|
// Increment the line count for each line.
|
|
543
543
|
linesCount++;
|
|
544
544
|
// Search only in provided linesNumbers
|
|
545
|
-
if (
|
|
545
|
+
if (searchIn && (!searchIn.has(linesCount) || searchIn.has(-linesCount)))
|
|
546
546
|
continue;
|
|
547
547
|
// Decode the line for comparison.
|
|
548
548
|
const decodedLine = decode(line, fieldType, fieldChildrenType, secretKey);
|