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

flow-upgrade

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-upgrade - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

dist/codemods/replaceReactDollarUtilityTypes.js

12

package.json
{
"name": "flow-upgrade",
"version": "2.3.0",
"version": "2.4.0",
"description": "A utility for upgrading your codebase to the latest version of Flow.",

@@ -33,11 +33,11 @@ "engines": {

"@babel/highlight": "^7.18.6",
"babel-plugin-syntax-hermes-parser": "0.19.0",
"babel-plugin-syntax-hermes-parser": "0.23.0",
"chalk": "^2.0.1",
"fs-extra": "10.1.0",
"hermes-estree": "0.19.0",
"hermes-parser": "0.19.0",
"hermes-transform": "0.19.0",
"hermes-estree": "0.23.0",
"hermes-parser": "0.23.0",
"hermes-transform": "0.23.0",
"klaw-sync": "^6.0.0",
"ora": "^5.4.1",
"prettier-plugin-hermes-parser": "0.19.0",
"prettier-plugin-hermes-parser": "0.23.0",
"prompt-confirm": "^1.2.0",

@@ -44,0 +44,0 @@ "semver": "^7.3.7",

@@ -96,1 +96,6 @@ # `flow-upgrade`

Run with `yarn run flow-codemod typeCastToAsExpression`.
### Migrate internal Flow types for React to public-facing ones
Converts usages of the internal React types like `React$Node` to public facing ones like `React.Node`.
Run with `yarn run flow-codemod replaceReactDollarUtilityTypes`.
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