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 3.0.3 to 3.1.0

6

History.md
3.1.0 / 2015-10-23
==================
* feat: support custom urllib client
* chore: add node required on package.json
3.0.3 / 2015-10-03

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

12

lib/client.js

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

var mime = require('mime');
var urllib = require('urllib');
var xml = require('xml2js');

@@ -69,3 +68,10 @@ var ms = require('humanize-ms');

this.options.timeout = ms(this.options.timeout);
this.agent = this.options.agent || new AgentKeepalive();
// support custom agent and urllib client
if (this.options.urllib) {
this.urllib = this.options.urllib;
} else {
this.urllib = require('urllib');
this.agent = this.options.agent || new AgentKeepalive();
}
}

@@ -251,3 +257,3 @@

var reqParams = this.createRequest(params);
var result = yield urllib.requestThunk(reqParams.url, reqParams.params);
var result = yield this.urllib.requestThunk(reqParams.url, reqParams.params);
debug('response %s %s, got %s, headers: %j', params.method, reqParams.url, result.status, result.headers);

@@ -254,0 +260,0 @@ if (params.successStatuses && params.successStatuses.indexOf(result.status) === -1) {

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

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

"type": "git",
"url": "git://github.com/ali-sdk/ali-oss.git"
"url": "git://github.com/aliyun/oss-nodejs-sdk.git"
},

@@ -29,5 +29,8 @@ "keywords": [

"bugs": {
"url": "https://github.com/ali-sdk/ali-oss/issues"
"url": "https://github.com/aliyun/oss-nodejs-sdk/issues"
},
"homepage": "https://github.com/ali-sdk/ali-oss",
"engines": {
"node": ">=1.0.0"
},
"homepage": "https://github.com/aliyun/oss-nodejs-sdk",
"devDependencies": {

@@ -34,0 +37,0 @@ "autod": "^2.1.3",

@@ -1,2 +0,2 @@

ali-oss
oss-nodejs-sdk
=======

@@ -11,13 +11,11 @@

[npm-url]: https://npmjs.org/package/ali-oss
[travis-image]: https://img.shields.io/travis/ali-sdk/ali-oss.svg?style=flat-square
[travis-url]: https://travis-ci.org/ali-sdk/ali-oss
[cov-image]: http://codecov.io/github/ali-sdk/ali-oss/coverage.svg?branch=master
[cov-url]: http://codecov.io/github/ali-sdk/ali-oss?branch=master
[david-image]: https://img.shields.io/david/ali-sdk/ali-oss.svg?style=flat-square
[david-url]: https://david-dm.org/ali-sdk/ali-oss
[travis-image]: https://img.shields.io/travis/aliyun/oss-nodejs-sdk.svg?style=flat-square
[travis-url]: https://travis-ci.org/aliyun/oss-nodejs-sdk
[cov-image]: http://codecov.io/github/aliyun/oss-nodejs-sdk/coverage.svg?branch=master
[cov-url]: http://codecov.io/github/aliyun/oss-nodejs-sdk?branch=master
[david-image]: https://img.shields.io/david/aliyun/oss-nodejs-sdk.svg?style=flat-square
[david-url]: https://david-dm.org/aliyun/oss-nodejs-sdk
aliyun OSS(open storage service) node client.
aliyun OSS(open storage service) Node.js client.
Sub module of [ali-sdk](https://github.com/ali-sdk/ali-sdk).
## Install

@@ -24,0 +22,0 @@

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