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

@prosekit/core

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prosekit/core - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

15

dist/_tsup-dts-rollup.d.ts

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

/** @public */
/**
* @public
*
* Defines a paragraph node spec as the highest priority, because it should be the default block node for most cases.
*/
declare function defineParagraph(): Extension< {

@@ -239,2 +243,11 @@ NODES: "paragraph";

/**
* @public
*
* Defines a paragraph node spec.
*/
export declare function defineParagraphSpec(): Extension< {
NODES: "paragraph";
}>;
/**
* Adds a ProseMirror plugin to the editor.

@@ -241,0 +254,0 @@ *

8

dist/prosekit-core.js

@@ -982,3 +982,4 @@ // src/commands/add-mark.ts

name: "doc",
content: "block+"
content: "block+",
topNode: true
});

@@ -1224,3 +1225,3 @@ }

// src/extensions/paragraph.ts
function defineParagraph() {
function defineParagraphSpec() {
return defineNodeSpec({

@@ -1236,2 +1237,5 @@ name: "paragraph",

}
function defineParagraph() {
return withPriority(defineParagraphSpec(), 0 /* highest */);
}

@@ -1238,0 +1242,0 @@ // src/extensions/text.ts

{
"name": "@prosekit/core",
"type": "module",
"version": "0.0.15",
"version": "0.0.16",
"private": false,

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

"orderedmap": "^2.1.1",
"type-fest": "^4.5.0"
"type-fest": "^4.6.0"
},

@@ -46,0 +46,0 @@ "devDependencies": {

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