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

@aws-solutions-constructs/core

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-solutions-constructs/core - npm Package Compare versions

Comparing version 2.55.0 to 2.56.0

1

lib/s3-bucket-helper.d.ts

@@ -55,2 +55,3 @@ /**

* @internal This is an internal core function and should not be called directly by Solutions Constructs clients.
* @internal This functionality is exposed externally through aws-constructs-factories
*/

@@ -57,0 +58,0 @@ export declare function buildS3Bucket(scope: Construct, props: BuildS3BucketProps, bucketId?: string): BuildS3BucketResponse;

3

lib/s3-bucket-helper.js

@@ -120,2 +120,3 @@ "use strict";

* @internal This is an internal core function and should not be called directly by Solutions Constructs clients.
* @internal This functionality is exposed externally through aws-constructs-factories
*/

@@ -234,2 +235,2 @@ function buildS3Bucket(scope, props, bucketId) {

exports.CheckS3Props = CheckS3Props;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiczMtYnVja2V0LWhlbHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInMzLWJ1Y2tldC1oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7OztHQVdHOzs7QUFTSCx5Q0FBeUM7QUFFekMsNkRBQXNEO0FBQ3RELG1DQUErRTtBQUMvRSwrQ0FBa0Q7QUFDbEQsNkNBQXVDO0FBMEJ2Qzs7R0FFRztBQUNILFNBQWdCLDJCQUEyQixDQUFDLEtBQWdCLEVBQzFELFFBQWdCLEVBQ2hCLGtCQUFrQztJQUVsQyxpRkFBaUY7SUFDakYsb0NBQW9DO0lBQ3BDLE1BQU0sbUJBQW1CLEdBQUcsd0JBQWdCLENBQUMsbUNBQWMsRUFBRSxFQUFFLGtCQUFrQixDQUFDLENBQUM7SUFFbkYsNEJBQTRCO0l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ZTtcbiAgfVxuXG4gIGlmIChlcnJvckZvdW5kKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKGVycm9yTWVzc2FnZXMpO1xuICB9XG59XG4iXX0=
{
"name": "@aws-solutions-constructs/core",
"version": "2.55.0",
"version": "2.56.0",
"description": "Core CDK Construct for patterns library",

@@ -55,3 +55,3 @@ "main": "index.js",

"dependencies": {
"@aws-cdk/integ-tests-alpha": "2.135.0-alpha.0",
"@aws-cdk/integ-tests-alpha": "2.138.0-alpha.0",
"deep-diff": "^1.0.2",

@@ -69,3 +69,3 @@ "deepmerge": "^4.0.0",

"constructs": "^10.0.0",
"aws-cdk-lib": "2.135.0"
"aws-cdk-lib": "2.138.0"
},

@@ -93,4 +93,4 @@ "jest": {

"constructs": "^10.0.0",
"aws-cdk-lib": "^2.135.0"
"aws-cdk-lib": "^2.138.0"
}
}

@@ -21,2 +21,4 @@ # core module

> NOTE: Functions in the core library are not part of the published interface for Solutions Constructs. While they are not hidden, using them directly can result in breaking changes outside the scope of a Major release. As many users have expressed an interest in accessing this functionality, we are in the process of exposing this functionality through factories that will produce individual well architected resources. Find the current state of this effort under `aws-constructs-factories`.
## Default Properties for AWS CDK Constructs

@@ -23,0 +25,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