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

@aws-cdk/assets

Package Overview
Dependencies
Maintainers
4
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/assets - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

20

package.json
{
"name": "@aws-cdk/assets",
"version": "0.13.0",
"version": "0.14.0",
"description": "Integration of CDK apps with local assets",

@@ -52,15 +52,15 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.13.0",
"aws-cdk": "^0.13.0",
"cdk-build-tools": "^0.13.0",
"cdk-integ-tools": "^0.13.0",
"pkglint": "^0.13.0"
"@aws-cdk/assert": "^0.14.0",
"aws-cdk": "^0.14.0",
"cdk-build-tools": "^0.14.0",
"cdk-integ-tools": "^0.14.0",
"pkglint": "^0.14.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.13.0",
"@aws-cdk/aws-s3": "^0.13.0",
"@aws-cdk/cdk": "^0.13.0",
"@aws-cdk/cx-api": "^0.13.0"
"@aws-cdk/aws-iam": "^0.14.0",
"@aws-cdk/aws-s3": "^0.14.0",
"@aws-cdk/cdk": "^0.14.0",
"@aws-cdk/cx-api": "^0.14.0"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}

@@ -33,14 +33,7 @@ {

[
"arn",
":",
"arn:",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
":s3:::",
{

@@ -56,46 +49,25 @@ "Ref": "SampleAssetS3BucketE6B2908E"

[
"arn:",
{
"Fn::Join": [
"",
[
"arn",
":",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
{
"Ref": "SampleAssetS3BucketE6B2908E"
}
]
]
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "SampleAssetS3BucketE6B2908E"
},
"/",
{
"Fn::Join": [
"",
[
{
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
},
"*"
]
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
}
},
"*"
]

@@ -102,0 +74,0 @@ ]

@@ -33,14 +33,7 @@ {

[
"arn",
":",
"arn:",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
":s3:::",
{

@@ -56,46 +49,25 @@ "Ref": "SampleAssetS3BucketE6B2908E"

[
"arn:",
{
"Fn::Join": [
"",
[
"arn",
":",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
{
"Ref": "SampleAssetS3BucketE6B2908E"
}
]
]
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "SampleAssetS3BucketE6B2908E"
},
"/",
{
"Fn::Join": [
"",
[
{
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
},
"*"
]
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
}
},
"*"
]

@@ -102,0 +74,0 @@ ]

@@ -33,14 +33,7 @@ {

[
"arn",
":",
"arn:",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
":s3:::",
{

@@ -56,46 +49,25 @@ "Ref": "MyFileS3BucketACE13C36"

[
"arn:",
{
"Fn::Join": [
"",
[
"arn",
":",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
{
"Ref": "MyFileS3BucketACE13C36"
}
]
]
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "MyFileS3BucketACE13C36"
},
"/",
{
"Fn::Join": [
"",
[
{
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "MyFileS3VersionKey568C3C9F"
}
]
}
]
},
"*"
]
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "MyFileS3VersionKey568C3C9F"
}
]
}
]
}
},
"*"
]

@@ -102,0 +74,0 @@ ]

