muaddib-scanner 2.3.0 → 2.3.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/package.json +6 -6
- package/src/monitor.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muaddib-scanner",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Supply-chain threat detection & response for npm & PyPI/Python",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"node": ">=18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@inquirer/prompts": "8.
|
|
48
|
-
"acorn": "8.
|
|
49
|
-
"acorn-walk": "8.3.
|
|
47
|
+
"@inquirer/prompts": "8.3.0",
|
|
48
|
+
"acorn": "8.16.0",
|
|
49
|
+
"acorn-walk": "8.3.5",
|
|
50
50
|
"adm-zip": "0.5.16",
|
|
51
51
|
"chalk": "5.6.2",
|
|
52
52
|
"js-yaml": "4.1.1",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "10.0.1",
|
|
57
|
-
"eslint": "10.0.
|
|
58
|
-
"eslint-plugin-security": "^
|
|
57
|
+
"eslint": "10.0.2",
|
|
58
|
+
"eslint-plugin-security": "^4.0.0",
|
|
59
59
|
"globals": "17.3.0"
|
|
60
60
|
}
|
|
61
61
|
}
|
package/src/monitor.js
CHANGED
|
@@ -1640,9 +1640,9 @@ function getTemporalMaxSeverity(temporalResult, astResult, publishResult, mainta
|
|
|
1640
1640
|
if (astResult && astResult.suspicious && astResult.findings) {
|
|
1641
1641
|
allFindings.push(...astResult.findings);
|
|
1642
1642
|
}
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1643
|
+
// publishResult deliberately excluded — publish anomalies alone (nightly builds,
|
|
1644
|
+
// burst releases) should not trigger temporal preservation. They are handled
|
|
1645
|
+
// separately by isPublishAnomalyOnly().
|
|
1646
1646
|
if (maintainerResult && maintainerResult.suspicious && maintainerResult.findings) {
|
|
1647
1647
|
allFindings.push(...maintainerResult.findings);
|
|
1648
1648
|
}
|