Socket
Socket
Sign inDemoInstall

arc-macro-custom-domain

Package Overview
Dependencies
0
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.2.1-alpha-1

6

index.js

@@ -23,4 +23,8 @@ module.exports = function(arc, cloudformation, stage) {

let restId = 'ServerlessHttpApi'
let typeKey = 'AWS::Serverless::Api';
if (params.httpAPI) {
typeKey = 'AWS::Serverless::HttpApi';
}
Object.keys(cloudformation.Resources).forEach(k => {
if (cloudformation.Resources[k].Type === 'AWS::Serverless::Api') {
if (cloudformation.Resources[k].Type === typeKey) {
restId = k;

@@ -27,0 +31,0 @@ }

2

package.json
{
"name": "arc-macro-custom-domain",
"version": "2.2.0",
"version": "2.2.1-alpha-1",
"description": "- only works on staging (for now) - can override domain with `ARC_DOMAIN`",

@@ -5,0 +5,0 @@ "main": "index.js",

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