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

@aws-cdk/aws-directoryservice

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

Comparing version 0.11.0 to 0.12.0

4

lib/directoryservice.generated.js

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2018-10-11T17:49:55.956Z","fingerprint":"6KcBDJVHtycI0XI53Aayl+HTr/MG1WO6+1u8M19IFAY="}
// @cfn2ts:meta@ {"generated":"2018-10-12T09:42:17.667Z","fingerprint":"6KcBDJVHtycI0XI53Aayl+HTr/MG1WO6+1u8M19IFAY="}
Object.defineProperty(exports, "__esModule", { value: true });

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

exports.SimpleADDnsIpAddresses = SimpleADDnsIpAddresses;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5c2VydmljZS5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaXJlY3RvcnlzZXJ2aWNlLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0FxTDlCO0FBckxELFdBQWlCLGNBQWM7SUEwQzNCOzs7Ozs7T0FNRztJQUNILFNBQVMsaUNBQWlDLENBQUMsVUFBZTtRQUN0RCxJQUFJLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBRT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aW9uIHByb3BlcnRpZXMgb2YgYW4gYGBBV1M6OkRpcmVjdG9yeVNlcnZpY2U6OlNpbXBsZUFELlZwY1NldHRpbmdzYGAgcmVzb3VyY2UuXG4gICAgICovXG4gICAgZnVuY3Rpb24gc2ltcGxlQURSZXNvdXJjZVZwY1NldHRpbmdzUHJvcGVydHlUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXM6IGFueSk6IGFueSB7XG4gICAgICAgIGlmICghY2RrLmNhbkluc3BlY3QocHJvcGVydGllcykpIHsgcmV0dXJuIHByb3BlcnRpZXM7IH1cbiAgICAgICAgU2ltcGxlQURSZXNvdXJjZV9WcGNTZXR0aW5nc1Byb3BlcnR5VmFsaWRhdG9yKHByb3BlcnRpZXMpLmFzc2VydFN1Y2Nlc3MoKTtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBTdWJuZXRJZHM6IGNkay5saXN0TWFwcGVyKGNkay5zdHJpbmdUb0Nsb3VkRm9ybWF0aW9uKShwcm9wZXJ0aWVzLnN1Ym5ldElkcyksXG4gICAgICAgICAgVnBjSWQ6IGNkay5zdHJpbmdUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXMudnBjSWQpLFxuICAgICAgICB9O1xuICAgIH1cbn1cblxuZXhwb3J0IGNsYXNzIFNpbXBsZUFERG5zSXBBZGRyZXNzZXMgZXh0ZW5kcyBjZGsuVG9rZW4ge1xuICAgIC8vIEB0cy1pZ25vcmU6IHByaXZhdGUgYnV0IHVudXNlZCBvbiBwdXJwb3NlLlxuICAgIHByaXZhdGUgcmVhZG9ubHkgdGhpc0lzQVNpbXBsZUFERG5zSXBBZGRyZXNzZXMgPSB0cnVlO1xufVxuIl19
{
"name": "@aws-cdk/aws-directoryservice",
"version": "0.11.0",
"version": "0.12.0",
"description": "The CDK Construct Library for AWS::DirectoryService",

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

"devDependencies": {
"@aws-cdk/assert": "^0.11.0",
"cdk-build-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/cdk": "^0.12.0"
},
"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