Typescript-react-starter: react-scripts-ts is vulnerable

Created on 17 Jan 2019  路  3Comments  路  Source: microsoft/TypeScript-React-Starter

react-scripts-ts newest version uses [email protected], which is vulnerable version.
There is no public repository for react-scripts-ts, so I report it here, since You recommend to use this package.

Most helpful comment

Hi Tomas, the README.md still refers to create-react-app my-app --scripts-version=react-scripts-ts which will installl react-scripts-ts which still has the vulnerability. It should be updated to create-react-app my-app --typescript like you said, but then the guide will not match with the files generated, it should still be addressed.

All 3 comments

This is the repository you are referring to: https://github.com/wmonk/create-react-app-typescript

It has been marked as obsolete and should not be used anymore. CRA 2 has TypeScript support and this guide should probably be updated to recommend using that.

Thank You for quick response.
I found useful migration guide:
https://vincenttunru.com/migrate-create-react-app-typescript-to-create-react-app/

Issue may be closed.

Hi Tomas, the README.md still refers to create-react-app my-app --scripts-version=react-scripts-ts which will installl react-scripts-ts which still has the vulnerability. It should be updated to create-react-app my-app --typescript like you said, but then the guide will not match with the files generated, it should still be addressed.

Was this page helpful?
0 / 5 - 0 ratings