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

@react-spring/parallax

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/parallax - npm Package Compare versions

Comparing version 9.0.0-canary.808.11.4be2ac3 to 9.0.0-canary.808.12.11b2708

4

index.cjs.js

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

});
var translate3d = ctrl.get('translate').to(horizontal ? function (x) {
var translate3d = ctrl.springs.translate.to(horizontal ? function (x) {
return "translate3d(" + x + "px,0,0)";

@@ -102,3 +102,3 @@ } : function (y) {

willChange: 'transform'
}, _extends2[horizontal ? 'height' : 'width'] = '100%', _extends2[horizontal ? 'width' : 'height'] = ctrl.get('space'), _extends2.WebkitTransform = translate3d, _extends2.msTransform = translate3d, _extends2.transform = translate3d, _extends2), rest.style)
}, _extends2[horizontal ? 'height' : 'width'] = '100%', _extends2[horizontal ? 'width' : 'height'] = ctrl.springs.space, _extends2.WebkitTransform = translate3d, _extends2.msTransform = translate3d, _extends2.transform = translate3d, _extends2), rest.style)
}));

@@ -105,0 +105,0 @@ }));

@@ -70,3 +70,3 @@ import _extends from '@babel/runtime/helpers/esm/extends';

});
const translate3d = ctrl.get('translate').to(horizontal ? x => `translate3d(${x}px,0,0)` : y => `translate3d(0,${y}px,0)`);
const translate3d = ctrl.springs.translate.to(horizontal ? x => `translate3d(${x}px,0,0)` : y => `translate3d(0,${y}px,0)`);
return React.createElement(a.div, Object.assign({}, rest, {

@@ -79,3 +79,3 @@ style: _extends({

[horizontal ? 'height' : 'width']: '100%',
[horizontal ? 'width' : 'height']: ctrl.get('space'),
[horizontal ? 'width' : 'height']: ctrl.springs.space,
WebkitTransform: translate3d,

@@ -82,0 +82,0 @@ msTransform: translate3d,

{
"name": "@react-spring/parallax",
"version": "9.0.0-canary.808.11.4be2ac3",
"version": "9.0.0-canary.808.12.11b2708",
"description": "Cross-platform animation engine for React",

@@ -31,4 +31,4 @@ "keywords": [

"@babel/runtime": "^7.3.1",
"@react-spring/shared": "9.0.0-canary.808.11.4be2ac3",
"@react-spring/web": "9.0.0-canary.808.11.4be2ac3",
"@react-spring/shared": "9.0.0-canary.808.12.11b2708",
"@react-spring/web": "9.0.0-canary.808.12.11b2708",
"use-memo-one": "^1.1.0"

@@ -35,0 +35,0 @@ },

Sorry, the diff of this file is not supported yet

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