Add withXhr() to provideHttpClient()

Proprietary

Adds withXhr() to provideHttpClient() calls that select neither a withFetch() nor a withXhr() backend. Angular 22 made FetchBackend the default HttpBackend; withXhr() keeps the previous XMLHttpRequest based backend, which is also the only one that reports upload progress.

org.openrewrite.angular.migration.add-with-xhr
mod run . --recipe=org.openrewrite.angular.migration.add-with-xhr

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.