From f7f21c3d2d78bf9d02ead264d02da31643a4ae1a Mon Sep 17 00:00:00 2001 From: Voltrex Date: Wed, 30 Jun 2021 17:43:25 +0430 Subject: [PATCH] doc: add change entry Added a change entry for the stricter validation of the `address` parameter in `Socket.prototype.send()`. doc: use nullish instead of falsy Used nullish instead of falsy to point at that the parameter now only accepts a `string`, `null` or `undefined`. --- doc/api/dgram.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 365c30c9ae64a7..87456418623d3d 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -468,6 +468,10 @@ if the socket is not connected.