Skip to content

Conversation

nerdy-tech-com-gitub
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade swiper from 11.1.4 to 12.0.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 is 23 versions ahead of your current version.

  • The recommended version was released a month ago.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
45 Proof of Concept
medium severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
45 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
45 No Known Exploit
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
45 Proof of Concept
Release notes
Package name: swiper
  • 12.0.1 - 2025-09-11

    Bug Fixes

    • navigation: tweak nav styles when adjacent (98440d9)
  • 12.0.0 - 2025-09-11

    Bug Fixes

    • core: fixes issues when slidesOffsetBefore & slidesOffsetAfter are combinated with centeredSlides, slidesPerView & loop (#8038) (74cc297), closes #7298 #7956 #6916
    • effect-cards: fix offset in vertical direction when rotate is unset (a248ca1), closes #8075
    • get-device: regexp tweak (60bb79b), closes #8057
    • types: correct types for getSlideTransformEl (b34bdce), closes #8054

    Features

    • a11y: add wrapperLiveRegion param to disable wrapper live region in a11y module (#8061) (d03044e)
    • move to SVG icons for navigation (264603c), closes #6652 #4990
    • remove LESS and SCSS styles in favor of CSS (118ec66)
    • virtual: add slidesPerViewAutoSlideSize parameter for fixed slide dimensions with slidesPerView auto (d472144), closes #8041 #7796
  • 11.2.10 - 2025-06-28

    Bug Fixes

    • core: fix clickedIndex with grid (863d8bd)
  • 11.2.9 - 2025-06-27

    Bug Fixes

    • core: clear blank slides within loopCreate() (#8033) (377d53c)
    • core: escape brackets when transforming classes to selector (#8014) (0c53ee8)
    • core: slideTo function does not work when grid.rows > 1 (#8030) (1fde9d3)
    • core: using loop and slideToClickedSlide / slideToLoop with centeredSlides (b6692e2), closes #8031
    • element: don't set subprops on boolean values (090caa1), closes #8003
    • keyboard: detect contenteditable element in keyboard module (#8006) (fcd434a)
    • vue: add missing event (839cafb), closes #8002
  • 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
  • 11.2.1 - 2025-01-10
  • 11.2.0 - 2025-01-02
  • 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

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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:

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

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
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