Babel plugin remove GraphQL queries version 4.11.0 represents a subtle but potentially important update over version 4.10.1. The core functionality of stripping GraphQL queries during the Babel transformation process remains the same, aimed at optimizing production builds by removing unnecessary code. The primary difference lies in the updated dependencies. While both versions share dependencies like @babel/runtime and peer dependencies for gatsby and @babel/core, version 4.11.0 utilizes gatsby-core-utils version 3.11.0 compared to version 3.10.1 in the previous release. Additionally, the babel-preset-gatsby-package dev dependency has been bumped from version 2.10.0 to 2.11.0.
These dependency updates likely incorporate bug fixes, performance improvements, or new features within the Gatsby ecosystem's utility functions and Babel preset. Though seemingly minor, these changes can contribute to improved stability and compatibility, especially for developers working with the latest Gatsby versions. Developers should always examine changelogs associated with these dependencies for a comprehensive understanding of the specific modifications and benefits. Choosing the newer version ensures access to these potential improvements, contributing to a more robust and efficient build process when working with GraphQL queries in Gatsby projects. The size of the package also changed a bit from 60697 to 60971.
The are not vulnerabilities for the version 4.11.0 of the package babel-plugin-remove-graphql-queries