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: esbuild warning about ?? operator in lte-reader #71

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

achingbrain
Copy link
Collaborator

Restores the pre-typescript behaviour of lte-reader to just checking that the done value is true.

Adds tests to prevent regressions.

Closes #67

Restores the [pre-typescript](https://github.com/alanshaw/it-tar/blob/f6e492a44070816c4989af89e1602e656a27ecd4/lte-reader.js#L20)
behaviour of `lte-reader` to just checking that the `done` value
is true.

Adds tests to prevent regressions.

Closes #67
@achingbrain achingbrain changed the title fix: esbuild warning about ?? operator fix: esbuild warning about ?? operator in lte-reader Feb 21, 2024
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (21e888f) 92.07% compared to head (52a095e) 92.08%.
Report is 1 commits behind head on master.

Files Patch % Lines
test/lte-reader.spec.ts 93.10% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage   92.07%   92.08%   +0.01%     
==========================================
  Files          10       11       +1     
  Lines        1917     1946      +29     
  Branches      303      307       +4     
==========================================
+ Hits         1765     1792      +27     
- Misses        152      154       +2     
Flag Coverage Δ
node 92.08% <93.33%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@achingbrain achingbrain merged commit e12843f into master Feb 22, 2024
20 checks passed
@achingbrain achingbrain deleted the fix/esbuild-warning branch February 22, 2024 08:56
github-actions bot pushed a commit that referenced this pull request Feb 22, 2024
## [6.0.5](v6.0.4...v6.0.5) (2024-02-22)

### Bug Fixes

* esbuild warning about ?? operator in lte-reader ([#71](#71)) ([e12843f](e12843f)), closes [/github.com/alanshaw/it-tar/blob/f6e492a44070816c4989af89e1602e656a27ecd4/lte-reader.js#L20](https://github.com/alanshaw//github.com/alanshaw/it-tar/blob/f6e492a44070816c4989af89e1602e656a27ecd4/lte-reader.js/issues/L20) [#67](#67)
Copy link

🎉 This PR is included in version 6.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[lte-reader] The "??" operator here will always return the left operand
1 participant