Socket
Socket
Sign inDemoInstall

@codemirror/fold

Package Overview
Dependencies
10
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.19.3 to 0.19.4

6

CHANGELOG.md

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

## 0.19.4 (2022-04-19)
### Bug fixes
Make sure the fold gutter is updated when the syntax tree changes.
## 0.19.3 (2022-01-24)

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

5

dist/index.js
import { StateEffect, StateField, Facet, combineConfig } from '@codemirror/state';
import { Decoration, EditorView, WidgetType, ViewPlugin } from '@codemirror/view';
import { foldable, language } from '@codemirror/language';
import { foldable, language, syntaxTree } from '@codemirror/language';
import { gutter, GutterMarker } from '@codemirror/gutter';

@@ -235,3 +235,4 @@ import { RangeSet, RangeSetBuilder } from '@codemirror/rangeset';

update.startState.facet(language) != update.state.facet(language) ||
update.startState.field(foldState, false) != update.state.field(foldState, false))
update.startState.field(foldState, false) != update.state.field(foldState, false) ||
syntaxTree(update.startState) != syntaxTree(update.state))
this.markers = this.buildMarkers(update.view);

@@ -238,0 +239,0 @@ }

2

package.json
{
"name": "@codemirror/fold",
"version": "0.19.3",
"version": "0.19.4",
"description": "Code folding 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc