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

gulp-s3-upload

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-s3-upload - npm Package Compare versions

Comparing version 0.8.5 to 0.8.6

3

changelog.md
# Changelog
### Version 0.8.6
* unchanged the `name_transform` & `mime_type_lookup` function names; could break. Will change in Version 1
### Version 0.8.5

@@ -4,0 +7,0 @@

6

index.js

@@ -41,6 +41,6 @@ var through = require('through2')

// File Name transform
if(options.nameTransform) {
if(options.name_transform) {
// allow the transform function to take the complete path
// in case the user wants to change the path of the file, too.
keyname = options.nameTransform(file.relative);
keyname = options.name_transform(file.relative);
} else {

@@ -55,3 +55,3 @@ // otherwise keep it exactly parallel

// Mime Lookup
mimeLookupName = options.mimeTypeLookup ? options.mimeTypeLookup(keyname) : keyname;
mimeLookupName = options.mime_type_lookup ? options.mime_type_lookup(keyname) : keyname;

@@ -58,0 +58,0 @@ mimetype = mime.lookup(mimeLookupName);

{
"name": "gulp-s3-upload",
"version": "0.8.5",
"version": "0.8.6",
"description": "A gulp task to upload/update assets to an S3 account.",

@@ -26,8 +26,8 @@ "main": "index.js",

"dependencies": {
"aws-sdk": "^2.0.15",
"gulp-util": "^3.0.0",
"mime": "^1.2.11",
"through2": "^0.6.1",
"underscore": "^1.7.0"
"aws-sdk": "2.1.4",
"gulp-util": "3.0.1",
"mime": "1.2.11",
"through2": "1.1.1",
"underscore": "1.7.0"
}
}
# gulp-s3-upload
[![Dependency Status](https://www.versioneye.com/user/projects/54a2f974974275fa0a00000f/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54a2f974974275fa0a00000f)
Made for work + personal use for uploading assets to Amazon S3 servers.

@@ -83,3 +85,3 @@ This helps to make it an easy gulp task.

**nameTransform**
**name_transform**

@@ -96,3 +98,3 @@ Type: `function`

bucket: 'example-bucket',
nameTransform: function(relative_filename) {
name_transform: function(relative_filename) {
var new_name = change_file_name(relative_filename);

@@ -118,3 +120,3 @@ return new_name;

bucket: 'example-bucket',
mimeTypeLookup: function(originalFilepath) {
mime_type_lookup: function(originalFilepath) {
return originalFilepath.replace('.gz', ''); //ignore gzip extension

@@ -121,0 +123,0 @@ },

@@ -0,0 +0,0 @@ # Feature Roadmap/TODOs

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