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

👷 Replace istanbul-instrumenter-loader with coverage-istanbul-loader #1023

Merged
merged 7 commits into from
Sep 1, 2021

Conversation

BenoitZugmeyer
Copy link
Member

This PR is equivalent to #1020 but on the DataDog repo so CI can actually run.

bpinto and others added 4 commits August 30, 2021 19:26
`istanbul-instrumenter-loader` library has been deprecated and its
repository is now archived. It has been superseded by
`coverage-istanbul-loader`.

Additionally, it removes a warning that was more visible if one tried to
use `npm` instead of `yarn`:

```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: browser-sdk@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"5.28.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^2.0.0 || ^3.0.0 || ^4.0.0" from [email protected]
npm ERR! node_modules/istanbul-instrumenter-loader
npm ERR!   dev istanbul-instrumenter-loader@"3.0.1" from the root project
```
This commit fixes `yarn audit` warnings by bumping some subdependencies
minor versions. For some reason, yarn downgraded the versions while
replacing the package.
@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner September 1, 2021 09:26
@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2021

Codecov Report

Merging #1023 (93b0be8) into main (3fe2d61) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1023   +/-   ##
=======================================
  Coverage   89.02%   89.02%           
=======================================
  Files          88       88           
  Lines        4135     4136    +1     
  Branches      950      950           
=======================================
+ Hits         3681     3682    +1     
  Misses        454      454           
Impacted Files Coverage Δ
.../src/domain/rumEventsCollection/view/trackViews.ts 97.91% <0.00%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fe2d61...93b0be8. Read the comment docs.

@BenoitZugmeyer
Copy link
Member Author

Thank you @bpinto, it has been merged :)

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.

5 participants