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

@aws-cdk/aws-signer

Package Overview
Dependencies
Maintainers
5
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-signer - npm Package Compare versions

Comparing version 1.150.0 to 1.151.0

8

lib/signer.generated.js

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

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2022-03-26T15:35:19.868Z","fingerprint":"BNGfbCRZnRlf9n+sGgK8+ROR5j1oBRdZqEvXzFNQ71E="}
// @cfn2ts:meta@ {"generated":"2022-04-01T01:03:25.140Z","fingerprint":"p3iQMYBNlfqYkL8VssrpLd1qcXKmYXXw+2kqw7kEYE4="}
/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control

@@ -151,3 +151,3 @@ const cdk = require("@aws-cdk/core");

_a = JSII_RTTI_SYMBOL_1;
CfnProfilePermission[_a] = { fqn: "@aws-cdk/aws-signer.CfnProfilePermission", version: "1.150.0" };
CfnProfilePermission[_a] = { fqn: "@aws-cdk/aws-signer.CfnProfilePermission", version: "1.151.0" };
/**

@@ -281,3 +281,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.150.0" };
CfnSigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.CfnSigningProfile", version: "1.151.0" };
/**

@@ -339,2 +339,2 @@ * The CloudFormation resource type name for this resource class.

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmVyLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNpZ25lci5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7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nR5T2JqZWN0PENmblNpZ25pbmdQcm9maWxlLlNpZ25hdHVyZVZhbGlkaXR5UGVyaW9kUHJvcGVydHk+KCk7XG4gICAgcmV0LmFkZFByb3BlcnR5UmVzdWx0KCd0eXBlJywgJ1R5cGUnLCBwcm9wZXJ0aWVzLlR5cGUgIT0gbnVsbCA/IGNmbl9wYXJzZS5Gcm9tQ2xvdWRGb3JtYXRpb24uZ2V0U3RyaW5nKHByb3BlcnRpZXMuVHlwZSkgOiB1bmRlZmluZWQpO1xuICAgIHJldC5hZGRQcm9wZXJ0eVJlc3VsdCgndmFsdWUnLCAnVmFsdWUnLCBwcm9wZXJ0aWVzLlZhbHVlICE9IG51bGwgPyBjZm5fcGFyc2UuRnJvbUNsb3VkRm9ybWF0aW9uLmdldE51bWJlcihwcm9wZXJ0aWVzLlZhbHVlKSA6IHVuZGVmaW5lZCk7XG4gICAgcmV0LmFkZFVucmVjb2duaXplZFByb3BlcnRpZXNBc0V4dHJhKHByb3BlcnRpZXMpO1xuICAgIHJldHVybiByZXQ7XG59XG4iXX0=

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

_a = JSII_RTTI_SYMBOL_1;
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.150.0" };
Platform[_a] = { fqn: "@aws-cdk/aws-signer.Platform", version: "1.151.0" };
/**

@@ -100,3 +100,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.150.0" };
SigningProfile[_b] = { fqn: "@aws-cdk/aws-signer.SigningProfile", version: "1.151.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluZy1wcm9maWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2lnbmluZy1wcm9maWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHdDQUF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ZUFybiA9IHJlc291cmNlLmF0dHJBcm47XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZU5hbWUgPSByZXNvdXJjZS5hdHRyUHJvZmlsZU5hbWU7XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZVZlcnNpb24gPSByZXNvdXJjZS5hdHRyUHJvZmlsZVZlcnNpb247XG4gICAgdGhpcy5zaWduaW5nUHJvZmlsZVZlcnNpb25Bcm4gPSByZXNvdXJjZS5hdHRyUHJvZmlsZVZlcnNpb25Bcm47XG4gIH1cbn1cbiJdfQ==
{
"name": "@aws-cdk/aws-signer",
"version": "1.150.0",
"version": "1.151.0",
"description": "The CDK Construct Library for AWS::Signer",

@@ -84,14 +84,14 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assertions": "1.150.0",
"@aws-cdk/cdk-build-tools": "1.150.0",
"@aws-cdk/cfn2ts": "1.150.0",
"@aws-cdk/pkglint": "1.150.0",
"@aws-cdk/assertions": "1.151.0",
"@aws-cdk/cdk-build-tools": "1.151.0",
"@aws-cdk/cfn2ts": "1.151.0",
"@aws-cdk/pkglint": "1.151.0",
"@types/jest": "^27.4.1"
},
"dependencies": {
"@aws-cdk/core": "1.150.0",
"@aws-cdk/core": "1.151.0",
"constructs": "^3.3.69"
},
"peerDependencies": {
"@aws-cdk/core": "1.150.0",
"@aws-cdk/core": "1.151.0",
"constructs": "^3.3.69"

@@ -98,0 +98,0 @@ },

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