Skip to content

[Snyk] Upgrade flow-parser from 0.114.0 to 0.294.0#5

Merged
Corinne Rauch (Jason-123-cyber) merged 1 commit into
latestfrom
snyk-upgrade-182d0329f62428331c86102d71003082
Jan 18, 2026
Merged

[Snyk] Upgrade flow-parser from 0.114.0 to 0.294.0#5
Corinne Rauch (Jason-123-cyber) merged 1 commit into
latestfrom
snyk-upgrade-182d0329f62428331c86102d71003082

Conversation

@Jason-123-cyber

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to upgrade flow-parser from 0.114.0 to 0.294.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 271 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: flow-parser
  • 0.294.0 - 2025-12-11

    Parser:

    • Support second argument of import expressions

    Bug Fixes:

  • 0.293.0 - 2025-12-05

    Config:

    • use_mixed_in_catch_variables option was renamed use_unknown_in_catch_variables because mixed is being renamed to unknown
  • 0.292.0 - 2025-12-02

    Likely to cause new Flow errors:

    • Flow will start to validate variance for declare classes.

    Parser:

    • Rename ClassDeclaration property 'superTypeParameters' to 'superTypeArguments'
  • 0.291.0 - 2025-11-10

    IDE:

    • Flow now provides a code action to fix all invalid-type-cast-syntax errors in the file.
  • 0.290.0 - 2025-11-06

    Likely to cause new Flow errors:

    • flow will now validate variance in interface declarations
    • Bad cyclic object types are now banned. e.g. type O_loop = { p: 0, __proto__: O_loop } will cause an error.
    • Flow is now stricter with generic mapped type. example

    Notable bug fixes:

    • We improved the refinement system of match. Some code that previously gets a general type will now get a refined type. example
    • allow opaque types to be used as keys to computed object properties
    • autocomplete on import { | } from 'a'; will only suggest values, not types.
    • flow-dev-tools now properly detects unused suppressions

    IDE:

    • Flow now provide auto-import code actions for all unbound names, even through they might resolve to a global. It can be helpful when the global is not what you want.

    Library Definitions:

    • Add bigint functions to DataView
  • 0.289.0 - 2025-10-23

    Likely to cause new Flow errors:

    • For a poorly bounded generic indexed access types, we will no longer generate an error for it when it's being first subtyped against. Instead, we will make it opaque so that when it's being subtyped against, it will error. example
    • Flow will error when you are trying to redefine the following reserved types: $NonMaybeType, NonNullable, $ReadOnly, Readonly, $Keys, $Values, Values, $ReadOnlyMap, ReadonlyMap, $ReadOnlySet, ReadonlySet.

    Notable bug fixes:

    • We no longer incorrectly report conditional hook call for loops with a break. example
    • Fixed a potential crash when evaluating a conditional type. example
    • Flow will now allow computed keys of type StringPrefix/StringSuffix to be included in object initializers with other non-overlapping keys (example try-Flow)

    Library Definitions:

    • Update React API types from recent releases
      Added
  • 0.288.0 - 2025-10-13

    Likely to cause new Flow errors:

    • React.ElementProps is removed. You should use React.ElementConfig instead.
    • For a function named as a hook but not annotated as a hook, it will no longer be treated like a hook when you try to use it from property access or property destructuring in component syntax components and hook syntax hooks. They will now cause react-rule-hook-non-hook-syntax errors. To fix, annotate them with hook annotation. example
    • Calling functions passed to function and component with hook like name but not annotated as hook will now error. example.
    • React$RefSetter<...> and and React$Context are removed. It continues to be available in the form of React.RefSetter<...> and React.Context<...>, regardless of whether you have imported React.
    • React$ElementRef<...> was removed. It continues to be available in the form of React.ElementRef<...>, regardless of whether you have imported React.

    Breaking Changes:

    • The config option max_literal_length was removed. Flow will always decide whether to infer a specific or general type of string literal based on the natural inference algorithm.

    Notable bug fixes:

    • You can now use @@ dispose and @@ asyncDispose in your library typings. You can access the respective properties with obj[Symbol.dispose] and obj[Symbol.asyncDispose].
    • Allow comparisons of bigint singletons

    Library Definitions:

    • The second type argument of ExactReactElement will be populated by React.ElementConfig<C> instead of React.ElementProps<C>. Most of the code that doesn't depend on exact react element types won't be affected.
  • 0.287.0 - 2025-09-27

    Breaking Changes:

    • We will stop publishing new versions of flow-parser-bin. If you want to parse flow code with native-like performance, you should use hermes-parser package, which is running on wasm.

    Likely to cause new Flow errors:

    • The deprecated React$Element type is now removed. You should use React.Node or React.MixedElement in most cases. If you really want exact react elements, you can use ExactReactElement_DEPRECATED

    New Features:

    • Flow has full React 19 ref-as-prop support. Since this version, you are allowed to spread ref prop in component syntax components.

    IDE:

    • We now provide a rewrite refactor to convert arrays, map, set, and object types into their readonly forms.
  • 0.286.0 - 2025-09-24

    Breaking Changes:

    • Starting from this version, flow-bin will only contain ARM64 binaries for macOS.

    Likely to cause new Flow errors:

    • Flow now errors on constant conditions and invalid comparisons. example
    • Flow will no longer infer an unsound type for array and object literals passed to a general function. example
    • React.ElementConfig<...> and React.PropsOf<...> will now always include the ref prop in the props object type.
    • The config option for an earlier mode react.ref_as_prop=partial_support is removed, and Flow now has better support for React 19's ref-as-prop behavior:
      1. All the ref prop in component syntax components must be made optional
      2. You might need to rewrite some of your higher order components. e.g. previously an identity HOC must be written as
    declare function id<Props: {...}, Ref>(c: component(ref?: Ref, ...Props)): component(ref?: Ref...Props)
    

    now it must be written as

    declare function id<Props: {...}>(c: component(...Props)): component(...Props)
    
  • 0.285.0 - 2025-09-20

    Library Definitions:

    Bug fixes:

    • Fixed a bug that when experimental.ts_utility_syntax=true, imported Readonly, ReadonlyArray, NonNullable, ReadonlyMap, ReadonlySet types are considered any.
  • 0.284.0 - 2025-09-18
  • 0.283.0 - 2025-09-17
  • 0.282.0 - 2025-09-16
  • 0.281.0 - 2025-09-04
  • 0.280.0 - 2025-08-27
  • 0.279.0 - 2025-08-14
  • 0.278.0 - 2025-08-01
  • 0.277.1 - 2025-07-24
  • 0.277.0 - 2025-07-23
  • 0.276.0 - 2025-07-18
  • 0.275.0 - 2025-07-04
  • 0.274.2 - 2025-06-27
  • 0.274.1 - 2025-06-26
  • 0.274.0 - 2025-06-24
  • 0.273.1 - 2025-06-11
  • 0.273.0 - 2025-06-06
  • 0.272.2 - 2025-05-30
  • 0.272.1 - 2025-05-24
  • 0.272.0 - 2025-05-22
  • 0.271.0 - 2025-05-15
  • 0.270.0 - 2025-05-12
  • 0.269.1 - 2025-04-28
  • 0.268.0 - 2025-04-16
  • 0.267.0 - 2025-04-11
  • 0.266.1 - 2025-03-29
  • 0.266.0 - 2025-03-27
  • 0.265.3 - 2025-03-17
  • 0.265.2 - 2025-03-14
  • 0.265.0 - 2025-03-13
  • 0.264.0 - 2025-03-13
  • 0.263.0 - 2025-03-04
  • 0.262.0 - 2025-02-26
  • 0.261.2 - 2025-02-18
  • 0.261.1 - 2025-02-13
  • 0.261.0 - 2025-02-12
  • 0.260.0 - 2025-02-10
  • 0.259.1 - 2025-01-16
  • 0.259.0 - 2025-01-16
  • 0.258.1 - 2025-01-08
  • 0.258.0 - 2025-01-03
  • 0.257.1 - 2024-12-20
  • 0.257.0 - 2024-12-18
  • 0.256.0 - 2024-12-06
  • 0.255.0 - 2024-11-25
  • 0.254.2 - 2024-11-22
  • 0.254.1 - 2024-11-21
  • 0.254.0 - 2024-11-20
  • 0.253.0 - 2024-11-14
  • 0.252.0 - 2024-11-07
  • 0.251.1 - 2024-10-30
  • 0.251.0 - 2024-10-29
  • 0.250.0 - 2024-10-17
  • 0.249.0 - 2024-10-16
  • 0.248.1 - 2024-10-12
  • 0.248.0 - 2024-10-11
  • 0.247.1 - 2024-09-27
  • 0.247.0 - 2024-09-27
  • 0.246.0 - 2024-09-13
  • 0.245.2 - 2024-09-05
  • 0.245.1 - 2024-09-04
  • 0.245.0 - 2024-08-30
  • 0.244.0 - 2024-08-17
  • 0.243.0 - 2024-08-07
  • 0.242.1 - 2024-07-30
  • 0.242.0 - 2024-07-29
  • 0.241.0 - 2024-07-17
  • 0.240.0 - 2024-07-17
  • 0.239.1 - 2024-07-08
  • 0.239.0 - 2024-07-03
  • 0.238.3 - 2024-06-27
  • 0.238.2 - 2024-06-25
  • 0.238.1 - 2024-06-18
  • 0.238.0 - 2024-06-13
  • 0.237.2 - 2024-06-04
  • 0.237.1 - 2024-05-29
  • 0.237.0 - 2024-05-29
  • 0.236.0 - 2024-05-09
  • 0.235.1 - 2024-04-24
  • 0.234.0 - 2024-04-17
  • 0.233.0 - 2024-04-03
  • 0.232.0 - 2024-03-26
  • 0.231.0 - 2024-03-13
  • 0.230.0 - 2024-03-06
  • 0.229.2 - 2024-02-25
  • 0.229.0 - 2024-02-15
  • 0.228.0 - 2024-02-01
  • 0.227.0 - 2024-01-18
  • 0.226.0 - 2024-01-09
  • 0.225.1 - 2023-12-20
  • 0.225.0 - 2023-12-19
  • 0.224.0 - 2023-12-13
  • 0.223.3 - 2023-12-05
  • 0.223.2 - 2023-12-01
  • 0.223.0 - 2023-11-29
  • 0.222.0 - 2023-11-16
  • 0.221.0 - 2023-11-09
  • 0.220.1 - 2023-11-03
  • 0.220.0 - 2023-10-27
  • 0.219.5 - 2023-10-25
  • 0.219.4 - 2023-10-24
  • 0.219.3 - 2023-10-20
  • 0.219.2 - 2023-10-19
  • 0.219.0 - 2023-10-18
  • 0.218.1 - 2023-10-11
  • 0.218.0 - 2023-10-05
  • 0.217.2 - 2023-09-29
  • 0.217.1 - 2023-09-28
  • 0.217.0 - 2023-09-21
  • 0.216.1 - 2023-09-08
  • 0.216.0 - 2023-09-06
  • 0.215.1 - 2023-08-23
  • 0.215.0 - 2023-08-21
  • 0.214.0 - 2023-08-03
  • 0.213.1 - 2023-07-25
  • 0.213.0 - 2023-07-21
  • 0.212.0 - 2023-07-11
  • 0.211.1 - 2023-07-08
  • 0.211.0 - 2023-07-04
  • 0.210.2 - 2023-06-30
  • 0.210.1 - 2023-06-27
  • 0.210.0 - 2023-06-26
  • 0.209.1 - 2023-06-21
  • 0.209.0 - 2023-06-15
  • 0.208.1 - 2023-06-13
  • 0.208.0 - 2023-06-08
  • 0.207.0 - 2023-05-26
  • 0.206.0 - 2023-05-10
  • 0.205.1 - 2023-05-04
  • 0.205.0 - 2023-04-26
  • 0.204.1 - 2023-04-25
  • 0.204.0 - 2023-04-14
  • 0.203.1 - 2023-03-31
  • 0.203.0 - 2023-03-29
  • 0.202.1 - 2023-03-24
  • 0.202.0 - 2023-03-16
  • 0.201.0 - 2023-03-02
  • 0.200.1 - 2023-02-24
  • 0.200.0 - 2023-02-16
  • 0.199.1 - 2023-02-02
  • 0.199.0 - 2023-02-02
  • 0.198.2 - 2023-01-26
  • 0.198.1 - 2023-01-23
  • 0.198.0 - 2023-01-21
  • 0.197.0 - 2023-01-15
  • 0.196.3 - 2022-12-21
  • 0.196.2 - 2022-12-21
  • 0.196.1 - 2022-12-19
  • 0.196.0 - 2022-12-15
  • 0.195.2 - 2022-12-12
  • 0.195.1 - 2022-12-09
  • 0.195.0 - 2022-12-08
  • 0.194.0 - 2022-11-29
  • 0.193.0 - 2022-11-11
  • 0.192.0 - 2022-11-04
  • 0.191.0 - 2022-10-27
  • 0.190.1 - 2022-10-21
  • 0.190.0 - 2022-10-14
  • 0.189.0 - 2022-10-12
  • 0.188.2 - 2022-10-06
  • 0.188.1 - 2022-09-30
  • 0.188.0 - 2022-09-29
  • 0.187.1 - 2022-09-20
  • 0.187.0 - 2022-09-15
  • 0.186.0 - 2022-08-31
  • 0.185.2 - 2022-08-24
  • 0.185.1 - 2022-08-20
  • 0.185.0 - 2022-08-17
  • 0.184.0 - 2022-08-03
  • 0.183.1 - 2022-07-28
  • 0.183.0 - 2022-07-20
  • 0.182.0 - 2022-07-07
  • 0.181.2 - 2022-06-29
  • 0.181.1 - 2022-06-26
  • 0.181.0 - 2022-06-23
  • 0.180.1 - 2022-06-21
  • 0.180.0 - 2022-06-09
  • 0.179.0 - 2022-05-26
  • 0.178.1 - 2022-05-20
  • 0.178.0 - 2022-05-12
  • 0.177.0 - 2022-05-03
  • 0.176.3 - 2022-04-22
  • 0.176.2 - 2022-04-15
  • 0.176.1 - 2022-04-14
  • 0.176.0 - 2022-04-12
  • 0.175.1 - 2022-04-06
  • 0.175.0 - 2022-03-31
  • 0.174.1 - 2022-03-18
  • 0.174.0 - 2022-03-16
  • 0.173.0 - 2022-03-04
  • 0.172.0 - 2022-02-17
  • 0.171.0 - 2022-02-03
  • 0.170.0 - 2022-01-24
  • 0.169.0 - 2022-01-06
  • 0.168.0 - 2021-12-16
  • 0.167.1 - 2021-12-13
  • 0.167.0 - 2021-12-10
  • 0.166.1 - 2021-12-03
  • 0.166.0 - 2021-12-02
  • 0.165.1 - 2021-11-19
  • 0.165.0 - 2021-11-18
  • 0.164.0 - 2021-11-10
  • 0.163.0 - 2021-10-28
  • 0.162.1 - 2021-10-19
  • 0.162.0 - 2021-10-14
  • 0.161.0 - 2021-09-29
  • 0.160.2 - 2021-09-23
  • 0.160.1 - 2021-09-20
  • 0.160.0 - 2021-09-16
  • 0.159.0 - 2021-09-01
  • 0.158.0 - 2021-08-19
  • 0.157.0 - 2021-08-05
  • 0.156.0 - 2021-07-21
  • 0.155.1 - 2021-07-17
  • 0.155.0 - 2021-07-08
  • 0.154.0 - 2021-06-23
  • 0.153.0 - 2021-06-14
  • 0.152.0 - 2021-05-27
  • 0.151.0 - 2021-05-12
  • 0.150.1 - 2021-05-06
  • 0.150.0 - 2021-04-29
  • 0.149.0 - 2021-04-15
  • 0.148.0 - 2021-04-01
  • 0.147.0 - 2021-03-19
  • 0.146.0 - 2021-03-04
  • 0.145.0 - 2021-02-18
  • 0.144.0 - 2021-02-04
  • 0.143.1 - 2021-01-22
  • 0.143.0 - 2021-01-21
  • 0.142.0 - 2021-01-07
  • 0.141.0 - 2020-12-18
  • 0.140.0 - 2020-12-10
  • 0.139.0 - 2020-12-07
  • 0.138.0 - 2020-11-13
  • 0.137.0 - 2020-10-29
  • 0.136.0 - 2020-10-15
  • 0.135.0 - 2020-09-30
  • 0.134.0 - 2020-09-17
  • 0.133.0 - 2020-09-02
  • 0.132.0 - 2020-08-21
  • 0.131.0 - 2020-08-06
  • 0.130.0 - 2020-07-23
  • 0.129.0 - 2020-07-08
  • 0.128.0 - 2020-06-27
  • 0.127.0 - 2020-06-12
  • 0.126.1 - 2020-06-02
  • 0.126.0 - 2020-06-02
  • 0.125.1 - 2020-05-15
  • 0.125.0 - 2020-05-15
  • 0.124.0 - 2020-05-05
  • 0.123.0 - 2020-04-16
  • 0.122.0 - 2020-04-02
  • 0.121.0 - 2020-03-18
  • 0.120.1 - 2020-03-05
  • 0.119.1 - 2020-02-25
  • 0.119.0 - 2020-02-21
  • 0.118.0 - 2020-02-06
  • 0.117.1 - 2020-01-30
  • 0.117.0 - 2020-01-24
  • 0.116.1 - 2020-01-17
  • 0.116.0 - 2020-01-10
  • 0.115.0 - 2020-01-03
  • 0.114.0 - 2019-12-13
from flow-parser GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade flow-parser from 0.114.0 to 0.294.0.

See this package in npm:
flow-parser

See this project in Snyk:
https://app.snyk.io/org/jason-123-cyber/project/49f748b6-80a4-4e05-b3d4-feca53ec982c?utm_source=github&utm_medium=referral&page=upgrade-pr
@Jason-123-cyber
Corinne Rauch (Jason-123-cyber) merged commit 94e2ed3 into latest Jan 18, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants