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

@aws-cdk/aws-kinesis

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

Comparing version 0.22.0 to 0.23.0

4

lib/kinesis.generated.js

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2019-01-11T09:50:18.300Z","fingerprint":"ZMH71mZfRomxZVWGKTqPe+MhMShjeiXRvaJ1XXQkHgA="}
// @cfn2ts:meta@ {"generated":"2019-02-04T14:43:05.403Z","fingerprint":"c4uuD9qfqSq1FIeInzmxGfhozO498jSsUD3d3bmSZbY="}
Object.defineProperty(exports, "__esModule", { value: true });

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

exports.CfnStreamConsumer = CfnStreamConsumer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2luZXNpcy5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJraW5lc2lzLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBaUNyQzs7Ozs7O0dBTUc7QUFDSCxTQUFTLHVCQUF1QixDQUFDLFVBQWU7SUFDNUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7UUFBRSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQztLQUFFO0lBQ25FLE1BQU0sTUFBTSxHQUFHLElBQUksR0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5hbWUgPSB0aGlzLmdldEF0dCgnQ29uc3VtZXJOYW1lJykudG9TdHJpbmcoKTtcbiAgICAgICAgdGhpcy5zdHJlYW1Db25zdW1lckNvbnN1bWVyU3RhdHVzID0gdGhpcy5nZXRBdHQoJ0NvbnN1bWVyU3RhdHVzJykudG9TdHJpbmcoKTtcbiAgICAgICAgdGhpcy5zdHJlYW1Db25zdW1lclN0cmVhbUFybiA9IHRoaXMuZ2V0QXR0KCdTdHJlYW1BUk4nKS50b1N0cmluZygpO1xuICAgICAgICB0aGlzLnN0cmVhbUNvbnN1bWVyQXJuID0gdGhpcy5yZWYudG9TdHJpbmcoKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IHByb3BlcnR5T3ZlcnJpZGVzKCk6IENmblN0cmVhbUNvbnN1bWVyUHJvcHMge1xuICAgICAgICByZXR1cm4gdGhpcy51bnR5cGVkUHJvcGVydHlPdmVycmlkZXM7XG4gICAgfVxuICAgIHByb3RlY3RlZCByZW5kZXJQcm9wZXJ0aWVzKHByb3BlcnRpZXM6IGFueSk6IHsgW2tleTogc3RyaW5nXTogYW55IH0gIHtcbiAgICAgICAgcmV0dXJuIGNmblN0cmVhbUNvbnN1bWVyUHJvcHNUb0Nsb3VkRm9ybWF0aW9uKHRoaXMubm9kZS5yZXNvbHZlKHByb3BlcnRpZXMpKTtcbiAgICB9XG59XG4iXX0=
{
"name": "@aws-cdk/aws-kinesis",
"version": "0.22.0",
"version": "0.23.0",
"description": "CDK Constructs for AWS Kinesis",

@@ -56,19 +56,19 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"cfn2ts": "^0.22.0",
"pkglint": "^0.22.0"
"@aws-cdk/assert": "^0.23.0",
"cdk-build-tools": "^0.23.0",
"cfn2ts": "^0.23.0",
"pkglint": "^0.23.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-kms": "^0.22.0",
"@aws-cdk/aws-logs": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0"
"@aws-cdk/aws-iam": "^0.23.0",
"@aws-cdk/aws-kms": "^0.23.0",
"@aws-cdk/aws-logs": "^0.23.0",
"@aws-cdk/cdk": "^0.23.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-kms": "^0.22.0",
"@aws-cdk/aws-logs": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0"
"@aws-cdk/aws-iam": "^0.23.0",
"@aws-cdk/aws-kms": "^0.23.0",
"@aws-cdk/aws-logs": "^0.23.0",
"@aws-cdk/cdk": "^0.23.0"
},

@@ -75,0 +75,0 @@ "engines": {

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