Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Implement the util.inspect.custom symbol #822

@kriskowal

Description

@kriskowal

nodejs/node#15549

Ideally, Q should add support for util.inspect.custom so that logged promises get the right output and forward the seen set. This would precede the inspect method, which we obviously cannot remove since that would break dependees.

This poses a challenge since Q v1 does not depend on require or, if require exists, that it is even provided by Node.js, so getting the symbol in a cross-compatible way will be tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions