Find HttpXhrBackend usage

Proprietary

Finds imports of HttpXhrBackend from @angular/common/http. Angular 22 uses the Fetch API by default; add withXhr() to provideHttpClient() to keep using XMLHttpRequest, which is also required for upload progress reports.

org.openrewrite.angular.search.find-http-xhr-backend-usage
mod run . --recipe=org.openrewrite.angular.search.find-http-xhr-backend-usage

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