@quantracode/vibecheck 0.3.1 → 0.3.2

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- declare const CLI_VERSION = "0.3.1";
2
+ declare const CLI_VERSION = "0.3.2";
3
3
 
4
4
  export { CLI_VERSION };
package/dist/index.js CHANGED
@@ -547,7 +547,7 @@ function validateArtifact(json) {
547
547
  }
548
548
 
549
549
  // src/constants.ts
550
- var CLI_VERSION = "0.3.1";
550
+ var CLI_VERSION = "0.3.2";
551
551
 
552
552
  // src/utils/file-utils.ts
553
553
  import fs from "fs";
@@ -5725,7 +5725,7 @@ async function scanPostinstallScripts(context) {
5725
5725
  startLine: 1,
5726
5726
  endLine: 1,
5727
5727
  snippet: `"${scriptKey}": "${script.length > 100 ? script.slice(0, 100) + "..." : script}"`,
5728
- context: "Install script definition"
5728
+ label: "Install script definition"
5729
5729
  }
5730
5730
  ],
5731
5731
  remediation: {
@@ -5789,7 +5789,7 @@ async function scanVersionRanges(context) {
5789
5789
  startLine: 1,
5790
5790
  endLine: 1,
5791
5791
  snippet: `"${name}": "${version}"`,
5792
- context: `${isDevDep ? "devDependencies" : "dependencies"} - ${criticalInfo.reason}`
5792
+ label: `${isDevDep ? "devDependencies" : "dependencies"} - ${criticalInfo.reason}`
5793
5793
  }
5794
5794
  ],
5795
5795
  remediation: {
@@ -6076,7 +6076,7 @@ async function scanDeprecatedPackages(context) {
6076
6076
  startLine: 1,
6077
6077
  endLine: 1,
6078
6078
  snippet: `"${name}": "${version}"`,
6079
- context: isDevDep ? "devDependencies" : "dependencies"
6079
+ label: isDevDep ? "devDependencies" : "dependencies"
6080
6080
  }
6081
6081
  ],
6082
6082
  remediation: {
@@ -6158,7 +6158,7 @@ Detected packages:
6158
6158
  startLine: 1,
6159
6159
  endLine: 1,
6160
6160
  snippet: `"${pkgName}": "${allDeps[pkgName]}"`,
6161
- context: `${getGroupName(group)} authentication library`
6161
+ label: `${getGroupName(group)} authentication library`
6162
6162
  });
6163
6163
  }
6164
6164
  }
@@ -6294,7 +6294,7 @@ async function scanSuspiciousScripts(context) {
6294
6294
  startLine: 1,
6295
6295
  endLine: 1,
6296
6296
  snippet: `${name}@${pkg.version} (hasInstallScripts: true)`,
6297
- context: isDirect ? "Direct dependency" : "Transitive dependency"
6297
+ label: isDirect ? "Direct dependency" : "Transitive dependency"
6298
6298
  },
6299
6299
  ...scriptContent ? [
6300
6300
  {
@@ -6302,7 +6302,7 @@ async function scanSuspiciousScripts(context) {
6302
6302
  startLine: 1,
6303
6303
  endLine: 1,
6304
6304
  snippet: scriptContent.length > 200 ? scriptContent.slice(0, 200) + "..." : scriptContent,
6305
- context: "Install script content"
6305
+ label: "Install script content"
6306
6306
  }
6307
6307
  ] : []
6308
6308
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantracode/vibecheck",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Security scanner for modern web applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",