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

animated-transition-group

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animated-transition-group - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

10

dist/AnimatedChild.js

@@ -35,2 +35,12 @@ 'use strict';

_createClass(AnimatedChild, [{
key: 'componentWillMount',
value: function componentWillMount() {
this._mounted = true;
}
}, {
key: 'componentWillUnmount',
value: function componentWillUnmount() {
this._mounted = false;
}
}, {
key: 'prepDefaultProps',

@@ -37,0 +47,0 @@ value: function prepDefaultProps() {

4

dist/dom-utils.js

@@ -20,2 +20,4 @@ 'use strict';

function addClass(component, className, prefix) {
if (!component._mounted) return;
try {

@@ -36,2 +38,4 @@ // the original CSSTransition group did this (even in componentWillAppear/Enter)

function removeAnimationClasses(component, prefix, appear, enter, leave) {
if (!component._mounted) return;
try {

@@ -38,0 +42,0 @@ // dom node may have been removed if wrapped by an outer animation with a shorter duration (no big deal)

2

package.json
{
"name": "animated-transition-group",
"version": "1.0.21",
"version": "1.0.22",
"description": "like `<ReactTransitionGroup />` + callbacks, extras and child-specific customization",

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

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