Commit 522c9e3
committed
perf(@angular/cli): cache resolved specific version in package manager abstraction
When fetching a package manifest for a tag or range, also cache the result using the resolved specific version. This avoids redundant lookups if the specific version is requested subsequently.
Also removes an unused import.1 parent 98c207b commit 522c9e3
File tree
1 file changed
+13
-2
lines changed- packages/angular/cli/src/package-managers
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
415 | 426 | | |
416 | 427 | | |
417 | 428 | | |
| |||
0 commit comments