Skip to content

security: upgrade rxjs from v6.x to 7.8.0#15

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

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

Conversation

@egg-sourcegraph-testing
Copy link
Copy Markdown

Summary

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

Changes made

  • package.json: bumped rxjs to 7.8.0
  • 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.

Testing

Please verify the build and tests pass before merging. Pay special attention to
any rxjs/internal/* TODO comments added by this PR.

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