Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Deno.inspect with colors : false is still outputting color #22510

Closed
Sembiance opened this issue Feb 21, 2024 · 1 comment
Closed
Labels
duplicate a duplicate of another issue

Comments

@Sembiance
Copy link
Contributor

Version: Deno 1.40.5

The following code outputs ANSI color sequences, despite colors : false being set.
NOTE: THIS IS A REGRESSION It works as expected in 1.37.1 (I didn't test any other versions)

const o = {abc : () => {}, xyz : false, numbers : [23, 213, 125, 123_523_523, 23423], moreProps : {subObj : "keys", andMore : "live\nlong\nand\nprosper"}};
console.log(Deno.inspect(o, {colors : false, compact : true, depth : 7, iterableLimit : 150, showProxy : false, sorted : false, trailingComma : false, getters : false, showHidden : false}));
@dsherret
Copy link
Member

Duplicate of #22496

@dsherret dsherret marked this as a duplicate of #22496 Feb 21, 2024
@dsherret dsherret closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
@dsherret dsherret added the duplicate a duplicate of another issue label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants