cognium-dev 4.9.7 → 4.9.8
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/cli.js +12 -3
- package/package.json +6 -6
package/dist/cli.js
CHANGED
|
@@ -48731,7 +48731,7 @@ var colors = {
|
|
|
48731
48731
|
};
|
|
48732
48732
|
|
|
48733
48733
|
// src/version.ts
|
|
48734
|
-
var version = "4.9.
|
|
48734
|
+
var version = "4.9.8";
|
|
48735
48735
|
|
|
48736
48736
|
// src/formatters.ts
|
|
48737
48737
|
var LIBRARY_API_SURFACE_TAG2 = "library-api-surface:caller-responsibility";
|
|
@@ -49282,6 +49282,12 @@ function generateSarifResults(results, crossFileData) {
|
|
|
49282
49282
|
return sarifResults;
|
|
49283
49283
|
}
|
|
49284
49284
|
|
|
49285
|
+
// src/build-info.ts
|
|
49286
|
+
var buildInfo = {
|
|
49287
|
+
gitSha: "5e6bcc1",
|
|
49288
|
+
builtAt: "2026-08-25T19:50:02.936Z"
|
|
49289
|
+
};
|
|
49290
|
+
|
|
49285
49291
|
// src/utils/args.ts
|
|
49286
49292
|
function parseArgs(argv) {
|
|
49287
49293
|
const args2 = [];
|
|
@@ -49422,8 +49428,11 @@ EXAMPLES:
|
|
|
49422
49428
|
For more information, visit: https://cognium.dev
|
|
49423
49429
|
`);
|
|
49424
49430
|
}
|
|
49425
|
-
function showVersion(version2) {
|
|
49431
|
+
function showVersion(version2, buildInfo2) {
|
|
49426
49432
|
console.log(`cognium-dev v${version2}`);
|
|
49433
|
+
if (buildInfo2?.builtAt) {
|
|
49434
|
+
console.log(`build ${buildInfo2.gitSha} · ${buildInfo2.builtAt}`);
|
|
49435
|
+
}
|
|
49427
49436
|
console.log(`Powered by Cognium Labs`);
|
|
49428
49437
|
}
|
|
49429
49438
|
|
|
@@ -50557,7 +50566,7 @@ async function main() {
|
|
|
50557
50566
|
return;
|
|
50558
50567
|
}
|
|
50559
50568
|
if (command === "version" || options.version || options.V) {
|
|
50560
|
-
showVersion(version);
|
|
50569
|
+
showVersion(version, buildInfo);
|
|
50561
50570
|
return;
|
|
50562
50571
|
}
|
|
50563
50572
|
if (command === "init") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cognium-dev",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.8",
|
|
4
4
|
"description": "Static Application Security Testing CLI for detecting security vulnerabilities via taint tracking",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"cognium-dev": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "
|
|
12
|
-
"build:standalone": "mkdir -p wasm && cp ../circle-ir/wasm/*.wasm wasm/ &&
|
|
11
|
+
"build": "node scripts/build.mjs",
|
|
12
|
+
"build:standalone": "mkdir -p wasm && cp ../circle-ir/wasm/*.wasm wasm/ && node scripts/build.mjs --standalone",
|
|
13
13
|
"dev": "bun run src/cli.ts",
|
|
14
14
|
"test": "bun test",
|
|
15
15
|
"clean": "rm -rf dist cognium-dev cognium-dev-* *.bun-build wasm",
|
|
16
16
|
"typecheck": "tsc --noEmit",
|
|
17
|
-
"version": "node -e \"const v = require('./package.json').version; require('fs').writeFileSync('src/version.ts', '/**\\n * Version information\\n *\\n * Kept in sync with package.json via the \\`version\\` npm lifecycle script.\\n * Do not edit manually
|
|
17
|
+
"version": "node -e \"const v = require('./package.json').version; require('fs').writeFileSync('src/version.ts', '/**\\n * Version information\\n *\\n * Kept in sync with package.json via the \\`version\\` npm lifecycle script.\\n * Do not edit manually \u2014 use \\`npm version patch|minor|major\\` instead.\\n */\\nexport const version = \\x27' + v + '\\x27;\\n')\" && git add src/version.ts",
|
|
18
18
|
"dogfood": "bun run src/cli.ts scan src/ -q",
|
|
19
19
|
"prepublishOnly": "bun run build"
|
|
20
20
|
},
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"registry": "https://registry.npmjs.org/"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@cognium/project-profile-detect": "
|
|
69
|
-
"circle-ir": "
|
|
68
|
+
"@cognium/project-profile-detect": "1.1.0",
|
|
69
|
+
"circle-ir": "4.9.8"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^25.5.0",
|