Socket
Socket
Sign inDemoInstall

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

Comparing version 3.4.0 to 3.4.1

2

bower.json

@@ -8,3 +8,3 @@ {

"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"version": "3.4.0",
"version": "3.4.1",
"author": "Vladimir Kharlampidi",

@@ -11,0 +11,0 @@ "homepage": "http://www.idangero.us/swiper/",

# Change Log
## Swiper 3.4.1 - Released on December 13, 2016
* Fixed Zoom for RTL
* Improved slideToClickedSlide behavior when loop is enabled
* Minor fixes
## Swiper 3.4.0 - Released on October 16, 2016

@@ -38,2 +43,3 @@ * **Custom build** available. Now you can create custom swiper build using the folowing modules: effects, lazy-load, scrollbar, controller, hashnav, history, keyboard, mousewheel, parallax, zoom, a11y. Using cli `gulp custom -zoom,effects,lazy-loading`

* Multirow (slidesPerColumn) support for vertical direction, which is in this case becomes multicolumn
* `paginationBulletRender` now accepts `swiper` instance as a first argument, `paginationBulletRender(index, className)` -> `paginationBulletRender(swiper, index, className)`
* New "swiper-slide-duplicate-active", "swiper-slide-duplicate-next", "swiper-slide-duplicate-prev" classes that will be added in loop mode to the slides representing duplicated looped slides

@@ -40,0 +46,0 @@ * All css classes are now configurable via new parameters: lazyLoadingClass, notificationClass, containerModifierClass, paginationClickableClass, paginationModifierClass, lazyStatusLoadingClass, lazyStatusLoadedClass, lazyPreloaderClass, notificationClass, preloaderClass, zoomContainerClass, slideDuplicateActiveClass, slideDuplicateNextClass, slideDuplicatePrevClass

@@ -122,3 +122,3 @@ (function(){

Framework7Files : [
'src/js/swiper-intro-swiper.js',
'src/js/swiper-intro-f7.js',
'src/js/core.js',

@@ -187,3 +187,3 @@ 'src/js/effects.js',

}
if (filename === 'swiper-intro.js' || filename === 'swiper-intro-swiper.js' || filename === 'swiper-outro.js' || filename === 'dom.js' || filename === 'get-dom-lib.js' || filename === 'get-jquery.js' || filename === 'dom-plugins.js' || filename === 'swiper-proto.js') addIndent = ' ';
if (filename === 'swiper-intro.js' || filename === 'swiper-intro-f7.js' || filename === 'swiper-outro.js' || filename === 'dom.js' || filename === 'get-dom-lib.js' || filename === 'get-jquery.js' || filename === 'dom-plugins.js' || filename === 'swiper-proto.js') addIndent = ' ';
if (minusIndent) {

@@ -190,0 +190,0 @@ addIndent = addIndent.substring(4);

@@ -1,2 +0,2 @@

var version = '3.4.0';
var version = '3.4.1';

@@ -3,0 +3,0 @@ Package.describe({

{
"name": "swiper",
"version": "3.4.0",
"version": "3.4.1",
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"main": "dist/js/swiper.js",
"style": "dist/css/swiper.css",
"files": ["dist", "src", "*.json", "*.js"],
"files": [
"dist",
"src",
"*.json",
"*.js"
],
"repository": {

@@ -12,3 +17,16 @@ "type": "git",

},
"keywords": ["swiper", "swipe", "slider", "touch", "ios", "mobile", "cordova", "phonegap", "app", "framework", "carousel", "gallery"],
"keywords": [
"swiper",
"swipe",
"slider",
"touch",
"ios",
"mobile",
"cordova",
"phonegap",
"app",
"framework",
"carousel",
"gallery"
],
"author": "Vladimir Kharlampidi",

@@ -21,19 +39,19 @@ "license": "MIT",

"engines": {
"node": ">= 0.10.0"
"node": ">= 6.7.0"
},
"devDependencies": {
"jshint": "~2.9.3",
"gulp": "~3.9.1",
"gulp-less": "~3.1.0",
"gulp-connect": "~5.0.0",
"gulp-open": "~2.0.0",
"gulp-uglify": "~2.0.0",
"gulp-sourcemaps": "~2.1.1",
"gulp-clean-css": "2.0.13",
"gulp-jshint": "~2.0.1",
"gulp-concat": "~2.6.0",
"gulp-rename": "~1.2.2",
"gulp-header": "~1.8.8",
"gulp-tap": "~0.1.3",
"jshint-stylish": "~2.2.1"
"gulp": "^3.9.1",
"gulp-clean-css": "^2.2.2",
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.0.0",
"gulp-header": "^1.8.8",
"gulp-jshint": "^2.0.4",
"gulp-less": "^3.3.0",
"gulp-open": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^2.2.1",
"gulp-tap": "^0.1.3",
"gulp-uglify": "^2.0.0",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1"
},

@@ -43,2 +61,2 @@ "scripts": {

}
}
}

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

[![Join the chat at https://gitter.im/nolimits4web/Swiper](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nolimits4web/Swiper)
[![Build Status](https://travis-ci.org/nolimits4web/Swiper.svg?branch=master)](https://travis-ci.org/nolimits4web/Swiper)
[![devDependency Status](https://david-dm.org/nolimits4web/swiper/dev-status.svg)](https://david-dm.org/nolimits4web/swiper#info=devDependencies)
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=nolimits4web&url=https://github.com/nolimits4web/swiper/&title=Framework7&language=JavaScript&tags=github&category=software)

@@ -5,0 +5,0 @@ Swiper

@@ -6,6 +6,6 @@ /*==================================================

isSafari: (function () {
var ua = navigator.userAgent.toLowerCase();
var ua = window.navigator.userAgent.toLowerCase();
return (ua.indexOf('safari') >= 0 && ua.indexOf('chrome') < 0 && ua.indexOf('android') < 0);
})(),
isUiWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),
isUiWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),
isArray: function (arr) {

@@ -33,7 +33,7 @@ return Object.prototype.toString.apply(arr) === '[object Array]';

device: (function () {
var ua = navigator.userAgent;
var ua = window.navigator.userAgent;
var android = ua.match(/(Android);?[\s\/]+([\d.]+)?/);
var ipad = ua.match(/(iPad).*OS\s([\d_]+)/);
var ipod = ua.match(/(iPod)(.*OS\s([\d_]+))?/);
var iphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/);
var iphone = !ipad && ua.match(/(iPhone\sOS|iOS)\s([\d_]+)/);
return {

@@ -40,0 +40,0 @@ ios: ipad || iphone || ipod,

@@ -133,2 +133,4 @@ /*=========================

z.gesture.imageWrap.transition(0);
if (s.rtl) z.image.startX = -z.image.startX;
if (s.rtl) z.image.startY = -z.image.startY;
}

@@ -135,0 +137,0 @@ // Define if we need image drag

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 too big to display

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 too big to display

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

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