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

prosemirror-schema-list

Package Overview
Dependencies
Maintainers
1
Versions
35
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.0.3 to 1.0.4

6

CHANGELOG.md

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

## 1.0.4 (2019-10-08)
### Bug fixes
Fix regression where `splitListItem` doesn't work at the end of an item when the content for list items has different first and non-first allowed nodes.
## 1.0.3 (2019-04-19)

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

2

dist/schema-list.js

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

}
var nextType = $to.pos == $from.end() ? grandParent.contentMatchAt($from.indexAfter(-1)).defaultType : null;
var nextType = $to.pos == $from.end() ? grandParent.contentMatchAt(0).defaultType : null;
var tr = state.tr.delete($from.pos, $to.pos);

@@ -157,0 +157,0 @@ var types = nextType && [null, {type: nextType}];

{
"name": "prosemirror-schema-list",
"version": "1.0.3",
"version": "1.0.4",
"description": "List-related schema elements and commands for ProseMirror",

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

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

}
let nextType = $to.pos == $from.end() ? grandParent.contentMatchAt($from.indexAfter(-1)).defaultType : null
let nextType = $to.pos == $from.end() ? grandParent.contentMatchAt(0).defaultType : null
let tr = state.tr.delete($from.pos, $to.pos)

@@ -146,0 +146,0 @@ let types = nextType && [null, {type: nextType}]

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