Skip to content

Consider not extending native prototypes and objects? #6

@hexpunk

Description

@hexpunk

This may be related to #1, but perhaps consider not extending native APIs and prototypes? Some people get really mad about that sort of thing. It makes it harder to use as part of a project that relies on libraries that provide exports. As larger projects move to Webpack (and its kin), this may be a barrier to adoption.

Currently, this library adds select, inject, and transform to the JSON object. It also adds $root to String, Number, Function, Array, and Boolean native prototypes.

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