Skip to content

Avoid using defineProperties() in MongooseBuffer constructor #7331

@vkarpov15

Description

@vkarpov15

Very slow. Instead, we should have a class that extends from buffer, and make those properties non-enumerable. Just watch out for this bug: feross/safe-buffer#23

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions