Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "callgraph", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Parse JS into call graphs", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -86,31 +86,3 @@ 'use strict' | ||
} | ||
// } else { | ||
// let functionCalled | ||
// // it's a top level function | ||
// if (isCall) { | ||
// if (node.expression.name !== undefined) { | ||
// // direct call e.g. lodash() | ||
// functionCalled = localize(currentFile, node.expression.name) | ||
// // calls.push([localize(currentFile, 'Program'), localize(currentFile, node.expression.name)]) | ||
// } else { | ||
// // subcall e.g. lodash.filter() | ||
// functionCalled = localize(currentFile, `${node.expression.start.value}.${node.expression.property}`) | ||
// } | ||
// } else if (isDotAccess) { | ||
// const functionCalled = localize(currentFile, `${node.start.value}.${node.property}`) | ||
// } | ||
// console.log("!!!", functionCalled) | ||
// const moduleAsFile = localModules | ||
// .filter(t => t[0] == module) | ||
// .map(t => t[1]) | ||
// .pop() | ||
// const thisFile = localize(currentFile, 'Program') | ||
// if (moduleAsFile) { | ||
// calls.push([thisFile, localize(moduleAsFile, prop)]) | ||
// } else { | ||
// calls.push([thisFile, localize(currentFile, `${module}.${prop}`)]) | ||
// } | ||
// } | ||
} else if (isDefun) { | ||
//defined but not called | ||
definedFunctions.push(localize(currentFile, R.path(['name', 'name'], node))) | ||
@@ -117,0 +89,0 @@ } |
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
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
1
7751
180