Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for newer ES features #6

Merged
merged 6 commits into from
Nov 18, 2018
Merged

Update for newer ES features #6

merged 6 commits into from
Nov 18, 2018

Conversation

mccanney
Copy link
Contributor

Hey,

I forked your repo to serve as a base for a base 56 node module. I made some updates to use newer ES6 features and also to update the dependencies; thought you might want the changes.

All the tests pass locally and Travis tests pass with node 6 to current.

- Change var to const and let.
- Change arrays to spread syntax.
- Change to arrow functions.
- Change var to const in the usage guidelines.
- Require node 6 at a minimum to support the newer ES features.  Node
  version functionality determined via https://node.green.
- Update dev dependencies to their latest versions.  Mocha 3.4 relied
  on a version of growl with a known vulnerability.
- Fix the keywords section, this field is actually an array.
- Update eslint syntax to ES6.
- Add the package-lock.json file to the repository to ensure consistent
  builds.
- Add additional node versions for Travis to test.
- Change var to const in mocha JS file.
- Update version number to 2.0.0 since changes affect backwards
  compatibility with node v4.
- Update Travis config to allow node module caching.
@jimeh jimeh merged commit 35dd6f5 into jimeh:master Nov 18, 2018
@jimeh
Copy link
Owner

jimeh commented Nov 18, 2018

Thanks for this :)

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.

None yet

2 participants