Skip to content

security: upgrade rxjs from v6.x to 7.8.2#16

Open
egg-sourcegraph-testing[bot] wants to merge 1 commit into
masterfrom
security/rxjs-upgrade-v6-to-v7.8.2
Open

security: upgrade rxjs from v6.x to 7.8.2#16
egg-sourcegraph-testing[bot] wants to merge 1 commit into
masterfrom
security/rxjs-upgrade-v6-to-v7.8.2

Conversation

@egg-sourcegraph-testing
Copy link
Copy Markdown

Summary

Upgrades rxjs from any v6.x.x release to 7.8.2 and migrates all
breaking API changes required for compatibility with rxjs v7.

Changes made

  • package.json: bumped rxjs to 7.8.2
  • Rewrote rxjs/operators imports → rxjs root imports
  • Updated throwError(value)throwError(() => value) (v7 factory signature)
  • Replaced .toPromise()lastValueFrom() with appropriate import
  • Removed rxjs-compat if present
  • Flagged any rxjs/internal/* imports with TODO comments for manual review

Why

rxjs v6 is end-of-life. v7 ships with significantly improved TypeScript typings,
smaller bundle sizes, and better tree-shaking. All v6.x versions should be
considered unmaintained.
Upgraded to 7.8.2 (latest patch) for the most recent bug fixes.

Testing

A build verification step ran as part of this batch change and any build failures
were auto-remediated. Pay special attention to any rxjs/internal/* TODO comments
added by this PR which require manual review.

Hatched by a Sourcegraph egg.

Co-authored-by: Sourcegraph Egg <egg@sourcegraph.com>
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.

0 participants