feathers-blob
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -1,4 +0,32 @@ | ||
# Change Log | ||
# Changelog | ||
## [v2.2.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v2.2.0) (2019-12-18) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v2.1.0...v2.2.0) | ||
**Implemented enhancements:** | ||
- Make data uri encoding optional [\#69](https://github.com/feathersjs-ecosystem/feathers-blob/issues/69) | ||
- Support Multipart File Upload [\#25](https://github.com/feathersjs-ecosystem/feathers-blob/issues/25) | ||
**Fixed bugs:** | ||
- Extension can be ".false" if mime type is not recognized [\#47](https://github.com/feathersjs-ecosystem/feathers-blob/issues/47) | ||
- feathers client resolves to service path instead of store model on get and remove [\#4](https://github.com/feathersjs-ecosystem/feathers-blob/issues/4) | ||
**Closed issues:** | ||
- docs: get does not return buffer [\#71](https://github.com/feathersjs-ecosystem/feathers-blob/issues/71) | ||
- Large file upload to S3 errors with TimeOut from S3 [\#67](https://github.com/feathersjs-ecosystem/feathers-blob/issues/67) | ||
**Merged pull requests:** | ||
- feat: make data uri encoding optional [\#72](https://github.com/feathersjs-ecosystem/feathers-blob/pull/72) ([florianbepunkt](https://github.com/florianbepunkt)) | ||
- Fix comment typo [\#68](https://github.com/feathersjs-ecosystem/feathers-blob/pull/68) ([andys8](https://github.com/andys8)) | ||
- Update s3-blob-store to the latest version 🚀 [\#66](https://github.com/feathersjs-ecosystem/feathers-blob/pull/66) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Update @feathersjs/errors to the latest version 🚀 [\#65](https://github.com/feathersjs-ecosystem/feathers-blob/pull/65) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Update semistandard to the latest version 🚀 [\#64](https://github.com/feathersjs-ecosystem/feathers-blob/pull/64) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
## [v2.1.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v2.1.0) (2019-03-09) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v2.0.1...v2.1.0) | ||
@@ -29,2 +57,3 @@ | ||
## [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) | ||
@@ -45,2 +74,3 @@ | ||
## [v2.0.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v2.0.0) (2018-03-09) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.5.0...v2.0.0) | ||
@@ -59,2 +89,3 @@ | ||
## [v1.5.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.5.0) (2018-03-07) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.4.1...v1.5.0) | ||
@@ -67,2 +98,3 @@ | ||
## [v1.4.1](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.4.1) (2018-03-02) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.4.0...v1.4.1) | ||
@@ -75,2 +107,3 @@ | ||
## [v1.4.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.4.0) (2018-02-16) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.3.1...v1.4.0) | ||
@@ -94,2 +127,3 @@ | ||
## [v1.3.1](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.3.1) (2017-06-30) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.3.0...v1.3.1) | ||
@@ -102,2 +136,3 @@ | ||
## [v1.3.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.3.0) (2017-06-21) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.2.0...v1.3.0) | ||
@@ -123,2 +158,3 @@ | ||
## [v1.2.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.2.0) (2016-08-18) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.1.0...v1.2.0) | ||
@@ -136,2 +172,3 @@ | ||
## [v1.1.0](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.1.0) (2016-06-17) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.0.5...v1.1.0) | ||
@@ -148,2 +185,3 @@ | ||
## [v1.0.5](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.0.5) (2016-04-03) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.0.4...v1.0.5) | ||
@@ -156,14 +194,19 @@ | ||
## [v1.0.4](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.0.4) (2016-03-05) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.0.3...v1.0.4) | ||
## [v1.0.3](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.0.3) (2016-03-01) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.0.2...v1.0.3) | ||
## [v1.0.2](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.0.2) (2016-02-29) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/1.0.1...v1.0.2) | ||
## [1.0.1](https://github.com/feathersjs-ecosystem/feathers-blob/tree/1.0.1) (2016-02-29) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/v1.0.1...1.0.1) | ||
## [v1.0.1](https://github.com/feathersjs-ecosystem/feathers-blob/tree/v1.0.1) (2016-02-29) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/1.0.0...v1.0.1) | ||
@@ -173,3 +216,6 @@ | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-blob/compare/a5e0f834e358790c244a410d707930387f38a8a6...1.0.0) | ||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* | ||
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* |
@@ -0,0 +0,0 @@ const AWS = require('aws-sdk'); |
@@ -84,3 +84,2 @@ const { extname } = require('path'); | ||
} | ||
const hash = bufferToHash(buffer); | ||
let ext = mimeTypes.extension(contentType); | ||
@@ -95,3 +94,6 @@ | ||
id = id || `${hash}.${ext}`; | ||
if (!id) { | ||
const hash = bufferToHash(buffer); | ||
id = `${hash}.${ext}`; | ||
} | ||
@@ -98,0 +100,0 @@ debug(`Creating blob ${id} with ext ${ext} and content type ${contentType}`); |
@@ -0,0 +0,0 @@ const crypto = require('crypto'); |
{ | ||
"name": "feathers-blob", | ||
"description": "Feathers blob service", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"homepage": "https://github.com/feathersjs-ecosystem/feathers-blob", | ||
@@ -37,3 +37,3 @@ "main": "lib/", | ||
"publish": "git push origin --tags && npm run changelog && git push origin", | ||
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -am \"Updating changelog\"", | ||
"changelog": "github_changelog_generator -u feathersjs-ecosystem -p feathers-blob && git add CHANGELOG.md && git commit -am \"Updating changelog\"", | ||
"release:patch": "npm version patch && npm publish", | ||
@@ -43,4 +43,5 @@ "release:minor": "npm version minor && npm publish", | ||
"lint": "semistandard --fix", | ||
"dtslint": "dtslint types", | ||
"mocha": "mocha --opts mocha.opts", | ||
"test": "npm run lint && npm run coverage", | ||
"test": "npm run lint && npm run coverage && npm run dtslint", | ||
"example": "babel-node examples/app", | ||
@@ -57,2 +58,3 @@ "coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts" | ||
}, | ||
"types": "types", | ||
"greenkeeper": { | ||
@@ -74,10 +76,11 @@ "ignore": [ | ||
"@feathersjs/client": "^4.3.10", | ||
"@feathersjs/express": "^4.3.10", | ||
"@feathersjs/feathers": "^4.3.10", | ||
"@feathersjs/express": "^4.3.10", | ||
"abstract-blob-store": "^3.2.0", | ||
"aws-sdk": "^2.350.0", | ||
"body-parser": "^1.19.0", | ||
"dtslint": "^3.5.2", | ||
"fs-blob-store": "^5.2.1", | ||
"istanbul": "^1.1.0-alpha.1", | ||
"mocha": "^6.0.0", | ||
"mocha": "^7.0.1", | ||
"s3-blob-store": "^4.1.0", | ||
@@ -84,0 +87,0 @@ "semistandard": "^14.0.1", |
@@ -0,0 +0,0 @@ # feathers-blob |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
29958
12
279
0
13