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.4.1 to 1.4.2

6

CHANGELOG.md

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

## 1.4.2 (2022-04-05)
### Bug fixes
Make replacements that span to the end of a textblock more consistent with those ending in the middle of the block.
## 1.4.1 (2022-03-31)

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

2

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

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

@@ -244,3 +244,3 @@ import {Fragment, Slice} from "prosemirror-model"

mustMoveInline() {
if (!this.$to.parent.isTextblock || this.$to.end() == this.$to.pos) return -1
if (!this.$to.parent.isTextblock) return -1
let top = this.frontier[this.depth], level

@@ -247,0 +247,0 @@ if (!top.type.isTextblock || !contentAfterFits(this.$to, this.$to.depth, top.type, top.match, false) ||

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