Babel-preset-react-app provides a curated set of Babel plugins and presets tailored for Create React App projects, streamlining the process of transforming modern JavaScript and JSX code into browser-compatible formats. Version 10.1.0 builds upon the foundation of version 10.0.1, introducing subtle but potentially impactful changes for developers.
The core Babel dependencies remain largely consistent, ensuring compatibility with features like class properties, decorators, optional chaining, and TypeScript. Critically, version 10.1.0 adds @babel/plugin-proposal-private-property-in-object as a dependency, offering enhanced support for private class fields and improving code encapsulation. Both versions include essential plugins and presets such as @babel/preset-env for targeted browser support and @babel/preset-react for JSX transformation. The babel-plugin-macros dependency enables powerful compile-time transformations, while babel-plugin-transform-react-remove-prop-types optimizes production builds by stripping away unnecessary prop type definitions.
A notable difference lies in the release dates. Version 10.0.1 was released in December 2021, meanwhile version 10.1.0 was released in February 2025. This suggests potentially incorporating newer Babel features and bug fixes. Another difference in unpackedSize between the 2 versions might also suggest changes in the newer version that affect the final weight of the package. Developers should upgrade to version 10.1.0 to leverage the latest features, bug fixes, and performance improvements within the Create React App ecosystem.
The are not vulnerabilities for the version 10.1.0 of the package babel-preset-react-app