Comparing version 0.8.2 to 0.8.3-rc1
@@ -313,3 +313,3 @@ 'use strict'; | ||
var hooks = get(_[HOOKS], key); | ||
hooks && $M(hooks, function (uuid$$1, h) { | ||
hooks instanceof Map && hooks && $M(hooks, function (uuid$$1, h) { | ||
if (h instanceof Set) { | ||
@@ -347,3 +347,3 @@ var fns = compose(_toConsumableArray(h)); | ||
var hooks = get(_[HOOKS], key); | ||
hooks && $(_val, function (key, val) { | ||
hooks instanceof Map && hooks && $(_val, function (key, val) { | ||
$M(hooks, function (uuid$$1, h) { | ||
@@ -362,3 +362,3 @@ return h({ | ||
var scanHooks_ = (function (_2) { | ||
var ScanHooks = function ScanHooks(_2) { | ||
return { | ||
@@ -373,3 +373,2 @@ onAny: { | ||
_object = _ref3._object; | ||
if (_typeof(_val) === 'object') return; | ||
var key = "".concat(depth); | ||
@@ -454,4 +453,10 @@ handleHooks({ | ||
}); | ||
}, | ||
$O: function $O(_ref8) { | ||
} // $O({object, parentDepth, depth, _key, _val, _object}) { | ||
// const key = `${parentDepth}.$O` | ||
// handleHooks({object, depth, key, _, _key, _val, _object}) | ||
// } | ||
}, | ||
onArray: { | ||
A: function A(_ref8) { | ||
var object = _ref8.object, | ||
@@ -463,3 +468,3 @@ parentDepth = _ref8.parentDepth, | ||
_object = _ref8._object; | ||
var key = "".concat(parentDepth, ".$O"); | ||
var key = "".concat(depth, ".A"); | ||
handleHooks({ | ||
@@ -474,6 +479,4 @@ object: object, | ||
}); | ||
} | ||
}, | ||
onArray: { | ||
A: function A(_ref9) { | ||
}, | ||
A$: function A$(_ref9) { | ||
var object = _ref9.object, | ||
@@ -485,4 +488,4 @@ parentDepth = _ref9.parentDepth, | ||
_object = _ref9._object; | ||
var key = "".concat(depth, ".A"); | ||
handleHooks({ | ||
var key = "".concat(depth, ".A$"); | ||
handleEachHooks({ | ||
object: object, | ||
@@ -492,3 +495,2 @@ depth: depth, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
@@ -498,5 +500,4 @@ _object: _object | ||
}, | ||
A$: function A$(_ref10) { | ||
$: function $$$1(_ref10) { | ||
var object = _ref10.object, | ||
parentDepth = _ref10.parentDepth, | ||
depth = _ref10.depth, | ||
@@ -506,3 +507,3 @@ _key = _ref10._key, | ||
_object = _ref10._object; | ||
var key = "".concat(depth, ".A$"); | ||
var key = "".concat(depth, ".$"); | ||
handleEachHooks({ | ||
@@ -516,5 +517,12 @@ object: object, | ||
}); | ||
}, | ||
$: function $$$1(_ref11) { | ||
} // $A({object, parentDepth, depth, _key, _val, _object}) { | ||
// const key = `${parentDepth}.$A` | ||
// handleHooks({object, depth, key, _, _key, _val, _object}) | ||
// } | ||
}, | ||
onFunction: { | ||
F: function F(_ref11) { | ||
var object = _ref11.object, | ||
parentDepth = _ref11.parentDepth, | ||
depth = _ref11.depth, | ||
@@ -524,4 +532,4 @@ _key = _ref11._key, | ||
_object = _ref11._object; | ||
var key = "".concat(depth, ".$"); | ||
handleEachHooks({ | ||
var key = "".concat(depth, ".F"); | ||
handleHooks({ | ||
object: object, | ||
@@ -531,7 +539,14 @@ depth: depth, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
_object: _object | ||
}); | ||
}, | ||
$A: function $A(_ref12) { | ||
} // $F({object, parentDepth, depth, _key, _val, _object}) { | ||
// const key = `${parentDepth}.$F` | ||
// handleHooks({object, depth, key, _, _key, _val, _object}) | ||
// } | ||
}, | ||
onVariable: { | ||
V: function V(_ref12) { | ||
var object = _ref12.object, | ||
@@ -543,60 +558,2 @@ parentDepth = _ref12.parentDepth, | ||
_object = _ref12._object; | ||
var key = "".concat(parentDepth, ".$A"); | ||
handleHooks({ | ||
object: object, | ||
depth: depth, | ||
key: key, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
_object: _object | ||
}); | ||
} | ||
}, | ||
onFunction: { | ||
F: function F(_ref13) { | ||
var object = _ref13.object, | ||
parentDepth = _ref13.parentDepth, | ||
depth = _ref13.depth, | ||
_key = _ref13._key, | ||
_val = _ref13._val, | ||
_object = _ref13._object; | ||
var key = "".concat(depth, ".F"); | ||
handleHooks({ | ||
object: object, | ||
depth: depth, | ||
key: key, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
_object: _object | ||
}); | ||
}, | ||
$F: function $F(_ref14) { | ||
var object = _ref14.object, | ||
parentDepth = _ref14.parentDepth, | ||
depth = _ref14.depth, | ||
_key = _ref14._key, | ||
_val = _ref14._val, | ||
_object = _ref14._object; | ||
var key = "".concat(parentDepth, ".$F"); | ||
handleHooks({ | ||
object: object, | ||
depth: depth, | ||
key: key, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
_object: _object | ||
}); | ||
} | ||
}, | ||
onVariable: { | ||
V: function V(_ref15) { | ||
var object = _ref15.object, | ||
parentDepth = _ref15.parentDepth, | ||
depth = _ref15.depth, | ||
_key = _ref15._key, | ||
_val = _ref15._val, | ||
_object = _ref15._object; | ||
var key = "".concat(depth, ".V"); | ||
@@ -612,24 +569,10 @@ handleHooks({ | ||
}); | ||
}, | ||
$V: function $V(_ref16) { | ||
var object = _ref16.object, | ||
parentDepth = _ref16.parentDepth, | ||
depth = _ref16.depth, | ||
_key = _ref16._key, | ||
_val = _ref16._val, | ||
_object = _ref16._object; | ||
var key = "".concat(parentDepth, ".$V"); | ||
handleHooks({ | ||
object: object, | ||
depth: depth, | ||
key: key, | ||
_: _2, | ||
_key: _key, | ||
_val: _val, | ||
_object: _object | ||
}); | ||
} | ||
} // $V({object, parentDepth, depth, _key, _val, _object}) { | ||
// const key = `${parentDepth}.$V` | ||
// handleHooks({object, depth, key, _, _key, _val, _object}) | ||
// } | ||
} | ||
}; | ||
}); | ||
}; | ||
@@ -658,3 +601,3 @@ var $str$$1 = JSON.stringify; | ||
var _scanHooks = scanHooks_(_); | ||
var _scanHooks = ScanHooks(_); | ||
@@ -661,0 +604,0 @@ var BindHook = function BindHook(_ref) { |
{ | ||
"name": "menhera", | ||
"version": "0.8.2", | ||
"version": "0.8.3-rc1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
36316
1315