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.0 to 0.19.1

6

CHANGELOG.md

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

## 0.19.1 (2021-08-16)
### Bug fixes
Fix a bug where range sets with gutter markers didn't map correctly in response to changes at the start of the gutter's line.
## 0.19.0 (2021-08-11)

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

5

dist/index.d.ts

@@ -34,3 +34,3 @@ import { EditorView, BlockInfo, ViewUpdate } from '@codemirror/view';

declare type Handlers = {
[event: string]: (view: EditorView, line: BlockInfo, event: any) => boolean;
[event: string]: (view: EditorView, line: BlockInfo, event: Event) => boolean;
};

@@ -49,4 +49,3 @@ interface GutterConfig {

/**
Retrieve a set of markers to use in this gutter from the
current editor state.
Retrieve a set of markers to use in this gutter.
*/

@@ -53,0 +52,0 @@ markers?: (view: EditorView) => (RangeSet<GutterMarker> | readonly RangeSet<GutterMarker>[]);

1

dist/index.js

@@ -25,2 +25,3 @@ import { EditorView, ViewPlugin, BlockType, PluginField, Direction } from '@codemirror/view';

GutterMarker.prototype.mapMode = MapMode.TrackBefore;
GutterMarker.prototype.startSide = GutterMarker.prototype.endSide = -1;
GutterMarker.prototype.point = true;

@@ -27,0 +28,0 @@ /**

{
"name": "@codemirror/gutter",
"version": "0.19.0",
"version": "0.19.1",
"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