diff --git a/lib/server/parse-udp.js b/lib/server/parse-udp.js index f73b6491..76b45ad7 100644 --- a/lib/server/parse-udp.js +++ b/lib/server/parse-udp.js @@ -1,4 +1,4 @@ -import ipLib from 'ip' +import * as ipLib from 'neoip' import common from '../common.js' import { equal } from 'uint8-util' diff --git a/package.json b/package.json index 071d7730..03525313 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "compact2string": "^1.4.1", "cross-fetch-ponyfill": "^1.0.3", "debug": "^4.3.4", - "ip": "^2.0.1", "lru": "^3.1.0", "minimist": "^1.2.8", + "neoip": "^3.0.1", "once": "^1.4.0", "queue-microtask": "^1.2.3", "random-iterate": "^1.0.1", @@ -121,4 +121,4 @@ "release": { "extends": "@webtorrent/semantic-release-config" } -} +} \ No newline at end of file