From e6bd8d1b86a0e37143b4e98d9c35761951c65a51 Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau <302891+christophehurpeau@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:13:49 +0100 Subject: [PATCH] fix Promise.withResolvers is supported since node 22.11 --- lib/rules/no-unsupported-features/es-syntax.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/no-unsupported-features/es-syntax.json b/lib/rules/no-unsupported-features/es-syntax.json index f8f7375b..4f957828 100644 --- a/lib/rules/no-unsupported-features/es-syntax.json +++ b/lib/rules/no-unsupported-features/es-syntax.json @@ -437,7 +437,7 @@ "supported": ">=10.0.0" }, "no-promise-withresolvers": { - "supported": null + "supported": ">=22.11.0" }, "no-promise": { "supported": ">=0.12.0"