From 100360705ae29216f14129bc7a37f3870ec58fc6 Mon Sep 17 00:00:00 2001 From: Gryffon Bellish Date: Wed, 20 Nov 2019 12:11:23 -0500 Subject: [PATCH] fix(APIRouter): use proper symbol for util.inspect (#3589) --- src/rest/APIRouter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/APIRouter.js b/src/rest/APIRouter.js index 4d1fb5d6b..efb71fa35 100644 --- a/src/rest/APIRouter.js +++ b/src/rest/APIRouter.js @@ -4,7 +4,7 @@ const noop = () => {}; // eslint-disable-line no-empty-function const methods = ['get', 'post', 'delete', 'patch', 'put']; const reflectors = [ 'toString', 'valueOf', 'inspect', 'constructor', - Symbol.toPrimitive, Symbol.for('util.inspect.custom'), + Symbol.toPrimitive, Symbol.for('nodejs.util.inspect.custom'), ]; function buildRoute(manager) {