[Snyk] Upgrade preact-render-to-string from 5.0.2 to 5.2.6 #2
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.
Snyk has created this PR to upgrade preact-render-to-string from 5.0.2 to 5.2.6.
ℹ️ 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 34 versions ahead of your current version.
The recommended version was released on 2 years ago.
Release notes
Package name: preact-render-to-string
Patch Changes
8b944b2
Thanks @ marvinhagemeister! - Fixpreact/debug
incorrectly throwing errors on text childrenPatch Changes
ad35c4c
Thanks @ developit and @ marvinhagemeister! - Fix object and function children being rendered asundefined
aa12b3c
Thanks @ marvinhagemeister! - Fix vnode masks not matching with core due to top level component FragmentsPatch Changes
#235
2f6d6e8
Thanks @ marvinhagemeister! - Remove duplicate type path inpackage.json
. Only one oftypes
ortypings
is needed.98cce12
Thanks @ JoviDeCroock! - Addtypes
entry topackage.json
.e4fe799
Thanks @ developit! - Improve string encoding performance by ~50%d83def7
Thanks @ JoviDeCroock! - Split up hot paths and make separate path for opts.pretty for performancePatch Changes
645f3cb
Thanks @ rschristian! - EnsuresdefaultChecked
is serialized aschecked
attribute31ac323
Thanks @ JoviDeCroock! - Optimize perf by using smarter string builder5.1.21
Patch Changes
a8672db
Thanks @ AleksandrHovhannisyan! - Don't add selected attribute to elements if they already contain that attributePatch Changes
#209
298d05e
Thanks @ rschristian! - On empty className w/ compat, class attribute will no longer be duplicated#203 Thanks @ developit! - Fix serialize defaultValue as value attribute
This release contains a few minor performance improvements.
encodeEntities
fast path for inputs that don't need anything replaced (#194, thanks @ jviide)Fragments
and improveencodeEntities
performance on Intel CPUs (#192, thanks @ developit)Maintenance
Whilst the memoization in #184 does improve runtime scores it has no limit on how much it caches. This could lead to a memory leak for content heavy sites. Let this be a lesson for myself to always put limits on all the things!
Bug Fixes
Important
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: