-
Notifications
You must be signed in to change notification settings - Fork 0
/
usages.slices.json
1 lines (1 loc) · 37.2 KB
/
usages.slices.json
1
{"objectSlices":[{"code":"","fullName":"index.js::program","signature":"","fileName":"index.js","lineNumber":1,"columnNumber":0,"usages":[{"targetObj":{"name":"ip","typeFullName":"ip","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":null,"lineNumber":4,"columnNumber":10,"label":"CALL"},"invokedCalls":[{"callName":"isPublic","resolvedMethod":"ip.isPublic","paramTypes":["ip"],"returnType":"ANY","isExternal":true,"lineNumber":267,"columnNumber":8},{"callName":"isPrivate","resolvedMethod":"ip.isPrivate","paramTypes":["ip"],"returnType":"ANY","isExternal":true,"lineNumber":280,"columnNumber":15}],"argToCalls":[]},{"targetObj":{"name":"urlencoded","typeFullName":"ANY","resolvedMethod":"express:urlencoded","isExternal":true,"lineNumber":15,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"urlencoded","typeFullName":"ANY","resolvedMethod":"express:urlencoded","isExternal":true,"lineNumber":15,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"listen","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:listen","isExternal":true,"lineNumber":293,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"listen","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:listen","isExternal":true,"lineNumber":293,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"bodyParser","typeFullName":"body-parser","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":null,"lineNumber":3,"columnNumber":19,"label":"CALL"},"invokedCalls":[{"callName":"urlencoded","resolvedMethod":"bodyParser.urlencoded","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":18,"columnNumber":8}],"argToCalls":[]},{"targetObj":{"name":"setOptions","typeFullName":"ANY","resolvedMethod":"marked:setOptions","isExternal":true,"lineNumber":20,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"setOptions","typeFullName":"ANY","resolvedMethod":"marked:setOptions","isExternal":true,"lineNumber":20,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"import","typeFullName":"ANY","resolvedMethod":"index.js::program:import","isExternal":true,"lineNumber":10,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"import","typeFullName":"ANY","resolvedMethod":"index.js::program:import","isExternal":true,"lineNumber":10,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"json","typeFullName":"ANY","resolvedMethod":"express:json","isExternal":true,"lineNumber":16,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"json","typeFullName":"ANY","resolvedMethod":"express:json","isExternal":true,"lineNumber":16,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"path","typeFullName":"path","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":null,"lineNumber":7,"columnNumber":13,"label":"CALL"},"invokedCalls":[{"callName":"join","resolvedMethod":"path.join","paramTypes":["__ecma.String","__ecma.String"],"returnType":"ANY","isExternal":true,"lineNumber":17,"columnNumber":34}],"argToCalls":[]},{"targetObj":{"name":"post","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:post","isExternal":true,"lineNumber":262,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"post","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:post","isExternal":true,"lineNumber":262,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"express","typeFullName":"express","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":null,"lineNumber":6,"columnNumber":16,"label":"CALL"},"invokedCalls":[{"callName":"urlencoded","resolvedMethod":"express.urlencoded","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":15,"columnNumber":8},{"callName":"json","resolvedMethod":"express.json","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":16,"columnNumber":8},{"callName":"static","resolvedMethod":"express.static","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":17,"columnNumber":19}],"argToCalls":[]},{"targetObj":{"name":"use","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:use","isExternal":true,"lineNumber":18,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"use","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:use","isExternal":true,"lineNumber":18,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"join","typeFullName":"ANY","resolvedMethod":"path:join","isExternal":true,"lineNumber":17,"columnNumber":34,"label":"CALL"},"definedBy":{"name":"join","typeFullName":"ANY","resolvedMethod":"path:join","isExternal":true,"lineNumber":17,"columnNumber":34,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":":program","typeFullName":"ANY","lineNumber":1,"columnNumber":0,"label":"UNKNOWN"},"definedBy":{"name":":program","typeFullName":"ANY","lineNumber":1,"columnNumber":0,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.alloc","typeFullName":"ANY","resolvedMethod":"<operator>.alloc","isExternal":true,"lineNumber":21,"columnNumber":14,"label":"CALL"},"definedBy":{"name":"<operator>.alloc","typeFullName":"ANY","resolvedMethod":"<operator>.alloc","isExternal":true,"lineNumber":21,"columnNumber":14,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"static","typeFullName":"ANY","resolvedMethod":"express:static","isExternal":true,"lineNumber":17,"columnNumber":19,"label":"CALL"},"definedBy":{"name":"static","typeFullName":"ANY","resolvedMethod":"express:static","isExternal":true,"lineNumber":17,"columnNumber":19,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"urlencoded","typeFullName":"ANY","resolvedMethod":"body-parser:urlencoded","isExternal":true,"lineNumber":18,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"urlencoded","typeFullName":"ANY","resolvedMethod":"body-parser:urlencoded","isExternal":true,"lineNumber":18,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"marked","typeFullName":"marked","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":null,"lineNumber":2,"columnNumber":15,"label":"CALL"},"invokedCalls":[{"callName":"marked.setOptions","resolvedMethod":"marked.setOptions","paramTypes":[],"returnType":"ANY","isExternal":true,"lineNumber":20,"columnNumber":0}],"argToCalls":[]},{"targetObj":{"name":"get","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:get","isExternal":true,"lineNumber":158,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"get","typeFullName":"ANY","resolvedMethod":"express:<returnValue>:get","isExternal":true,"lineNumber":158,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"express","typeFullName":"ANY","resolvedMethod":"express","isExternal":true,"lineNumber":14,"columnNumber":12,"label":"CALL"},"definedBy":{"name":"express","typeFullName":"ANY","resolvedMethod":"express","isExternal":true,"lineNumber":14,"columnNumber":12,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"app","typeFullName":"express:<returnValue>","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"express","typeFullName":"ANY","resolvedMethod":"express","isExternal":null,"lineNumber":14,"columnNumber":12,"label":"CALL"},"invokedCalls":[{"callName":"use","resolvedMethod":"app.use","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":15,"columnNumber":0},{"callName":"use","resolvedMethod":"app.use","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":16,"columnNumber":0},{"callName":"use","resolvedMethod":"\"/static\"","paramTypes":["__ecma.String","ANY"],"returnType":"ANY","isExternal":true,"lineNumber":17,"columnNumber":0},{"callName":"use","resolvedMethod":"app.use","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":18,"columnNumber":0},{"callName":"get","resolvedMethod":"app.get('/', function (req, res) {n {2}res.sendFile(__dirname + '/templates/index.html');n})","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":28,"columnNumber":0},{"callName":"get","resolvedMethod":"app.get('/markdown', function (req, res) {n {2}res.sendFile(__dirname + '/templates/markdown.html');n})","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":31,"columnNumber":0},{"callName":"get","resolvedMethod":"app.get('/chat-ui', function (req, res) {n {2}res.sendFile(__dirname + '/templates/chat-ui.html');n})","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":34,"columnNumber":0},{"callName":"get","resolvedMethod":"app.get('/trimnewlines', function (req, res) {ntres.send(`nt <!DOCTYPE html>n<html>n<head>nt<link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css\" rel=\"stylesheet\">nt<style>n {2}textarea {n {2}toverflow: hidden;n {2}}nt</style>n</head>n<body class=\"p-10\">nt<form action=\"/trimnewlines\" method=\"post\" class=\"space-y-4\">n {2}<div>n {2}t<label for=\"payload\" class=\"block text-sm font-medium text-gray-700\">Payload</label>n {2}t<div class=\"mt-1\">n {2} {2}<textarea id=\"payload\" name=\"payload\" class=\"shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md bg-gray-200\" oninput=\"this.style.height = '';this.style.height = this.scrollHeight + 'px'\"></textarea> </div>n {2}<div>n {2}t<button type=\"submit\" class=\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 f...","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":38,"columnNumber":0},{"callName":"post","resolvedMethod":"app.post('/trimnewlines', function (req, res) {n {2}const payload = req.body.payload;n {2}const maxLength = 1e7;n {2}const string = String(Array.from({length: Math.min(maxLength, 150)}).fill(payload).join('')) + 'a';n {2}const start = Date.now();n {2}const trimmedString = trimNewlines.end(string);n {2}console.log(`TrimmedString: ${trimmedString}`);n {2}const difference = Date.now() - start;n {2}console.log(`Execution time difference: ${difference}`);n {2}n {2}let responseMessage;n {2}if (difference > 100) {n {2} {2}console.log(\"\\nExponential execution time -> VULNERABLE\\n\");n {2} {2}responseMessage = `\\nExponential execution time -> VULNERABLE. Execution time: ${difference}\\n`;n {2}} else {n {2} {2}responseMessage = `\\nExecution time: ${difference}\\n`;n {2}}n {2}n {2}res.send(`n {2}<html>n {2}<head>n {2} {2}<link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css\" rel=\"stylesheet\">n {2} {2}<style>n {2} {2} {2}#trimmedString {n {2} {2} {2} {2}display: none;n ...","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":74,"columnNumber":0},{"callName":"post","resolvedMethod":"app.post('/markdown', function (req, res) {n {2}var fullName = req.body.fullName;n {2}var email = req.body.email;n {2}var markdownResume = req.body.markdownResume;n {2}n {2}// Process the markdown resume heren {2}n {2}var htmlResume = marked(markdownResume); // Convert Markdown to HTMLn {2}n {2}var htmlResponse = `n {2} {2}<!DOCTYPE html>n {2} {2}<html lang=\"en\">n {2} {2}<head>n {2} {2} {2}<meta charset=\"UTF-8\">n {2} {2} {2}<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">n {2} {2} {2}<title>Markdown Resume</title>n {2} {2} {2}<link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css\" rel=\"stylesheet\">n {2} {2}</head>n {2} {2}<body class=\"bg-gray-100\">n {2} {2} {2}<div class=\"container mx-auto px-4 py-8\">n {2} {2} {2} {2}<h1 class=\"text-3xl font-bold text-center mb-8\">Markdown Resume</h1>n {2} {2} {2} {2}<div class=\"max-w-lg mx-auto bg-white p-6 rounded-lg shadow-md\">n {2} {2} {2} {2} {2}<div class=\"markdown\">${htmlResume}</div> <!-- Rend...","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":126,"columnNumber":0},{"callName":"get","resolvedMethod":"app.get('/checkip', function(req, res) {n {2}res.send(`n {2}<!DOCTYPE html>n {2}<html lang=\"en\">n {2}<head>n {2} {2}<meta charset=\"UTF-8\">n {2} {2}<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">n {2} {2}<title>Check IP</title>n {2} {2}<link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css\" rel=\"stylesheet\">n {2} {2}<!-- Font Awesome for sand timer icon -->n {2} {2}<link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css\" rel=\"stylesheet\">n {2} {2}<style>n {2} {2} {2}/* Loading indicator styles */n {2} {2} {2}.loading-container {n {2} {2} {2} {2}width: 100px;n {2} {2} {2} {2}height: 100px;n {2} {2} {2} {2}position: relative;n {2} {2} {2} {2}margin: 0 auto;n {2} {2} {2}}n {2}n {2} {2} {2}.sand-timer-icon {n {2} {2} {2} {2}font-size: 60px;n {2} {2} {2} {2}color: #1a202c;n {2} {2} {2} {2}position: absolute;n {2} {2} {2} {2}top: 20px;n {2} {2} {2} {2}left: 20px;n {2} {2} {2} {2}animation: sand-timer-rota...","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":158,"columnNumber":0},{"callName":"post","resolvedMethod":"app.post('/checkip', function (req, res) {n {2}var my_ip = req.body.ip;n {2}var responseMessage = '';nn {2}// Check if the IP is publicn {2}if (ip.isPublic(my_ip)) {n {2} {2}responseMessage = `${my_ip} is public.`;n {2} {2}fetch(\"http://\" + my_ip + \"/index.html\")n {2} {2}.then(response => response.text()) // Convert response to textn {2} {2}.then(html => {n {2} {2} {2}responseMessage = html;n {2} {2} // Set responseMessage to the contents of index.htmln {2} {2} console.log(html); // Optional: Log the HTML contentn {2} {2}})n {2} {2}.catch(error => {n {2} {2} {2}responseMessage = \"Error fetching index.html: \" + error;n {2} {2} {2}console.error(error); // Log the errorn {2} {2}});n {2}} else if (ip.isPrivate(my_ip)) {n {2} {2}// If private, display a message indicating it's a private IPn {2} {2}responseMessage = `${my_ip} is private.`;n {2}} else {n {2} {2}// If the IP is neither public nor private, display an error messagen {2} {2}responseMessage = `Invalid IP address ${my_ip}`;n {2}...","paramTypes":["__ecma.String","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":262,"columnNumber":0},{"callName":"listen","resolvedMethod":"app.listen(3000, function () {n {2}console.log(`n................................................,,::;;;++*******+++;;::,,...............................................n...............................,+??+,..,,:;+?%SS##@@#####SSSSSSS#####@@@##S%?+;:,,..,+??;...............................n...............................;@@@@S*;*#@@##S%?***++++++++++++++++++++**?%S##@@S*;?S@@@@;..............................n...............................+#%S###%??;;++++;;;;+*?+,,;?*,,;+,,+;:+*;;*++++;+??S###S%@;..............................n...........................:*%+?S+S#%*?%%?+;*??:.;;.;*,,:.+*.,,.,.+,,,;.:???*;+?%%?*S#%*#**%+:..........................n.......................,;?S@@S;S%+%#S:.:?%%*:;*+.;;,;;,;+;:+:++*+:+,*:..+?+::?%%?:.;SS?+S%+S@@S*;,......................n....................,;%#@#%*;;:#?;?SS+..,?%??;:;;+++*++***+++++*++****++*:,;?*S?,.,+#S?;%S:;;*%#@#?;,...................n...................:#@#?+;;+**:S%:?S#+...:#***+::;??%%SSS#######SSS%%??;:;+?*?S:..,*#S?:S%:**+;;+%@@S...","paramTypes":["__ecma.Number","LAMBDA"],"returnType":"ANY","isExternal":true,"lineNumber":293,"columnNumber":0}],"argToCalls":[]},{"targetObj":{"name":"then","typeFullName":"ANY","resolvedMethod":"index.js::program:import:<returnValue>:then","isExternal":true,"lineNumber":10,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"then","typeFullName":"ANY","resolvedMethod":"index.js::program:import:<returnValue>:then","isExternal":true,"lineNumber":10,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":true,"lineNumber":7,"columnNumber":13,"label":"CALL"},"definedBy":{"name":"require","typeFullName":"ANY","resolvedMethod":"index.js::program:require","isExternal":true,"lineNumber":7,"columnNumber":13,"label":"CALL"},"invokedCalls":[],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous","signature":"","fileName":"index.js","lineNumber":10,"columnNumber":29,"usages":[{"targetObj":{"name":"(module)","typeFullName":"ANY","lineNumber":10,"columnNumber":29,"label":"UNKNOWN"},"definedBy":{"name":"(module)","typeFullName":"ANY","lineNumber":10,"columnNumber":29,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.assignment","typeFullName":"ANY","resolvedMethod":"<operator>.assignment","isExternal":true,"lineNumber":23,"columnNumber":4,"label":"CALL"},"definedBy":{"name":"<operator>.assignment","typeFullName":"ANY","resolvedMethod":"<operator>.assignment","isExternal":true,"lineNumber":23,"columnNumber":4,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.fieldAccess","typeFullName":"ANY","resolvedMethod":"<operator>.fieldAccess","isExternal":true,"lineNumber":293,"columnNumber":0,"label":"CALL"},"definedBy":{"name":"<operator>.fieldAccess","typeFullName":"ANY","resolvedMethod":"<operator>.fieldAccess","isExternal":true,"lineNumber":293,"columnNumber":0,"label":"CALL"},"invokedCalls":[],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous1","signature":"","fileName":"index.js","lineNumber":28,"columnNumber":13,"usages":[{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":28,"columnNumber":13,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":28,"columnNumber":13,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":28,"columnNumber":28,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":28,"columnNumber":28,"label":"PARAM"},"invokedCalls":[{"callName":"sendFile","resolvedMethod":"res.sendFile","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":29,"columnNumber":4}],"argToCalls":[]},{"targetObj":{"name":"<operator>.addition","typeFullName":"ANY","resolvedMethod":"<operator>.addition","isExternal":true,"lineNumber":269,"columnNumber":14,"label":"CALL"},"definedBy":{"name":"<operator>.addition","typeFullName":"ANY","resolvedMethod":"<operator>.addition","isExternal":true,"lineNumber":269,"columnNumber":14,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"sendFile","typeFullName":"ANY","resolvedMethod":"res.sendFile","isExternal":true,"lineNumber":35,"columnNumber":4,"label":"CALL"},"definedBy":{"name":"sendFile","typeFullName":"ANY","resolvedMethod":"res.sendFile","isExternal":true,"lineNumber":35,"columnNumber":4,"label":"CALL"},"invokedCalls":[],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous2","signature":"","fileName":"index.js","lineNumber":31,"columnNumber":21,"usages":[{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":31,"columnNumber":21,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":31,"columnNumber":21,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":31,"columnNumber":36,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":31,"columnNumber":36,"label":"PARAM"},"invokedCalls":[{"callName":"sendFile","resolvedMethod":"res.sendFile","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":32,"columnNumber":4}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous3","signature":"","fileName":"index.js","lineNumber":34,"columnNumber":20,"usages":[{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":34,"columnNumber":20,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":34,"columnNumber":20,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":34,"columnNumber":35,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":34,"columnNumber":35,"label":"PARAM"},"invokedCalls":[{"callName":"sendFile","resolvedMethod":"res.sendFile","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":35,"columnNumber":4}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous4","signature":"","fileName":"index.js","lineNumber":38,"columnNumber":25,"usages":[{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":38,"columnNumber":25,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":38,"columnNumber":25,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":38,"columnNumber":40,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":38,"columnNumber":40,"label":"PARAM"},"invokedCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["__ecma.String"],"returnType":"ANY","isExternal":null,"lineNumber":39,"columnNumber":2}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous5","signature":"","fileName":"index.js","lineNumber":74,"columnNumber":26,"usages":[{"targetObj":{"name":"now","typeFullName":"ANY","resolvedMethod":"DateConstructor:now","isExternal":true,"lineNumber":81,"columnNumber":23,"label":"CALL"},"definedBy":{"name":"now","typeFullName":"ANY","resolvedMethod":"DateConstructor:now","isExternal":true,"lineNumber":81,"columnNumber":23,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"log","typeFullName":"ANY","resolvedMethod":"__whatwg.console:log","isExternal":true,"lineNumber":294,"columnNumber":4,"label":"CALL"},"definedBy":{"name":"log","typeFullName":"ANY","resolvedMethod":"__whatwg.console:log","isExternal":true,"lineNumber":294,"columnNumber":4,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"min","typeFullName":"ANY","resolvedMethod":"__ecma.Math:min","isExternal":true,"lineNumber":77,"columnNumber":46,"label":"CALL"},"definedBy":{"name":"min","typeFullName":"ANY","resolvedMethod":"__ecma.Math:min","isExternal":true,"lineNumber":77,"columnNumber":46,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":74,"columnNumber":26,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":74,"columnNumber":26,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.greaterThan","typeFullName":"ANY","resolvedMethod":"<operator>.greaterThan","isExternal":true,"lineNumber":85,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"<operator>.greaterThan","typeFullName":"ANY","resolvedMethod":"<operator>.greaterThan","isExternal":true,"lineNumber":85,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.formatString","typeFullName":"ANY","resolvedMethod":"<operator>.formatString","isExternal":true,"lineNumber":285,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"<operator>.formatString","typeFullName":"ANY","resolvedMethod":"<operator>.formatString","isExternal":true,"lineNumber":285,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"fill","typeFullName":"ANY","resolvedMethod":"ArrayConstructor:from:<returnValue>:fill","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"fill","typeFullName":"ANY","resolvedMethod":"ArrayConstructor:from:<returnValue>:fill","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"from","typeFullName":"ANY","resolvedMethod":"ArrayConstructor:from","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"from","typeFullName":"ANY","resolvedMethod":"ArrayConstructor:from","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"join","typeFullName":"ANY","resolvedMethod":"Array.from","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"join","typeFullName":"ANY","resolvedMethod":"Array.from","isExternal":true,"lineNumber":77,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"string","typeFullName":"__ecma.String","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"String","typeFullName":"ANY","resolvedMethod":"<operator>.addition","isExternal":null,"lineNumber":77,"columnNumber":19,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"end","resolvedMethod":"trimNewlines.end","paramTypes":["__ecma.String"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":79,"columnNumber":26}]},{"targetObj":{"name":"payload","typeFullName":"payload","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"req.body.payload","typeFullName":"ANY","resolvedMethod":"<operator>.fieldAccess","isExternal":null,"lineNumber":75,"columnNumber":20,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"fill","resolvedMethod":"Array.from","paramTypes":["ANY"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":77,"columnNumber":26}]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":74,"columnNumber":41,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":74,"columnNumber":41,"label":"PARAM"},"invokedCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["ANY"],"returnType":"ANY","isExternal":true,"lineNumber":92,"columnNumber":4}],"argToCalls":[]},{"targetObj":{"name":"end","typeFullName":"ANY","resolvedMethod":"module:default:<returnValue>:<member>(default):end","isExternal":true,"lineNumber":79,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"end","typeFullName":"ANY","resolvedMethod":"module:default:<returnValue>:<member>(default):end","isExternal":true,"lineNumber":79,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"String","typeFullName":"ANY","resolvedMethod":"String","isExternal":true,"lineNumber":77,"columnNumber":19,"label":"CALL"},"definedBy":{"name":"String","typeFullName":"ANY","resolvedMethod":"String","isExternal":true,"lineNumber":77,"columnNumber":19,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"send","typeFullName":"ANY","resolvedMethod":"res.send","isExternal":true,"lineNumber":288,"columnNumber":4,"label":"CALL"},"definedBy":{"name":"send","typeFullName":"ANY","resolvedMethod":"res.send","isExternal":true,"lineNumber":288,"columnNumber":4,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"<operator>.subtraction","typeFullName":"ANY","resolvedMethod":"<operator>.subtraction","isExternal":true,"lineNumber":81,"columnNumber":23,"label":"CALL"},"definedBy":{"name":"<operator>.subtraction","typeFullName":"ANY","resolvedMethod":"<operator>.subtraction","isExternal":true,"lineNumber":81,"columnNumber":23,"label":"CALL"},"invokedCalls":[],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous6","signature":"","fileName":"index.js","lineNumber":126,"columnNumber":22,"usages":[{"targetObj":{"name":"markdownResume","typeFullName":"markdownResume","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"req.body.markdownResume","typeFullName":"ANY","resolvedMethod":"<operator>.fieldAccess","isExternal":null,"lineNumber":129,"columnNumber":25,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"marked","resolvedMethod":"marked","paramTypes":["ANY"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":133,"columnNumber":21}]},{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":126,"columnNumber":22,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":126,"columnNumber":22,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"marked","typeFullName":"ANY","resolvedMethod":"marked","isExternal":true,"lineNumber":133,"columnNumber":21,"label":"CALL"},"definedBy":{"name":"marked","typeFullName":"ANY","resolvedMethod":"marked","isExternal":true,"lineNumber":133,"columnNumber":21,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"htmlResponse","typeFullName":"__ecma.String","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"<operator>.formatString","typeFullName":"ANY","resolvedMethod":"<operator>.formatString","isExternal":null,"lineNumber":135,"columnNumber":23,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["__ecma.String"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":155,"columnNumber":4}]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":126,"columnNumber":37,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":126,"columnNumber":37,"label":"PARAM"},"invokedCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["__ecma.String"],"returnType":"ANY","isExternal":true,"lineNumber":155,"columnNumber":4}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous7","signature":"","fileName":"index.js","lineNumber":158,"columnNumber":20,"usages":[{"targetObj":{"name":"function(req, res)","typeFullName":"ANY","lineNumber":158,"columnNumber":20,"label":"UNKNOWN"},"definedBy":{"name":"function(req, res)","typeFullName":"ANY","lineNumber":158,"columnNumber":20,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":158,"columnNumber":34,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":158,"columnNumber":34,"label":"PARAM"},"invokedCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["__ecma.String"],"returnType":"ANY","isExternal":true,"lineNumber":159,"columnNumber":4}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous8","signature":"","fileName":"index.js","lineNumber":262,"columnNumber":21,"usages":[{"targetObj":{"name":"then","typeFullName":"ANY","resolvedMethod":"fetch:<returnValue>:then","isExternal":true,"lineNumber":269,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"then","typeFullName":"ANY","resolvedMethod":"fetch:<returnValue>:then","isExternal":true,"lineNumber":269,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"then","typeFullName":"ANY","resolvedMethod":"fetch","isExternal":true,"lineNumber":269,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"then","typeFullName":"ANY","resolvedMethod":"fetch","isExternal":true,"lineNumber":269,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"my_ip","typeFullName":"ip","lineNumber":null,"columnNumber":null,"label":"LOCAL"},"definedBy":{"name":"req.body.ip","typeFullName":"ANY","resolvedMethod":"<operator>.fieldAccess","isExternal":null,"lineNumber":263,"columnNumber":16,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"isPublic","resolvedMethod":"ip.isPublic","paramTypes":["ip"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":267,"columnNumber":8},{"callName":"isPrivate","resolvedMethod":"ip.isPrivate","paramTypes":["ip"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":280,"columnNumber":15}]},{"targetObj":{"name":"isPrivate","typeFullName":"ANY","resolvedMethod":"ip:isPrivate","isExternal":true,"lineNumber":280,"columnNumber":15,"label":"CALL"},"definedBy":{"name":"isPrivate","typeFullName":"ANY","resolvedMethod":"ip:isPrivate","isExternal":true,"lineNumber":280,"columnNumber":15,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"isPublic","typeFullName":"ANY","resolvedMethod":"ip:isPublic","isExternal":true,"lineNumber":267,"columnNumber":8,"label":"CALL"},"definedBy":{"name":"isPublic","typeFullName":"ANY","resolvedMethod":"ip:isPublic","isExternal":true,"lineNumber":267,"columnNumber":8,"label":"CALL"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":262,"columnNumber":21,"label":"UNKNOWN"},"definedBy":{"name":"function (req, res)","typeFullName":"ANY","lineNumber":262,"columnNumber":21,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":262,"columnNumber":36,"label":"PARAM"},"definedBy":{"name":"res","typeFullName":"ANY","position":2,"lineNumber":262,"columnNumber":36,"label":"PARAM"},"invokedCalls":[{"callName":"send","resolvedMethod":"res.send","paramTypes":["__ecma.String"],"returnType":"ANY","isExternal":true,"lineNumber":288,"columnNumber":4}],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous8:anonymous","signature":"","fileName":"index.js","lineNumber":270,"columnNumber":14,"usages":[{"targetObj":{"name":"response => response.text()","typeFullName":"ANY","lineNumber":270,"columnNumber":14,"label":"UNKNOWN"},"definedBy":{"name":"response => response.text()","typeFullName":"ANY","lineNumber":270,"columnNumber":14,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"response","typeFullName":"Response","position":1,"lineNumber":270,"columnNumber":14,"label":"PARAM"},"definedBy":{"name":"response","typeFullName":"Response","position":1,"lineNumber":270,"columnNumber":14,"label":"PARAM"},"invokedCalls":[{"callName":"text","resolvedMethod":"response.text","paramTypes":[],"returnType":"ANY","isExternal":true,"lineNumber":270,"columnNumber":26}],"argToCalls":[]},{"targetObj":{"name":"text","typeFullName":"ANY","resolvedMethod":"Response:text","isExternal":true,"lineNumber":270,"columnNumber":26,"label":"CALL"},"definedBy":{"name":"text","typeFullName":"ANY","resolvedMethod":"Response:text","isExternal":true,"lineNumber":270,"columnNumber":26,"label":"CALL"},"invokedCalls":[],"argToCalls":[]}]},{"code":"","fullName":"index.js::program:anonymous8:anonymous1","signature":"","fileName":"index.js","lineNumber":271,"columnNumber":14,"usages":[{"targetObj":{"name":"html => { responseMessage = html; // Set responseMessage to the contents of index.html console.log","typeFullName":"ANY","lineNumber":271,"columnNumber":14,"label":"UNKNOWN"},"definedBy":{"name":"html => { responseMessage = html; // Set responseMessage to the contents of index.html console.log","typeFullName":"ANY","lineNumber":271,"columnNumber":14,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"html","typeFullName":"__ecma.String","position":1,"lineNumber":271,"columnNumber":14,"label":"PARAM"},"definedBy":{"name":"html","typeFullName":"__ecma.String","position":1,"lineNumber":271,"columnNumber":14,"label":"PARAM"},"invokedCalls":[],"argToCalls":[{"callName":"log","resolvedMethod":"console.log","paramTypes":["__ecma.String"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":274,"columnNumber":9}]}]},{"code":"","fullName":"index.js::program:anonymous8:anonymous2","signature":"","fileName":"index.js","lineNumber":276,"columnNumber":15,"usages":[{"targetObj":{"name":"error => { responseMessage = \"Error fetching index.html: \" + error; console.error","typeFullName":"ANY","lineNumber":276,"columnNumber":15,"label":"UNKNOWN"},"definedBy":{"name":"error => { responseMessage = \"Error fetching index.html: \" + error; console.error","typeFullName":"ANY","lineNumber":276,"columnNumber":15,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]},{"targetObj":{"name":"error","typeFullName":"void","position":1,"lineNumber":276,"columnNumber":15,"label":"PARAM"},"definedBy":{"name":"error","typeFullName":"void","position":1,"lineNumber":276,"columnNumber":15,"label":"PARAM"},"invokedCalls":[],"argToCalls":[{"callName":"error","resolvedMethod":"console.error","paramTypes":["void"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":278,"columnNumber":12}]},{"targetObj":{"name":"error","typeFullName":"ANY","resolvedMethod":"__whatwg.console:error","isExternal":true,"lineNumber":278,"columnNumber":12,"label":"CALL"},"definedBy":{"name":"error","typeFullName":"ANY","resolvedMethod":"__whatwg.console:error","isExternal":true,"lineNumber":278,"columnNumber":12,"label":"CALL"},"invokedCalls":[],"argToCalls":[{"callName":"error","resolvedMethod":"console.error","paramTypes":["void"],"returnType":"ANY","position":1,"isExternal":true,"lineNumber":278,"columnNumber":12}]}]},{"code":"","fullName":"index.js::program:anonymous9","signature":"","fileName":"index.js","lineNumber":293,"columnNumber":17,"usages":[{"targetObj":{"name":"function ()","typeFullName":"ANY","lineNumber":293,"columnNumber":17,"label":"UNKNOWN"},"definedBy":{"name":"function ()","typeFullName":"ANY","lineNumber":293,"columnNumber":17,"label":"UNKNOWN"},"invokedCalls":[],"argToCalls":[]}]}],"userDefinedTypes":[]}