@aws-cdk/aws-codecommit
Advanced tools
Comparing version 0.8.2 to 0.9.0
@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
repositoryName: string | cdk.Token; | ||
repositoryName: string | cdk.CloudFormationToken; | ||
/** | ||
@@ -17,3 +17,3 @@ * ``AWS::CodeCommit::Repository.RepositoryDescription`` | ||
*/ | ||
repositoryDescription?: string | cdk.Token; | ||
repositoryDescription?: string | cdk.CloudFormationToken; | ||
/** | ||
@@ -23,3 +23,3 @@ * ``AWS::CodeCommit::Repository.Triggers`` | ||
*/ | ||
triggers?: Array<RepositoryResource.RepositoryTriggerProperty | cdk.Token> | cdk.Token; | ||
triggers?: Array<RepositoryResource.RepositoryTriggerProperty | cdk.CloudFormationToken> | cdk.CloudFormationToken; | ||
} | ||
@@ -50,2 +50,3 @@ /** | ||
readonly repositoryName: RepositoryName; | ||
readonly ref: RepositoryId; | ||
/** | ||
@@ -72,3 +73,3 @@ * Creates a new ``AWS::CodeCommit::Repository``. | ||
*/ | ||
branches?: Array<string | cdk.Token> | cdk.Token; | ||
branches?: Array<string | cdk.CloudFormationToken> | cdk.CloudFormationToken; | ||
/** | ||
@@ -78,3 +79,3 @@ * ``RepositoryResource.RepositoryTriggerProperty.CustomData`` | ||
*/ | ||
customData?: string | cdk.Token; | ||
customData?: string | cdk.CloudFormationToken; | ||
/** | ||
@@ -84,3 +85,3 @@ * ``RepositoryResource.RepositoryTriggerProperty.DestinationArn`` | ||
*/ | ||
destinationArn?: string | cdk.Token; | ||
destinationArn?: string | cdk.CloudFormationToken; | ||
/** | ||
@@ -90,3 +91,3 @@ * ``RepositoryResource.RepositoryTriggerProperty.Events`` | ||
*/ | ||
events?: Array<string | cdk.Token> | cdk.Token; | ||
events?: Array<string | cdk.CloudFormationToken> | cdk.CloudFormationToken; | ||
/** | ||
@@ -96,3 +97,3 @@ * ``RepositoryResource.RepositoryTriggerProperty.Name`` | ||
*/ | ||
name?: string | cdk.Token; | ||
name?: string | cdk.CloudFormationToken; | ||
} | ||
@@ -102,8 +103,15 @@ } | ||
export declare class RepositoryArn extends cdk.Arn { | ||
private readonly thisIsARepositoryArn; | ||
} | ||
export declare class RepositoryCloneUrlHttp extends cdk.Token { | ||
export declare class RepositoryCloneUrlHttp extends cdk.CloudFormationToken { | ||
private readonly thisIsARepositoryCloneUrlHttp; | ||
} | ||
export declare class RepositoryCloneUrlSsh extends cdk.Token { | ||
export declare class RepositoryCloneUrlSsh extends cdk.CloudFormationToken { | ||
private readonly thisIsARepositoryCloneUrlSsh; | ||
} | ||
export declare class RepositoryName extends cdk.Token { | ||
export declare class RepositoryName extends cdk.CloudFormationToken { | ||
private readonly thisIsARepositoryName; | ||
} | ||
export declare class RepositoryId extends cdk.CloudFormationToken { | ||
private readonly thisIsARepositoryId; | ||
} |
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2018-08-15T13:38:11.547Z","fingerprint":"Bwjkqshi5caAmiYWB8fKvFD/MT1p4tm+ApaKHxg2DZ4="} | ||
// @cfn2ts:meta@ {"generated":"2018-09-11T09:48:39.107Z","fingerprint":"NkDte86wIZR/da6kVirQeBv0ti6rjTo0zPdZfggflm4="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -66,2 +66,3 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
this.repositoryName = new RepositoryName(this.getAtt('Name')); | ||
this.ref = new RepositoryId({ Ref: this.logicalId }, `${this.logicalId}.Ref`); | ||
} | ||
@@ -118,13 +119,41 @@ renderProperties() { | ||
class RepositoryArn extends cdk.Arn { | ||
constructor() { | ||
super(...arguments); | ||
// @ts-ignore: private but unused on purpose. | ||
this.thisIsARepositoryArn = true; | ||
} | ||
} | ||
exports.RepositoryArn = RepositoryArn; | ||
class RepositoryCloneUrlHttp extends cdk.Token { | ||
class RepositoryCloneUrlHttp extends cdk.CloudFormationToken { | ||
constructor() { | ||
super(...arguments); | ||
// @ts-ignore: private but unused on purpose. | ||
this.thisIsARepositoryCloneUrlHttp = true; | ||
} | ||
} | ||
exports.RepositoryCloneUrlHttp = RepositoryCloneUrlHttp; | ||
class RepositoryCloneUrlSsh extends cdk.Token { | ||
class RepositoryCloneUrlSsh extends cdk.CloudFormationToken { | ||
constructor() { | ||
super(...arguments); | ||
// @ts-ignore: private but unused on purpose. | ||
this.thisIsARepositoryCloneUrlSsh = true; | ||
} | ||
} | ||
exports.RepositoryCloneUrlSsh = RepositoryCloneUrlSsh; | ||
class RepositoryName extends cdk.Token { | ||
class RepositoryName extends cdk.CloudFormationToken { | ||
constructor() { | ||
super(...arguments); | ||
// @ts-ignore: private but unused on purpose. | ||
this.thisIsARepositoryName = true; | ||
} | ||
} | ||
exports.RepositoryName = RepositoryName; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZWNvbW1pdC5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb2RlY29tbWl0LmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0E0SzlCO0FBNUtELFdBQWlCLGNBQWM7SUFzQjNCOzs7Ozs7T0FNRztJQUNILFNBQVMsZ0NBQWdDLENBQUMsVUFBZTtRQUNyRCxJQUFJLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUFFLE9BQU8sR0FBRyxDQUFDLGtCQUFrQixDQUFDO1NBQUU7UUFDbkUsTUFBTSxNQUFNLEdBQUcsSUFBSSxHQUFHLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztRQUMz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yxLQUFkLHNCQUFjLFFBNEs5QjtBQUVELE1BQWEsYUFBYyxTQUFRLEdBQUcsQ0FBQyxHQUFHO0NBQ3pDO0FBREQsc0NBQ0M7QUFFRCxNQUFhLHNCQUF1QixTQUFRLEdBQUcsQ0FBQyxLQUFLO0NBQ3BEO0FBREQsd0RBQ0M7QUFFRCxNQUFhLHFCQUFzQixTQUFRLEdBQUcsQ0FBQyxLQUFLO0NBQ25EO0FBREQsc0RBQ0M7QUFFRCxNQUFhLGNBQWUsU0FBUSxHQUFHLENBQUMsS0FBSztDQUM1QztBQURELHdDQUNDIn0= | ||
class RepositoryId extends cdk.CloudFormationToken { | ||
constructor() { | ||
super(...arguments); | ||
// @ts-ignore: private but unused on purpose. | ||
this.thisIsARepositoryId = true; | ||
} | ||
} | ||
exports.RepositoryId = RepositoryId; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZWNvbW1pdC5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb2RlY29tbWl0LmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0FpTDlCO0FBakxELFdBQWlCLGNBQWM7SUFzQjNCOzs7Ozs7T0FNRztJQUNILFNBQVMsZ0NBQWdDLENBQUMsVUFBZTtRQUNyRCxJQUFJLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUFFLE9BQU8sR0FBRyxDQUFDLGtCQUFrQixDQUFDO1NBQUU7UUFDbkUsTUFBTSxNQUFNLEdBQUcsSUFBSSxHQUFHLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztRQUMzQyxNQUFNLENBQUMs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pdG9yeUNsb25lVXJsU3NoIGV4dGVuZHMgY2RrLkNsb3VkRm9ybWF0aW9uVG9rZW4ge1xuICAgIC8vIEB0cy1pZ25vcmU6IHByaXZhdGUgYnV0IHVudXNlZCBvbiBwdXJwb3NlLlxuICAgIHByaXZhdGUgcmVhZG9ubHkgdGhpc0lzQVJlcG9zaXRvcnlDbG9uZVVybFNzaCA9IHRydWU7XG59XG5cbmV4cG9ydCBjbGFzcyBSZXBvc2l0b3J5TmFtZSBleHRlbmRzIGNkay5DbG91ZEZvcm1hdGlvblRva2VuIHtcbiAgICAvLyBAdHMtaWdub3JlOiBwcml2YXRlIGJ1dCB1bnVzZWQgb24gcHVycG9zZS5cbiAgICBwcml2YXRlIHJlYWRvbmx5IHRoaXNJc0FSZXBvc2l0b3J5TmFtZSA9IHRydWU7XG59XG5cbmV4cG9ydCBjbGFzcyBSZXBvc2l0b3J5SWQgZXh0ZW5kcyBjZGsuQ2xvdWRGb3JtYXRpb25Ub2tlbiB7XG4gICAgLy8gQHRzLWlnbm9yZTogcHJpdmF0ZSBidXQgdW51c2VkIG9uIHB1cnBvc2UuXG4gICAgcHJpdmF0ZSByZWFkb25seSB0aGlzSXNBUmVwb3NpdG9yeUlkID0gdHJ1ZTtcbn1cbiJdfQ== |
@@ -10,2 +10,2 @@ "use strict"; | ||
__export(require("./codecommit.generated")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHVDQUFrQztBQUNsQyxrQ0FBNkI7QUFFN0IsNENBQTRDO0FBQzVDLDRDQUF1QyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHVDQUFrQztBQUNsQyxrQ0FBNkI7QUFFN0IsNENBQTRDO0FBQzVDLDRDQUF1QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGlwZWxpbmUtYWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcmVwb3NpdG9yeSc7XG5cbi8vIEFXUzo6Q29kZUNvbW1pdCBDbG91ZEZvcm1hdGlvbiBSZXNvdXJjZXM6XG5leHBvcnQgKiBmcm9tICcuL2NvZGVjb21taXQuZ2VuZXJhdGVkJztcbiJdfQ== |
@@ -5,5 +5,7 @@ import codepipeline = require('@aws-cdk/aws-codepipeline-api'); | ||
/** | ||
* Construction properties of the {@link PipelineSource CodeCommit source CodePipeline Action}. | ||
* Common properties for creating {@link PipelineSource} - | ||
* either directly, through its constructor, | ||
* or through {@link RepositoryRef#addToPipeline}. | ||
*/ | ||
export interface PipelineSourceProps extends codepipeline.CommonActionProps { | ||
export interface CommonPipelineSourceProps { | ||
/** | ||
@@ -15,6 +17,2 @@ * The name of the source's output artifact. | ||
/** | ||
* The CodeCommit repository. | ||
*/ | ||
repository: RepositoryRef; | ||
/** | ||
* @default 'master' | ||
@@ -31,2 +29,11 @@ */ | ||
/** | ||
* Construction properties of the {@link PipelineSource CodeCommit source CodePipeline Action}. | ||
*/ | ||
export interface PipelineSourceProps extends CommonPipelineSourceProps, codepipeline.CommonActionProps { | ||
/** | ||
* The CodeCommit repository. | ||
*/ | ||
repository: RepositoryRef; | ||
} | ||
/** | ||
* CodePipeline Source that is provided by an AWS CodeCommit repository. | ||
@@ -33,0 +40,0 @@ */ |
@@ -34,2 +34,2 @@ "use strict"; | ||
exports.PipelineSource = PipelineSource; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZWxpbmUtYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicG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Sk7XG4gICAgfVxufVxuIl19 |
@@ -0,4 +1,6 @@ | ||
import actions = require('@aws-cdk/aws-codepipeline-api'); | ||
import events = require('@aws-cdk/aws-events'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import { RepositoryArn, RepositoryName } from './codecommit.generated'; | ||
import { CommonPipelineSourceProps, PipelineSource } from './pipeline-action'; | ||
/** | ||
@@ -45,2 +47,12 @@ * Properties for the {@link RepositoryRef.import} method. | ||
/** | ||
* Convenience method for creating a new {@link PipelineSource} Action, | ||
* and adding it to the given Stage. | ||
* | ||
* @param stage the Pipeline Stage to add the new Action to | ||
* @param name the name of the newly created Action | ||
* @param props the properties of the new Action | ||
* @returns the newly created {@link PipelineSource} Action | ||
*/ | ||
addToPipeline(stage: actions.IStage, name: string, props: CommonPipelineSourceProps): PipelineSource; | ||
/** | ||
* Defines a CloudWatch event rule which triggers for repository events. Use | ||
@@ -47,0 +59,0 @@ * `rule.addEventPattern(pattern)` to specify a filter. |
@@ -6,2 +6,3 @@ "use strict"; | ||
const codecommit_generated_1 = require("./codecommit.generated"); | ||
const pipeline_action_1 = require("./pipeline-action"); | ||
/** | ||
@@ -36,6 +37,18 @@ * Represents a reference to a CodeCommit Repository. | ||
return { | ||
repositoryName: new cdk.Output(this, 'RepositoryName', { value: this.repositoryName }).makeImportValue(), | ||
repositoryName: new codecommit_generated_1.RepositoryName(new cdk.Output(this, 'RepositoryName', { value: this.repositoryName }).makeImportValue()), | ||
}; | ||
} | ||
/** | ||
* Convenience method for creating a new {@link PipelineSource} Action, | ||
* and adding it to the given Stage. | ||
* | ||
* @param stage the Pipeline Stage to add the new Action to | ||
* @param name the name of the newly created Action | ||
* @param props the properties of the new Action | ||
* @returns the newly created {@link PipelineSource} Action | ||
*/ | ||
addToPipeline(stage, name, props) { | ||
return new pipeline_action_1.PipelineSource(this.parent, name, Object.assign({ stage, repository: this }, props)); | ||
} | ||
/** | ||
* Defines a CloudWatch event rule which triggers for repository events. Use | ||
@@ -132,6 +145,6 @@ * `rule.addEventPattern(pattern)` to specify a filter. | ||
super(parent, name); | ||
this.repositoryArn = cdk.Arn.fromComponents({ | ||
this.repositoryArn = new codecommit_generated_1.RepositoryArn(cdk.Arn.fromComponents({ | ||
service: 'codecommit', | ||
resource: props.repositoryName, | ||
}); | ||
})); | ||
this.repositoryName = props.repositoryName; | ||
@@ -205,2 +218,2 @@ } | ||
})(RepositoryEventTrigger = exports.RepositoryEventTrigger || (exports.RepositoryEventTrigger = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBK0M7QUFDL0Msb0NBQXFDO0FBQ3JDLGlFQUF1RjtBQWF2Rjs7Ozs7Ozs7R0FRRztBQUNILE1BQXNCLGFBQWMsU0FBUSxHQUFHLENBQUMsU0FBUztJQUNyRDs7Ozs7Ozs7T0FRRztJQUNJLE1BQU0sQ0FBQyxNQUFNLENBQUMsTUFBcUIsRUFBRSxJQUFZLEVBQUUsS0FBeUI7UUFDL0UsT0FBTyxJQUFJLHFCQUFxQixDQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDMUQsQ0FBQztJQVFEOzs7O09BSUc7SUFDSSxNQUFNO1FBQ1QsT0FBTztZQUNILGNBQWMsRUFBRSxJQUFJLEdBQUcsQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFLGdCQUFnQixFQUFFLEVBQUUsS0FBSyxFQUFFLElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQyxDQUFDLGVBQWUsRUFBRTtTQUMzRyxDQUFDO0lBQ04sQ0FBQztJQUVEOzs7T0FHRztJQUNJLE9BQU8sQ0FBQyxJQUFZLEVBQUUsTUFBZ0MsRUFBRSxPQUErQjtRQUMx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YW4gZXZlbnQgaXMgdHJpZ2dlcmVkLCBhZGRpdGlvbmFsIGluZm9ybWF0aW9uIHRoYXQgQVdTIENvZGVDb21taXRcbiAgICAgKiBpbmNsdWRlcyB3aGVuIGl0IHNlbmRzIGluZm9ybWF0aW9uIHRvIHRoZSB0YXJnZXQuXG4gICAgICovXG4gICAgY3VzdG9tRGF0YT86IHN0cmluZztcbn1cblxuLyoqXG4gKiBSZXBvc2l0b3J5IGV2ZW50cyB0aGF0IHdpbGwgY2F1c2UgdGhlIHRyaWdnZXIgdG8gcnVuIGFjdGlvbnMgaW4gYW5vdGhlciBzZXJ2aWNlLlxuICovXG5leHBvcnQgZW51bSBSZXBvc2l0b3J5RXZlbnRUcmlnZ2VyIHtcbiAgICBBbGwgPSAnYWxsJyxcbiAgICBVcGRhdGVSZWYgPSAndXBkYXRlUmVmZXJlbmNlJyxcbiAgICBDcmVhdGVSZWYgPSAnY3JlYXRlUmVmZXJlbmNlJyxcbiAgICBEZWxldGVSZWYgPSAnZGVsZXRlUmVmZXJlbmNlJ1xufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-codecommit", | ||
"version": "0.8.2", | ||
"version": "0.9.0", | ||
"description": "CDK Constructs for AWS CodeCommit", | ||
@@ -17,2 +17,8 @@ "main": "lib/index.js", | ||
}, | ||
"dotnet": { | ||
"namespace": "Amazon.CDK.AWS.CodeCommit", | ||
"packageId": "Amazon.CDK.AWS.CodeCommit", | ||
"signAssembly": true, | ||
"assemblyOriginatorKeyFile": "../../key.snk" | ||
}, | ||
"sphinx": {} | ||
@@ -54,17 +60,17 @@ } | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.8.2", | ||
"@aws-cdk/aws-sns": "^0.8.2", | ||
"@aws-cdk/assert": "^0.9.0", | ||
"@aws-cdk/aws-sns": "^0.9.0", | ||
"aws-sdk": "^2.259.1", | ||
"cdk-build-tools": "^0.8.2", | ||
"cdk-integ-tools": "^0.8.2", | ||
"cfn2ts": "^0.8.2", | ||
"pkglint": "^0.8.2" | ||
"cdk-build-tools": "^0.9.0", | ||
"cdk-integ-tools": "^0.9.0", | ||
"cfn2ts": "^0.9.0", | ||
"pkglint": "^0.9.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-codepipeline-api": "^0.8.2", | ||
"@aws-cdk/aws-events": "^0.8.2", | ||
"@aws-cdk/aws-iam": "^0.8.2", | ||
"@aws-cdk/cdk": "^0.8.2" | ||
"@aws-cdk/aws-codepipeline-api": "^0.9.0", | ||
"@aws-cdk/aws-events": "^0.9.0", | ||
"@aws-cdk/aws-iam": "^0.9.0", | ||
"@aws-cdk/cdk": "^0.9.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk" | ||
} |
@@ -41,6 +41,8 @@ ## AWS CodeCommit Construct Library | ||
}); | ||
const sourceStage = new codepipeline.Stage(pipeline, 'Source'); | ||
const sourceStage = new codepipeline.Stage(this, 'Source', { | ||
pipeline, | ||
})); | ||
const sourceAction = new codecommit.PipelineSource(this, 'CodeCommit', { | ||
stage: sourceStage, | ||
artifactName: 'SourceOutput', //name can be arbitrary | ||
artifactName: 'SourceOutput', // name can be arbitrary | ||
repository, | ||
@@ -51,2 +53,11 @@ }); | ||
You can also add the Repository to the Pipeline directly: | ||
```ts | ||
// equivalent to the code above: | ||
const sourceAction = repository.addToPipeline(sourceStage, 'CodeCommit', { | ||
artifactName: 'SourceOutput', | ||
}); | ||
``` | ||
### Events | ||
@@ -53,0 +64,0 @@ |
@@ -12,2 +12,2 @@ "use strict"; | ||
process.stdout.write(app.run()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuY29kZWNvbW1pdC1ldmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy5jb2RlY29tbWl0LWV2ZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUF5QztBQUN6QyxvQ0FBcUM7QUF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cHAoKTtcblxuICAgICAgICAgICAgY29uc3QgcHJvcHM6IFJlcG9zaXRvcnlQcm9wcyA9IHtcbiAgICAgICAgICAgICAgICByZXBvc2l0b3J5TmFtZTogICdNeVJlcG9zaXRvcnknXG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCBzbnNBcm4gPSAnYXJuOmF3czpzbnM6KjoxMjM0NTY3ODkwMTI6bXlfdG9waWMnO1xuXG4gICAgICAgICAgICBuZXcgUmVwb3NpdG9yeShhcHAuc3RhY2ssICdNeVJlcG9zaXRvcnknLCBwcm9wcykubm90aWZ5KHNuc0Fybik7XG4gICAgICAgICAgICBjb25zdCB0ZW1wbGF0ZSA9IGFwcC5zeW50aGVzaXplVGVtcGxhdGUoKTtcblxuICAgICAgICAgICAgdGVzdC5kZWVwRXF1YWwodGVtcGxhdGUsIHtcbiAgICAgICAgICAgICAgICBSZXNvdXJjZXM6IHtcbiAgICAgICAgICAgICAgICAgICAgTXlSZXBvc2l0b3J5NEM0QkQ1RkM6IHtcbiAgICAgICAgICAgICAgICAgICAgICBUeXBlOiBcIkFXUzo6Q29kZUNvbW1pdDo6UmVwb3NpdG9yeVwiLFxuICAgICAgICAgICAgICAgICAgICAgIFByb3BlcnRpZXM6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIFJlcG9zaXRvcnlOYW1lOiBcIk15UmVwb3NpdG9yeVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgVHJpZ2dlcnM6IFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEV2ZW50czogW1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJhbGxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgRGVzdGluYXRpb25Bcm46IFwiYXJuOmF3czpzbnM6KjoxMjM0NTY3ODkwMTI6bXlfdG9waWNcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBOYW1lOiBcIk15U3RhY2svTXlSZXBvc2l0b3J5L2Fybjphd3M6c25zOio6MTIzNDU2Nzg5MDEyOm15X3RvcGljXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHRlc3QuZG9uZSgpO1xuICAgICAgICB9LFxuXG4gICAgICAgICdmYWlscyB3aGVuIHRyaWdnZXJzIGhhdmUgZHVwbGljYXRlIG5hbWVzJyh0ZXN0OiBUZXN0KSB7XG4gICAgICAgICAgICBjb25zdCBhcHAgPSBuZXcgVGVzdEFwcCgpO1xuXG4gICAgICAgICAgICBjb25zdCBwcm9wcyA9IHsgcmVwb3NpdG9yeU5hbWU6ICdNeVJlcG9zaXRvcnknIH07XG4gICAgICAgICAgICBjb25zdCBteVJlcG9zaXRvcnkgPSBuZXcgUmVwb3NpdG9yeShhcHAuc3RhY2ssICdNeVJlcG9zaXRvcnknLCBwcm9wcylcbiAgICAgICAgICAgIC5ub3RpZnkoJ215VHJpZ2dlcicpO1xuXG4gICAgICAgICAgICB0ZXN0LnRocm93cygoKSA9PiBteVJlcG9zaXRvcnkubm90aWZ5KCdteVRyaWdnZXInKSk7XG5cbiAgICAgICAgICAgIHRlc3QuZG9uZSgpO1xuICAgICAgICB9XG4gICAgfVxufTtcblxuY2xhc3MgVGVzdEFwcCB7XG4gICAgcHJpdmF0ZSByZWFkb25seSBhcHAgPSBuZXcgQXBwKCk7XG4gICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOm1lbWJlci1vcmRlcmluZ1xuICAgIHB1YmxpYyByZWFkb25seSBzdGFjazogU3RhY2sgPSBuZXcgU3RhY2sodGhpcy5hcHAsICdNeVN0YWNrJyk7XG5cbiAgICBwdWJsaWMgc3ludGhlc2l6ZVRlbXBsYXRlKCkge1xuICAgICAgICByZXR1cm4gdGhpcy5hcHAuc3ludGhlc2l6ZVN0YWNrKHRoaXMuc3RhY2submFtZSkudGVtcGxhdGU7XG4gICAgfVxufVxuIl19 |
{ | ||
"compilerOptions": { | ||
"target": "es2018", | ||
"lib": [ | ||
"es2016", | ||
"es2017.object", | ||
"es2017.string" | ||
], | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"strictPropertyInitialization": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"inlineSourceMap": true, | ||
"experimentalDecorators": true, | ||
"jsx": "react", | ||
"jsxFactory": "jsx.create" | ||
}, | ||
"_generated_by_jsii_": "generated by jsii - you can delete, and ideally add to your .gitignore" | ||
"compilerOptions": { | ||
"alwaysStrict": true, | ||
"charset": "utf8", | ||
"declaration": true, | ||
"experimentalDecorators": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"jsx": "react", | ||
"jsxFactory": "jsx.create", | ||
"lib": [ | ||
"es2016", | ||
"es2017.object", | ||
"es2017.string" | ||
], | ||
"module": "CommonJS", | ||
"noEmitOnError": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
"strictNullChecks": true, | ||
"target": "ES2018" | ||
}, | ||
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" | ||
} |
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
167455
902
75
1
+ Added@aws-cdk/aws-codepipeline-api@0.9.2(transitive)
+ Added@aws-cdk/aws-events@0.9.2(transitive)
+ Added@aws-cdk/aws-iam@0.9.2(transitive)
+ Added@aws-cdk/cdk@0.9.2(transitive)
+ Added@aws-cdk/cx-api@0.9.2(transitive)
+ Added@aws-cdk/util@0.9.2(transitive)
- Removed@aws-cdk/aws-codepipeline-api@0.8.2(transitive)
- Removed@aws-cdk/aws-events@0.8.2(transitive)
- Removed@aws-cdk/aws-iam@0.8.2(transitive)
- Removed@aws-cdk/cdk@0.8.2(transitive)
- Removed@aws-cdk/cx-api@0.8.2(transitive)
- Removed@aws-cdk/util@0.8.2(transitive)
Updated@aws-cdk/aws-events@^0.9.0
Updated@aws-cdk/aws-iam@^0.9.0
Updated@aws-cdk/cdk@^0.9.0