New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue3-carousel

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-carousel - npm Package Compare versions

Comparing version 0.1.31 to 0.1.32

6

dist/carousel.es.js
/**
* Vue 3 Carousel 0.1.31
* Vue 3 Carousel 0.1.32
* (c) 2021

@@ -288,3 +288,5 @@ * @license MIT

if (shouldShiftSlides) {
const buffer = Math.round((slidesCount.value - config.itemsToShow) / 2);
const buffer = config.itemsToShow !== 1
? Math.round((slidesCount.value - config.itemsToShow) / 2)
: 0;
let shifts = buffer - currentSlideIndex.value;

@@ -291,0 +293,0 @@ if (config.snapAlign === 'end') {

/**
* Vue 3 Carousel 0.1.31
* Vue 3 Carousel 0.1.32
* (c) 2021

@@ -10,3 +10,3 @@ * @license MIT

(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VueCarousel = {}, global.Vue));
}(this, (function (exports, vue) { 'use strict';
})(this, (function (exports, vue) { 'use strict';

@@ -293,3 +293,5 @@ const defaultConfigs = {

if (shouldShiftSlides) {
const buffer = Math.round((slidesCount.value - config.itemsToShow) / 2);
const buffer = config.itemsToShow !== 1
? Math.round((slidesCount.value - config.itemsToShow) / 2)
: 0;
let shifts = buffer - currentSlideIndex.value;

@@ -663,2 +665,2 @@ if (config.snapAlign === 'end') {

})));
}));
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}> & ({} | {}), {}>;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
export default _default;
{
"name": "vue3-carousel",
"version": "0.1.31",
"version": "0.1.32",
"scripts": {

@@ -5,0 +5,0 @@ "build": "rollup -c",

Sorry, the diff of this file is not supported yet

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