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

@prosekit/core

Package Overview
Dependencies
Maintainers
0
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.7.10 to 0.7.11

2

dist/prosekit-core.d.ts

@@ -25,2 +25,4 @@ export { addMark } from './_tsup-dts-rollup';

export { UnsetMarkOptions } from './_tsup-dts-rollup';
export { toggleWrap } from './_tsup-dts-rollup';
export { ToggleWrapOptions } from './_tsup-dts-rollup';
export { wrap } from './_tsup-dts-rollup';

@@ -27,0 +29,0 @@ export { WrapOptions } from './_tsup-dts-rollup';

@@ -404,2 +404,5 @@ import {

// src/commands/toggle-wrap.ts
import { lift } from "@prosekit/pm/commands";
// src/commands/wrap.ts

@@ -420,2 +423,13 @@ import { findWrapping } from "@prosekit/pm/transform";

// src/commands/toggle-wrap.ts
function toggleWrap(options) {
const { type, attrs } = options;
return (state, dispatch) => {
if (isNodeActive(state, type, attrs)) {
return lift(state, dispatch);
}
return wrap({ type, attrs })(state, dispatch);
};
}
// src/editor/with-priority.ts

@@ -467,2 +481,3 @@ function withPriority(extension, priority) {

wrap,
toggleWrap,
setBlockType,

@@ -1435,2 +1450,3 @@ setNodeAttrs,

toggleNode,
toggleWrap,
union,

@@ -1437,0 +1453,0 @@ unsetBlockType,

4

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

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

"prosemirror-splittable": "^0.1.1",
"type-fest": "^4.25.0",
"type-fest": "^4.26.0",
"@prosekit/pm": "^0.1.8"

@@ -51,0 +51,0 @@ },

Sorry, the diff of this file is too big to display

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