🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@angular/ssr

Package Overview
Dependencies
Maintainers
2
Versions
351
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/ssr - npm Package Compare versions

Comparing version
22.0.4
to
22.0.5
+2
-2
fesm2022/ssr.mjs

@@ -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) {

{
"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