Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@studio/gateway

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studio/gateway - npm Package Compare versions

Comparing version
2.5.2
to
2.5.3
+7
-0
CHANGES.md
# Changes
## 2.5.3
- 🐛 [`e763f3e`](https://github.com/javascript-studio/studio-gateway/commit/e763f3e8044a73eda8978b1dc997280cd2feec4f)
Handle deny policy response from authorizer
_Released by [Maximilian Antoni](https://github.com/mantoni) on 2024-01-09._
## 2.5.2

@@ -4,0 +11,0 @@

@@ -67,2 +67,7 @@ /*

}
const { Statement } = policy.policyDocument;
if (Statement.length !== 1 || Statement[0].Effect !== 'Allow') {
reject(res, 'Unauthorized');
return;
}
const ttl = authorizer.authorizerResultTtlInSeconds;

@@ -69,0 +74,0 @@ if (ttl && authorizationToken) {

+1
-1
{
"name": "@studio/gateway",
"version": "2.5.2",
"version": "2.5.3",
"description": "JavaScript Studio Gateway",

@@ -5,0 +5,0 @@ "author": "Maximilian Antoni <max@javascript.studio>",