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

@aws-cdk/aws-ecr

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-ecr - npm Package Compare versions

Comparing version 0.15.2 to 0.16.0

4

lib/ecr.generated.js

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2018-11-08T12:53:51.654Z","fingerprint":"bQB/dvZN9s4e94++RjyzjWwWqGWIJAnzT9cV2bmES0E="}
// @cfn2ts:meta@ {"generated":"2018-11-12T19:42:00.017Z","fingerprint":"bQB/dvZN9s4e94++RjyzjWwWqGWIJAnzT9cV2bmES0E="}
Object.defineProperty(exports, "__esModule", { value: true });

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

})(cloudformation = exports.cloudformation || (exports.cloudformation = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNyLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVjci5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTtBQUMvRSwrREFBK0Q7QUFDL0QsOEZBQThGO0FBQzlGLHNIQUFzSDs7QUFFdEgsa0dBQWtHO0FBRWxHLG9DQUFxQztBQUVyQyxJQUFpQixjQUFjLENBMkk5QjtBQTNJRCxXQUFpQixjQUFjO0lBc0IzQjs7Ozs7O09BTUc7SUFDSCxTQUFTLGdDQUFnQyxDQUFDLFVBQWU7UUFDckQsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7WUFBRSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsQ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FQ1I6OlJlcG9zaXRvcnkuTGlmZWN5Y2xlUG9saWN5YGAgcmVzb3VyY2UuXG4gICAgICovXG4gICAgZnVuY3Rpb24gcmVwb3NpdG9yeVJlc291cmNlTGlmZWN5Y2xlUG9saWN5UHJvcGVydHlUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXM6IGFueSk6IGFueSB7XG4gICAgICAgIGlmICghY2RrLmNhbkluc3BlY3QocHJvcGVydGllcykpIHsgcmV0dXJuIHByb3BlcnRpZXM7IH1cbiAgICAgICAgUmVwb3NpdG9yeVJlc291cmNlX0xpZmVjeWNsZVBvbGljeVByb3BlcnR5VmFsaWRhdG9yKHByb3BlcnRpZXMpLmFzc2VydFN1Y2Nlc3MoKTtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBMaWZlY3ljbGVQb2xpY3lUZXh0OiBjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzLmxpZmVjeWNsZVBvbGljeVRleHQpLFxuICAgICAgICAgIFJlZ2lzdHJ5SWQ6IGNkay5zdHJpbmdUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXMucmVnaXN0cnlJZCksXG4gICAgICAgIH07XG4gICAgfVxufVxuIl19
{
"name": "@aws-cdk/aws-ecr",
"version": "0.15.2",
"version": "0.16.0",
"description": "The CDK Construct Library for AWS::ECR",

@@ -55,17 +55,17 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.15.2",
"cdk-build-tools": "^0.15.2",
"cdk-integ-tools": "^0.15.2",
"cfn2ts": "^0.15.2",
"pkglint": "^0.15.2"
"@aws-cdk/assert": "^0.16.0",
"cdk-build-tools": "^0.16.0",
"cdk-integ-tools": "^0.16.0",
"cfn2ts": "^0.16.0",
"pkglint": "^0.16.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.15.2",
"@aws-cdk/cdk": "^0.15.2"
"@aws-cdk/aws-iam": "^0.16.0",
"@aws-cdk/cdk": "^0.16.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.15.1",
"@aws-cdk/cdk": "^0.15.1"
"@aws-cdk/aws-iam": "^0.16.0",
"@aws-cdk/cdk": "^0.16.0"
}
}
}

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