Skip to content

Commit c2827e0

Browse files
committed
chore(deps): move ipaddr.js to devDependencies
1 parent 99a1f1c commit c2827e0

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
"connect-history-api-fallback": "^2.0.0",
5252
"connect-next": "^4.0.0",
5353
"http-proxy-middleware": "^3.0.5",
54-
"ipaddr.js": "^2.3.0",
5554
"ws": "^8.20.0"
5655
},
5756
"devDependencies": {
@@ -72,6 +71,7 @@
7271
"hono": "^4.12.9",
7372
"http-compression": "^1.1.2",
7473
"http-proxy": "^1.18.1",
74+
"ipaddr.js": "^2.3.0",
7575
"launch-editor": "^2.13.2",
7676
"nano-staged": "^0.9.0",
7777
"open": "^11.0.0",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import type {
3535
import compression from 'http-compression';
3636
import ipaddr from 'ipaddr.js';
3737
import type { App } from 'open';
38+
import type { IPv6 } from 'ipaddr.js';
3839
import { getPort } from './getPort.js';
3940
import { WebsocketServer } from './servers/WebsocketServer.js';
4041
import type {
@@ -50,7 +51,6 @@ import type {
5051
EXPECTED_ANY,
5152
FSWatcher,
5253
HTTPServer,
53-
IPv6,
5454
IncomingMessage,
5555
LiteralUnion,
5656
Middleware,

src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export type {
3030
IncomingMessage,
3131
ConnectApplication,
3232
};
33-
export type { IPv6 } from 'ipaddr.js';
3433
export type { Socket } from 'node:net';
3534
export type { AddressInfo } from 'node:net';
3635
export type { NetworkInterfaceInfo } from 'node:os';

0 commit comments

Comments
 (0)