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

feathers-blob

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-blob - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

7

CHANGELOG.md
# Change Log
## [v1.3.1](https://github.com/feathersjs/feathers-blob/tree/v1.3.1) (2017-06-30)
[Full Changelog](https://github.com/feathersjs/feathers-blob/compare/v1.3.0...v1.3.1)
**Merged pull requests:**
- Reject if Model.createWriteStream returns with error [\#24](https://github.com/feathersjs/feathers-blob/pull/24) ([3bola](https://github.com/3bola))
## [v1.3.0](https://github.com/feathersjs/feathers-blob/tree/v1.3.0) (2017-06-21)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/feathers-blob/compare/v1.2.0...v1.3.0)

2

lib/index.js

@@ -116,3 +116,3 @@ 'use strict';

}, function (error) {
return error ? reject(error) : resolve();
return error ? reject(error) : resolve({ id: id });
});

@@ -119,0 +119,0 @@ });

{
"name": "feathers-blob",
"description": "Feathers blob service",
"version": "1.3.1",
"version": "1.4.0",
"homepage": "https://github.com/feathersjs/feathers-blob",

@@ -64,3 +64,3 @@ "main": "lib/",

"dauria": "^2.0.0",
"debug": "^2.2.0",
"debug": "^3.0.0",
"from2": "^2.1.1",

@@ -83,7 +83,7 @@ "mime-types": "^2.1.10",

"istanbul": "^1.1.0-alpha.1",
"mocha": "^3.2.0",
"mocha": "^5.0.0",
"rimraf": "^2.5.4",
"s3-blob-store": "^2.0.1",
"semistandard": "^11.0.0"
"s3-blob-store": "^3.0.0",
"semistandard": "^12.0.0"
}
}

@@ -36,3 +36,3 @@ # feathers-blob

Optionally, you can specify in the `body` the blob `key` which can be the file
Optionally, you can specify in the `body` the blob `id` which can be the file
path where you want to store the file, otherwise it would default to

@@ -69,2 +69,3 @@ `${hash(content)}.${extension(contentType)}`.

const s3 = new AWS.S3({
endpoint: 'https://{service}.{region}.{provider}.com',
accessKeyId: process.env.AWS_ACCESS_KEY_ID,

@@ -71,0 +72,0 @@ secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,

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