@uppy/informer
Advanced tools
Comparing version 3.0.1 to 3.0.2
# @uppy/informer | ||
## 3.0.2 | ||
Released: 2023-04-18 | ||
Included in: Uppy v3.8.0 | ||
- @uppy/informer: add a check in `TransitionGroup` when component is null (Juan Belej / #4410) | ||
## 3.0.1 | ||
@@ -4,0 +11,0 @@ |
@@ -9,3 +9,3 @@ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ | ||
const packageJson = { | ||
"version": "3.0.1" | ||
"version": "3.0.2" | ||
}; | ||
@@ -12,0 +12,0 @@ /** |
@@ -170,3 +170,3 @@ /* eslint-disable */ | ||
if (component.componentWillAppear) { | ||
if (component != null && component.componentWillAppear) { | ||
component.componentWillAppear(this._handleDoneAppearing.bind(this, key)); | ||
@@ -181,3 +181,3 @@ } else { | ||
if (component.componentDidAppear) { | ||
if (component != null && component.componentDidAppear) { | ||
component.componentDidAppear(); | ||
@@ -202,3 +202,3 @@ } | ||
if (component.componentWillEnter) { | ||
if (component != null && component.componentWillEnter) { | ||
component.componentWillEnter(this._handleDoneEntering.bind(this, key)); | ||
@@ -213,3 +213,3 @@ } else { | ||
if (component.componentDidEnter) { | ||
if (component != null && component.componentDidEnter) { | ||
component.componentDidEnter(); | ||
@@ -242,3 +242,3 @@ } | ||
if (component.componentWillLeave) { | ||
if (component != null && component.componentWillLeave) { | ||
component.componentWillLeave(this._handleDoneLeaving.bind(this, key)); | ||
@@ -264,3 +264,3 @@ } else { | ||
if (component.componentDidLeave) { | ||
if (component != null && component.componentDidLeave) { | ||
component.componentDidLeave(); | ||
@@ -267,0 +267,0 @@ } |
{ | ||
"name": "@uppy/informer", | ||
"description": "A notification and error pop-up bar for Uppy.", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"license": "MIT", | ||
@@ -27,8 +27,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^5.0.2", | ||
"@uppy/utils": "^5.3.0", | ||
"preact": "^10.5.13" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.0.2" | ||
"@uppy/core": "^3.2.0" | ||
} | ||
} |
# @uppy/informer | ||
<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right"> | ||
<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right"> | ||
@@ -5,0 +5,0 @@ [![npm version](https://img.shields.io/npm/v/@uppy/informer.svg?style=flat-square)](https://www.npmjs.com/package/@uppy/informer) |
@@ -162,3 +162,3 @@ /* eslint-disable */ | ||
if (component.componentWillAppear) { | ||
if (component?.componentWillAppear) { | ||
component.componentWillAppear(this._handleDoneAppearing.bind(this, key)) | ||
@@ -172,3 +172,3 @@ } else { | ||
const component = this.refs[key] | ||
if (component.componentDidAppear) { | ||
if (component?.componentDidAppear) { | ||
component.componentDidAppear() | ||
@@ -193,3 +193,3 @@ } | ||
if (component.componentWillEnter) { | ||
if (component?.componentWillEnter) { | ||
component.componentWillEnter(this._handleDoneEntering.bind(this, key)) | ||
@@ -203,3 +203,3 @@ } else { | ||
const component = this.refs[key] | ||
if (component.componentDidEnter) { | ||
if (component?.componentDidEnter) { | ||
component.componentDidEnter() | ||
@@ -230,3 +230,3 @@ } | ||
const component = this.refs[key] | ||
if (component.componentWillLeave) { | ||
if (component?.componentWillLeave) { | ||
component.componentWillLeave(this._handleDoneLeaving.bind(this, key)) | ||
@@ -251,3 +251,3 @@ } else { | ||
if (component.componentDidLeave) { | ||
if (component?.componentDidLeave) { | ||
component.componentDidLeave() | ||
@@ -254,0 +254,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53908
Updated@uppy/utils@^5.3.0