diff --git a/packages/binding-coap/src/coap-client.ts b/packages/binding-coap/src/coap-client.ts index 2ff936518..4d0740ace 100644 --- a/packages/binding-coap/src/coap-client.ts +++ b/packages/binding-coap/src/coap-client.ts @@ -194,7 +194,7 @@ export default class CoapClient implements ProtocolClient { public setSecurity = (metadata: Array): boolean => true; private uriToOptions(uri: string): CoapRequestParams { - // eslint-disable-next-line node/no-deprecated-api + // eslint-disable-next-line n/no-deprecated-api const requestUri = url.parse(uri); const agentOptions = this.agentOptions; agentOptions.type = net.isIPv6(requestUri.hostname ?? "") ? "udp6" : "udp4";