dir-parser
Advanced tools
+67
-2
@@ -1,3 +0,68 @@ | ||
| dir-parser ( Directorys: 1, Files: 4 ) | ||
| ├─ a | ||
| dir-parser ( Directorys: 22, Files: 48 ) | ||
| ├─ .git | ||
| │ ├─ hooks | ||
| │ │ ├─ update.sample | ||
| │ │ ├─ prepare-commit-msg.sample | ||
| │ │ ├─ pre-receive.sample | ||
| │ │ ├─ pre-rebase.sample | ||
| │ │ ├─ pre-push.sample | ||
| │ │ ├─ pre-commit.sample | ||
| │ │ ├─ pre-applypatch.sample | ||
| │ │ ├─ post-update.sample | ||
| │ │ ├─ fsmonitor-watchman.sample | ||
| │ │ ├─ commit-msg.sample | ||
| │ │ └─ applypatch-msg.sample | ||
| │ ├─ info | ||
| │ │ └─ exclude | ||
| │ ├─ logs | ||
| │ │ ├─ refs | ||
| │ │ │ ├─ heads | ||
| │ │ │ │ └─ master | ||
| │ │ │ └─ remotes | ||
| │ │ │ └─ origin | ||
| │ │ │ └─ HEAD | ||
| │ │ └─ HEAD | ||
| │ ├─ objects | ||
| │ │ ├─ info | ||
| │ │ └─ pack | ||
| │ │ ├─ pack-0be23fd0535b137314db8abde1e6ce11518ecc20.pack | ||
| │ │ └─ pack-0be23fd0535b137314db8abde1e6ce11518ecc20.idx | ||
| │ ├─ refs | ||
| │ │ ├─ heads | ||
| │ │ │ └─ master | ||
| │ │ ├─ remotes | ||
| │ │ │ └─ origin | ||
| │ │ │ └─ HEAD | ||
| │ │ └─ tags | ||
| │ ├─ packed-refs | ||
| │ ├─ index | ||
| │ ├─ HEAD | ||
| │ ├─ description | ||
| │ └─ config | ||
| ├─ node_modules | ||
| │ ├─ commander | ||
| │ │ ├─ typings | ||
| │ │ │ └─ index.d.ts | ||
| │ │ ├─ Readme.md | ||
| │ │ ├─ package.json | ||
| │ │ ├─ LICENSE | ||
| │ │ ├─ index.js | ||
| │ │ └─ CHANGELOG.md | ||
| │ ├─ funclib | ||
| │ │ ├─ README.md | ||
| │ │ ├─ package.json | ||
| │ │ ├─ index.js | ||
| │ │ ├─ index.d.ts | ||
| │ │ ├─ funclib.min.js | ||
| │ │ ├─ funclib.js | ||
| │ │ └─ funclib.core.js | ||
| │ └─ progress | ||
| │ ├─ lib | ||
| │ │ └─ node-progress.js | ||
| │ ├─ Readme.md | ||
| │ ├─ package.json | ||
| │ ├─ Makefile | ||
| │ ├─ LICENSE | ||
| │ ├─ index.js | ||
| │ └─ CHANGELOG.md | ||
| ├─ README.md | ||
@@ -4,0 +69,0 @@ ├─ package.json |
+6
-6
@@ -101,6 +101,6 @@ #!/usr/bin/env node | ||
| if (i === dirs.length - 1 && files.length === 0) { | ||
| parseResult += `${prev} └─ ${dirs[i]}\n`; | ||
| parseResult += `${prev} └─ ${dirs[i]}\r\n`; | ||
| split = ' '; | ||
| } else { | ||
| parseResult += `${prev} ├─ ${dirs[i]}\n`; | ||
| parseResult += `${prev} ├─ ${dirs[i]}\r\n`; | ||
| split = ' │'; | ||
@@ -115,5 +115,5 @@ } | ||
| if (i === 0) { | ||
| parseResult += `${prev} └─ ${files[i]}\n`; | ||
| parseResult += `${prev} └─ ${files[i]}\r\n`; | ||
| } else { | ||
| parseResult += `${prev} ├─ ${files[i]}\n`; | ||
| parseResult += `${prev} ├─ ${files[i]}\r\n`; | ||
| } | ||
@@ -127,5 +127,5 @@ } | ||
| if (noNum) { | ||
| parseResult = `${dirName}\n${parseResult}`; | ||
| parseResult = `${dirName}\r\n${parseResult}`; | ||
| } else { | ||
| parseResult = `${dirName} ( Directorys: ${count.dirs}, Files: ${count.files} )\n${parseResult}`; | ||
| parseResult = `${dirName} ( Directorys: ${count.dirs}, Files: ${count.files} )\r\n${parseResult}`; | ||
| } | ||
@@ -132,0 +132,0 @@ |
+1
-1
| { | ||
| "name": "dir-parser", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "Parse a directory and generate it's structure tree.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8433
26.7%