@k03mad/ip2geo 20.1.1 → 20.1.3
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 -2
- package/package.json +7 -7
- package/tests/shared/consts.ts +2 -2
- package/pnpm-workspace.yaml +0 -5
package/README.md
CHANGED
|
@@ -50,8 +50,7 @@ const info = await ip2geo({
|
|
|
50
50
|
cacheFileSeparator: ';;',
|
|
51
51
|
cacheFileNewline: '\n',
|
|
52
52
|
cacheMap: new Map(),
|
|
53
|
-
cacheMapMaxEntries: Number.POSITIVE_INFINITY
|
|
54
|
-
rps: 3 // API RPS, useful in Promise.all with IPs array
|
|
53
|
+
cacheMapMaxEntries: Number.POSITIVE_INFINITY // store last N requests, 0 — turns cache map off
|
|
55
54
|
});
|
|
56
55
|
|
|
57
56
|
// info {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k03mad/ip2geo",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.3",
|
|
4
4
|
"description": "GeoIP library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"maintainers": [
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"chalk": "5.6.2",
|
|
25
25
|
"debug": "4.4.3",
|
|
26
26
|
"is-ip": "5.0.1",
|
|
27
|
-
"tsx": "4.23.
|
|
27
|
+
"tsx": "4.23.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@k03mad/oxlint-config": "0.11.
|
|
30
|
+
"@k03mad/oxlint-config": "0.11.1",
|
|
31
31
|
"@tsconfig/strictest": "2.0.8",
|
|
32
32
|
"@types/debug": "4.1.13",
|
|
33
|
-
"@types/node": "26.1.
|
|
33
|
+
"@types/node": "26.1.1",
|
|
34
34
|
"husky": "9.1.7",
|
|
35
|
-
"oxfmt": "0.
|
|
36
|
-
"oxlint": "1.
|
|
37
|
-
"typescript": "
|
|
35
|
+
"oxfmt": "0.59.0",
|
|
36
|
+
"oxlint": "1.74.0",
|
|
37
|
+
"typescript": "7.0.2"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=24"
|
package/tests/shared/consts.ts
CHANGED
|
@@ -27,8 +27,8 @@ export const REQUEST_IPV4_MAP_OFF_ONLY: ReqOutput = {
|
|
|
27
27
|
regionCode: 'CA',
|
|
28
28
|
city: 'Berkeley',
|
|
29
29
|
connectionAsn: 19_281,
|
|
30
|
-
connectionOrg: '
|
|
31
|
-
connectionIsp: '
|
|
30
|
+
connectionOrg: 'Quad9',
|
|
31
|
+
connectionIsp: 'Quad9',
|
|
32
32
|
connectionDomain: 'quad9.net',
|
|
33
33
|
};
|
|
34
34
|
|