[Snyk] Upgrade grapesjs from 0.17.29 to 0.21.1 #5
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 has created this PR to upgrade grapesjs from 0.17.29 to 0.21.1.
ℹ️ 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 fixes:
SNYK-JS-GRAPESJS-2342412
Why? Has a fix available, CVSS 4.6
SNYK-JS-GRAPESJS-2935960
Why? Has a fix available, CVSS 4.6
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: grapesjs
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 #4910Other
New Contributors
Full Changelog: v0.20.4...v0.21.1
Read more
Fixed
Full Changelog: v0.20.2...v0.20.3
Read more
Read more
Docs
Added
Component.parents()
method.Changed
Fixed
Read more
Read more
Read more
Read more
Commit messages
Package name: grapesjs
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs