@angular/ssr
Advanced tools
+2
-2
@@ -253,3 +253,3 @@ import { normalizeTrustProxyHeaders, sanitizeRequestHeaders, validateRequest } from './_validation-chunk.mjs'; | ||
| } | ||
| const resHeaders = new Headers(headers); | ||
| const resHeaders = headers instanceof Headers ? headers : new Headers(headers); | ||
| if (ngDevMode && resHeaders.has('location')) { | ||
@@ -1311,3 +1311,3 @@ console.warn(`Location header "${resHeaders.get('location')}" will be ignored and set to "${location}".`); | ||
| if (result.redirectTo) { | ||
| return createRedirectResponse(result.redirectTo, responseInit.status, headers); | ||
| return createRedirectResponse(result.redirectTo, responseInit.status, responseInit.headers); | ||
| } | ||
@@ -1314,0 +1314,0 @@ if (renderMode === RenderMode.Prerender) { |
+7
-7
| { | ||
| "name": "@angular/ssr", | ||
| "version": "22.0.4", | ||
| "version": "22.0.5", | ||
| "description": "Angular server side rendering utilities", | ||
@@ -40,8 +40,8 @@ "type": "module", | ||
| "@angular-devkit/schematics": "workspace:*", | ||
| "@angular/common": "22.0.2", | ||
| "@angular/compiler": "22.0.2", | ||
| "@angular/core": "22.0.2", | ||
| "@angular/platform-browser": "22.0.2", | ||
| "@angular/platform-server": "22.0.2", | ||
| "@angular/router": "22.0.2", | ||
| "@angular/common": "22.0.4", | ||
| "@angular/compiler": "22.0.4", | ||
| "@angular/core": "22.0.4", | ||
| "@angular/platform-browser": "22.0.4", | ||
| "@angular/platform-server": "22.0.4", | ||
| "@angular/router": "22.0.4", | ||
| "@schematics/angular": "workspace:*", | ||
@@ -48,0 +48,0 @@ "beasties": "0.4.2" |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1658601
0.01%