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.10.0 to 1.10.1

6

CHANGELOG.md

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

## 1.10.1 (2020-07-08)
### Bug fixes
Fix a bug that prevented non-canonical list structure from being normalized.
## 1.10.0 (2020-05-25)

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

2

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

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

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

let name = dom.nodeName.toLowerCase()
if (listTags.hasOwnProperty(name) && this.normalizeLists) normalizeList(dom)
if (listTags.hasOwnProperty(name) && this.parser.normalizeLists) normalizeList(dom)
let rule = (this.options.ruleFromNode && this.options.ruleFromNode(dom)) || this.parser.matchTag(dom, this)

@@ -431,0 +431,0 @@ if (rule ? rule.ignore : ignoreTags.hasOwnProperty(name)) {

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

// :: (number, number, Mark | MarkType) → bool
// :: (number, number, union<Mark, MarkType>) → bool
// Test whether a given mark or mark type occurs in this document

@@ -228,0 +228,0 @@ // between the two given positions.

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

throw new RangeError("Invalid input for Slice.fromJSON")
return new Slice(Fragment.fromJSON(schema, json.content), json.openStart || 0, json.openEnd || 0)
return new Slice(Fragment.fromJSON(schema, json.content), openStart, openEnd)
}

@@ -85,0 +85,0 @@

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

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