Skip to content

Commit 22452c4

Browse files
committed
Bump version to 1.3.1 and update dependencies
1 parent b6bfd10 commit 22452c4

File tree

3 files changed

+41
-52
lines changed

3 files changed

+41
-52
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docker-ipdb",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"main": "src/server.js",
55
"type": "module",
66
"repository": "[email protected]:metowolf/docker-ipdb.git",
@@ -14,10 +14,10 @@
1414
},
1515
"dependencies": {
1616
"@hono/node-server": "^1.13.7",
17-
"hono": "^4.6.13"
17+
"hono": "^4.6.15"
1818
},
1919
"devDependencies": {
2020
"nodemon": "^3.1.9",
21-
"wrangler": "^3.94.0"
21+
"wrangler": "^3.99.0"
2222
}
2323
}

pnpm-lock.yaml

+37-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/parse.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ class Parse {
9292
}
9393

9494
_toBits(ip) {
95-
const version = 4
96-
97-
return version === 4 ? this._toBits4(ip) : this._toBits6(ip)
95+
return ip.includes(':') ? this._toBits6(ip) : this._toBits4(ip)
9896
}
9997

10098
_toBits4(ip) {

0 commit comments

Comments
 (0)