Version 4.6.0 of babel-plugin-remove-graphql-queries introduces subtle but important updates compared to the previous stable version, 4.5.2. The primary difference lies in the updated dependencies. Specifically, gatsby-core-utils sees an increase from version 3.5.2 to version 3.6.0. While seemingly minor, this update likely incorporates bug fixes, performance improvements, or new utility functions within Gatsby's core utilities that directly benefit the plugin.
Developers leveraging this Babel plugin to strip out GraphQL queries during build processes, particularly in Gatsby projects, should note this dependency change. The plugin's core functionality of removing GraphQL queries for optimized production builds remains consistent between the two versions, ensuring smaller bundle sizes and faster loading times for end-users. Moreover, the peer dependencies for gatsby and @babel/core remain compatible, requiring at least gatsby ^4.0.0-next and @babel/core ^7.0.0, respectively.
Furthermore, the unpacked size of the plugin increases slightly, from 57505 bytes to 58394 bytes, potentially indicating added features or refinements within the core logic. Finally, version 4.6.0 was released on January 25, 2022, about a week after version 4.5.2. So, be sure to upgrade to the newest version to leverage the most up-to-date version of the plugin.
The are not vulnerabilities for the version 4.6.0 of the package babel-plugin-remove-graphql-queries