Skip to content

Custom inspection warning #21119

Closed
Closed
@ivan-kleshnin

Description

@ivan-kleshnin

Version: 10.3.0
Platform: OS-x
Subsystem: –

Something is broken about deprecation warning on .inspect. Honestly, I never heard of this method (Node's magic stuff?) But at this moment all libraries having objects with inspect method in their APIs are affected.

> {inspect: () => null}
null
> (node:1278) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated

One example of such library: https://github.com/origamitower/folktale

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions