From 9deb7b8109d2906f452d6e7e5354b88f21c523ee Mon Sep 17 00:00:00 2001 From: chrisftian Date: Thu, 27 Jul 2023 16:50:26 +0800 Subject: [PATCH] Dev/2.12.3 (#180) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 新增cov命令 * fix: 补充d.ts * feat: 补充ci智能语音和云查毒接口 * fix: 修复Body类型 * fix: 更新依赖库版本 * upd: version * fix: 恢复版本 * upd: 新增单测 * upd: 新增单测 * upd: 新增单测 * upd: 新增单测 * upd: 补充单测 * upd: 补充单测 * upd: 补充单测 * feat: uploadSliceItem透传headers * upd: 补充单测 * upd: 补充单测 * upd: 更好xml2js * feat: 默认关闭FollowRedirect * upd: 补充图片处理、存储桶配置、文档处理、文件处理nodejs sdk (merge request !3) Squash merge branch 'dev/xueyunzhou' into 'master' upd: 补充图片处理、存储桶配置、文档处理、文件处理nodejs sdk * fix: 更新XMLParser配置 * fix: 更新XMLParser配置 * fix: 优化d.ts * feat: 优化万象demo (merge request !4) Squash merge branch 'dev/demo' into 'master' * feat: 更新依赖 * fix: 优化单测 * fix: 修复分块复制headers不正确 --------- Co-authored-by: zhouxueyun --- package.json | 2 +- sdk/advance.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 027aeab..4f89986 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cos-nodejs-sdk-v5", - "version": "2.12.2", + "version": "2.12.3", "description": "cos nodejs sdk v5", "main": "index.js", "types": "index.d.ts", diff --git a/sdk/advance.js b/sdk/advance.js index 530c5fe..cf8ea44 100644 --- a/sdk/advance.js +++ b/sdk/advance.js @@ -1140,7 +1140,6 @@ function sliceCopyFile(params, callback) { params.PartList = list; })(); - var TargetHeader; if (params.Headers['x-cos-metadata-directive'] === 'Replaced') { TargetHeader = params.Headers; } else {