@angular/common 19.0.0-next.7 → 19.0.0-next.9
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/LICENSE +21 -0
- package/fesm2022/common.mjs +160 -131
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +52 -47
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +16 -16
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +2 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +31 -4
- 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.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.9
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -311,10 +311,10 @@ class HttpClientTestingBackend {
|
|
|
311
311
|
return `Match by function: ${matcher.name}`;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
315
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingBackend }); }
|
|
316
316
|
}
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
318
318
|
type: Injectable
|
|
319
319
|
}] });
|
|
320
320
|
function describeRequest(testRequest) {
|
|
@@ -342,11 +342,11 @@ function provideHttpClientTesting() {
|
|
|
342
342
|
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
|
|
343
343
|
*/
|
|
344
344
|
class HttpClientTestingModule {
|
|
345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
346
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
347
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
346
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] }); }
|
|
347
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] }); }
|
|
348
348
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
350
350
|
type: NgModule,
|
|
351
351
|
args: [{
|
|
352
352
|
imports: [HttpClientModule],
|
package/fesm2022/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.9
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -67,23 +67,16 @@ class HttpHeaders {
|
|
|
67
67
|
const index = line.indexOf(':');
|
|
68
68
|
if (index > 0) {
|
|
69
69
|
const name = line.slice(0, index);
|
|
70
|
-
const key = name.toLowerCase();
|
|
71
70
|
const value = line.slice(index + 1).trim();
|
|
72
|
-
this.
|
|
73
|
-
if (this.headers.has(key)) {
|
|
74
|
-
this.headers.get(key).push(value);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
this.headers.set(key, [value]);
|
|
78
|
-
}
|
|
71
|
+
this.addHeaderEntry(name, value);
|
|
79
72
|
}
|
|
80
73
|
});
|
|
81
74
|
};
|
|
82
75
|
}
|
|
83
76
|
else if (typeof Headers !== 'undefined' && headers instanceof Headers) {
|
|
84
77
|
this.headers = new Map();
|
|
85
|
-
headers.forEach((
|
|
86
|
-
this.
|
|
78
|
+
headers.forEach((value, name) => {
|
|
79
|
+
this.addHeaderEntry(name, value);
|
|
87
80
|
});
|
|
88
81
|
}
|
|
89
82
|
else {
|
|
@@ -250,6 +243,16 @@ class HttpHeaders {
|
|
|
250
243
|
break;
|
|
251
244
|
}
|
|
252
245
|
}
|
|
246
|
+
addHeaderEntry(name, value) {
|
|
247
|
+
const key = name.toLowerCase();
|
|
248
|
+
this.maybeSetNormalizedName(name, key);
|
|
249
|
+
if (this.headers.has(key)) {
|
|
250
|
+
this.headers.get(key).push(value);
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
this.headers.set(key, [value]);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
253
256
|
setHeaderEntries(name, values) {
|
|
254
257
|
const headerValues = (Array.isArray(values) ? values : [values]).map((value) => value.toString());
|
|
255
258
|
const key = name.toLowerCase();
|
|
@@ -1454,10 +1457,10 @@ class HttpClient {
|
|
|
1454
1457
|
put(url, body, options = {}) {
|
|
1455
1458
|
return this.request('PUT', url, addBody(options, body));
|
|
1456
1459
|
}
|
|
1457
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1458
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1461
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClient }); }
|
|
1459
1462
|
}
|
|
1460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClient, decorators: [{
|
|
1461
1464
|
type: Injectable
|
|
1462
1465
|
}], ctorParameters: () => [{ type: HttpHandler }] });
|
|
1463
1466
|
|
|
@@ -1670,10 +1673,10 @@ class FetchBackend {
|
|
|
1670
1673
|
}
|
|
1671
1674
|
return chunksAll;
|
|
1672
1675
|
}
|
|
1673
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1674
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1676
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1677
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: FetchBackend }); }
|
|
1675
1678
|
}
|
|
1676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: FetchBackend, decorators: [{
|
|
1677
1680
|
type: Injectable
|
|
1678
1681
|
}] });
|
|
1679
1682
|
/**
|
|
@@ -1807,10 +1810,10 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
1807
1810
|
return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
|
|
1808
1811
|
}
|
|
1809
1812
|
}
|
|
1810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1811
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1813
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1814
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpInterceptorHandler }); }
|
|
1812
1815
|
}
|
|
1813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
1814
1817
|
type: Injectable
|
|
1815
1818
|
}], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
|
|
1816
1819
|
|
|
@@ -1930,6 +1933,8 @@ class JsonpClientBackend {
|
|
|
1930
1933
|
// the response callback from the window. This logic is used in both the
|
|
1931
1934
|
// success, error, and cancellation paths, so it's extracted out for convenience.
|
|
1932
1935
|
const cleanup = () => {
|
|
1936
|
+
node.removeEventListener('load', onLoad);
|
|
1937
|
+
node.removeEventListener('error', onError);
|
|
1933
1938
|
// Remove the <script> tag if it's still on the page.
|
|
1934
1939
|
node.remove();
|
|
1935
1940
|
// Remove the response callback from the callbackMap (window object in the
|
|
@@ -2008,10 +2013,10 @@ class JsonpClientBackend {
|
|
|
2008
2013
|
foreignDocument ??= this.document.implementation.createHTMLDocument();
|
|
2009
2014
|
foreignDocument.adoptNode(script);
|
|
2010
2015
|
}
|
|
2011
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2012
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2017
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpClientBackend }); }
|
|
2013
2018
|
}
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
2015
2020
|
type: Injectable
|
|
2016
2021
|
}], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
2017
2022
|
type: Inject,
|
|
@@ -2049,10 +2054,10 @@ class JsonpInterceptor {
|
|
|
2049
2054
|
intercept(initialRequest, next) {
|
|
2050
2055
|
return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2051
2056
|
}
|
|
2052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2053
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2058
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpInterceptor }); }
|
|
2054
2059
|
}
|
|
2055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
2056
2061
|
type: Injectable
|
|
2057
2062
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2058
2063
|
|
|
@@ -2332,10 +2337,10 @@ class HttpXhrBackend {
|
|
|
2332
2337
|
});
|
|
2333
2338
|
}));
|
|
2334
2339
|
}
|
|
2335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2336
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2341
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXhrBackend }); }
|
|
2337
2342
|
}
|
|
2338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
2339
2344
|
type: Injectable
|
|
2340
2345
|
}], ctorParameters: () => [{ type: i1.XhrFactory }] });
|
|
2341
2346
|
|
|
@@ -2384,10 +2389,10 @@ class HttpXsrfCookieExtractor {
|
|
|
2384
2389
|
}
|
|
2385
2390
|
return this.lastToken;
|
|
2386
2391
|
}
|
|
2387
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2388
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2392
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2393
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfCookieExtractor }); }
|
|
2389
2394
|
}
|
|
2390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2391
2396
|
type: Injectable
|
|
2392
2397
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2393
2398
|
type: Inject,
|
|
@@ -2430,10 +2435,10 @@ class HttpXsrfInterceptor {
|
|
|
2430
2435
|
intercept(initialRequest, next) {
|
|
2431
2436
|
return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2432
2437
|
}
|
|
2433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2434
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2439
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfInterceptor }); }
|
|
2435
2440
|
}
|
|
2436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2437
2442
|
type: Injectable
|
|
2438
2443
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2439
2444
|
|
|
@@ -2698,9 +2703,9 @@ class HttpClientXsrfModule {
|
|
|
2698
2703
|
providers: withXsrfConfiguration(options).ɵproviders,
|
|
2699
2704
|
};
|
|
2700
2705
|
}
|
|
2701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2702
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
2703
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2707
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientXsrfModule }); }
|
|
2708
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2704
2709
|
HttpXsrfInterceptor,
|
|
2705
2710
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2706
2711
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -2711,7 +2716,7 @@ class HttpClientXsrfModule {
|
|
|
2711
2716
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
2712
2717
|
] }); }
|
|
2713
2718
|
}
|
|
2714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2715
2720
|
type: NgModule,
|
|
2716
2721
|
args: [{
|
|
2717
2722
|
providers: [
|
|
@@ -2737,11 +2742,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7",
|
|
|
2737
2742
|
* @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
|
|
2738
2743
|
*/
|
|
2739
2744
|
class HttpClientModule {
|
|
2740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2741
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
2742
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2746
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientModule }); }
|
|
2747
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] }); }
|
|
2743
2748
|
}
|
|
2744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2745
2750
|
type: NgModule,
|
|
2746
2751
|
args: [{
|
|
2747
2752
|
/**
|
|
@@ -2761,11 +2766,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7",
|
|
|
2761
2766
|
* @deprecated `withJsonpSupport()` as providers instead
|
|
2762
2767
|
*/
|
|
2763
2768
|
class HttpClientJsonpModule {
|
|
2764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2765
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
2766
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2770
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientJsonpModule }); }
|
|
2771
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] }); }
|
|
2767
2772
|
}
|
|
2768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
2773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2769
2774
|
type: NgModule,
|
|
2770
2775
|
args: [{
|
|
2771
2776
|
providers: [withJsonpSupport().ɵproviders],
|