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.6.3 to 1.6.4

6

CHANGELOG.md

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

## 1.6.4 (2019-01-05)
### Bug fixes
Don't output empty style attributes when a style property with a null value is present in `renderSpec`.
## 1.6.3 (2018-10-26)

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

2

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

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

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

// :: bool
// True when this node has inline content.
// True when this node allows inline content.
get inlineContent() { return this.type.inlineContent }

@@ -250,0 +250,0 @@

@@ -129,4 +129,3 @@ // DOMOutputSpec:: interface

for (let name in attrs) {
if (name == "style") dom.style.cssText = attrs[name]
else if (attrs[name] != null) dom.setAttribute(name, attrs[name])
if (attrs[name] != null) dom.setAttribute(name, attrs[name])
}

@@ -133,0 +132,0 @@ }

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