From 485cd9534bec6e1e2aa041623282d5747839d4c1 Mon Sep 17 00:00:00 2001 From: k15r Date: Sun, 10 Mar 2024 22:52:35 +0100 Subject: [PATCH] Removed url.parse deprecation exemption as it is actually dangerous (https://hackerone.com/reports/678487), and its status is not likely to be resolved (https://github.com/nodejs/node/issues/42232, https://github.com/nodejs/node/issues/12682) --- .eslintrc.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 065034c..c52336b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -124,12 +124,7 @@ "n/shebang": "off", "n/no-missing-import": "off", "n/no-unpublished-import": "off", - "n/no-deprecated-api": [ - "error", - { - "ignoreModuleItems": ["url.parse"] - } - ], + "n/no-deprecated-api": ["error"], "n/prefer-global/buffer": "error", "n/prefer-global/console": "error", "n/prefer-global/process": "error",