inspectpack
Advanced tools
Changelog
4.1.2
name
field to better process identifier
to remove things like
/PATH/TO/node_modules/font-awesome/font-awesome.css 0"
. May result in some
baseName
s being identical despite different identifier
s because of
loaders and generated code.Changelog
4.1.1
identifier
field would incorrectly have all modules inferred "as a node_modules
file", even if not. Implements a naive loader stripping heuristic to correctly assess if node_modules
or real application source._isNodeModules()
from 2 to 1 for better performance.Changelog
4.1.0
emitHandler
option to DuplicatesPlugin
to allow customized output.Changelog
4.0.0
--action=versions
:
tsv
and text
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 semver 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 in node_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.range
information to all dependency items returned internally for
dependencies utilities and ultimately all the way to versions
data.installed
aggregate statistic to versions
metadata.DuplicatesPlugin
webpack plugin.meta
stats were never set (all 0
) before in data.--action=versions
is not filtered to only
packages that would have files show up in the --action=duplicates
report.--action=versions
logic to explicitly use semver-compare
for sort
order.Changelog
3.0.0
package.json:engine
to >=6.0.0
(aka, the current supported Nodes).json
data structures has
changed, as well as the corollary text
and tsv
output formats.
sizes
bundle
field and all min
+ min+gz
size fields.type
field has been removed.duplicates
: A complete revision of the JSON format and accompanying
other format outputs.versions
: A complete rewrite of output formats and what is actually
reported on. Now, only reports versions information if there are 2+ files
of the same baseName
(aka, the foo.js
part of lodash@1/foo.js
) with
the reasoning that version skews that don't result in duplicated files
aren't technically a "problem".--action={sizes,duplicates,versions}
--format={json,text,tsv}
--format=text