- Bug: Fix plugin types. #161
- Feature: Include TypeScript definitions. ([jensbodal][]) #76
- Internal: Refactor object merging to avoid unnecessary destructuring.
- Feature: Add webpack5 support. #156
- Test: Change handling of tree-shaking supported fixtures to compare production on v4+ and dev vs prod on v3-.
- Test: Remove
expose-loader
fromloaders
test scenario as just wasn't working on windows + v5.
- Internal: Optimize
shouldBail
to used cachedgetData()
.
- Feature: Add
--bail
option for--action duplicates|versions
. #138 ([alexander-schranz][]) - Test: Refactor internal test script commands.
- Test: Add actual process execs for
bin
tests. - Various dependency updates.
- Add
ignoredPackages
plugin option (string or regex) and--ignored-packages|-i
CLI option (string) to ignore packages in respective outputs. #132 (@tido64)
- BUG: Handle circular dependencies recursion issue in
versions
. #128
- Use
source
string length oversize
reported from Webpack stats for assessing real size of source. - Remove
*.map
files from published npm package. - Upgrade prod and dev dependencies, including TypeScript (to
3.7.4
).
- Update
yargs
for security. #118 - TEST: Upgrade
mock-fs
to allow modern Nodes. Update Travis + Appveyor. #83 #94
- BUG: Handle
null
chunks in webpack stats object. #110
- Add
commonRoot
toversions
metadata to indicate what installed paths are relative to. - BUG: Detect hidden application roots for things like
yarn
workspaces that are completely flattened. #103
- BUG: Use
name
field to better processidentifier
to remove things like/PATH/TO/node_modules/font-awesome/font-awesome.css 0"
. May result in somebaseName
s being identical despite differentidentifier
s because of loaders and generated code.
- BUG: A loader in the
identifier
field would incorrectly have all modules inferred "as anode_modules
file", even if not. Implements a naive loader stripping heuristic to correctly assess ifnode_modules
or real application source. - Optimizes internal calls to
_isNodeModules()
from 2 to 1 for better performance.
- Add
emitHandler
option toDuplicatesPlugin
to allow customized output.
- BUG: CLI execution fails from command line. (Missing shebang.) #95
--action=versions
:- Reports: The
tsv
andtext
reports have now changed to reflect dependencies hierarchies as installed (e.g.,[email protected] -> [email protected] -> @scope/[email protected]
) to a semver range meaning something like as depended (e.g.,[email protected] -> 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. - Metadata: The following
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.
- Reports: The
- Add
range
information to all dependency items returned internally for dependencies utilities and ultimately all the way toversions
data. - Add
installed
aggregate statistic toversions
metadata. - Add
DuplicatesPlugin
webpack plugin.
- BUG: Per-asset
meta
stats were never set (all0
) before in data. - BUG: Multiple package roots incorrectly collapse / don't prefix. #90
- Updated README.md with note that
--action=versions
is not filtered to only packages that would have files show up in the--action=duplicates
report. - Update
--action=versions
logic to explicitly usesemver-compare
for sort order.
- Complete rewrite in TypeScript.
- Limit
package.json:engine
to>=6.0.0
(aka, the current supported Nodes). - Use webpack stats object instead of real bundle for data input.
- The structure and substantive content of all
json
data structures has changed, as well as the corollarytext
andtsv
output formats.sizes
- Remove
bundle
field and allmin
+min+gz
size fields. - Code
type
field has been removed.
- Remove
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 samebaseName
(aka, thefoo.js
part oflodash@1/foo.js
) with the reasoning that version skews that don't result in duplicated files aren't technically a "problem".
- Support for
--action={sizes,duplicates,versions}
- Format options
--format={json,text,tsv}
- Colorized output for
--format=text
- Maintain support (with tests) for webpack versions 1-4.
- Add AppVeyor Windows CI.
- Add missing
babel-traverse
dependency. (@deadcoder0904) #55 - Separate
npm run benchmark
from CI as it's slow and brittle.
- Bad version. (Not published).
- Handle bundle module form of
Array().concat()
. (@ryan-codingintrigue) #53
- Handle weird
{ type: "Buffer", data: [INTEGERS] }
plain JavaScript object. webpack-dashboard#193
- Make
better-sqlite3
andoptionalDependency
. Switch to noop cache if not present. #49 - Add
Cache.wrapAction
helper for common use case of "try cache get, do action, set cache". - Change cross-process communication to just serialize/deserialize the applicable cache instance.
- Add
cache
option forInspectpackDaemon.create
. - Add error logging for worker errors.
- Better parsing of bundle AST. (@tptee)
- Handle empty manifest. (@tptee)
- Handle
ModuleConcatenationPlugin
code sections.
- Use
sqlite
to back the daemon cache - Parallelize workers
- Breaking: rename factory methods from
init
tocreate
.
- Move
formidable-playbook
todevDependencies
.
- Version bump to essentially
v1.2.3
as the complete most recent version. - Also add
.npmignore
to hone down files published.
- Switch to
uglify-es
for minification estimates. - Note: Missing
v1.2.3
changes.
- Fix over-truncating
sourceMappingUrl
comment removal. - Note: Includes
v1.3.0
changes.
- Improve module ID comment inference logic.
- Add
--allow-empty
command flag and internal option for malformed bundles. - Capture bundle validation errors in callback rather than throwing synchronously.
- Fix size inspection of bundles created with
devtool: eval
. (@kkerr1)
- Fix usage of
lodash/fp
.
- Add
--action=versions
report. (@rgerstenberger)
- Add
--action=sizes
report. - Add
--format=tsv
output for all reports.
- Add
--action=files
report. #4
- Add
--action=pattern
report. #4
- Add
--gzip
flag and output to--action=duplicates
report. #3
- Add
--action=duplicates
report.