Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
73
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.1.5 to 1.1.6

6

CHANGELOG.md

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

## 1.1.6 (2019-11-01)
### Bug fixes
Fixes an issue where deleting a range from the start of block A to the end of block B would leave you with an empty block of type B.
## 1.1.5 (2019-10-02)

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

2

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

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

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

for (let d = 1; d <= $from.depth; d++) {
if (from - $from.start(d) == $from.depth - d && to > $from.end(d))
if (from - $from.start(d) == $from.depth - d && to > $from.end(d) && $to.end(d) - to != $to.depth - d)
return this.delete($from.before(d), to)

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