🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

swiper

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiper - npm Package Compare versions

Comparing version

to
11.1.9

4

package.json
{
"name": "swiper",
"version": "11.1.8",
"version": "11.1.9",
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",

@@ -211,3 +211,3 @@ "typings": "swiper.d.ts",

},
"releaseDate": "July 26, 2024"
"releaseDate": "July 31, 2024"
}

@@ -1,4 +0,4 @@

import { Swiper, SwiperOptions } from './types/index.d.ts';
import type { Swiper, SwiperOptions } from './types/index.d.ts';
declare const createShadow: (suffix?: string, slideEl: HTMLElement, side?: string) => HTMLElement;
declare const createShadow: (suffix: string, slideEl: HTMLElement, side?: string) => HTMLElement;

@@ -5,0 +5,0 @@ declare const effectInit: (params: {

@@ -42,2 +42,23 @@ // @ts-ignore

keypress: CustomEvent<[swiper: Swiper, keyCode: string]>;/**
* Event will be fired on mousewheel scroll
*/
scroll: CustomEvent<[swiper: Swiper, event: WheelEvent]>;/**
* Event will be fired after pagination rendered
*/
paginationrender: CustomEvent<[swiper: Swiper, paginationEl: HTMLElement]>;
/**
* Event will be fired when pagination updated
*/
paginationupdate: CustomEvent<[swiper: Swiper, paginationEl: HTMLElement]>;
/**
* Event will be fired on pagination hide
*/
paginationhide: CustomEvent<[swiper: Swiper]>;
/**
* Event will be fired on pagination show
*/
paginationshow: CustomEvent<[swiper: Swiper]>;/**
* Event will be fired on navigation hide

@@ -71,23 +92,2 @@ */

scrollbardragend: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>;/**
* Event will be fired on mousewheel scroll
*/
scroll: CustomEvent<[swiper: Swiper, event: WheelEvent]>;/**
* Event will be fired after pagination rendered
*/
paginationrender: CustomEvent<[swiper: Swiper, paginationEl: HTMLElement]>;
/**
* Event will be fired when pagination updated
*/
paginationupdate: CustomEvent<[swiper: Swiper, paginationEl: HTMLElement]>;
/**
* Event will be fired on pagination hide
*/
paginationhide: CustomEvent<[swiper: Swiper]>;
/**
* Event will be fired on pagination show
*/
paginationshow: CustomEvent<[swiper: Swiper]>;/**
* Event will be fired on zoom change

@@ -94,0 +94,0 @@ */

@@ -72,2 +72,23 @@ import * as React from 'react';

onKeyPress?: (swiper: SwiperClass, keyCode: string) => void;/**
* Event will be fired on mousewheel scroll
*/
onScroll?: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired after pagination rendered
*/
onPaginationRender?: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired when pagination updated
*/
onPaginationUpdate?: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired on pagination hide
*/
onPaginationHide?: (swiper: SwiperClass) => void;
/**
* Event will be fired on pagination show
*/
onPaginationShow?: (swiper: SwiperClass) => void;/**
* Event will be fired on navigation hide

@@ -101,23 +122,2 @@ */

onScrollbarDragEnd?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/**
* Event will be fired on mousewheel scroll
*/
onScroll?: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired after pagination rendered
*/
onPaginationRender?: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired when pagination updated
*/
onPaginationUpdate?: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired on pagination hide
*/
onPaginationHide?: (swiper: SwiperClass) => void;
/**
* Event will be fired on pagination show
*/
onPaginationShow?: (swiper: SwiperClass) => void;/**
* Event will be fired on zoom change

@@ -124,0 +124,0 @@ */

@@ -479,2 +479,23 @@ import type {

keyPress: (swiper: SwiperClass, keyCode: string) => void;/**
* Event will be fired on mousewheel scroll
*/
scroll: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired after pagination rendered
*/
paginationRender: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired when pagination updated
*/
paginationUpdate: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired on pagination hide
*/
paginationHide: (swiper: SwiperClass) => void;
/**
* Event will be fired on pagination show
*/
paginationShow: (swiper: SwiperClass) => void;/**
* Event will be fired on navigation hide

@@ -508,23 +529,2 @@ */

scrollbarDragEnd: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/**
* Event will be fired on mousewheel scroll
*/
scroll: (swiper: SwiperClass, event: WheelEvent) => void;/**
* Event will be fired after pagination rendered
*/
paginationRender: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired when pagination updated
*/
paginationUpdate: (swiper: SwiperClass, paginationEl: HTMLElement) => void;
/**
* Event will be fired on pagination hide
*/
paginationHide: (swiper: SwiperClass) => void;
/**
* Event will be fired on pagination show
*/
paginationShow: (swiper: SwiperClass) => void;/**
* Event will be fired on zoom change

@@ -531,0 +531,0 @@ */

@@ -389,2 +389,12 @@ import type { SwiperOptions } from './swiper-options.d.ts';

/**
* Get current minimal translate value
*/
minTranslate(): number;
/**
* Get current maximal translate value
*/
maxTranslate(): number;
/**
* Unset grab cursor

@@ -391,0 +401,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet