@tarojs/runtime
Advanced tools
Comparing version 3.0.0-experimental.4 to 3.0.0-experimental.5
@@ -158,3 +158,3 @@ 'use strict'; | ||
} | ||
if (key === 'type') { | ||
else if (key === 'type') { | ||
continue; | ||
@@ -1501,5 +1501,6 @@ } | ||
return function (component) { | ||
var _a; | ||
// eslint-disable-next-line dot-notation | ||
var isReactComponent = isFunction(component['render']) || | ||
!!component.prototype.isReactComponent || | ||
!!((_a = component.prototype) === null || _a === void 0 ? void 0 : _a.isReactComponent) || | ||
component.prototype instanceof R.Component; // compat for some others react-like library | ||
@@ -1506,0 +1507,0 @@ var inject = function (node) { return node && injectPageInstance(node, id); }; |
@@ -155,3 +155,3 @@ function isString(o) { | ||
} | ||
if (key === 'type') { | ||
else if (key === 'type') { | ||
continue; | ||
@@ -1413,5 +1413,6 @@ } | ||
return (component) => { | ||
var _a; | ||
// eslint-disable-next-line dot-notation | ||
const isReactComponent = isFunction(component['render']) || | ||
!!component.prototype.isReactComponent || | ||
!!((_a = component.prototype) === null || _a === void 0 ? void 0 : _a.isReactComponent) || | ||
component.prototype instanceof R.Component; // compat for some others react-like library | ||
@@ -1418,0 +1419,0 @@ const inject = (node) => node && injectPageInstance(node, id); |
{ | ||
"name": "@tarojs/runtime", | ||
"version": "3.0.0-experimental.4", | ||
"version": "3.0.0-experimental.5", | ||
"description": "taro runtime for mini apps.", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "8b31dc9edc33016c32f0355e3759e7e88ee20c4a" | ||
"gitHead": "e5428430c09acc1e34337447c2ddfee67139f62b" | ||
} |
Sorry, the diff of this file is not supported yet
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
2864898
7058