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.14.0 to 1.14.1

6

CHANGELOG.md

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

## 1.14.1 (2021-04-26)
### Bug fixes
DOM parsing with `preserveWhitespace: "full"` will no longer ignore whitespace-only nodes.
## 1.14.0 (2021-04-06)

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

2

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

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

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

let top = this.top
if ((top.type ? top.type.inlineContent : top.content.length && top.content[0].isInline) || /[^ \t\r\n\u000c]/.test(value)) {
if (top.options & OPT_PRESERVE_WS_FULL ||
(top.type ? top.type.inlineContent : top.content.length && top.content[0].isInline) ||
/[^ \t\r\n\u000c]/.test(value)) {
if (!(top.options & OPT_PRESERVE_WS)) {

@@ -417,0 +419,0 @@ value = value.replace(/[ \t\r\n\u000c]+/g, " ")

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