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.4 to 0.7.5

dist/chunk-M267LRMB.js

2

dist/prosekit-core-test.js

@@ -8,3 +8,3 @@ import {

setupEditorExtension
} from "./chunk-52BNHWWJ.js";
} from "./chunk-M267LRMB.js";

@@ -11,0 +11,0 @@ // src/test/test-editor.ts

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

export { NodeContent } from './_tsup-dts-rollup';
export { containsInlineNode } from './_tsup-dts-rollup';
export { defaultBlockAt } from './_tsup-dts-rollup';

@@ -141,0 +142,0 @@ export { isApple } from './_tsup-dts-rollup';

@@ -38,3 +38,3 @@ import {

union
} from "./chunk-52BNHWWJ.js";
} from "./chunk-M267LRMB.js";

@@ -1278,2 +1278,12 @@ // src/commands/add-mark.ts

// src/utils/contains-inline-node.ts
function containsInlineNode(doc, from, to) {
let found = false;
doc.nodesBetween(from, to, (node) => {
if (found) return false;
if (node.isInline) found = true;
});
return found;
}
// src/utils/default-block-at.ts

@@ -1340,2 +1350,3 @@ function defaultBlockAt(match) {

collectNodes,
containsInlineNode,
createEditor,

@@ -1342,0 +1353,0 @@ defaultBlockAt,

{
"name": "@prosekit/core",
"type": "module",
"version": "0.7.4",
"version": "0.7.5",
"private": false,

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

"type-fest": "^4.22.1",
"@prosekit/pm": "^0.1.6"
"@prosekit/pm": "^0.1.7"
},

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

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