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 1.33.0 to 1.33.1

10

dist/index.d.ts

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

private removeInner;
forChild(offset: number, node: Node): DecorationSet | DecorationGroup;
/**

@@ -219,2 +220,11 @@ The empty set of decorations.

}
declare class DecorationGroup implements DecorationSource {
readonly members: readonly DecorationSet[];
constructor(members: readonly DecorationSet[]);
map(mapping: Mapping, doc: Node): DecorationSource;
forChild(offset: number, child: Node): DecorationSource | DecorationSet;
eq(other: DecorationGroup): boolean;
locals(node: Node): readonly any[];
static from(members: readonly DecorationSource[]): DecorationSource;
}

@@ -221,0 +231,0 @@ declare global {

2

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

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

@@ -416,3 +416,2 @@ import {Node, Mark} from "prosemirror-model"

/// @internal
forChild(offset: number, node: Node): DecorationSet | DecorationGroup {

@@ -419,0 +418,0 @@ if (this == empty) return this

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 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