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

ali-oss

Package Overview
Dependencies
Maintainers
2
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 2.0.0 to 2.1.0

5

History.md
2.1.0 / 2015-03-23
==================
* feat: add getStream*() api
2.0.0 / 2015-02-28

@@ -3,0 +8,0 @@ ==================

4

lib/client.js

@@ -155,2 +155,3 @@ /**!

* - {String} [mime]
* - {Boolean} [customResponse]
*

@@ -209,3 +210,4 @@ * @api private

timeout: timeout,
writeStream: params.writeStream
writeStream: params.writeStream,
customResponse: params.customResponse,
};

@@ -212,0 +214,0 @@ var result = yield urllib.requestThunk(url, reqParams);

@@ -138,2 +138,23 @@ /**!

proto.getStream = function* (name, options) {
name = this._objectName(name);
options = options || {};
var result = yield* this.request({
name: name,
headers: options.headers,
timeout: options.timeout,
method: 'GET',
successStatuses: [200, 304],
customResponse: true,
});
return {
stream: result.res,
res: {
status: result.status,
headers: result.headers
}
};
};
proto.delete = function* (name, options) {

@@ -140,0 +161,0 @@ name = this._objectName(name);

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

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,2 +68,3 @@ ali-oss

- [x] get*
- [x] getStream*
- [x] head*

@@ -70,0 +71,0 @@ - [x] copy*

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