React.PropTypes was removed, and is now available in the prop-types package
Resolves these warnings during npm install (or yarn install):
Deprecation of babel-preset-es2015 and babel-preset-stage-2 in favor of babel-preset-env
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
RegExp DoS issue in babel-core > minimatch
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Updates to latest React practice:
React.PropTypes
was removed, and is now available in theprop-types
packageResolves these warnings during
npm install
(oryarn install
):babel-preset-es2015
andbabel-preset-stage-2
in favor ofbabel-preset-env
babel-core > minimatch