Skip to content

Update dependency flow-parser to v0.314.0#19127

Merged
fisker merged 5 commits into
mainfrom
renovate/flow-parser
May 19, 2026
Merged

Update dependency flow-parser to v0.314.0#19127
fisker merged 5 commits into
mainfrom
renovate/flow-parser

Conversation

@renovate

@renovate renovate Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flow-parser (source) 0.312.00.314.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

facebook/flow (flow-parser)

v0.314.0

Compare Source

Likely to cause new Flow errors:

  • Deleted the implicit-inexact-object lint, it no longer does anything since exact_by_default=false was deprecated.
  • exact_by_default=false is now deprecated in .flowconfig. Read this blog post on how to migrate, and our docs on objects for more. exact_by_default=true is the default (since 2023) so simply delete the option when migrating.

Notable bug fixes:

  • Fixed incorrect enum cast suggestion when using an enum as a type argument

v0.313.0

Compare Source

Likely to cause new Flow errors:

  • Flow has changed its casting syntax from (x: T) to x as T. The default value of the option casting_syntax is now as, and Flow will error on the old syntax. If you want to preserve the old defualt value, add casting_syntax=both to your .flowconfig. You can use the npm package flow-upgrade to upgade: yarn run flow-codemod typeCastToAsExpression. Read the docs for more.

New Features:

  • Exported class setters no longer require an explicit type annotation: void is used if omitted

Parser:

  • The flow-parser estree output now aligns more with hermes-parser: ArrayExpression gains a trailingComma field, optional chaining is wrapped in a ChainExpression, AssertNonnull (expr!) emits a NonNullExpression instead of an optional node, type-position this emits ThisTypeAnnotation, and TypeParameter.bound is now a bare type node without the TypeAnnotation wrapper.

v0.312.1

Compare Source

  • Fix in saved state checks after a rebase

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependency Dependency Upgrade label May 7, 2026
@netlify

netlify Bot commented May 7, 2026

Copy link
Copy Markdown

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 01e1bbc
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6a0c8e0c5dd00d00081d42fa
😎 Deploy Preview https://deploy-preview-19127--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Size Change: +4.79 kB (+0.03%)

Total Size: 14.5 MB

