@lvce-editor/text-search-worker 7.8.0 → 7.8.1

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.
@@ -1431,9 +1431,13 @@ const getRipGrepArgs = ({
1431
1431
  matchWholeWord,
1432
1432
  searchString,
1433
1433
  threads,
1434
+ useIgnoreFiles = true,
1434
1435
  useRegularExpression
1435
1436
  }) => {
1436
1437
  const ripGrepArgs = ['--hidden', '--no-require-git', '--smart-case', '--stats', '--json', '--threads', `${threads}`];
1438
+ if (!useIgnoreFiles) {
1439
+ ripGrepArgs.push('--no-ignore');
1440
+ }
1437
1441
  const excludePatternsFromValue = exclude ? exclude.split(',').map(part => part.trim()).filter(Boolean) : [];
1438
1442
  const excludePatternsFromDefaults = defaultExcludes?.filter(Boolean) || [];
1439
1443
  const uniqueExcludePatterns = [...new Set([...excludePatternsFromDefaults, ...excludePatternsFromValue])];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/text-search-worker",
3
- "version": "7.8.0",
3
+ "version": "7.8.1",
4
4
  "description": "Text Search Worker",
5
5
  "keywords": [
6
6
  "text-search"