From 0cf2c4aa06583814fbfb97ce46f4ac7f74f54c3c Mon Sep 17 00:00:00 2001 From: ashutosh-bansal-2136 <82804130+ashutosh-bansal-2136@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:53:21 +0530 Subject: [PATCH] Revert "fix(loopback4-s3): dependency removed from aws-sdk #13" --- README.md | 2 +- package-lock.json | 965 +++---------------------------- package.json | 2 +- src/providers/aws-s3.provider.ts | 9 +- src/types.ts | 4 +- 5 files changed, 97 insertions(+), 885 deletions(-) diff --git a/README.md b/README.md index be10553..e92e805 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ this.component(AwsS3Component); - After this, you can just inject the S3 provider across application. ```ts -import * as AWS from '@aws-sdk/client-s3'; +import * as AWS from 'aws-sdk'; @inject(AWSS3Bindings.AwsS3Provider) s3: AWS.S3, ``` diff --git a/package-lock.json b/package-lock.json index 9296b07..e320ad5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,865 +4,6 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@aws-crypto/crc32": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-1.0.0.tgz", - "integrity": "sha512-wr4EyCv3ZfLH3Sg7FErV6e/cLhpk9rUP/l5322y8PRgpQsItdieaLbtE4aDOR+dxl8U7BG9FIwWXH4TleTDZ9A==", - "requires": { - "tslib": "^1.11.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@aws-crypto/ie11-detection": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/ie11-detection/-/ie11-detection-1.0.0.tgz", - "integrity": "sha512-kCKVhCF1oDxFYgQrxXmIrS5oaWulkvRcPz+QBDMsUr2crbF4VGgGT6+uQhSwJFdUAQ2A//Vq+uT83eJrkzFgXA==", - "requires": { - "tslib": "^1.11.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@aws-crypto/sha256-browser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-1.1.0.tgz", - "integrity": "sha512-VIpuLRDonMAHgomrsm/zKbeXTnxpr4aHDQmS4pF+NcpvBp64l675yjGA9hyUYs/QJwBjUl8WqMjh9tIRgi85Sg==", - "requires": { - "@aws-crypto/ie11-detection": "^1.0.0", - "@aws-crypto/sha256-js": "^1.1.0", - "@aws-crypto/supports-web-crypto": "^1.0.0", - "@aws-sdk/types": "^3.1.0", - "@aws-sdk/util-locate-window": "^3.0.0", - "@aws-sdk/util-utf8-browser": "^3.0.0", - "tslib": "^1.11.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@aws-crypto/sha256-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-1.1.0.tgz", - "integrity": "sha512-VIhuqbPgXDVr8sZe2yhgQcDRRmzf4CI8fmC1A3bHiRfE6wlz1d8KpeemqbuoEHotz/Dch9yOxlshyQDNjNFeHA==", - "requires": { - "@aws-sdk/types": "^3.1.0", - "@aws-sdk/util-utf8-browser": "^3.0.0", - "tslib": "^1.11.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@aws-crypto/supports-web-crypto": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-1.0.0.tgz", - "integrity": "sha512-IHLfv+WmVH89EW4n6a5eE8/hUlz6qkWGMn/v4r5ZgzcXdTC5nolii2z3k46y01hWRiC2PPhOdeSLzMUCUMco7g==", - "requires": { - "tslib": "^1.11.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@aws-sdk/abort-controller": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/abort-controller/-/abort-controller-3.20.0.tgz", - "integrity": "sha512-DnJbLzICjB6NyZXFi5wv1m9Rd/+8GN+aeti76rFEunykG+O0+GQcqOxC/lH58MkLBjaLrQhGhC2H1/L4Z75TPw==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/chunked-blob-reader": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader/-/chunked-blob-reader-3.20.0.tgz", - "integrity": "sha512-fNXUt3rZsQyJhUR0yMog+lNqyMqyh0BzwEz67jW4sC7ExSnchRzwKo9C4XBXm1JMeBALaI5hY7Axwf1pE0ANzQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/chunked-blob-reader-native": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader-native/-/chunked-blob-reader-native-3.20.0.tgz", - "integrity": "sha512-GeN6rWJw8Z7iZLu6XTrkGGspmxwF8c3jR2HM2UdGlia0XR6AUaa1b1bdz1ACmVA1iG0sVA3YvnPy6LgsQaraGg==", - "requires": { - "@aws-sdk/util-base64-browser": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/client-s3": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.20.0.tgz", - "integrity": "sha512-ueyIICBi8i57KOfKk0mRNk0HV6wOgcj5p7TodrjuMJP0JAqxNG0NVsHSvowhb/8LPrDKTSlK0pikBn7niJv1GQ==", - "requires": { - "@aws-crypto/sha256-browser": "^1.0.0", - "@aws-crypto/sha256-js": "^1.0.0", - "@aws-sdk/client-sts": "3.20.0", - "@aws-sdk/config-resolver": "3.20.0", - "@aws-sdk/credential-provider-node": "3.20.0", - "@aws-sdk/eventstream-serde-browser": "3.20.0", - "@aws-sdk/eventstream-serde-config-resolver": "3.20.0", - "@aws-sdk/eventstream-serde-node": "3.20.0", - "@aws-sdk/fetch-http-handler": "3.20.0", - "@aws-sdk/hash-blob-browser": "3.20.0", - "@aws-sdk/hash-node": "3.20.0", - "@aws-sdk/hash-stream-node": "3.20.0", - "@aws-sdk/invalid-dependency": "3.20.0", - "@aws-sdk/md5-js": "3.20.0", - "@aws-sdk/middleware-apply-body-checksum": "3.20.0", - "@aws-sdk/middleware-bucket-endpoint": "3.20.0", - "@aws-sdk/middleware-content-length": "3.20.0", - "@aws-sdk/middleware-expect-continue": "3.20.0", - "@aws-sdk/middleware-host-header": "3.20.0", - "@aws-sdk/middleware-location-constraint": "3.20.0", - "@aws-sdk/middleware-logger": "3.20.0", - "@aws-sdk/middleware-retry": "3.20.0", - "@aws-sdk/middleware-sdk-s3": "3.20.0", - "@aws-sdk/middleware-serde": "3.20.0", - "@aws-sdk/middleware-signing": "3.20.0", - "@aws-sdk/middleware-ssec": "3.20.0", - "@aws-sdk/middleware-stack": "3.20.0", - "@aws-sdk/middleware-user-agent": "3.20.0", - "@aws-sdk/node-config-provider": "3.20.0", - "@aws-sdk/node-http-handler": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/smithy-client": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/url-parser": "3.20.0", - "@aws-sdk/util-base64-browser": "3.20.0", - "@aws-sdk/util-base64-node": "3.20.0", - "@aws-sdk/util-body-length-browser": "3.20.0", - "@aws-sdk/util-body-length-node": "3.20.0", - "@aws-sdk/util-user-agent-browser": "3.20.0", - "@aws-sdk/util-user-agent-node": "3.20.0", - "@aws-sdk/util-utf8-browser": "3.20.0", - "@aws-sdk/util-utf8-node": "3.20.0", - "@aws-sdk/util-waiter": "3.20.0", - "@aws-sdk/xml-builder": "3.20.0", - "entities": "2.2.0", - "fast-xml-parser": "3.19.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/client-sso": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.20.0.tgz", - "integrity": "sha512-pqLzjj9QIcsllFzakpZU8iPD38zkmfPq7EyLRLWwrR8GhRo+mBvmyG5D3rRDqmkR6G869OBa/hZngg9HmSfHDw==", - "requires": { - "@aws-crypto/sha256-browser": "^1.0.0", - "@aws-crypto/sha256-js": "^1.0.0", - "@aws-sdk/config-resolver": "3.20.0", - "@aws-sdk/fetch-http-handler": "3.20.0", - "@aws-sdk/hash-node": "3.20.0", - "@aws-sdk/invalid-dependency": "3.20.0", - "@aws-sdk/middleware-content-length": "3.20.0", - "@aws-sdk/middleware-host-header": "3.20.0", - "@aws-sdk/middleware-logger": "3.20.0", - "@aws-sdk/middleware-retry": "3.20.0", - "@aws-sdk/middleware-serde": "3.20.0", - "@aws-sdk/middleware-stack": "3.20.0", - "@aws-sdk/middleware-user-agent": "3.20.0", - "@aws-sdk/node-config-provider": "3.20.0", - "@aws-sdk/node-http-handler": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/smithy-client": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/url-parser": "3.20.0", - "@aws-sdk/util-base64-browser": "3.20.0", - "@aws-sdk/util-base64-node": "3.20.0", - "@aws-sdk/util-body-length-browser": "3.20.0", - "@aws-sdk/util-body-length-node": "3.20.0", - "@aws-sdk/util-user-agent-browser": "3.20.0", - "@aws-sdk/util-user-agent-node": "3.20.0", - "@aws-sdk/util-utf8-browser": "3.20.0", - "@aws-sdk/util-utf8-node": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/client-sts": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.20.0.tgz", - "integrity": "sha512-Do3cg1p0c68mIAypDjLKJX12TQjWyM82Zh5XUbMFlYpQu4zKGkpG29nVSRXlBkCpHFS1T7WJUgqQjW36Xln6mg==", - "requires": { - "@aws-crypto/sha256-browser": "^1.0.0", - "@aws-crypto/sha256-js": "^1.0.0", - "@aws-sdk/config-resolver": "3.20.0", - "@aws-sdk/credential-provider-node": "3.20.0", - "@aws-sdk/fetch-http-handler": "3.20.0", - "@aws-sdk/hash-node": "3.20.0", - "@aws-sdk/invalid-dependency": "3.20.0", - "@aws-sdk/middleware-content-length": "3.20.0", - "@aws-sdk/middleware-host-header": "3.20.0", - "@aws-sdk/middleware-logger": "3.20.0", - "@aws-sdk/middleware-retry": "3.20.0", - "@aws-sdk/middleware-sdk-sts": "3.20.0", - "@aws-sdk/middleware-serde": "3.20.0", - "@aws-sdk/middleware-signing": "3.20.0", - "@aws-sdk/middleware-stack": "3.20.0", - "@aws-sdk/middleware-user-agent": "3.20.0", - "@aws-sdk/node-config-provider": "3.20.0", - "@aws-sdk/node-http-handler": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/smithy-client": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/url-parser": "3.20.0", - "@aws-sdk/util-base64-browser": "3.20.0", - "@aws-sdk/util-base64-node": "3.20.0", - "@aws-sdk/util-body-length-browser": "3.20.0", - "@aws-sdk/util-body-length-node": "3.20.0", - "@aws-sdk/util-user-agent-browser": "3.20.0", - "@aws-sdk/util-user-agent-node": "3.20.0", - "@aws-sdk/util-utf8-browser": "3.20.0", - "@aws-sdk/util-utf8-node": "3.20.0", - "entities": "2.2.0", - "fast-xml-parser": "3.19.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/config-resolver": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/config-resolver/-/config-resolver-3.20.0.tgz", - "integrity": "sha512-mOq2RZIQHdZJxHWeNT0u3ulaWHAXr4NHuB/TBW66dJ8rRr5OlumnPHqbVb7x4qRbJqpzWvc1dj4RGR1x9NcIJA==", - "requires": { - "@aws-sdk/signature-v4": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-env": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.20.0.tgz", - "integrity": "sha512-6jSgVUw3eZfU8ufCsCeJf5k+AJVDdKobK9Hkg0nTA07zOObo/xElri8a3XmjYj5iVuAcK/ErP5SXEEB3h/fjrQ==", - "requires": { - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-imds": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-imds/-/credential-provider-imds-3.20.0.tgz", - "integrity": "sha512-l2R3HSwSb3Pm4jwMo0YWcbbapoK2/gBgb4h68JcsNXBI2yTthU41vioTNdMoWWlyCR0ii6QX3IUnB4NJY7RlLQ==", - "requires": { - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-ini": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.20.0.tgz", - "integrity": "sha512-03HAQq9iP5YW+XnRw59LCPov0v9J7yovYIinmOGDiUaqNJl1aoizoryVqt5cLwZNjF+Xdxh2+41rP/u+agSfwA==", - "requires": { - "@aws-sdk/credential-provider-env": "3.20.0", - "@aws-sdk/credential-provider-imds": "3.20.0", - "@aws-sdk/credential-provider-web-identity": "3.20.0", - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/shared-ini-file-loader": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.20.0.tgz", - "integrity": "sha512-Pbcr0YYUQ8Y/o8xjHTF/TxnHEft+3FMqlN5WMTvA4yCQJowDKzcsAXp8m/FpHo55I0oC02PfVWHSAHZ86PmohQ==", - "requires": { - "@aws-sdk/credential-provider-env": "3.20.0", - "@aws-sdk/credential-provider-imds": "3.20.0", - "@aws-sdk/credential-provider-ini": "3.20.0", - "@aws-sdk/credential-provider-process": "3.20.0", - "@aws-sdk/credential-provider-sso": "3.20.0", - "@aws-sdk/credential-provider-web-identity": "3.20.0", - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/shared-ini-file-loader": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-process": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.20.0.tgz", - "integrity": "sha512-GV6XCR5/tKgJVKyMhplsCh8vo5GhKBkmvB2HNZYBE0KQzh7Km8+raYQlzcfow++CZKddHN0PPuIfL94C0hpdtw==", - "requires": { - "@aws-sdk/credential-provider-ini": "3.20.0", - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/shared-ini-file-loader": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-sso": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.20.0.tgz", - "integrity": "sha512-EJ+QiB+OXftY3fNNaFO8vaJm/Xe6x15iyl7W9qaUrPzifIBzFjkOQb4uhCM83S6OS/icWXZeMjbgsrGIqrtMHA==", - "requires": { - "@aws-sdk/client-sso": "3.20.0", - "@aws-sdk/credential-provider-ini": "3.20.0", - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/shared-ini-file-loader": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/credential-provider-web-identity": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.20.0.tgz", - "integrity": "sha512-JJ1RQW5byI7FWSZOhWkTsrcs1wPdC6uG5JERQmcdPXOx9jCpBo8gETwYjlKxls/MbE+NSLCq5pQQKJs7Yz6K5g==", - "requires": { - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/eventstream-marshaller": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-marshaller/-/eventstream-marshaller-3.20.0.tgz", - "integrity": "sha512-2Yw7u/YO4XFPiXnADxNGM6bU2qqP1ZTv7vfiCtykqLYZwVElPSVPjbXdEykLwb4vPVsZvInD+6z1P5qzF9m8TQ==", - "requires": { - "@aws-crypto/crc32": "^1.0.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-hex-encoding": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/eventstream-serde-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-browser/-/eventstream-serde-browser-3.20.0.tgz", - "integrity": "sha512-Zvi6ItVaxRDKfe+U6stYhxnljoY0NTm6Mq+8/KeERrSO304f9ldXuvszSVaoeM4b7BXq1Qd3swr5VZocEEa0rw==", - "requires": { - "@aws-sdk/eventstream-marshaller": "3.20.0", - "@aws-sdk/eventstream-serde-universal": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/eventstream-serde-config-resolver": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.20.0.tgz", - "integrity": "sha512-LOCaAvhGclqpiUlNO6ZcShqqENnbTjLnR4x3PYDsud5rc8x5RF0159InwxOURoSvN05XDpgHDnOmfFQaiTlMcQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/eventstream-serde-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-node/-/eventstream-serde-node-3.20.0.tgz", - "integrity": "sha512-xPIUpVpVB4pCy9w3J/p2nDcBD04K00dsGzbQFamO38k+EPCsqdgdneUY/dl4aKeVC9B5gotOOf7iDQYLlIm2xA==", - "requires": { - "@aws-sdk/eventstream-marshaller": "3.20.0", - "@aws-sdk/eventstream-serde-universal": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/eventstream-serde-universal": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-universal/-/eventstream-serde-universal-3.20.0.tgz", - "integrity": "sha512-fLc6lG2migDkTVqRt52xfHcQkLxCFLzQNEA9/+8lf06AyGJP6aMU9erTjg1xhaM3+dnVgHiwayv3UK75FnpnnA==", - "requires": { - "@aws-sdk/eventstream-marshaller": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/fetch-http-handler": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/fetch-http-handler/-/fetch-http-handler-3.20.0.tgz", - "integrity": "sha512-VWCalEondhOsd5inE9W+p8jNVQAwgxR/k8yZys8ZuAQERhCKJcimgu7j9t5ruoGprmqnGcFmyFqZynxBZj6Urw==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/querystring-builder": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-base64-browser": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/hash-blob-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.20.0.tgz", - "integrity": "sha512-d2TnhlaBrSzGS8h20Q5goTHcczD9se9xX45D09hQ0M6I6LUbwuDt3K0oNGgteUbl2V3yRLAQY3lMH4vX8uXpIA==", - "requires": { - "@aws-sdk/chunked-blob-reader": "3.20.0", - "@aws-sdk/chunked-blob-reader-native": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/hash-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-node/-/hash-node-3.20.0.tgz", - "integrity": "sha512-PMRbrgkvXzWhmY2w/+rXG76tgCEB4+m7CM+OrXtbOdwwG6hyxPgdbvGwOLzbZXo4uxCcjQGpOUZTV54rW2rqgQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-buffer-from": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/hash-stream-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.20.0.tgz", - "integrity": "sha512-FsXotjWaLTIkLBSS5EEYaFpdPjwVQuH9FavOVRES2hKJPmFOmNyvGP40hBRXOjwGAWCIYDPWFI2oAfzUb0HhlQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/invalid-dependency": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/invalid-dependency/-/invalid-dependency-3.20.0.tgz", - "integrity": "sha512-++0e6Z4m0qZXMbhiezJroJhh1x4rWgTm2AI6k0+Jkl6gTN8TzLHFXLoaK1UGKzhouSleL982b1DeJoNLVgE5zA==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/is-array-buffer": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.20.0.tgz", - "integrity": "sha512-l7A254/SA+DE1kNWcNHDKGUbpmmR3fjr65LPJeiB88Rnh+3M7F103JCNoA5x1Heb7QfUd4GMAUaYkaUlaWmnJw==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/md5-js": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.20.0.tgz", - "integrity": "sha512-82h0L3F6lxh+MqZn7DxoxokdORCiVGll6zYrwKKZe/iZb3IfKbPlgq/2uSILVU2OzWK6+aAYNXRAcykvMp19ng==", - "requires": { - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-utf8-browser": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-apply-body-checksum": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-apply-body-checksum/-/middleware-apply-body-checksum-3.20.0.tgz", - "integrity": "sha512-4//sJ0FcaMXplfHEzxcn3gzMqfJcM9JY3VbXsmyvfkveh8UfCQ0VOa+SgIPYQGLafMbEPZy+jL1s3DdBwaeVAQ==", - "requires": { - "@aws-sdk/is-array-buffer": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-bucket-endpoint": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.20.0.tgz", - "integrity": "sha512-smvLGrfz3xC6BzHfv9BnleJ1cS28Bt6RSIF072DIXvlSU9UhZRIplLgi9ncq5lvifSXE8Hd0932VZpBe1ReSzA==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-arn-parser": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-content-length": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-content-length/-/middleware-content-length-3.20.0.tgz", - "integrity": "sha512-UXp+RQOHfv18EpPcELBtB4WktOqQnICW5JsGWkYfVv/WAxeZD1C2SC7wiNfeSLRsHfcfefAW5zznvFtdzke4AA==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-expect-continue": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.20.0.tgz", - "integrity": "sha512-FRyNUlIJZxfQgpzv0AOOSHrWxk0+d/k6Sy9fAPDimZHFqJaD7ok/AhHhLs6m1C9ihyBY9hLSn4/xN+/t3lQNyg==", - "requires": { - "@aws-sdk/middleware-header-default": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-header-default": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-header-default/-/middleware-header-default-3.20.0.tgz", - "integrity": "sha512-Zj9a11jtJgpxsf+RyZ84vSPvNSxR/0A+Tjl/pIRqguVTxT11c2yH9d18/Flopg3juibKHKoQ3YwSjYslMer78A==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-host-header": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.20.0.tgz", - "integrity": "sha512-7FNZlfahz7J1aoJxdsPS49dYtBYJLap8WofQw8fJodOEGsVDvphCEApInfCVIqiGcpqMcQaR9mGPsKIbV1qZQw==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-location-constraint": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.20.0.tgz", - "integrity": "sha512-m1qtd3B5v6hkeRiH0znFFqJMOO6YO8SAYMp+Lnc0x7UYTngRWT420manqsFqavrD7q0K++WQEHJ23XR93b36yw==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-logger": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.20.0.tgz", - "integrity": "sha512-0zYQJsBHRwop8N3uKtoa8rm58Y1Wkz2TADnWXSkMQg+vX4SgWE/1fYMb23I7p0tjTp8jZ0nRbxaO59DGu73kxQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-retry": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-retry/-/middleware-retry-3.20.0.tgz", - "integrity": "sha512-Cyu9GDJ/TcxQDw/O5iZckHRzRs9ystvf5nEWB40QT5++485Lpkh/mz2WPdsboTmcPSGlPM8llaboyI8/DvAUJg==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/service-error-classification": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0", - "uuid": "^8.3.2" - } - }, - "@aws-sdk/middleware-sdk-s3": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.20.0.tgz", - "integrity": "sha512-dxCVeWscgWgHaC3Ci4coIuNjCcA9Uad+u5xpPafGDsBeH9RPSPwODBKKnpNEyBbm4qfYN6t7OUaEJXHVdpi5Ow==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-arn-parser": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-sdk-sts": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.20.0.tgz", - "integrity": "sha512-dHsWL3aryeCl2BX3UVHFQPCsIQdx3Y2bWlY+6dUZdd65YWxvrrpoR5m5LrubUvt7SD+KQ++K/6h8A3gFGKs4UA==", - "requires": { - "@aws-sdk/middleware-signing": "3.20.0", - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/signature-v4": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-serde": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-serde/-/middleware-serde-3.20.0.tgz", - "integrity": "sha512-Hz5fmo0APcfkyqQGiGof7fNOcvi4CS7m9Gb+iJMiIzpVPSsve3tVe45rqYHo7NOj4Jed5E6/lujUprNHRxFEMQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-signing": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.20.0.tgz", - "integrity": "sha512-ittOpXvHFRLUteWPEeemJeqyvi+lYlkXXF60dqnpza8sJOtsRP03VSeN9aLGNGcIKeg97WkejVCiobRoJnE4ig==", - "requires": { - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/signature-v4": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-ssec": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.20.0.tgz", - "integrity": "sha512-MziaXbSxmIackNvwIr2I2VpMeso0f2oxWq5Kth63n9BLxyCsLYINDixJdqF01vMt9549iXjArhQSv7Zu1rI8DA==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-stack": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-stack/-/middleware-stack-3.20.0.tgz", - "integrity": "sha512-1lYl93BuYWQ7rWyTtIlaPTCvAnabMQ2kbJFH5j76ag7esRLownObmcqWNMEJ4bbw5TXXY4nG7BdRoTlmo47Mow==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/middleware-user-agent": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.20.0.tgz", - "integrity": "sha512-EBiTXpUAjimSdzkEwHgcH96fWg8hDbtmus9ABf6Cor6EHUlHVeRAFULGIYo5ZFTy7DXbeHxjzPE7CcWEaUBvQQ==", - "requires": { - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/node-config-provider": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/node-config-provider/-/node-config-provider-3.20.0.tgz", - "integrity": "sha512-bHevyN3hHbtrAg3EQ85MFHKfCwSr481vgd3nQL1zhzGOAp2DWM0C3w7otV8H+ejcplwDwtL+9JVhhEFTFROniw==", - "requires": { - "@aws-sdk/property-provider": "3.20.0", - "@aws-sdk/shared-ini-file-loader": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/node-http-handler": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/node-http-handler/-/node-http-handler-3.20.0.tgz", - "integrity": "sha512-uK6qVeWFoNZfZTutj6RAAJjrlDMSp3dGzuF2xIbxSLjITNPtaXszssxVgaBYDZdDIaqe8I5DuyjGPoEW/xxJ1A==", - "requires": { - "@aws-sdk/abort-controller": "3.20.0", - "@aws-sdk/protocol-http": "3.20.0", - "@aws-sdk/querystring-builder": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/property-provider": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/property-provider/-/property-provider-3.20.0.tgz", - "integrity": "sha512-mShEXLj9ZsAOu1VL+XlqssBr7TNVRKvkaAovzifxaHaLP91jFltWlSmAPFc2Yuc8MsVToHfpfTYc2dSFTBqGtw==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/protocol-http": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/protocol-http/-/protocol-http-3.20.0.tgz", - "integrity": "sha512-ZW9uyVk1Zbbaqo8LYc+MJ1EynZVQsa08o2I6Pho1fvheMcF/prcz+1HLQcJnfyNG76lM3Z/qQaEL7gGy2Ve6Cg==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/querystring-builder": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/querystring-builder/-/querystring-builder-3.20.0.tgz", - "integrity": "sha512-iImp9CEQHtJkVhchuH9dZWkhiCWcPSsEbeeNctydigB9RMAaThtkGJ/423mQFkzXuOplbYkpwlfW9hu4gutSOQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-uri-escape": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/querystring-parser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/querystring-parser/-/querystring-parser-3.20.0.tgz", - "integrity": "sha512-Ven5A56SDDRJHCt84jzjrnW85LRzE9nClzbY14MjuITBo+azkbjZhyTutxK8/q8GQZMa2lhjnXLtfcT5rj1YjQ==", - "requires": { - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/service-error-classification": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/service-error-classification/-/service-error-classification-3.20.0.tgz", - "integrity": "sha512-mJb465doN5yq+XxP4bPnAubriewEPoICNQZouDVKZ44Q48USn6e7zX0OrYqBT56Inw8JrSD9u5VHqGsFiubnSA==" - }, - "@aws-sdk/shared-ini-file-loader": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/shared-ini-file-loader/-/shared-ini-file-loader-3.20.0.tgz", - "integrity": "sha512-yUjSo5epgytDEaGSN+Sp/vY0HEdt9FU03KC3ON/q99+XEWVU2Y4045khXXWPHJ1wlvq3EOcRKG3u/0MDUJPnTg==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/signature-v4": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4/-/signature-v4-3.20.0.tgz", - "integrity": "sha512-LvbRMPlTt7X55EEE/cYcXm/VoCtr0frEC3KoAiq1zSNHXkiw741NK0d44W0RyJciBcXYfnYYBocNH+wIkjFZEQ==", - "requires": { - "@aws-sdk/is-array-buffer": "3.20.0", - "@aws-sdk/types": "3.20.0", - "@aws-sdk/util-hex-encoding": "3.20.0", - "@aws-sdk/util-uri-escape": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/smithy-client": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/smithy-client/-/smithy-client-3.20.0.tgz", - "integrity": "sha512-co8VEuod5QoFbdXGouO+Kem6knj0NW302zUmYILk3r2UX5RJ/eVcaFJGS8oV89a8qZ7debazNS6IXZUxhlWUSg==", - "requires": { - "@aws-sdk/middleware-stack": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/types": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.20.0.tgz", - "integrity": "sha512-ztrHBTJM0wU4rrt51Kff8DjGT5ReoEdY1IUu6T0lN7aH9113235WnBE44y+z/Y+nMC+t5+r74CkldkLf/vngNg==" - }, - "@aws-sdk/url-parser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/url-parser/-/url-parser-3.20.0.tgz", - "integrity": "sha512-9IvUtQ0p044KaVp7bdiXNB2vjhc6nZ02ph75e1wF1ISQiisDpQdTfAEy+TLFaw+95dBjyEG3PF6ybmFx6hNFxA==", - "requires": { - "@aws-sdk/querystring-parser": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-arn-parser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.20.0.tgz", - "integrity": "sha512-E698STtAcfBwkogMCQVKoHYc1B1XxtoDpqwfGII5dGYBmXR2N41Ct5Zlb4uO7uqL89A7L3Zbc/83h99CRLFWaQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-base64-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-base64-browser/-/util-base64-browser-3.20.0.tgz", - "integrity": "sha512-55ubHL6AyskjVg/gi21XubmGP11eHY1QG912L3ZZuf83IQOT5ApLXEJ8KZIReMCH62sFMrUl3Q/G3zB3daTyiQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-base64-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-base64-node/-/util-base64-node-3.20.0.tgz", - "integrity": "sha512-okeDxYT+hUoWAWB0QIMDry8NoTXNrK7bFtFoyRL+GUI98NCe5R8Md1SSm4aQZCoc4eaW4TKrM0gKB98VHXGZYA==", - "requires": { - "@aws-sdk/util-buffer-from": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-body-length-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-body-length-browser/-/util-body-length-browser-3.20.0.tgz", - "integrity": "sha512-/VnDExoqYwuEwlLMO1UHkmJpN+ujNgU7T+q4kVoTlcK90PZBjzRS0X+2c/xC005ArSwDDFxSyc8QNq4DWjZCsQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-body-length-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-body-length-node/-/util-body-length-node-3.20.0.tgz", - "integrity": "sha512-qn1ZGzaCULDwZTOsAXySp0b6lRBSinIujnRJM0155H8O1N8CDfvSeNPO9EUI/1M7u9zCS8zZ7jVO+MSVjn65ww==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-buffer-from": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-buffer-from/-/util-buffer-from-3.20.0.tgz", - "integrity": "sha512-nNed2o88c/Dagkszz0A75ARGOrmnpI+Ep4MopcAQ7tcLn5IXAHIAx7Hbs5pLxBVceh8d9nMu6xY516txRBgG+A==", - "requires": { - "@aws-sdk/is-array-buffer": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-hex-encoding": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.20.0.tgz", - "integrity": "sha512-hUXgUVNpN61+F26qdBCQCclTGRWER/H1O8axuPKoyC7PPJPzxrHZbst7o/hEAIUYq76iJLGCSCC+dXlxvRN4HQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-locate-window": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.20.0.tgz", - "integrity": "sha512-AqSMOm+hwxdywQ/jmprZXJY8uftHTi4p9JuftxTnP7Nl28+G8+RrVmoGcOtYf9VfWRDo/AM7zhvDwu4jB9yclg==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-uri-escape": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-uri-escape/-/util-uri-escape-3.20.0.tgz", - "integrity": "sha512-BmlmK0zCAehj7V6Kql9vsXY0GTJZgXzSsyAVeXMvXq6D2JHU1UuJq0PAtxtGD4E8+CoSeowAaGyfUrqiCjJFBw==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-user-agent-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.20.0.tgz", - "integrity": "sha512-DSXJsihYDk2QiBUjgeAf/oTOnALAPWiKbeLIF4aPMcTKBsY5MCbZjEtoODLGxY5V2TpWFlfcKNjhYSesZIDIqA==", - "requires": { - "@aws-sdk/types": "3.20.0", - "bowser": "^2.11.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-user-agent-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.20.0.tgz", - "integrity": "sha512-WfC8p+ofygAhFArtXu/u6BZQDwrC/E5MffyoHdxbm4KpRznAOmEM/vzwrUFS8e93/OPYP8bFRMJCLRlER35a7g==", - "requires": { - "@aws-sdk/node-config-provider": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-utf8-browser": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.20.0.tgz", - "integrity": "sha512-9ZSirHLA8RtNkrZj9jLcxujQCsflNY3PWyuRArce5OpPv6+vVzL2QvdG191xfTSi5EMIHvwlRl56bNo64D7dLg==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-utf8-node": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-node/-/util-utf8-node-3.20.0.tgz", - "integrity": "sha512-rEgl9slmtKYQkGgUmyMeqKzbaRq0YUtVqp+KddV9k12xvDJ05aJWw65YS83m4oX8bAeODKRUe7a1JuY2CIOzNQ==", - "requires": { - "@aws-sdk/util-buffer-from": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/util-waiter": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-waiter/-/util-waiter-3.20.0.tgz", - "integrity": "sha512-LwRVZ7mlFkrMaPdmYl4XxJqv2d0M/Knygwmd8glYn03UU26Zjli5ZI1t0Jr6du71FChxAG/X4ko4TWh2zDD1hw==", - "requires": { - "@aws-sdk/abort-controller": "3.20.0", - "@aws-sdk/types": "3.20.0", - "tslib": "^2.0.0" - } - }, - "@aws-sdk/xml-builder": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.20.0.tgz", - "integrity": "sha512-ejQwpqfA2/vvJ2qhPHcs6KtLgM+1rKkvQ6xuXC/2C6vEpTKc6Bcm8szk1MXYikaPYiQNgoi2nQ1C+Yw4zmlc+A==", - "requires": { - "tslib": "^2.0.0" - } - }, "@babel/code-frame": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", @@ -1917,11 +1058,39 @@ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true }, + "aws-sdk": { + "version": "2.910.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.910.0.tgz", + "integrity": "sha512-PC4x3qzxXxZEhd4CbcMdso/WnxeQvsiuYXHL+lb5B5d8zdORcXPaNmyIL/2DByyjJ2Ur4tfXgoQVPDKyYLcWEA==", + "requires": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.15.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "uuid": "3.3.2", + "xml2js": "0.4.19" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + } + } + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, "bcp47": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/bcp47/-/bcp47-1.1.2.tgz", @@ -1994,11 +1163,6 @@ } } }, - "bowser": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", - "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -2036,6 +1200,16 @@ "node-releases": "^1.1.71" } }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -2480,11 +1654,6 @@ "ansi-colors": "^4.1.1" } }, - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" - }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", @@ -2697,6 +1866,11 @@ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", "dev": true }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" + }, "execa": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", @@ -2824,11 +1998,6 @@ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", "dev": true }, - "fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==" - }, "fastq": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", @@ -3233,6 +2402,11 @@ "safer-buffer": ">= 2.1.2 < 3" } }, + "ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, "ignore": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", @@ -3480,6 +2654,11 @@ "istanbul-lib-report": "^3.0.0" } }, + "jmespath": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz", + "integrity": "sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc=" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -4531,6 +3710,11 @@ "once": "^1.3.1" } }, + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + }, "qs": { "version": "6.10.1", "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", @@ -4539,6 +3723,11 @@ "side-channel": "^1.0.4" } }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -4693,6 +3882,11 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=" + }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -5353,6 +4547,15 @@ } } }, + "url": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", + "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -5508,6 +4711,20 @@ "typedarray-to-buffer": "^3.1.5" } }, + "xml2js": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~9.0.1" + } + }, + "xmlbuilder": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" + }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index 6ed88de..d2b785d 100644 --- a/package.json +++ b/package.json @@ -42,10 +42,10 @@ "!*/__tests__" ], "dependencies": { - "@aws-sdk/client-s3": "^3.20.0", "@loopback/boot": "^3.4.0", "@loopback/context": "^3.16.0", "@loopback/core": "^2.16.0", + "aws-sdk": "^2.910.0", "moment-timezone": "^0.5.33" }, "devDependencies": { diff --git a/src/providers/aws-s3.provider.ts b/src/providers/aws-s3.provider.ts index 227ac22..2e3b202 100644 --- a/src/providers/aws-s3.provider.ts +++ b/src/providers/aws-s3.provider.ts @@ -1,18 +1,15 @@ -//eslint-disable @typescript-eslint/no-explicit-any import {Provider, inject} from '@loopback/core'; -import * as AWS from '@aws-sdk/client-s3'; +import * as AWS from 'aws-sdk'; import {AwsS3Config, AWSS3Bindings} from '../types'; export class AwsS3Provider implements Provider { - //eslint-disable-next-line @typescript-eslint/no-explicit-any - client: any; constructor( @inject(AWSS3Bindings.Config) private readonly config: AwsS3Config, ) { - this.client = new AWS.S3Client(this.config); + AWS.config.update(Object.assign({}, {signatureVersion: this.config.signatureVersion}, this.config)); } value() { - return new AWS.S3(this.client); + return new AWS.S3(); } } diff --git a/src/types.ts b/src/types.ts index 96509d8..19de09f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,14 +1,12 @@ -import {S3} from '@aws-sdk/client-s3'; import {BindingKey} from '@loopback/core'; export namespace AWSS3Bindings { - export const AwsS3Provider = BindingKey.create('sf.aws.s3'); + export const AwsS3Provider = BindingKey.create('sf.aws.s3'); export const Config = BindingKey.create('sf.aws.s3.config'); } export interface AwsS3Config { accessKeyId: string; secretAccessKey: string; - region: string; signatureVersion: string; }