hoist-non-react-statics, a utility for React developers, saw a minor version update from 2.2.0 to 2.2.1 in July 2017. Both versions share the core functionality of copying non-React specific static properties from a child component to a parent component. This makes them useful for higher-order components (HOCs), ensuring that static methods and properties are preserved when wrapping components. This preservation avoids unexpected behavior or loss of functionality.
Looking at the package metadata, the primary distinction between the two releases is the releaseDate. Version 2.2.1 was published on July 24, 2017, whereas 2.2.0 was released on July 13, 2017. Given the identical devDependencies and absence of any changes in other fields such as description, author, license, or repository, the update from 2.2.0 to 2.2.1 likely included bug fixes or minor internal improvements. Developers using version 2.2.0 are encouraged to upgrade to 2.2.1 to leverage potential stability enhancements. Both versions support React 15.0.0 and rely upon a suite of Babel tools for compilation and features like JSX transformation. Developers planning to use this in a modern React environment should consider compatibility with newer React versions.
The are not vulnerabilities for the version 2.2.1 of the package hoist-non-react-statics