@paywalls-net/filter 1.3.5 → 1.3.6
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
|
@@ -104,10 +104,10 @@ export async function classifyUserAgent(cfg, userAgent) {
|
|
|
104
104
|
// Check classification cache first (single lookup is more efficient than has + get)
|
|
105
105
|
const cached = classificationCache.get(userAgent);
|
|
106
106
|
if (cached !== undefined) {
|
|
107
|
-
console.log(`User agent classification cache hit for: ${userAgent}`);
|
|
107
|
+
// console.log(`User agent classification cache hit for: ${userAgent}`);
|
|
108
108
|
return cached;
|
|
109
109
|
}
|
|
110
|
-
console.log(`User agent classification cache miss for: ${userAgent}`);
|
|
110
|
+
// console.log(`User agent classification cache miss for: ${userAgent}`);
|
|
111
111
|
|
|
112
112
|
const parsedUA = new UAParser(userAgent).getResult();
|
|
113
113
|
|