Skip to content

6.0.0

Compare
Choose a tag to compare
@pixeldesu pixeldesu released this 19 Mar 23:36
· 18 commits to main since this release

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 and findConstructor 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 restrictive WebpackModule 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