I updated to a recent version of webpack (5.68.0), and some time later noticed the license file generated with this plugin was missing almost all dependencies. It only showed dependencies for a few webpack related plugins, like css-loader. It was missing all other dependencies, like react. I kept downgrading webpack and found that this started happening in webpack 5.55.0. 5.54.0 and before work as expected.
Looking briefly at code of the plugin, it looks like compilation.fileDependencies, used in licenseUtils.js doesn't have the missing dependencies when it's accessed (for example, react is not in the list).
I updated to a recent version of webpack (5.68.0), and some time later noticed the license file generated with this plugin was missing almost all dependencies. It only showed dependencies for a few webpack related plugins, like css-loader. It was missing all other dependencies, like react. I kept downgrading webpack and found that this started happening in webpack 5.55.0. 5.54.0 and before work as expected.
Looking briefly at code of the plugin, it looks like
compilation.fileDependencies, used in licenseUtils.js doesn't have the missing dependencies when it's accessed (for example, react is not in the list).