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

native-carousel

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-carousel - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "native-carousel",
"version": "1.0.5",
"version": "1.0.6",
"description": "Native JavaScript simple carousel",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -53,4 +53,4 @@ /*

const [prevBtn, nextBtn] = this.buttons;
prevBtn.addEventListener('click', incrementMoveTo(-1));
nextBtn.addEventListener('click', incrementMoveTo(+1));
if (prevBtn) prevBtn.addEventListener('click', incrementMoveTo(-1));
if (nextBtn) nextBtn.addEventListener('click', incrementMoveTo(+1));

@@ -64,3 +64,3 @@ // drag

clearInterval(this.animationInterval);
this.animationInterval = setInterval(() => this.currentSlide++, 2000);
this.animationInterval = setInterval(() => this.currentSlide++, this.animateDelay);
}

@@ -67,0 +67,0 @@

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