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

prosemirror-schema-list

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-schema-list - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

6

CHANGELOG.md

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

## 1.1.6 (2021-09-21)
### Bug fixes
Fix a crash in `liftListItem` that happens when list items that can't be merged are lifted together.
## 1.1.5 (2021-07-06)

@@ -2,0 +8,0 @@

1

dist/index.es.js

@@ -205,2 +205,3 @@ import { findWrapping, ReplaceAroundStep, canSplit, liftTarget } from 'prosemirror-transform';

var $start = tr.doc.resolve(range.start), item = $start.nodeAfter;
if (tr.mapping.map(range.end) != range.start + $start.nodeAfter.nodeSize) { return false }
var atStart = range.startIndex == 0, atEnd = range.endIndex == list.childCount;

@@ -207,0 +208,0 @@ var parent = $start.node(-1), indexBefore = $start.index(-1);

@@ -209,2 +209,3 @@ 'use strict';

var $start = tr.doc.resolve(range.start), item = $start.nodeAfter;
if (tr.mapping.map(range.end) != range.start + $start.nodeAfter.nodeSize) { return false }
var atStart = range.startIndex == 0, atEnd = range.endIndex == list.childCount;

@@ -211,0 +212,0 @@ var parent = $start.node(-1), indexBefore = $start.index(-1);

2

package.json
{
"name": "prosemirror-schema-list",
"version": "1.1.5",
"version": "1.1.6",
"description": "List-related schema elements and commands for ProseMirror",

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

@@ -198,2 +198,3 @@ import {findWrapping, liftTarget, canSplit, ReplaceAroundStep} from "prosemirror-transform"

let $start = tr.doc.resolve(range.start), item = $start.nodeAfter
if (tr.mapping.map(range.end) != range.start + $start.nodeAfter.nodeSize) return false
let atStart = range.startIndex == 0, atEnd = range.endIndex == list.childCount

@@ -200,0 +201,0 @@ let parent = $start.node(-1), indexBefore = $start.index(-1)

Sorry, the diff of this file is not supported yet

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