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

stimulus-carousel

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stimulus-carousel - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

dist/stimulus-carousel.mjs

13

CHANGELOG.md

@@ -9,2 +9,15 @@ # Changelog

## [5.0.0] - 2022-12-23
### Added
- Adding `name` in library export to use the package with CDN, Sprockets and `import-maps`.
### Chore
- **Breaking** Upgrading Swiper to `8.x`.
- Upgrading Vite to `4.x`.
- Updating example UI.
- Upgrading Node to `18`.
## [4.0.0] - 2021-12-27

@@ -11,0 +24,0 @@

2

dist/stimulus-carousel.umd.js

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

var f=Object.defineProperty;var o=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var r=(t,e,i)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,u=(t,e)=>{for(var i in e||(e={}))l.call(e,i)&&r(t,i,e[i]);if(o)for(var i of o(e))p.call(e,i)&&r(t,i,e[i]);return t};(function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e(require("@hotwired/stimulus"),require("swiper/bundle")):typeof define=="function"&&define.amd?define(["@hotwired/stimulus","swiper/bundle"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,t["stimulus-carousel"]=e(t.Stimulus,t.Swiper))})(this,function(t,e){"use strict";function i(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var d=i(e);class n extends t.Controller{connect(){this.swiper=new d.default(this.element,u(u({},this.defaultOptions),this.optionsValue))}disconnect(){this.swiper.destroy(),this.swiper=void 0}get defaultOptions(){return{}}}return n.values={options:Object},n});
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t(require("@hotwired/stimulus"),require("swiper/bundle")):typeof define=="function"&&define.amd?define(["@hotwired/stimulus","swiper/bundle"],t):(e=typeof globalThis<"u"?globalThis:e||self,e.StimulusCarousel=t(e.Stimulus,e.Swiper))})(this,function(e,t){"use strict";class i extends e.Controller{connect(){this.swiper=new t(this.element,{...this.defaultOptions,...this.optionsValue})}disconnect(){this.swiper.destroy(),this.swiper=void 0}get defaultOptions(){return{}}}return i.values={options:Object},i});
{
"name": "stimulus-carousel",
"version": "4.0.0",
"version": "5.0.0",
"description": "A Stimulus controller to deal with carousel.",

@@ -28,3 +28,3 @@ "keywords": [

"dev": "vite",
"prod": "vite build --config /dev/null",
"prod": "vite build --mode netlify",
"build": "tsc --noEmit && vite build",

@@ -35,17 +35,20 @@ "version": "yarn build",

"devDependencies": {
"@babel/core": "7.16.5",
"@babel/preset-env": "7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@hotwired/stimulus": "^3.0.1",
"np": "^7.6.0",
"@babel/core": "7.20.7",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@hotwired/stimulus": "^3.2.1",
"autoprefixer": "^10.4.13",
"np": "^7.6.2",
"postcss": "^8.4.20",
"prettier-standard": "16.4.1",
"typescript": "^4.5.4",
"vite": "^2.7.7"
"tailwindcss": "^3.2.4",
"typescript": "^4.9.4",
"vite": "^4.0.3"
},
"peerDependencies": {
"@hotwired/stimulus": "^3.0.1"
"@hotwired/stimulus": "^3.2.1"
},
"dependencies": {
"swiper": "^7.4.1"
"swiper": "^8.4.5"
}
}
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