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

134

6.3.0

Diff

Changelog

Source

6.3.0 (2023-03-20)

New features

The new scrollToMatch search option allows you to adjust the way the editor scrolls search matches into view.

marijn
published 6.2.3 •

Changelog

Source

6.2.3 (2022-11-14)

Bug fixes

Fix a bug that hid the search dialog's close button when the editor was read-only.

marijn
published 6.2.2 •

Changelog

Source

6.2.2 (2022-10-18)

Bug fixes

When literal is off, \n, \r, and \t escapes are now also supported in replacement text.

Make sure search dialog inputs don't get treated as form fields when the editor is created inside a form.

Fix a bug in RegExpCursor that would cause it to stop matching in the middle of a line when its current match position was equal to the length of the line.

marijn
published 6.2.1 •

Changelog

Source

6.2.1 (2022-09-26)

Bug fixes

By-word search queries will now skip any result that had word characters both before and after a match boundary.

marijn
published 6.2.0 •

Changelog

Source

6.2.0 (2022-08-25)

New features

A new wholeWord search query flag can be used to limit matches to whole words.

SearchCursor and RegExpCursor now support a test parameter that can be used to ignore certain matches.

marijn
published 6.1.0 •

Changelog

Source

6.1.0 (2022-08-16)

Bug fixes

Fix an infinite loop when the match position of a RegExpCursor ended up in the middle of an UTF16 surrogate pair.

New features

The literal search option can now be set to make literal queries the default.

The new searchPanelOpen function can be used to find out whether the search panel is open for a given state.

marijn
published 6.0.1 •

Changelog

Source

6.0.1 (2022-07-22)

Bug fixes

findNext and findPrevious will now return to the current result (and scroll it into view) if no other matches are found.

marijn
published 6.0.0 •

Changelog

Source

6.0.0 (2022-06-08)

Bug fixes

Don't crash when a custom search panel doesn't have a field named 'search'.

Make sure replacements are announced to screen readers.

marijn
published 0.20.1 •

Changelog

Source

0.20.1 (2022-04-22)

New features

It is now possible to disable backslash escapes in search queries with the literal option.

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2022-04-20)

Bug fixes

Make the wholeWords option to highlightSelectionMatches default to false, as intended.

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