@k03mad/ip2geo 4.1.0 → 4.2.1
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/README.md +1 -1
- package/app/lib/ip2geo.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/app/lib/ip2geo.js
CHANGED
|
@@ -26,7 +26,7 @@ const DEFAULT_CACHE_FILE_DIR = path.join(os.tmpdir(), '.ip2geo');
|
|
|
26
26
|
const DEFAULT_CACHE_FILE_NAME = 'ips.log';
|
|
27
27
|
const DEFAULT_CACHE_FILE_SEPARATOR = ';;';
|
|
28
28
|
const DEFAULT_CACHE_FILE_NEWLINE = '\n';
|
|
29
|
-
const DEFAULT_RPS =
|
|
29
|
+
const DEFAULT_RPS = 3;
|
|
30
30
|
|
|
31
31
|
export const cacheStorage = new Map();
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k03mad/ip2geo",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "GeoIP library",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
"Kirill Molchanov <k03.mad@gmail.com"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"node": ">=20"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@k03mad/request": "5.
|
|
22
|
+
"@k03mad/request": "5.6.0",
|
|
23
23
|
"@k03mad/simple-log": "2.1.0",
|
|
24
24
|
"chalk": "5.3.0",
|
|
25
25
|
"debug": "4.3.4"
|