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.5 to 0.10.6

3

dist/model/fragment.js

@@ -50,4 +50,3 @@ "use strict";

value: function nodesBetween(from, to, f, nodeStart, parent) {
var len = Math.min(this.content.length, to);
for (var i = 0, pos = 0; pos < len; i++) {
for (var i = 0, pos = 0; pos < to && i < this.content.length; i++) {
var child = this.content[i],

@@ -54,0 +53,0 @@ end = pos + child.nodeSize;

{
"name": "prosemirror-old",
"version": "0.10.5",
"version": "0.10.6",
"description": "Well-defined WYSIWYG editor (old version)",

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

@@ -25,4 +25,3 @@ const {fragmentToDOM} = require("./to_dom")

nodesBetween(from, to, f, nodeStart, parent) {
let len = Math.min(this.content.length, to)
for (let i = 0, pos = 0; pos < len; i++) {
for (let i = 0, pos = 0; pos < to && i < this.content.length; i++) {
let child = this.content[i], end = pos + child.nodeSize

@@ -29,0 +28,0 @@ if (end > from && f(child, nodeStart + pos, parent, i) !== false && child.content.size) {

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