Skip to content

Commit

Permalink
3.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
di4urp committed Apr 6, 2022
1 parent 201b5c3 commit 0634524
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 21 deletions.
4 changes: 2 additions & 2 deletions dist/upyun.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* UPYUN js-sdk 3.4.5
* UPYUN js-sdk 3.4.6
* (c) 2022
* @license MIT
*/
Expand Down Expand Up @@ -188,7 +188,7 @@ function formUpload(remoteUrl, localFile, _ref) {
}

var name = "upyun";
var version = "3.4.5";
var version = "3.4.6";
var description = "UPYUN js sdk";
var main = "dist/upyun.common.js";
var module$1 = "dist/upyun.esm.js";
Expand Down
14 changes: 6 additions & 8 deletions dist/upyun.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* UPYUN js-sdk 3.4.5
* UPYUN js-sdk 3.4.6
* (c) 2022
* @license MIT
*/
Expand All @@ -13,14 +13,11 @@ var isBrowser = typeof window !== 'undefined' && (typeof process === 'undefined'
var PARTSIZE = 1024 * 1024;

var isPromise_1 = isPromise;
var default_1 = isPromise;

function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}

isPromise_1.default = default_1;

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};


Expand Down Expand Up @@ -1815,7 +1812,7 @@ function b64_hmac_sha1(k,d,_p,_z){
var hmacsha1 = b64_hmac_sha1;

var base64 = createCommonjsModule(function (module, exports) {
/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */
/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */
(function(root) {

// Detect free variables `exports`.
Expand Down Expand Up @@ -1908,6 +1905,7 @@ var base64 = createCommonjsModule(function (module, exports) {
var a;
var b;
var c;
var d;
var buffer;
// Make sure any padding is handled outside of the loop.
var length = input.length - padding;
Expand Down Expand Up @@ -1953,7 +1951,7 @@ var base64 = createCommonjsModule(function (module, exports) {
var base64 = {
'encode': encode,
'decode': decode,
'version': '1.0.0'
'version': '0.1.0'
};

// Some AMD build optimizers, like r.js, check for specific condition patterns
Expand Down Expand Up @@ -1982,7 +1980,7 @@ var base64 = createCommonjsModule(function (module, exports) {
});

var name = "upyun";
var version = "3.4.5";
var version = "3.4.6";
var description = "UPYUN js sdk";
var main = "dist/upyun.common.js";
var module$1 = "dist/upyun.esm.js";
Expand Down Expand Up @@ -2190,7 +2188,7 @@ var md5 = createCommonjsModule(function (module) {
message = utf8.stringToBytes(message);
else if (isBuffer(message))
message = Array.prototype.slice.call(message, 0);
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
else if (!Array.isArray(message))
message = message.toString();
// else, assume byte array already

Expand Down
14 changes: 6 additions & 8 deletions dist/upyun.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* UPYUN js-sdk 3.4.5
* UPYUN js-sdk 3.4.6
* (c) 2022
* @license MIT
*/
Expand All @@ -19,14 +19,11 @@ var isBrowser = typeof window !== 'undefined' && (typeof process === 'undefined'
var PARTSIZE = 1024 * 1024;

var isPromise_1 = isPromise;
var default_1 = isPromise;

function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}

isPromise_1.default = default_1;

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};


Expand Down Expand Up @@ -1821,7 +1818,7 @@ function b64_hmac_sha1(k,d,_p,_z){
var hmacsha1 = b64_hmac_sha1;

var base64 = createCommonjsModule(function (module, exports) {
/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */
/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */
(function(root) {

// Detect free variables `exports`.
Expand Down Expand Up @@ -1914,6 +1911,7 @@ var base64 = createCommonjsModule(function (module, exports) {
var a;
var b;
var c;
var d;
var buffer;
// Make sure any padding is handled outside of the loop.
var length = input.length - padding;
Expand Down Expand Up @@ -1959,7 +1957,7 @@ var base64 = createCommonjsModule(function (module, exports) {
var base64 = {
'encode': encode,
'decode': decode,
'version': '1.0.0'
'version': '0.1.0'
};

// Some AMD build optimizers, like r.js, check for specific condition patterns
Expand Down Expand Up @@ -1988,7 +1986,7 @@ var base64 = createCommonjsModule(function (module, exports) {
});

var name = "upyun";
var version = "3.4.5";
var version = "3.4.6";
var description = "UPYUN js sdk";
var main = "dist/upyun.common.js";
var module$1 = "dist/upyun.esm.js";
Expand Down Expand Up @@ -2196,7 +2194,7 @@ var md5 = createCommonjsModule(function (module) {
message = utf8.stringToBytes(message);
else if (isBuffer(message))
message = Array.prototype.slice.call(message, 0);
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
else if (!Array.isArray(message))
message = message.toString();
// else, assume byte array already

Expand Down
4 changes: 2 additions & 2 deletions dist/upyun.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upyun",
"version": "3.4.5",
"version": "3.4.6",
"description": "UPYUN js sdk",
"main": "dist/upyun.common.js",
"module": "dist/upyun.esm.js",
Expand Down

0 comments on commit 0634524

Please sign in to comment.