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.3 to 0.19.4

6

CHANGELOG.md

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

## 0.19.4 (2021-12-02)
### Bug fixes
The search panel will no longer show the replace interface when the editor is read-only.
## 0.19.3 (2021-11-22)

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

12

dist/index.js

@@ -968,7 +968,9 @@ import { EditorView, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view';

elt("label", null, [reField, phrase("regexp")]),
elt("br"),
replaceField,
button("replace", () => replaceNext(conf.view), [phrase("replace")]),
button("replaceAll", () => replaceAll(conf.view), [phrase("replace all")]),
elt("button", { name: "close", onclick: () => closeSearchPanel(conf.view), "aria-label": phrase("close"), type: "button" }, ["×"])
...conf.view.state.readOnly ? [] : [
elt("br"),
replaceField,
button("replace", () => replaceNext(conf.view), [phrase("replace")]),
button("replaceAll", () => replaceAll(conf.view), [phrase("replace all")]),
elt("button", { name: "close", onclick: () => closeSearchPanel(conf.view), "aria-label": phrase("close"), type: "button" }, ["×"])
]
]);

@@ -975,0 +977,0 @@ return panel;

{
"name": "@codemirror/search",
"version": "0.19.3",
"version": "0.19.4",
"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