inibase 1.0.0-rc.112 → 1.0.0-rc.113

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 +3 -0
  2. package/package.json +1 -1
package/dist/file.js CHANGED
@@ -553,6 +553,9 @@ export const search = async (filePath, operator, comparedAtValue, logicalOperato
553
553
  ? [matchingLines, linesNumbers.size, linesNumbers]
554
554
  : [null, 0, null];
555
555
  }
556
+ catch {
557
+ return [null, 0, null];
558
+ }
556
559
  finally {
557
560
  // Close the file handle in the finally block to ensure it is closed even if an error occurs.
558
561
  await fileHandle?.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.0.0-rc.112",
3
+ "version": "1.0.0-rc.113",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",