Closed ryan-roemer closed 6 years ago
Merging #88 into master will increase coverage by
0.67%
. The diff coverage is88.38%
.
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 89.35% 90.03% +0.67%
==========================================
Files 11 14 +3
Lines 498 662 +164
Branches 78 105 +27
==========================================
+ Hits 445 596 +151
- Misses 37 38 +1
- Partials 16 28 +12
Impacted Files | Coverage Δ | |
---|---|---|
src/lib/actions/duplicates.ts | 94.66% <ø> (ø) |
:arrow_up: |
src/lib/actions.ts | 66.66% <ø> (+66.66%) |
:arrow_up: |
src/lib/actions/versions.ts | 95.2% <100%> (+0.27%) |
:arrow_up: |
src/plugin/duplicates.ts | 86.99% <86.99%> (ø) |
|
src/lib/util/dependencies.ts | 94.92% <87.5%> (-0.98%) |
:arrow_down: |
src/lib/util/files.ts | 80% <0%> (-6.67%) |
:arrow_down: |
src/lib/util/strings.ts | 100% <0%> (ø) |
:arrow_up: |
src/lib/index.ts | 100% <0%> (ø) |
|
src/lib/interfaces/modules.ts | 100% <0%> (ø) |
|
... and 1 more |
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 a473c50...e54fecc. Read the comment docs.
Work
Breaking changes
--action=versions
:tsv
andtext
reports have now changed to reflect dependencies hierarchies as installed (e.g.,scoped@1.2.3 -> flattened-foo@1.1.1 -> @scope/foo@1.1.1
) to a semever range meaning something like as depended (e.g.,scoped@1.2.3 -> flattened-foo@^1.1.0 -> @scope/foo@^1.1.1
). We expect that this change will provide much more useful information as to how and why your dependency graph impacts what is installed on disk innode_modules
and ultimately what ends up in your webpack bundle.meta
fields have been renamed to be easier to understand.skewedPackages
→packages
: Number of packages with skews.skewedVersions
→resolved
: Number of unique resolved versions.installedPackages
→installed
: Number of on-disk installs.dependedPackages
→depended
: Number of dependency paths.Features
range
information to all dependency items returned internally for dependencies utilities and ultimately all the way toversions
data.installed
aggregate statistic toversions
metadata.DuplicatesPlugin
webpack plugin.Fixes
meta
stats were never set (all0
) before in data.Miscellaneous
--action=versions
is not filtered to only packages that would have files show up in the--action=duplicates
report.--action=versions
logic to explicitly usesemver-compare
for sort order.Try it out
Download this branch:
You can replace
duplicates-cjs
with any other scenario from our test fixtures directory