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

prosemirror-flat-list

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-flat-list - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

@@ -1079,3 +1079,3 @@ // src/commands/dedent-list.ts

if (isCollapsedListNode($pos.node(depth)) && $pos.index(depth) >= 1) {
const before = $pos.posAtIndex(depth, 1);
const before = $pos.posAtIndex(1, depth);
const $before = $pos.doc.resolve(before);

@@ -1082,0 +1082,0 @@ return TextSelection3.near($before, -1);

@@ -241,5 +241,6 @@ import type { Attrs } from 'prosemirror-model';

/**
* The default group name for list nodes.
* The default group name for list nodes. This is used to find the list node
* type from the schema.
*
* @public @group Schema
* @internal Schema
*/

@@ -246,0 +247,0 @@ export declare const flatListGroup = "flatList";

@@ -1079,3 +1079,3 @@ // src/commands/dedent-list.ts

if (isCollapsedListNode($pos.node(depth)) && $pos.index(depth) >= 1) {
const before = $pos.posAtIndex(depth, 1);
const before = $pos.posAtIndex(1, depth);
const $before = $pos.doc.resolve(before);

@@ -1082,0 +1082,0 @@ return TextSelection3.near($before, -1);

{
"name": "prosemirror-flat-list",
"type": "module",
"version": "0.3.6",
"version": "0.3.7",
"description": "Powerful list support for ProseMirror",

@@ -53,3 +53,3 @@ "author": "ocavue <ocavue@gmail.com>",

"@types/dedent": "^0.7.0",
"@types/node": "^18.15.5",
"@types/node": "^18.15.10",
"@vitest/coverage-c8": "^0.29.7",

@@ -63,3 +63,3 @@ "dedent": "^0.7.0",

"postcss": "^8.4.21",
"postcss-nesting": "^11.2.1",
"postcss-nesting": "^11.2.2",
"react": "^18.2.0",

@@ -66,0 +66,0 @@ "react-dom": "^18.2.0",

Sorry, the diff of this file is not supported yet