changelogs.md


formidablelabs/inspectpack

Repository  -  API  -  Source

3.0.0

Breaking changes

  • 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 corollary text and tsv output formats.
    • sizes
      • Remove bundle field and all min + min+gz size fields.
      • Code 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".

Features

  • 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.

Miscellaneous

  • Add AppVeyor Windows CI.

2.2.4

  • Add missing babel-traverse dependency. ([@deadcoder0904][]) #55
  • Separate npm run benchmark from CI as it's slow and brittle.

2.2.3

  • Bad version. (Not published).

2.2.2

  • Handle bundle module form of Array().concat(). ([@ryan-codingintrigue][]) #53

2.2.1

2.2.0

  • Make better-sqlite3 and optionalDependency. 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 for InspectpackDaemon.create.
  • Add error logging for worker errors.

2.1.0

  • Better parsing of bundle AST. ([@tptee][])
  • Handle empty manifest. ([@tptee][])
  • Handle ModuleConcatenationPlugin code sections.

2.0.0

  • Use sqlite to back the daemon cache
  • Parallelize workers
  • Breaking: rename factory methods from init to create.

1.3.2

  • Move formidable-playbook to devDependencies.

1.3.1

  • Version bump to essentially v1.2.3 as the complete most recent version.
  • Also add .npmignore to hone down files published.

1.3.0

  • Switch to uglify-es for minification estimates.
  • Note: Missing v1.2.3 changes.

1.2.3

  • Fix over-truncating sourceMappingUrl comment removal.
  • Note: Includes v1.3.0 changes.

1.2.2

  • 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.

1.2.1

  • Fix size inspection of bundles created with devtool: eval. ([@kkerr1][])

0.6.1

  • Fix usage of lodash/fp.

0.6.0

  • Add --action=versions report. ([@rgerstenberger][])

0.5.0

  • Add --action=sizes report.
  • Add --format=tsv output for all reports.

0.4.1

  • Add ES6 reexport detection to --action=parse report. ([@divmain][]) #14

0.4.0

  • Add --action=parse report. ([@divmain][]) #7

0.3.0

  • Add --action=files report. #4

0.2.0

  • Add --action=pattern report. #4

0.1.1

  • Add --gzip flag and output to --action=duplicates report. #3

0.1.0

  • Add --action=duplicates report.