[Snyk] Upgrade photoswipe from 4.1.3 to 5.4.4 #10
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 photoswipe from 4.1.3 to 5.4.4.
ℹ️ 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 27 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BOOTSTRAP-7444580
SNYK-JS-BOOTSTRAP-7444593
SNYK-JS-BOOTSTRAP-7444617
Release notes
Package name: photoswipe
Full Changelog: v5.4.2...v5.4.4
dataSource
param is now optional forPhotoSwipeLightbox.loadAndOpen
method, the first gallery is chosen if it's not provided.trapFocus
option (by default PhotoSwipe traps tab focus within the dialog, this option allows disabling the functionality) https://photoswipe.com/options/#trapfocuspreventPointerEvent
filter (by default PhotoSwipe callse.preventDefault()
during pointer-move events, this filter allows you to disable it over certain elements) https://photoswipe.com/filters/#preventpointereventFix: lower version browsers do not support nullish-coalescing syntax 28baa3d
What's Changed
New Contributors
Full Changelog: v5.3.8...v5.3.9
navigator.onLine
check so the gallery can be used while offline<picture>
example by @ solemone in #2031Full Changelog: v5.3.7...v5.3.8
New Contributors
Full Changelog: v5.3.6...v5.3.7
src
) rather thansrcset
. This problem was caused by the prev release (5.3.5).classList.toggle
where possible by @ hirasso in #2008Full Changelog: v5.3.5...v5.3.6
Accessibility improvements (via @ in0ni).
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: