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

embla-carousel-svelte

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embla-carousel-svelte - npm Package Compare versions

Comparing version 7.0.9 to 7.1.0

4

components/index.d.ts
import { ActionReturn } from 'svelte/action';
import { EmblaOptionsType, EmblaPluginType } from 'embla-carousel';
declare type EmblaCarouselParameterType = {
type EmblaCarouselParameterType = {
options: EmblaOptionsType;
plugins: EmblaPluginType[];
};
export declare type EmblaCarouselSvelteType = ActionReturn<EmblaCarouselParameterType>;
export type EmblaCarouselSvelteType = ActionReturn<EmblaCarouselParameterType>;
declare function emblaCarouselSvelte(emblaNode: HTMLElement, emblaConfig?: EmblaCarouselParameterType): EmblaCarouselSvelteType;

@@ -9,0 +9,0 @@ declare namespace emblaCarouselSvelte {

@@ -37,7 +37,5 @@ 'use strict';

}
var areOptionsEqual = EmblaCarousel__default["default"].optionsHandler().areEqual;
var storedEmblaConfig = emblaConfig;
var embla;
if (canUseDOM()) {

@@ -52,3 +50,2 @@ EmblaCarousel__default["default"].globalOptions = emblaCarouselSvelte.globalOptions;

}
return {

@@ -63,3 +60,2 @@ destroy: function () {

storedEmblaConfig = newEmblaConfig;
if (embla) {

@@ -71,3 +67,2 @@ embla.reInit(storedEmblaConfig.options, storedEmblaConfig.plugins);

}
emblaCarouselSvelte.globalOptions = undefined;

@@ -74,0 +69,0 @@

@@ -31,7 +31,5 @@ import EmblaCarousel from 'embla-carousel';

}
var areOptionsEqual = EmblaCarousel.optionsHandler().areEqual;
var storedEmblaConfig = emblaConfig;
var embla;
if (canUseDOM()) {

@@ -46,3 +44,2 @@ EmblaCarousel.globalOptions = emblaCarouselSvelte.globalOptions;

}
return {

@@ -57,3 +54,2 @@ destroy: function () {

storedEmblaConfig = newEmblaConfig;
if (embla) {

@@ -65,3 +61,2 @@ embla.reInit(storedEmblaConfig.options, storedEmblaConfig.plugins);

}
emblaCarouselSvelte.globalOptions = undefined;

@@ -68,0 +63,0 @@

{
"name": "embla-carousel-svelte",
"version": "7.0.9",
"version": "7.1.0",
"author": "David Jerleke",

@@ -59,3 +59,3 @@ "description": "A lightweight carousel library with fluid motion and great swipe precision",

"dependencies": {
"embla-carousel": "7.0.9"
"embla-carousel": "7.1.0"
},

@@ -62,0 +62,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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