devmap 0.3.2__tar.gz → 0.3.3__tar.gz
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.
- {devmap-0.3.2 → devmap-0.3.3}/PKG-INFO +1 -1
- {devmap-0.3.2 → devmap-0.3.3}/devmap/_devmap.mjs +14 -5
- {devmap-0.3.2 → devmap-0.3.3}/devmap.egg-info/PKG-INFO +1 -1
- {devmap-0.3.2 → devmap-0.3.3}/pyproject.toml +1 -1
- {devmap-0.3.2 → devmap-0.3.3}/README.md +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/devmap/__init__.py +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/devmap.egg-info/SOURCES.txt +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/devmap.egg-info/dependency_links.txt +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/devmap.egg-info/entry_points.txt +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/devmap.egg-info/top_level.txt +0 -0
- {devmap-0.3.2 → devmap-0.3.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devmap
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Map your machine's dev environment and surface issues (PATH conflicts, ghost binaries, multi-version collisions). fastfetch-for-dev-tools. This PyPI package ships the real devmap CLI (a bundled JavaScript app launched via Node.js or Bun), so `pip install devmap && devmap` works standalone.
|
|
5
5
|
Author: devmap contributors
|
|
6
6
|
License: MIT
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @bun
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var VERSION = "0.3.
|
|
5
|
+
var VERSION = "0.3.3";
|
|
6
6
|
|
|
7
7
|
// src/install.ts
|
|
8
8
|
function isIsolated(i) {
|
|
@@ -555,17 +555,26 @@ var SCA_TOOLS = [
|
|
|
555
555
|
auditArgs: ["-f", "json"],
|
|
556
556
|
parse: (json) => {
|
|
557
557
|
const out = [];
|
|
558
|
+
const sevOf = (s) => s ? toSeverity(s) : "error";
|
|
559
|
+
const seen = new Set;
|
|
560
|
+
const push = (name, vid, sev, title, detail) => {
|
|
561
|
+
const key = `${name}|${vid}`;
|
|
562
|
+
if (seen.has(key))
|
|
563
|
+
return;
|
|
564
|
+
seen.add(key);
|
|
565
|
+
out.push(makeCheck(`security.deps.pipaudit.${vid}`, "vuln", sev, title, detail, [name]));
|
|
566
|
+
};
|
|
558
567
|
for (const dep of json?.dependencies || []) {
|
|
559
568
|
for (const v of dep?.vulns || []) {
|
|
560
|
-
const sev =
|
|
569
|
+
const sev = sevOf(v?.severity);
|
|
561
570
|
const vid = v?.id || "UNKNOWN";
|
|
562
|
-
|
|
571
|
+
push(dep?.name || "?", vid, sev, `${dep?.name || "?"}@${dep?.version || "?"} affected by ${vid} (${sev === "error" ? "HIGH" : "MEDIUM"})`, `${vid}: ${v?.description || ""}. Fix versions: ${(v?.fix_versions || []).join(", ") || "n/a"}.`);
|
|
563
572
|
}
|
|
564
573
|
}
|
|
565
574
|
for (const v of json?.vulnerabilities || []) {
|
|
566
|
-
const sev =
|
|
575
|
+
const sev = sevOf(v?.severity);
|
|
567
576
|
const vid = v?.id || "UNKNOWN";
|
|
568
|
-
|
|
577
|
+
push(v?.name || "?", vid, sev, `${v?.name || "?"} affected by ${vid}`, `${vid}: ${v?.description || ""}.`);
|
|
569
578
|
}
|
|
570
579
|
return out;
|
|
571
580
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devmap
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Map your machine's dev environment and surface issues (PATH conflicts, ghost binaries, multi-version collisions). fastfetch-for-dev-tools. This PyPI package ships the real devmap CLI (a bundled JavaScript app launched via Node.js or Bun), so `pip install devmap && devmap` works standalone.
|
|
5
5
|
Author: devmap contributors
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "devmap"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.3"
|
|
8
8
|
description = "Map your machine's dev environment and surface issues (PATH conflicts, ghost binaries, multi-version collisions). fastfetch-for-dev-tools. This PyPI package ships the real devmap CLI (a bundled JavaScript app launched via Node.js or Bun), so `pip install devmap && devmap` works standalone."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|