dir-parser
Advanced tools
+0
-0
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
+0
-0
@@ -0,0 +0,0 @@ export = parser; |
+1
-1
| { | ||
| "name": "dir-parser", | ||
| "version": "2.1.3", | ||
| "version": "2.1.4", | ||
| "description": "Parse a directory and generate it's structure tree.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+0
-0
@@ -0,0 +0,0 @@ { |
+0
-0
@@ -0,0 +0,0 @@ <h1 align="center">😎 文件夹解析器[Dir Parser v2] 😎</h1> |
+0
-0
@@ -0,0 +0,0 @@ <h1 align="center">😎 Dir Parser v2 😎</h1> |
+0
-0
@@ -0,0 +0,0 @@ const fs = require('fs'); |
@@ -294,5 +294,5 @@ const fs = require('fs'); | ||
| } else if (isDirOnly) { | ||
| dirTree = `${tarName} ( directories: ${tarInfo.dirNum} )\r\n${dirTree}`; | ||
| dirTree = `${tarName} ( Directories: ${tarInfo.dirNum} )\r\n${dirTree}`; | ||
| } else { | ||
| dirTree = `${tarName} ( directories: ${tarInfo.dirNum}, Files: ${tarInfo.fileNum} )\r\n${dirTree}`; | ||
| dirTree = `${tarName} ( Directories: ${tarInfo.dirNum}, Files: ${tarInfo.fileNum} )\r\n${dirTree}`; | ||
| } | ||
@@ -299,0 +299,0 @@ tarInfo.dirTree = dirTree.replace(/\r\n$/, ''); |
+0
-0
@@ -0,0 +0,0 @@ const fn = require('funclib'); |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
563098
-0.44%