feat: eslint rule to prefer node protocols (#1187)

This commit is contained in:
Matt 2025-11-28 11:37:25 +00:00 • committed by GitHub
commit cca6ba05b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
import { createServer, ServerResponse, type IncomingMessage, type Server } from 'http';
import { AddressInfo } from 'net';
import { createServer, ServerResponse, type IncomingMessage, type Server } from 'node:http';
import { AddressInfo } from 'node:net';
import { JSONRPCMessage } from '../types.js';
import { SSEClientTransport } from './sse.js';
import { OAuthClientProvider, UnauthorizedError } from './auth.js';