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.12 to 1.3.0

6

CHANGELOG.md

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

## 1.3.0 (2021-03-31)
### New features
The various properties of subclasses of `Step` (`ReplaceStep`, `ReplaceAroundStep`, `AddMarkStep`, and `RemoveMarkStep`) are now part of the public interface.
## 1.2.12 (2021-02-20)

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

2

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

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

@@ -20,4 +20,10 @@ import {Fragment, Slice} from "prosemirror-model"

super()
// :: number
// The start of the marked range.
this.from = from
// :: number
// The end of the marked range.
this.to = to
// :: Mark
// The mark to add.
this.mark = mark

@@ -73,4 +79,10 @@ }

super()
// :: number
// The start of the unmarked range.
this.from = from
// :: number
// The end of the unmarked range.
this.to = to
// :: Mark
// The mark to remove.
this.mark = mark

@@ -77,0 +89,0 @@ }

@@ -18,4 +18,10 @@ import {Slice} from "prosemirror-model"

super()
// :: number
// The start position of the replaced range.
this.from = from
// :: number
// The end position of the replaced range.
this.to = to
// :: Slice
// The slice to insert.
this.slice = slice

@@ -88,7 +94,20 @@ this.structure = !!structure

super()
// :: number
// The start position of the replaced range.
this.from = from
// :: number
// The end position of the replaced range.
this.to = to
// :: number
// The start of preserved range.
this.gapFrom = gapFrom
// :: number
// The end of preserved range.
this.gapTo = gapTo
// :: Slice
// The slice to insert.
this.slice = slice
// :: number
// The position in the slice where the preserved range should be
// inserted.
this.insert = insert

@@ -95,0 +114,0 @@ this.structure = !!structure

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