@angular/common
22.2.6 · 12 Nov 2026MIT8.2M / weekRepositoryHomepagenpmAtom feed
15.2.10 is the newest release of 15.x.
In short
1 deprecated
- Deprecated
The
DATE_PIPE_DEFAULT_TIMEZONEtoken is now deprecated in favor of theDATE_PIPE_DEFAULT_OPTIONStoken, which accepts an object as a value and the timezone can be defined as a field (calledtimezone) on that object.
Security
8 advisories affect 15.0.0; 20.3.34 fixes them
- HighAngular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State PoisoningGHSA-jhpw-976m-542j · 3 Aug 2026Fixed in 20.3.27
- High@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)GHSA-48r7-hpm6-gfxm · 15 Jun 2026Fixed in 20.3.25
- High@angular/common: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State PoisoningGHSA-39pv-4j6c-2g6v · 15 Jun 2026Fixed in 20.3.25
- High@angular/common: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)GHSA-p3vc-36g9-x9gr · 15 Jun 2026Fixed in 19.2.23
- High@angular/common: Information Leak via Default Caching of Credentialed Requests in HttpTransferCacheGHSA-q6f4-qqrg-jv6x · 15 Jun 2026Fixed in 19.2.23
3 more
- HighAngular is Vulnerable to XSRF Token Leakage via Protocol-Relative URLs in Angular HTTP ClientGHSA-58c5-g7wp-6w37 · 26 Nov 2025Fixed in 19.2.16
- Moderate@angular/common: XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for CVE-2025-66035)GHSA-jfgx-762w-99vr · 20 Oct 2026Fixed in 20.3.34
- ModerateAngular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`GHSA-p297-fm68-3q8c · 10 Sep 2026Fixed in 20.3.28
Release note
The section about @angular/common of a note shared by several packages.
Deprecations
common
- Deprecated
The
DATE_PIPE_DEFAULT_TIMEZONEtoken is now deprecated in favor
of theDATE_PIPE_DEFAULT_OPTIONStoken, which accepts an object
as a value and the timezone can be defined as a field (calledtimezone)
on that object.
common
| Commit | Description |
|---|---|
| feat - c0c7efaf7c | add provideLocationMocks() function to provide Location mocks (#47674) |
| feat - 75e6297f09 | add <link> preload tag on server for priority img (#47343) |
| feat - 4fde292bb5 | Add automatic srcset generation to ngOptimizedImage (#47547) |
| feat - 9483343ebf | Add fill mode to NgOptimizedImage (#47738) |
| feat - bdb5371033 | add injection token for default DatePipe configuration (#47157) |
| fix - 449d29b701 | Add fetchpriority to ngOptimizedImage preloads (#48010) |
| fix - 4f52d4e474 | don't generate srcset if noopImageLoader is used (#47804) |
| fix - 3a18398d83 | Don't warn about image distortion is fill mode is enabled (#47824) |
| fix - edea15f2c6 | export the IMAGE_CONFIG token (#48051) |
| fix - 8abf1c844c | fix formatting on oversized image error (#47188) |
| fix - ca7bf65933 | rename rawSrc -> ngSrc in NgOptimizedImage directive (#47362) |
| fix - b3879dbf14 | support density descriptors with 2+ decimals (#47197) |
| fix - fa4798095e | update size error to mention 'fill' mode (#47797) |
| fix - 23f210c0ab | warn if using supported CDN but not built-in loader (#47330) |
| fix - 945432e3fa | Warn on fill ngOptimizedImage without height (#48036) |
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.