vibe-secure 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/scanner.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-secure",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The security scanner for AI-generated applications code",
5
5
  "bin": {
6
6
  "vibe-secure": "index.js"
package/src/scanner.js CHANGED
@@ -8,8 +8,9 @@ async function scanFolder(dir, fileList = []) {
8
8
  const filePath = path.join(dir, file);
9
9
  const stat = await fs.stat(filePath);
10
10
 
11
+ const ignoredDirs = ['node_modules', '.git', '.next', 'dist', 'build', 'out', 'coverage', '.vercel'];
11
12
  if (stat.isDirectory()) {
12
- if (file !== 'node_modules' && file !== '.git') {
13
+ if (!ignoredDirs.includes(file)) {
13
14
  await scanFolder(filePath, fileList);
14
15
  }
15
16
  } else {