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

@mapbox/cloudfriend

Package Overview
Dependencies
Maintainers
14
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/cloudfriend - npm Package Compare versions

Comparing version 5.0.2 to 5.1.0

test/fixtures/shortcuts/lambda-docker.json

3

changelog.md
# Changelog
## v5.1.0
- Lambda shortcuts now support custom Docker images.
## v5.0.2

@@ -4,0 +7,0 @@ - Fixes handling custom access log formats in hookshot shortcuts.

@@ -231,2 +231,8 @@ 'use strict';

}
if (Code.ImageUri) {
this.Resources[`${LogicalName}`].Properties.PackageType = 'Image';
delete this.Resources[`${LogicalName}`].Properties.Runtime;
delete this.Resources[`${LogicalName}`].Properties.Handler;
}
}

@@ -233,0 +239,0 @@ }

2

package.json
{
"name": "@mapbox/cloudfriend",
"version": "5.0.2",
"version": "5.1.0",
"description": "Helper functions for assembling CloudFormation templates in JavaScript",

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

@@ -95,2 +95,17 @@ 'use strict';

Code: {
ImageUri: 'MyImage'
}
});
template = cf.merge(lambda);
if (update) fixtures.update('lambda-docker', template);
assert.deepEqual(
noUndefined(template),
fixtures.get('lambda-docker'),
'expected resources generated using all default values and a docker image'
);
lambda = new cf.shortcuts.Lambda({
LogicalName: 'MyLambda',
Code: {
ZipFile: 'fake code'

@@ -97,0 +112,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