ShellJS version 0.9.0 marks a notable evolution from version 0.8.5, offering developers enhanced features and updated dependencies for modern Node.js environments. A key difference lies in dependency management; version 0.9.0 replaces the older glob dependency with the more performant fast-glob, promising faster file system operations, which can significantly improve build and deployment processes. Additionally, execa is introduced as a dependency, providing more robust and flexible process execution capabilities.
For developers, this means that shelljs 0.9.0 comes with enhanced capacity to handle more elaborate commands, and overall a better integration with external programs. The update in devDependencies reflects a commitment to code quality and modern development practices: Ava, NYC, ESLint, and other tools have been updated to newer versions, ensuring better testing, coverage, and linting. The removal of codecov from devDependencies, coupled with updates to other existing tools, suggests a shift in the CI/CD pipeline or reporting strategy.
While version 0.8.5 provided a solid foundation for shell scripting in Node.js, these changes in 0.9.0 offer increased speed, better process handling, security updates via dependency upgrades, and integration with modern Javascript tooling, making it more attractive to developers prioritizing performance and up-to-date tooling. Developers migrating from 0.8.5 should examine their scripts and ensure compatibility with the new versions of all dependencies, especially noticing the change in glob implementation, from the glob package to fast-glob.
The are not vulnerabilities for the version 0.9.0 of the package shelljs