A full version history of the @rollup/plugin-commonjs package with size, number of distributed files and dependency evolution.
@rollup/plugin-commonjs has undergone significant evolution since its initial release, transforming CommonJS modules into ES2015. Starting with version 11.0.0 in late 2019, the plugin has consistently adapted to the ever-changing JavaScript landscape. The early versions prioritized core functionality like resolving dependencies and walking the Abstract Syntax Tree (AST). By version 11.1.0, external dependencies like glob and commondir were introduced, enhancing the plugin's capabilities for module discovery and path manipulation.
The shift from version 11 to versions 23 onward reflect a modernization strategy. Starting with a major version 23, the plugin began aligning itself with newer tooling, demonstrated by updates in its dev dependencies, specifically in the rollup ecosystems and using modern versions of rollup and typescript. The more recent changes, particularly in versions within the 25+ range, demonstrate the team's commitment to staying current, reflecting updated peer dependencies such as using roll up version 4. The plugin has steadily improved its ability to integrate with the latest versions of Rollup, ensuring seamless compatibility for developers. Throughout its development, @rollup/plugin-commonjs has maintained its core mission of simplifying the conversion of CommonJS modules to modern ES modules.