[Snyk] Upgrade grapesjs from 0.17.29 to 0.21.10 #83
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade grapesjs from 0.17.29 to 0.21.10.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 20 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-GRAPESJS-2342412
SNYK-JS-GRAPESJS-2935960
Release notes
Package name: grapesjs
Added
config.pageManager.selected
option #5463Fixed
Full Changelog: v0.21.9...v0.21.10
Docs
Added
multiUploadSuffix
config to AssetManager by @ merlinschumacher in #5672emptyValue
property to StyleManager stack type #5583onPaste
andonKeydown
options to RTE module #5682Changed
Fixed
StyleManagerConfig.sectors.properties
#5613New Contributors
Full Changelog: v0.21.8...v0.21.9
Added
/
in class names by @ mahmudz #5433nomodule
attribute forcanvas.scripts
optionsdelegate
property to Component. Example of usage #5507Changed
Component.replaceWith
(now returns always an array of components)Fixed
component:styleUpdate
oncomponent.addStyle/setStyle
#5424id
in HTML export #5441rte:disable
on component move #5545New Contributors
Full Changelog: v0.21.7...v0.21.8
Added
src/styles
back to the distributed package (will be removed with the next breaking change release) #5392Full Changelog: v0.21.6...v0.21.7
Added
dist/grapes.mjs
)@ container
CSS at-rule #5372Fixed
Full Changelog: v0.21.5...v0.21.6
Added
editor.Components.canMove
APIFixed
component.setClass
#5319component.badgable
isfalse
#5340Full Changelog: v0.21.4...v0.21.5
Added
config.canvas.allowExternalDrop
option #5242Fixed
null
#5229state
anddevice
for component related styles #5213Full Changelog: v0.21.3...v0.21.4
Docs
Added
addStyles
option toeditor.Css.setRule
#5173Changed
Fixed
usePlugin is not a function
#5167PropertyStack
in bundled dts file #5154defaults
as functions #5199Full Changelog: v0.21.2...v0.21.3
Docs
Added
disableTextInnerChilds
option to Components module configuration.With this option, you're able to decide which inner component inside text should be disabled (eg. no select, no hover, no layer visibility) once edited.
usePlugin
for a better TS support with pluginsComponent.forEachChild
method.Changed
Components.addType
component:styleUpdate
on component style changes #4897Fixed
addStyle(string, string)
#5105Removed
fonts
folderNew Contributors
Full Changelog: v0.21.1...v0.21.2
What's Changed
The biggest change we introduce with this release is the complete rewrite of modules to Typescript. This deprecates the old
./index.d.ts
(manually updated) in favor of./dist/index.d.ts
(generated from the source).So there are no real changes to the core API itself if not the new TS declaration file which includes type/interfaces changes in order to bring more naming consistency with the code.
This is how you might have used the import of types in the previous version:
// plugin
const plugin: grapesjs.Plugin = function (editor: grapesjs.Editor, opt: ...) {...};
Now you can get types directly without specifying the grapesjs namespace (which is the most common way to import types):
// plugin
const plugin: Plugin = function (editor: Editor, opt: ...) {...};
Added
noCustom
option toComponent.getName()
in order to skip custom name assigned to the component.rename
method to SelectorManagerfetchOptions
to AssetManager configsFixed
showOffsetsSelected
#4998args
by @ Zaxcoding in #4910