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

img-comparison-slider

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

img-comparison-slider - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

dist/cjs/chunk-ae524196.js

2

dist/cjs/img-comparison-slider.cjs.entry.js

@@ -5,3 +5,3 @@ 'use strict';

const __chunk_1 = require('./chunk-05d3cc2d.js');
const __chunk_1 = require('./chunk-ae524196.js');

@@ -8,0 +8,0 @@ const inBetween = (actual, min, max) => {

@@ -5,3 +5,3 @@ 'use strict';

const __chunk_1 = require('./chunk-05d3cc2d.js');
const __chunk_1 = require('./chunk-ae524196.js');

@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => {

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

import { r as registerInstance, h, g as getElement } from './chunk-c80858ad.js';
import { r as registerInstance, h, g as getElement } from './chunk-5474dda1.js';

@@ -3,0 +3,0 @@ const inBetween = (actual, min, max) => {

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

import { r as registerInstance, h, g as getElement } from './chunk-c80858ad.js';
import { r as registerInstance, h, g as getElement } from './chunk-5474dda1.js';
var inBetween = function (actual, min, max) {

@@ -3,0 +3,0 @@ if (actual < min) {

{
"name": "img-comparison-slider-loader",
"name": "component-loader",
"typings": "./index.d.ts",

@@ -4,0 +4,0 @@ "module": "./index.mjs",

{
"name": "img-comparison-slider-loader",
"name": "component-loader",
"typings": "./index.d.ts",

@@ -4,0 +4,0 @@ "module": "./index.mjs",

{
"name": "img-comparison-slider",
"version": "1.1.1",
"version": "2.0.0",
"description": "Stencil Component Starter",

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

@@ -15,3 +15,3 @@ # img-comparison-slider

* 📱 Looks great on mobile devices
* ⌨️ Keyboard support
* ♿️ Keyboard support
* ☁️ Easy to install

@@ -25,4 +25,4 @@ * 🧩 Web component. Works with HTML, React, Angular, or Vue

```html
<script type="module" src="https://unpkg.com/img-comparison-slider@^1/dist/img-comparison-slider/img-comparison-slider.esm.js"></script>
<script nomodule="" src="https://unpkg.com/img-comparison-slider@^1/dist/img-comparison-slider/img-comparison-slider.js"></script>
<script type="module" src="https://unpkg.com/img-comparison-slider@latest/dist/component/component.esm.js"></script>
<script nomodule="" src="https://unpkg.com/img-comparison-slider@latest/dist/component/component.js"></script>

@@ -52,4 +52,4 @@ <img-comparison-slider>

<img-comparison-slider>
<img slot="before" src="before.jpg">
<img slot="after" src="after.jpg>
<img slot="before" src="before.jpg" />
<img slot="after" src="after.jpg" />
</img-comparison-slider>

@@ -56,0 +56,0 @@ )

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