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

tiptap-commands

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiptap-commands - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

8

dist/commands.common.js
/*!
* tiptap-commands v1.7.1
* tiptap-commands v1.8.0
* (c) 2019 Scrumpy UG (limited liability)

@@ -251,4 +251,4 @@ * @license MIT

function splitListItem(itemType) {
return function _splitListItem(state, dispatch) {
function splitToDefaultListItem(itemType) {
return function (state, dispatch) {
var _state$selection = state.selection,

@@ -580,3 +580,3 @@ $from = _state$selection.$from,

exports.setInlineBlockType = setInlineBlockType;
exports.splitToDefaultListItem = splitListItem;
exports.splitToDefaultListItem = splitToDefaultListItem;
exports.toggleBlockType = toggleBlockType;

@@ -583,0 +583,0 @@ exports.toggleList = toggleList;

/*!
* tiptap-commands v1.7.1
* tiptap-commands v1.8.0
* (c) 2019 Scrumpy UG (limited liability)

@@ -250,4 +250,4 @@ * @license MIT

function splitListItem(itemType) {
return function _splitListItem(state, dispatch) {
function splitToDefaultListItem(itemType) {
return function (state, dispatch) {
var _state$selection = state.selection,

@@ -385,2 +385,2 @@ $from = _state$selection.$from,

export { insertText, markInputRule, markPasteRule, nodeInputRule, pasteRule, removeMark, replaceText, setInlineBlockType, splitListItem as splitToDefaultListItem, toggleBlockType, toggleList, toggleWrap, updateMark };
export { insertText, markInputRule, markPasteRule, nodeInputRule, pasteRule, removeMark, replaceText, setInlineBlockType, splitToDefaultListItem, toggleBlockType, toggleList, toggleWrap, updateMark };
/*!
* tiptap-commands v1.7.1
* tiptap-commands v1.8.0
* (c) 2019 Scrumpy UG (limited liability)

@@ -246,4 +246,4 @@ * @license MIT

function splitListItem(itemType) {
return function _splitListItem(state, dispatch) {
function splitToDefaultListItem(itemType) {
return function (state, dispatch) {
var _state$selection = state.selection,

@@ -575,3 +575,3 @@ $from = _state$selection.$from,

exports.setInlineBlockType = setInlineBlockType;
exports.splitToDefaultListItem = splitListItem;
exports.splitToDefaultListItem = splitToDefaultListItem;
exports.toggleBlockType = toggleBlockType;

@@ -578,0 +578,0 @@ exports.toggleList = toggleList;

/*!
* tiptap-commands v1.7.1
* tiptap-commands v1.8.0
* (c) 2019 Scrumpy UG (limited liability)

@@ -5,0 +5,0 @@ * @license MIT

{
"name": "tiptap-commands",
"version": "1.8.0",
"version": "1.9.0",
"description": "Commands for tiptap",

@@ -29,3 +29,3 @@ "homepage": "https://tiptap.scrumpy.io",

},
"gitHead": "0e59e0cc0c2b4f0be5c46ebf2a698c674bfda821"
"gitHead": "a44a4e7d393862ee24fa80c1e457e27f7df87d24"
}

@@ -35,4 +35,4 @@ // this is a copy of canSplit

export default function splitListItem(itemType) {
return function _splitListItem(state, dispatch) {
export default function splitToDefaultListItem(itemType) {
return function (state, dispatch) {
const { $from, $to, node } = state.selection

@@ -39,0 +39,0 @@ if ((node && node.isBlock) || $from.depth < 2 || !$from.sameParent($to)) return false

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