Find focus traps constructed without an Injector
ProprietaryFinds new FocusTrap(...) and new ConfigurableFocusTrap(...) calls without the trailing Injector argument, which CDK 22 made required. Prefer creating focus traps with FocusTrapFactory or ConfigurableFocusTrapFactory, which pass the injector themselves.
org. openrewrite. angular. cdk. FindFocusTrapWithoutInjectormod run . --recipe= org. openrewrite. angular. cdk. FindFocusTrapWithoutInjectorInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.