@angular/common 21.0.3 → 21.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.3
2
+ * @license Angular v21.0.5
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -975,7 +975,7 @@ class FetchBackend {
975
975
  }
976
976
  static ɵfac = i0.ɵɵngDeclareFactory({
977
977
  minVersion: "12.0.0",
978
- version: "21.0.3",
978
+ version: "21.0.5",
979
979
  ngImport: i0,
980
980
  type: FetchBackend,
981
981
  deps: [],
@@ -983,14 +983,14 @@ class FetchBackend {
983
983
  });
984
984
  static ɵprov = i0.ɵɵngDeclareInjectable({
985
985
  minVersion: "12.0.0",
986
- version: "21.0.3",
986
+ version: "21.0.5",
987
987
  ngImport: i0,
988
988
  type: FetchBackend
989
989
  });
990
990
  }
991
991
  i0.ɵɵngDeclareClassMetadata({
992
992
  minVersion: "12.0.0",
993
- version: "21.0.3",
993
+ version: "21.0.5",
994
994
  ngImport: i0,
995
995
  type: FetchBackend,
996
996
  decorators: [{
@@ -1245,7 +1245,7 @@ class HttpXhrBackend {
1245
1245
  }
1246
1246
  static ɵfac = i0.ɵɵngDeclareFactory({
1247
1247
  minVersion: "12.0.0",
1248
- version: "21.0.3",
1248
+ version: "21.0.5",
1249
1249
  ngImport: i0,
1250
1250
  type: HttpXhrBackend,
1251
1251
  deps: [{
@@ -1255,7 +1255,7 @@ class HttpXhrBackend {
1255
1255
  });
1256
1256
  static ɵprov = i0.ɵɵngDeclareInjectable({
1257
1257
  minVersion: "12.0.0",
1258
- version: "21.0.3",
1258
+ version: "21.0.5",
1259
1259
  ngImport: i0,
1260
1260
  type: HttpXhrBackend,
1261
1261
  providedIn: 'root'
@@ -1263,7 +1263,7 @@ class HttpXhrBackend {
1263
1263
  }
1264
1264
  i0.ɵɵngDeclareClassMetadata({
1265
1265
  minVersion: "12.0.0",
1266
- version: "21.0.3",
1266
+ version: "21.0.5",
1267
1267
  ngImport: i0,
1268
1268
  type: HttpXhrBackend,
1269
1269
  decorators: [{
@@ -1288,12 +1288,12 @@ function adaptLegacyInterceptorToChain(chainTailFn, interceptor) {
1288
1288
  function chainedInterceptorFn(chainTailFn, interceptorFn, injector) {
1289
1289
  return (initialRequest, finalHandlerFn) => runInInjectionContext(injector, () => interceptorFn(initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)));
1290
1290
  }
1291
- const HTTP_INTERCEPTORS = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'HTTP_INTERCEPTORS' : '');
1292
- const HTTP_INTERCEPTOR_FNS = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '', {
1291
+ const HTTP_INTERCEPTORS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'HTTP_INTERCEPTORS' : '');
1292
+ const HTTP_INTERCEPTOR_FNS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '', {
1293
1293
  factory: () => []
1294
1294
  });
1295
- const HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');
1296
- const REQUESTS_CONTRIBUTE_TO_STABILITY = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'REQUESTS_CONTRIBUTE_TO_STABILITY' : '', {
1295
+ const HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');
1296
+ const REQUESTS_CONTRIBUTE_TO_STABILITY = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'REQUESTS_CONTRIBUTE_TO_STABILITY' : '', {
1297
1297
  providedIn: 'root',
1298
1298
  factory: () => true
1299
1299
  });
@@ -1320,7 +1320,7 @@ function legacyInterceptorFnFactory() {
1320
1320
  class HttpBackend {
1321
1321
  static ɵfac = i0.ɵɵngDeclareFactory({
1322
1322
  minVersion: "12.0.0",
1323
- version: "21.0.3",
1323
+ version: "21.0.5",
1324
1324
  ngImport: i0,
1325
1325
  type: HttpBackend,
1326
1326
  deps: [],
@@ -1328,7 +1328,7 @@ class HttpBackend {
1328
1328
  });
1329
1329
  static ɵprov = i0.ɵɵngDeclareInjectable({
1330
1330
  minVersion: "12.0.0",
1331
- version: "21.0.3",
1331
+ version: "21.0.5",
1332
1332
  ngImport: i0,
1333
1333
  type: HttpBackend,
1334
1334
  providedIn: 'root',
@@ -1337,7 +1337,7 @@ class HttpBackend {
1337
1337
  }
1338
1338
  i0.ɵɵngDeclareClassMetadata({
1339
1339
  minVersion: "12.0.0",
1340
- version: "21.0.3",
1340
+ version: "21.0.5",
1341
1341
  ngImport: i0,
1342
1342
  type: HttpBackend,
1343
1343
  decorators: [{
@@ -1380,7 +1380,7 @@ class HttpInterceptorHandler {
1380
1380
  }
1381
1381
  static ɵfac = i0.ɵɵngDeclareFactory({
1382
1382
  minVersion: "12.0.0",
1383
- version: "21.0.3",
1383
+ version: "21.0.5",
1384
1384
  ngImport: i0,
1385
1385
  type: HttpInterceptorHandler,
1386
1386
  deps: [{
@@ -1392,7 +1392,7 @@ class HttpInterceptorHandler {
1392
1392
  });
1393
1393
  static ɵprov = i0.ɵɵngDeclareInjectable({
1394
1394
  minVersion: "12.0.0",
1395
- version: "21.0.3",
1395
+ version: "21.0.5",
1396
1396
  ngImport: i0,
1397
1397
  type: HttpInterceptorHandler,
1398
1398
  providedIn: 'root'
@@ -1400,7 +1400,7 @@ class HttpInterceptorHandler {
1400
1400
  }
1401
1401
  i0.ɵɵngDeclareClassMetadata({
1402
1402
  minVersion: "12.0.0",
1403
- version: "21.0.3",
1403
+ version: "21.0.5",
1404
1404
  ngImport: i0,
1405
1405
  type: HttpInterceptorHandler,
1406
1406
  decorators: [{
@@ -1418,7 +1418,7 @@ i0.ɵɵngDeclareClassMetadata({
1418
1418
  class HttpHandler {
1419
1419
  static ɵfac = i0.ɵɵngDeclareFactory({
1420
1420
  minVersion: "12.0.0",
1421
- version: "21.0.3",
1421
+ version: "21.0.5",
1422
1422
  ngImport: i0,
1423
1423
  type: HttpHandler,
1424
1424
  deps: [],
@@ -1426,7 +1426,7 @@ class HttpHandler {
1426
1426
  });
1427
1427
  static ɵprov = i0.ɵɵngDeclareInjectable({
1428
1428
  minVersion: "12.0.0",
1429
- version: "21.0.3",
1429
+ version: "21.0.5",
1430
1430
  ngImport: i0,
1431
1431
  type: HttpHandler,
1432
1432
  providedIn: 'root',
@@ -1435,7 +1435,7 @@ class HttpHandler {
1435
1435
  }
1436
1436
  i0.ɵɵngDeclareClassMetadata({
1437
1437
  minVersion: "12.0.0",
1438
- version: "21.0.3",
1438
+ version: "21.0.5",
1439
1439
  ngImport: i0,
1440
1440
  type: HttpHandler,
1441
1441
  decorators: [{
@@ -1585,7 +1585,7 @@ class HttpClient {
1585
1585
  }
1586
1586
  static ɵfac = i0.ɵɵngDeclareFactory({
1587
1587
  minVersion: "12.0.0",
1588
- version: "21.0.3",
1588
+ version: "21.0.5",
1589
1589
  ngImport: i0,
1590
1590
  type: HttpClient,
1591
1591
  deps: [{
@@ -1595,7 +1595,7 @@ class HttpClient {
1595
1595
  });
1596
1596
  static ɵprov = i0.ɵɵngDeclareInjectable({
1597
1597
  minVersion: "12.0.0",
1598
- version: "21.0.3",
1598
+ version: "21.0.5",
1599
1599
  ngImport: i0,
1600
1600
  type: HttpClient,
1601
1601
  providedIn: 'root'
@@ -1603,7 +1603,7 @@ class HttpClient {
1603
1603
  }
1604
1604
  i0.ɵɵngDeclareClassMetadata({
1605
1605
  minVersion: "12.0.0",
1606
- version: "21.0.3",
1606
+ version: "21.0.5",
1607
1607
  ngImport: i0,
1608
1608
  type: HttpClient,
1609
1609
  decorators: [{
@@ -1718,7 +1718,7 @@ class JsonpClientBackend {
1718
1718
  }
1719
1719
  static ɵfac = i0.ɵɵngDeclareFactory({
1720
1720
  minVersion: "12.0.0",
1721
- version: "21.0.3",
1721
+ version: "21.0.5",
1722
1722
  ngImport: i0,
1723
1723
  type: JsonpClientBackend,
1724
1724
  deps: [{
@@ -1730,14 +1730,14 @@ class JsonpClientBackend {
1730
1730
  });
1731
1731
  static ɵprov = i0.ɵɵngDeclareInjectable({
1732
1732
  minVersion: "12.0.0",
1733
- version: "21.0.3",
1733
+ version: "21.0.5",
1734
1734
  ngImport: i0,
1735
1735
  type: JsonpClientBackend
1736
1736
  });
1737
1737
  }
1738
1738
  i0.ɵɵngDeclareClassMetadata({
1739
1739
  minVersion: "12.0.0",
1740
- version: "21.0.3",
1740
+ version: "21.0.5",
1741
1741
  ngImport: i0,
1742
1742
  type: JsonpClientBackend,
1743
1743
  decorators: [{
@@ -1769,7 +1769,7 @@ class JsonpInterceptor {
1769
1769
  }
1770
1770
  static ɵfac = i0.ɵɵngDeclareFactory({
1771
1771
  minVersion: "12.0.0",
1772
- version: "21.0.3",
1772
+ version: "21.0.5",
1773
1773
  ngImport: i0,
1774
1774
  type: JsonpInterceptor,
1775
1775
  deps: [{
@@ -1779,14 +1779,14 @@ class JsonpInterceptor {
1779
1779
  });
1780
1780
  static ɵprov = i0.ɵɵngDeclareInjectable({
1781
1781
  minVersion: "12.0.0",
1782
- version: "21.0.3",
1782
+ version: "21.0.5",
1783
1783
  ngImport: i0,
1784
1784
  type: JsonpInterceptor
1785
1785
  });
1786
1786
  }
1787
1787
  i0.ɵɵngDeclareClassMetadata({
1788
1788
  minVersion: "12.0.0",
1789
- version: "21.0.3",
1789
+ version: "21.0.5",
1790
1790
  ngImport: i0,
1791
1791
  type: JsonpInterceptor,
1792
1792
  decorators: [{
@@ -1797,16 +1797,16 @@ i0.ɵɵngDeclareClassMetadata({
1797
1797
  }]
1798
1798
  });
1799
1799
 
1800
- const XSRF_ENABLED = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'XSRF_ENABLED' : '', {
1800
+ const XSRF_ENABLED = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'XSRF_ENABLED' : '', {
1801
1801
  factory: () => true
1802
1802
  });
1803
1803
  const XSRF_DEFAULT_COOKIE_NAME = 'XSRF-TOKEN';
1804
- const XSRF_COOKIE_NAME = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'XSRF_COOKIE_NAME' : '', {
1804
+ const XSRF_COOKIE_NAME = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'XSRF_COOKIE_NAME' : '', {
1805
1805
  providedIn: 'root',
1806
1806
  factory: () => XSRF_DEFAULT_COOKIE_NAME
1807
1807
  });
1808
1808
  const XSRF_DEFAULT_HEADER_NAME = 'X-XSRF-TOKEN';
1809
- const XSRF_HEADER_NAME = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'XSRF_HEADER_NAME' : '', {
1809
+ const XSRF_HEADER_NAME = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'XSRF_HEADER_NAME' : '', {
1810
1810
  providedIn: 'root',
1811
1811
  factory: () => XSRF_DEFAULT_HEADER_NAME
1812
1812
  });
@@ -1830,7 +1830,7 @@ class HttpXsrfCookieExtractor {
1830
1830
  }
1831
1831
  static ɵfac = i0.ɵɵngDeclareFactory({
1832
1832
  minVersion: "12.0.0",
1833
- version: "21.0.3",
1833
+ version: "21.0.5",
1834
1834
  ngImport: i0,
1835
1835
  type: HttpXsrfCookieExtractor,
1836
1836
  deps: [],
@@ -1838,7 +1838,7 @@ class HttpXsrfCookieExtractor {
1838
1838
  });
1839
1839
  static ɵprov = i0.ɵɵngDeclareInjectable({
1840
1840
  minVersion: "12.0.0",
1841
- version: "21.0.3",
1841
+ version: "21.0.5",
1842
1842
  ngImport: i0,
1843
1843
  type: HttpXsrfCookieExtractor,
1844
1844
  providedIn: 'root'
@@ -1846,7 +1846,7 @@ class HttpXsrfCookieExtractor {
1846
1846
  }
1847
1847
  i0.ɵɵngDeclareClassMetadata({
1848
1848
  minVersion: "12.0.0",
1849
- version: "21.0.3",
1849
+ version: "21.0.5",
1850
1850
  ngImport: i0,
1851
1851
  type: HttpXsrfCookieExtractor,
1852
1852
  decorators: [{
@@ -1859,7 +1859,7 @@ i0.ɵɵngDeclareClassMetadata({
1859
1859
  class HttpXsrfTokenExtractor {
1860
1860
  static ɵfac = i0.ɵɵngDeclareFactory({
1861
1861
  minVersion: "12.0.0",
1862
- version: "21.0.3",
1862
+ version: "21.0.5",
1863
1863
  ngImport: i0,
1864
1864
  type: HttpXsrfTokenExtractor,
1865
1865
  deps: [],
@@ -1867,7 +1867,7 @@ class HttpXsrfTokenExtractor {
1867
1867
  });
1868
1868
  static ɵprov = i0.ɵɵngDeclareInjectable({
1869
1869
  minVersion: "12.0.0",
1870
- version: "21.0.3",
1870
+ version: "21.0.5",
1871
1871
  ngImport: i0,
1872
1872
  type: HttpXsrfTokenExtractor,
1873
1873
  providedIn: 'root',
@@ -1876,7 +1876,7 @@ class HttpXsrfTokenExtractor {
1876
1876
  }
1877
1877
  i0.ɵɵngDeclareClassMetadata({
1878
1878
  minVersion: "12.0.0",
1879
- version: "21.0.3",
1879
+ version: "21.0.5",
1880
1880
  ngImport: i0,
1881
1881
  type: HttpXsrfTokenExtractor,
1882
1882
  decorators: [{
@@ -1921,7 +1921,7 @@ class HttpXsrfInterceptor {
1921
1921
  }
1922
1922
  static ɵfac = i0.ɵɵngDeclareFactory({
1923
1923
  minVersion: "12.0.0",
1924
- version: "21.0.3",
1924
+ version: "21.0.5",
1925
1925
  ngImport: i0,
1926
1926
  type: HttpXsrfInterceptor,
1927
1927
  deps: [],
@@ -1929,14 +1929,14 @@ class HttpXsrfInterceptor {
1929
1929
  });
1930
1930
  static ɵprov = i0.ɵɵngDeclareInjectable({
1931
1931
  minVersion: "12.0.0",
1932
- version: "21.0.3",
1932
+ version: "21.0.5",
1933
1933
  ngImport: i0,
1934
1934
  type: HttpXsrfInterceptor
1935
1935
  });
1936
1936
  }
1937
1937
  i0.ɵɵngDeclareClassMetadata({
1938
1938
  minVersion: "12.0.0",
1939
- version: "21.0.3",
1939
+ version: "21.0.5",
1940
1940
  ngImport: i0,
1941
1941
  type: HttpXsrfInterceptor,
1942
1942
  decorators: [{
@@ -1996,7 +1996,7 @@ function withInterceptors(interceptorFns) {
1996
1996
  };
1997
1997
  }));
1998
1998
  }
1999
- const LEGACY_INTERCEPTOR_FN = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'LEGACY_INTERCEPTOR_FN' : '');
1999
+ const LEGACY_INTERCEPTOR_FN = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'LEGACY_INTERCEPTOR_FN' : '');
2000
2000
  function withInterceptorsFromDi() {
2001
2001
  return makeHttpFeature(HttpFeatureKind.LegacyInterceptors, [{
2002
2002
  provide: LEGACY_INTERCEPTOR_FN,
@@ -2082,7 +2082,7 @@ class HttpClientXsrfModule {
2082
2082
  }
2083
2083
  static ɵfac = i0.ɵɵngDeclareFactory({
2084
2084
  minVersion: "12.0.0",
2085
- version: "21.0.3",
2085
+ version: "21.0.5",
2086
2086
  ngImport: i0,
2087
2087
  type: HttpClientXsrfModule,
2088
2088
  deps: [],
@@ -2090,13 +2090,13 @@ class HttpClientXsrfModule {
2090
2090
  });
2091
2091
  static ɵmod = i0.ɵɵngDeclareNgModule({
2092
2092
  minVersion: "14.0.0",
2093
- version: "21.0.3",
2093
+ version: "21.0.5",
2094
2094
  ngImport: i0,
2095
2095
  type: HttpClientXsrfModule
2096
2096
  });
2097
2097
  static ɵinj = i0.ɵɵngDeclareInjector({
2098
2098
  minVersion: "12.0.0",
2099
- version: "21.0.3",
2099
+ version: "21.0.5",
2100
2100
  ngImport: i0,
2101
2101
  type: HttpClientXsrfModule,
2102
2102
  providers: [HttpXsrfInterceptor, {
@@ -2117,7 +2117,7 @@ class HttpClientXsrfModule {
2117
2117
  }
2118
2118
  i0.ɵɵngDeclareClassMetadata({
2119
2119
  minVersion: "12.0.0",
2120
- version: "21.0.3",
2120
+ version: "21.0.5",
2121
2121
  ngImport: i0,
2122
2122
  type: HttpClientXsrfModule,
2123
2123
  decorators: [{
@@ -2143,7 +2143,7 @@ i0.ɵɵngDeclareClassMetadata({
2143
2143
  class HttpClientModule {
2144
2144
  static ɵfac = i0.ɵɵngDeclareFactory({
2145
2145
  minVersion: "12.0.0",
2146
- version: "21.0.3",
2146
+ version: "21.0.5",
2147
2147
  ngImport: i0,
2148
2148
  type: HttpClientModule,
2149
2149
  deps: [],
@@ -2151,13 +2151,13 @@ class HttpClientModule {
2151
2151
  });
2152
2152
  static ɵmod = i0.ɵɵngDeclareNgModule({
2153
2153
  minVersion: "14.0.0",
2154
- version: "21.0.3",
2154
+ version: "21.0.5",
2155
2155
  ngImport: i0,
2156
2156
  type: HttpClientModule
2157
2157
  });
2158
2158
  static ɵinj = i0.ɵɵngDeclareInjector({
2159
2159
  minVersion: "12.0.0",
2160
- version: "21.0.3",
2160
+ version: "21.0.5",
2161
2161
  ngImport: i0,
2162
2162
  type: HttpClientModule,
2163
2163
  providers: [provideHttpClient(withInterceptorsFromDi())]
@@ -2165,7 +2165,7 @@ class HttpClientModule {
2165
2165
  }
2166
2166
  i0.ɵɵngDeclareClassMetadata({
2167
2167
  minVersion: "12.0.0",
2168
- version: "21.0.3",
2168
+ version: "21.0.5",
2169
2169
  ngImport: i0,
2170
2170
  type: HttpClientModule,
2171
2171
  decorators: [{
@@ -2178,7 +2178,7 @@ i0.ɵɵngDeclareClassMetadata({
2178
2178
  class HttpClientJsonpModule {
2179
2179
  static ɵfac = i0.ɵɵngDeclareFactory({
2180
2180
  minVersion: "12.0.0",
2181
- version: "21.0.3",
2181
+ version: "21.0.5",
2182
2182
  ngImport: i0,
2183
2183
  type: HttpClientJsonpModule,
2184
2184
  deps: [],
@@ -2186,13 +2186,13 @@ class HttpClientJsonpModule {
2186
2186
  });
2187
2187
  static ɵmod = i0.ɵɵngDeclareNgModule({
2188
2188
  minVersion: "14.0.0",
2189
- version: "21.0.3",
2189
+ version: "21.0.5",
2190
2190
  ngImport: i0,
2191
2191
  type: HttpClientJsonpModule
2192
2192
  });
2193
2193
  static ɵinj = i0.ɵɵngDeclareInjector({
2194
2194
  minVersion: "12.0.0",
2195
- version: "21.0.3",
2195
+ version: "21.0.5",
2196
2196
  ngImport: i0,
2197
2197
  type: HttpClientJsonpModule,
2198
2198
  providers: [withJsonpSupport().ɵproviders]
@@ -2200,7 +2200,7 @@ class HttpClientJsonpModule {
2200
2200
  }
2201
2201
  i0.ɵɵngDeclareClassMetadata({
2202
2202
  minVersion: "12.0.0",
2203
- version: "21.0.3",
2203
+ version: "21.0.5",
2204
2204
  ngImport: i0,
2205
2205
  type: HttpClientJsonpModule,
2206
2206
  decorators: [{