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: remove update notifier #2152

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Conversation

maxjeffos
Copy link
Contributor

What does this PR do?

Removes the update notification mechanism along with the update-notifier dependency.

This is a pre-PR to #2105

@maxjeffos maxjeffos requested review from a team as code owners August 10, 2021 18:57
@maxjeffos maxjeffos requested a review from orsagie August 10, 2021 18:57
@github-actions
Copy link
Contributor

github-actions bot commented Aug 10, 2021

Warnings
⚠️ You've modified files in src/ directory, but haven't updated anything in test folder. Is there something that could be tested?
Messages
📖

This PR will not trigger a new version. It doesn't include any commit message with feat or fix.

Generated by 🚫 dangerJS against 6b91de7

@Avishagp Avishagp force-pushed the chore/remove-update-notifier branch from 1254d4f to cb76355 Compare August 11, 2021 13:00
@@ -5,7 +5,7 @@
"pretty": true,
"moduleResolution": "node",
"target": "es2018",
"lib": ["ES2018", "dom"],
"lib": ["ES2018", "ES2019", "dom"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Avishagp @JackuB this seems to be the trick to getting that Object.fromEntries is not a function error to go away. Apparently, that came about in the ES2019.

Copy link
Contributor

Choose a reason for hiding this comment

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

@maxjeffos Yeah, seen that trick. But it still doesn't make sense that the test is broken only for this PR right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Avishagp, I have theory... I was thinking that since update-notifier has many deps/transitive deps, along with @types/update-notifier, probably something in those deps was defining Object.fromEntries. I think it's quite likely the case.

Copy link
Contributor

Choose a reason for hiding this comment

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

That totally makes sense. Thanks!

@maxjeffos maxjeffos merged commit 37a1fa1 into master Aug 12, 2021
@maxjeffos maxjeffos deleted the chore/remove-update-notifier branch August 12, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants