A full version history of the @babel/generator package with size, number of distributed files and dependency evolution.
The @babel/generator npm package, responsible for transforming Abstract Syntax Trees (ASTs) into readable code, has undergone significant evolution evidenced by its extensive version history. Starting from version 7.0.0 in August 2018, the package description is consistently “Turns an AST into code”. Early versions show rapid iterations within the 7.1.x series, focusing on bug fixes and incremental improvements reflected in small unpacked size increases.
From 7.2.0 until 7.17.9, the pattern of releases indicates ongoing refinements, with consistent dependency updates, maintaining a relatively steady unpacked size. A key transition occurs around 7.17.10 with the introduction of @jridgewell/gen-mapping, indicating architectural upgrades in source map generation, and by 7.20.0, versions start to depend on @babel/types and @jridgewell/gen-mapping, also increasing unpacked size of above 400KB.
Post 7.20.0 onwards the focus shifts to dependency optimization; the increasing use of @jridgewell related packages and frequent updates to @babel/types, culminating in the latest versions like 7.28.3. The increase in file count post version 7.18.13, unpacked size and introduction of more dev dependencies such as @babel/core and @babel/plugin-transform-typescript in version 7.26 indicates enhanced capabilities, enhanced performance and developer tooling.
Each version reflects incremental progress, improved code generation efficiency, and ensures alignment with the evolving Babel ecosystem.