@k03mad/ip2geo 12.0.0 → 12.2.0
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 +4 -4
- package/tests/shared/consts.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k03mad/ip2geo",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"description": "GeoIP library",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
"Kirill Molchanov <k03.mad@gmail.com"
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"node": ">=22"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@k03mad/request": "7.
|
|
22
|
+
"@k03mad/request": "7.9.0",
|
|
23
23
|
"@k03mad/simple-log": "5.2.1",
|
|
24
24
|
"chalk": "5.4.1",
|
|
25
25
|
"debug": "4.4.0",
|
|
26
26
|
"is-ip": "5.0.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@k03mad/eslint-config": "28.
|
|
30
|
-
"eslint": "9.
|
|
29
|
+
"@k03mad/eslint-config": "28.8.0",
|
|
30
|
+
"eslint": "9.23.0",
|
|
31
31
|
"husky": "9.1.7",
|
|
32
32
|
"mocha": "11.1.0",
|
|
33
33
|
"npm-run-all": "4.1.5"
|
package/tests/shared/consts.js
CHANGED
|
@@ -16,14 +16,14 @@ export const REQUEST_IPV4 = {
|
|
|
16
16
|
|
|
17
17
|
export const REQUEST_IPV4_MAP_OFF_ONLY = {
|
|
18
18
|
ip: '9.9.9.9',
|
|
19
|
-
continent: '
|
|
20
|
-
continentCode: '
|
|
21
|
-
country: '
|
|
22
|
-
countryCode: '
|
|
23
|
-
countryEmoji: '
|
|
24
|
-
region: '
|
|
25
|
-
regionCode: '
|
|
26
|
-
city: '
|
|
19
|
+
continent: 'North America',
|
|
20
|
+
continentCode: 'NA',
|
|
21
|
+
country: 'United States',
|
|
22
|
+
countryCode: 'US',
|
|
23
|
+
countryEmoji: '🇺🇸',
|
|
24
|
+
region: 'California',
|
|
25
|
+
regionCode: 'CA',
|
|
26
|
+
city: 'Berkeley',
|
|
27
27
|
connectionAsn: 19_281,
|
|
28
28
|
connectionOrg: 'Quad',
|
|
29
29
|
connectionIsp: 'Quad',
|