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.1.9 to 0.2.0

8

dist/_tsup-dts-rollup.d.ts

@@ -410,10 +410,2 @@ import { AllSelection } from '@prosekit/pm/state';

use(extension: Extension): VoidFunction;
/**
* @deprecated
*/
isNodeActive(nodeType: string | NodeType, attrs?: Attrs): boolean;
/**
* @deprecated
*/
isMarkActive(markType: string | MarkType, attrs?: Attrs): boolean;
get nodes(): Record<ExtractNodes<E>, NodeBuilder>;

@@ -420,0 +412,0 @@ get marks(): Record<ExtractMarks<E>, MarkBuilder>;

16

dist/prosekit-core.js

@@ -666,2 +666,5 @@ // src/commands/add-mark.ts

// src/editor/builder.ts
import "@prosekit/pm/model";
// src/utils/type-assertion.ts

@@ -713,3 +716,2 @@ import { Mark, ProseMirrorNode } from "@prosekit/pm/model";

// src/editor/builder.ts
import "@prosekit/pm/model";
function createNodeBuilder(getState, type) {

@@ -1027,14 +1029,2 @@ const builder = (...args) => buildNode(type, args);

}
/**
* @deprecated
*/
isNodeActive(nodeType, attrs) {
return isNodeActive(this.view.state, nodeType, attrs);
}
/**
* @deprecated
*/
isMarkActive(markType, attrs) {
return isMarkActive(this.view.state, markType, attrs);
}
get nodes() {

@@ -1041,0 +1031,0 @@ return this.instance.nodeBuilders;

7

package.json
{
"name": "@prosekit/core",
"type": "module",
"version": "0.1.9",
"version": "0.2.0",
"private": false,

@@ -32,5 +32,2 @@ "author": {

"default": "./dist/prosekit-core.js"
},
"./style.css": {
"default": "./dist/style.css"
}

@@ -50,3 +47,3 @@ },

"typescript": "^5.3.3",
"vitest": "^1.0.4"
"vitest": "^1.1.0"
},

@@ -53,0 +50,0 @@ "scripts": {

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