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
5
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.24.1 to 0.25.0

8

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":"2019-02-07T16:46:37.028Z","fingerprint":"zRJiomqAM4X34Zl7JbkSMw1jEBPSboXKp/J+8rAzNAE="}
// @cfn2ts:meta@ {"generated":"2019-02-28T09:52:33.295Z","fingerprint":"BU4O1HiehIdfalyHsK1usDShmUBMCVeYaVmxrbA5CiI="}
Object.defineProperty(exports, "__esModule", { value: true });

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

*/
// @ts-ignore TS6133
function cfnMicrosoftADPropsToCloudFormation(properties) {

@@ -114,2 +115,3 @@ if (!cdk.canInspect(properties)) {

*/
// @ts-ignore TS6133
function cfnMicrosoftADVpcSettingsPropertyToCloudFormation(properties) {

@@ -158,2 +160,3 @@ if (!cdk.canInspect(properties)) {

*/
// @ts-ignore TS6133
function cfnSimpleADPropsToCloudFormation(properties) {

@@ -233,2 +236,3 @@ if (!cdk.canInspect(properties)) {

*/
// @ts-ignore TS6133
function cfnSimpleADVpcSettingsPropertyToCloudFormation(properties) {

@@ -244,2 +248,2 @@ if (!cdk.canInspect(properties)) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5c2VydmljZS5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaXJlY3RvcnlzZXJ2aWNlLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcH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o6U2ltcGxlQUQuVnBjU2V0dGluZ3NgYCByZXNvdXJjZS5cbiAqL1xuLy8gQHRzLWlnbm9yZSBUUzYxMzNcbmZ1bmN0aW9uIGNmblNpbXBsZUFEVnBjU2V0dGluZ3NQcm9wZXJ0eVRvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllczogYW55KTogYW55IHtcbiAgICBpZiAoIWNkay5jYW5JbnNwZWN0KHByb3BlcnRpZXMpKSB7IHJldHVybiBwcm9wZXJ0aWVzOyB9XG4gICAgQ2ZuU2ltcGxlQURfVnBjU2V0dGluZ3NQcm9wZXJ0eVZhbGlkYXRvcihwcm9wZXJ0aWVzKS5hc3NlcnRTdWNjZXNzKCk7XG4gICAgcmV0dXJuIHtcbiAgICAgIFN1Ym5ldElkczogY2RrLmxpc3RNYXBwZXIoY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24pKHByb3BlcnRpZXMuc3VibmV0SWRzKSxcbiAgICAgIFZwY0lkOiBjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzLnZwY0lkKSxcbiAgICB9O1xufVxuIl19
{
"name": "@aws-cdk/aws-directoryservice",
"version": "0.24.1",
"version": "0.25.0",
"description": "The CDK Construct Library for AWS::DirectoryService",

@@ -57,13 +57,13 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.24.1",
"cdk-build-tools": "^0.24.1",
"cfn2ts": "^0.24.1",
"pkglint": "^0.24.1"
"@aws-cdk/assert": "^0.25.0",
"cdk-build-tools": "^0.25.0",
"cfn2ts": "^0.25.0",
"pkglint": "^0.25.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.24.1"
"@aws-cdk/cdk": "^0.25.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.24.1"
"@aws-cdk/cdk": "^0.25.0"
},

@@ -73,2 +73,2 @@ "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