@aws-cdk/aws-cloudformation
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-05-02T09:58:03.841Z","fingerprint":"QR7jsi14lVQVONWzcrO269cxZE1vwmsTRyhNRvzZAX4="} | ||
// @cfn2ts:meta@ {"generated":"2019-05-06T20:40:40.983Z","fingerprint":"+5mgwZQIz6IWQknWqJTtMx0jOcvEJ0MQKXVVnS6ML/A="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -312,2 +312,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
exports.CfnWaitConditionHandle = CfnWaitConditionHandle; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrRUFBK0U7QUFDL0UsK0RBQStEO0FBQy9ELDhGQUE4RjtBQUM5RixzSEFBc0g7O0FBRXRILGtHQUFrRztBQUVsRyxvQ0FBcUM7QUFjckM7Ozs7OztHQU1HO0FBQ0gsU0FBUywrQkFBK0IsQ0FBQyxVQUFlO0lBQ3BELElBQUksQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQyxFQUFFO1FBQUUsT0FBTyxHQUFHLENBQUMsa0JBQWtCLENBQUM7S0FBRTtJQUNuRSxNQUFNLE1BQU0sR0FBRyxJQUFJLEdBQUcsQ0FBQyxpQkFBaUIsRUFBRSxDQUFDO0lBQzNDLE1BQU0sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLGNBQWMsRUFBRSxH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B9XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-cloudformation", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "CDK Constructs for AWS CloudFormation", | ||
@@ -23,3 +23,2 @@ "main": "lib/index.js", | ||
}, | ||
"sphinx": {}, | ||
"python": { | ||
@@ -63,21 +62,21 @@ "distName": "aws-cdk.aws-cloudformation", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.30.0", | ||
"@aws-cdk/aws-events": "^0.30.0", | ||
"cdk-build-tools": "^0.30.0", | ||
"cdk-integ-tools": "^0.30.0", | ||
"cfn2ts": "^0.30.0", | ||
"pkglint": "^0.30.0" | ||
"@aws-cdk/assert": "^0.31.0", | ||
"@aws-cdk/aws-events": "^0.31.0", | ||
"cdk-build-tools": "^0.31.0", | ||
"cdk-integ-tools": "^0.31.0", | ||
"cfn2ts": "^0.31.0", | ||
"pkglint": "^0.31.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-lambda": "^0.30.0", | ||
"@aws-cdk/aws-sns": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/aws-lambda": "^0.31.0", | ||
"@aws-cdk/aws-sns": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-lambda": "^0.30.0", | ||
"@aws-cdk/aws-sns": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/aws-lambda": "^0.31.0", | ||
"@aws-cdk/aws-sns": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0" | ||
}, | ||
@@ -84,0 +83,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
177667
+ Added@aws-cdk/assets@0.31.0(transitive)
+ Added@aws-cdk/aws-autoscaling-api@0.31.0(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.31.0(transitive)
+ Added@aws-cdk/aws-ec2@0.31.0(transitive)
+ Added@aws-cdk/aws-events@0.31.0(transitive)
+ Added@aws-cdk/aws-iam@0.31.0(transitive)
+ Added@aws-cdk/aws-kms@0.31.0(transitive)
+ Added@aws-cdk/aws-lambda@0.31.0(transitive)
+ Added@aws-cdk/aws-logs@0.31.0(transitive)
+ Added@aws-cdk/aws-s3@0.31.0(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.31.0(transitive)
+ Added@aws-cdk/aws-sns@0.31.0(transitive)
+ Added@aws-cdk/aws-sqs@0.31.0(transitive)
+ Added@aws-cdk/aws-stepfunctions@0.31.0(transitive)
+ Added@aws-cdk/cdk@0.31.0(transitive)
+ Added@aws-cdk/cx-api@0.31.0(transitive)
+ Added@aws-cdk/region-info@0.31.0(transitive)
- Removed@aws-cdk/assets@0.30.0(transitive)
- Removed@aws-cdk/aws-autoscaling-api@0.30.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.30.0(transitive)
- Removed@aws-cdk/aws-ec2@0.30.0(transitive)
- Removed@aws-cdk/aws-events@0.30.0(transitive)
- Removed@aws-cdk/aws-iam@0.30.0(transitive)
- Removed@aws-cdk/aws-kms@0.30.0(transitive)
- Removed@aws-cdk/aws-lambda@0.30.0(transitive)
- Removed@aws-cdk/aws-logs@0.30.0(transitive)
- Removed@aws-cdk/aws-s3@0.30.0(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.30.0(transitive)
- Removed@aws-cdk/aws-sns@0.30.0(transitive)
- Removed@aws-cdk/aws-sqs@0.30.0(transitive)
- Removed@aws-cdk/aws-stepfunctions@0.30.0(transitive)
- Removed@aws-cdk/cdk@0.30.0(transitive)
- Removed@aws-cdk/cx-api@0.30.0(transitive)
- Removed@aws-cdk/region-info@0.30.0(transitive)
Updated@aws-cdk/aws-iam@^0.31.0
Updated@aws-cdk/aws-lambda@^0.31.0
Updated@aws-cdk/aws-sns@^0.31.0
Updated@aws-cdk/cdk@^0.31.0