I am trying to upgrade my angular 9 app to angular 10 version, but getting below warning after the upgrade
rxjs\\BehaviorSubject.js depends on rxjs-compat/Beh
For RXJS library you can do following changes.
For imports such as 'rxjs/internal/' and 'rxjs/index', replace it with just 'rxjs'.
'rxjs/internal/'
'rxjs/index'
'rxjs'
For imports such as 'rxjs/internal/operators', replace it with 'rxjs/operators', which is mentioned in @Janardhan Burle's answer.
'rxjs/internal/operators'
'rxjs/operators'