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

embla-carousel

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embla-carousel - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

13

lib/index.js

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

root["EmblaCarousel"] = factory();
})(window, function() {
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap

@@ -1094,7 +1094,6 @@ /******/ // The module cache

state.isMouse = !!evt.type.match(/mouse/);
state.isDown = true;
pointer.down(evt);
dragStartLocation.set(target);
target.set(location);
mover.useDefaultMass();
state.isDown = true;
mover.useSpeed(80).useDefaultMass();

@@ -1135,5 +1134,3 @@ animation.start();

var travel = params.travel;
var boostedForce = pointer.up() * pointerForceBoost();
var force = allowedForce(boostedForce);
var speed = movementSpeed();
var force = pointer.up() * pointerForceBoost();
var diffToTarget = target.get() - dragStartLocation.get();

@@ -1146,5 +1143,5 @@ var isMoving = Math.abs(diffToTarget) >= 0.5;

interactionEvents.removeAll();
mover.useSpeed(speed);
mover.useSpeed(movementSpeed());
travel.toDistance(allowedForce(force));
events.dispatch('dragEnd');
travel.toDistance(force);
}

@@ -1151,0 +1148,0 @@

{
"name": "embla-carousel",
"version": "2.0.2",
"version": "2.0.3",
"author": "David Cetinkaya",

@@ -5,0 +5,0 @@ "private": false,

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