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

@react-spring/animated

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/animated - npm Package Compare versions

Comparing version 9.0.0-canary.808.9.7e75a67 to 9.0.0-canary.808.10.132aadf

3

index.cjs.js

@@ -14,2 +14,3 @@ 'use strict';

var React__default = _interopDefault(React);
var reactLayoutEffect = require('react-layout-effect');

@@ -457,3 +458,3 @@ var $node = Symbol.for('Animated:node');

});
shared.useIsomorphicLayoutEffect(function () {
reactLayoutEffect.useLayoutEffect(function () {
shared.each(dependencies, function (dep) {

@@ -460,0 +461,0 @@ return dep.addChild(props);

@@ -1,5 +0,6 @@

import { defineHidden, each, getFluidConfig, Globals, is, createInterpolator, isAnimatedString, useForceUpdate, useIsomorphicLayoutEffect } from '@react-spring/shared';
import { defineHidden, each, getFluidConfig, Globals, is, createInterpolator, isAnimatedString, useForceUpdate } from '@react-spring/shared';
import _extends from '@babel/runtime/helpers/esm/extends';
import { createAnimatedTransform, createAnimatedStyle, frameLoop, applyAnimatedValues, getComponentProps } from '@react-spring/shared/globals';
import React, { forwardRef, useRef } from 'react';
import { useLayoutEffect } from 'react-layout-effect';

@@ -342,3 +343,3 @@ const $node = Symbol.for('Animated:node');

});
useIsomorphicLayoutEffect(() => {
useLayoutEffect(() => {
each(dependencies, dep => dep.addChild(props));

@@ -345,0 +346,0 @@ return () => each(dependencies, dep => dep.removeChild(props));

{
"name": "@react-spring/animated",
"version": "9.0.0-canary.808.9.7e75a67",
"version": "9.0.0-canary.808.10.132aadf",
"description": "Animated component props for React",

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

"@babel/runtime": "^7.3.1",
"@react-spring/shared": "9.0.0-canary.808.9.7e75a67"
"@react-spring/shared": "9.0.0-canary.808.10.132aadf",
"react-layout-effect": "^1.0.1"
},

@@ -34,0 +35,0 @@ "devDependencies": {

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