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
282
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 0.14.1 to 0.14.2

2

dist/viewdesc.js

@@ -280,3 +280,3 @@ var ref = require("prosemirror-model");

if (from > offset && to < end)
{ return child.setSelection(from - offset - child.border, to - offset - child.border, root) }
{ return child.setSelection(anchor - offset - child.border, head - offset - child.border, root) }
offset = end

@@ -283,0 +283,0 @@ }

{
"name": "prosemirror-view",
"version": "0.14.1",
"version": "0.14.2",
"description": "ProseMirror's view component",

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

@@ -257,3 +257,3 @@ const {DOMSerializer} = require("prosemirror-model")

if (from > offset && to < end)
return child.setSelection(from - offset - child.border, to - offset - child.border, root)
return child.setSelection(anchor - offset - child.border, head - offset - child.border, root)
offset = end

@@ -260,0 +260,0 @@ }

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