Repository navigation
Commit a36155d
refactor(devtools): import rxjs operators from the
Since RxJS 7.2, all operators are exported from the main `rxjs` entry
point, and RxJS recommends importing them from there. `rxjs/operators`
is only kept for backward compatibility and is expected to be removed in
a future major version.
Switch the remaining `rxjs/operators` imports in devtools to `rxjs`,
merging them into the existing `rxjs` import where there is one. Unlike
the framework packages, which still support RxJS 6 through their peer
dependency range, devtools is bundled with the repository's RxJS 7, so
this is safe.
No runtime or bundle size changes: both entry points expose the same
tree-shakable operators.rxjs entry point1 parent c5b4678 commit a36155d
6 files changed
Lines changed: 6 additions & 11 deletions
File tree
- devtools/projects
- ng-devtools-backend/src/lib
- ng-devtools/src/lib
- devtools-tabs
- directive-explorer
- directive-forest/component-data-source
- property-resolver
- profiler/recording-timeline/recording-visualizer/tree-map-visualizer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
0 commit comments