@aws-cdk/aws-signer
Advanced tools
Comparing version 1.160.0 to 1.161.0
@@ -10,3 +10,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2022-06-14T13:18:36.902Z","fingerprint":"ZXcoiyg4eBeZgLSk1QiXzedpOoXnVgpqZPh7vsdm0cM="} | ||
// @cfn2ts:meta@ {"generated":"2022-06-22T22:40:21.247Z","fingerprint":"i29rt4udPs9z46ighFjU7yPwnM6YSntXd9oFsK1UY1M="} | ||
/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control | ||
@@ -159,3 +159,3 @@ const cdk = require("@aws-cdk/core"); | ||
_a = JSII_RTTI_SYMBOL_1; | ||
CfnProfilePermission[_a] = { fqn: "@aws-cdk/aws-signer.CfnProfilePermission", version: "1.160.0" }; | ||
CfnProfilePermission[_a] = { fqn: "@aws-cdk/aws-signer.CfnProfilePermission", version: "1.161.0" }; | ||
/** | ||
@@ -297,3 +297,3 @@ * The CloudFormation resource type name for this resource class. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
CfnSigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.CfnSigningProfile", version: "1.160.0" }; | ||
CfnSigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.CfnSigningProfile", version: "1.161.0" }; | ||
/** | ||
@@ -355,2 +355,2 @@ * The CloudFormation resource type name for this resource class. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmVyLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNpZ25lci5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIO0FBRXRILDRCQUE0QixDQUFDLGlFQUFpRTtBQ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JzZS5Gcm9tQ2xvdWRGb3JtYXRpb25SZXN1bHQocHJvcGVydGllcyk7XG4gICAgfVxuICAgIGNvbnN0IHJldCA9IG5ldyBjZm5fcGFyc2UuRnJvbUNsb3VkRm9ybWF0aW9uUHJvcGVydHlPYmplY3Q8Q2ZuU2lnbmluZ1Byb2ZpbGUuU2lnbmF0dXJlVmFsaWRpdHlQZXJpb2RQcm9wZXJ0eT4oKTtcbiAgICByZXQuYWRkUHJvcGVydHlSZXN1bHQoJ3R5cGUnLCAnVHlwZScsIHByb3BlcnRpZXMuVHlwZSAhPSBudWxsID8gY2ZuX3BhcnNlLkZyb21DbG91ZEZvcm1hdGlvbi5nZXRTdHJpbmcocHJvcGVydGllcy5UeXBlKSA6IHVuZGVmaW5lZCk7XG4gICAgcmV0LmFkZFByb3BlcnR5UmVzdWx0KCd2YWx1ZScsICdWYWx1ZScsIHByb3BlcnRpZXMuVmFsdWUgIT0gbnVsbCA/IGNmbl9wYXJzZS5Gcm9tQ2xvdWRGb3JtYXRpb24uZ2V0TnVtYmVyKHByb3BlcnRpZXMuVmFsdWUpIDogdW5kZWZpbmVkKTtcbiAgICByZXQuYWRkVW5yZWNvZ25pemVkUHJvcGVydGllc0FzRXh0cmEocHJvcGVydGllcyk7XG4gICAgcmV0dXJuIHJldDtcbn1cbiJdfQ== |
@@ -20,3 +20,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.160.0" }; | ||
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.161.0" }; | ||
/** | ||
@@ -115,3 +115,3 @@ * Specification of signature format and signing algorithms for AWS IoT Device. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
SigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.SigningProfile", version: "1.160.0" }; | ||
SigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.SigningProfile", version: "1.161.0" }; | ||
//# sourceMappingURL=data:application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gICAgICB0eXBlOiAnREFZUycsXG4gICAgICAgIHZhbHVlOiBwcm9wcy5zaWduYXR1cmVWYWxpZGl0eT8udG9EYXlzKCksXG4gICAgICB9IDoge1xuICAgICAgICB0eXBlOiAnTU9OVEhTJyxcbiAgICAgICAgdmFsdWU6IDEzNSxcbiAgICAgIH0sXG4gICAgfSApO1xuXG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZUFybiA9IHJlc291cmNlLmF0dHJBcm47XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZU5hbWUgPSByZXNvdXJjZS5hdHRyUHJvZmlsZU5hbWU7XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZVZlcnNpb24gPSByZXNvdXJjZS5hdHRyUHJvZmlsZVZlcnNpb247XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZVZlcnNpb25Bcm4gPSByZXNvdXJjZS5hdHRyUHJvZmlsZVZlcnNpb25Bcm47XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/aws-signer", | ||
"version": "1.160.0", | ||
"version": "1.161.0", | ||
"description": "The CDK Construct Library for AWS::Signer", | ||
@@ -84,14 +84,14 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assertions": "1.160.0", | ||
"@aws-cdk/cdk-build-tools": "1.160.0", | ||
"@aws-cdk/cfn2ts": "1.160.0", | ||
"@aws-cdk/pkglint": "1.160.0", | ||
"@aws-cdk/assertions": "1.161.0", | ||
"@aws-cdk/cdk-build-tools": "1.161.0", | ||
"@aws-cdk/cfn2ts": "1.161.0", | ||
"@aws-cdk/pkglint": "1.161.0", | ||
"@types/jest": "^27.5.2" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/core": "1.160.0", | ||
"@aws-cdk/core": "1.161.0", | ||
"constructs": "^3.3.69" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/core": "1.160.0", | ||
"@aws-cdk/core": "1.161.0", | ||
"constructs": "^3.3.69" | ||
@@ -98,0 +98,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@aws-cdk/cloud-assembly-schema@1.161.0(transitive)
+ Added@aws-cdk/core@1.161.0(transitive)
+ Added@aws-cdk/cx-api@1.161.0(transitive)
+ Added@aws-cdk/region-info@1.161.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.160.0(transitive)
- Removed@aws-cdk/core@1.160.0(transitive)
- Removed@aws-cdk/cx-api@1.160.0(transitive)
- Removed@aws-cdk/region-info@1.160.0(transitive)
Updated@aws-cdk/core@1.161.0