React-dev-utils is a collection of helpful webpack utilities designed to simplify the development process for Create React App users. Versions 0.2.0 and 0.2.1 offer the same core functionality, providing tools for tasks like opening browsers, colorizing terminal output, converting ANSI strings to HTML, stripping ANSI codes, handling HTML entities, establishing WebSocket connections via SockJS, and escaping strings for regular expressions. Both versions depend on the same set of packages, from opn to escape-string-regexp, and share the same peer dependency of webpack version 1.13.2 or higher.
The key difference between these versions lies in their release date, with version 0.2.1 being released on September 27, 2016, a couple of days after version 0.2.0, released on September 25, 2016. While the shared dependencies suggest a similar feature set, the newer version might include bug fixes or minor improvements that don't necessarily involve dependency updates. For developers, this could mean a slightly more stable or refined experience.
Developers will find react-dev-utils invaluable for automating common development tasks when building React applications with Create React App. The utilities for console output formatting and HTML manipulation can significantly enhance the debugging and user interface development workflows. The difference between versions 0.2.0 and 0.2.1 is minimal as there are no declared dependency upgrades. Although, upgrading to the latest of the two versions is important to ensure to leverage the latest bug fixes and improvements from the react-dev-utils package.
All the vulnerabilities related to the version 0.2.1 of the package
Uncontrolled Resource Consumption in ansi-html
This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.
Exposure of Sensitive Information in eventsource
When fetching an url with a link to an external site (Redirect), the users Cookies & Autorisation headers are leaked to the third party application. According to the same-origin-policy, the header should be "sanitized."