New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Compare versions

Comparing version

to
1.15.4

6

CHANGELOG.md

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

## 1.15.4 (2020-08-13)
### Bug fixes
Fix a crash that occurred when inline decorations covered inline nodes that weren't leaf nodes.
## 1.15.3 (2020-08-11)

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

2

package.json
{
"name": "prosemirror-view",
"version": "1.15.3",
"version": "1.15.4",
"description": "ProseMirror's view component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1246,3 +1246,3 @@ import {DOMSerializer, Fragment, Mark} from "prosemirror-model"

let outerDeco = !active.length ? nothing
: child.isInline && !child.isLeaf ? outerDeco.filter(d => !d.inline)
: child.isInline && !child.isLeaf ? active.filter(d => !d.inline)
: active.slice()

@@ -1249,0 +1249,0 @@ onNode(child, outerDeco, deco.forChild(offset, child), index)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet