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

@collaborne/custom-cloudformation-resources

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collaborne/custom-cloudformation-resources - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

7

dist/cfn-response.js

@@ -26,2 +26,9 @@ "use strict";

});
if (responseBody.length >= 4096) {
// Warn, but proceed. The problem is that at this point we cannot do anything anymore -- CF will fail, and will do
// rollbacks as needed.
// We do log the complete body here, so that the operator/developer hopefully sees what can be shortened.
// See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-responses.html#crpg-ref-responses-fields
console.warn(`Response body length of ${responseBody.length} bytes exceeds CloudFormation limit of 4KiB: ${responseBody}`);
}
const options = {

@@ -28,0 +35,0 @@ method: 'PUT',

2

package.json
{
"name": "@collaborne/custom-cloudformation-resources",
"version": "0.5.1",
"version": "0.5.2",
"description": "Custom CloudFormation resources",

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

@@ -60,2 +60,11 @@ // Based on the cfn-response sources published by AWS at

});
if (responseBody.length >= 4096) {
// Warn, but proceed. The problem is that at this point we cannot do anything anymore -- CF will fail, and will do
// rollbacks as needed.
// We do log the complete body here, so that the operator/developer hopefully sees what can be shortened.
// See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-responses.html#crpg-ref-responses-fields
console.warn(
`Response body length of ${responseBody.length} bytes exceeds CloudFormation limit of 4KiB: ${responseBody}`,
);
}

@@ -62,0 +71,0 @@ const options = {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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