Update dependency handsontable to v10 [SECURITY] #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.4.2
->^10.0.0
GitHub Vulnerability Alerts
CVE-2021-23446
The package handsontable before 10.0.0; the package handsontable from 0 and before 10.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) in Handsontable.helper.isNumeric function.
Release Notes
handsontable/handsontable
v10.0.0
Compare Source
Changed
controller
, for selection manipulation in thebeforeOnCellMouseDown
andbeforeOnCellMouseOver
hooks. #4996beforeRender
andafterRender
hooks are, and when they are triggered. Added two new hooks:beforeViewRender
andafterViewRender
. #6303Formulas
plugin users. #8502rowsLimit
andcolumnsLimit
options of theCopyPaste
plugin. #8660autoWrapRow
andautoWrapCol
options` default values fromtrue
tofalse
. #8662getCellMeta()
method. #6303selectOptions
option. #8488Fixed
NestedRows
plugin, occurring with theFormulas
plugin enabled. #8048Formulas
plugin if a provided sheet name contained a dash character. #8057Formulas
plugin. #8078beforeChange
hook when theFormulas
plugin was enabled #8107NestedRows
plugin won't be corrupted by some actions. #8180dataMap
, to prevent potential circular references. #8704v9.0.2
Compare Source
Fixed
updateSettings
calls containingcolumns
. #7689parseTable
utility. #8041nestedRows
plugin enabled crashed the table. #8171Added
v9.0.1
Compare Source
Fixed
checkbox
type to restore previous behaviour. #8196Removed
jsonpatch
library from the source code. #8140v9.0.0
Compare Source
Changed
hot-formula-parser
dependency for the sake of an optional one,hyperformula
. #6466afterAutofill
andbeforeAutofill
hooks' signatures. #7987eslint
and eslint-related modules. #7531fit
&fdescribe
to restricted globals in test files. #8088Fixed
afterCreateCol
hooks being triggered after undoing a removal of a column. #8076Removed
Deprecated
beforeAutofillInsidePopulate
hook. It will be removed in the next major release. #8095v8.4.0
Compare Source
Added
separated
attribute for the label options (thelabel
DOM element may wrapinput
or be placed next to it). #3172modifyAutoColumnSizeSeed
hook to let developers overwrite the default behaviour of the AutoColumnSize sampling. #3339UndoRedo
plugin and introduced new hooks. #6948Fixed
checkbox
-typed cells and an issue with empty cells not being displayed properly. #4047readOnly
cells was not performed properly. #4754fragmentSelection
option enabled. #6083numericFormat
's type definition. #7420trimWhitespace
tests on Firefox. #7593postbuild
andexamples:install
scripts on Windows. #7680package.json
. #7723Changed
v8.3.2
Compare Source
Fixed
disableVisualSelection
for cells/columns. #5082current
option of thedisableVisualSelection
setting. #5869header
option of thedisableVisualSelection
setting. #6025updateSettings
method in the body of some callbacks would break the table. #7231maxRows
andmaxCols
options interfered with hidden index calculations. #7350window
was a scrollable container. #7356AutoRowSize
plugin would break the table when placed in an iframe. #7424HOME
andEND
keys with hidden rows/columns enabled. #7454trimWhitespace
option not working properly. #7458colWidths
androwHeights
options. #7507cellTypes
module paths in theexports
entry of thepackage.json
file. #7597Added
handsontable
,@handsontable/angular
,@handsontable/react
, and@handsontable/vue
will all be developed in the same repo -handsontable
. #7380import
or re-exporting. #7473v8.3.1
Compare Source
Fixed
v8.3.0
Compare Source
Added
Introduced a new feature that allows postponing the table render and internal data cache update. The table rendering time can be reduced several-fold times by batching (using the
batch
method), multi-line API calls, or manually suspending rendering using thesuspendRender
andresumeRender
methods. #7274Introduced a possibility to import:
as separate modules, along with the Handsontable base. This change allows utilizing only the parts of Handsontable the end application is actually using, without the overhead of the full bundle. #7403
Added a new workflow for managing and generating changelogs. #7405
Fixed
skipRowOnPaste
option in the TypeScript definition file. #7394Changed
minSpareRows
,minSpareCols
,minRows
, andminCols
options). #7439v8.2.0
Compare Source
Added
LinkedPhysicalIndexToValueMap
#7276DOMPurify
, to add HTML sanitization what should minimize the risk of inserting insecure code using Handsontable built-in functionalities. #7292Fixed
htmlToGridSettings
helper if passed<table>
had no rows. #7311event.target
's parent in themouseover
event was not defined, the table threw an error when hovering over row/column headers. #6926hiddenColumns
-enabled Handsontable instance rendered the validated cells improperly. #7301text/html
mime-type. #7369v8.1.0
Compare Source
Added
Fixed
updateSettings
, while there werefixedColumnsLeft
defined. #5735window
object. #7260;updateSettings
. #6004Changed
v8.0.0
Compare Source
Added
modifySourceData
hook andsetSourceDataAtCell
method. #6664scrollViewportTo
method: optionalconsiderHiddenIndexes
which is aboolean
. #6547autofill
in thebeforeAutofill
hook. #4441afterAutoFill
hook. #6135instance.undoRedo
. #6346countRenderableColumns
method to theTableView
. #6177CustomBorders
typings. #6788beforeSetCellMeta
hook with an ability to cancel the changes. #5388Changed
manualRowMove
andmanualColumnMove
plugins work #5945CellMeta
manager was refactored for future features and improvements. #6233rowHeights
. #6149RMB
) click on the corner, column and row headers will show just some options, defined by newly created specification #7082afterRenderer
,modifyColWidth
,beforeStretchingColumnWidth
will be executable only on visible (meaning, rendered) rows and columns. #6547getColWidth
for hidden index will return 0 - it used to return 0.1 #6547modifyColWidth
hook isn't called internally. However, it will be executed when the user will call thegetColWidth
. #6547beforeValueRender
,beforeRenderer
,afterRenderer
,modifyColWidth
,beforeStretchingColumnWidth
etc. will be executed just for some of the columns (just the renderable ones). #6547ContextMenu
, now it is selecting a column on the right when there is space on right to the last selected column, selecting a column on the left otherwise. #6547NestedHeaders
plugin was rewritten, from now on, only a tree-like structure will be allowed, meaning, there will be no possibility to place nested headers in-between layers. #6716CustomBorders
plugin was adapted to work withHiddenColumns
properly, from now on hiding cells at the start or at the end of a range will also hide their borders. Also, hiding a single cell with borders will hide all of its borders. #7083CollapsibleColumns
will no longer useHiddenColumns
plugin to work. #6204render()
will not work properly anymore. From this point onward, all the data-related operations need to be performed using the API methods, such aspopulateFromArray
orsetDataAtCell
. #5945manualColumnFreeze
plugin doesn't use themanualColumnMove
, thecollapsibleColumns
plugin doesn't use thehiddenColumns
plugin,nestedRows
plugin doesn't use thetrimRows
plugin,filters
plugin doesn't use thetrimRows
plugin anymore. #5945 along with other adjustments #6547:minSpareRows
andminRows
options will ensure that the number of visible rows corresponds to the value provided to them (for example, thetrimRows
plugin won't have an impact on the number of displayed rows). #5945toPhysicalRow
andtoVisualColumn
now returnnull
for non-existant rows/columns. #5945afterLoadData
hook receives a different set of arguments. It used to be just the initialLoad flag, now the first argument issourceData
, followed byinitialLoad
. #5945manualColumnFreeze
plugin unfreezes the column just after the "line of freeze". #5945RecordTranslator
object and thet
property available in the plugins were removed. #5945afterLoadData
,afterFilter
, etc.) are now called just before therender
call. #5945nestedRows
plugin isenabled
, moving rows will be possible only using the UI or by calling thedragRows
method of themanualRowMove
plugin. #5945beforeRowResize
,afterRowResize
,beforeColumnResize
,afterColumnResize
hooks have the order of their arguments rearranged for the sake of consistency with other hooks. #3328collapsibleColumns
'toggleCollapsibleSection
method. #6193moment
,numbro
andpikaday
dependencies to their latest versions. #6610z-index
properties between the overlays. #6269Deprecated
HeaderTooltips
plugin becomes deprecated and will be removed in the next major version. #7023Removed
firstVisibleColumn
CSS class as no longer needed. #6547beforeChange
callback. #6792debug
key (key, css, docs). #6672hiddenRow
andhiddenColumn
hooks. #6547modifyDocumentFocus
from thelisten
function. #6547rowOffset
andcolOffset
public API methods since they aliased the methods from Walkontable. #6547GanttChart
plugin. #7022modifyRow
,modifyCol
,unmodifyRow
,unmodifyCol
andskipLengthCache
hooks are no longer needed and were removed. #5945Fixed
columnSorting
option enabled. #2685loadData
not resetting the row order changed by themanualRowMove
plugin. #3568alter
'sinsert_row
after using theloadData
method and sorting the data would add unintentional additional rows to the table. #3809loadData
along with theminSpareRows
option. #3937columnSummary
plugin not working properly after adding new rows using the Context Menu and sorting the data. #3924loadData
with an object-based data source would not work properly. #4204updateSettings
. #4121filters
plugin using incorrect indexes after moving and/or sorting the table. #44420
. #4470afterRowMove
hook receiving an impropertarget
argument. #4501manualColumnFreeze
plugin enablingmanualColumnMove
, even if it was declared asfalse
. #4553arrayMappers
not working properly after updating the dataset. #4567loadData
withminSpareRows
andmanualRowMove
enabled caused the table to improperly load the data. #4576columnSorting
caused themanualColumnFreeze
to be unusable. #4601persistentState
was enabled. #4713manualColumnMove
didn't work if the dataset was empty. #4926collapseAll
method from thecollapsibleColumns
plugin did not work properly ifcolumnSorting
was enabled. #4999loadData
withminSpareRows
enabled would cause unwanted blank rows to appear. #5707afterColumnMove
hook receiving an impropertarget
argument. #5173loadData
madeNaN
appear in the column headers. #5369skipColumnOnPaste
option not working properly when usingcolumnSorting
andhiddenColumns
. #5824trimRows
plugin did not work properly after moving rows. #5860minSpareRows
not working properly with thetrimRows
plugin being used. #5862nestedRows
plugin. #5889toVisualRow
method to return the wrong results. #5890filters
andtrimRows
plugins not working properly alongside each other. #5915manualColumnMove
would not work properly when the data object properties count would be lower than the table column count. #5931trimRows
plugin did not work properly with thestartRows
option. #5953loadData
after sorting would not work as expected. #5956beforeColumnMove
andafterColumnMove
hooks not containing information about their destination indexes. #6005filters
andminSpareRows
would make the table add an empty row at the beginning of the table. #6278manualRowMove
plugin would duplicate data in the moved rows, when used with a row index greater than the table row count. #6088toVisualRow
method returnednull
when using thetrimRows
andcolumnSorting
plugins together. #6310updateSettings
in theafterColumnMove
hook callback would have no effect. #4480loadData
would make thefilters
plugin to not behave as expected. #5244nestedRows
plugin would cause a+/-
button misalignment. #5900columnSummary
plugin creating a doubled summary row. #5794nestedRows
plugin would throw an error. #6066nestedRows
plugin would throw an error. #3914columnSorting
plugin. #6086updateSettings
. #4121hiddenColumns
andstretchH
showed a redundant horizontal scrollbar. #4181stretchH
was enabled, the last column was displayed. #4370updateSettings
performance was very low because ofhiddenColumns
being rendered. #4381nestedHeaders
plugin. #4716hiddenColumns
did not work properly withcolumnSorting
. #5571manualColumnMove
should work withhiddenColumns
. #5598hiddenColumns
option interfered with the keyboard movement. #5704collapsibleColumns
were set totrue
it was impossible to exit selection mode. #5875hiddenColumns
did not work properly withautoWrapRow/autoWrapCol
. #5877nestedHeaders
duplicated a header name if more columns are added. #5882hiddenColumns
plugin unset cell'srenderer
. #5883hiddenColumns
had stored visual indexes and should have used physical indexes. #5909columns
caused an issue with showing column once it was hidden. #6426colHeader
was truncated after movinghiddenColumn
. #6463columnSorting
totrue
(on initialization or viaupdateSettings
) made headers non-collapsible programmatically viacollapseAll
method. #4999customBorders
plugin was missing in the definition file. #6477wtHider
andwtHolder
in overlays. #3873updateSettings
could not updatetableClassName
. #6295minSpareCols
withundo
added too many columns. #6363readOnly
for column was erased (did not apply) if filters were used. #6559beforeRemoveCol
orbeforeRemoverow
. #6332readOnly
state for some cells was lost when rows withtrimRows
turned on were removed. #6990hiddenColumns
were used. #6978selectAll
when the first row was hidden. #6975nestedRows
blocked table from loading if data was not provided. #6928trimRows
andhiddenRows
with specific settings broke borders. #6904startPosition
. #6840Handsontable.plugins.ContextMenu
. #6347manualColumnMove
did not modify thecolumns
inupdateSettings
. #5200updateSettings
. #3770currentColClassName
did not work properly withnestedHeaders
. #5861stretchH
. #6186getSourceData
functions returned wrong data for nested rows. #5771nestedRows
. #4154getByRange
for sourceData did not work properly with nested object data. #6548window.frameElement
threw errors in MSEdge, IE and Safari. #6478DataSource.countColumns
returned invalid number of columns for nested objects. #3958mergedCells
with hidden cells caused problems with rendering. #7020ctrl + a
. #6355onMouseOut
event caused critical errors when hovering over vertical scrollbar. #6699NestedHeaders
did not allow to define header level as an empty array. #7035nestedHeaders
as a single empty array stoped the table from rendering. #7036hot.updateSettings
was called inafterSelection
. #3726exportToFile
in the specific case. #4176Configuration
📅 Schedule: "" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.