fix(core): update
This commit is contained in:
parent
43d29947c5
commit
9dbd19d1a9
6
package-lock.json
generated
6
package-lock.json
generated
@ -1179,9 +1179,9 @@
|
||||
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
||||
},
|
||||
"minio": {
|
||||
"version": "7.0.12",
|
||||
"resolved": "https://verdaccio.lossless.one/minio/-/minio-7.0.12.tgz",
|
||||
"integrity": "sha512-mTa8bc2X1vcKwbzvNMNk/DHkuSrlfjlG3aA8IA1qihlH73XbwiloX/6skCabmDvrmmt6cx6pytaBJZmp4OMwnw==",
|
||||
"version": "7.0.16",
|
||||
"resolved": "https://verdaccio.lossless.one/minio/-/minio-7.0.16.tgz",
|
||||
"integrity": "sha512-OgCJ3XVMzukSqoMFBiBDeyz30BxYTBM9yRLVRBCExTb+QKVxJh4DnUOS2/zw7OPeDyXXEvYSzDvg4FkCf1Cxyw==",
|
||||
"requires": {
|
||||
"async": "^3.1.0",
|
||||
"block-stream2": "^2.0.0",
|
||||
|
@ -25,7 +25,7 @@
|
||||
"@pushrocks/smartrx": "^2.0.5",
|
||||
"@pushrocks/streamfunction": "^1.0.24",
|
||||
"@types/minio": "^7.0.5",
|
||||
"minio": "7.0.12"
|
||||
"minio": "^7.0.16"
|
||||
},
|
||||
"private": false,
|
||||
"files": [
|
||||
|
@ -57,7 +57,7 @@ export class Directory {
|
||||
*/
|
||||
public async listFiles(): Promise<File[]> {
|
||||
const done = plugins.smartpromise.defer();
|
||||
const fileNameStream = await this.bucketRef.smartbucketRef.minioClient.listObjectsV2(
|
||||
const fileNameStream = await this.bucketRef.smartbucketRef.minioClient.listObjects(
|
||||
this.bucketRef.name,
|
||||
this.getBasePath()
|
||||
);
|
||||
@ -89,7 +89,7 @@ export class Directory {
|
||||
*/
|
||||
public async listDirectories(): Promise<Directory[]> {
|
||||
const done = plugins.smartpromise.defer();
|
||||
const completeDirStream = await this.bucketRef.smartbucketRef.minioClient.listObjectsV2(
|
||||
const completeDirStream = await this.bucketRef.smartbucketRef.minioClient.listObjects(
|
||||
this.bucketRef.name,
|
||||
this.getBasePath(),
|
||||
true
|
||||
@ -122,7 +122,7 @@ export class Directory {
|
||||
* gets an array that has all objects with a certain prefix;
|
||||
*/
|
||||
public async getTreeArray() {
|
||||
const treeArray = await this.bucketRef.smartbucketRef.minioClient.listObjectsV2(
|
||||
const treeArray = await this.bucketRef.smartbucketRef.minioClient.listObjects(
|
||||
this.bucketRef.name,
|
||||
this.getBasePath(),
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user