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

@bangle.dev/pm

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bangle.dev/pm - npm Package Compare versions

Comparing version 0.32.1 to 2.0.0-alpha.2

dist/chunk-33RTLB4Q.js

36

dist/index.d.ts

@@ -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
};
{
"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

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