From a46b21f556a83e43965897088778ddc7d46019ae Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 17 Nov 2020 11:56:25 +0100 Subject: [PATCH] lib: remove primordials.SafePromise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/36149 Reviewed-By: Michaƫl Zasso Reviewed-By: Rich Trott Reviewed-By: Joyee Cheung Reviewed-By: Luigi Pinca --- lib/internal/per_context/primordials.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/internal/per_context/primordials.js b/lib/internal/per_context/primordials.js index e8e64baf0c6429..0ff52255feff41 100644 --- a/lib/internal/per_context/primordials.js +++ b/lib/internal/per_context/primordials.js @@ -106,10 +106,6 @@ primordials.SafeWeakSet = makeSafe( WeakSet, class SafeWeakSet extends WeakSet {} ); -primordials.SafePromise = makeSafe( - Promise, - class SafePromise extends Promise {} -); // Create copies of the namespace objects [