Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sls-helper-plugin-janis

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sls-helper-plugin-janis - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [2.1.0] - 2020-02-14
### Added
- Access denied API Gateway response resource added with CORS headers
## [2.0.0] - 2020-02-10

@@ -11,0 +15,0 @@ ### Added

@@ -200,2 +200,19 @@ 'use strict';

}
},
accessDeniedResponse: {
Type: 'AWS::ApiGateway::GatewayResponse',
Properties: {
ResponseParameters: {
'gatewayresponse.header.Access-Control-Allow-Origin': 'method.request.header.Origin'
},
ResponseTemplates: {
'application/json': '{"message":$context.error.messageString,"validationError":"$context.error.validationErrorString"}'
},
ResponseType: 'ACCESS_DENIED',
RestApiId: {
Ref: 'ApiGatewayRestApi'
},
StatusCode: '403'
}
}

@@ -202,0 +219,0 @@

2

package.json
{
"name": "sls-helper-plugin-janis",
"version": "2.0.0",
"version": "2.1.0",
"description": "A Serverless Helper plugin to add custom helpers for JANIS Commerce",

@@ -5,0 +5,0 @@ "main": "lib/plugin.js",

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