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

@prosekit/extensions

Package Overview
Dependencies
Maintainers
1
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.0.10 to 0.0.11

9

dist/_tsup-dts-rollup.d.ts

@@ -86,4 +86,13 @@ import { CommandArgs } from '@prosekit/core';

NODES: "heading";
COMMAND_ARGS: {
toggleHeading: [attrs?: HeadingAttrs | undefined];
};
}>;
export declare function addHeadingCommands(): Extension< {
COMMAND_ARGS: {
toggleHeading: [attrs?: HeadingAttrs | undefined];
};
}>;
export declare function addHeadingInputRule(): Extension<ExtensionTyping<string, string, CommandArgs>>;

@@ -90,0 +99,0 @@

2

dist/prosekit-extensions-bold.js

@@ -32,3 +32,3 @@ // src/bold/index.ts

toDOM() {
return ["em", 0];
return ["strong", 0];
}

@@ -35,0 +35,0 @@ });

export { addHeadingSpec } from './_tsup-dts-rollup';
export { addHeadingKeymap } from './_tsup-dts-rollup';
export { addHeadingInputRule } from './_tsup-dts-rollup';
export { addHeadingCommands } from './_tsup-dts-rollup';
export { addHeading } from './_tsup-dts-rollup';
export { HeadingAttrs } from './_tsup-dts-rollup';
// src/heading/index.ts
import {
addCommands,
addInputRule,

@@ -56,2 +57,9 @@ addKeymap,

}
function addHeadingCommands() {
return addCommands({
toggleHeading: (attrs) => {
return toggleNode({ type: "heading", attrs });
}
});
}
function addHeading() {

@@ -61,3 +69,4 @@ return defineExtension([

addHeadingInputRule(),
addHeadingKeymap()
addHeadingKeymap(),
addHeadingCommands()
]);

@@ -67,2 +76,3 @@ }

addHeading,
addHeadingCommands,
addHeadingInputRule,

@@ -69,0 +79,0 @@ addHeadingKeymap,

{
"name": "@prosekit/extensions",
"type": "module",
"version": "0.0.10",
"version": "0.0.11",
"private": false,

@@ -104,4 +104,4 @@ "author": {

"dependencies": {
"@prosekit/core": "^0.0.9",
"@prosekit/pm": "^0.0.4",
"@prosekit/core": "^0.0.10",
"@prosekit/pm": "^0.0.5",
"highlight.js": "^11.8.0",

@@ -108,0 +108,0 @@ "prosemirror-flat-list": "^0.4.1",

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