cognium-dev 3.106.0 → 3.106.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.
- package/dist/cli.js +11 -11
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -35372,14 +35372,14 @@ function deriveProjectRoot(paths) {
|
|
|
35372
35372
|
}
|
|
35373
35373
|
return common.join("/") || "/";
|
|
35374
35374
|
}
|
|
35375
|
-
//
|
|
35375
|
+
// ../project-profile-detect/dist/index.js
|
|
35376
35376
|
import { relative as relative2 } from "path";
|
|
35377
35377
|
|
|
35378
|
-
//
|
|
35378
|
+
// ../project-profile-detect/dist/walk.js
|
|
35379
35379
|
import { readdir, readFile, stat } from "fs/promises";
|
|
35380
35380
|
import { join, relative } from "path";
|
|
35381
35381
|
|
|
35382
|
-
//
|
|
35382
|
+
// ../project-profile-detect/dist/maven-parse.js
|
|
35383
35383
|
var TAG = (name2) => new RegExp(`<${name2}\\b[^>]*>([\\s\\S]*?)<\\/${name2}>`, "i");
|
|
35384
35384
|
var ALL_TAGS = (name2) => new RegExp(`<${name2}\\b[^>]*>([\\s\\S]*?)<\\/${name2}>`, "gi");
|
|
35385
35385
|
function firstTag(xml, name2) {
|
|
@@ -35447,7 +35447,7 @@ function parseMavenPom(xml, moduleRoot, buildFile, directorySignals) {
|
|
|
35447
35447
|
};
|
|
35448
35448
|
}
|
|
35449
35449
|
|
|
35450
|
-
//
|
|
35450
|
+
// ../project-profile-detect/dist/gradle-parse.js
|
|
35451
35451
|
var GRADLE_PLUGIN_MAP = {
|
|
35452
35452
|
"org.springframework.boot": "spring-boot",
|
|
35453
35453
|
"io.spring.dependency-management": "spring-boot",
|
|
@@ -35512,7 +35512,7 @@ function parseGradleBuild(text, moduleRoot, buildFile, buildSystem, directorySig
|
|
|
35512
35512
|
};
|
|
35513
35513
|
}
|
|
35514
35514
|
|
|
35515
|
-
//
|
|
35515
|
+
// ../project-profile-detect/dist/walk.js
|
|
35516
35516
|
var BUILD_FILES = ["pom.xml", "build.gradle", "build.gradle.kts"];
|
|
35517
35517
|
var SKIP_DIRS = new Set([
|
|
35518
35518
|
"node_modules",
|
|
@@ -35673,7 +35673,7 @@ function ownerOf(file, modules) {
|
|
|
35673
35673
|
return best;
|
|
35674
35674
|
}
|
|
35675
35675
|
|
|
35676
|
-
//
|
|
35676
|
+
// ../project-profile-detect/dist/publication-detect.js
|
|
35677
35677
|
var PUBLIC_REGISTRY_HOSTS = new Set([
|
|
35678
35678
|
"repo.maven.apache.org",
|
|
35679
35679
|
"repo1.maven.org",
|
|
@@ -35698,7 +35698,7 @@ function isPubliclyPublished(urls) {
|
|
|
35698
35698
|
return false;
|
|
35699
35699
|
}
|
|
35700
35700
|
|
|
35701
|
-
//
|
|
35701
|
+
// ../project-profile-detect/dist/shape-resolve.js
|
|
35702
35702
|
function resolveShape(mod) {
|
|
35703
35703
|
const sig = mod.signals;
|
|
35704
35704
|
const has = (tag) => sig.plugins.includes(tag);
|
|
@@ -35743,7 +35743,7 @@ function resolveShape(mod) {
|
|
|
35743
35743
|
return { shape: "unknown", reasons };
|
|
35744
35744
|
}
|
|
35745
35745
|
|
|
35746
|
-
//
|
|
35746
|
+
// ../project-profile-detect/dist/env-resolve.js
|
|
35747
35747
|
var TEST_RE = /(?:^|\/)tests?\//;
|
|
35748
35748
|
var SAMPLE_RE = /(?:^|\/)(?:samples?|examples?|demos?|fixtures?)\//;
|
|
35749
35749
|
var BENCHMARK_RE = /(?:^|\/)benchmarks?\//;
|
|
@@ -35761,7 +35761,7 @@ function resolveEnv(absoluteFile) {
|
|
|
35761
35761
|
return "dev";
|
|
35762
35762
|
}
|
|
35763
35763
|
|
|
35764
|
-
//
|
|
35764
|
+
// ../project-profile-detect/dist/overrides.js
|
|
35765
35765
|
function compileGlob(glob) {
|
|
35766
35766
|
let re = "";
|
|
35767
35767
|
let i2 = 0;
|
|
@@ -35808,7 +35808,7 @@ function applyOverrides(relativePath, compiled) {
|
|
|
35808
35808
|
return;
|
|
35809
35809
|
}
|
|
35810
35810
|
|
|
35811
|
-
//
|
|
35811
|
+
// ../project-profile-detect/dist/index.js
|
|
35812
35812
|
async function detectProjectProfiles(scanRoot, options = {}) {
|
|
35813
35813
|
const modules = await discoverBuildModules(scanRoot);
|
|
35814
35814
|
const files = await enumerateScanFiles(scanRoot);
|
|
@@ -35878,7 +35878,7 @@ var colors = {
|
|
|
35878
35878
|
};
|
|
35879
35879
|
|
|
35880
35880
|
// src/version.ts
|
|
35881
|
-
var version = "3.106.
|
|
35881
|
+
var version = "3.106.1";
|
|
35882
35882
|
|
|
35883
35883
|
// src/formatters.ts
|
|
35884
35884
|
var LIBRARY_API_SURFACE_TAG2 = "library-api-surface:caller-responsibility";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cognium-dev",
|
|
3
|
-
"version": "3.106.
|
|
3
|
+
"version": "3.106.1",
|
|
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",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"registry": "https://registry.npmjs.org/"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
+
"@cognium/project-profile-detect": "^1.0.0",
|
|
68
69
|
"circle-ir": "^3.106.0"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|