EJS, a popular templating engine for JavaScript, has seen a recent update with version 3.1.10, released on April 12, 2024. Comparing it to the previous stable version, 3.1.9 released in March 2023, offers developers insight into the evolution and potential benefits of upgrading. While both versions share core dependencies like "jake" and development dependencies including "jsdoc", "mocha", "eslint", "lru-cache", "uglify-js", "browserify", and "git-directory-deploy",the key differentiator lies in the "dist" object: specifically the "unpackedSize". EJS 3.1.10 shows an increased unpacked size of 142,835 bytes compared to 3.1.9's 141,964 bytes. This suggests internal code modifications, potentially including bug fixes, performance enhancements, or minor feature additions. Although the core functionality and usage remain consistent, developers should upgrade to version 3.1.10 to benefit from these latest improvements and ensure compatibility with evolving JavaScript environments. Also, the "author" section has been modified to include the url to his homepage, while in the previous version was grouped together with his name and email. As a lightweight and versatile templating solution, EJS remains a go-to choice for generating dynamic HTML in Node.js and browser-based applications. Keep your project updated with the latest version to enjoy the best EJS has to offer, even if the changes don't seem huge.
The are not vulnerabilities for the version 3.1.10 of the package ejs