Socket
Socket
Sign inDemoInstall

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
280
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.33.11 to 1.34.0

6

dist/index.d.ts

@@ -163,2 +163,6 @@ import { EditorState, Transaction, Selection, Plugin } from 'prosemirror-state';

forChild(offset: number, child: Node): DecorationSource;
/**
Call the given function for each decoration set in the group.
*/
forEachSet(f: (set: DecorationSet) => void): void;
}

@@ -219,2 +223,3 @@ /**

static empty: DecorationSet;
forEachSet(f: (set: DecorationSet) => void): void;
}

@@ -229,2 +234,3 @@ declare class DecorationGroup implements DecorationSource {

static from(members: readonly DecorationSource[]): DecorationSource;
forEachSet(f: (set: DecorationSet) => void): void;
}

@@ -231,0 +237,0 @@

2

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

@@ -5,0 +5,0 @@ "type": "module",

@@ -265,2 +265,4 @@ import {Node, Mark} from "prosemirror-model"

eq(other: DecorationSource): boolean
/// Call the given function for each decoration set in the group.
forEachSet(f: (set: DecorationSet) => void): void
}

@@ -479,2 +481,4 @@

static removeOverlap = removeOverlap
forEachSet(f: (set: DecorationSet) => void) { f(this) }
}

@@ -547,2 +551,6 @@

}
forEachSet(f: (set: DecorationSet) => void) {
for (let i = 0; i < this.members.length; i++) this.members[i].forEachSet(f)
}
}

@@ -549,0 +557,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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