Rc-dropdown is a React component designed to create customizable dropdown menus. Version 2.2.0 arrived on June 6th, 2018, building upon the foundation laid by the previous stable version, 2.1.2, released on April 23rd, 2018. Both versions share a core set of dependencies crucial for React development, including prop-types for component validation, babel-runtime for compatibility, and react-lifecycles-compat for handling lifecycle methods. They also use the same suite of devDependencies like react, react-dom, rc-menu, and rc-test for development and testing within a React 16 environment.
The key difference lies in the rc-trigger dependency. Version 2.2.0 updates this to ^2.5.1, whereas 2.1.2 uses ^2.2.2. rc-trigger is responsible for controlling the visibility and positioning of the dropdown, so this upgrade likely brings improvements or bug fixes related to dropdown behavior, potentially enhancing responsiveness and reliability. Developers upgrading should pay close attention to any behavior changes introduced by the newer rc-trigger version.
The dist object also shows slight differences in unpackedSize, the newer version is a bit bigger (+1kb), meaning that there are some code changes included.
Developers using rc-dropdown should consider upgrading to 2.2.0 for the benefits of the updated rc-trigger, potentially leading to a more robust and polished dropdown experience within their React applications. Careful review of the rc-trigger changelog (if available) is recommended during the upgrade process.
The are not vulnerabilities for the version 2.2.0 of the package rc-dropdown