Socket
Socket
Sign inDemoInstall

prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-transform - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "prosemirror-transform",
"version": "1.0.3",
"version": "1.0.4",
"description": "ProseMirror document transformations",

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

@@ -345,5 +345,7 @@ import {Fragment, Slice} from "prosemirror-model"

// Close the current open node if it's not the the root and we
// either placed something, or the the current slice depth's node
// type matches the open node's type
if (this.open.length > 1 && (i > 0 || parent && this.open[this.open.length - 1].parent.type == parent.type))
// either placed up to the end of the node or the the current
// slice depth's node type matches the open node's type
if (this.open.length > 1 &&
(i > 0 && i == fragment.childCount ||
parent && this.open[this.open.length - 1].parent.type == parent.type))
this.closeNode()

@@ -350,0 +352,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