@oculum/cli 1.0.11 → 1.0.13
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.
- package/dist/index.js +57 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46584,20 +46584,37 @@ async function watch2(targetPath, options) {
|
|
|
46584
46584
|
isScanning = false;
|
|
46585
46585
|
runScanOnChanges();
|
|
46586
46586
|
};
|
|
46587
|
+
const watcherIgnore = [
|
|
46588
|
+
"**/node_modules/**",
|
|
46589
|
+
"**/dist/**",
|
|
46590
|
+
"**/build/**",
|
|
46591
|
+
"**/.git/**",
|
|
46592
|
+
"**/vendor/**",
|
|
46593
|
+
"**/__pycache__/**",
|
|
46594
|
+
"**/venv/**",
|
|
46595
|
+
"**/.venv/**",
|
|
46596
|
+
"**/coverage/**",
|
|
46597
|
+
"**/.next/**",
|
|
46598
|
+
"**/.nuxt/**",
|
|
46599
|
+
"**/.turbo/**",
|
|
46600
|
+
"**/out/**",
|
|
46601
|
+
"**/.cache/**",
|
|
46602
|
+
"**/.vercel/**",
|
|
46603
|
+
"**/.netlify/**",
|
|
46604
|
+
"**/target/**",
|
|
46605
|
+
"**/.gradle/**",
|
|
46606
|
+
"**/.mvn/**",
|
|
46607
|
+
"**/bower_components/**",
|
|
46608
|
+
"**/.yarn/**",
|
|
46609
|
+
"**/package-lock.json",
|
|
46610
|
+
"**/yarn.lock",
|
|
46611
|
+
"**/pnpm-lock.yaml",
|
|
46612
|
+
"**/*.min.js",
|
|
46613
|
+
"**/*.min.css",
|
|
46614
|
+
"**/*.bundle.js"
|
|
46615
|
+
];
|
|
46587
46616
|
const watcher = esm_default.watch(absolutePath, {
|
|
46588
|
-
ignored:
|
|
46589
|
-
"**/node_modules/**",
|
|
46590
|
-
"**/dist/**",
|
|
46591
|
-
"**/build/**",
|
|
46592
|
-
"**/.git/**",
|
|
46593
|
-
"**/vendor/**",
|
|
46594
|
-
"**/__pycache__/**",
|
|
46595
|
-
"**/venv/**",
|
|
46596
|
-
"**/.venv/**",
|
|
46597
|
-
"**/coverage/**",
|
|
46598
|
-
"**/.next/**",
|
|
46599
|
-
"**/.nuxt/**"
|
|
46600
|
-
],
|
|
46617
|
+
ignored: watcherIgnore,
|
|
46601
46618
|
persistent: true,
|
|
46602
46619
|
ignoreInitial: true
|
|
46603
46620
|
});
|
|
@@ -46685,7 +46702,32 @@ async function watch2(targetPath, options) {
|
|
|
46685
46702
|
"**/build/**",
|
|
46686
46703
|
"**/.git/**",
|
|
46687
46704
|
"**/vendor/**",
|
|
46688
|
-
"**/__pycache__/**"
|
|
46705
|
+
"**/__pycache__/**",
|
|
46706
|
+
"**/venv/**",
|
|
46707
|
+
"**/.venv/**",
|
|
46708
|
+
"**/coverage/**",
|
|
46709
|
+
"**/.next/**",
|
|
46710
|
+
"**/.nuxt/**",
|
|
46711
|
+
"**/.turbo/**",
|
|
46712
|
+
"**/out/**",
|
|
46713
|
+
"**/.cache/**",
|
|
46714
|
+
"**/.vercel/**",
|
|
46715
|
+
"**/.netlify/**",
|
|
46716
|
+
"**/target/**",
|
|
46717
|
+
"**/bin/**",
|
|
46718
|
+
"**/obj/**",
|
|
46719
|
+
"**/.gradle/**",
|
|
46720
|
+
"**/.mvn/**",
|
|
46721
|
+
"**/bower_components/**",
|
|
46722
|
+
"**/jspm_packages/**",
|
|
46723
|
+
"**/.yarn/**",
|
|
46724
|
+
"**/.pnp.*",
|
|
46725
|
+
"**/package-lock.json",
|
|
46726
|
+
"**/yarn.lock",
|
|
46727
|
+
"**/pnpm-lock.yaml",
|
|
46728
|
+
"**/*.min.js",
|
|
46729
|
+
"**/*.min.css",
|
|
46730
|
+
"**/*.bundle.js"
|
|
46689
46731
|
];
|
|
46690
46732
|
const allFiles = await glob2(patterns, {
|
|
46691
46733
|
cwd: absolutePath,
|
|
@@ -47411,7 +47453,7 @@ function showLogo() {
|
|
|
47411
47453
|
async function showWelcomeScreen() {
|
|
47412
47454
|
console.clear();
|
|
47413
47455
|
showLogo();
|
|
47414
|
-
console.log(source_default.bold.white(" AI-Native Security Scanner for Modern Codebases\n"));
|
|
47456
|
+
console.log(source_default.bold.white(" AI-Native api key Security Scanner for Modern Codebases\n"));
|
|
47415
47457
|
console.log(source_default.dim(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n"));
|
|
47416
47458
|
console.log(source_default.white(" Oculum detects security vulnerabilities in AI-generated"));
|
|
47417
47459
|
console.log(source_default.white(" code and LLM-powered applications, including:\n"));
|
package/package.json
CHANGED