6.0.0
What's Changed
Breaking Changes
- The fallback constructor parameter using only a
boolean
value to enable debug output has been removed, only using an object to pass initialiation options is supported now. - The content of
modules
now reflects the Webpack module cache by reference, so the structure is different. If you have your code dependent on this, you need to adjust it. (findModule
andfindConstructor
work as before however). - There was a minor oversight in
findModule
, string modules were not lowercased with the search. This is now fixed, but means that your search results might be different from this version on. - The
ModuleLike
type is replaced with a better and less restrictiveWebpackModule
type.
New Feature:
You can now listen for newly loaded chunks!
If webpackJsonp.push
(or any other entrypoint) is called, moduleRaid will now dispatch a moduleraid:webpack-push
event on document
which you can listen to and re-run searches for modules or any other related logic.
Full Changelog: 5.1.2...6.0.0