Benign npm Download

trace-deps 0.2.4

“A dependency tracing tool.”

Calls JavaScript readFile APIReads files with Node.js
SHA-2566f64c1ab3161f8d6e926ca38ec79b3bc6ec7605b33fbe79637be5145bff8c7b4
MaleculeH₂(CmF)

Evidence

References a public code-forge URL trace.js · lines 25–30
25:30… aths;
26
27 // TODO(6): Consider parallelizing file traversal
28 // https://github.com/FormidableLabs/trace-deps/issues/6
29 for (const depPath of depPaths) {
30 if (!tracedDepPaths.has(depPath) && (/\.(js|mjs)$/).test(depPat …
Calls JavaScript readFile API trace.js · lines 72–79
72:26… y source file path");
73 }
74
75 // Get source.
76 const src = await readFile(srcPath).catch((err) => {
77 // Enhance read error.
78 throw err.code === "ENOENT" ? new Error(`Could not find source file: ${srcPath}`) : err;
79 …
JavaScript comment contains a URL extract.js · lines 99–105
99:8…
100 },
101
102 // ESM: `import()`
103 // https://nodejs.org/api/esm.html#esm_import_expressions
104 //
105 // ``` …
References a public code-forge URL extract.js · lines 214–224
214:56… esolve
215 // TODO(3): Implement `import.meta.resolve()`
216 // https://github.com/FormidableLabs/trace-deps/issues/3
217 });
218
⋯6 lines
package.json declares repository metadata package.json · lines 1–21
1{
2 "name": "trace-deps",
3 "version": "0.2.4",
4 "description": "A dependency tracing tool.",
5 "main": "index.js",
6 "repository": "https://github.com/FormidableLabs/trace-deps",
7 "author": "Ryan Roemer <[email protected]>",
8 "license": "MIT",
⋯13 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.