Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/gutter

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/gutter - npm Package Compare versions

Comparing version 0.19.1 to 0.19.2

6

CHANGELOG.md

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

## 0.19.2 (2021-09-13)
### Bug fixes
Fix the `domEventHandlers` option to `lineNumbers`, which was entirely ignored before.
## 0.19.1 (2021-08-16)

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

10

dist/index.js

@@ -358,4 +358,5 @@ import { EditorView, ViewPlugin, BlockType, PluginField, Direction } from '@codemirror/view';

}
const lineNumberGutter = /*@__PURE__*/gutter({
const lineNumberGutter = /*@__PURE__*/activeGutters.compute([lineNumberConfig], state => ({
class: "cm-lineNumbers",
renderEmptyElements: false,
markers(view) { return view.state.facet(lineNumberMarkers); },

@@ -373,4 +374,5 @@ lineMarker(view, line, others) {

return max == spacer.number ? spacer : new NumberMarker(max);
}
});
},
domEventHandlers: state.facet(lineNumberConfig).domEventHandlers
}));
/**

@@ -382,2 +384,3 @@ Create a line number gutter extension.

lineNumberConfig.of(config),
gutters(),
lineNumberGutter

@@ -397,3 +400,2 @@ ];

}
eq() { return true; }
};

@@ -400,0 +402,0 @@ const activeLineGutterHighlighter = /*@__PURE__*/gutterLineClass.compute(["selection"], state => {

2

package.json
{
"name": "@codemirror/gutter",
"version": "0.19.1",
"version": "0.19.2",
"description": "Gutter and line number 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