Socket
Socket
Sign inDemoInstall

prosemirror-state

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-state - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

6

CHANGELOG.md

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

## 1.2.1 (2018-07-02)
### Bug fixes
Fixes a bug in the default implementation of `Selection.getBookmark`.
## 1.2.0 (2018-04-05)

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

2

dist/index.js

@@ -207,3 +207,3 @@ 'use strict';

Selection.prototype.getBookmark = function getBookmark () {
return TextSelection.between(this.anchor, this.head).getBookmark()
return TextSelection.between(this.$anchor, this.$head).getBookmark()
};

@@ -210,0 +210,0 @@

{
"name": "prosemirror-state",
"version": "1.2.0",
"version": "1.2.1",
"description": "ProseMirror editor state",

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

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

getBookmark() {
return TextSelection.between(this.anchor, this.head).getBookmark()
return TextSelection.between(this.$anchor, this.$head).getBookmark()
}

@@ -199,0 +199,0 @@ }

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