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

@smarthtmlelements/smart-carousel

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smarthtmlelements/smart-carousel - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

package.json
{
"name": "@smarthtmlelements/smart-carousel",
"version": "2.0.0",
"version": "2.0.1",
"description": "Smart Carousel",

@@ -22,3 +22,3 @@ "scripts": {

"@webcomponents/webcomponentsjs": "^1.0.22",
"@smarthtmlelements/smart-core": "^2.0.0"
"@smarthtmlelements/smart-core": "^2.0.1"
},

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

@@ -20,2 +20,17 @@ [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-carousel)

<link rel="stylesheet" href="../smart-core/source/styles/smart.default.css" type="text/css" />
<script>
window.onload = function () {
const basePath = '/images/',
carouselSquare = document.getElementById('carouselSquare'),
carouselSquare.dataSource = generateDataSource(7);
function generateDataSource(items) {
let dataSource = Array(items).fill({});
dataSource.forEach((element, index) => dataSource[index] = { image: `${basePath}carousel-square-${index + 1}.jpg` });
return dataSource;
}
}
</script>
<next-code-block></next-code-block>

@@ -22,0 +37,0 @@ </template>

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