From bda4643242159bb74f187614854485d9cfc31bca Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 10 Nov 2018 16:09:33 -0500 Subject: [PATCH] src: sort internal binding list PR-URL: https://github.com/nodejs/node/pull/24292 Reviewed-By: Gus Caplan Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Weijia Wang Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Franziska Hinkelmann --- lib/internal/bootstrap/loaders.js | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 6e06e560a5728f..1879c0154c3179 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -75,31 +75,31 @@ // to provide a transition path for modules that are being moved over to // internalBinding. const internalBindingWhitelist = [ + 'async_wrap', + 'buffer', 'cares_wrap', + 'constants', + 'contextify', + 'crypto', 'fs_event_wrap', + 'http_parser', 'icu', - 'udp_wrap', - 'uv', + 'js_stream', + 'natives', 'pipe_wrap', - 'http_parser', 'process_wrap', - 'v8', - 'tty_wrap', - 'stream_wrap', 'signal_wrap', - 'crypto', - 'contextify', + 'spawn_sync', + 'stream_wrap', 'tcp_wrap', 'tls_wrap', - 'util', - 'async_wrap', + 'tty_wrap', + 'udp_wrap', 'url', - 'spawn_sync', - 'js_stream', - 'zlib', - 'buffer', - 'natives', - 'constants' + 'util', + 'uv', + 'v8', + 'zlib' ]; // We will use a lazy loaded SafeSet in internalBindingWhitelistHas // for checking existence in this list.