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

parchment

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parchment - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0-rc.1

6

dist/parchment.d.ts

@@ -264,4 +264,4 @@ export declare class Attributor {

descendants<T>(matcher: (blot: Blot) => boolean, index: number, length: number): T[];
insertBefore(child: Blot, refNode?: Blot): void;
moveChildren(parent: Parent, refNode?: Blot): void;
insertBefore(child: Blot, refNode?: Blot | null): void;
moveChildren(parent: Parent, refNode?: Blot | null): void;
path(index: number, inclusive?: boolean): [Blot, number][];

@@ -304,3 +304,3 @@ removeChild(child: Blot): void;

length(): number;
moveChildren(targetParent: Parent, refNode?: Blot): void;
moveChildren(targetParent: Parent, refNode?: Blot | null): void;
optimize(context?: {

@@ -307,0 +307,0 @@ [key: string]: any;

{
"name": "parchment",
"version": "3.0.0-rc.0",
"version": "3.0.0-rc.1",
"description": "A document model for rich text editors",

@@ -5,0 +5,0 @@ "author": "Jason Chen <jhchen7@gmail.com>",

@@ -151,3 +151,3 @@ # Parchment [![Build Status](https://github.com/quilljs/parchment/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/quilljs/parchment/actions?query=branch%3Amain)

Quill also provides many great example implementations in its [source code](https://github.com/quilljs/quill/tree/develop/formats).
Quill also provides many great example implementations in its [source code](https://github.com/quilljs/quill/tree/develop/packages/quill/src/formats).

@@ -154,0 +154,0 @@ ### Block Blot

@@ -99,4 +99,4 @@ import type LinkedList from '../../collection/linked-list.js';

): T[];
insertBefore(child: Blot, refNode?: Blot): void;
moveChildren(parent: Parent, refNode?: Blot): void;
insertBefore(child: Blot, refNode?: Blot | null): void;
moveChildren(parent: Parent, refNode?: Blot | null): void;
path(index: number, inclusive?: boolean): [Blot, number][];

@@ -103,0 +103,0 @@ removeChild(child: Blot): void;

@@ -246,3 +246,3 @@ import LinkedList from '../../collection/linked-list.js';

public moveChildren(targetParent: Parent, refNode?: Blot): void {
public moveChildren(targetParent: Parent, refNode?: Blot | null): void {
this.children.forEach((child) => {

@@ -249,0 +249,0 @@ targetParent.insertBefore(child, refNode);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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