react-animationjs
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -69,3 +69,3 @@ 'use strict'; | ||
_this.children = { | ||
cur: children | ||
cur: children.filter(filterNullEls) | ||
}; | ||
@@ -166,5 +166,9 @@ return _this; | ||
var animeProps = _extends({ targets: _this3.targets }, props); | ||
var modifiedProps = Object.assign({}, props); | ||
delete modifiedProps['styleEl']; | ||
delete modifiedProps['onEnter']; | ||
delete modifiedProps['onExit']; | ||
delete modifiedProps.children; | ||
var animeProps = _extends({ targets: _this3.targets }, modifiedProps); | ||
anime.remove(_this3.targets); | ||
delete animeProps.children; | ||
_this3.anime = anime(animeProps); | ||
@@ -198,5 +202,6 @@ }; | ||
onEnter: function onEnter() {}, | ||
onExit: function onExit() {} | ||
onExit: function onExit() {}, | ||
styleEl: {} | ||
}; | ||
exports.default = Anime; |
{ | ||
"name": "react-animationjs", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "An animation library that applies anime.js to it's react children", | ||
@@ -73,6 +73,7 @@ "main": "build/index.js", | ||
"nyc": "^11.2.x", | ||
"react": "^16.x", | ||
"react-dom": "^16.x", | ||
"react-fatigue-dev": "github:ekeric13/react-fatigue-dev", | ||
"react-test-renderer": "^16.0.x", | ||
"webpack": "^3.8.x", | ||
"react": "^16.x", | ||
"react-dom": "^16.x" | ||
"webpack": "^3.8.x" | ||
}, | ||
@@ -79,0 +80,0 @@ "peerDependencies": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37976
734
0
21