fast-code-cli
Advanced tools
+4
-4
| #!/usr/bin/env node | ||
| const fs = require('fs'); | ||
| const path = require('path'); | ||
| const inquirer = require('inquirer'); // 假设使用inquirer进行交互式输入 | ||
| const { exec } = require('child_process'); | ||
| import fs from 'fs'; | ||
| import path from 'path'; | ||
| import inquirer from 'inquirer'; // 假设inquirer已支持ES模块 | ||
| import { exec } from 'child_process'; | ||
@@ -8,0 +8,0 @@ // 示例:询问用户项目名称 |
+2
-1
| { | ||
| "name": "fast-code-cli", | ||
| "version": "1.0.6", | ||
| "version": "1.0.7", | ||
| "description": "", | ||
| "main": "index.js", | ||
| "type": "commonjs", | ||
| "scripts": { | ||
@@ -7,0 +8,0 @@ "push": "npm version patch && npm publish" |
System shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
System shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
1927
-0.41%