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

chore: Updating dependencies and resolving build failures #1355

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rakatyal
Copy link
Contributor

@rakatyal rakatyal commented Mar 30, 2022

Internal Reference This should take care of the failures seen with #1288 and #1306.

@rakatyal rakatyal changed the title [TEST DON'T MERGE] Updating dependencies and resolving build failures chore: Updating dependencies and resolving build failures Mar 30, 2022
@@ -1,5 +1,6 @@
{
"npmClient": "yarn",
"npmClientArgs": ["--ignore-engines"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't know how I feel about this. Should we just drop support for Node 6/8 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was gonna bring this up for discussion tomorrow but I am fine either way. What's the impact of dropping Node 6/8? If we go that route, should we drop support for all the packages in this repo or just the affected ones in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like npm considers the "engines" flag as advisory and will only generate warnings in this scenario, but yarn gives out errors. I would support dropping Node 6/8 if we feel this change is a risk which our tests cannot catch when testing with Node 6/8. Or either there is no significant impact on dropping support for Node 6/8. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

We've seen issues in the past with other Node libs where we had to use older implementations of core functionality because we supported older Node versions. Leads to maintenance and TODOs. Prefer to drop Node 6/8 everywhere as this meets the criteria where we're doing workarounds to support older versions. Will check with product.

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

3 participants