@angular/common 15.2.8 → 15.2.10
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/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +10 -10
- package/esm2020/http/src/module.mjs +12 -12
- package/esm2020/http/src/provider.mjs +16 -16
- package/esm2020/http/src/xhr.mjs +6 -6
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +3 -3
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +4 -4
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2020/src/directives/ng_for_of.mjs +3 -3
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +16 -6
- package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
- package/esm2020/src/directives/ng_plural.mjs +6 -6
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +9 -9
- package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2020/src/dom_tokens.mjs +4 -5
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +3 -3
- package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2020/src/pipes/date_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2020/src/pipes/json_pipe.mjs +3 -3
- package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2020/src/pipes/number_pipe.mjs +9 -9
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +3 -3
- package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2020/testing/src/mock_platform_location.mjs +3 -3
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +129 -120
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +54 -54
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +129 -120
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +54 -54
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/http/index.d.ts +21 -21
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +4 -5
- 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 v15.2.
|
|
2
|
+
* @license Angular v15.2.10
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -309,9 +309,9 @@ class HttpClientTestingBackend {
|
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
HttpClientTestingBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
313
|
-
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
312
|
+
HttpClientTestingBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
313
|
+
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingBackend });
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
315
315
|
type: Injectable
|
|
316
316
|
}] });
|
|
317
317
|
function describeRequest(testRequest) {
|
|
@@ -337,12 +337,12 @@ function provideHttpClientTesting() {
|
|
|
337
337
|
*/
|
|
338
338
|
class HttpClientTestingModule {
|
|
339
339
|
}
|
|
340
|
-
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
341
|
-
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
342
|
-
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
340
|
+
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
341
|
+
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
342
|
+
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingModule, providers: [
|
|
343
343
|
provideHttpClientTesting(),
|
|
344
344
|
], imports: [HttpClientModule] });
|
|
345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
346
346
|
type: NgModule,
|
|
347
347
|
args: [{
|
|
348
348
|
imports: [
|
package/fesm2015/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.
|
|
2
|
+
* @license Angular v15.2.10
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1373,9 +1373,9 @@ class HttpClient {
|
|
|
1373
1373
|
return this.request('PUT', url, addBody(options, body));
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
|
-
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1377
|
-
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1376
|
+
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1377
|
+
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClient });
|
|
1378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClient, decorators: [{
|
|
1379
1379
|
type: Injectable
|
|
1380
1380
|
}], ctorParameters: function () { return [{ type: HttpHandler }]; } });
|
|
1381
1381
|
|
|
@@ -1449,9 +1449,9 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
1449
1449
|
return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest));
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
HttpInterceptorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1453
|
-
HttpInterceptorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1452
|
+
HttpInterceptorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1453
|
+
HttpInterceptorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpInterceptorHandler });
|
|
1454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
1455
1455
|
type: Injectable
|
|
1456
1456
|
}], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.EnvironmentInjector }]; } });
|
|
1457
1457
|
|
|
@@ -1501,8 +1501,8 @@ function jsonpCallbackContext() {
|
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Processes an `HttpRequest` with the JSONP method,
|
|
1503
1503
|
* by performing JSONP style requests.
|
|
1504
|
-
* @see
|
|
1505
|
-
* @see
|
|
1504
|
+
* @see {@link HttpHandler}
|
|
1505
|
+
* @see {@link HttpXhrBackend}
|
|
1506
1506
|
*
|
|
1507
1507
|
* @publicApi
|
|
1508
1508
|
*/
|
|
@@ -1654,9 +1654,9 @@ class JsonpClientBackend {
|
|
|
1654
1654
|
foreignDocument.adoptNode(script);
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
-
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1658
|
-
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1657
|
+
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1658
|
+
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpClientBackend });
|
|
1659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
1660
1660
|
type: Injectable
|
|
1661
1661
|
}], ctorParameters: function () {
|
|
1662
1662
|
return [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
@@ -1678,7 +1678,7 @@ function jsonpInterceptorFn(req, next) {
|
|
|
1678
1678
|
* Identifies requests with the method JSONP and
|
|
1679
1679
|
* shifts them to the `JsonpClientBackend`.
|
|
1680
1680
|
*
|
|
1681
|
-
* @see
|
|
1681
|
+
* @see {@link HttpInterceptor}
|
|
1682
1682
|
*
|
|
1683
1683
|
* @publicApi
|
|
1684
1684
|
*/
|
|
@@ -1697,9 +1697,9 @@ class JsonpInterceptor {
|
|
|
1697
1697
|
return this.injector.runInContext(() => jsonpInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));
|
|
1698
1698
|
}
|
|
1699
1699
|
}
|
|
1700
|
-
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1701
|
-
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1700
|
+
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1701
|
+
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpInterceptor });
|
|
1702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
1703
1703
|
type: Injectable
|
|
1704
1704
|
}], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });
|
|
1705
1705
|
|
|
@@ -1719,8 +1719,8 @@ function getResponseUrl(xhr) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Uses `XMLHttpRequest` to send requests to a backend server.
|
|
1722
|
-
* @see
|
|
1723
|
-
* @see
|
|
1722
|
+
* @see {@link HttpHandler}
|
|
1723
|
+
* @see {@link JsonpClientBackend}
|
|
1724
1724
|
*
|
|
1725
1725
|
* @publicApi
|
|
1726
1726
|
*/
|
|
@@ -1968,9 +1968,9 @@ class HttpXhrBackend {
|
|
|
1968
1968
|
});
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
|
-
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1972
|
-
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1971
|
+
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1972
|
+
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXhrBackend });
|
|
1973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
1974
1974
|
type: Injectable
|
|
1975
1975
|
}], ctorParameters: function () { return [{ type: i1.XhrFactory }]; } });
|
|
1976
1976
|
|
|
@@ -2020,9 +2020,9 @@ class HttpXsrfCookieExtractor {
|
|
|
2020
2020
|
return this.lastToken;
|
|
2021
2021
|
}
|
|
2022
2022
|
}
|
|
2023
|
-
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2024
|
-
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
2025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2023
|
+
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2024
|
+
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
2025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2026
2026
|
type: Injectable
|
|
2027
2027
|
}], ctorParameters: function () {
|
|
2028
2028
|
return [{ type: undefined, decorators: [{
|
|
@@ -2065,9 +2065,9 @@ class HttpXsrfInterceptor {
|
|
|
2065
2065
|
return this.injector.runInContext(() => xsrfInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));
|
|
2066
2066
|
}
|
|
2067
2067
|
}
|
|
2068
|
-
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2069
|
-
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2068
|
+
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2069
|
+
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2071
2071
|
type: Injectable
|
|
2072
2072
|
}], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });
|
|
2073
2073
|
|
|
@@ -2099,12 +2099,12 @@ function makeHttpFeature(kind, providers) {
|
|
|
2099
2099
|
* feature functions to `provideHttpClient`. For example, HTTP interceptors can be added using the
|
|
2100
2100
|
* `withInterceptors(...)` feature.
|
|
2101
2101
|
*
|
|
2102
|
-
* @see withInterceptors
|
|
2103
|
-
* @see withInterceptorsFromDi
|
|
2104
|
-
* @see withXsrfConfiguration
|
|
2105
|
-
* @see withNoXsrfProtection
|
|
2106
|
-
* @see withJsonpSupport
|
|
2107
|
-
* @see withRequestsMadeViaParent
|
|
2102
|
+
* @see {@link withInterceptors}
|
|
2103
|
+
* @see {@link withInterceptorsFromDi}
|
|
2104
|
+
* @see {@link withXsrfConfiguration}
|
|
2105
|
+
* @see {@link withNoXsrfProtection}
|
|
2106
|
+
* @see {@link withJsonpSupport}
|
|
2107
|
+
* @see {@link withRequestsMadeViaParent}
|
|
2108
2108
|
*/
|
|
2109
2109
|
function provideHttpClient(...features) {
|
|
2110
2110
|
if (ngDevMode) {
|
|
@@ -2139,8 +2139,8 @@ function provideHttpClient(...features) {
|
|
|
2139
2139
|
* Adds one or more functional-style HTTP interceptors to the configuration of the `HttpClient`
|
|
2140
2140
|
* instance.
|
|
2141
2141
|
*
|
|
2142
|
-
* @see HttpInterceptorFn
|
|
2143
|
-
* @see provideHttpClient
|
|
2142
|
+
* @see {@link HttpInterceptorFn}
|
|
2143
|
+
* @see {@link provideHttpClient}
|
|
2144
2144
|
* @publicApi
|
|
2145
2145
|
*/
|
|
2146
2146
|
function withInterceptors(interceptorFns) {
|
|
@@ -2160,9 +2160,9 @@ const LEGACY_INTERCEPTOR_FN = new InjectionToken('LEGACY_INTERCEPTOR_FN');
|
|
|
2160
2160
|
* Prefer `withInterceptors` and functional interceptors instead, as support for DI-provided
|
|
2161
2161
|
* interceptors may be phased out in a later release.
|
|
2162
2162
|
*
|
|
2163
|
-
* @see HttpInterceptor
|
|
2164
|
-
* @see HTTP_INTERCEPTORS
|
|
2165
|
-
* @see provideHttpClient
|
|
2163
|
+
* @see {@link HttpInterceptor}
|
|
2164
|
+
* @see {@link HTTP_INTERCEPTORS}
|
|
2165
|
+
* @see {@link provideHttpClient}
|
|
2166
2166
|
*/
|
|
2167
2167
|
function withInterceptorsFromDi() {
|
|
2168
2168
|
// Note: the legacy interceptor function is provided here via an intermediate token
|
|
@@ -2187,7 +2187,7 @@ function withInterceptorsFromDi() {
|
|
|
2187
2187
|
*
|
|
2188
2188
|
* This feature is incompatible with the `withNoXsrfProtection` feature.
|
|
2189
2189
|
*
|
|
2190
|
-
* @see provideHttpClient
|
|
2190
|
+
* @see {@link provideHttpClient}
|
|
2191
2191
|
*/
|
|
2192
2192
|
function withXsrfConfiguration({ cookieName, headerName }) {
|
|
2193
2193
|
const providers = [];
|
|
@@ -2204,7 +2204,7 @@ function withXsrfConfiguration({ cookieName, headerName }) {
|
|
|
2204
2204
|
*
|
|
2205
2205
|
* This feature is incompatible with the `withXsrfConfiguration` feature.
|
|
2206
2206
|
*
|
|
2207
|
-
* @see provideHttpClient
|
|
2207
|
+
* @see {@link provideHttpClient}
|
|
2208
2208
|
*/
|
|
2209
2209
|
function withNoXsrfProtection() {
|
|
2210
2210
|
return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [
|
|
@@ -2217,7 +2217,7 @@ function withNoXsrfProtection() {
|
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Add JSONP support to the configuration of the current `HttpClient` instance.
|
|
2219
2219
|
*
|
|
2220
|
-
* @see provideHttpClient
|
|
2220
|
+
* @see {@link provideHttpClient}
|
|
2221
2221
|
*/
|
|
2222
2222
|
function withJsonpSupport() {
|
|
2223
2223
|
return makeHttpFeature(HttpFeatureKind.JsonpSupport, [
|
|
@@ -2243,7 +2243,7 @@ function withJsonpSupport() {
|
|
|
2243
2243
|
* "bubble up" until either reaching the root level or an `HttpClient` which was not configured with
|
|
2244
2244
|
* this option.
|
|
2245
2245
|
*
|
|
2246
|
-
* @see provideHttpClient
|
|
2246
|
+
* @see {@link provideHttpClient}
|
|
2247
2247
|
* @developerPreview
|
|
2248
2248
|
*/
|
|
2249
2249
|
function withRequestsMadeViaParent() {
|
|
@@ -2300,9 +2300,9 @@ class HttpClientXsrfModule {
|
|
|
2300
2300
|
};
|
|
2301
2301
|
}
|
|
2302
2302
|
}
|
|
2303
|
-
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2304
|
-
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
2305
|
-
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
2303
|
+
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2304
|
+
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HttpClientXsrfModule });
|
|
2305
|
+
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2306
2306
|
HttpXsrfInterceptor,
|
|
2307
2307
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2308
2308
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -2312,7 +2312,7 @@ HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
2312
2312
|
}).ɵproviders,
|
|
2313
2313
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
2314
2314
|
] });
|
|
2315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2316
2316
|
type: NgModule,
|
|
2317
2317
|
args: [{
|
|
2318
2318
|
providers: [
|
|
@@ -2338,12 +2338,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
2338
2338
|
*/
|
|
2339
2339
|
class HttpClientModule {
|
|
2340
2340
|
}
|
|
2341
|
-
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2342
|
-
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
2343
|
-
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
2341
|
+
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2342
|
+
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HttpClientModule });
|
|
2343
|
+
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientModule, providers: [
|
|
2344
2344
|
provideHttpClient(withInterceptorsFromDi()),
|
|
2345
2345
|
] });
|
|
2346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2347
2347
|
type: NgModule,
|
|
2348
2348
|
args: [{
|
|
2349
2349
|
/**
|
|
@@ -2365,12 +2365,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
2365
2365
|
*/
|
|
2366
2366
|
class HttpClientJsonpModule {
|
|
2367
2367
|
}
|
|
2368
|
-
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2369
|
-
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
2370
|
-
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
2368
|
+
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2369
|
+
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HttpClientJsonpModule });
|
|
2370
|
+
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientJsonpModule, providers: [
|
|
2371
2371
|
withJsonpSupport().ɵproviders,
|
|
2372
2372
|
] });
|
|
2373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2374
2374
|
type: NgModule,
|
|
2375
2375
|
args: [{
|
|
2376
2376
|
providers: [
|