@enact/core
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -5,2 +5,9 @@ # Change Log | ||
## [2.4.1] - 2019-03-11 | ||
### Fixed | ||
- `core/util.isRenderable` to treat values returned by `React.lazy()`, `React.memo()`, and `React.forwardRef()` as renderable | ||
- `core/hoc` to support wrapping components returned by `React.lazy()`, `React.memo()`, and `React.forwardRef()` | ||
## [2.4.0] - 2019-03-04 | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "@enact/core", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.", | ||
@@ -37,2 +37,3 @@ "main": "index.js", | ||
"react-dom": "^16.7.0", | ||
"react-is": "^16.8.3", | ||
"recompose": "^0.26.0", | ||
@@ -39,0 +40,0 @@ "warning": "^3.0.0" |
@@ -20,4 +20,8 @@ "use strict"; | ||
var ReactIs = _interopRequireWildcard(require("react-is")); | ||
var _Job = _interopRequireDefault(require("./Job")); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -97,5 +101,3 @@ | ||
var isRenderable = function isRenderable(tag) { | ||
var type = _typeof(tag); | ||
return type === 'function' || type === 'string'; | ||
return ReactIs.isValidElementType(tag); | ||
}; | ||
@@ -102,0 +104,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
170429
59
4531
9
+ Addedreact-is@^16.8.3
+ Addedreact-is@16.13.1(transitive)