Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flow-upgrade

Package Overview
Dependencies
Maintainers
9
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-upgrade

A utility for upgrading your codebase to the latest version of Flow.

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
9
Created
Source

flow-upgrade

A utility for upgrading your codebase to the latest version of Flow.

To run this utility to upgrade your codebase you can use yarn create:

yarn create flow-upgrade

This is a shorter version which is equivalent to:

yarn global add flow-upgrade
flow-upgrade

You may also use npx:

npx flow-upgrade

We expect prettier to be installed as a peer dependency wherever you are running flow-upgrade.

Options

all

By default, Flow will only upgrade files that have an // @flow header comment. If you want to upgrade all of your JavaScript files you may pass in the --all:

yarn create flow-upgrade --all

prettierrc

Path to a .prettierrc file to use. Upgrade codemods rely upon prettier to print the resulting code after transformation. If this is not provided, we will just use the defaults.

FAQs

Package last updated on 01 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc