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.0-next-20230627094841 to 0.0.0-next-20230709084129

dist/prosekit-core.d.ts

18

dist/prosekit-core.js

@@ -283,4 +283,4 @@ // src/commands/toggle-mark.ts

this.commandDispatchers = {};
this.mount.bind(this);
this.unmount.bind(this);
this.mount = this.mount.bind(this);
this.unmount = this.unmount.bind(this);
this.schema = directEditorProps.state.schema;

@@ -295,3 +295,3 @@ }

}
this.view = new EditorView(place, this.directEditorProps);
this.view = new EditorView({ mount: place }, this.directEditorProps);
}

@@ -342,2 +342,5 @@ unmount() {

this.instance = instance;
this.mount = this.mount.bind(this);
this.unmount = this.unmount.bind(this);
this.use = this.use.bind(this);
}

@@ -364,2 +367,5 @@ /** @internal */

mount(place) {
if (!place) {
return this.unmount();
}
this.instance.mount(place);

@@ -369,3 +375,5 @@ this.afterMounted.forEach((callback) => callback());

unmount() {
this.instance.unmount();
if (this.mounted) {
this.instance.unmount();
}
}

@@ -671,3 +679,3 @@ use(extension) {

if (!nodeType) {
throw new ProseKitError(`Cannot find node type "${type}"`);
throw new ProseKitError(`Cannot find ProseMirror node type "${type}"`);
}

@@ -674,0 +682,0 @@ return nodeType;

{
"name": "@prosekit/core",
"type": "module",
"version": "0.0.0-next-20230627094841",
"version": "0.0.0-next-20230709084129",
"private": false,

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

"dependencies": {
"@prosekit/pm": "0.0.0-next-20230627094841",
"@prosekit/pm": "0.0.0-next-20230709084129",
"orderedmap": "^2.1.1",

@@ -47,6 +47,6 @@ "type-fest": "^3.12.0"

"devDependencies": {
"@prosekit/dev": "*",
"tsup": "^7.1.0",
"typescript": "^5.1.3",
"vitest": "^0.32.2",
"@prosekit/dev": "0.0.0"
"typescript": "^5.1.6",
"vitest": "^0.33.0"
},

@@ -53,0 +53,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