@uiw/react-avatar
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -32,3 +32,3 @@ "use strict"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
@@ -106,3 +106,3 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
}); | ||
} else if (icon && _react.default.isValidElement(icon)) { | ||
} else if (icon && /*#__PURE__*/_react.default.isValidElement(icon)) { | ||
children = icon; | ||
@@ -109,0 +109,0 @@ } |
@@ -10,3 +10,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
@@ -90,3 +90,3 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
}); | ||
} else if (icon && React.isValidElement(icon)) { | ||
} else if (icon && /*#__PURE__*/React.isValidElement(icon)) { | ||
children = icon; | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "@uiw/react-avatar", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Avatar component", | ||
@@ -46,4 +46,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-icon": "^4.1.0", | ||
"@uiw/utils": "^4.1.0", | ||
"@uiw/react-icon": "^4.1.1", | ||
"@uiw/utils": "^4.1.1", | ||
"classnames": "^2.2.6" | ||
@@ -62,3 +62,3 @@ }, | ||
}, | ||
"gitHead": "5a2547993b7f4538e7075f6dce7e550620e31eca" | ||
"gitHead": "1f6848374148d3e573244cf52dc88ecd001a6423" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30202
Updated@uiw/react-icon@^4.1.1
Updated@uiw/utils@^4.1.1