Skip to content

chore(deps): update dependency promidas to v5 - autoclosed - #68

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/promidas-5.x
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/promidas-5.x

Conversation

@renovate

@renovate renovate Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
promidas ^4.0.0 → ^5.0.0 age confidence

Release Notes

F88/promidas (promidas)

v5.0.0

Compare Source

BREAKING CHANGES
lib/fetcher
  • cors and CORS_BLOCKED are renamed: kind: 'cors' is now
    kind: 'browser_fetch', and code: 'CORS_BLOCKED' is now
    code: 'BROWSER_FETCH_FAILED'. Browsers give JavaScript the same error for a
    CORS block, an authentication error without CORS headers, and a failed
    connection, so the old names stated a cause that cannot be known. When to report
    this failure does not change (#​157).
  • details.res.code is replaced by details.causeCode: details.res now
    only holds statusText, and only when a response was received.
    details.causeCode only holds a string code found on the error, such as
    ECONNREFUSED or UND_ERR_SOCKET.
    • TIMEOUT, ABORTED, and the NETWORK_ERROR that promidas set are no longer
      repeated there. Use result.code for them.
    • constructDisplayMessage() no longer prefixes those values.
  • A DOMException other than AbortError and TimeoutError is now
    unknown / UNKNOWN
    : it was network with its legacy numeric code in
    result.code or NETWORK_ERROR, which was not a network failure.
Migration

TypeScript reports each place to change, because the old values and
details.res.code no longer exist in the types.

Before After
result.kind === 'cors' result.kind === 'browser_fetch'
result.code === 'CORS_BLOCKED' result.code === 'BROWSER_FETCH_FAILED'
result.details.res?.code result.details.causeCode
details.res.code of TIMEOUT, etc. result.code (TIMEOUT, ABORTED, NETWORK_ERROR, BROWSER_FETCH_FAILED)

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 renovate label Nov 9, 2026
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@renovate renovate Bot changed the title chore(deps): update dependency promidas to v5 chore(deps): update dependency promidas to v5 - autoclosed Nov 9, 2026
@renovate renovate Bot closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants