Skip to content

Commit

Permalink
fix webpack require error
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Aug 18, 2019
1 parent 6c9a10c commit 3b37f51
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -2003,7 +2003,7 @@ base.init(COS, task);
advance.init(COS, task);

COS.getAuthorization = util.getAuth;
COS.version = '0.5.18';
COS.version = '0.5.19';

module.exports = COS;

Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cos-js-sdk-v5",
"version": "0.5.18",
"version": "0.5.19",
"description": "JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)",
"main": "index.js",
"scripts": {
Expand All @@ -21,16 +21,16 @@
},
"homepage": "https://github.com/tencentyun/cos-js-sdk-v5#readme",
"dependencies": {
"body-parser": "^1.18.3",
"qcloud-cos-sts": "^3.0.2",
"express": "^4.16.4"
"xmldom": "^0.1.27"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"body-parser": "^1.18.3",
"cross-env": "^5.2.0",
"express": "^4.16.4",
"qcloud-cos-sts": "^3.0.2",
"request": "^2.87.0",
"webpack": "^3.8.1",
"xmldom": "^0.1.27"
"webpack": "^3.8.1"
}
}
2 changes: 1 addition & 1 deletion src/cos.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ base.init(COS, task);
advance.init(COS, task);

COS.getAuthorization = util.getAuth;
COS.version = '0.5.18';
COS.version = '0.5.19';

module.exports = COS;

0 comments on commit 3b37f51

Please sign in to comment.