Skip to content

Target node versions do not support Object.assign #52

Description

@franza

Target node versions include the old ones which do not support ES2015 stuff like Object.assign:

  "engines": {
    "node": ">= 0.10.5"
  },

For example, here Object.assign is used here for example:

var newOptions = Object.assign({}, options)

          var newOptions = Object.assign({}, options)
          newOptions.ignoreType = true
          var moreResults = files(statPath, type, subloop, newOptions);

In NodeJS v0.10 it throws an error because Object.assign does not exist yet.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions