You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
I'm new to flatten-packages and have a few questions. Looking forward to your kind reply. Thanks.
node v3 (search keyword flat) already flat the packages maximally. Do I still need to use flatten-packages?
What's the difference between flatten-packages and npm dedupe?
npm dedup: The deduplication algorithm walks the tree, moving each dependency as far up in the tree as possible, even if duplicates are not found. This will result in both a flat and deduplicated tree.
I think npm dedupe is doing the same thing? How does flatten-packages handle conflict packages?
The text was updated successfully, but these errors were encountered:
flatten-packages created before npm@3 flat dependencies.
If you use npm@3, you don't need to use this.
flatten-packages don't handle conflict packages as it will just delete older version. npm dedupe did better that it respect semver version range to avoid conflict.
I'm new to
flatten-packages
and have a few questions. Looking forward to your kind reply. Thanks.flat
) already flat the packages maximally. Do I still need to useflatten-packages
?flatten-packages
andnpm dedupe
?I think
npm dedupe
is doing the same thing? How doesflatten-packages
handle conflict packages?The text was updated successfully, but these errors were encountered: