8000 Patch Liboneandone by jpetaux · Pull Request #1 · ScriptSmith/pkgcloud · GitHub
[go: up one dir, main page]

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
## CHANGELOG

## v2.2.0

- [#678] [@jcrugzz] support more aws auth scenarios via credentials object or sessionToken.

## v2.1.1

- [#666], [@guischdi] Fix GCS upload.
- [#666], [@guischdi] Fix GCS upload.

## v2.1.0

Expand Down Expand Up @@ -32,9 +36,9 @@
## v1.5.0

- Added 1&1 support with tests.
- Set Content-Type with Google storage. Fixes [#635].
- Set Content-Type with Google storage. Fixes [#635].
- Attempt to restrict to `node@6` and `node@8`.
- [fix] Patched RegEx DoS vuln & Remote Memory Exposure vuln.
- [fix] Patched RegEx DoS vuln & Remote Memory Exposure vuln.
This addresses two major security issues:
- https://nodesecurity.io/advisories/309
- https://nodesecurity.io/advisories/535
Expand Down
4 changes: 3 additions & 1 deletion lib/pkgcloud/amazon/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ var Client = exports.Client = function (options) {
accessKeyId: this.config.keyId,
secretAccessKey: this.config.key,
region: options.region,
s3ForcePathStyle: options.forcePathBucket
s3ForcePathStyle: options.forcePathBucket,
sessionToken: options.sessionToken,
credentials: options.credentials
};

// TODO think about a proxy option for pkgcloud
Expand Down
4 changes: 1 addition & 3 deletions lib/pkgcloud/openstack/storage/client/files.js
8000
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ exports.upload = function (options) {
proxyStream.emit('error', err);
});

writableStream.on('data', function (chunk) {
proxyStream.emit('data', chunk);
});


// we need a proxy stream so we can always return a file model
// via the 'success' event
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pkgcloud",
"description": "A provider agnostic cloud library for Node.js",
"version": "2.1.1",
"version": "2.2.0",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",
"contributors": [
"Ross Kukulinski <ross@kukulinski.com>",
Expand Down Expand Up @@ -40,7 +40,7 @@
"fast-json-patch": "^2.1.0",
"filed-mimefix": "^0.1.3",
"ip": "^1.1.5",
"liboneandone": "^1.2.0",
"liboneandone-2": "^1.0.0",
"lodash": "^4.17.10",
"mime": "^2.4.1",
"qs": "^6.5.2",
Expand Down
0