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

@milkdown/prose

Package Overview
Dependencies
Maintainers
0
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@milkdown/prose - npm Package Compare versions

Comparing version 7.5.8 to 7.5.9

4

lib/index.js

@@ -54,3 +54,5 @@ import { PluginKey, Plugin, NodeSelection } from 'prosemirror-state';

for (let i = 0; i < rules.length; i++) {
const match = rules[i].match.exec(textBefore);
const match = rules[i].match.exec(
textBefore
);
const tr = match && match[0] && rules[i].handler(state, match, from - (match[0].length - text.length), to);

@@ -57,0 +59,0 @@ if (!tr) continue;

{
"name": "@milkdown/prose",
"type": "module",
"version": "7.5.8",
"version": "7.5.9",
"license": "MIT",

@@ -93,3 +93,3 @@ "repository": {

"tslib": "^2.5.0",
"@milkdown/exception": "7.5.8"
"@milkdown/exception": "7.5.9"
},

@@ -96,0 +96,0 @@ "nx": {

@@ -26,3 +26,5 @@ import type { InputRule } from '../../inputrules'

for (let i = 0; i < rules.length; i++) {
const match = (rules[i] as { match: RegExp }).match.exec(textBefore)
const match = (rules[i] as unknown as { match: RegExp }).match.exec(
textBefore
)
const tr =

@@ -32,3 +34,3 @@ match &&

(
rules[i] as {
rules[i] as unknown as {
handler: (

@@ -35,0 +37,0 @@ state: EditorState,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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