New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bangle.dev/core

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bangle.dev/core - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

4

__tests__/spec-sheet.test.js
import { MarkType, NodeType } from 'prosemirror-model';
import { hardBreak, doc, paragraph, text } from '../components/index';
import { bold } from '../components/index';
import { hardBreak, doc, paragraph, text, bold } from '../components/index';
import { SpecRegistry } from '../spec-registry';

@@ -5,0 +5,0 @@

@@ -6,5 +6,9 @@ /**

/** @jsx psx */
import { psx, renderTestEditor, sendKeyToPm } from '../../test-helpers/index';
import {
psx,
renderTestEditor,
sendKeyToPm,
typeText,
} from '../../test-helpers/index';
import { typeText } from '../../test-helpers/index';
import { blockquote } from '../index';

@@ -11,0 +15,0 @@

@@ -18,2 +18,3 @@ /**

paragraph,
heading,
} from '@bangle.dev/core/components';

@@ -26,3 +27,2 @@ import {

import { toggleHeadingCollapse, uncollapseAllHeadings } from '../heading';
import { heading } from '../index';

@@ -29,0 +29,0 @@ const specRegistry = new SpecRegistry([

@@ -6,6 +6,4 @@ /**

/** @jsx psx */
import { psx, renderTestEditor } from '../../test-helpers/index';
import { psx, renderTestEditor, typeText } from '../../test-helpers/index';
import { typeText } from '../../test-helpers/index';
describe('Markdown shorthand works', () => {

@@ -12,0 +10,0 @@ const testEditor = renderTestEditor();

// marks
export * as bold from './bold';
export * as code from './code';
export * as italic from './italic';
export * as link from './link';
export * as strike from './strike';
export * as underline from './underline';
import * as bold from './bold';
import * as code from './code';
import * as italic from './italic';
import * as link from './link';
import * as strike from './strike';
import * as underline from './underline';
// nodes
export * as doc from './doc';
export * as paragraph from './paragraph';
export * as text from './text';
export * as blockquote from './blockquote';
export * as bulletList from './bullet-list';
export * as codeBlock from './code-block';
export * as hardBreak from './hard-break';
export * as heading from './heading';
export * as horizontalRule from './horizontal-rule';
export * as listItem from './list-item/list-item';
export * as orderedList from './ordered-list';
export * as image from './image';
import * as doc from './doc';
import * as paragraph from './paragraph';
import * as text from './text';
import * as blockquote from './blockquote';
import * as bulletList from './bullet-list';
import * as codeBlock from './code-block';
import * as hardBreak from './hard-break';
import * as heading from './heading';
import * as horizontalRule from './horizontal-rule';
import * as listItem from './list-item/list-item';
import * as orderedList from './ordered-list';
import * as image from './image';
// components
export * as history from './history';
export * as editorStateCounter from './editor-state-counter';
import * as history from './history';
import * as editorStateCounter from './editor-state-counter';
export {
bold,
code,
italic,
link,
strike,
underline,
doc,
paragraph,
text,
blockquote,
bulletList,
codeBlock,
hardBreak,
heading,
horizontalRule,
listItem,
orderedList,
image,
history,
editorStateCounter,
};

@@ -11,5 +11,6 @@ import { liftTarget, ReplaceAroundStep } from 'prosemirror-transform';

findParentNode,
flatten,
} from 'prosemirror-utils';
import { NodeSelection, TextSelection } from 'prosemirror-state';
import { flatten } from 'prosemirror-utils';
import { compose } from '../../utils/js-utils';

@@ -16,0 +17,0 @@ import {

@@ -1,2 +0,2 @@

import { createElement } from '../../utils/index';
import { createElement } from '../../utils/js-utils';
import { NodeView } from '../../node-view';

@@ -3,0 +3,0 @@

@@ -18,3 +18,3 @@ import { chainCommands } from 'prosemirror-commands';

import { filter, insertEmpty } from '../../utils/pm-utils';
import { domSerializationHelpers } from '../../utils/index';
import { domSerializationHelpers } from '../../utils/dom-serialization-helpers';
import browser from '../../utils/browser';

@@ -21,0 +21,0 @@ import { isNodeTodo, setTodoCheckedAttr } from './todo';

import * as logging from './utils/logging';
import browser, { isChromeWithSelectionBug } from './utils/browser';
export * as utils from './utils';
import * as utils from './utils';
export * from './components/index';

@@ -11,2 +12,2 @@ export * from './bangle-editor';

export { logging, browser, isChromeWithSelectionBug };
export { utils, logging, browser, isChromeWithSelectionBug };
{
"name": "@bangle.dev/core",
"version": "0.3.3",
"version": "0.4.0",
"homepage": "https://bangle.dev",

@@ -5,0 +5,0 @@ "authors": [

@@ -1,6 +0,7 @@

import { InputRule } from 'prosemirror-inputrules';
import {
InputRule,
inputRules as pmInputRules,
undoInputRule as pmUndoInputRule,
} from 'prosemirror-inputrules';
import { keymap } from 'prosemirror-keymap';

@@ -12,3 +13,4 @@ import { gapCursor as pmGapCursor } from 'prosemirror-gapcursor';

import { Plugin, PluginGroup } from '../plugin';
import { history, editorStateCounter } from '../components/index';
import * as history from '../components/history';
import * as editorStateCounter from '../components/editor-state-counter';

@@ -15,0 +17,0 @@ export function pluginLoader(

@@ -8,6 +8,5 @@ import {

} from 'prosemirror-utils';
import { Fragment, Slice } from 'prosemirror-model';
import { Fragment, Slice, DOMSerializer } from 'prosemirror-model';
import { GapCursorSelection } from '../gap-cursor';
import { Plugin } from '../plugin';
import { DOMSerializer } from 'prosemirror-model';

@@ -14,0 +13,0 @@ export function safeInsert(...args) {

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