Comparing version 0.4.0 to 0.4.1
@@ -92,3 +92,3 @@ "use strict"; | ||
case 0: | ||
cp = typeof component === "function" ? component({ _: _, $: lifeCycle }) : component; | ||
cp = typeof component === "function" ? component({ _: _ }) : component; | ||
name = cp.name; | ||
@@ -107,10 +107,3 @@ | ||
if (_key.startsWith("_")) { | ||
var hook = _.hooks[_key]; | ||
if (Array.isArray(hook)) { | ||
hook.forEach(function (h) { | ||
(0, _utils.bindHook)({ _: _, hook: h, _key: _key, cp: cp }); | ||
}); | ||
} else { | ||
(0, _utils.bindHook)({ _: _, hook: hook, _key: _key, cp: cp }); | ||
} | ||
(0, _utils.bindHook)({ _: _, _key: _key, cp: cp }); | ||
} | ||
@@ -117,0 +110,0 @@ }); |
{ | ||
"name": "menhera", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"main": "dist", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
0
15079
327