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

prosemirror-utils-bangle

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-utils-bangle - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

2

package.json
{
"name": "prosemirror-utils-bangle",
"version": "0.0.4",
"version": "0.1.0",
"description": "Utils library for ProseMirror (forked for ES modules)",

@@ -5,0 +5,0 @@ "access": "public",

import { NodeSelection } from 'prosemirror-state';
import { Fragment, Node as PMNode } from 'prosemirror-model';
import { setTextSelection } from './transforms';
import { findParentNodeClosestToPos } from './selection';
import { setTextSelection } from './transforms.js';

@@ -6,0 +5,0 @@ // :: (selection: Selection) → boolean

@@ -1,4 +0,4 @@

export * from './selection';
export * from './node';
export * from './transforms';
export { isNodeSelection, canInsert } from './helpers';
export * from './selection.js';
export * from './node.js';
export * from './transforms.js';
export { isNodeSelection, canInsert } from './helpers.js';
import { Selection } from 'prosemirror-state';
import { equalNodeType, isNodeSelection } from './helpers';
import { equalNodeType, isNodeSelection } from './helpers.js';

@@ -4,0 +4,0 @@ // :: (predicate: (node: ProseMirrorNode) → boolean) → (selection: Selection) → ?{pos: number, start: number, depth: number, node: ProseMirrorNode}

import { NodeSelection, Selection } from 'prosemirror-state';
import { Fragment } from 'prosemirror-model';
import { findParentNodeOfType, findPositionOfNodeBefore } from './selection';
import { findParentNodeOfType, findPositionOfNodeBefore } from './selection.js';
import {

@@ -11,3 +11,3 @@ cloneTr,

isEmptyParagraph
} from './helpers';
} from './helpers.js';

@@ -14,0 +14,0 @@ // :: (nodeType: union<NodeType, [NodeType]>) → (tr: Transaction) → Transaction

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