@baiducloud/sdk
Advanced tools
Comparing version 1.0.0-rc.34 to 1.0.0-rc.35
# CHANGELOG | ||
## 1.0.0-rc.35(2022-05-05) | ||
- BOSClient: Just keep an array of all of buffers and concat at the end. | ||
## 1.0.0-rc.34(2021-12-15) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@baiducloud/sdk", | ||
"version": "1.0.0-rc.34", | ||
"version": "1.0.0-rc.35", | ||
"description": "Baidu Cloud Engine JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -536,3 +536,3 @@ /** | ||
}).then(function (response) { | ||
response.body = outputStream.store; | ||
response.body = Buffer.concat(outputStream); | ||
return response; | ||
@@ -539,0 +539,0 @@ }); |
@@ -31,3 +31,3 @@ /** | ||
this.store = new Buffer(''); | ||
this.store = []; | ||
} | ||
@@ -38,3 +38,3 @@ util.inherits(WMStream, stream.Writable); | ||
var buffer = Buffer.isBuffer(chunk) ? chunk : new Buffer(chunk, enc); | ||
this.store = Buffer.concat([this.store, buffer]); | ||
this.store.push(buffer); | ||
@@ -41,0 +41,0 @@ cb(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
3215425
61924
1