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 Compare versions

Comparing version 0.19.9 to 0.19.10

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.19.10 (2022-04-04)
### Bug fixes
Make sure search matches are highlighted when scrolling new content into view.
## 0.19.9 (2022-03-03)

@@ -2,0 +8,0 @@

2

dist/index.js

@@ -745,3 +745,3 @@ import { EditorView, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view';

let state = update.state.field(searchState);
if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet)
if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged)
this.decorations = this.highlight(state);

@@ -748,0 +748,0 @@ }

{
"name": "@codemirror/search",
"version": "0.19.9",
"version": "0.19.10",
"description": "Search functionality for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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