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

@aws-cdk/aws-lambda

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-lambda - npm Package Compare versions

Comparing version 0.29.0 to 0.30.0

tsconfig.json

3

lib/layers.d.ts

@@ -59,3 +59,3 @@ import { Construct, IResource, Resource } from '@aws-cdk/cdk';

*/
export declare abstract class LayerVersionBase extends Resource implements ILayerVersion {
declare abstract class LayerVersionBase extends Resource implements ILayerVersion {
abstract readonly layerVersionArn: string;

@@ -137,1 +137,2 @@ abstract readonly compatibleRuntimes?: Runtime[];

}
export {};

@@ -28,3 +28,2 @@ "use strict";

}
exports.LayerVersionBase = LayerVersionBase;
/**

@@ -112,2 +111,2 @@ * Defines a new Lambda Layer version.

exports.SingletonLayerVersion = SingletonLayerVersion;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibGF5ZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQWdGO0FBRWhGLHlEQUFnRjtBQWdFaEY7O0dBRUc7QUFDSCxNQUFzQixnQkFBaUIsU0FBUSxjQUFRO0lBSTlDLFVBQVUsQ0FBQyxFQUFVLEVBQUUsT0FBaUM7UUFDN0QsSUFBSSxPQUFPLENBQUMsY0FBYyxJQUFJLElBQUksSUFBSSxPQUFPLENBQUMsU0FBUyxLQUFLLEdBQUcsRUFBRTtZQUMvRCxNQUFNLElBQUksS0FBSyxDQUFDLDBFQUEwRSxPQUFPLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQztTQUNoSDtRQUVELElBQUksNENBQXlCLENBQUMsSUFBSSxFQUFFLEVBQUUsRUFBRTtZQUN0QyxNQUFNLEVBQUUsd0JBQXdCO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da",
"version": "0.29.0",
"version": "0.30.0",
"description": "CDK Constructs for AWS Lambda",

@@ -66,3 +66,3 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.29.0",
"@aws-cdk/assert": "^0.30.0",
"@types/aws-lambda": "^8.10.24",

@@ -73,37 +73,37 @@ "@types/nock": "^9.3.1",

"aws-sdk-mock": "^4.4.0",
"cdk-build-tools": "^0.29.0",
"cdk-integ-tools": "^0.29.0",
"cfn2ts": "^0.29.0",
"cdk-build-tools": "^0.30.0",
"cdk-integ-tools": "^0.30.0",
"cfn2ts": "^0.30.0",
"nock": "^10.0.6",
"pkglint": "^0.29.0",
"pkglint": "^0.30.0",
"sinon": "^7.3.1"
},
"dependencies": {
"@aws-cdk/assets": "^0.29.0",
"@aws-cdk/aws-cloudwatch": "^0.29.0",
"@aws-cdk/aws-ec2": "^0.29.0",
"@aws-cdk/aws-events": "^0.29.0",
"@aws-cdk/aws-iam": "^0.29.0",
"@aws-cdk/aws-logs": "^0.29.0",
"@aws-cdk/aws-s3": "^0.29.0",
"@aws-cdk/aws-s3-notifications": "^0.29.0",
"@aws-cdk/aws-sqs": "^0.29.0",
"@aws-cdk/aws-stepfunctions": "^0.29.0",
"@aws-cdk/cdk": "^0.29.0",
"@aws-cdk/cx-api": "^0.29.0"
"@aws-cdk/assets": "^0.30.0",
"@aws-cdk/aws-cloudwatch": "^0.30.0",
"@aws-cdk/aws-ec2": "^0.30.0",
"@aws-cdk/aws-events": "^0.30.0",
"@aws-cdk/aws-iam": "^0.30.0",
"@aws-cdk/aws-logs": "^0.30.0",
"@aws-cdk/aws-s3": "^0.30.0",
"@aws-cdk/aws-s3-notifications": "^0.30.0",
"@aws-cdk/aws-sqs": "^0.30.0",
"@aws-cdk/aws-stepfunctions": "^0.30.0",
"@aws-cdk/cdk": "^0.30.0",
"@aws-cdk/cx-api": "^0.30.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/assets": "^0.29.0",
"@aws-cdk/aws-cloudwatch": "^0.29.0",
"@aws-cdk/aws-ec2": "^0.29.0",
"@aws-cdk/aws-events": "^0.29.0",
"@aws-cdk/aws-iam": "^0.29.0",
"@aws-cdk/aws-logs": "^0.29.0",
"@aws-cdk/aws-s3": "^0.29.0",
"@aws-cdk/aws-s3-notifications": "^0.29.0",
"@aws-cdk/aws-sqs": "^0.29.0",
"@aws-cdk/aws-stepfunctions": "^0.29.0",
"@aws-cdk/cdk": "^0.29.0",
"@aws-cdk/cx-api": "^0.29.0"
"@aws-cdk/assets": "^0.30.0",
"@aws-cdk/aws-cloudwatch": "^0.30.0",
"@aws-cdk/aws-ec2": "^0.30.0",
"@aws-cdk/aws-events": "^0.30.0",
"@aws-cdk/aws-iam": "^0.30.0",
"@aws-cdk/aws-logs": "^0.30.0",
"@aws-cdk/aws-s3": "^0.30.0",
"@aws-cdk/aws-s3-notifications": "^0.30.0",
"@aws-cdk/aws-sqs": "^0.30.0",
"@aws-cdk/aws-stepfunctions": "^0.30.0",
"@aws-cdk/cdk": "^0.30.0",
"@aws-cdk/cx-api": "^0.30.0"
},

@@ -115,5 +115,6 @@ "engines": {

"exclude": [
"grant-result:@aws-cdk/aws-lambda.LayerVersionBase.grantUsage"
"construct-base-is-private:@aws-cdk/aws-lambda.FunctionBase",
"grant-result:@aws-cdk/aws-lambda.LayerVersion.grantUsage"
]
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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