A full version history of the serve-static package with size, number of distributed files and dependency evolution.
serve-static has undergone numerous updates, evolving from version 1.0.0 in early 2014 to the latest 2.2.0 in early 2025. Initial versions (1.0.x) focused on core functionality and relied on the send package for file serving, with incremental improvements in dependency versions and development tools. The 1.1.x to 1.6.x range introduced parseurl for URL parsing and saw gradual updates to send and development dependencies like mocha and supertest.
Versions 1.7.x through 1.9.x brought updates to send as well, usually updating the version of parseurl for minor releases as well as introducing escape-html and utils-merge. The 1.10.x series saw further refinements, with send and escape-html receiving updates, and the introduction of linting tools like eslint in the development dependencies starting with version 1.10.3.
The 1.11.x to 1.13.x iterations marked the inclusion of encodeurl to handle URL encoding. Later versions such as 1.14.x to 1.16.x focused on maintenance and upgrades of development dependencies, including more robust testing and linting configurations. The shift to version 2.0.0 and beyond involved major dependency upgrades, especially the send package, and reflected a continued commitment to modern development practices and security. Furthermore the move to the new versions meant the package kept its dependencies up to date with newer verions. Each release enhances performance, security, and developer experience of the package.