@fanboynz/network-scanner 2.0.33 → 2.0.34
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/nwss.js +2 -4
- package/package.json +1 -1
package/nwss.js
CHANGED
|
@@ -210,7 +210,7 @@ const dryRunMode = args.includes('--dry-run');
|
|
|
210
210
|
const compressLogs = args.includes('--compress-logs');
|
|
211
211
|
const removeTempFiles = args.includes('--remove-tempfiles');
|
|
212
212
|
const validateConfig = args.includes('--validate-config');
|
|
213
|
-
|
|
213
|
+
let validateRules = args.includes('--validate-rules');
|
|
214
214
|
const testValidation = args.includes('--test-validation');
|
|
215
215
|
let cleanRules = args.includes('--clean-rules');
|
|
216
216
|
const clearCache = args.includes('--clear-cache');
|
|
@@ -1311,7 +1311,6 @@ function setupFrameHandling(page, forceDebug) {
|
|
|
1311
1311
|
'--disable-client-side-phishing-detection',
|
|
1312
1312
|
'--enable-features=NetworkService',
|
|
1313
1313
|
// Disk space controls - 50MB cache limits
|
|
1314
|
-
'--disable-features=VizDisplayCompositor',
|
|
1315
1314
|
`--disk-cache-size=${CACHE_LIMITS.DISK_CACHE_SIZE}`, // 50MB disk cache
|
|
1316
1315
|
`--media-cache-size=${CACHE_LIMITS.MEDIA_CACHE_SIZE}`, // 50MB media cache
|
|
1317
1316
|
'--disable-application-cache',
|
|
@@ -1324,7 +1323,7 @@ function setupFrameHandling(page, forceDebug) {
|
|
|
1324
1323
|
'--disable-ipc-flooding-protection',
|
|
1325
1324
|
'--aggressive-cache-discard',
|
|
1326
1325
|
'--memory-pressure-off',
|
|
1327
|
-
'--max_old_space_size=2048',
|
|
1326
|
+
'--max_old_space_size=2048', // V8 heap limit
|
|
1328
1327
|
'--disable-prompt-on-repost', // Fixes form popup on page reload
|
|
1329
1328
|
'--disable-background-networking',
|
|
1330
1329
|
'--no-sandbox',
|
|
@@ -1339,7 +1338,6 @@ function setupFrameHandling(page, forceDebug) {
|
|
|
1339
1338
|
'--disable-extensions',
|
|
1340
1339
|
'--no-default-browser-check',
|
|
1341
1340
|
'--safebrowsing-disable-auto-update',
|
|
1342
|
-
'--max_old_space_size=1024',
|
|
1343
1341
|
'--ignore-ssl-errors',
|
|
1344
1342
|
'--ignore-certificate-errors',
|
|
1345
1343
|
'--ignore-certificate-errors-spki-list',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanboynz/network-scanner",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.34",
|
|
4
4
|
"description": "A Puppeteer-based network scanner for analyzing web traffic, generating adblock filter rules, and identifying third-party requests. Features include fingerprint spoofing, Cloudflare bypass, content analysis with curl/grep, and multiple output formats.",
|
|
5
5
|
"main": "nwss.js",
|
|
6
6
|
"scripts": {
|