Skip to content

Commit

Permalink
fix: Ensure same literals output in Node.js v12+ versions
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Dec 21, 2021
1 parent a0d619b commit 835ff8f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion get-modifiers.js
Expand Up @@ -24,7 +24,12 @@ const resolveInspectDepth = userValue => {
const resolveInspectOptionsVariants = (inspectDepth, colorsSupportLevel) => {
// Preconfigure inspect options for each case
const optionsVariants = {};
optionsVariants.visible = { breakLength: 120, depth: inspectDepth, colors: colorsSupportLevel };
optionsVariants.visible = {
compact: true,
breakLength: 120,
depth: inspectDepth,
colors: colorsSupportLevel
};
optionsVariants.all = Object.assign(
{ showHidden: true, showProxy: true }, optionsVariants.visible
);
Expand Down

0 comments on commit 835ff8f

Please sign in to comment.