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

ali-oss

Package Overview
Dependencies
Maintainers
6
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 5.3.1 to 5.3.2

54

CHANGELOG.md

@@ -5,2 +5,56 @@ # Change Log

<a name="5.3.2"></a>
## [5.3.2](https://github.com/aliyun/oss-nodejs-sdk/compare/v5.1.0...v5.3.2) (2018-07-17)
### Bug Fixes
* should consume the response stream on error ([bc4620a](https://github.com/aliyun/oss-nodejs-sdk/commit/bc4620a))
<a name="5.3.0"></a>
# 5.3.0 (2018-06-20)
### Bug Fixes
* if browser support AbortController api , stream-http timeout err ([#466](https://github.com/aliyun/oss-nodejs-sdk/issues/466)) ([69ad003](https://github.com/aliyun/oss-nodejs-sdk/commit/69ad003))
* modify config to support ip visit about example ([#486](https://github.com/aliyun/oss-nodejs-sdk/issues/486)) ([304bdbb](https://github.com/aliyun/oss-nodejs-sdk/commit/304bdbb))
* remove replace %20 to '+' ([#489](https://github.com/aliyun/oss-nodejs-sdk/issues/489)) ([22363d0](https://github.com/aliyun/oss-nodejs-sdk/commit/22363d0))
* repair timeout excepiton ([#481](https://github.com/aliyun/oss-nodejs-sdk/issues/481)) ([ec8ae25](https://github.com/aliyun/oss-nodejs-sdk/commit/ec8ae25))
* rtml generate url ([#463](https://github.com/aliyun/oss-nodejs-sdk/issues/463)) ([53f1f0c](https://github.com/aliyun/oss-nodejs-sdk/commit/53f1f0c))
* signatureUrl With response settings ([#465](https://github.com/aliyun/oss-nodejs-sdk/issues/465)) ([3bf1be7](https://github.com/aliyun/oss-nodejs-sdk/commit/3bf1be7))
* support ipv6 address when set endpoint ([#482](https://github.com/aliyun/oss-nodejs-sdk/issues/482)) ([1c7616d](https://github.com/aliyun/oss-nodejs-sdk/commit/1c7616d))
### Features
* add sample about cname's usage ([#453](https://github.com/aliyun/oss-nodejs-sdk/issues/453)) ([54db574](https://github.com/aliyun/oss-nodejs-sdk/commit/54db574))
* publish CDN check script ([#452](https://github.com/aliyun/oss-nodejs-sdk/issues/452)) ([3190ce6](https://github.com/aliyun/oss-nodejs-sdk/commit/3190ce6))
* restore object api and support to create archvie bucket ([#450](https://github.com/aliyun/oss-nodejs-sdk/issues/450)) ([79eb5ef](https://github.com/aliyun/oss-nodejs-sdk/commit/79eb5ef))
<a name="5.1.1"></a>
## 5.1.1 (2018-04-16)
### Bug Fixes
* **Browser:** multipartUpload callback resumble parse error ([#442](https://github.com/aliyun/oss-nodejs-sdk/issues/442)) ([e22ecf6](https://github.com/aliyun/oss-nodejs-sdk/commit/e22ecf6))
* **Browser:** signatureUrl with content-type and content-md5 ([#441](https://github.com/aliyun/oss-nodejs-sdk/issues/441)) ([50f0093](https://github.com/aliyun/oss-nodejs-sdk/commit/50f0093))
### Features
* example base64 to blob and doc ([#434](https://github.com/aliyun/oss-nodejs-sdk/issues/434)) ([37f65f0](https://github.com/aliyun/oss-nodejs-sdk/commit/37f65f0))
<a name="5.1.0"></a>
# 5.1.0 (2018-04-14)
<a name="5.3.1"></a>

@@ -7,0 +61,0 @@ ## [5.3.1](https://github.com/aliyun/oss-nodejs-sdk/compare/v5.1.0...v5.3.1) (2018-06-27)

2

lib/browser/version.js

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

exports.version="5.3.1"
exports.version="5.3.2"
const debug = require('debug')('ali-oss');
const sendToWormhole = require('stream-wormhole');
const crypto = require('crypto');

@@ -10,2 +11,3 @@ const path = require('path');

const AgentKeepalive = require('agentkeepalive');
const HttpsAgentKeepalive = require('agentkeepalive').HttpsAgent;
const merge = require('merge-descriptors');

@@ -21,5 +23,6 @@ const urlutil = require('url');

const signUtils = require('./common/signUtils');
const utils = require('./common/utils');
const utils = require('./common/utils');
const globalHttpAgent = new AgentKeepalive();
const globalHttpsAgent = new HttpsAgentKeepalive();

@@ -73,2 +76,3 @@ function getHeader(headers, name) {

this.agent = this.options.agent || globalHttpAgent;
this.httpsAgent = this.options.httpsAgent || globalHttpsAgent;
}

@@ -262,3 +266,2 @@ this.ctx = ctx;

const reqParams = {
agent: this.agent,
method: params.method,

@@ -273,2 +276,8 @@ content: params.content,

};
if (this.agent) {
reqParams.agent = this.agent;
}
if (this.httpsAgent) {
reqParams.httpsAgent = this.httpsAgent;
}

@@ -319,2 +328,6 @@ return {

if (err) {
if (params.customResponse && result && result.res) {
// consume the response stream
yield sendToWormhole(result.res);
}
throw err;

@@ -338,3 +351,3 @@ }

proto._isIP = function _isIP(host) {
return utils._isIP(host)
return utils._isIP(host);
};

@@ -341,0 +354,0 @@

{
"name": "ali-oss",
"version": "5.3.1",
"version": "5.3.2",
"description": "aliyun oss(object storage service) node client",

@@ -57,2 +57,5 @@ "main": "lib/client.js",

},
"publishConfig": {
"tag": "latest-5"
},
"homepage": "https://github.com/aliyun/oss-nodejs-sdk",

@@ -103,3 +106,4 @@ "devDependencies": {

"address": "^1.0.0",
"agentkeepalive": "^2.1.1",
"agentkeepalive": "^3.4.1",
"any-promise": "^1.3.0",
"bowser": "^1.6.0",

@@ -121,10 +125,11 @@ "co": "^4.6.0",

"mime": "^1.3.4",
"mz-modules": "^2.1.0",
"platform": "^1.3.1",
"sdk-base": "^2.0.1",
"stream-http": "2.8.2",
"stream-wormhole": "^1.0.4",
"urllib": "^2.17.1",
"utility": "^1.8.0",
"xml2js": "^0.4.16",
"stream-http": "2.8.2",
"any-promise": "^1.3.0"
"xml2js": "^0.4.16"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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