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.2.11 to 1.2.12

6

CHANGELOG.md

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

## 1.2.12 (2021-02-20)
### Bug fixes
Fix a bug where merging replace steps with the `structure` flag could create steps that couldn't be applied.
## 1.2.11 (2021-02-06)

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

2

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

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

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

merge(other) {
if (!(other instanceof ReplaceStep) || other.structure != this.structure) return null
if (!(other instanceof ReplaceStep) || other.structure || this.structure) return null

@@ -48,0 +48,0 @@ if (this.from + this.slice.size == other.from && !this.slice.openEnd && !other.slice.openStart) {

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