Socket
Socket
Sign inDemoInstall

react-responsive-carousel

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-carousel - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

12

lib/CSSTranslate.js
'use strict';
var has3d = require('./has3d');
module.exports = function (position, axis) {
var _has3d = has3d();
var positionCss = axis === 'horizontal' ? [position, 0] : [0, position];
var transitionProp = _has3d ? 'translate3d' : 'translate';
var positionCss = axis === 'horizontal' ? [position, 0, 0] : [0, position, 0];
var transitionProp = 'translate3d';
if (_has3d) {
// adds z position
positionCss.push(0);
}
var translatedPosition = '(' + positionCss.join(',') + ')';

@@ -16,0 +8,0 @@

2

package.json
{
"name": "react-responsive-carousel",
"version": "3.1.3",
"version": "3.1.4",
"description": "React Responsive Carousel",

@@ -5,0 +5,0 @@ "author": {

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