Skip to content

Use native Object.assign instead of xtend #82

Open

Description

@jimmywarting

xtend can easily be replaced with Object.assign

This reduce the dependencies and possible also avoid duplicated versions where some package don't use the same version range for the xtend package

// immutable
Object.assign({}, a, b)

// mutable
Object.assign(a, b)

Activity

  1. goto-bus-stop commented on Oct 16, 2018

    @goto-bus-stop
    Member

    I appreciate the commitment but please don't open issues for every browserify package that uses xtend. This module is part of browserify so its appreach will be the same as the main browserify package. Until there is a particularly good reason to drop support for Node < 4 it won't happen. It takes no maintenance effort to use xtend so I really don't see a reason to move away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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