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

prosemirror-utils

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-utils - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

4

dist/index.js

@@ -1148,3 +1148,3 @@ 'use strict';

// :: (columnIndex: number, cellTransform: (cell: {pos: number, start: number, node: ProseMirrorNode}) → (tr: Transaction)), setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
// :: (columnIndex: number, cellTransform: (cell: {pos: number, start: number, node: ProseMirrorNode}, tr: Transaction) → Transaction, setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
// Returns a new transaction that maps a given `cellTransform` function to each cell in a column at a given `columnIndex`.

@@ -1175,3 +1175,3 @@ // It will set the selection into the last cell of the column if `setCursorToLastCell` param is set to `true`.

// :: (rowIndex: number, cellTransform: (cell: {pos: number, start: number, node: ProseMirrorNode}) → (tr: Transaction)), setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
// :: (rowIndex: number, cellTransform: (cell: {pos: number, start: number, node: ProseMirrorNode}, tr: Transaction) → Transaction, setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
// Returns a new transaction that maps a given `cellTransform` function to each cell in a row at a given `rowIndex`.

@@ -1178,0 +1178,0 @@ // It will set the selection into the last cell of the row if `setCursorToLastCell` param is set to `true`.

{
"name": "prosemirror-utils",
"version": "0.5.3",
"version": "0.5.4",
"description": "Utils library for ProseMirror",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -419,4 +419,3 @@ # Utils library for ProseMirror

* **`forEachCellInColumn`**`(columnIndex: number, cellTransform: fn(cell: {pos: number, start: number, node: ProseMirrorNode}) → fn(tr: Transaction))`\
, setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
* **`forEachCellInColumn`**`(columnIndex: number, cellTransform: fn(cell: {pos: number, start: number, node: ProseMirrorNode}, tr: Transaction) → Transaction, setCursorToLastCell: ?boolean) → fn(tr: Transaction) → Transaction`\
Returns a new transaction that maps a given `cellTransform` function to each cell in a column at a given `columnIndex`.

@@ -432,4 +431,3 @@ It will set the selection into the last cell of the column if `setCursorToLastCell` param is set to `true`.

* **`forEachCellInRow`**`(rowIndex: number, cellTransform: fn(cell: {pos: number, start: number, node: ProseMirrorNode}) → fn(tr: Transaction))`\
, setCursorToLastCell: ?boolean) → (tr: Transaction) → Transaction
* **`forEachCellInRow`**`(rowIndex: number, cellTransform: fn(cell: {pos: number, start: number, node: ProseMirrorNode}, tr: Transaction) → Transaction, setCursorToLastCell: ?boolean) → fn(tr: Transaction) → Transaction`\
Returns a new transaction that maps a given `cellTransform` function to each cell in a row at a given `rowIndex`.

@@ -436,0 +434,0 @@ It will set the selection into the last cell of the row if `setCursorToLastCell` param is set to `true`.

@@ -12,3 +12,3 @@ import { Node as ProsemirrorNode, Schema, NodeType, Mark, MarkType, ResolvedPos, Fragment } from 'prosemirror-model';

export type CellTransform = (cell: NodeWithPos) => (tr: Transaction) => Transaction;
export type CellTransform = (cell: NodeWithPos, tr: Transaction) => Transaction;

@@ -15,0 +15,0 @@ // Selection

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