muaddib-scanner 2.3.2 → 2.3.4

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/README.md CHANGED
@@ -21,7 +21,7 @@
21
21
  </p>
22
22
 
23
23
  <p align="center">
24
- <a href="README.fr.md">Version francaise</a>
24
+ <a href="docs/README.fr.md">Version francaise</a>
25
25
  </p>
26
26
 
27
27
  ---
package/bin/muaddib.js CHANGED
@@ -3,7 +3,6 @@ const { exec } = require('child_process');
3
3
  const { run } = require('../src/index.js');
4
4
  const { updateIOCs } = require('../src/ioc/updater.js');
5
5
  const { watch } = require('../src/watch.js');
6
- const { startDaemon } = require('../src/daemon.js');
7
6
  const { runScraper } = require('../src/ioc/scraper.js');
8
7
  const { safeInstall } = require('../src/safe-install.js');
9
8
  const { buildSandboxImage, runSandbox, generateNetworkReport } = require('../src/sandbox.js');
@@ -279,6 +278,7 @@ async function interactiveMenu() {
279
278
  message: 'Webhook URL:'
280
279
  });
281
280
  }
281
+ const { startDaemon } = require('../src/daemon.js');
282
282
  startDaemon({ webhook });
283
283
  }
284
284
 
@@ -593,6 +593,7 @@ if (command === 'version' || command === '--version' || command === '-v') {
593
593
  });
594
594
  }
595
595
  } else if (command === 'daemon') {
596
+ const { startDaemon } = require('../src/daemon.js');
596
597
  startDaemon({ webhook: webhookUrl });
597
598
  } else if (command === 'install' || command === 'i') {
598
599
  const packages = options.filter(o => !o.startsWith('-'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muaddib-scanner",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "Supply-chain threat detection & response for npm & PyPI/Python",
5
5
  "main": "src/index.js",
6
6
  "bin": {