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

fix(refactor): update deps, lint, test coverage #79

Merged
merged 1 commit into from Jul 22, 2021
Merged

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Jul 2, 2021

Also fixes a bug in enableProgress that was enabling the gauge even if
the log was paused.

Coverage for branches is downgraded to 95 so that CI is green. This is a
compromise to get us up to date in dependencies. The coverage is MORE
than it was before, and we can keep making it better but I don't think
it should block our updating of dependencies.

"set-blocking": "~2.0.0"
"are-we-there-yet": "^1.1.5",
"console-control-strings": "^1.1.0",
"gauge": "^3.0.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

The change from 2 to 3 was dropping npm 8 and 6 support.

Also fixes a bug in enableProgress that was enabling the gauge even if
the log was paused.

Coverage for branches is downgraded to 95 so that CI is green. This is a
compromise to get us up to date in dependencies.  The coverage is MORE
than it was before, and we can keep making it better but I don't think
it should block our updating of dependencies.
this.progressEnabled = true
this.tracker.on('change', this.showProgress)
if (this._pause) return
if (this._paused)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the bugfix. It's this._paused not this._pause

Copy link
Contributor

@nlf nlf left a comment

Choose a reason for hiding this comment

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

wow, this one was linty. these changes all look great!

@wraithgar wraithgar merged commit e420957 into main Jul 22, 2021
@wraithgar wraithgar deleted the gar/dependencies branch July 22, 2021 17:01
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