New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

claudia-api-builder

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

claudia-api-builder - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "claudia-api-builder",
"version": "3.0.1",
"version": "3.0.2",
"description": "Simplify AWS ApiGateway handling",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -185,7 +185,10 @@ const util = require('util'),

.then(corsOrigin => {
if (!corsOrigin) {
return {};
};
return {
'Access-Control-Allow-Origin': corsOrigin,
'Access-Control-Allow-Headers': corsOrigin && (customCorsHeaders || 'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'),
'Access-Control-Allow-Methods': corsOrigin && methods.sort().join(',') + ',OPTIONS',
'Access-Control-Allow-Credentials': corsOrigin && 'true',
'Access-Control-Allow-Headers': (customCorsHeaders || 'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'),
'Access-Control-Allow-Methods': methods.sort().join(',') + ',OPTIONS',
'Access-Control-Allow-Credentials': 'true',
'Access-Control-Max-Age': customCorsMaxAge || 0

@@ -192,0 +195,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc