@angular/common 19.1.5 → 19.2.0-next.0
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.
- package/fesm2022/common.mjs +161 -146
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +46 -51
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +16 -16
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +3 -1
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.
|
|
2
|
+
* @license Angular v19.2.0-next.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -315,10 +315,10 @@ class HttpClientTestingBackend {
|
|
|
315
315
|
return `Match by function: ${matcher.name}`;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
319
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
319
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingBackend });
|
|
320
320
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
322
322
|
type: Injectable
|
|
323
323
|
}] });
|
|
324
324
|
function describeRequest(testRequest) {
|
|
@@ -346,11 +346,11 @@ function provideHttpClientTesting() {
|
|
|
346
346
|
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
|
|
347
347
|
*/
|
|
348
348
|
class HttpClientTestingModule {
|
|
349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
350
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
351
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
350
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
351
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
|
|
352
352
|
}
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
354
354
|
type: NgModule,
|
|
355
355
|
args: [{
|
|
356
356
|
imports: [HttpClientModule],
|
package/fesm2022/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.
|
|
2
|
+
* @license Angular v19.2.0-next.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -714,11 +714,6 @@ function isUrlSearchParams(value) {
|
|
|
714
714
|
* or received from the server.
|
|
715
715
|
*/
|
|
716
716
|
const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
717
|
-
/**
|
|
718
|
-
* The `Accept` header is an HTTP request header that indicates the media types
|
|
719
|
-
* (or content types) the client is willing to receive from the server.
|
|
720
|
-
*/
|
|
721
|
-
const ACCEPT_HEADER = 'Accept';
|
|
722
717
|
/**
|
|
723
718
|
* `X-Request-URL` is a custom HTTP header used in older browser versions,
|
|
724
719
|
* including Firefox (< 32), Chrome (< 37), Safari (< 8), and Internet Explorer,
|
|
@@ -742,7 +737,7 @@ const JSON_CONTENT_TYPE = 'application/json';
|
|
|
742
737
|
* to accept from the server, with a preference for `application/json` and `text/plain`,
|
|
743
738
|
* but also accepting any other type (*\/*).
|
|
744
739
|
*/
|
|
745
|
-
const
|
|
740
|
+
const ACCEPT_HEADER = `${JSON_CONTENT_TYPE}, ${TEXT_CONTENT_TYPE}, */*`;
|
|
746
741
|
/**
|
|
747
742
|
* An outgoing HTTP request with an optional typed body.
|
|
748
743
|
*
|
|
@@ -1446,7 +1441,7 @@ class HttpClient {
|
|
|
1446
1441
|
return res$.pipe(map((res) => {
|
|
1447
1442
|
// Validate that the body is an ArrayBuffer.
|
|
1448
1443
|
if (res.body !== null && !(res.body instanceof ArrayBuffer)) {
|
|
1449
|
-
throw new
|
|
1444
|
+
throw new Error('Response is not an ArrayBuffer.');
|
|
1450
1445
|
}
|
|
1451
1446
|
return res.body;
|
|
1452
1447
|
}));
|
|
@@ -1454,7 +1449,7 @@ class HttpClient {
|
|
|
1454
1449
|
return res$.pipe(map((res) => {
|
|
1455
1450
|
// Validate that the body is a Blob.
|
|
1456
1451
|
if (res.body !== null && !(res.body instanceof Blob)) {
|
|
1457
|
-
throw new
|
|
1452
|
+
throw new Error('Response is not a Blob.');
|
|
1458
1453
|
}
|
|
1459
1454
|
return res.body;
|
|
1460
1455
|
}));
|
|
@@ -1462,7 +1457,7 @@ class HttpClient {
|
|
|
1462
1457
|
return res$.pipe(map((res) => {
|
|
1463
1458
|
// Validate that the body is a string.
|
|
1464
1459
|
if (res.body !== null && typeof res.body !== 'string') {
|
|
1465
|
-
throw new
|
|
1460
|
+
throw new Error('Response is not a string.');
|
|
1466
1461
|
}
|
|
1467
1462
|
return res.body;
|
|
1468
1463
|
}));
|
|
@@ -1476,7 +1471,7 @@ class HttpClient {
|
|
|
1476
1471
|
return res$;
|
|
1477
1472
|
default:
|
|
1478
1473
|
// Guard against new future observe types being added.
|
|
1479
|
-
throw new
|
|
1474
|
+
throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);
|
|
1480
1475
|
}
|
|
1481
1476
|
}
|
|
1482
1477
|
/**
|
|
@@ -1570,10 +1565,10 @@ class HttpClient {
|
|
|
1570
1565
|
put(url, body, options = {}) {
|
|
1571
1566
|
return this.request('PUT', url, addBody(options, body));
|
|
1572
1567
|
}
|
|
1573
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1574
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
1568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1569
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClient });
|
|
1575
1570
|
}
|
|
1576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClient, decorators: [{
|
|
1577
1572
|
type: Injectable
|
|
1578
1573
|
}], ctorParameters: () => [{ type: HttpHandler }] });
|
|
1579
1574
|
|
|
@@ -1761,8 +1756,8 @@ class FetchBackend {
|
|
|
1761
1756
|
// Setting all the requested headers.
|
|
1762
1757
|
req.headers.forEach((name, values) => (headers[name] = values.join(',')));
|
|
1763
1758
|
// Add an Accept header if one isn't present already.
|
|
1764
|
-
if (!req.headers.has(
|
|
1765
|
-
headers[
|
|
1759
|
+
if (!req.headers.has('Accept')) {
|
|
1760
|
+
headers['Accept'] = ACCEPT_HEADER;
|
|
1766
1761
|
}
|
|
1767
1762
|
// Auto-detect the Content-Type header if one isn't present already.
|
|
1768
1763
|
if (!req.headers.has(CONTENT_TYPE_HEADER)) {
|
|
@@ -1788,10 +1783,10 @@ class FetchBackend {
|
|
|
1788
1783
|
}
|
|
1789
1784
|
return chunksAll;
|
|
1790
1785
|
}
|
|
1791
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1792
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
1786
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1787
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: FetchBackend });
|
|
1793
1788
|
}
|
|
1794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: FetchBackend, decorators: [{
|
|
1795
1790
|
type: Injectable
|
|
1796
1791
|
}] });
|
|
1797
1792
|
/**
|
|
@@ -1932,10 +1927,10 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
1932
1927
|
return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
|
|
1933
1928
|
}
|
|
1934
1929
|
}
|
|
1935
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1936
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
1930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1931
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpInterceptorHandler });
|
|
1937
1932
|
}
|
|
1938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
1939
1934
|
type: Injectable
|
|
1940
1935
|
}], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
|
|
1941
1936
|
|
|
@@ -2137,10 +2132,10 @@ class JsonpClientBackend {
|
|
|
2137
2132
|
foreignDocument ??= this.document.implementation.createHTMLDocument();
|
|
2138
2133
|
foreignDocument.adoptNode(script);
|
|
2139
2134
|
}
|
|
2140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2141
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2136
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpClientBackend });
|
|
2142
2137
|
}
|
|
2143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
2144
2139
|
type: Injectable
|
|
2145
2140
|
}], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
2146
2141
|
type: Inject,
|
|
@@ -2179,10 +2174,10 @@ class JsonpInterceptor {
|
|
|
2179
2174
|
intercept(initialRequest, next) {
|
|
2180
2175
|
return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2181
2176
|
}
|
|
2182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2183
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2178
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpInterceptor });
|
|
2184
2179
|
}
|
|
2185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
2186
2181
|
type: Injectable
|
|
2187
2182
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2188
2183
|
|
|
@@ -2245,8 +2240,8 @@ class HttpXhrBackend {
|
|
|
2245
2240
|
// Add all the requested headers.
|
|
2246
2241
|
req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(',')));
|
|
2247
2242
|
// Add an Accept header if one isn't present already.
|
|
2248
|
-
if (!req.headers.has(
|
|
2249
|
-
xhr.setRequestHeader(
|
|
2243
|
+
if (!req.headers.has('Accept')) {
|
|
2244
|
+
xhr.setRequestHeader('Accept', ACCEPT_HEADER);
|
|
2250
2245
|
}
|
|
2251
2246
|
// Auto-detect the Content-Type header if one isn't present already.
|
|
2252
2247
|
if (!req.headers.has(CONTENT_TYPE_HEADER)) {
|
|
@@ -2464,10 +2459,10 @@ class HttpXhrBackend {
|
|
|
2464
2459
|
});
|
|
2465
2460
|
}));
|
|
2466
2461
|
}
|
|
2467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2468
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2463
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXhrBackend });
|
|
2469
2464
|
}
|
|
2470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
2471
2466
|
type: Injectable
|
|
2472
2467
|
}], ctorParameters: () => [{ type: i1.XhrFactory }] });
|
|
2473
2468
|
|
|
@@ -2519,10 +2514,10 @@ class HttpXsrfCookieExtractor {
|
|
|
2519
2514
|
}
|
|
2520
2515
|
return this.lastToken;
|
|
2521
2516
|
}
|
|
2522
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2523
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
2524
2519
|
}
|
|
2525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2526
2521
|
type: Injectable
|
|
2527
2522
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2528
2523
|
type: Inject,
|
|
@@ -2566,10 +2561,10 @@ class HttpXsrfInterceptor {
|
|
|
2566
2561
|
intercept(initialRequest, next) {
|
|
2567
2562
|
return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2568
2563
|
}
|
|
2569
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2570
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2564
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2565
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2571
2566
|
}
|
|
2572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2573
2568
|
type: Injectable
|
|
2574
2569
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2575
2570
|
|
|
@@ -2835,9 +2830,9 @@ class HttpClientXsrfModule {
|
|
|
2835
2830
|
providers: withXsrfConfiguration(options).ɵproviders,
|
|
2836
2831
|
};
|
|
2837
2832
|
}
|
|
2838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2839
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
2840
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
2833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2834
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientXsrfModule });
|
|
2835
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2841
2836
|
HttpXsrfInterceptor,
|
|
2842
2837
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2843
2838
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -2848,7 +2843,7 @@ class HttpClientXsrfModule {
|
|
|
2848
2843
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
2849
2844
|
] });
|
|
2850
2845
|
}
|
|
2851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2852
2847
|
type: NgModule,
|
|
2853
2848
|
args: [{
|
|
2854
2849
|
providers: [
|
|
@@ -2874,11 +2869,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2874
2869
|
* @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
|
|
2875
2870
|
*/
|
|
2876
2871
|
class HttpClientModule {
|
|
2877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2878
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
2879
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
2872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2873
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientModule });
|
|
2874
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
|
|
2880
2875
|
}
|
|
2881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2882
2877
|
type: NgModule,
|
|
2883
2878
|
args: [{
|
|
2884
2879
|
/**
|
|
@@ -2898,11 +2893,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2898
2893
|
* @deprecated `withJsonpSupport()` as providers instead
|
|
2899
2894
|
*/
|
|
2900
2895
|
class HttpClientJsonpModule {
|
|
2901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2902
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
2903
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
2896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2897
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientJsonpModule });
|
|
2898
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
|
|
2904
2899
|
}
|
|
2905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2906
2901
|
type: NgModule,
|
|
2907
2902
|
args: [{
|
|
2908
2903
|
providers: [withJsonpSupport().ɵproviders],
|