@bangle.dev/pm
Advanced tools
Comparing version 0.32.1 to 2.0.0-alpha.2
@@ -1,22 +0,14 @@ | ||
export { autoJoin, baseKeymap, chainCommands, createParagraphNear, deleteSelection, exitCode, joinBackward, joinDown, joinForward, joinUp, lift, liftEmptyBlock, macBaseKeymap, newlineInCode, pcBaseKeymap, selectAll, selectNodeBackward, selectNodeForward, selectParentNode, setBlockType, splitBlock, splitBlockKeepMarks, toggleMark, wrapIn } from 'prosemirror-commands'; | ||
export { AllSelection, Command, EditorState, NodeSelection, Plugin, PluginKey, PluginSpec, Selection, SelectionBookmark, SelectionRange, StateField, TextSelection, Transaction } from 'prosemirror-state'; | ||
export { dropCursor } from 'prosemirror-dropcursor'; | ||
export { GapCursor, gapCursor } from 'prosemirror-gapcursor'; | ||
export { closeHistory, history, redo, redoDepth, undo, undoDepth } from 'prosemirror-history'; | ||
export { InputRule, closeDoubleQuote, closeSingleQuote, ellipsis, emDash, inputRules, openDoubleQuote, openSingleQuote, smartQuotes, textblockTypeInputRule, undoInputRule, wrappingInputRule } from 'prosemirror-inputrules'; | ||
export { keydownHandler, keymap } from 'prosemirror-keymap'; | ||
import { ResolvedPos, Slice } from 'prosemirror-model'; | ||
export { AttributeSpec, ContentMatch, DOMOutputSpec, DOMParser, DOMSerializer, Fragment, Mark, MarkSpec, MarkType, Node, NodeRange, NodeSpec, NodeType, ParseOptions, ParseRule, ReplaceError, ResolvedPos, Schema, SchemaSpec, Slice } from 'prosemirror-model'; | ||
export { addListNodes, bulletList, liftListItem, listItem, orderedList, sinkListItem, splitListItem, wrapInList } from 'prosemirror-schema-list'; | ||
export { CellSelection, TableMap, addColSpan, addColumn, addColumnAfter, addColumnBefore, addRow, addRowAfter, addRowBefore, cellAround, colCount, columnIsHeader, columnResizing, deleteColumn, deleteRow, deleteTable, findCell, fixTables, fixTablesKey, goToNextCell, inSameTable, isInTable, mergeCells, moveCellForward, nextCell, removeColSpan, rowIsHeader, selectedRect, selectionCell, setCellAttr, splitCell, splitCellWithType, tableEditing, tableEditingKey, tableNodeTypes, tableNodes, toggleHeader, toggleHeaderCell, toggleHeaderColumn, toggleHeaderRow, updateColumnsOnResize } from 'prosemirror-tables'; | ||
export { AddMarkStep, MapResult, Mappable, Mapping, RemoveMarkStep, ReplaceAroundStep, ReplaceStep, Step, StepMap, StepResult, Transform, canJoin, canSplit, dropPoint, findWrapping, insertPoint, joinPoint, liftTarget, replaceStep } from 'prosemirror-transform'; | ||
import { EditorView } from 'prosemirror-view'; | ||
export { Decoration, DecorationAttrs, DecorationSet, DirectEditorProps, EditorProps, EditorView, NodeView } from 'prosemirror-view'; | ||
declare function parseFromClipboard(view: EditorView, text: string, html: string | null, plainText: boolean, $context: ResolvedPos): Slice; | ||
declare function serializeForClipboard(view: EditorView, slice: Slice): { | ||
dom: HTMLDivElement; | ||
text: string; | ||
}; | ||
export { parseFromClipboard, serializeForClipboard }; | ||
export * from 'prosemirror-commands'; | ||
export * from 'prosemirror-dropcursor'; | ||
export * from 'prosemirror-flat-list'; | ||
export * from 'prosemirror-gapcursor'; | ||
export * from 'prosemirror-history'; | ||
export * from 'prosemirror-inputrules'; | ||
export * from 'prosemirror-keymap'; | ||
export * from 'prosemirror-model'; | ||
export { Node as PMNode } from 'prosemirror-model'; | ||
export { default as OrderedMap } from 'orderedmap'; | ||
export * from 'prosemirror-state'; | ||
export { Plugin as PMPlugin, Selection as PMSelection } from 'prosemirror-state'; | ||
export * from 'prosemirror-transform'; | ||
export * from 'prosemirror-view'; |
@@ -1,22 +0,25 @@ | ||
export { autoJoin, baseKeymap, chainCommands, createParagraphNear, deleteSelection, exitCode, joinBackward, joinDown, joinForward, joinUp, lift, liftEmptyBlock, macBaseKeymap, newlineInCode, pcBaseKeymap, selectAll, selectNodeBackward, selectNodeForward, selectParentNode, setBlockType, splitBlock, splitBlockKeepMarks, toggleMark, wrapIn } from 'prosemirror-commands'; | ||
export { dropCursor } from 'prosemirror-dropcursor'; | ||
export { gapCursor } from 'prosemirror-gapcursor'; | ||
export { closeHistory, history, redo, redoDepth, undo, undoDepth } from 'prosemirror-history'; | ||
export { InputRule, closeDoubleQuote, closeSingleQuote, ellipsis, emDash, inputRules, openDoubleQuote, openSingleQuote, smartQuotes, textblockTypeInputRule, undoInputRule, wrappingInputRule } from 'prosemirror-inputrules'; | ||
export { keydownHandler, keymap } from 'prosemirror-keymap'; | ||
export { ContentMatch, DOMParser, DOMSerializer, Fragment, Mark, MarkType, Node, NodeRange, NodeType, ReplaceError, ResolvedPos, Schema, Slice } from 'prosemirror-model'; | ||
export { addListNodes, bulletList, liftListItem, listItem, orderedList, sinkListItem, splitListItem, wrapInList } from 'prosemirror-schema-list'; | ||
export { AllSelection, EditorState, NodeSelection, Plugin, PluginKey, Selection, SelectionRange, TextSelection, Transaction } from 'prosemirror-state'; | ||
export { CellSelection, TableMap, addColSpan, addColumn, addColumnAfter, addColumnBefore, addRow, addRowAfter, addRowBefore, cellAround, colCount, columnIsHeader, columnResizing, deleteColumn, deleteRow, deleteTable, findCell, fixTables, fixTablesKey, goToNextCell, inSameTable, isInTable, mergeCells, moveCellForward, nextCell, removeColSpan, rowIsHeader, selectedRect, selectionCell, setCellAttr, splitCell, splitCellWithType, tableEditing, tableEditingKey, tableNodeTypes, tableNodes, toggleHeader, toggleHeaderCell, toggleHeaderColumn, toggleHeaderRow, updateColumnsOnResize } from 'prosemirror-tables'; | ||
export { AddMarkStep, MapResult, Mapping, RemoveMarkStep, ReplaceAroundStep, ReplaceStep, Step, StepMap, StepResult, Transform, canJoin, canSplit, dropPoint, findWrapping, insertPoint, joinPoint, liftTarget, replaceStep } from 'prosemirror-transform'; | ||
import { __parseFromClipboard, __serializeForClipboard } from 'prosemirror-view'; | ||
export { Decoration, DecorationSet, EditorView } from 'prosemirror-view'; | ||
function parseFromClipboard(view, text, html, plainText, $context) { | ||
return __parseFromClipboard(view, text, html, plainText, $context); | ||
} | ||
function serializeForClipboard(view, slice) { | ||
return __serializeForClipboard(view, slice); | ||
} | ||
export { parseFromClipboard, serializeForClipboard }; | ||
import { | ||
Node | ||
} from "./chunk-ZJVZBQG2.js"; | ||
import { | ||
default as default2 | ||
} from "./chunk-33RTLB4Q.js"; | ||
import { | ||
Plugin, | ||
Selection | ||
} from "./chunk-W2J6WFML.js"; | ||
import "./chunk-CYQTY37X.js"; | ||
import "./chunk-44HQWOOI.js"; | ||
import "./chunk-ASD2VVY4.js"; | ||
import "./chunk-BURDVO4N.js"; | ||
import "./chunk-H5N7M3F5.js"; | ||
import "./chunk-7NDNU624.js"; | ||
import "./chunk-CBNOFFJJ.js"; | ||
import "./chunk-SUJOPG77.js"; | ||
import "./chunk-CDHDGJRN.js"; | ||
export { | ||
default2 as OrderedMap, | ||
Node as PMNode, | ||
Plugin as PMPlugin, | ||
Selection as PMSelection | ||
}; |
251
package.json
{ | ||
"name": "@bangle.dev/pm", | ||
"version": "0.32.1", | ||
"version": "2.0.0-alpha.2", | ||
"author": { | ||
"name": "Kushan Joshi", | ||
"email": "0o3ko0@gmail.com", | ||
"url": "http://github.com/kepta" | ||
}, | ||
"description": "A modern collection of ProseMirror packages for building powerful editing experiences", | ||
"keywords": [ | ||
"prosemirror", | ||
"rich text editor", | ||
"editor", | ||
"typescript" | ||
], | ||
"homepage": "https://bangle.io", | ||
"bugs": { | ||
"url": "https://github.com/bangle-io/banger-editor/issues" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bangle-io/banger-editor.git", | ||
"directory": "packages/pm" | ||
}, | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"description": "This is bangle.dev specific collection of Prosemirror packages.", | ||
"license": "MIT", | ||
"access": "public", | ||
"typings": "dist/index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
@@ -15,53 +37,186 @@ "dist", | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
"dependencies": { | ||
"@types/orderedmap": "^2.0.0" | ||
}, | ||
"scripts": { | ||
"compile-ts": "yarn g:tsc --build $INIT_CWD", | ||
"watch-ts": "yarn g:tsc -p $INIT_CWD -w" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint" | ||
} | ||
}, | ||
"prettier": { | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"dependencies": { | ||
"@types/jest": "^29.5.3", | ||
"prosemirror-commands": "^1.5.2", | ||
"devDependencies": { | ||
"orderedmap": "^2.1.1", | ||
"prosemirror-commands": "^1.6.2", | ||
"prosemirror-dropcursor": "^1.8.1", | ||
"prosemirror-flat-list": "^0.5.4", | ||
"prosemirror-gapcursor": "^1.3.2", | ||
"prosemirror-history": "^1.3.2", | ||
"prosemirror-inputrules": "^1.2.1", | ||
"prosemirror-history": "^1.4.1", | ||
"prosemirror-inputrules": "^1.4.0", | ||
"prosemirror-keymap": "^1.2.2", | ||
"prosemirror-model": "^1.19.3", | ||
"prosemirror-schema-list": "^1.3.0", | ||
"prosemirror-model": "^1.24.1", | ||
"prosemirror-schema-basic": "^1.2.3", | ||
"prosemirror-state": "^1.4.3", | ||
"prosemirror-tables": "^1.3.4", | ||
"prosemirror-transform": "^1.7.3", | ||
"prosemirror-view": "^1.31.6" | ||
"prosemirror-test-builder": "^1.1.1", | ||
"prosemirror-transform": "^1.10.2", | ||
"prosemirror-view": "^1.37.1", | ||
"tsup": "^8.3.5", | ||
"tsconfig": "0.0.0", | ||
"tsup-config": "0.0.0", | ||
"@bangle.dev/packager": "1.0.0" | ||
}, | ||
"devDependencies": { | ||
"tslib": "^2.4.0" | ||
"peerDependencies": { | ||
"orderedmap": "*", | ||
"prosemirror-commands": "*", | ||
"prosemirror-dropcursor": "*", | ||
"prosemirror-flat-list": "*", | ||
"prosemirror-gapcursor": "*", | ||
"prosemirror-history": "*", | ||
"prosemirror-inputrules": "*", | ||
"prosemirror-keymap": "*", | ||
"prosemirror-model": "*", | ||
"prosemirror-schema-basic": "*", | ||
"prosemirror-state": "*", | ||
"prosemirror-transform": "*", | ||
"prosemirror-view": "*" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
}, | ||
"./commands": { | ||
"require": "./dist/commands.cjs", | ||
"types": "./dist/commands.d.ts", | ||
"import": "./dist/commands.js" | ||
}, | ||
"./dropcursor": { | ||
"require": "./dist/dropcursor.cjs", | ||
"types": "./dist/dropcursor.d.ts", | ||
"import": "./dist/dropcursor.js" | ||
}, | ||
"./flat-list": { | ||
"require": "./dist/flat-list.cjs", | ||
"types": "./dist/flat-list.d.ts", | ||
"import": "./dist/flat-list.js" | ||
}, | ||
"./gapcursor": { | ||
"require": "./dist/gapcursor.cjs", | ||
"types": "./dist/gapcursor.d.ts", | ||
"import": "./dist/gapcursor.js" | ||
}, | ||
"./history": { | ||
"require": "./dist/history.cjs", | ||
"types": "./dist/history.d.ts", | ||
"import": "./dist/history.js" | ||
}, | ||
"./inputrules": { | ||
"require": "./dist/inputrules.cjs", | ||
"types": "./dist/inputrules.d.ts", | ||
"import": "./dist/inputrules.js" | ||
}, | ||
"./keymap": { | ||
"require": "./dist/keymap.cjs", | ||
"types": "./dist/keymap.d.ts", | ||
"import": "./dist/keymap.js" | ||
}, | ||
"./kushan": { | ||
"require": "./dist/kushan.cjs", | ||
"types": "./dist/kushan.d.ts", | ||
"import": "./dist/kushan.js" | ||
}, | ||
"./model": { | ||
"require": "./dist/model.cjs", | ||
"types": "./dist/model.d.ts", | ||
"import": "./dist/model.js" | ||
}, | ||
"./orderedmap": { | ||
"require": "./dist/orderedmap.cjs", | ||
"types": "./dist/orderedmap.d.ts", | ||
"import": "./dist/orderedmap.js" | ||
}, | ||
"./package.json": "./package.json", | ||
"./schema-basic": { | ||
"require": "./dist/schema-basic.cjs", | ||
"types": "./dist/schema-basic.d.ts", | ||
"import": "./dist/schema-basic.js" | ||
}, | ||
"./state": { | ||
"require": "./dist/state.cjs", | ||
"types": "./dist/state.d.ts", | ||
"import": "./dist/state.js" | ||
}, | ||
"./transform": { | ||
"require": "./dist/transform.cjs", | ||
"types": "./dist/transform.d.ts", | ||
"import": "./dist/transform.js" | ||
}, | ||
"./view": { | ||
"require": "./dist/view.cjs", | ||
"types": "./dist/view.d.ts", | ||
"import": "./dist/view.js" | ||
} | ||
}, | ||
"exports": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
"banglePackageConfig": { | ||
"env": "universal", | ||
"kind": "js-util" | ||
}, | ||
"types": "dist/index.d.ts" | ||
"peerDependenciesMeta": { | ||
"orderedmap": { | ||
"optional": true | ||
}, | ||
"prosemirror-commands": { | ||
"optional": true | ||
}, | ||
"prosemirror-dropcursor": { | ||
"optional": true | ||
}, | ||
"prosemirror-flat-list": { | ||
"optional": true | ||
}, | ||
"prosemirror-gapcursor": { | ||
"optional": true | ||
}, | ||
"prosemirror-history": { | ||
"optional": true | ||
}, | ||
"prosemirror-inputrules": { | ||
"optional": true | ||
}, | ||
"prosemirror-keymap": { | ||
"optional": true | ||
}, | ||
"prosemirror-model": { | ||
"optional": false | ||
}, | ||
"prosemirror-schema-basic": { | ||
"optional": true | ||
}, | ||
"prosemirror-state": { | ||
"optional": false | ||
}, | ||
"prosemirror-transform": { | ||
"optional": false | ||
}, | ||
"prosemirror-view": { | ||
"optional": false | ||
} | ||
}, | ||
"bangleConfig": { | ||
"tsupEntry": { | ||
"index": "src/index.ts", | ||
"commands": "src/commands/index.ts", | ||
"dropcursor": "src/dropcursor/index.ts", | ||
"flat-list": "src/flat-list/index.ts", | ||
"gapcursor": "src/gapcursor/index.ts", | ||
"history": "src/history/index.ts", | ||
"inputrules": "src/inputrules/index.ts", | ||
"keymap": "src/keymap/index.ts", | ||
"kushan": "src/kushan.ts", | ||
"model": "src/model/index.ts", | ||
"orderedmap": "src/orderedmap/index.ts", | ||
"schema-basic": "src/schema-basic/index.ts", | ||
"state": "src/state/index.ts", | ||
"transform": "src/transform/index.ts", | ||
"view": "src/view/index.ts" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"build:tsup": "tsup --config tsup.config.ts" | ||
} | ||
} |
export * from './commands'; | ||
export * from './dropcursor'; | ||
export * from './flat-list'; | ||
export * from './gapcursor'; | ||
@@ -8,6 +9,5 @@ export * from './history'; | ||
export * from './model'; | ||
export * from './schema-list'; | ||
export * from './orderedmap'; | ||
export * from './state'; | ||
export * from './tables'; | ||
export * from './transform'; | ||
export * from './view'; |
Sorry, the diff of this file is not supported yet
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 README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
105
0
1
0
62
0
24912
14
18
252
1
+ Added@types/orderedmap@^2.0.0
+ Added@types/orderedmap@2.0.0(transitive)
+ Addedprosemirror-flat-list@0.5.4(transitive)
+ Addedprosemirror-safari-ime-span@1.0.2(transitive)
+ Addedprosemirror-schema-basic@1.2.3(transitive)
- Removed@types/jest@^29.5.3
- Removedprosemirror-commands@^1.5.2
- Removedprosemirror-dropcursor@^1.8.1
- Removedprosemirror-gapcursor@^1.3.2
- Removedprosemirror-history@^1.3.2
- Removedprosemirror-inputrules@^1.2.1
- Removedprosemirror-keymap@^1.2.2
- Removedprosemirror-model@^1.19.3
- Removedprosemirror-schema-list@^1.3.0
- Removedprosemirror-state@^1.4.3
- Removedprosemirror-tables@^1.3.4
- Removedprosemirror-transform@^1.7.3
- Removedprosemirror-view@^1.31.6
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@jest/expect-utils@29.7.0(transitive)
- Removed@jest/schemas@29.6.3(transitive)
- Removed@jest/types@29.6.3(transitive)
- Removed@sinclair/typebox@0.27.8(transitive)
- Removed@types/istanbul-lib-coverage@2.0.6(transitive)
- Removed@types/istanbul-lib-report@3.0.3(transitive)
- Removed@types/istanbul-reports@3.0.4(transitive)
- Removed@types/jest@29.5.14(transitive)
- Removed@types/node@22.10.6(transitive)
- Removed@types/stack-utils@2.0.3(transitive)
- Removed@types/yargs@17.0.33(transitive)
- Removed@types/yargs-parser@21.0.3(transitive)
- Removedansi-styles@4.3.05.2.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchalk@4.1.2(transitive)
- Removedci-info@3.9.0(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removeddiff-sequences@29.6.3(transitive)
- Removedescape-string-regexp@2.0.0(transitive)
- Removedexpect@29.7.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedis-number@7.0.0(transitive)
- Removedjest-diff@29.7.0(transitive)
- Removedjest-get-type@29.6.3(transitive)
- Removedjest-matcher-utils@29.7.0(transitive)
- Removedjest-message-util@29.7.0(transitive)
- Removedjest-util@29.7.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpretty-format@29.7.0(transitive)
- Removedprosemirror-schema-list@1.5.0(transitive)
- Removedprosemirror-tables@1.6.2(transitive)
- Removedreact-is@18.3.1(transitive)
- Removedslash@3.0.0(transitive)
- Removedstack-utils@2.0.6(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedundici-types@6.20.0(transitive)