@angular/common 21.0.0-next.7 → 21.0.0-next.8
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_module-chunk.mjs +86 -86
- package/fesm2022/_common_module-chunk.mjs.map +1 -1
- package/fesm2022/_location-chunk.mjs +16 -16
- package/fesm2022/_location-chunk.mjs.map +1 -1
- package/fesm2022/_module-chunk.mjs +46 -46
- package/fesm2022/_module-chunk.mjs.map +1 -1
- package/fesm2022/_platform_navigation-chunk.mjs +4 -4
- package/fesm2022/_platform_navigation-chunk.mjs.map +1 -1
- package/fesm2022/_xhr-chunk.mjs +1 -1
- package/fesm2022/_xhr-chunk.mjs.map +1 -1
- package/fesm2022/common.mjs +15 -14
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http-testing.mjs +8 -8
- package/fesm2022/http-testing.mjs.map +1 -1
- package/fesm2022/http.mjs +2 -1
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/upgrade.mjs.map +1 -1
- package/package.json +2 -2
- package/types/_common_module-chunk.d.ts +1 -1
- package/types/_module-chunk.d.ts +1 -1
- package/types/_platform_location-chunk.d.ts +1 -1
- package/types/_xhr-chunk.d.ts +1 -1
- package/types/common.d.ts +2 -1
- package/types/http-testing.d.ts +1 -1
- package/types/http.d.ts +6 -1
- package/types/testing.d.ts +1 -1
- package/types/upgrade.d.ts +1 -1
package/types/common.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-next.
|
|
2
|
+
* @license Angular v21.0.0-next.8
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1076,6 +1076,7 @@ interface ImagePlaceholderConfig {
|
|
|
1076
1076
|
* ```
|
|
1077
1077
|
*
|
|
1078
1078
|
* @publicApi
|
|
1079
|
+
* @see [Image Optimization Guide](guide/image-optimization)
|
|
1079
1080
|
*/
|
|
1080
1081
|
declare class NgOptimizedImage implements OnInit, OnChanges {
|
|
1081
1082
|
private imageLoader;
|
package/types/http-testing.d.ts
CHANGED
package/types/http.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-next.
|
|
2
|
+
* @license Angular v21.0.0-next.8
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -4292,6 +4292,11 @@ interface HttpResourceRequest {
|
|
|
4292
4292
|
* Value is a same-origin URL, "about:client", or the empty string, to set request's referrer.
|
|
4293
4293
|
*/
|
|
4294
4294
|
referrer?: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* The referrer policy of the request, which can be used to specify the referrer information to be included with the request.
|
|
4297
|
+
* This can affect the amount of referrer information sent with the request, and can be used to enhance privacy and security.
|
|
4298
|
+
*/
|
|
4299
|
+
referrerPolicy?: ReferrerPolicy | (string & {});
|
|
4295
4300
|
/**
|
|
4296
4301
|
* The integrity metadata of the request, which can be used to ensure the request is made with the expected content.
|
|
4297
4302
|
* A cryptographic hash of the resource to be fetched by request
|
package/types/testing.d.ts
CHANGED
package/types/upgrade.d.ts
CHANGED