doomistorage 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cosfile.js +0 -1
- package/package.json +3 -3
- package/src/cosfile.ts +0 -1
package/dist/cosfile.js
CHANGED
|
@@ -61,7 +61,6 @@ class CosFile extends file_1.FileBase {
|
|
|
61
61
|
saveFileStream(file, fileName, saveOption, userInfo) {
|
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
63
63
|
const destinationFileName = this.getSaveFileName(saveOption, fileName, userInfo);
|
|
64
|
-
console.log('InStorage saveFileStream', saveOption);
|
|
65
64
|
return new Promise((resolve) => {
|
|
66
65
|
if (saveOption.reRead) {
|
|
67
66
|
let dataArr = [], //存储读取的结果集合
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doomistorage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"typescript": "^5.0.2"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"axios": "^1.
|
|
21
|
-
"cos-nodejs-sdk-v5": "^2.
|
|
20
|
+
"axios": "^1.8.4",
|
|
21
|
+
"cos-nodejs-sdk-v5": "^2.16.0-beta.8",
|
|
22
22
|
"moment": "^2.29.4",
|
|
23
23
|
"multer": "^1.4.5-lts.1",
|
|
24
24
|
"node-uuid": "^1.4.8"
|
package/src/cosfile.ts
CHANGED
|
@@ -49,7 +49,6 @@ export class CosFile extends FileBase {
|
|
|
49
49
|
*/
|
|
50
50
|
async saveFileStream(file: any, fileName: any, saveOption: FileConfig, userInfo: any): Promise<FileResult> {
|
|
51
51
|
const destinationFileName = this.getSaveFileName(saveOption, fileName, userInfo);
|
|
52
|
-
console.log('InStorage saveFileStream', saveOption)
|
|
53
52
|
return new Promise((resolve) => {
|
|
54
53
|
if (saveOption.reRead) {
|
|
55
54
|
let dataArr: any = [],//存储读取的结果集合
|