Socket
Socket
Sign inDemoInstall

@serverless/domain

Package Overview
Dependencies
80
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.3 to 6.0.4

2

package.json
{
"name": "@serverless/domain",
"version": "6.0.3",
"version": "6.0.4",
"main": "./serverless.js",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -708,20 +708,2 @@ const aws = require('aws-sdk')

// 5. then make our changes
// todo maybe we should add ALL error codes returned from CloudFront/S3?!
params.DistributionConfig.CustomErrorResponses = {
Quantity: 2,
Items: [
{
ErrorCode: 404,
ErrorCachingMinTTL: 300,
ResponseCode: '200',
ResponsePagePath: '/index.html'
},
{
ErrorCode: 403,
ErrorCachingMinTTL: 300,
ResponseCode: '200',
ResponsePagePath: '/index.html'
}
]
}
params.DistributionConfig.Origins.Items = [

@@ -731,9 +713,8 @@ {

DomainName: subdomain.url,
OriginPath: '',
CustomHeaders: {
Quantity: 0,
Items: []
},
S3OriginConfig: {
OriginAccessIdentity: ''
CustomOriginConfig: {
HTTPPort: 80,
HTTPSPort: 443,
OriginKeepaliveTimeout: 5,
OriginProtocolPolicy: 'https-only',
OriginReadTimeout: 30
}

@@ -740,0 +721,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc