Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swiper

Package Overview
Dependencies
Maintainers
1
Versions
333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiper - npm Package Versions

1
34

9.2.0

Diff

Changelog

Source

9.2.0 (2023-03-31)

Bug Fixes

  • controller: add null type (3177936), closes #6505
  • controller: prevent controlled swipers from being called when destroyed (#6501) (a266b78), closes #6491
  • mousewheel: Initialize lastClickTime to very old time (#6497) (0983ded), closes #6496
  • pagination: fix pagination.d.ts render functions return types (#6499) (34973a1)
  • zoom: fix zoom out on double tap on sensitive touch screens (7f5c626)
  • zoom: reset transform origin on zoom out (7f7f57e)

Features

  • core: lazyPreloadPrevNext option to preload prev/next images (#6544) (1cb3233)
  • lazyPreloadPrevNext option to preload prev/next images (6d08635)
  • zoom: highly improve pinch-zoom gestures handling (6016a50)
nolimits4web
published 9.1.1 •

Changelog

Source

9.1.1 (2023-03-16)

Bug Fixes

  • core: fixed loop when using custom slideActiveClass (#6495) (756ecdb)
  • element: reset initialized flag on disconnectedCallback (#6474) (1e4a235)
  • loop: fix loopFix for controlled swipers (d7c0ef7), closes #6491
  • loop: fix slides closure when removing last slide (1a02271), closes #6477
  • pagination: correctly support multiple bullets paginations (e24bd8c), closes #6462
  • pagination: escape + char in pagination classes (d0beb9f), closes #6486
  • pagination: support bulle multiple classes (20b05fa), closes #6447
  • react: fix virtual loop when not enough slides (57d8eea), closes #6487

Features

  • element: add eventsPrefix prop to avoid collision with native events (d5df91f), closes #6450
  • pagination: add border-radius variable (#6476) (c912590)
nolimits4web
published 9.1.0 •

Changelog

Source

9.1.0 (2023-02-28)

Bug Fixes

  • autoplay: fix a crash with resize when the autoplay has gone away during timeout (#6431) (adb40f4)
  • core: correctly calc slide's DOM indexes, actual for Element (18b1f2b)
  • core: fix loop when slidesPerGroup is not even to number of slides (f998115), closes #6412
  • core: prevent observer trigger because of grab cursor (9597442), closes #6423
  • core: proceed iOS's pointercancel as pointerup (50b65f6), closes #6414 #6382
  • effect-creative: fix origin (7883408), closes #6439
  • element: fix ignored on event handlers (898f76c), closes #6399
  • pagination: double check if bullet exists (a335a41), closes #6422
  • pagination: fix clickable pagination with slidesPerView > 1 and loop (cf8cdf5), closes #6415
  • virtual: fix escaped HTML in virtual slides content (a61638a), closes #6404
  • zoom: fix zoom stick on pointer out (6700980), closes #6396

Features

  • element: new global window.SwiperElementRegisterParams method to register acceptable element props (fb63358)
nolimits4web
published 9.0.5 •

Changelog

Source

9.0.5 (2023-02-13)

Bug Fixes

nolimits4web
published 9.0.4 •

Changelog

Source

9.0.4 (2023-02-10)

Bug Fixes

  • autoplay: fixing autoplay undefined error (#6366) (f2a0572)
  • pagination: fix pagination bullets children clicks (8bcff39), closes #6361
  • virtual: grab DOM slides only from wrapper children (d59183d)
  • zoom: fix gesture scale origin (c89b2dd), closes #6371
nolimits4web
published 9.0.3 •

Changelog

Source

9.0.3 (2023-02-06)

Bug Fixes

  • core: don't proceed lazy if swiper destroyed (4ea0102), closes #6322
  • core: fix loop handling with virtual (69462d2), closes #6343
  • element: fix converting boolean/string params to module object (192e0d4), closes #6328
  • navigation: allow multiple classes in navigation options (#6345) (ca49b9f), closes #6344
  • thumbs: ensure there is a slide to add a class (c6294ad), closes #6335

Features

nolimits4web
published 9.0.2 •

Changelog

Source

9.0.2 (2023-02-03)

Bug Fixes

  • core: fixed loop behavior in free mode with mousewheel (336d908), closes #6323
  • types: spaceBetween can also be a string (446fb06), closes #6286
  • vue: declaration for autoplayTimeLeft event (8467397), closes #6333
nolimits4web
published 9.0.1 •

Changelog

Source

9.0.1 (2023-02-02)

Bug Fixes

  • core: fix class removal in setBreakpoints (6cb79cf), closes #6319
  • virtual: fix undefined document (9cee290), closes #6318
nolimits4web
published 9.0.0 •

Changelog

Source

9.0.0 (2023-02-01)

Core
  • new oneWayMovement parameter
  • removed Dom7 dependency
  • all new Loop mode without slides duplication
  • removed images loading functionality: preloadImages, updateOnImagesReady parameters
Frameworks
  • all new Swiper Element (WebComponent)
  • removed Swiper Solid components (in favor of Swiper WebComponent)
  • removed Swiper Angular components (in favor of Swiper WebComponent)
  • removed Swiper Svelte components (in favor of Swiper WebComponent)
Autoplay
  • all new autoplay module
Controller
  • now controller.control parameter also accepts HTMLElement or CSS string with the selector of swiper to control
Lazy
  • Lazy module has been moved to core and simplified in favor of native loading="lazy"
Navigation
  • more CSS variables to control appearance and position
Parallax
  • support parallax rotate
Thumbs
  • now thumbs.swiper parameter also accepts HTMLElement or CSS string with the selector of thumbs swiper
Virtual Slides
  • added support for loop mode
  • improved performance
  • will work now with slides initially rendered in DOM
Zoom
  • swiper.zoom.in(ratio) method now accepts custom zoom ratio

Features

  • add wrapperClass to swiper-wrapper in React & Vue components (7aaa0d1), closes #6254 #5942
  • core: add loopPreventsSliding parameter (6533890)
  • core: new oneWayMovement parameter (ce2ea7f)
  • navigation: more CSS variables to control appearance and position (6db9439)
  • pagination: more CSS variables to control appearance and position (c8b1228)
  • scrollbar: more CSS variables to control appearance (cfad536)
  • add element core version (de6c7f7)
  • export element css styles (51334a3)
  • injectStyles and injectStylesUrls params (71b10b2)
  • parallax: support parallax rotate (4949163), closes #6126
  • zoom: in method now accepts custom zoom ratio (d88df61), closes #5527
  • core: add loopedSlides parameter (1b076d9)
  • element: add option to avoid styles injecting (2291ec8)
  • thumbs: init thumbs on their appearance in DOM (a6b4cf7)
  • element: add standalone styles (284b130)
  • controller: support updated loop (6059e48)
  • controller: support updated loop (03d9895)
  • controller: support updated loop (e73b577)
  • core: "fix" loop based on touch move direction (5ab7217)
  • element: add CSS styles for modules for Swiper Element (6c36c80)
  • core: add --swiper-wrapper-transition-timing-function CSS var (797bcda)
  • navigation: more CSS vars (f41abe6)
  • paginatrion: more CSS vars (6f63fe2)
  • scrollbar: more CSS vars (875b35a)
  • virtual: renderSlide to support slide outer HTML and HTML element (fdcd644)
  • core: support for "swiper-slide-transform" element for better effects compatability with CSS mode (18b3e3f)
  • core: remove Dom7 (44de97b)
  • core: remove Dom7 (7cdcebf)
  • core: don't prevent slidePrev/Next when animating in loop mode (b358737)
  • autoplay: correct support for virtual slides delay + fix for stopping autoplay on click (43bf429)
  • element: support for comples parameters via attrs in a form of autoplay-delay (8161c57)
  • virtual: support for DOM virtual slides (59da65c)
  • virtual: support loop mode with virtual slides (f890f1e)
  • autoplay: all new Autoplay module (1b4ac21)
  • core: remove unused slide*DuplicateClass parameters (8007e1a)
  • core: all new loop mode without slides duplication (f57aa3b)
  • remove postinstall script (12255cf)
  • core, zoom: rework touch handling logic to PointerEvents only (ede6b6d)
  • core: make threshold parameter default to 5 (dfce8a3)
  • lazy: simplify Lazy module in favor of native loading="lazy" (d46d5d0)
  • move new Lazy module to the Core (d51e1ce)
  • react: add boolean lazy prop to SwiperSlide to render lazy prelaoder (f5d137f)
  • remove Images loading functionality: preloadImages, updateOnImagesReady (4d02653)
  • vue: add boolean lazy prop to SwiperSlide to render lazy prelaoder (e36b580)
  • add new Swiper Custom Element (47f9518)
  • remove Angular and SolidJS components (1329c10)
  • remove Swiper Svelte components (52433ac)

Bug Fixes

  • effect-cube: fix for iOS 16.2 fixed perspective (2f5ed48), closes #6293
  • history: fix handling popstate on init (483534f)
  • core: make isBeginning and isEnd true when translate is less than 1px diff (b2313d5), closes #6287
  • react: fix React 18 compat types (4c916d4), closes #5799
  • virtual: fix Virtual with CSS Mode when initialSlide > 0 (5ddf1d8)
nolimits4web
published 9.0.0-beta.42 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc