braft-utils
Advanced tools
Comparing version 3.0.12 to 3.0.13
@@ -394,5 +394,5 @@ 'use strict'; | ||
var decreaseSelectionIndent = exports.decreaseSelectionIndent = function decreaseSelectionIndent(editorState) { | ||
var decreaseSelectionIndent = exports.decreaseSelectionIndent = function decreaseSelectionIndent(editorState, maxIndent) { | ||
var currentIndent = getSelectionBlockData(editorState, 'textIndent') || 0; | ||
return toggleSelectionIndent(editorState, currentIndent - 1); | ||
return toggleSelectionIndent(editorState, currentIndent - 1, maxIndent); | ||
}; | ||
@@ -399,0 +399,0 @@ |
{ | ||
"name": "braft-utils", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"description": "Utils for Braft Editor", | ||
@@ -10,2 +10,7 @@ "main": "dist/index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/margox/braft-utils.git" | ||
}, | ||
"homepage": "https://github.com/margox/braft-utils#readme", | ||
"keywords": [ | ||
@@ -12,0 +17,0 @@ "braft", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
0
29686
6
1