Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/search

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/search - npm Package Versions

234

6.5.8

Diff

Changelog

Source

6.5.8 (2024-11-22)

Bug fixes

Fix a bug that put the selection in the wrong place after running replaceNext with a regexp query that could match strings of different length.

marijn
published 6.5.7 •

Changelog

Source

6.5.7 (2024-11-01)

Bug fixes

Fix an issue where findNext and findPrevious would do nothing when the only match in the document was partially selected.

Fix an infinite loop in SearchCursor when the normalizer function deletes characters.

marijn
published 6.5.6 •

Changelog

Source

6.5.6 (2024-02-07)

Bug fixes

Make highlightSelectionMatches include whitespace in the selection in its matches.

Fix a bug that caused SearchCursor to return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars.

marijn
published 6.5.5 •

Changelog

Source

6.5.5 (2023-11-27)

Bug fixes

Fix a bug that caused codes like \n to be unescaped in strings inserted via replace placeholders like $&.

Use the keybinding Mod-Alt-g for gotoLine to the search keymap, to make it usable for people whose keyboard layout uses Alt/Option-g to type some character.

marijn
published 6.5.4 •

Changelog

Source

6.5.4 (2023-09-20)

Bug fixes

Fix a bug that caused whole-word search to incorrectly check for word boundaries in some circumstances.

marijn
published 6.5.3 •

Changelog

Source

6.5.3 (2023-09-14)

Bug fixes

The gotoLine dialog is now populated with the current line number when you open it.

marijn
published 6.5.2 •

Changelog

Source

6.5.2 (2023-08-26)

Bug fixes

Don't use the very lowest precedence for match highlighting decorations.

marijn
published 6.5.1 •

Changelog

Source

6.5.1 (2023-08-04)

Bug fixes

Make gotoLine prefer to scroll the target line to the middle of the view.

Fix an issue in SearchCursor where character normalization could produce nonsensical matches.

marijn
published 6.5.0 •

Changelog

Source

6.5.0 (2023-06-05)

New features

The new regexp option to search can be used to control whether queries have the regexp flag on by default.

marijn
published 6.4.0 •

Changelog

Source

6.4.0 (2023-04-25)

Bug fixes

The findNext and findPrevious commands now select the search field text if that field is focused.

New features

The scrollToMatch callback option now receives the editor view as a second parameter.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc