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

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "prosemirror-view",
"version": "1.0.3",
"version": "1.0.4",
"description": "ProseMirror's view component",

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

@@ -500,3 +500,5 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state"

let $mouse = view.state.doc.resolve(view.posAtCoords(eventCoords(e)).pos)
let eventPos = view.posAtCoords(eventCoords(e))
if (!eventPos) return
let $mouse = view.state.doc.resolve(eventPos.pos)
if (!$mouse) return

@@ -503,0 +505,0 @@ let slice = dragging && dragging.slice ||

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