node-ipdox 1.0.2 → 1.0.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/dist/ipdox.js +2 -2
- package/package.json +6 -6
package/dist/ipdox.js
CHANGED
|
@@ -41,8 +41,8 @@ class IPDox {
|
|
|
41
41
|
* @returns {Promise<IPDOXResponse | undefined>} - Promise of the response or undefined
|
|
42
42
|
* @memberof IPDox
|
|
43
43
|
*/
|
|
44
|
-
doxIP(
|
|
45
|
-
return __awaiter(this,
|
|
44
|
+
doxIP(_a) {
|
|
45
|
+
return __awaiter(this, arguments, void 0, function* ({ ip }) {
|
|
46
46
|
// Check that the ip is valid
|
|
47
47
|
if (!ip || ip === "") {
|
|
48
48
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-ipdox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "node-ipdox is a Node.js library for GeoIP lookup, leveraging various free GeoIP APIs. It provides a unified response format and incorporates local caching to minimize duplicate requests.",
|
|
5
5
|
"author": "Mikel Calvo <contact@mikecalvo.net> (www.mikelcalvo.net)",
|
|
6
6
|
"keywords": [
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"url": "git+https://github.com/mikelcalvo/node-ipdox.git"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"axios": "1.6.
|
|
35
|
-
"lru-cache": "^10.
|
|
34
|
+
"axios": "1.6.8",
|
|
35
|
+
"lru-cache": "^10.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "20.
|
|
39
|
-
"prettier": "3.
|
|
40
|
-
"typescript": "^5.
|
|
38
|
+
"@types/node": "20.12.7",
|
|
39
|
+
"prettier": "3.2.5",
|
|
40
|
+
"typescript": "^5.4.5"
|
|
41
41
|
}
|
|
42
42
|
}
|