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

prosemirror-model

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-model - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

6

CHANGELOG.md

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

## 1.4.3 (2018-04-27)
### Bug fixes
[`DOMParser.parseSlice`](https://prosemirror.net/docs/ref/#model.DOMParser.parseSlice) can now correctly parses marks at the top level again.
## 1.4.2 (2018-04-15)

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

2

package.json
{
"name": "prosemirror-model",
"version": "1.4.2",
"version": "1.4.3",
"description": "ProseMirror's document model",

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

@@ -329,3 +329,3 @@ import {Fragment} from "./fragment"

let old = this.activeMarks
if (this.type && this.type.allowsMarkType(mark.type))
if (!this.type || this.type.allowsMarkType(mark.type))
this.activeMarks = mark.addToSet(old)

@@ -332,0 +332,0 @@ return old

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

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