Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Update to require at least node 4.0.0. #243

Merged
merged 1 commit into from Feb 7, 2017
Merged

Conversation

jeffposnick
Copy link
Contributor

@jeffposnick jeffposnick commented Feb 7, 2017

R: @addyosmani @gauntface

This drops support for node 0.12.x, and imposes a minimum version of node 4.0.0 via the engines field in package.json.

node 0.12.x reached its official end-of-life at the end of 2016.

Since we can now assume node 4+, there are a few dependencies that we can now update that assume node 4+ functionality.

This includes updates to our default eslint rules. I've explicitly disabled some of the new default rules for this project, since, e.g., updating all of our var to const/let is outside of the scope of work we want to do with sw-precache.

This change will be rolled into an upcoming major version bump (to 5.0.0) release of sw-precache.

Fixes #203

Copy link

@gauntface gauntface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeffposnick jeffposnick merged commit 74ce5ba into master Feb 7, 2017
@jeffposnick jeffposnick deleted the node-4-minimum branch February 7, 2017 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants