From b5ced907b368b2fba089e0596f6e37987df017bc Mon Sep 17 00:00:00 2001 From: Honey Tyagi <78690656+HoneyTyagii@users.noreply.github.com> Date: Wed, 29 Jul 2026 22:13:14 +0530 Subject: [PATCH] tools: use 'readonly' for EventSource global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The EventSource entry was the only global in eslint.config.mjs still using the deprecated 'readable' value. ESLint keeps 'readable' working as an alias of 'readonly' for historical reasons, so this is a consistency fix rather than a functional one. The flat config migration converted the other globals in this block but missed this single entry. Fixes: https://github.com/nodejs/node/issues/64757 Signed-off-by: Honey Tyagi PR-URL: https://github.com/nodejs/node/pull/64787 Reviewed-By: Aviv Keller Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: René --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6d3d8782a0d..6dd026b88ff 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -128,7 +128,7 @@ export default [ CryptoKey: 'readonly', DecompressionStream: 'readonly', DisposableStack: 'readonly', - EventSource: 'readable', + EventSource: 'readonly', fetch: 'readonly', Float16Array: 'readonly', FormData: 'readonly',