Socket
Socket
Sign inDemoInstall

@codemirror/matchbrackets

Package Overview
Dependencies
9
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.2 to 0.18.0

2

CHANGELOG.md

@@ -0,1 +1,3 @@

## 0.18.0 (2021-03-03)
## 0.17.2 (2021-01-06)

@@ -2,0 +4,0 @@

8

dist/index.js
import { Facet, combineConfig, StateField } from '@codemirror/state';
import { syntaxTree } from '@codemirror/language';
import { EditorView, Decoration, themeClass } from '@codemirror/view';
import { EditorView, Decoration } from '@codemirror/view';
import { NodeProp } from 'lezer-tree';
const baseTheme = EditorView.baseTheme({
$matchingBracket: { color: "#0b0" },
$nonmatchingBracket: { color: "#a22" }
".cm-matchingBracket": { color: "#0b0" },
".cm-nonmatchingBracket": { color: "#a22" }
});

@@ -20,3 +20,3 @@ const DefaultScanDist = 10000, DefaultBrackets = "()[]{}";

});
const matchingMark = Decoration.mark({ class: themeClass("matchingBracket") }), nonmatchingMark = Decoration.mark({ class: themeClass("nonmatchingBracket") });
const matchingMark = Decoration.mark({ class: "cm-matchingBracket" }), nonmatchingMark = Decoration.mark({ class: "cm-nonmatchingBracket" });
const bracketMatchingState = StateField.define({

@@ -23,0 +23,0 @@ create() { return Decoration.none; },

{
"name": "@codemirror/matchbrackets",
"version": "0.17.2",
"version": "0.18.0",
"description": "Bracket matching for the CodeMirror code editor",

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

"dependencies": {
"@codemirror/language": "^0.17.0",
"@codemirror/state": "^0.17.0",
"@codemirror/view": "^0.17.0",
"@codemirror/language": "^0.18.0",
"@codemirror/state": "^0.18.0",
"@codemirror/view": "^0.18.0",
"lezer-tree": "^0.13.0"

@@ -34,0 +34,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc