From b896b94e7136c2c1c6102719aed00aee51d522ab Mon Sep 17 00:00:00 2001 From: jamsonchan Date: Fri, 11 Oct 2024 06:32:03 +0800 Subject: [PATCH] test dfs(arg) --- babel-plugin-expose-private-functions-and-variables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel-plugin-expose-private-functions-and-variables.js b/babel-plugin-expose-private-functions-and-variables.js index 63e0ff7dff..00db3004d3 100644 --- a/babel-plugin-expose-private-functions-and-variables.js +++ b/babel-plugin-expose-private-functions-and-variables.js @@ -194,7 +194,7 @@ module.exports = function ({types: t}) { const args = callPath.get('arguments'); args.forEach(arg => { - // dfs(arg); + // dfs(arg); // FIXME: no effect, but needed, too slow, temp comment it // case: xxx(FUNC...) -> xxx(window.PACKAGE._.FUNC...) if (t.isIdentifier(arg.node) && privateFuncs.has(arg.node.name)) { funcCallCount.set(arg.node.name, funcCallCount.get(arg.node.name) + 1);