Babel-loader is a crucial webpack loader that allows developers to seamlessly integrate Babel with their webpack build process, enabling the use of next-generation JavaScript features in older browsers. Comparing version 8.0.0 with the previous stable version 7.1.5 reveals key updates relevant for developers.
One significant change lies in the peer dependencies. Version 8.0.0 mandates webpack version 2 or higher and @babel/core version 7.0.0 or above. This contrasts with version 7.1.5, which offered broader compatibility, supporting webpack versions 2, 3, and 4, and requiring babel-core version 6. This shift indicates a move towards embracing Babel 7 and potentially dropping support for older Babel versions.
The dependencies and devDependencies also show differences. Version 8.0.0 introduces util.promisify as a direct dependency, reflecting a potential upgrade in internal code to utilize promises. The devDependencies in 8.0.0 are updated to align with Babel 7, including packages like @babel/cli, @babel/core, and @babel/preset-env, all at version 7.0.0-beta.41. These changes highlight a modernization of the development environment surrounding babel-loader, reflecting the wider ecosystem's transition to Babel 7. Developers should note these dependency updates to ensure compatibility within their projects.
The are not vulnerabilities for the version 8.0.0 of the package babel-loader