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 6.5.2 to 6.5.3

6

CHANGELOG.md

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

## 6.5.3 (2023-09-14)
### Bug fixes
The `gotoLine` dialog is now populated with the current line number when you open it.
## 6.5.2 (2023-08-26)

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

5

dist/index.js

@@ -309,3 +309,4 @@ import { showPanel, EditorView, getPanel, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view';

function createLineDialog(view) {
let input = elt("input", { class: "cm-textfield", name: "line" });
let line = String(view.state.doc.lineAt(view.state.selection.main.head).number);
let input = elt("input", { class: "cm-textfield", name: "line", value: line });
let dom = elt("form", {

@@ -386,3 +387,3 @@ class: "cm-gotoLine",

if (panel)
panel.dom.querySelector("input").focus();
panel.dom.querySelector("input").select();
return true;

@@ -389,0 +390,0 @@ };

2

package.json
{
"name": "@codemirror/search",
"version": "6.5.2",
"version": "6.5.3",
"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