@fileverse-dev/formulajs 4.4.11-mod-64-patch-1 → 4.4.11-mod-64-patch-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/browser/formula.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @fileverse-dev/formulajs v4.4.11-mod-64-patch-
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.11-mod-64-patch-2 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -11173,8 +11173,10 @@ function _typeof(o) {
|
|
|
11173
11173
|
if (!inputMap[key]) {
|
|
11174
11174
|
var _Error$stack2;
|
|
11175
11175
|
var stack = (_Error$stack2 = (new Error).stack) === null || _Error$stack2 === void 0 ? void 0 : _Error$stack2.split("\n")[2];
|
|
11176
|
-
|
|
11177
|
-
var
|
|
11176
|
+
console.log("STACK LINE:", stack);
|
|
11177
|
+
var match = stack === null || stack === void 0 ? void 0 : stack.match(/at (.+?) \(/);
|
|
11178
|
+
var rawFnName = match === null || match === void 0 ? void 0 : match[1];
|
|
11179
|
+
var parentFunctionName = (rawFnName === null || rawFnName === void 0 ? void 0 : rawFnName.split(".").pop()) || "anonymous";
|
|
11178
11180
|
var paramName = key;
|
|
11179
11181
|
return errorMessageHandler(ERROR_MESSAGES_FLAG.MISSING_PARAM, paramName, parentFunctionName);
|
|
11180
11182
|
}
|