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

@dotcom-tool-kit/upload-assets-to-s3

Package Overview
Dependencies
Maintainers
2
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-tool-kit/upload-assets-to-s3 - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

9

lib/tasks/upload-assets-to-s3.js

@@ -21,11 +21,2 @@ "use strict";

const key = path_1.default.posix.join(options.destination, basename);
const params = {
Bucket: '',
Key: key,
Body: fs.createReadStream(file),
ACL: 'public-read',
ContentType: `${type}; charset=utf-8`,
ContentEncoding: encoding,
CacheControl: options.cacheControl
};
const bucketByEnv = process.env.NODE_ENV === 'branch' ? options.reviewBucket : options.prodBucket;

@@ -32,0 +23,0 @@ let currentBucket = '';

8

package.json
{
"name": "@dotcom-tool-kit/upload-assets-to-s3",
"version": "1.5.0",
"version": "1.5.1",
"description": "",

@@ -13,5 +13,5 @@ "main": "lib",

"dependencies": {
"@dotcom-tool-kit/error": "^1.5.0",
"@dotcom-tool-kit/logger": "^1.5.0",
"@dotcom-tool-kit/types": "^1.5.0",
"@dotcom-tool-kit/error": "^1.5.1",
"@dotcom-tool-kit/logger": "^1.5.1",
"@dotcom-tool-kit/types": "^1.5.1",
"aws-sdk": "^2.901.0",

@@ -18,0 +18,0 @@ "glob": "^7.1.6",

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