@liberstudio/cloudflare-list 2.4.2 → 2.4.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.
|
@@ -15,7 +15,10 @@ const GOOGLE_IP_LIST_URLS = [
|
|
|
15
15
|
"https://developers.google.com/static/search/apis/ipranges/googlebot.json",
|
|
16
16
|
];
|
|
17
17
|
// Domini dei crawler verificati da Google (per il fallback reverse DNS).
|
|
18
|
-
|
|
18
|
+
// NB: .googleusercontent.com è escluso di proposito — è il PTR generico di ogni
|
|
19
|
+
// VM su Google Cloud, quindi qualsiasi scanner ospitato su GCP forward-confirma
|
|
20
|
+
// e verrebbe messo erroneamente in whitelist. I crawler veri usano solo i due sotto.
|
|
21
|
+
const GOOGLE_HOSTS = [".googlebot.com", ".google.com"];
|
|
19
22
|
const TTL_MS = 24 * 60 * 60 * 1000;
|
|
20
23
|
let cache = null;
|
|
21
24
|
let inFlight = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liberstudio/cloudflare-list",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "Modulo NestJS per gestione IP List Cloudflare",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@nestjs/axios": ">=3.0.0",
|
|
29
|
-
"@nestjs/common": ">=10.
|
|
30
|
-
"@nestjs/core": ">=10.
|
|
31
|
-
"axios": ">=1.
|
|
29
|
+
"@nestjs/common": ">=10.4.3",
|
|
30
|
+
"@nestjs/core": ">=10.4.3",
|
|
31
|
+
"axios": ">=1.18.0",
|
|
32
32
|
"rxjs": ">=7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@nestjs/axios": "^4.0.1",
|
|
36
|
-
"@nestjs/common": "^11.1.
|
|
37
|
-
"@nestjs/core": "^11.1.
|
|
36
|
+
"@nestjs/common": "^11.1.27",
|
|
37
|
+
"@nestjs/core": "^11.1.27",
|
|
38
38
|
"@types/express": "^5.0.6",
|
|
39
39
|
"@types/node": "^20.19.43",
|
|
40
40
|
"axios": "^1.18.0",
|