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

react-free-carousel

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-free-carousel - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

lib/Component.js

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

var $children = $container.children();
var wrapperWidth = this.wrapper.getBoundingClientRect().width;
var wrapperWidth = this.wrapper.clientWidth;
var offsetPage = new Map();

@@ -155,4 +155,4 @@ var pageOffset = new Map();

var $tile = (0, _jquery2.default)(tile);
var tileLeft = $tile.position().left;
var tileWidth = $tile.outerWidth();
var tileLeft = tile.offsetLeft;
var tileWidth = tile.clientWidth;

@@ -159,0 +159,0 @@ if (offsetPage.has(tileLeft)) {

{
"name": "react-free-carousel",
"version": "0.1.3",
"version": "0.1.4",
"description": "Carousel component for free flex-box layout built with React.",

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

@@ -91,3 +91,3 @@ import React from 'react';

const $children = $container.children();
const wrapperWidth = this.wrapper.getBoundingClientRect().width;
const wrapperWidth = this.wrapper.clientWidth;
const offsetPage = new Map();

@@ -99,4 +99,4 @@ const pageOffset = new Map();

const $tile = $(tile);
const tileLeft = $tile.position().left;
const tileWidth = $tile.outerWidth();
const tileLeft = tile.offsetLeft;
const tileWidth = tile.clientWidth;

@@ -103,0 +103,0 @@ if (offsetPage.has(tileLeft)) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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