muaddib-scanner 2.10.27 → 2.10.28

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muaddib-scanner",
3
- "version": "2.10.27",
3
+ "version": "2.10.28",
4
4
  "description": "Supply-chain threat detection & response for npm & PyPI/Python",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -165,7 +165,7 @@ async function startMonitor(options, stats, dailyAlerts, recentlyScanned, downlo
165
165
  process.on('SIGTERM', () => gracefulShutdown('SIGTERM'));
166
166
 
167
167
  // Initial poll + scan
168
- await poll(scanQueue, stats);
168
+ await poll(state, scanQueue, stats);
169
169
  saveState(state, stats);
170
170
  await processQueue(scanQueue, stats, dailyAlerts, recentlyScanned, downloadsCache, sandboxAvailableRef.value);
171
171
 
@@ -173,7 +173,7 @@ async function startMonitor(options, stats, dailyAlerts, recentlyScanned, downlo
173
173
  while (running) {
174
174
  await sleep(POLL_INTERVAL);
175
175
  if (!running) break;
176
- await poll(scanQueue, stats);
176
+ await poll(state, scanQueue, stats);
177
177
  saveState(state, stats);
178
178
  await processQueue(scanQueue, stats, dailyAlerts, recentlyScanned, downloadsCache, sandboxAvailableRef.value);
179
179