@angular/common 19.1.0 → 19.1.1
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 +117 -117
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +48 -42
- 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 +1 -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.1.
|
|
2
|
+
* @license Angular v19.1.1
|
|
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.1.
|
|
319
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
319
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientTestingBackend });
|
|
320
320
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", 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.1.
|
|
350
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
351
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
350
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
351
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
|
|
352
352
|
}
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", 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.1.
|
|
2
|
+
* @license Angular v19.1.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -708,6 +708,12 @@ function isFormData(value) {
|
|
|
708
708
|
function isUrlSearchParams(value) {
|
|
709
709
|
return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;
|
|
710
710
|
}
|
|
711
|
+
/**
|
|
712
|
+
* `Content-Type` is an HTTP header used to indicate the media type
|
|
713
|
+
* (also known as MIME type) of the resource being sent to the client
|
|
714
|
+
* or received from the server.
|
|
715
|
+
*/
|
|
716
|
+
const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
711
717
|
/**
|
|
712
718
|
* `X-Request-URL` is a custom HTTP header used in older browser versions,
|
|
713
719
|
* including Firefox (< 32), Chrome (< 37), Safari (< 8), and Internet Explorer,
|
|
@@ -1559,10 +1565,10 @@ class HttpClient {
|
|
|
1559
1565
|
put(url, body, options = {}) {
|
|
1560
1566
|
return this.request('PUT', url, addBody(options, body));
|
|
1561
1567
|
}
|
|
1562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
1563
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
1568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1569
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClient });
|
|
1564
1570
|
}
|
|
1565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClient, decorators: [{
|
|
1566
1572
|
type: Injectable
|
|
1567
1573
|
}], ctorParameters: () => [{ type: HttpHandler }] });
|
|
1568
1574
|
|
|
@@ -1683,7 +1689,7 @@ class FetchBackend {
|
|
|
1683
1689
|
// Combine all chunks.
|
|
1684
1690
|
const chunksAll = this.concatChunks(chunks, receivedLength);
|
|
1685
1691
|
try {
|
|
1686
|
-
const contentType = response.headers.get(
|
|
1692
|
+
const contentType = response.headers.get(CONTENT_TYPE_HEADER) ?? '';
|
|
1687
1693
|
body = this.parseBody(request, chunksAll, contentType);
|
|
1688
1694
|
}
|
|
1689
1695
|
catch (error) {
|
|
@@ -1754,11 +1760,11 @@ class FetchBackend {
|
|
|
1754
1760
|
headers['Accept'] = ACCEPT_HEADER;
|
|
1755
1761
|
}
|
|
1756
1762
|
// Auto-detect the Content-Type header if one isn't present already.
|
|
1757
|
-
if (!req.headers.has(
|
|
1763
|
+
if (!req.headers.has(CONTENT_TYPE_HEADER)) {
|
|
1758
1764
|
const detectedType = req.detectContentTypeHeader();
|
|
1759
1765
|
// Sometimes Content-Type detection fails.
|
|
1760
1766
|
if (detectedType !== null) {
|
|
1761
|
-
headers[
|
|
1767
|
+
headers[CONTENT_TYPE_HEADER] = detectedType;
|
|
1762
1768
|
}
|
|
1763
1769
|
}
|
|
1764
1770
|
return {
|
|
@@ -1777,10 +1783,10 @@ class FetchBackend {
|
|
|
1777
1783
|
}
|
|
1778
1784
|
return chunksAll;
|
|
1779
1785
|
}
|
|
1780
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
1781
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
1786
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1787
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: FetchBackend });
|
|
1782
1788
|
}
|
|
1783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: FetchBackend, decorators: [{
|
|
1784
1790
|
type: Injectable
|
|
1785
1791
|
}] });
|
|
1786
1792
|
/**
|
|
@@ -1921,10 +1927,10 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
1921
1927
|
return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
|
|
1922
1928
|
}
|
|
1923
1929
|
}
|
|
1924
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
1925
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
1930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", 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.1.1", ngImport: i0, type: HttpInterceptorHandler });
|
|
1926
1932
|
}
|
|
1927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
1928
1934
|
type: Injectable
|
|
1929
1935
|
}], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
|
|
1930
1936
|
|
|
@@ -2126,10 +2132,10 @@ class JsonpClientBackend {
|
|
|
2126
2132
|
foreignDocument ??= this.document.implementation.createHTMLDocument();
|
|
2127
2133
|
foreignDocument.adoptNode(script);
|
|
2128
2134
|
}
|
|
2129
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2130
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
2135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2136
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpClientBackend });
|
|
2131
2137
|
}
|
|
2132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
2133
2139
|
type: Injectable
|
|
2134
2140
|
}], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
2135
2141
|
type: Inject,
|
|
@@ -2168,10 +2174,10 @@ class JsonpInterceptor {
|
|
|
2168
2174
|
intercept(initialRequest, next) {
|
|
2169
2175
|
return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2170
2176
|
}
|
|
2171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2172
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
2177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2178
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpInterceptor });
|
|
2173
2179
|
}
|
|
2174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
2175
2181
|
type: Injectable
|
|
2176
2182
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2177
2183
|
|
|
@@ -2238,11 +2244,11 @@ class HttpXhrBackend {
|
|
|
2238
2244
|
xhr.setRequestHeader('Accept', ACCEPT_HEADER);
|
|
2239
2245
|
}
|
|
2240
2246
|
// Auto-detect the Content-Type header if one isn't present already.
|
|
2241
|
-
if (!req.headers.has(
|
|
2247
|
+
if (!req.headers.has(CONTENT_TYPE_HEADER)) {
|
|
2242
2248
|
const detectedType = req.detectContentTypeHeader();
|
|
2243
2249
|
// Sometimes Content-Type detection fails.
|
|
2244
2250
|
if (detectedType !== null) {
|
|
2245
|
-
xhr.setRequestHeader(
|
|
2251
|
+
xhr.setRequestHeader(CONTENT_TYPE_HEADER, detectedType);
|
|
2246
2252
|
}
|
|
2247
2253
|
}
|
|
2248
2254
|
// Set the responseType if one was requested.
|
|
@@ -2453,10 +2459,10 @@ class HttpXhrBackend {
|
|
|
2453
2459
|
});
|
|
2454
2460
|
}));
|
|
2455
2461
|
}
|
|
2456
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2457
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
2462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2463
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXhrBackend });
|
|
2458
2464
|
}
|
|
2459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
2460
2466
|
type: Injectable
|
|
2461
2467
|
}], ctorParameters: () => [{ type: i1.XhrFactory }] });
|
|
2462
2468
|
|
|
@@ -2508,10 +2514,10 @@ class HttpXsrfCookieExtractor {
|
|
|
2508
2514
|
}
|
|
2509
2515
|
return this.lastToken;
|
|
2510
2516
|
}
|
|
2511
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2512
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
2517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", 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.1.1", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
2513
2519
|
}
|
|
2514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2515
2521
|
type: Injectable
|
|
2516
2522
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2517
2523
|
type: Inject,
|
|
@@ -2555,10 +2561,10 @@ class HttpXsrfInterceptor {
|
|
|
2555
2561
|
intercept(initialRequest, next) {
|
|
2556
2562
|
return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2557
2563
|
}
|
|
2558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2559
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
2564
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2565
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2560
2566
|
}
|
|
2561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2562
2568
|
type: Injectable
|
|
2563
2569
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2564
2570
|
|
|
@@ -2824,9 +2830,9 @@ class HttpClientXsrfModule {
|
|
|
2824
2830
|
providers: withXsrfConfiguration(options).ɵproviders,
|
|
2825
2831
|
};
|
|
2826
2832
|
}
|
|
2827
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2828
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
2829
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
2833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2834
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: HttpClientXsrfModule });
|
|
2835
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2830
2836
|
HttpXsrfInterceptor,
|
|
2831
2837
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2832
2838
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -2837,7 +2843,7 @@ class HttpClientXsrfModule {
|
|
|
2837
2843
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
2838
2844
|
] });
|
|
2839
2845
|
}
|
|
2840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2841
2847
|
type: NgModule,
|
|
2842
2848
|
args: [{
|
|
2843
2849
|
providers: [
|
|
@@ -2863,11 +2869,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImpor
|
|
|
2863
2869
|
* @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
|
|
2864
2870
|
*/
|
|
2865
2871
|
class HttpClientModule {
|
|
2866
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2867
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
2868
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
2872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2873
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: HttpClientModule });
|
|
2874
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
|
|
2869
2875
|
}
|
|
2870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2871
2877
|
type: NgModule,
|
|
2872
2878
|
args: [{
|
|
2873
2879
|
/**
|
|
@@ -2887,11 +2893,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImpor
|
|
|
2887
2893
|
* @deprecated `withJsonpSupport()` as providers instead
|
|
2888
2894
|
*/
|
|
2889
2895
|
class HttpClientJsonpModule {
|
|
2890
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
2891
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
2892
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
2896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2897
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: HttpClientJsonpModule });
|
|
2898
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
|
|
2893
2899
|
}
|
|
2894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
2900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2895
2901
|
type: NgModule,
|
|
2896
2902
|
args: [{
|
|
2897
2903
|
providers: [withJsonpSupport().ɵproviders],
|