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.14.192785c to 9.0.0-canary.808.15.d4e5904

8

index.cjs.js

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

// re-rendered on every animation frame.
!shared.is.fun(Component) || Component.prototype.isReactComponent;
!shared.is.fun(Component) || Component.prototype && Component.prototype.isReactComponent;
var forceUpdate = shared.useForceUpdate();

@@ -491,4 +491,6 @@ var props = new AnimatedProps(function () {

var extendAnimated = function extendAnimated(withAnimated, components, lowercase) {
components.forEach(function (Component) {
var key = getDisplayName(Component);
shared.each(components, function (Component, key) {
if (!shared.is.str(key)) {
key = getDisplayName(Component);
}

@@ -495,0 +497,0 @@ if (lowercase) {

@@ -126,3 +126,5 @@ import { FluidValue, Indexable, FluidObserver, FluidEvent, ElementType } from '@react-spring/shared';

*/
declare const extendAnimated: (withAnimated: WithAnimated, components: AnimatableComponent[], lowercase?: boolean | undefined) => any;
declare const extendAnimated: (withAnimated: WithAnimated, components: {
[key: string]: AnimatableComponent;
} | AnimatableComponent[], lowercase?: boolean | undefined) => any;

@@ -129,0 +131,0 @@ declare type AnimatedType<T = any> = Function & {

@@ -325,3 +325,3 @@ import { defineHidden, each, getFluidConfig, Globals, is, createInterpolator, isAnimatedString, useForceUpdate } from '@react-spring/shared';

// re-rendered on every animation frame.
!is.fun(Component) || Component.prototype.isReactComponent;
!is.fun(Component) || Component.prototype && Component.prototype.isReactComponent;
const forceUpdate = useForceUpdate();

@@ -370,4 +370,6 @@ const props = new AnimatedProps(() => {

const extendAnimated = (withAnimated, components, lowercase) => {
components.forEach(Component => {
let key = getDisplayName(Component);
each(components, (Component, key) => {
if (!is.str(key)) {
key = getDisplayName(Component);
}

@@ -374,0 +376,0 @@ if (lowercase) {

{
"name": "@react-spring/animated",
"version": "9.0.0-canary.808.14.192785c",
"version": "9.0.0-canary.808.15.d4e5904",
"description": "Animated component props for React",

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

"@babel/runtime": "^7.3.1",
"@react-spring/shared": "9.0.0-canary.808.14.192785c",
"@react-spring/shared": "9.0.0-canary.808.15.d4e5904",
"react-layout-effect": "^1.0.1"

@@ -34,0 +34,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