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

remove support for node before v6 #1519

Merged
merged 1 commit into from
Jan 24, 2017
Merged

remove support for node before v6 #1519

merged 1 commit into from
Jan 24, 2017

Conversation

brendankenny
Copy link
Member

fixes #449

just basic removal of version checks and logic specifically for getting --harmony piped into the CI system. New language features (mostly default parameters, rest args, and [].includes()) can come later.

@XhmikosR if I'm missing anything :)

@XhmikosR
Copy link
Contributor

XhmikosR commented Jan 24, 2017 via email

@@ -2,11 +2,11 @@
"name": "lighthouse-extension",
"private": true,
"engines": {
"node": ">=0.8.0"
"node": ">=6"
Copy link
Contributor

Choose a reason for hiding this comment

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

should this match travis's 6.9.1? or vice versa?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, I don't know how much we care about the precision on this. We're going to only be testing 6.9.1, so it makes sense that we shouldn't say we work in case important bugs were fixed before that...but on the other hand we're not testing with the latest v6, so it's also possible that some bug was fixed after 6.9.1 that materially affects execution...

@@ -2,7 +2,7 @@
"name": "lighthouse-viewer",
"private": true,
"engines": {
"node": ">=5"
"node": ">=6"
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@@ -8,7 +8,7 @@
"chrome-debug": "./lighthouse-cli/manual-chrome-launcher.js"
},
"engines": {
"node": ">=5"
"node": ">=6"
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@XhmikosR
Copy link
Contributor

XhmikosR commented Jan 24, 2017 via email

@brendankenny
Copy link
Member Author

But do you need 6.9.1 specifically?

Similar to how we were specifically testing 4.3.2 before, a key user is stuck with 6.9.1 for at least the immediate future.

It's probably best to test that exact version rather than test with latest 6 and keep an ear out for anything that might affect us (e.g. while there's been only a few changes between 6.9.1 and latest 6.9.4, there was one destructuring case that no longer throws, and it's possible we could use it in LH in the future and cause issues for anyone stuck with the slightly older version).

Copy link
Contributor

@XhmikosR XhmikosR left a comment

Choose a reason for hiding this comment

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

Tested everything on my Windows VM, tests are passing.

@ebidel
Copy link
Contributor

ebidel commented Jan 24, 2017

Ready after the resolve

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.

move to requiring Node 6 when LTS
3 participants