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

ali-oss

Package Overview
Dependencies
Maintainers
3
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ali-oss - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

6

History.md
4.4.1 / 2016-05-04
==================
* fix: Correctly parse Put/MultipartUpload response when using upload callback (#104)
* chore(package): update babel-plugin-transform-runtime to version 6.8.0 (#103)
4.4.0 / 2016-04-28

@@ -3,0 +9,0 @@ ==================

18

lib/multipart.js

@@ -253,12 +253,20 @@ /**!

params.content = xml;
params.xmlResponse = true;
if (!(options.headers && options.headers['x-oss-callback'])) {
params.xmlResponse = true;
}
params.successStatuses = [200];
var result = yield this.request(params);
return {
var ret = {
res: result.res,
bucket: result.data.Bucket,
name: result.data.Key,
etag: result.data.ETag
bucket: params.bucket,
name: name,
etag: result.res.headers['etag']
};
if (options.headers && options.headers['x-oss-callback']) {
ret.data = JSON.parse(result.data.toString());
}
return ret;
};

@@ -265,0 +273,0 @@

@@ -68,3 +68,3 @@ /**

return {
var ret = {
name: name,

@@ -74,2 +74,8 @@ url: this._objectUrl(name),

};
if (options.headers && options.headers['x-oss-callback']) {
ret.data = JSON.parse(result.data.toString());
}
return ret;
};

@@ -102,3 +108,3 @@

return {
var ret = {
name: name,

@@ -108,2 +114,8 @@ url: this._objectUrl(name),

};
if (options.headers && options.headers['x-oss-callback']) {
ret.data = JSON.parse(result.data.toString());
}
return ret;
};

@@ -110,0 +122,0 @@

{
"name": "ali-oss",
"version": "4.4.0",
"version": "4.4.1",
"description": "aliyun oss(open storage service) node client",

@@ -46,3 +46,3 @@ "main": "lib/client.js",

"autod": "^2.4.2",
"babel-plugin-transform-runtime": "^6.7.5",
"babel-plugin-transform-runtime": "^6.8.0",
"babel-preset-es2015": "^6.3.13",

@@ -49,0 +49,0 @@ "babel-runtime": "^6.6.1",

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