@milkdown/preset-gfm
Advanced tools
Comparing version 6.5.4 to 7.0.0-next.0
@@ -1,35 +0,5 @@ | ||
import { AtomList } from '@milkdown/utils'; | ||
export * from './footnote'; | ||
export * from './strike-through'; | ||
export { SupportedKeys } from './supported-keys'; | ||
export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, } from './table'; | ||
export * from './task-list-item'; | ||
export { blockquote, bulletList, codeFence, codeInline, commonmark, commonmarkNodes, commonmarkPlugins, doc, em, HardbreakFilterPluginKey as hardbreak, heading, hr, image, InsertHardbreak, InsertHr, InsertImage, LiftListItem, link, listItem, ModifyImage, ModifyLink, orderedList, paragraph, SinkListItem, SplitListItem, strong, text, ToggleBold, ToggleInlineCode, ToggleItalic, ToggleLink, TurnIntoCodeFence, TurnIntoHeading, TurnIntoText, WrapInBlockquote, WrapInBulletList, WrapInOrderedList, } from '@milkdown/preset-commonmark'; | ||
export declare const gfm: AtomList<import("@milkdown/utils").AtomPlugin>; | ||
export declare const commands: { | ||
readonly ToggleStrikeThrough: import("@milkdown/core").CmdKey<undefined>; | ||
readonly TurnIntoTaskList: import("@milkdown/core").CmdKey<undefined>; | ||
readonly SinkTaskListItem: import("@milkdown/core").CmdKey<undefined>; | ||
readonly LiftTaskListItem: import("@milkdown/core").CmdKey<undefined>; | ||
readonly SplitTaskListItem: import("@milkdown/core").CmdKey<undefined>; | ||
readonly ToggleInlineCode: import("@milkdown/core").CmdKey<undefined>; | ||
readonly ToggleItalic: import("@milkdown/core").CmdKey<undefined>; | ||
readonly ToggleLink: import("@milkdown/core").CmdKey<string>; | ||
readonly ToggleBold: import("@milkdown/core").CmdKey<undefined>; | ||
readonly ModifyLink: import("@milkdown/core").CmdKey<string>; | ||
readonly ModifyImage: import("@milkdown/core").CmdKey<string>; | ||
readonly WrapInBlockquote: import("@milkdown/core").CmdKey<undefined>; | ||
readonly WrapInBulletList: import("@milkdown/core").CmdKey<undefined>; | ||
readonly WrapInOrderedList: import("@milkdown/core").CmdKey<undefined>; | ||
readonly TurnIntoCodeFence: import("@milkdown/core").CmdKey<undefined>; | ||
readonly TurnIntoHeading: import("@milkdown/core").CmdKey<number>; | ||
readonly TurnIntoText: import("@milkdown/core").CmdKey<undefined>; | ||
readonly InsertHardbreak: import("@milkdown/core").CmdKey<undefined>; | ||
readonly InsertHr: import("@milkdown/core").CmdKey<string>; | ||
readonly InsertImage: import("@milkdown/core").CmdKey<string>; | ||
readonly SplitListItem: import("@milkdown/core").CmdKey<undefined>; | ||
readonly SinkListItem: import("@milkdown/core").CmdKey<undefined>; | ||
readonly LiftListItem: import("@milkdown/core").CmdKey<undefined>; | ||
}; | ||
export type Commands = typeof commands; | ||
export * from './node'; | ||
export * from './mark'; | ||
export * from './composed'; | ||
export declare const gfm: import("@milkdown/ctx").MilkdownPlugin[]; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@milkdown/preset-gfm", | ||
"type": "module", | ||
"version": "6.5.4", | ||
"version": "7.0.0-next.0", | ||
"license": "MIT", | ||
@@ -25,5 +25,7 @@ "repository": { | ||
"peerDependencies": { | ||
"@milkdown/core": "^6.0.1", | ||
"@milkdown/preset-commonmark": "^6.0.1", | ||
"@milkdown/prose": "^6.0.1" | ||
"@milkdown/core": "^7.0.0-next.0", | ||
"@milkdown/ctx": "^7.0.0-next.0", | ||
"@milkdown/preset-commonmark": "^7.0.0-next.0", | ||
"@milkdown/prose": "^7.0.0-next.0", | ||
"@milkdown/transformer": "^7.0.0-next.0" | ||
}, | ||
@@ -33,10 +35,11 @@ "dependencies": { | ||
"tslib": "^2.4.0", | ||
"@milkdown/exception": "6.5.4", | ||
"@milkdown/utils": "6.5.4" | ||
"@milkdown/exception": "7.0.0-next.0", | ||
"@milkdown/utils": "7.0.0-next.0" | ||
}, | ||
"devDependencies": { | ||
"@milkdown/core": "6.5.4", | ||
"@milkdown/design-system": "6.5.4", | ||
"@milkdown/preset-commonmark": "6.5.4", | ||
"@milkdown/prose": "6.5.4" | ||
"@milkdown/core": "7.0.0-next.0", | ||
"@milkdown/ctx": "7.0.0-next.0", | ||
"@milkdown/preset-commonmark": "7.0.0-next.0", | ||
"@milkdown/prose": "7.0.0-next.0", | ||
"@milkdown/transformer": "7.0.0-next.0" | ||
}, | ||
@@ -43,0 +46,0 @@ "nx": { |
/* Copyright 2021, Milkdown by Mirone. */ | ||
import { commonmark, commands as commonmarkCommands } from '@milkdown/preset-commonmark' | ||
import { $remark, AtomList } from '@milkdown/utils' | ||
import remarkGFM from 'remark-gfm' | ||
import { footnoteReference } from './footnote' | ||
import { footnoteDefinition } from './footnote/definition' | ||
import { ToggleStrikeThrough, strikeThrough } from './strike-through' | ||
import { table } from './table' | ||
import { | ||
LiftTaskListItem, | ||
SinkTaskListItem, | ||
SplitTaskListItem, | ||
TurnIntoTaskList, | ||
taskListItem, | ||
} from './task-list-item' | ||
import { commands, inputrules, keymap, plugins, schema } from './composed' | ||
export * from './footnote' | ||
export * from './strike-through' | ||
export { SupportedKeys } from './supported-keys' | ||
export { | ||
BreakTable, | ||
// command | ||
createTable, | ||
InsertTable, | ||
NextCell, | ||
PrevCell, | ||
// gather | ||
table, | ||
} from './table' | ||
export * from './task-list-item' | ||
export { | ||
blockquote, | ||
bulletList, | ||
codeFence, | ||
codeInline, | ||
commonmark, | ||
// gather | ||
commonmarkNodes, | ||
commonmarkPlugins, | ||
// node | ||
doc, | ||
em, | ||
HardbreakFilterPluginKey as hardbreak, | ||
heading, | ||
hr, | ||
image, | ||
// command | ||
InsertHardbreak, | ||
InsertHr, | ||
InsertImage, | ||
LiftListItem, | ||
link, | ||
listItem, | ||
ModifyImage, | ||
ModifyLink, | ||
orderedList, | ||
paragraph, | ||
SinkListItem, | ||
SplitListItem, | ||
strong, | ||
text, | ||
ToggleBold, | ||
ToggleInlineCode, | ||
ToggleItalic, | ||
ToggleLink, | ||
TurnIntoCodeFence, | ||
TurnIntoHeading, | ||
TurnIntoText, | ||
WrapInBlockquote, | ||
WrapInBulletList, | ||
WrapInOrderedList, | ||
} from '@milkdown/preset-commonmark' | ||
export * from './node' | ||
export * from './mark' | ||
export * from './composed' | ||
export const gfm = AtomList.create([ | ||
...commonmark, | ||
$remark(() => remarkGFM), | ||
table(), | ||
strikeThrough(), | ||
taskListItem(), | ||
footnoteReference(), | ||
footnoteDefinition(), | ||
]) | ||
export const commands = { | ||
...commonmarkCommands, | ||
ToggleStrikeThrough, | ||
TurnIntoTaskList, | ||
SinkTaskListItem, | ||
LiftTaskListItem, | ||
SplitTaskListItem, | ||
} as const | ||
export type Commands = typeof commands | ||
export const gfm = [schema, inputrules, keymap, plugins, commands].flat() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153196
9
5
69
2559
2
1
+ Added@milkdown/core@7.5.0(transitive)
+ Added@milkdown/ctx@7.5.0(transitive)
+ Added@milkdown/exception@7.0.0-next.07.5.0(transitive)
+ Added@milkdown/preset-commonmark@7.5.0(transitive)
+ Added@milkdown/prose@7.5.0(transitive)
+ Added@milkdown/transformer@7.5.0(transitive)
+ Added@milkdown/utils@7.0.0-next.07.5.0(transitive)
+ Added@sindresorhus/slugify@2.2.1(transitive)
+ Added@sindresorhus/transliterate@1.6.0(transitive)
+ Added@types/mdast@4.0.4(transitive)
+ Added@types/unist@3.0.3(transitive)
+ Addeddevlop@1.1.0(transitive)
+ Addedmdast-util-definitions@6.0.0(transitive)
+ Addedmdast-util-from-markdown@2.0.2(transitive)
+ Addedmdast-util-phrasing@4.1.0(transitive)
+ Addedmdast-util-to-markdown@2.1.2(transitive)
+ Addedmdast-util-to-string@4.0.0(transitive)
+ Addedmicromark@4.0.1(transitive)
+ Addedmicromark-core-commonmark@2.0.2(transitive)
+ Addedmicromark-factory-destination@2.0.1(transitive)
+ Addedmicromark-factory-label@2.0.1(transitive)
+ Addedmicromark-factory-space@2.0.1(transitive)
+ Addedmicromark-factory-title@2.0.1(transitive)
+ Addedmicromark-factory-whitespace@2.0.1(transitive)
+ Addedmicromark-util-character@2.1.1(transitive)
+ Addedmicromark-util-chunked@2.0.1(transitive)
+ Addedmicromark-util-classify-character@2.0.1(transitive)
+ Addedmicromark-util-combine-extensions@2.0.1(transitive)
+ Addedmicromark-util-decode-numeric-character-reference@2.0.2(transitive)
+ Addedmicromark-util-decode-string@2.0.1(transitive)
+ Addedmicromark-util-encode@2.0.1(transitive)
+ Addedmicromark-util-html-tag-name@2.0.1(transitive)
+ Addedmicromark-util-normalize-identifier@2.0.1(transitive)
+ Addedmicromark-util-resolve-all@2.0.1(transitive)
+ Addedmicromark-util-sanitize-uri@2.0.1(transitive)
+ Addedmicromark-util-subtokenize@2.0.3(transitive)
+ Addedmicromark-util-symbol@2.0.1(transitive)
+ Addedmicromark-util-types@2.0.1(transitive)
+ Addednanoid@5.0.9(transitive)
+ Addedprosemirror-changeset@2.2.1(transitive)
+ Addedprosemirror-tables@1.6.1(transitive)
+ Addedremark@15.0.1(transitive)
+ Addedremark-inline-links@7.0.0(transitive)
+ Addedremark-parse@11.0.0(transitive)
+ Addedremark-stringify@11.0.0(transitive)
+ Addedunified@11.0.5(transitive)
+ Addedunist-util-is@6.0.0(transitive)
+ Addedunist-util-stringify-position@4.0.0(transitive)
+ Addedunist-util-visit@5.0.0(transitive)
+ Addedunist-util-visit-parents@6.0.1(transitive)
+ Addedvfile@6.0.3(transitive)
+ Addedvfile-message@4.0.2(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@emotion/babel-plugin@11.13.5(transitive)
- Removed@emotion/cache@11.14.0(transitive)
- Removed@emotion/css@11.13.5(transitive)
- Removed@emotion/hash@0.9.2(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/serialize@1.3.3(transitive)
- Removed@emotion/sheet@1.4.0(transitive)
- Removed@emotion/unitless@0.10.0(transitive)
- Removed@emotion/utils@1.4.2(transitive)
- Removed@emotion/weak-memoize@0.4.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@milkdown/core@6.5.4(transitive)
- Removed@milkdown/ctx@6.5.4(transitive)
- Removed@milkdown/design-system@6.5.4(transitive)
- Removed@milkdown/exception@6.5.4(transitive)
- Removed@milkdown/preset-commonmark@6.5.4(transitive)
- Removed@milkdown/prose@6.5.4(transitive)
- Removed@milkdown/transformer@6.5.4(transitive)
- Removed@milkdown/utils@6.5.4(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedbabel-plugin-macros@3.1.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedcsstype@3.1.3(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfind-root@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.16.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedmdast-util-definitions@5.1.2(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedremark@14.0.3(transitive)
- Removedremark-inline-links@6.0.1(transitive)
- Removedremark-parse@10.0.2(transitive)
- Removedremark-stringify@10.0.3(transitive)
- Removedresolve@1.22.9(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstylis@4.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedyaml@1.10.2(transitive)
Updated@milkdown/utils@7.0.0-next.0