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

prosemirror-old

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-old - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

5

dist/edit/draw.js

@@ -53,4 +53,7 @@ "use strict";

dom.setAttribute("pm-size", size);
if (ranges.current.length) dom.className = ranges.current.join(" ");
ranges.current.forEach(function (className) {
return dom.classList.add(className);
});
if (!fragment && (nextCut > -1 || ranges.element)) fragment = document.createDocumentFragment();

@@ -57,0 +60,0 @@ if (ranges.element) fragment.appendChild(elt("span", { contenteditable: false, "pm-ignore": true }, ranges.element));

2

package.json
{
"name": "prosemirror-old",
"version": "0.10.2",
"version": "0.10.3",
"description": "Well-defined WYSIWYG editor (old version)",

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

@@ -46,5 +46,5 @@ const {elt} = require("../util/dom")

dom.setAttribute("pm-size", size)
if (ranges.current.length)
dom.className = ranges.current.join(" ")
ranges.current.forEach(className => dom.classList.add(className))
if (!fragment && (nextCut > -1 || ranges.element))

@@ -51,0 +51,0 @@ fragment = document.createDocumentFragment()

@@ -361,3 +361,3 @@ require("./css")

// IE does not support calling contains() on document
let root = this.root.body || this.root;
let root = this.root.body || this.root
if (!root.contains(this.wrapper) || !this.operation) return false

@@ -364,0 +364,0 @@ this.on.flushing.dispatch()

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