@aws-cdk/aws-signer
Advanced tools
Comparing version 1.156.1 to 1.157.0
@@ -10,3 +10,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2022-05-13T00:26:12.306Z","fingerprint":"ZjJjQP3YMp21mQ/57klL6HTARoLGJxYKzvujK4jHdPY="} | ||
// @cfn2ts:meta@ {"generated":"2022-05-20T21:32:15.648Z","fingerprint":"pMog5At2XmeYGsZdkTHCoRgh+incba0WNAa6JTT0hQE="} | ||
/* 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.156.1" }; | ||
CfnProfilePermission[_a] = { fqn: "@aws-cdk/aws-signer.CfnProfilePermission", version: "1.157.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.156.1" }; | ||
CfnSigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.CfnSigningProfile", version: "1.157.0" }; | ||
/** | ||
@@ -355,2 +355,2 @@ * The CloudFormation resource type name for this resource class. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmVyLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNpZ25lci5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIO0FBRXRILDRCQUE0QixDQUFDLGlFQUFpRTtBQUU5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IHJldCA9IG5ldyBjZm5fcGFyc2UuRnJvbUNsb3VkRm9ybWF0aW9uUHJvcGVydHlPYmplY3Q8Q2ZuU2lnbmluZ1Byb2ZpbGUuU2lnbmF0dXJlVmFsaWRpdHlQZXJpb2RQcm9wZXJ0eT4oKTtcbiAgICByZXQuYWRkUHJvcGVydHlSZXN1bHQoJ3R5cGUnLCAnVHlwZScsIHByb3BlcnRpZXMuVHlwZSAhPSBudWxsID8gY2ZuX3BhcnNlLkZyb21DbG91ZEZvcm1hdGlvbi5nZXRTdHJpbmcocHJvcGVydGllcy5UeXBlKSA6IHVuZGVmaW5lZCk7XG4gICAgcmV0LmFkZFByb3BlcnR5UmVzdWx0KCd2YWx1ZScsICdWYWx1ZScsIHByb3BlcnRpZXMuVmFsdWUgIT0gbnVsbCA/IGNmbl9wYXJzZS5Gcm9tQ2xvdWRGb3JtYXRpb24uZ2V0TnVtYmVyKHByb3BlcnRpZXMuVmFsdWUpIDogdW5kZWZpbmVkKTtcbiAgICByZXQuYWRkVW5yZWNvZ25pemVkUHJvcGVydGllc0FzRXh0cmEocHJvcGVydGllcyk7XG4gICAgcmV0dXJuIHJldDtcbn1cbiJdfQ== |
@@ -20,3 +20,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.156.1" }; | ||
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.157.0" }; | ||
/** | ||
@@ -116,3 +116,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.156.1" }; | ||
SigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.SigningProfile", version: "1.157.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluZy1wcm9maWxlLmpzIiwic291cmNlUm9vdCI6I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vRGF5cygpLFxuICAgICAgfSA6IHtcbiAgICAgICAgdHlwZTogJ01PTlRIUycsXG4gICAgICAgIHZhbHVlOiAxMzUsXG4gICAgICB9LFxuICAgIH0gKTtcblxuICAgIHRoaXMuc2lnbmluZ1Byb2ZpbGVBcm4gPSByZXNvdXJjZS5hdHRyQXJuO1xuICAgIHRoaXMuc2lnbmluZ1Byb2ZpbGVOYW1lID0gcmVzb3VyY2UuYXR0clByb2ZpbGVOYW1lO1xuICAgIHRoaXMuc2lnbmluZ1Byb2ZpbGVWZXJzaW9uID0gcmVzb3VyY2UuYXR0clByb2ZpbGVWZXJzaW9uO1xuICAgIHRoaXMuc2lnbmluZ1Byb2ZpbGVWZXJzaW9uQXJuID0gcmVzb3VyY2UuYXR0clByb2ZpbGVWZXJzaW9uQXJuO1xuICB9XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-signer", | ||
"version": "1.156.1", | ||
"version": "1.157.0", | ||
"description": "The CDK Construct Library for AWS::Signer", | ||
@@ -84,14 +84,14 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assertions": "1.156.1", | ||
"@aws-cdk/cdk-build-tools": "1.156.1", | ||
"@aws-cdk/cfn2ts": "1.156.1", | ||
"@aws-cdk/pkglint": "1.156.1", | ||
"@aws-cdk/assertions": "1.157.0", | ||
"@aws-cdk/cdk-build-tools": "1.157.0", | ||
"@aws-cdk/cfn2ts": "1.157.0", | ||
"@aws-cdk/pkglint": "1.157.0", | ||
"@types/jest": "^27.5.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/core": "1.156.1", | ||
"@aws-cdk/core": "1.157.0", | ||
"constructs": "^3.3.69" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/core": "1.156.1", | ||
"@aws-cdk/core": "1.157.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.157.0(transitive)
+ Added@aws-cdk/core@1.157.0(transitive)
+ Added@aws-cdk/cx-api@1.157.0(transitive)
+ Added@aws-cdk/region-info@1.157.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.156.1(transitive)
- Removed@aws-cdk/core@1.156.1(transitive)
- Removed@aws-cdk/cx-api@1.156.1(transitive)
- Removed@aws-cdk/region-info@1.156.1(transitive)
Updated@aws-cdk/core@1.157.0