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 +1 -1
- package/src/ioc/scraper.js +2 -0
package/package.json
CHANGED
package/src/ioc/scraper.js
CHANGED
|
@@ -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
|
|