feathers-blob
Advanced tools
Comparing version 2.0.1 to 2.1.0
# Change Log | ||
## [v2.0.1](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v2.0.1) (2018-06-03) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v2.0.0...v2.0.1) | ||
**Closed issues:** | ||
- get\(\) does not work with latest s3-blob-store \(v3.0.0\) [\#37](https://github.com/feathersjs-ecosystem/feathers-blob/issues/37) | ||
- How to resize an image before create it ? [\#35](https://github.com/feathersjs-ecosystem/feathers-blob/issues/35) | ||
- So I need help pointing me in right direction, I would like to return a like to return a file url instead of base64 [\#18](https://github.com/feathersjs-ecosystem/feathers-blob/issues/18) | ||
**Merged pull requests:** | ||
- Update uberproto to the latest version 🚀 [\#46](https://github.com/feathersjs-ecosystem/feathers-blob/pull/46) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Update dependencies and documentation to be up to date [\#45](https://github.com/feathersjs-ecosystem/feathers-blob/pull/45) ([daffl](https://github.com/daffl)) | ||
- Update s3-blob-store to the latest version 🚀 [\#44](https://github.com/feathersjs-ecosystem/feathers-blob/pull/44) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
## [v2.0.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v2.0.0) (2018-03-09) | ||
@@ -4,0 +19,0 @@ [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.5.0...v2.0.0) |
@@ -26,3 +26,3 @@ const AWS = require('aws-sdk'); | ||
// Turn on URL-encoded parser for REST services | ||
.use(express.urlencoded({extended: true})) | ||
.use(express.urlencoded({ extended: true })) | ||
.use('/blobs', blobService); | ||
@@ -29,0 +29,0 @@ |
@@ -36,3 +36,3 @@ const { extname } = require('path'); | ||
get (id) { | ||
get (id, params = {}) { | ||
const ext = extname(id); | ||
@@ -43,3 +43,4 @@ const contentType = mimeTypes.lookup(ext); | ||
this.Model.createReadStream({ | ||
key: id | ||
key: id, | ||
params: params.s3 | ||
}) | ||
@@ -46,0 +47,0 @@ .on('error', reject) |
{ | ||
"name": "feathers-blob", | ||
"description": "Feathers blob service", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"homepage": "https://github.com/feathersjs-ecosystem/feathers-blob", | ||
@@ -55,7 +55,12 @@ "main": "lib/", | ||
}, | ||
"greenkeeper": { | ||
"ignore": [ | ||
"aws-sdk" | ||
] | ||
}, | ||
"dependencies": { | ||
"@feathersjs/errors": "^3.3.0", | ||
"concat-stream": "^1.6.2", | ||
"concat-stream": "^2.0.0", | ||
"dauria": "^2.0.0", | ||
"debug": "^3.1.0", | ||
"debug": "^4.0.0", | ||
"from2": "^2.1.1", | ||
@@ -67,9 +72,9 @@ "mime-types": "^2.1.10", | ||
"abstract-blob-store": "^3.2.0", | ||
"aws-sdk": "^2.2.37", | ||
"aws-sdk": "^2.350.0", | ||
"fs-blob-store": "^5.2.1", | ||
"istanbul": "^1.1.0-alpha.1", | ||
"mocha": "^5.0.0", | ||
"mocha": "^6.0.0", | ||
"s3-blob-store": "^3.2.0", | ||
"semistandard": "^12.0.0" | ||
"semistandard": "^13.0.0" | ||
} | ||
} |
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
19925
138
+ Addedconcat-stream@2.0.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removeddebug@3.2.7(transitive)
Updatedconcat-stream@^2.0.0
Updateddebug@^4.0.0