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.0.9 to 1.0.10

6

CHANGELOG.md

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

## 1.0.10 (2018-04-15)
### Bug fixes
[`Transform.setBlockType`](https://prosemirror.net/docs/ref/#transform.Transform.setBlockType) no longer drops marks on the nodes it updates.
## 1.0.9 (2018-04-05)

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

2

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

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

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

this.step(new ReplaceAroundStep(startM, endM, startM + 1, endM - 1,
new Slice(Fragment.from(type.create(attrs)), 0, 0), 1, true))
new Slice(Fragment.from(type.create(attrs, null, node.marks)), 0, 0), 1, true))
return false

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