@aws-cdk/aws-cloudformation
Advanced tools
Comparing version 0.25.1 to 0.25.2
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-03-04T23:59:55.876Z","fingerprint":"tpvXyczLve0HJR+6m9zveweA1WcpqhubiGxBX8jlaDU="} | ||
// @cfn2ts:meta@ {"generated":"2019-03-07T22:05:36.926Z","fingerprint":"7a8EVeEa043hkCrjRdTEK3uEK7VqEnxCzbop4/LDMI8="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -304,2 +304,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
exports.CfnWaitConditionHandle = CfnWaitConditionHandle; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrRUFBK0U7QUFDL0UsK0RBQStEO0FBQy9ELDhGQUE4RjtBQUM5RixzSEFBc0g7O0FBRXRILGtHQUFrRztBQUVsRyxvQ0FBcUM7QUFhckM7Ozs7OztHQU1HO0FBQ0gsU0FBUywrQkFBK0IsQ0FBQyxVQUFlO0lBQ3BELElBQUksQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQyxFQUFFO1FBQUUsT0FBTyxHQUFHLENBQUMsa0JBQWtCLENBQUM7S0FBRTtJQUNuRSxNQUFNLE1BQU0sR0FBRyxJQUFJLEdBQUcsQ0FBQyxpQkFBaUIsRUFBRSxDQUFDO0lBQzNDLE1BQU0sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLGNBQWMsRUFBRSxHQUFH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G9yKHNjb3BlOiBjZGsuQ29uc3RydWN0LCBpZDogc3RyaW5nKSB7XG4gICAgICAgIHN1cGVyKHNjb3BlLCBpZCwgeyB0eXBlOiBDZm5XYWl0Q29uZGl0aW9uSGFuZGxlLnJlc291cmNlVHlwZU5hbWUgfSk7XG4gICAgICAgIHRoaXMud2FpdENvbmRpdGlvbkhhbmRsZVVybCA9IHRoaXMucmVmLnRvU3RyaW5nKCk7XG4gICAgfVxufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-cloudformation", | ||
"version": "0.25.1", | ||
"version": "0.25.2", | ||
"description": "CDK Constructs for AWS CloudFormation", | ||
@@ -62,25 +62,25 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.25.1", | ||
"@aws-cdk/aws-events": "^0.25.1", | ||
"@aws-cdk/assert": "^0.25.2", | ||
"@aws-cdk/aws-events": "^0.25.2", | ||
"@types/lodash": "^4.14.118", | ||
"cdk-build-tools": "^0.25.1", | ||
"cdk-integ-tools": "^0.25.1", | ||
"cfn2ts": "^0.25.1", | ||
"cdk-build-tools": "^0.25.2", | ||
"cdk-integ-tools": "^0.25.2", | ||
"cfn2ts": "^0.25.2", | ||
"lodash": "^4.17.11", | ||
"pkglint": "^0.25.1" | ||
"pkglint": "^0.25.2" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-codepipeline-api": "^0.25.1", | ||
"@aws-cdk/aws-iam": "^0.25.1", | ||
"@aws-cdk/aws-lambda": "^0.25.1", | ||
"@aws-cdk/aws-sns": "^0.25.1", | ||
"@aws-cdk/cdk": "^0.25.1" | ||
"@aws-cdk/aws-codepipeline-api": "^0.25.2", | ||
"@aws-cdk/aws-iam": "^0.25.2", | ||
"@aws-cdk/aws-lambda": "^0.25.2", | ||
"@aws-cdk/aws-sns": "^0.25.2", | ||
"@aws-cdk/cdk": "^0.25.2" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-codepipeline-api": "^0.25.1", | ||
"@aws-cdk/aws-iam": "^0.25.1", | ||
"@aws-cdk/aws-lambda": "^0.25.1", | ||
"@aws-cdk/aws-sns": "^0.25.1", | ||
"@aws-cdk/cdk": "^0.25.1" | ||
"@aws-cdk/aws-codepipeline-api": "^0.25.2", | ||
"@aws-cdk/aws-iam": "^0.25.2", | ||
"@aws-cdk/aws-lambda": "^0.25.2", | ||
"@aws-cdk/aws-sns": "^0.25.2", | ||
"@aws-cdk/cdk": "^0.25.2" | ||
}, | ||
@@ -87,0 +87,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
665775
22
1893
Updated@aws-cdk/aws-iam@^0.25.2
Updated@aws-cdk/aws-lambda@^0.25.2
Updated@aws-cdk/aws-sns@^0.25.2
Updated@aws-cdk/cdk@^0.25.2