dd-trace-js
dd-trace-js copied to clipboard
switch to npm
What does this PR do?
Switch from npm to yarn for most purposes, and add yarn as a devDependency for the things we still need it for.
Motivation
For the moment, our usage of yarn is dependent on the 1.x series. In moving yarn to a library dependency (rather than a system dependency), we have greater control over that. Meanwhile, working correctly with npm sets a better baseline.
Overall package size
Self size: 6.6 MB Deduped: 59.46 MB No deduping: 59.8 MB
Dependency sizes
| name | version | self size | total size |
|---|---|---|---|
| @datadog/native-iast-taint-tracking | 2.1.0 | 14.91 MB | 14.92 MB |
| @datadog/native-appsec | 7.1.1 | 14.39 MB | 14.4 MB |
| @datadog/pprof | 5.2.0 | 8.84 MB | 9.21 MB |
| protobufjs | 7.3.0 | 2.77 MB | 5.13 MB |
| @opentelemetry/core | 1.24.1 | 876.82 kB | 2.53 MB |
| @datadog/native-iast-rewriter | 2.3.1 | 2.15 MB | 2.3 MB |
| @datadog/native-metrics | 2.0.0 | 898.77 kB | 1.3 MB |
| @opentelemetry/api | 1.8.0 | 1.21 MB | 1.21 MB |
| import-in-the-middle | 1.7.4 | 70.19 kB | 777.44 kB |
| msgpack-lite | 0.1.26 | 201.16 kB | 271.51 kB |
| opentracing | 0.14.7 | 194.81 kB | 194.81 kB |
| lru-cache | 7.18.3 | 133.92 kB | 133.92 kB |
| pprof-format | 2.1.0 | 111.69 kB | 111.69 kB |
| @datadog/sketches-js | 2.1.1 | 109.9 kB | 109.9 kB |
| semver | 7.6.2 | 95.42 kB | 95.42 kB |
| lodash.sortby | 4.7.0 | 75.76 kB | 75.76 kB |
| ipaddr.js | 2.2.0 | 62.31 kB | 62.31 kB |
| ignore | 5.3.1 | 51.46 kB | 51.46 kB |
| int64-buffer | 0.1.10 | 49.18 kB | 49.18 kB |
| shell-quote | 1.8.1 | 44.96 kB | 44.96 kB |
| dc-polyfill | 0.1.5 | 36.95 kB | 36.95 kB |
| istanbul-lib-coverage | 3.2.0 | 29.34 kB | 29.34 kB |
| tlhunter-sorted-set | 0.1.0 | 24.94 kB | 24.94 kB |
| limiter | 1.1.5 | 23.17 kB | 23.17 kB |
| retry | 0.13.1 | 18.85 kB | 18.85 kB |
| node-abort-controller | 3.1.1 | 16.89 kB | 16.89 kB |
| jest-docblock | 29.7.0 | 8.99 kB | 12.76 kB |
| crypto-randomuuid | 1.0.0 | 11.18 kB | 11.18 kB |
| koalas | 1.0.2 | 6.47 kB | 6.47 kB |
| path-to-regexp | 0.1.8 | 6.11 kB | 6.11 kB |
| methods | 1.1.2 | 5.29 kB | 5.29 kB |
| module-details-from-path | 1.0.3 | 4.47 kB | 4.47 kB |
🤖 This report was automatically generated by heaviest-objects-in-the-universe
Benchmarks
Benchmark execution time: 2024-05-15 19:01:14
Comparing candidate commit 8c8d73b8c64fb416e01572e378cfa4c291c1c49d in PR branch bengl/switch-to-npm with baseline commit 79f0d64cc798fbe99d8f59028b4906b93162e53c in branch master.
Found 0 performance improvements and 0 performance regressions! Performance is the same for 251 metrics, 5 unstable metrics.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.19%. Comparing base (
7000ae5) to head (b8c14c5). Report is 8 commits behind head on master.
:exclamation: Current head b8c14c5 differs from pull request most recent head 8c8d73b. Consider uploading reports for the commit 8c8d73b to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #4296 +/- ##
=======================================
Coverage 69.19% 69.19%
=======================================
Files 1 1
Lines 198 198
Branches 33 33
=======================================
Hits 137 137
Misses 61 61
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This just needs a re-do, if we're going to do it.