Skip to content

[Snyk] Upgrade swiper from 11.1.4 to 11.2.8 #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Jun 21, 2025

snyk-top-banner

Snyk has created this PR to upgrade swiper from 11.1.4 to 11.2.8.

ℹ️ 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 19 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
169 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
169 No Known Exploit
Release notes
Package name: swiper
  • 11.2.8 - 2025-05-23

    Bug Fixes

    • virtual: fix error in Virtual slides (7a53208), closes #7997
  • 11.2.7 - 2025-05-19

    Bug Fixes

    • core: fix for slideResetTransition events (#7989) (473ec25)
    • core: set innerHTML using trusted type (8a46954), closes #7961
    • react,vue: fix not rendered slides in effects when Virtual is enabled (e4e1680), closes #7730
    • types: add enabled property on swiper-class.d.ts (#7973) (ccd96dc)
    • types: coverflow effect can be number or string with percentage (#7931) (4d988d8)
    • types: fix effect param type (#7945) (42eec07)
    • vue: added missing props (#7966) (6aa8d05)
  • 11.2.6 - 2025-03-19

    Bug Fixes

    • cards/loop: improve loop behavior with cards effect (9a258d4), closes #7917
    • core: fix initialSlide in loop mode when it there are not enough slides to fill (16818e2), closes #7780
    • core: fix touchReleaseOnEdges in RTL (d841428), closes #7179
  • 11.2.5 - 2025-03-04

    Bug Fixes

    • docs: correct structure of pagination render functions (b259723), closes #7897 #7896
    • thumbs: correct reinit thumbs (1cf24d4), closes #7880
    • zoom: fix transform origin of zoom.in() function (#7904) (f7febe1)

    Features

    • check if slidesEl is defined in loopDestroy (#7906) (ced30cb)
  • 11.2.4 - 2025-02-14

    Bug Fixes

  • 11.2.3 - 2025-02-12

    Bug Fixes

    • element: remove infinite preloader in loop (#7886) (c0d3ece)

    Features

    • core: export swiper-vars.scss for overwriteability (#7883) (0b688a1), closes #7882
    • update ssr-window to latest (c521888)
  • 11.2.2 - 2025-01-31

    Bug Fixes

    • cards: fix slides swap issue in loop mode (e012e34), closes #7823
    • core: fix slidePrev issue in free-mode (a3fee36), closes #7869
    • virtual: fix when Element not swiping in Safari (5abdbfd), closes #7679
  • 11.2.1 - 2025-01-10
  • 11.2.0 - 2025-01-02

    Bug Fixes

    • core: Fixed elementIsChildOf returning false for nested web components (#7762) (8136607), closes #7761
    • zoom: Ensure the zoom module's array is cleared onTouchEnd to fix #7304 (#7830) (21610bd)

    Features

    • core: Allow using a CSS selector as breakpointsBase (#7818) (44d3443)
    • zoom: Add ability to pan around an image on mouse move (#7831) (c4619bb), closes #7306
  • 11.1.15 - 2024-11-18
  • 11.1.14 - 2024-09-12
  • 11.1.12 - 2024-09-01
  • 11.1.11 - 2024-08-28
  • 11.1.10 - 2024-08-21
  • 11.1.9 - 2024-07-31
  • 11.1.8 - 2024-07-26
  • 11.1.7 - 2024-07-24
  • 11.1.6 - 2024-07-23
  • 11.1.5 - 2024-07-15
  • 11.1.4 - 2024-05-30
from swiper GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Summary by Sourcery

Upgrade the swiper package to version 11.2.8 to apply upstream bug fixes and resolve reported security vulnerabilities.

Bug Fixes:

  • Address high-severity ReDoS vulnerabilities and medium-severity input validation issues in transitive dependencies by upgrading swiper.
  • Include multiple upstream bug fixes from swiper 11.2.0 through 11.2.8, such as virtual slide errors and core event handling corrections.

Chores:

  • Bump swiper dependency from 11.1.4 to 11.2.8 in package.json

Snyk has created this PR to upgrade swiper from 11.1.4 to 11.2.8.

See this package in npm:
swiper

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/128fa64f-2492-4d35-adcb-b5c6f29c1150?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Jun 21, 2025

Reviewer's Guide

This PR upgrades the swiper dependency in package.json from version 11.1.4 to 11.2.8 to address reported security vulnerabilities and pull in recent bug fixes.

File-Level Changes

Change Details Files
Upgrade swiper dependency to v11.2.8
  • Bump swiper version constraint in package.json from ^11.1.1 to ^11.2.8
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants