dfs-adapter 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/lib/minio.js +1 -1
  2. package/package.json +39 -39
package/lib/minio.js CHANGED
@@ -54,7 +54,7 @@ class MinioDfs extends declare_1.Dfs {
54
54
  return __awaiter(this, void 0, void 0, function* () {
55
55
  try {
56
56
  this.timeBegin(`upload ${path}`);
57
- this.client.putObject(this.options.bucketName, path, buffer, ...args);
57
+ yield this.client.putObject(this.options.bucketName, path, buffer, ...args);
58
58
  return _super.upload.call(this, path, buffer, ...args);
59
59
  }
60
60
  finally {
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "name": "dfs-adapter",
3
- "version": "0.0.2",
4
- "description": "oss minio dfs native",
5
- "main": "./lib/index",
6
- "files": [
7
- "lib/"
8
- ],
9
- "scripts": {
10
- "test": "node bin/app.js",
11
- "build": "tsc --build tsconfig.json",
12
- "run": "npm run build && node bin/app.js"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git@codeup.aliyun.com:60b0836844816b8ed2335ed6/vweb/modules/mq-adapter.git"
17
- },
18
- "devDependencies": {
19
- "@babel/cli": "^7.16.0",
20
- "@babel/core": "^7.16.0",
21
- "@babel/plugin-proposal-decorators": "^7.16.4",
22
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
23
- "@babel/plugin-transform-runtime": "^7.16.4",
24
- "@babel/preset-env": "^7.16.4",
25
- "@babel/register": "^7.16.0",
26
- "@babel/runtime": "^7.16.3",
27
- "@types/ali-oss": "^6.16.3",
28
- "@types/node": "^16.11.12",
29
- "ali-oss": "^6.18.1",
30
- "axios": "^1.6.1",
31
- "babel-plugin-transform-decorators-legacy": "^1.3.5",
32
- "form-data": "^4.0.0",
33
- "minio": "^7.1.3",
34
- "vweb-core": "^3.0.14",
35
- "vweb-mvc": "^1.2.18"
36
- },
37
- "author": "",
38
- "license": "ISC"
39
- }
1
+ {
2
+ "name": "dfs-adapter",
3
+ "version": "0.0.3",
4
+ "description": "oss minio dfs native",
5
+ "main": "./lib/index",
6
+ "files": [
7
+ "lib/"
8
+ ],
9
+ "scripts": {
10
+ "test": "node bin/app.js",
11
+ "build": "tsc --build tsconfig.json",
12
+ "run": "npm run build && node bin/app.js"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git@codeup.aliyun.com:60b0836844816b8ed2335ed6/vweb/modules/mq-adapter.git"
17
+ },
18
+ "devDependencies": {
19
+ "@babel/cli": "^7.16.0",
20
+ "@babel/core": "^7.16.0",
21
+ "@babel/plugin-proposal-decorators": "^7.16.4",
22
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
23
+ "@babel/plugin-transform-runtime": "^7.16.4",
24
+ "@babel/preset-env": "^7.16.4",
25
+ "@babel/register": "^7.16.0",
26
+ "@babel/runtime": "^7.16.3",
27
+ "@types/ali-oss": "^6.16.3",
28
+ "@types/node": "^16.11.12",
29
+ "ali-oss": "^6.18.1",
30
+ "axios": "^1.6.1",
31
+ "babel-plugin-transform-decorators-legacy": "^1.3.5",
32
+ "form-data": "^4.0.0",
33
+ "minio": "^7.1.3",
34
+ "vweb-core": "^3.0.14",
35
+ "vweb-mvc": "^1.2.18"
36
+ },
37
+ "author": "",
38
+ "license": "ISC"
39
+ }