@@ -64,4 +64,3 @@ {

[
"https://",
"s3.",
"https://s3.",
{

@@ -80,33 +79,26 @@ "Ref": "AWS::Region"

{
"Fn::Join": [
"",
[
{
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
},
{
"Fn::Select": [
1,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
}
]
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
},
{
"Fn::Select": [
1,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
}

@@ -142,14 +134,7 @@ ]

[
"arn",
":",
"arn:",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
":s3:::",
{

@@ -165,46 +150,25 @@ "Ref": "SampleAssetS3BucketE6B2908E"

[
"arn:",
{
"Fn::Join": [
"",
[
"arn",
":",
{
"Ref": "AWS::Partition"
},
":",
"s3",
":",
"",
":",
"",
":",
{
"Ref": "SampleAssetS3BucketE6B2908E"
}
]
]
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "SampleAssetS3BucketE6B2908E"
},
"/",
{
"Fn::Join": [
"",
[
{
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
},
"*"
]
"Fn::Select": [
0,
{
"Fn::Split": [
"||",
{
"Ref": "SampleAssetS3VersionKey3E106D34"
}
]
}
]
}
},
"*"
]

@@ -211,0 +175,0 @@ ]

@@ -65,14 +65,11 @@ "use strict";

Resource: [
{ "Fn::Join": ["", ["arn", ":", { Ref: "AWS::Partition" }, ":", "s3", ":", "", ":", "", ":", { Ref: "MyAssetS3Bucket68C9B344" }]] },
{ "Fn::Join": ["", [
{ "Fn::Join": ["", ["arn", ":", { Ref: "AWS::Partition" }, ":", "s3", ":", "", ":", "", ":", { Ref: "MyAssetS3Bucket68C9B344" }]] },
{ "Fn::Join": ["", ["arn:", { Ref: "AWS::Partition" }, ":s3:::", { Ref: "MyAssetS3Bucket68C9B344" }]] },
{ "Fn::Join": ["",
[
"arn:", { Ref: "AWS::Partition" }, ":s3:::", { Ref: "MyAssetS3Bucket68C9B344" },
"/",
{ "Fn::Join": ["", [
{ "Fn::Select": [
0,
{ "Fn::Split": ["||", { Ref: "MyAssetS3VersionKey68E1A45D" }] }
] },
"*"
]] }
]] }
{ "Fn::Select": [0, { "Fn::Split": ["||", { Ref: "MyAssetS3VersionKey68E1A45D" }] }] },
"*"
]
] }
]

@@ -121,2 +118,2 @@ }

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5hc3NldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QuYXNzZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUF1RDtBQUN2RCx3Q0FBeUM7QUFDekMsb0NBQXFDO0FBRXJDLDZCQUE4QjtBQUM5Qix3Q0FBNEQ7QUFFNUQsaUJBQVM7SUFDUCxpQkFBaUIsQ0FBQyxJQUFVO1FBQzFCLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssRUFBRSxDQUFDO1FBQzlCLE1BQU0sT0FBTyxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLHdCQUF3QixDQUFDLENBQUM7UUFDL0QsTUFBTSxLQUFLLEdBQUcsSUFBSSx5QkFBaUIsQ0FBQyxLQUFLLEVBQUUsU0FBUyxFQUFFO1lBQ3BELElBQUksRUFBRSxPQUFPO1NBQ2QsQ0FBQyxDQUFDO1FBRUgsOERBQThEO1FBQzlELDBCQUEwQjtRQUMxQixNQUFNLEtB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aW4oX19kaXJuYW1lLCAnc2FtcGxlLWFzc2V0LWRpcmVjdG9yeScpXG4gICAgfSk7XG5cbiAgICBjb25zdCB6aXBGaWxlQXNzZXQgPSBuZXcgRmlsZUFzc2V0KHN0YWNrLCAnWmlwRmlsZUFzc2V0Jywge1xuICAgICAgcGF0aDogcGF0aC5qb2luKF9fZGlybmFtZSwgJ3NhbXBsZS1hc3NldC1kaXJlY3RvcnknLCAnc2FtcGxlLXppcC1hc3NldC56aXAnKVxuICAgIH0pO1xuXG4gICAgLy8gVEhFTlxuICAgIHRlc3QuZXF1YWwobm9uWmlwQXNzZXQuaXNaaXBBcmNoaXZlLCBmYWxzZSk7XG4gICAgdGVzdC5lcXVhbCh6aXBEaXJlY3RvcnlBc3NldC5pc1ppcEFyY2hpdmUsIHRydWUpO1xuICAgIHRlc3QuZXF1YWwoemlwRmlsZUFzc2V0LmlzWmlwQXJjaGl2ZSwgdHJ1ZSk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH1cbn07XG4iXX0=

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