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

@prosekit/extensions

Package Overview
Dependencies
Maintainers
0
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prosekit/extensions - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

95

dist/_tsup-dts-rollup.d.ts

@@ -144,7 +144,5 @@ import { Attrs } from '@prosekit/pm/model';

export declare function defineBlockquote(): Extension< {
Nodes: any;
Marks: any;
Commands: {
[x: string]: any;
};
Nodes: "blockquote";
Marks: never;
Commands: never;
}>;

@@ -168,6 +166,6 @@

export declare function defineBold(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "bold";
Commands: {
[x: string]: any;
toggleBold: [];
};

@@ -198,6 +196,6 @@ }>;

export declare function defineCode(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "code";
Commands: {
[x: string]: any;
toggleCode: [];
};

@@ -218,6 +216,9 @@ }>;

declare function defineCodeBlock(): Extension< {
Nodes: any;
Marks: any;
Nodes: "codeBlock";
Marks: never;
Commands: {
[x: string]: any;
setCodeBlock: [attrs?: CodeBlockAttrs | undefined];
insertCodeBlock: [attrs?: CodeBlockAttrs | undefined];
toggleCodeBlock: [attrs?: CodeBlockAttrs | undefined];
setCodeBlockAttrs: [attrs: CodeBlockAttrs];
};

@@ -348,6 +349,8 @@ }>;

export declare function defineHeading(): Extension< {
Nodes: any;
Marks: any;
Nodes: "heading";
Marks: never;
Commands: {
[x: string]: any;
setHeading: [attrs?: HeadingAttrs | undefined];
insertHeading: [attrs?: HeadingAttrs | undefined];
toggleHeading: [attrs?: HeadingAttrs | undefined];
};

@@ -418,6 +421,6 @@ }>;

export declare function defineItalic(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "italic";
Commands: {
[x: string]: any;
toggleItalic: [];
};

@@ -448,6 +451,9 @@ }>;

export declare function defineLink(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "link";
Commands: {
[x: string]: any;
addLink: [attrs: LinkAttrs];
removeLink: [];
toggleLink: [attrs: LinkAttrs];
expandLink: [];
};

@@ -492,6 +498,14 @@ }>;

export declare function defineList(): Extension<{
Nodes: any;
Marks: any;
Nodes: "list";
Marks: never;
Commands: {
[x: string]: any;
dedentList: [options?: DedentListOptions | undefined];
indentList: [options?: IndentListOptions | undefined];
moveList: [direction: "up" | "down"];
splitList: [];
toggleCollapsed: [(ToggleCollapsedOptions | undefined)?];
toggleList: [attrs: ListAttributes];
unwrapList: [options?: UnwrapListOptions | undefined];
wrapInList: [getAttrs: ListAttributes | ((range: NodeRange) => ListAttributes | null)];
insertList: [attrs?: ListAttributes | undefined];
};

@@ -627,6 +641,6 @@ }>;

export declare function defineStrike(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "strike";
Commands: {
[x: string]: any;
toggleStrike: [];
};

@@ -657,6 +671,11 @@ }>;

export declare function defineTable(): Extension< {
Nodes: any;
Marks: any;
Nodes: "table" | "tableRow" | "tableCell" | "tableHeaderCell";
Marks: never;
Commands: {
[x: string]: any;
insertTable: [{
row: number;
col: number;
header: boolean;
}];
exitTable: [];
};

@@ -731,6 +750,6 @@ }>;

export declare function defineTextAlign(options: TextAlignOptions): Extension<{
Nodes: any;
Marks: any;
Nodes: never;
Marks: never;
Commands: {
[x: string]: any;
setTextAlign: [value: string | null];
};

@@ -793,6 +812,6 @@ }>;

export declare function defineUnderline(): Extension< {
Nodes: any;
Marks: any;
Nodes: never;
Marks: "underline";
Commands: {
[x: string]: any;
toggleUnderline: [];
};

@@ -799,0 +818,0 @@ }>;

4

package.json
{
"name": "@prosekit/extensions",
"type": "module",
"version": "0.6.0",
"version": "0.6.1",
"private": false,

@@ -179,3 +179,3 @@ "author": {

"shiki": "^1.9.0",
"@prosekit/core": "^0.6.0",
"@prosekit/core": "^0.6.1",
"@prosekit/pm": "^0.1.5"

@@ -182,0 +182,0 @@ },

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