@lvce-editor/text-search-worker 7.2.0 → 7.2.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.
@@ -3406,7 +3406,7 @@ const handleUpdateFull = async (state, update) => {
3406
3406
  const root = state.workspacePath;
3407
3407
  const scheme = getProtocol(root);
3408
3408
  const isFileSearch = scheme === '' || scheme === 'file';
3409
- const shouldUsePullBasedSearch = Boolean(usePullBasedSearch) && isFileSearch;
3409
+ const shouldUsePullBasedSearch = usePullBasedSearch && isFileSearch;
3410
3410
  const searchId = shouldUsePullBasedSearch ? crypto.randomUUID() : '';
3411
3411
  const {
3412
3412
  limitHit,
@@ -3604,7 +3604,7 @@ const handleUpdateIncremental = async (state, update) => {
3604
3604
  root,
3605
3605
  scheme,
3606
3606
  threads,
3607
- usePullBasedSearch: usePullBasedSearch || false,
3607
+ usePullBasedSearch: usePullBasedSearch,
3608
3608
  useRegularExpression: Boolean(flags & UseRegularExpression$2)
3609
3609
  }, assetDir, platform, searchId, uid);
3610
3610
  return state;
@@ -3641,7 +3641,7 @@ const handleUpdatePullBased = async (state, update) => {
3641
3641
  const root = state.workspacePath;
3642
3642
  const scheme = getProtocol(root);
3643
3643
  const isFileSearch = scheme === '' || scheme === 'file';
3644
- const shouldUsePullBasedSearch = Boolean(usePullBasedSearch) && isFileSearch;
3644
+ const shouldUsePullBasedSearch = usePullBasedSearch && isFileSearch;
3645
3645
  const {
3646
3646
  limitHit
3647
3647
  } = await textSearch$6(root, value, {
@@ -6589,6 +6589,7 @@ const commandMap = {
6589
6589
  'TextSearch.enableRenderFolderPaths': wrapCommand(enableRenderFolderPaths),
6590
6590
  'TextSearch.expandCurrent': wrapCommand(expandCurrent),
6591
6591
  'TextSearch.expandDetails': wrapCommand(expandDetails),
6592
+ 'TextSearch.focus': wrapCommand(focusSearchValue),
6592
6593
  'TextSearch.focusFirst': wrapCommand(focusFirst),
6593
6594
  'TextSearch.focusIndex': wrapCommand(focusIndex),
6594
6595
  'TextSearch.focusLast': wrapCommand(focusLast),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/text-search-worker",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "description": "Text Search Worker",
5
5
  "keywords": [
6
6
  "text-search"