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.0.2-beta.3 to 1.0.2-beta.4

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.0.2-beta.3",
"version": "1.0.2-beta.4",
"description": "",

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

"dependencies": {
"@dotcom-tool-kit/error": "^1.0.2-beta.3",
"@dotcom-tool-kit/logger": "^1.0.2-beta.3",
"@dotcom-tool-kit/types": "^1.0.2-beta.3",
"@dotcom-tool-kit/error": "^1.0.2-beta.4",
"@dotcom-tool-kit/logger": "^1.0.2-beta.4",
"@dotcom-tool-kit/types": "^1.0.2-beta.4",
"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