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

prosemirror-dropcursor

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-dropcursor - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

CHANGELOG.md

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

## 1.1.1 (2018-10-23)
### Bug fixes
Fix crash when destroying the plugin, due to a misspelled method name.
## 1.1.0 (2018-10-22)

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

2

dist/dropcursor.js

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

return this$1.editorView.dom.removeEventHandler(name, handler);
return this$1.editorView.dom.removeEventListener(name, handler);
});

@@ -43,0 +43,0 @@ };

{
"name": "prosemirror-dropcursor",
"version": "1.1.0",
"version": "1.1.1",
"description": "Drop cursor plugin for ProseMirror",

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

@@ -27,3 +27,3 @@ import {Plugin} from "prosemirror-state"

destroy() {
this.handlers.forEach(({name, handler}) => this.editorView.dom.removeEventHandler(name, handler))
this.handlers.forEach(({name, handler}) => this.editorView.dom.removeEventListener(name, handler))
}

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