Skip to content

Target node versions do not support Object.assign #52

@franza

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.

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