bietkul / react-reactive-form

Angular like reactive forms in React.
MIT License
309 stars 32 forks source link

opencollective dependency is end-of-life and transitively depends on vulnerable versions of minimist #96

Open rjgotten opened 1 year ago

rjgotten commented 1 year ago

Describe the bug Current versions of the react-reactive-form package depend on opencollective@1.0.3 This package is end-of-life -- will not see further updates, yet transitively depends on versions of the the minimist package that are vulnerable to two cases of prototype pollution. By extension this leaves consumers of the react-reactive-form package with a vulnerable version of minimist in their tree.

To Reproduce

  1. Install the react-reactive-form package.
  2. Run npm audit.

Expected behavior No security vulnerabilities in the package tree by removing the dependency on opencollective.

(Note also that OpenCollective itself actively discourages continued use of their old solutions that hang off of postinstall scripts. They encourage using the built-in npm fund functionality instead.)