📦 View Changed
Filename Size Change
dist/plugin-hermes/index.mjs 1.29 MB +32 B (0%)
dist/plugin-oxc/index.browser.mjs 2.89 MB +32 B (0%)
dist/plugin-oxc/index.mjs 467 kB +306 B (+0.07%)
dist/prettier/plugins/acorn.js 153 kB +105 B (+0.07%)
dist/prettier/plugins/acorn.mjs 153 kB +105 B (+0.07%)
dist/prettier/plugins/babel.js 318 kB +105 B (+0.03%)
dist/prettier/plugins/babel.mjs 317 kB +105 B (+0.03%)
dist/prettier/plugins/estree.js 211 kB -73 B (-0.03%)
dist/prettier/plugins/estree.mjs 210 kB -73 B (-0.03%)
dist/prettier/plugins/flow.js 1.1 MB +1.86 kB (+0.17%)
dist/prettier/plugins/flow.mjs 1.1 MB +1.86 kB (+0.17%)
dist/prettier/plugins/meriyah.js 126 kB +105 B (+0.08%)
dist/prettier/plugins/meriyah.mjs 125 kB +105 B (+0.08%)
dist/prettier/plugins/typescript.js 900 kB +105 B (+0.01%)
dist/prettier/plugins/typescript.mjs 900 kB +105 B (+0.01%)
dist/prettier/THIRD-PARTY-NOTICES.md 356 kB +4 B (0%)
ℹ️ View Unchanged
Filename Size
dist/plugin-hermes/index.d.ts 163 B
dist/plugin-hermes/LICENSE 1.06 kB
dist/plugin-hermes/package.json 900 B
dist/plugin-hermes/README.md 1.26 kB
dist/plugin-hermes/THIRD-PARTY-NOTICES.md 19.8 kB
dist/plugin-oxc/index.d.ts 177 B
dist/plugin-oxc/LICENSE 1.06 kB
dist/plugin-oxc/package.json 1.01 kB
dist/plugin-oxc/README.md 1.34 kB
dist/plugin-oxc/THIRD-PARTY-NOTICES.md 15.4 kB
dist/prettier/bin/prettier.cjs 2.57 kB
dist/prettier/doc.d.ts 7.42 kB
dist/prettier/doc.js 62 kB
dist/prettier/doc.mjs 57.7 kB
dist/prettier/index.cjs 41.5 kB
dist/prettier/index.d.ts 27.8 kB
dist/prettier/index.mjs 636 kB
dist/prettier/internal/experimental-cli-worker.mjs 89.2 kB
dist/prettier/internal/experimental-cli.mjs 445 kB
dist/prettier/internal/legacy-cli.mjs 194 kB
dist/prettier/LICENSE 1.06 kB
dist/prettier/package.json 6.54 kB
dist/prettier/plugins/acorn.d.ts 109 B
dist/prettier/plugins/angular.d.ts 177 B
dist/prettier/plugins/angular.js 111 kB
dist/prettier/plugins/angular.mjs 110 kB
dist/prettier/plugins/babel.d.ts 419 B
dist/prettier/plugins/estree.d.ts 121 B
dist/prettier/plugins/flow.d.ts 90 B
dist/prettier/plugins/glimmer.d.ts 159 B
dist/prettier/plugins/glimmer.js 140 kB
dist/prettier/plugins/glimmer.mjs 139 kB
dist/prettier/plugins/graphql.d.ts 159 B
dist/prettier/plugins/graphql.js 46.7 kB
dist/prettier/plugins/graphql.mjs 46 kB
dist/prettier/plugins/html.d.ts 218 B
dist/prettier/plugins/html.js 171 kB
dist/prettier/plugins/html.mjs 171 kB
dist/prettier/plugins/markdown.d.ts 191 B
dist/prettier/plugins/markdown.js 294 kB
dist/prettier/plugins/markdown.mjs 294 kB
dist/prettier/plugins/meriyah.d.ts 93 B
dist/prettier/plugins/postcss.d.ts 187 B
dist/prettier/plugins/postcss.js 155 kB
dist/prettier/plugins/postcss.mjs 155 kB
dist/prettier/plugins/typescript.d.ts 96 B
dist/prettier/plugins/yaml.d.ts 153 B
dist/prettier/plugins/yaml.js 123 kB
dist/prettier/plugins/yaml.mjs 123 kB
dist/prettier/README.md 3.4 kB
dist/prettier/standalone.d.ts 1.36 kB
dist/prettier/standalone.js 82.5 kB
dist/prettier/standalone.mjs 82 kB

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented May 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

yarn add https://pkg.pr.new/@prettier/plugin-hermes@19127.tgz
yarn add https://pkg.pr.new/@prettier/plugin-oxc@19127.tgz
yarn add https://pkg.pr.new/prettier@19127.tgz

commit: 01e1bbc

@renovate renovate Bot force-pushed the renovate/flow-parser branch 3 times, most recently from 6651ad1 to 8b20462 Compare May 13, 2026 16:56
@renovate renovate Bot changed the title Update dependency flow-parser to v0.313.0 Update dependency flow-parser to v0.314.0 May 13, 2026
@renovate renovate Bot force-pushed the renovate/flow-parser branch from 8b20462 to c6bda8a Compare May 19, 2026 15:46
@renovate

renovate Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@fisker fisker merged commit 99bdbf3 into main May 19, 2026
39 of 41 checks passed
@fisker fisker deleted the renovate/flow-parser branch May 19, 2026 16:29
@fisker fisker mentioned this pull request Jun 19, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Dependency Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant