muaddib-scanner 2.2.25 → 2.2.26

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.2.25",
3
+ "version": "2.2.26",
4
4
  "description": "Supply-chain threat detection & response for npm & PyPI/Python",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -753,6 +753,7 @@ async function scrapeOSVDataDump() {
753
753
 
754
754
  if ((i + 1) % 1000 === 0 || i === entries.length - 1) {
755
755
  spinner.update('Parsing npm entries... ' + (i + 1) + '/' + total);
756
+ await new Promise(resolve => setImmediate(resolve));
756
757
  }
757
758
  }
758
759
 
@@ -811,6 +812,7 @@ async function scrapeOSVPyPIDataDump() {
811
812
 
812
813
  if ((i + 1) % 1000 === 0 || i === entries.length - 1) {
813
814
  spinner.update('Parsing PyPI entries... ' + (i + 1) + '/' + total);
815
+ await new Promise(resolve => setImmediate(resolve));
814
816
  }
815
817
  }
816
818