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

@milkdown/core

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@milkdown/core - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

6

CHANGELOG.md
# @milkdown/core
## 4.2.0
### Minor Changes
- f614070: Add the ability to configure the commonmark nodes.
## 4.1.2

@@ -4,0 +10,0 @@

4

lib/abstract/mark.d.ts

@@ -8,3 +8,3 @@ import type { Keymap } from 'prosemirror-commands';

import { LoadState } from '../constant';
import { MarkViewFactory } from '../utility';
import { AnyRecord, MarkViewFactory } from '../utility';
interface MarkOptional {

@@ -15,3 +15,3 @@ readonly view?: MarkViewFactory;

}
export declare abstract class Mark extends Atom<LoadState.Idle> implements MarkOptional {
export declare abstract class Mark<Options = AnyRecord> extends Atom<LoadState.Idle, Options> implements MarkOptional {
view: MarkOptional['view'];

@@ -18,0 +18,0 @@ keymap: MarkOptional['keymap'];

@@ -8,3 +8,3 @@ import type { Keymap } from 'prosemirror-commands';

import { LoadState } from '../constant';
import { NodeViewFactory } from '../utility';
import { AnyRecord, NodeViewFactory } from '../utility';
interface NodeOptional {

@@ -15,3 +15,3 @@ readonly view?: NodeViewFactory;

}
export declare abstract class Node extends Atom<LoadState.Idle> implements NodeOptional {
export declare abstract class Node<Options = AnyRecord> extends Atom<LoadState.Idle, Options> implements NodeOptional {
view: NodeOptional['view'];

@@ -18,0 +18,0 @@ keymap: NodeOptional['keymap'];

{
"name": "@milkdown/core",
"version": "4.1.2",
"version": "4.2.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "module": "lib/index.js",

Sorry, the diff of this file is not supported yet

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