react-animationjs
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -16,6 +16,2 @@ 'use strict'; | ||
var _lodash = require('lodash.isequal'); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
var _reactDom = require('react-dom'); | ||
@@ -141,3 +137,3 @@ | ||
return _react2.default.createElement( | ||
'g', | ||
'div', | ||
{ style: _extends({}, styleEl) }, | ||
@@ -144,0 +140,0 @@ cur.filter(filterNullEls).map(function (child, i) { |
@@ -87,8 +87,4 @@ module.exports = | ||
var _lodash = __webpack_require__(2); | ||
var _reactDom = __webpack_require__(2); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
var _reactDom = __webpack_require__(3); | ||
var _reactDom2 = _interopRequireDefault(_reactDom); | ||
@@ -106,3 +102,3 @@ | ||
var anime = typeof window !== 'undefined' ? __webpack_require__(4) : function (_) { | ||
var anime = typeof window !== 'undefined' ? __webpack_require__(3) : function (_) { | ||
return _; | ||
@@ -213,3 +209,3 @@ }; | ||
return _react2.default.createElement( | ||
'g', | ||
'div', | ||
{ style: _extends({}, styleEl) }, | ||
@@ -290,3 +286,3 @@ cur.filter(filterNullEls).map(function (child, i) { | ||
module.exports = require("lodash.isequal"); | ||
module.exports = require("react-dom"); | ||
@@ -297,8 +293,2 @@ /***/ }), | ||
module.exports = require("react-dom"); | ||
/***/ }), | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("animejs"); | ||
@@ -305,0 +295,0 @@ |
{ | ||
"name": "react-animationjs", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "An animation library that applies anime.js to it's react children", | ||
@@ -77,3 +77,4 @@ "main": "build/index.js", | ||
"react-test-renderer": "^16.0.x", | ||
"webpack": "^3.8.x" | ||
"webpack": "^3.8.x", | ||
"lodash.isequal": "^4.5.0" | ||
}, | ||
@@ -85,5 +86,4 @@ "peerDependencies": { | ||
"dependencies": { | ||
"animejs": "^2.2.0", | ||
"lodash.isequal": "^4.5.0" | ||
"animejs": "^2.2.0" | ||
} | ||
} |
import React, { Component } from 'react'; | ||
import isEqual from 'lodash.isequal'; | ||
import ReactDOM from 'react-dom'; | ||
@@ -118,3 +117,3 @@ const anime = typeof window !== 'undefined' ? require('animejs') : _ => _; | ||
return ( | ||
<g style={{ ...styleEl }}> | ||
<div style={{ ...styleEl }}> | ||
{ | ||
@@ -134,3 +133,3 @@ cur | ||
} | ||
</g> | ||
</div> | ||
); | ||
@@ -137,0 +136,0 @@ } |
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
3
37668
22
725
- Removedlodash.isequal@^4.5.0
- Removedlodash.isequal@4.5.0(transitive)