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

@aws-cdk/aws-cloudformation

Package Overview
Dependencies
Maintainers
4
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.9.0 to 0.9.1

4

lib/cloudformation.generated.js

@@ -5,3 +5,3 @@ "use strict";

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2018-09-11T09:48:39.117Z","fingerprint":"uuyyV/iDjs+NZHNmtnUzZswkN/HCZbcTdKXuRGFZFzk="}
// @cfn2ts:meta@ {"generated":"2018-09-14T09:08:57.137Z","fingerprint":"PMV0bjhJmtRzv6ZVwQPrNtJh8e+nZnj6kuLlHZZW3Io="}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -257,2 +257,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control

exports.WaitConditionHandleUrl = WaitConditionHandleUrl;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xvdWRmb3JtYXRpb24uZ2VuZXJhdGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrRUFBK0U7QUFDL0UsK0RBQStEO0FBQy9ELDhGQUE4RjtBQUM5RixzSEFBc0g7O0FBRXRILGtHQUFrRztBQUVsRyxvQ0FBcUM7QUFFckMsSUFBaUIsY0FBYyxDQW1FOUI7QUFuRUQsV0FBaUIsY0FBYztJQVkzQjs7Ozs7O09BTUc7SUFDSCxTQUFTLDRCQUE0QixDQUFDLFVBQWU7UUFDakQsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7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c3VwZXIocGFyZW50LCBuYW1lLCB7IHR5cGU6IFdhaXRDb25kaXRpb25IYW5kbGVSZXNvdXJjZS5yZXNvdXJjZVR5cGVOYW1lIH0pO1xuICAgICAgICAgICAgdGhpcy5yZWYgPSBuZXcgV2FpdENvbmRpdGlvbkhhbmRsZVVybCh7IFJlZjogdGhpcy5sb2dpY2FsSWQgfSwgYCR7dGhpcy5sb2dpY2FsSWR9LlJlZmApO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgV2FpdENvbmRpdGlvbkhhbmRsZVVybCBleHRlbmRzIGNkay5DbG91ZEZvcm1hdGlvblRva2VuIHtcbiAgICAvLyBAdHMtaWdub3JlOiBwcml2YXRlIGJ1dCB1bnVzZWQgb24gcHVycG9zZS5cbiAgICBwcml2YXRlIHJlYWRvbmx5IHRoaXNJc0FXYWl0Q29uZGl0aW9uSGFuZGxlVXJsID0gdHJ1ZTtcbn1cbiJdfQ==
{
"name": "@aws-cdk/aws-cloudformation",
"version": "0.9.0",
"version": "0.9.1",
"description": "CDK Constructs for AWS CloudFormation",

@@ -59,16 +59,16 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.9.0",
"cdk-build-tools": "^0.9.0",
"cdk-integ-tools": "^0.9.0",
"cfn2ts": "^0.9.0",
"pkglint": "^0.9.0"
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cdk-integ-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
},
"dependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.9.0",
"@aws-cdk/aws-iam": "^0.9.0",
"@aws-cdk/aws-lambda": "^0.9.0",
"@aws-cdk/aws-sns": "^0.9.0",
"@aws-cdk/cdk": "^0.9.0"
"@aws-cdk/aws-codepipeline-api": "^0.9.1",
"@aws-cdk/aws-iam": "^0.9.1",
"@aws-cdk/aws-lambda": "^0.9.1",
"@aws-cdk/aws-sns": "^0.9.1",
"@aws-cdk/cdk": "^0.9.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}

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