Skip to content

Conversation

HenryLie
Copy link

Version ^1.0.2 of is-descriptor currently being used depends on a library with a vulnerability as described here.

This PR updates the dependency to its latest version which no longer depends on the aforementioned library, and updates the test code to adhere to the latest specification which requires both configurable and enumerable to be defined to be recognized as a valid descriptor.

While at it, I also updated mocha to the latest version to resolve npm audit vulnerabilities.

- Update is-descriptor to 3.0.0
- Update mocha to 7.1.0
- Add "enumerable" and "configurable" to test cases
  to ensure it complies with new is-descriptor check.
@HenryLie
Copy link
Author

Looks like all Travis builds on node versions <8 and iojs fails due to ES6 syntax in one of the dependencies. Do we need to support those versions though?

Seems like the current oldest supported version is 8 (in maintenance LTS)?
https://nodejs.org/en/about/releases/

@eduardoconceicao
Copy link

Looks like all Travis builds on node versions <8 and iojs fails due to ES6 syntax in one of the dependencies. Do we need to support those versions though?

Seems like the current oldest supported version is 8 (in maintenance LTS)?
https://nodejs.org/en/about/releases/

I would drop the older versions of node if that's possible. What do you think @jonschlinkert ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants