Skip to content

Cloning a plain object does not return a plain object #1

@jacobp100

Description

@jacobp100

Steps

Run

deepclone({something: true})

Expected

A plain object containing just those keys

image

Actual

An object that inherits from the input object

image

Notes

I think as this is an 8-year-old package and there are alternatives, maybe you could consider deprecating the package on npm so others don't hit this issue

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