update smartbucket dependency to version 4.3.0 and refactor listObjects method for improved performance
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@push.rocks/qenv": "^6.1.3",
|
"@push.rocks/qenv": "^6.1.3",
|
||||||
"@push.rocks/smartbucket": "^4.0.0",
|
"@push.rocks/smartbucket": "^4.3.0",
|
||||||
"@push.rocks/smartpath": "^6.0.0"
|
"@push.rocks/smartpath": "^6.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
146
pnpm-lock.yaml
generated
146
pnpm-lock.yaml
generated
@@ -12,8 +12,8 @@ importers:
|
|||||||
specifier: ^6.1.3
|
specifier: ^6.1.3
|
||||||
version: 6.1.3
|
version: 6.1.3
|
||||||
'@push.rocks/smartbucket':
|
'@push.rocks/smartbucket':
|
||||||
specifier: ^4.0.0
|
specifier: ^4.3.0
|
||||||
version: 4.0.0
|
version: 4.3.0
|
||||||
'@push.rocks/smartpath':
|
'@push.rocks/smartpath':
|
||||||
specifier: ^6.0.0
|
specifier: ^6.0.0
|
||||||
version: 6.0.0
|
version: 6.0.0
|
||||||
@@ -700,8 +700,8 @@ packages:
|
|||||||
'@push.rocks/smartbucket@3.3.10':
|
'@push.rocks/smartbucket@3.3.10':
|
||||||
resolution: {integrity: sha512-0H2MioALspC8Aj0Q1FPCs2w4k2u9oJg7Q5yM8+1TZo7aRfrdxgM5HQ7z3apUaqC3ZEDewW6vSlttjHFHhMEC3A==}
|
resolution: {integrity: sha512-0H2MioALspC8Aj0Q1FPCs2w4k2u9oJg7Q5yM8+1TZo7aRfrdxgM5HQ7z3apUaqC3ZEDewW6vSlttjHFHhMEC3A==}
|
||||||
|
|
||||||
'@push.rocks/smartbucket@4.0.0':
|
'@push.rocks/smartbucket@4.3.0':
|
||||||
resolution: {integrity: sha512-0Sc4W5UDNT4FcJQaj3WvFK3px93c5y5PUQAk92juYbEzptfypJhPBDGzwOpMgs0KE1Jjra7zAlQLk2iUQmcylw==}
|
resolution: {integrity: sha512-4nstzEduCKou4R5ekKH6kUjDZXWfrtjA1hIQ4MJmTbtncmm2+4+ixjaFThS2nS8Aa+fHcBgOtKkBv8wTsgvK/Q==}
|
||||||
|
|
||||||
'@push.rocks/smartbuffer@3.0.5':
|
'@push.rocks/smartbuffer@3.0.5':
|
||||||
resolution: {integrity: sha512-pWYF08Mn8s/KF/9nHRk7pZPzuMjmYVQay2c5gGexdayxn1W4eCSYYhWH73vR2JBfGeGq/izbRNuUuEaIEeTIKA==}
|
resolution: {integrity: sha512-pWYF08Mn8s/KF/9nHRk7pZPzuMjmYVQay2c5gGexdayxn1W4eCSYYhWH73vR2JBfGeGq/izbRNuUuEaIEeTIKA==}
|
||||||
@@ -1107,10 +1107,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-ezHLe1tKLUxDJo2LHtDuEDyWXolw8WGOR92qb4bQdWq/zKenO5BvctZGrVJBK08zjezSk7bmbKFOXIVyChvDLw==}
|
resolution: {integrity: sha512-ezHLe1tKLUxDJo2LHtDuEDyWXolw8WGOR92qb4bQdWq/zKenO5BvctZGrVJBK08zjezSk7bmbKFOXIVyChvDLw==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/core@3.18.4':
|
|
||||||
resolution: {integrity: sha512-o5tMqPZILBvvROfC8vC+dSVnWJl9a0u9ax1i1+Bq8515eYjUJqqk5XjjEsDLoeL5dSqGSh6WGdVx1eJ1E/Nwhw==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/core@3.18.5':
|
'@smithy/core@3.18.5':
|
||||||
resolution: {integrity: sha512-6gnIz3h+PEPQGDj8MnRSjDvKBah042jEoPgjFGJ4iJLBE78L4lY/n98x14XyPF4u3lN179Ub/ZKFY5za9GeLQw==}
|
resolution: {integrity: sha512-6gnIz3h+PEPQGDj8MnRSjDvKBah042jEoPgjFGJ4iJLBE78L4lY/n98x14XyPF4u3lN179Ub/ZKFY5za9GeLQw==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
@@ -1175,18 +1171,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-Y/RabVa5vbl5FuHYV2vUCwvh/dqzrEY/K2yWPSqvhFUwIY0atLqO4TienjBXakoy4zrKAMCZwg+YEqmH7jaN7A==}
|
resolution: {integrity: sha512-Y/RabVa5vbl5FuHYV2vUCwvh/dqzrEY/K2yWPSqvhFUwIY0atLqO4TienjBXakoy4zrKAMCZwg+YEqmH7jaN7A==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/middleware-endpoint@4.3.11':
|
|
||||||
resolution: {integrity: sha512-eJXq9VJzEer1W7EQh3HY2PDJdEcEUnv6sKuNt4eVjyeNWcQFS4KmnY+CKkYOIR6tSqarn6bjjCqg1UB+8UJiPQ==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/middleware-endpoint@4.3.12':
|
'@smithy/middleware-endpoint@4.3.12':
|
||||||
resolution: {integrity: sha512-9pAX/H+VQPzNbouhDhkW723igBMLgrI8OtX+++M7iKJgg/zY/Ig3i1e6seCcx22FWhE6Q/S61BRdi2wXBORT+A==}
|
resolution: {integrity: sha512-9pAX/H+VQPzNbouhDhkW723igBMLgrI8OtX+++M7iKJgg/zY/Ig3i1e6seCcx22FWhE6Q/S61BRdi2wXBORT+A==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/middleware-retry@4.4.11':
|
|
||||||
resolution: {integrity: sha512-EL5OQHvFOKneJVRgzRW4lU7yidSwp/vRJOe542bHgExN3KNThr1rlg0iE4k4SnA+ohC+qlUxoK+smKeAYPzfAQ==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/middleware-retry@4.4.12':
|
'@smithy/middleware-retry@4.4.12':
|
||||||
resolution: {integrity: sha512-S4kWNKFowYd0lID7/DBqWHOQxmxlsf0jBaos9chQZUWTVOjSW1Ogyh8/ib5tM+agFDJ/TCxuCTvrnlc+9cIBcQ==}
|
resolution: {integrity: sha512-S4kWNKFowYd0lID7/DBqWHOQxmxlsf0jBaos9chQZUWTVOjSW1Ogyh8/ib5tM+agFDJ/TCxuCTvrnlc+9cIBcQ==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
@@ -1235,10 +1223,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w==}
|
resolution: {integrity: sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/smithy-client@4.9.7':
|
|
||||||
resolution: {integrity: sha512-pskaE4kg0P9xNQWihfqlTMyxyFR3CH6Sr6keHYghgyqqDXzjl2QJg5lAzuVe/LzZiOzcbcVtxKYi1/fZPt/3DA==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/smithy-client@4.9.8':
|
'@smithy/smithy-client@4.9.8':
|
||||||
resolution: {integrity: sha512-8xgq3LgKDEFoIrLWBho/oYKyWByw9/corz7vuh1upv7ZBm0ZMjGYBhbn6v643WoIqA9UTcx5A5htEp/YatUwMA==}
|
resolution: {integrity: sha512-8xgq3LgKDEFoIrLWBho/oYKyWByw9/corz7vuh1upv7ZBm0ZMjGYBhbn6v643WoIqA9UTcx5A5htEp/YatUwMA==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
@@ -1275,18 +1259,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q==}
|
resolution: {integrity: sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-browser@4.3.10':
|
|
||||||
resolution: {integrity: sha512-3iA3JVO1VLrP21FsZZpMCeF93aqP3uIOMvymAT3qHIJz2YlgDeRvNUspFwCNqd/j3qqILQJGtsVQnJZICh/9YA==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-browser@4.3.11':
|
'@smithy/util-defaults-mode-browser@4.3.11':
|
||||||
resolution: {integrity: sha512-yHv+r6wSQXEXTPVCIQTNmXVWs7ekBTpMVErjqZoWkYN75HIFN5y9+/+sYOejfAuvxWGvgzgxbTHa/oz61YTbKw==}
|
resolution: {integrity: sha512-yHv+r6wSQXEXTPVCIQTNmXVWs7ekBTpMVErjqZoWkYN75HIFN5y9+/+sYOejfAuvxWGvgzgxbTHa/oz61YTbKw==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-node@4.2.13':
|
|
||||||
resolution: {integrity: sha512-PTc6IpnpSGASuzZAgyUtaVfOFpU0jBD2mcGwrgDuHf7PlFgt5TIPxCYBDbFQs06jxgeV3kd/d/sok1pzV0nJRg==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-node@4.2.14':
|
'@smithy/util-defaults-mode-node@4.2.14':
|
||||||
resolution: {integrity: sha512-ljZN3iRvaJUgulfvobIuG97q1iUuCMrvXAlkZ4msY+ZuVHQHDIqn7FKZCEj+bx8omz6kF5yQXms/xhzjIO5XiA==}
|
resolution: {integrity: sha512-ljZN3iRvaJUgulfvobIuG97q1iUuCMrvXAlkZ4msY+ZuVHQHDIqn7FKZCEj+bx8omz6kF5yQXms/xhzjIO5XiA==}
|
||||||
engines: {node: '>=18.0.0'}
|
engines: {node: '>=18.0.0'}
|
||||||
@@ -3881,7 +3857,7 @@ snapshots:
|
|||||||
'@aws-sdk/util-user-agent-browser': 3.930.0
|
'@aws-sdk/util-user-agent-browser': 3.930.0
|
||||||
'@aws-sdk/util-user-agent-node': 3.934.0
|
'@aws-sdk/util-user-agent-node': 3.934.0
|
||||||
'@smithy/config-resolver': 4.4.3
|
'@smithy/config-resolver': 4.4.3
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/eventstream-serde-browser': 4.2.5
|
'@smithy/eventstream-serde-browser': 4.2.5
|
||||||
'@smithy/eventstream-serde-config-resolver': 4.3.5
|
'@smithy/eventstream-serde-config-resolver': 4.3.5
|
||||||
'@smithy/eventstream-serde-node': 4.2.5
|
'@smithy/eventstream-serde-node': 4.2.5
|
||||||
@@ -3892,21 +3868,21 @@ snapshots:
|
|||||||
'@smithy/invalid-dependency': 4.2.5
|
'@smithy/invalid-dependency': 4.2.5
|
||||||
'@smithy/md5-js': 4.2.5
|
'@smithy/md5-js': 4.2.5
|
||||||
'@smithy/middleware-content-length': 4.2.5
|
'@smithy/middleware-content-length': 4.2.5
|
||||||
'@smithy/middleware-endpoint': 4.3.11
|
'@smithy/middleware-endpoint': 4.3.12
|
||||||
'@smithy/middleware-retry': 4.4.11
|
'@smithy/middleware-retry': 4.4.12
|
||||||
'@smithy/middleware-serde': 4.2.6
|
'@smithy/middleware-serde': 4.2.6
|
||||||
'@smithy/middleware-stack': 4.2.5
|
'@smithy/middleware-stack': 4.2.5
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
'@smithy/node-http-handler': 4.4.5
|
'@smithy/node-http-handler': 4.4.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/url-parser': 4.2.5
|
'@smithy/url-parser': 4.2.5
|
||||||
'@smithy/util-base64': 4.3.0
|
'@smithy/util-base64': 4.3.0
|
||||||
'@smithy/util-body-length-browser': 4.2.0
|
'@smithy/util-body-length-browser': 4.2.0
|
||||||
'@smithy/util-body-length-node': 4.2.1
|
'@smithy/util-body-length-node': 4.2.1
|
||||||
'@smithy/util-defaults-mode-browser': 4.3.10
|
'@smithy/util-defaults-mode-browser': 4.3.11
|
||||||
'@smithy/util-defaults-mode-node': 4.2.13
|
'@smithy/util-defaults-mode-node': 4.2.14
|
||||||
'@smithy/util-endpoints': 3.2.5
|
'@smithy/util-endpoints': 3.2.5
|
||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
'@smithy/util-retry': 4.2.5
|
'@smithy/util-retry': 4.2.5
|
||||||
@@ -3992,26 +3968,26 @@ snapshots:
|
|||||||
'@aws-sdk/util-user-agent-browser': 3.930.0
|
'@aws-sdk/util-user-agent-browser': 3.930.0
|
||||||
'@aws-sdk/util-user-agent-node': 3.934.0
|
'@aws-sdk/util-user-agent-node': 3.934.0
|
||||||
'@smithy/config-resolver': 4.4.3
|
'@smithy/config-resolver': 4.4.3
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/fetch-http-handler': 5.3.6
|
'@smithy/fetch-http-handler': 5.3.6
|
||||||
'@smithy/hash-node': 4.2.5
|
'@smithy/hash-node': 4.2.5
|
||||||
'@smithy/invalid-dependency': 4.2.5
|
'@smithy/invalid-dependency': 4.2.5
|
||||||
'@smithy/middleware-content-length': 4.2.5
|
'@smithy/middleware-content-length': 4.2.5
|
||||||
'@smithy/middleware-endpoint': 4.3.11
|
'@smithy/middleware-endpoint': 4.3.12
|
||||||
'@smithy/middleware-retry': 4.4.11
|
'@smithy/middleware-retry': 4.4.12
|
||||||
'@smithy/middleware-serde': 4.2.6
|
'@smithy/middleware-serde': 4.2.6
|
||||||
'@smithy/middleware-stack': 4.2.5
|
'@smithy/middleware-stack': 4.2.5
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
'@smithy/node-http-handler': 4.4.5
|
'@smithy/node-http-handler': 4.4.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/url-parser': 4.2.5
|
'@smithy/url-parser': 4.2.5
|
||||||
'@smithy/util-base64': 4.3.0
|
'@smithy/util-base64': 4.3.0
|
||||||
'@smithy/util-body-length-browser': 4.2.0
|
'@smithy/util-body-length-browser': 4.2.0
|
||||||
'@smithy/util-body-length-node': 4.2.1
|
'@smithy/util-body-length-node': 4.2.1
|
||||||
'@smithy/util-defaults-mode-browser': 4.3.10
|
'@smithy/util-defaults-mode-browser': 4.3.11
|
||||||
'@smithy/util-defaults-mode-node': 4.2.13
|
'@smithy/util-defaults-mode-node': 4.2.14
|
||||||
'@smithy/util-endpoints': 3.2.5
|
'@smithy/util-endpoints': 3.2.5
|
||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
'@smithy/util-retry': 4.2.5
|
'@smithy/util-retry': 4.2.5
|
||||||
@@ -4067,12 +4043,12 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@aws-sdk/types': 3.930.0
|
'@aws-sdk/types': 3.930.0
|
||||||
'@aws-sdk/xml-builder': 3.930.0
|
'@aws-sdk/xml-builder': 3.930.0
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
'@smithy/property-provider': 4.2.5
|
'@smithy/property-provider': 4.2.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/signature-v4': 5.3.5
|
'@smithy/signature-v4': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/util-base64': 4.3.0
|
'@smithy/util-base64': 4.3.0
|
||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
@@ -4119,7 +4095,7 @@ snapshots:
|
|||||||
'@smithy/node-http-handler': 4.4.5
|
'@smithy/node-http-handler': 4.4.5
|
||||||
'@smithy/property-provider': 4.2.5
|
'@smithy/property-provider': 4.2.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/util-stream': 4.5.6
|
'@smithy/util-stream': 4.5.6
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
@@ -4414,11 +4390,11 @@ snapshots:
|
|||||||
'@aws-sdk/core': 3.934.0
|
'@aws-sdk/core': 3.934.0
|
||||||
'@aws-sdk/types': 3.930.0
|
'@aws-sdk/types': 3.930.0
|
||||||
'@aws-sdk/util-arn-parser': 3.893.0
|
'@aws-sdk/util-arn-parser': 3.893.0
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/signature-v4': 5.3.5
|
'@smithy/signature-v4': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/util-config-provider': 4.2.0
|
'@smithy/util-config-provider': 4.2.0
|
||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
@@ -4460,7 +4436,7 @@ snapshots:
|
|||||||
'@aws-sdk/core': 3.934.0
|
'@aws-sdk/core': 3.934.0
|
||||||
'@aws-sdk/types': 3.930.0
|
'@aws-sdk/types': 3.930.0
|
||||||
'@aws-sdk/util-endpoints': 3.930.0
|
'@aws-sdk/util-endpoints': 3.930.0
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
@@ -4490,26 +4466,26 @@ snapshots:
|
|||||||
'@aws-sdk/util-user-agent-browser': 3.930.0
|
'@aws-sdk/util-user-agent-browser': 3.930.0
|
||||||
'@aws-sdk/util-user-agent-node': 3.934.0
|
'@aws-sdk/util-user-agent-node': 3.934.0
|
||||||
'@smithy/config-resolver': 4.4.3
|
'@smithy/config-resolver': 4.4.3
|
||||||
'@smithy/core': 3.18.4
|
'@smithy/core': 3.18.5
|
||||||
'@smithy/fetch-http-handler': 5.3.6
|
'@smithy/fetch-http-handler': 5.3.6
|
||||||
'@smithy/hash-node': 4.2.5
|
'@smithy/hash-node': 4.2.5
|
||||||
'@smithy/invalid-dependency': 4.2.5
|
'@smithy/invalid-dependency': 4.2.5
|
||||||
'@smithy/middleware-content-length': 4.2.5
|
'@smithy/middleware-content-length': 4.2.5
|
||||||
'@smithy/middleware-endpoint': 4.3.11
|
'@smithy/middleware-endpoint': 4.3.12
|
||||||
'@smithy/middleware-retry': 4.4.11
|
'@smithy/middleware-retry': 4.4.12
|
||||||
'@smithy/middleware-serde': 4.2.6
|
'@smithy/middleware-serde': 4.2.6
|
||||||
'@smithy/middleware-stack': 4.2.5
|
'@smithy/middleware-stack': 4.2.5
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
'@smithy/node-http-handler': 4.4.5
|
'@smithy/node-http-handler': 4.4.5
|
||||||
'@smithy/protocol-http': 5.3.5
|
'@smithy/protocol-http': 5.3.5
|
||||||
'@smithy/smithy-client': 4.9.7
|
'@smithy/smithy-client': 4.9.8
|
||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
'@smithy/url-parser': 4.2.5
|
'@smithy/url-parser': 4.2.5
|
||||||
'@smithy/util-base64': 4.3.0
|
'@smithy/util-base64': 4.3.0
|
||||||
'@smithy/util-body-length-browser': 4.2.0
|
'@smithy/util-body-length-browser': 4.2.0
|
||||||
'@smithy/util-body-length-node': 4.2.1
|
'@smithy/util-body-length-node': 4.2.1
|
||||||
'@smithy/util-defaults-mode-browser': 4.3.10
|
'@smithy/util-defaults-mode-browser': 4.3.11
|
||||||
'@smithy/util-defaults-mode-node': 4.2.13
|
'@smithy/util-defaults-mode-node': 4.2.14
|
||||||
'@smithy/util-endpoints': 3.2.5
|
'@smithy/util-endpoints': 3.2.5
|
||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
'@smithy/util-retry': 4.2.5
|
'@smithy/util-retry': 4.2.5
|
||||||
@@ -5298,7 +5274,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- aws-crt
|
- aws-crt
|
||||||
|
|
||||||
'@push.rocks/smartbucket@4.0.0':
|
'@push.rocks/smartbucket@4.3.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@aws-sdk/client-s3': 3.936.0
|
'@aws-sdk/client-s3': 3.936.0
|
||||||
'@push.rocks/smartmime': 2.0.4
|
'@push.rocks/smartmime': 2.0.4
|
||||||
@@ -5309,6 +5285,7 @@ snapshots:
|
|||||||
'@push.rocks/smartstring': 4.1.0
|
'@push.rocks/smartstring': 4.1.0
|
||||||
'@push.rocks/smartunique': 3.0.9
|
'@push.rocks/smartunique': 3.0.9
|
||||||
'@tsclass/tsclass': 9.3.0
|
'@tsclass/tsclass': 9.3.0
|
||||||
|
minimatch: 10.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- aws-crt
|
- aws-crt
|
||||||
|
|
||||||
@@ -6034,19 +6011,6 @@ snapshots:
|
|||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/core@3.18.4':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/middleware-serde': 4.2.6
|
|
||||||
'@smithy/protocol-http': 5.3.5
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
'@smithy/util-base64': 4.3.0
|
|
||||||
'@smithy/util-body-length-browser': 4.2.0
|
|
||||||
'@smithy/util-middleware': 4.2.5
|
|
||||||
'@smithy/util-stream': 4.5.6
|
|
||||||
'@smithy/util-utf8': 4.2.0
|
|
||||||
'@smithy/uuid': 1.1.0
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/core@3.18.5':
|
'@smithy/core@3.18.5':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/middleware-serde': 4.2.6
|
'@smithy/middleware-serde': 4.2.6
|
||||||
@@ -6151,17 +6115,6 @@ snapshots:
|
|||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/middleware-endpoint@4.3.11':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/core': 3.18.4
|
|
||||||
'@smithy/middleware-serde': 4.2.6
|
|
||||||
'@smithy/node-config-provider': 4.3.5
|
|
||||||
'@smithy/shared-ini-file-loader': 4.4.0
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
'@smithy/url-parser': 4.2.5
|
|
||||||
'@smithy/util-middleware': 4.2.5
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/middleware-endpoint@4.3.12':
|
'@smithy/middleware-endpoint@4.3.12':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/core': 3.18.5
|
'@smithy/core': 3.18.5
|
||||||
@@ -6173,18 +6126,6 @@ snapshots:
|
|||||||
'@smithy/util-middleware': 4.2.5
|
'@smithy/util-middleware': 4.2.5
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/middleware-retry@4.4.11':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/node-config-provider': 4.3.5
|
|
||||||
'@smithy/protocol-http': 5.3.5
|
|
||||||
'@smithy/service-error-classification': 4.2.5
|
|
||||||
'@smithy/smithy-client': 4.9.7
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
'@smithy/util-middleware': 4.2.5
|
|
||||||
'@smithy/util-retry': 4.2.5
|
|
||||||
'@smithy/uuid': 1.1.0
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/middleware-retry@4.4.12':
|
'@smithy/middleware-retry@4.4.12':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/node-config-provider': 4.3.5
|
'@smithy/node-config-provider': 4.3.5
|
||||||
@@ -6264,16 +6205,6 @@ snapshots:
|
|||||||
'@smithy/util-utf8': 4.2.0
|
'@smithy/util-utf8': 4.2.0
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/smithy-client@4.9.7':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/core': 3.18.4
|
|
||||||
'@smithy/middleware-endpoint': 4.3.11
|
|
||||||
'@smithy/middleware-stack': 4.2.5
|
|
||||||
'@smithy/protocol-http': 5.3.5
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
'@smithy/util-stream': 4.5.6
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/smithy-client@4.9.8':
|
'@smithy/smithy-client@4.9.8':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/core': 3.18.5
|
'@smithy/core': 3.18.5
|
||||||
@@ -6322,13 +6253,6 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-browser@4.3.10':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/property-provider': 4.2.5
|
|
||||||
'@smithy/smithy-client': 4.9.7
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-browser@4.3.11':
|
'@smithy/util-defaults-mode-browser@4.3.11':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/property-provider': 4.2.5
|
'@smithy/property-provider': 4.2.5
|
||||||
@@ -6336,16 +6260,6 @@ snapshots:
|
|||||||
'@smithy/types': 4.9.0
|
'@smithy/types': 4.9.0
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-node@4.2.13':
|
|
||||||
dependencies:
|
|
||||||
'@smithy/config-resolver': 4.4.3
|
|
||||||
'@smithy/credential-provider-imds': 4.2.5
|
|
||||||
'@smithy/node-config-provider': 4.3.5
|
|
||||||
'@smithy/property-provider': 4.2.5
|
|
||||||
'@smithy/smithy-client': 4.9.7
|
|
||||||
'@smithy/types': 4.9.0
|
|
||||||
tslib: 2.8.1
|
|
||||||
|
|
||||||
'@smithy/util-defaults-mode-node@4.2.14':
|
'@smithy/util-defaults-mode-node@4.2.14':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@smithy/config-resolver': 4.4.3
|
'@smithy/config-resolver': 4.4.3
|
||||||
|
|||||||
@@ -74,38 +74,9 @@ export class RegistryStorage implements IStorageBackend {
|
|||||||
*/
|
*/
|
||||||
public async listObjects(prefix: string): Promise<string[]> {
|
public async listObjects(prefix: string): Promise<string[]> {
|
||||||
const paths: string[] = [];
|
const paths: string[] = [];
|
||||||
|
for await (const path of this.bucket.listAllObjects(prefix)) {
|
||||||
const collectFiles = async (dir: plugins.smartbucket.Directory): Promise<void> => {
|
paths.push(path);
|
||||||
// List all files in current directory
|
|
||||||
const files = await dir.listFiles();
|
|
||||||
for (const file of files) {
|
|
||||||
paths.push(file.getBasePath());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Recursively process subdirectories
|
|
||||||
const subdirs = await dir.listDirectories();
|
|
||||||
for (const subdir of subdirs) {
|
|
||||||
await collectFiles(subdir);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
try {
|
|
||||||
const baseDir = await this.bucket.getBaseDirectory();
|
|
||||||
if (prefix) {
|
|
||||||
const targetDir = await baseDir.getSubDirectoryByName(prefix, {
|
|
||||||
getEmptyDirectory: true,
|
|
||||||
});
|
|
||||||
if (targetDir) {
|
|
||||||
await collectFiles(targetDir);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
await collectFiles(baseDir);
|
|
||||||
}
|
|
||||||
} catch (error) {
|
|
||||||
// Directory not found or other error - return empty array
|
|
||||||
return [];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user