Skip to content

Commit 20f40a7

Browse files
committed
chore: bump 6.7.0
1 parent cef1840 commit 20f40a7

File tree

6 files changed

+34
-14
lines changed

6 files changed

+34
-14
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="6.7.0"></a>
6+
# [6.7.0](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.5.0...v6.7.0) (2020-04-17)
7+
8+
9+
### Bug Fixes
10+
11+
* _signatureForURL bug ([#772](https://github.com/aliyun/oss-nodejs-sdk/issues/772)) ([cef1840](https://github.com/aliyun/oss-nodejs-sdk/commit/cef1840))
12+
* not use compress lib ([ab73899](https://github.com/aliyun/oss-nodejs-sdk/commit/ab73899))
13+
14+
15+
### Features
16+
17+
* bump 6.4.0 ([#722](https://github.com/aliyun/oss-nodejs-sdk/issues/722)) ([f63e40b](https://github.com/aliyun/oss-nodejs-sdk/commit/f63e40b)), closes [#698](https://github.com/aliyun/oss-nodejs-sdk/issues/698) [#703](https://github.com/aliyun/oss-nodejs-sdk/issues/703) [#701](https://github.com/aliyun/oss-nodejs-sdk/issues/701) [#709](https://github.com/aliyun/oss-nodejs-sdk/issues/709) [#712](https://github.com/aliyun/oss-nodejs-sdk/issues/712) [#719](https://github.com/aliyun/oss-nodejs-sdk/issues/719) [#718](https://github.com/aliyun/oss-nodejs-sdk/issues/718) [#715](https://github.com/aliyun/oss-nodejs-sdk/issues/715) [#707](https://github.com/aliyun/oss-nodejs-sdk/issues/707) [#721](https://github.com/aliyun/oss-nodejs-sdk/issues/721)
18+
19+
20+
521
<a name="6.6.0"></a>
622
# [6.6.0](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.5.0...v6.6.0) (2020-04-07)
723

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"package.json"
99
],
1010
"main": "dist/aliyun-oss-sdk.js",
11-
"version": "6.6.0"
11+
"version": "6.7.0"
1212
}

dist/aliyun-oss-sdk.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Aliyun OSS SDK for JavaScript v6.6.0
1+
// Aliyun OSS SDK for JavaScript v6.7.0
22
// Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved.
33
// License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE
44
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.OSS = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -1983,7 +1983,7 @@ proto._deleteFileSafe = function _deleteFileSafe(filepath) {
19831983
},{"../common/callback":12,"../common/image":14,"../common/object/copyObject":17,"../common/object/deleteObjectTagging":18,"../common/object/getObjectTagging":19,"../common/object/putObjectTagging":20,"../common/signUtils":22,"babel-runtime/core-js/object/keys":45,"babel-runtime/core-js/promise":46,"babel-runtime/regenerator":55,"copy-to":63,"fs":58,"is-type-of":223,"merge-descriptors":227,"mime":323,"path":236,"url":269,"utility":324}],5:[function(require,module,exports){
19841984
"use strict";
19851985

1986-
exports.version = "6.6.0";
1986+
exports.version = "6.7.0";
19871987

19881988
},{}],6:[function(require,module,exports){
19891989
'use strict';
@@ -3628,9 +3628,15 @@ exports.authorization = function authorization(accessKeyId, accessKeySecret, can
36283628
* @param {String} resource
36293629
* @param {Number} expires
36303630
*/
3631-
exports._signatureForURL = function _signatureForURL(accessKeySecret, options, resource, expires) {
3631+
exports._signatureForURL = function _signatureForURL(accessKeySecret) {
3632+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
3633+
var resource = arguments[2];
3634+
var expires = arguments[3];
3635+
36323636
var headers = {};
3633-
var subResource = {};
3637+
var _options$subResource = options.subResource,
3638+
subResource = _options$subResource === undefined ? {} : _options$subResource;
3639+
36343640

36353641
if (options.process) {
36363642
var processKeyword = 'x-oss-process';
@@ -3658,8 +3664,6 @@ exports._signatureForURL = function _signatureForURL(accessKeySecret, options, r
36583664
headers[key] = value;
36593665
} else if (lowerKey.indexOf('content-type') === 0) {
36603666
headers[key] = value;
3661-
} else if (lowerKey !== 'expires' && lowerKey !== 'response' && lowerKey !== 'process' && lowerKey !== 'method' && lowerKey !== 'trafficlimit') {
3662-
subResource[lowerKey] = value;
36633667
}
36643668
});
36653669

dist/aliyun-oss-sdk.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/browser/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
exports.version="6.6.0"
1+
exports.version="6.7.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ali-oss",
3-
"version": "6.6.0",
3+
"version": "6.7.0",
44
"description": "aliyun oss(object storage service) node client",
55
"main": "lib/client.js",
66
"files": [

0 commit comments

Comments
 (0)