gulp-s3-upload
Advanced tools
Comparing version 0.8.5 to 0.8.6
# 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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11924
133
+ Addedansi-regex@0.2.1(transitive)
+ Addedansi-styles@1.1.0(transitive)
+ Addedarray-find-index@1.0.2(transitive)
+ Addedaws-sdk@2.1.4(transitive)
+ Addedcamelcase@2.1.1(transitive)
+ Addedcamelcase-keys@2.1.0(transitive)
+ Addedchalk@0.5.1(transitive)
+ Addedclone@0.2.0(transitive)
+ Addedcurrently-unhandled@0.4.1(transitive)
+ Addeddateformat@1.0.12(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedfind-up@1.1.2(transitive)
+ Addedget-stdin@4.0.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedgulp-util@3.0.1(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedindent-string@2.1.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-finite@1.1.0(transitive)
+ Addedis-utf8@0.2.1(transitive)
+ Addedload-json-file@1.1.0(transitive)
+ Addedlodash@2.4.2(transitive)
+ Addedlodash._escapehtmlchar@2.4.1(transitive)
+ Addedlodash._escapestringchar@2.4.1(transitive)
+ Addedlodash._htmlescapes@2.4.1(transitive)
+ Addedlodash._isnative@2.4.1(transitive)
+ Addedlodash._objecttypes@2.4.1(transitive)
+ Addedlodash._reinterpolate@2.4.1(transitive)
+ Addedlodash._reunescapedhtml@2.4.1(transitive)
+ Addedlodash._shimkeys@2.4.1(transitive)
+ Addedlodash.defaults@2.4.1(transitive)
+ Addedlodash.escape@2.4.1(transitive)
+ Addedlodash.isobject@2.4.1(transitive)
+ Addedlodash.keys@2.4.1(transitive)
+ Addedlodash.template@2.4.1(transitive)
+ Addedlodash.templatesettings@2.4.1(transitive)
+ Addedlodash.values@2.4.1(transitive)
+ Addedloud-rejection@1.6.0(transitive)
+ Addedmap-obj@1.0.1(transitive)
+ Addedmeow@3.7.0(transitive)
+ Addedmime@1.2.11(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedparse-json@2.2.0(transitive)
+ Addedpath-exists@2.1.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@1.1.0(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedread-pkg@1.1.0(transitive)
+ Addedread-pkg-up@1.0.1(transitive)
+ Addedredent@1.0.0(transitive)
+ Addedrepeating@2.0.1(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsax@0.4.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.20(transitive)
+ Addedstrip-ansi@0.3.0(transitive)
+ Addedstrip-bom@2.0.0(transitive)
+ Addedstrip-indent@1.0.1(transitive)
+ Addedsupports-color@0.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedthrough2@1.1.1(transitive)
+ Addedtrim-newlines@1.0.0(transitive)
+ Addedunderscore@1.7.0(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedvinyl@0.4.6(transitive)
+ Addedxml2js@0.2.6(transitive)
+ Addedxmlbuilder@0.4.2(transitive)
- Removedansi-gray@0.1.1(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedansi-wrap@0.1.0(transitive)
- Removedarray-differ@1.0.0(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedaws-sdk@2.1692.0(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbeeper@1.1.1(transitive)
- Removedbuffer@4.9.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedchalk@1.1.3(transitive)
- Removedclone@1.0.4(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removeddateformat@2.2.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedevents@1.1.1(transitive)
- Removedfancy-log@1.3.3(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedglogg@1.0.2(transitive)
- Removedgopd@1.0.1(transitive)
- Removedgulp-util@3.0.8(transitive)
- Removedgulplog@1.0.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-gulplog@0.1.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedieee754@1.1.13(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedisarray@1.0.0(transitive)
- Removedjmespath@0.16.0(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basetostring@3.0.1(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash._reescape@3.0.0(transitive)
- Removedlodash._reevaluate@3.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash._root@3.0.1(transitive)
- Removedlodash.escape@3.2.0(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.template@3.6.2(transitive)
- Removedlodash.templatesettings@3.1.1(transitive)
- Removedmime@1.6.0(transitive)
- Removedobject-assign@3.0.0(transitive)
- Removedparse-node-version@1.0.1(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpunycode@1.3.2(transitive)
- Removedquerystring@0.2.0(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedreplace-ext@0.0.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsax@1.2.1(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsparkles@1.0.1(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedtime-stamp@1.1.0(transitive)
- Removedunderscore@1.13.7(transitive)
- Removedurl@0.10.3(transitive)
- Removedutil@0.12.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removeduuid@8.0.0(transitive)
- Removedvinyl@0.5.3(transitive)
- Removedwhich-typed-array@1.1.15(transitive)
- Removedxml2js@0.6.2(transitive)
- Removedxmlbuilder@11.0.1(transitive)
Updatedaws-sdk@2.1.4
Updatedgulp-util@3.0.1
Updatedmime@1.2.11
Updatedthrough2@1.1.1
Updatedunderscore@1.7.0