chore: upgrade aws-sdk v2 to v3 (#6643) (#6693)

Fixes (#6643)

- According to `aws-sdk` v3, each service is packaged as a separate
module, and the codebase uses all of the required AWS services
accordingly. Therefore, removing the direct dependency on `aws-sdk:v2`
to resolve the warning shown in (#6643)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Naineel Soyantar 2024-08-23 15:40:18 +05:30 committed by GitHub
parent 6f9aa1e870
commit 4c5fc2311f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 117 deletions

View File

@ -71,7 +71,6 @@
"apollo-server-express": "^3.12.0",
"apollo-upload-client": "^17.0.0",
"archiver": "^7.0.1",
"aws-sdk": "^2.1658.0",
"axios": "^1.6.2",
"bcrypt": "^5.1.1",
"better-sqlite3": "^9.2.2",

124
yarn.lock
View File

@ -19577,24 +19577,6 @@ __metadata:
languageName: node
linkType: hard
"aws-sdk@npm:^2.1658.0":
version: 2.1670.0
resolution: "aws-sdk@npm:2.1670.0"
dependencies:
buffer: "npm:4.9.2"
events: "npm:1.1.1"
ieee754: "npm:1.1.13"
jmespath: "npm:0.16.0"
querystring: "npm:0.2.0"
sax: "npm:1.2.1"
url: "npm:0.10.3"
util: "npm:^0.12.4"
uuid: "npm:8.0.0"
xml2js: "npm:0.6.2"
checksum: 10c0/a09438f731fc3659977a42a882c34328b208f00ee2efdd68cc4219909efda0073c1958d464a7d4d25704fbd834756e68f29214c379e1eaaa4b4cfe5d2645f82a
languageName: node
linkType: hard
"aws-sign2@npm:~0.7.0":
version: 0.7.0
resolution: "aws-sign2@npm:0.7.0"
@ -21399,17 +21381,6 @@ __metadata:
languageName: node
linkType: hard
"buffer@npm:4.9.2":
version: 4.9.2
resolution: "buffer@npm:4.9.2"
dependencies:
base64-js: "npm:^1.0.2"
ieee754: "npm:^1.1.4"
isarray: "npm:^1.0.0"
checksum: 10c0/dc443d7e7caab23816b58aacdde710b72f525ad6eecd7d738fcaa29f6d6c12e8d9c13fed7219fd502be51ecf0615f5c077d4bdc6f9308dde2e53f8e5393c5b21
languageName: node
linkType: hard
"buffer@npm:^5.5.0":
version: 5.7.1
resolution: "buffer@npm:5.7.1"
@ -26944,13 +26915,6 @@ __metadata:
languageName: node
linkType: hard
"events@npm:1.1.1":
version: 1.1.1
resolution: "events@npm:1.1.1"
checksum: 10c0/29ba5a4c7d03dd2f4a2d3d9d4dfd8332225256f666cd69f490975d2eff8d7c73f1fb4872877b2c1f3b485e8fb42462153d65e5a21ea994eb928c3bec9e0c826e
languageName: node
linkType: hard
"events@npm:^3.0.0, events@npm:^3.2.0, events@npm:^3.3.0":
version: 3.3.0
resolution: "events@npm:3.3.0"
@ -30723,13 +30687,6 @@ __metadata:
languageName: node
linkType: hard
"ieee754@npm:1.1.13":
version: 1.1.13
resolution: "ieee754@npm:1.1.13"
checksum: 10c0/eaf8c87e014282bfb5b13670991a2ed086eaef35ccc3fb713833863f2e7213041b2c29246adbc5f6561d51d53861c3b11f3b82b28fc6fa1352edeff381f056e5
languageName: node
linkType: hard
"ieee754@npm:^1.1.13, ieee754@npm:^1.1.4, ieee754@npm:^1.2.1":
version: 1.2.1
resolution: "ieee754@npm:1.2.1"
@ -31984,13 +31941,6 @@ __metadata:
languageName: node
linkType: hard
"isarray@npm:^1.0.0, isarray@npm:~1.0.0":
version: 1.0.0
resolution: "isarray@npm:1.0.0"
checksum: 10c0/18b5be6669be53425f0b84098732670ed4e727e3af33bc7f948aac01782110eb9a18b3b329c5323bcdd3acdaae547ee077d3951317e7f133bff7105264b3003d
languageName: node
linkType: hard
"isarray@npm:^2.0.5":
version: 2.0.5
resolution: "isarray@npm:2.0.5"
@ -31998,6 +31948,13 @@ __metadata:
languageName: node
linkType: hard
"isarray@npm:~1.0.0":
version: 1.0.0
resolution: "isarray@npm:1.0.0"
checksum: 10c0/18b5be6669be53425f0b84098732670ed4e727e3af33bc7f948aac01782110eb9a18b3b329c5323bcdd3acdaae547ee077d3951317e7f133bff7105264b3003d
languageName: node
linkType: hard
"isbinaryfile@npm:^5.0.0":
version: 5.0.2
resolution: "isbinaryfile@npm:5.0.2"
@ -32860,13 +32817,6 @@ __metadata:
languageName: node
linkType: hard
"jmespath@npm:0.16.0":
version: 0.16.0
resolution: "jmespath@npm:0.16.0"
checksum: 10c0/84cdca62c4a3d339701f01cc53decf16581c76ce49e6455119be1c5f6ab09a19e6788372536bd261d348d21cd817981605f8debae67affadba966219a2bac1c5
languageName: node
linkType: hard
"joi@npm:^17.11.0, joi@npm:^17.9.2":
version: 17.13.3
resolution: "joi@npm:17.13.3"
@ -41446,13 +41396,6 @@ __metadata:
languageName: node
linkType: hard
"punycode@npm:1.3.2":
version: 1.3.2
resolution: "punycode@npm:1.3.2"
checksum: 10c0/281fd20eaf4704f79d80cb0dc65065bf6452ee67989b3e8941aed6360a5a9a8a01d3e2ed71d0bde3cd74fb5a5dd9db4160bed5a8c20bed4b6764c24ce4c7d2d2
languageName: node
linkType: hard
"punycode@npm:^1.3.2, punycode@npm:^1.4.1":
version: 1.4.1
resolution: "punycode@npm:1.4.1"
@ -41577,13 +41520,6 @@ __metadata:
languageName: node
linkType: hard
"querystring@npm:0.2.0":
version: 0.2.0
resolution: "querystring@npm:0.2.0"
checksum: 10c0/2036c9424beaacd3978bac9e4ba514331cc73163bea7bf3ad7e2c7355e55501938ec195312c607753f9c6e70b1bf9dfcda38db6241bd299c034e27ac639d64ed
languageName: node
linkType: hard
"querystringify@npm:^2.1.1":
version: 2.2.0
resolution: "querystringify@npm:2.2.0"
@ -44000,14 +43936,7 @@ __metadata:
languageName: node
linkType: hard
"sax@npm:1.2.1":
version: 1.2.1
resolution: "sax@npm:1.2.1"
checksum: 10c0/1ae269cfde0b3774b4c92eb744452b6740bde5c5744fe5cadef6f496e42d9b632f483fb6aff9a23c0749c94c6951b06b0c5a90a5e99c879d3401cfd5ba61dc02
languageName: node
linkType: hard
"sax@npm:>=0.6.0, sax@npm:^1.2.4":
"sax@npm:^1.2.4":
version: 1.4.1
resolution: "sax@npm:1.4.1"
checksum: 10c0/6bf86318a254c5d898ede6bd3ded15daf68ae08a5495a2739564eb265cd13bcc64a07ab466fb204f67ce472bb534eb8612dac587435515169593f4fffa11de7c
@ -47348,7 +47277,6 @@ __metadata:
apollo-server-express: "npm:^3.12.0"
apollo-upload-client: "npm:^17.0.0"
archiver: "npm:^7.0.1"
aws-sdk: "npm:^2.1658.0"
axios: "npm:^1.6.2"
bcrypt: "npm:^5.1.1"
better-sqlite3: "npm:^9.2.2"
@ -48578,16 +48506,6 @@ __metadata:
languageName: node
linkType: hard
"url@npm:0.10.3":
version: 0.10.3
resolution: "url@npm:0.10.3"
dependencies:
punycode: "npm:1.3.2"
querystring: "npm:0.2.0"
checksum: 10c0/f0a1c7d99ac35dd68a8962bc7b3dd38f08d457387fc686f0669ff881b00a68eabd9cb3aded09dfbe25401d7b632fc4a9c074cb373f6a4bd1d8b5324d1d442a0d
languageName: node
linkType: hard
"url@npm:^0.11.0, url@npm:~0.11.0":
version: 0.11.4
resolution: "url@npm:0.11.4"
@ -48786,15 +48704,6 @@ __metadata:
languageName: node
linkType: hard
"uuid@npm:8.0.0":
version: 8.0.0
resolution: "uuid@npm:8.0.0"
bin:
uuid: dist/bin/uuid
checksum: 10c0/e62301a1c6102da5ce9a147b492a4b5cfa14d2e8fdf4a6ebfda7929cb72d186f84173815ec18fa4160a03bf9724b16ece3737b3ac6701815bc965f8fa4279298
languageName: node
linkType: hard
"uuid@npm:8.3.2, uuid@npm:^8.3.2":
version: 8.3.2
resolution: "uuid@npm:8.3.2"
@ -50312,16 +50221,6 @@ __metadata:
languageName: node
linkType: hard
"xml2js@npm:0.6.2":
version: 0.6.2
resolution: "xml2js@npm:0.6.2"
dependencies:
sax: "npm:>=0.6.0"
xmlbuilder: "npm:~11.0.0"
checksum: 10c0/e98a84e9c172c556ee2c5afa0fc7161b46919e8b53ab20de140eedea19903ed82f7cd5b1576fb345c84f0a18da1982ddf65908129b58fc3d7cbc658ae232108f
languageName: node
linkType: hard
"xml@npm:^1.0.1":
version: 1.0.1
resolution: "xml@npm:1.0.1"
@ -50329,13 +50228,6 @@ __metadata:
languageName: node
linkType: hard
"xmlbuilder@npm:~11.0.0":
version: 11.0.1
resolution: "xmlbuilder@npm:11.0.1"
checksum: 10c0/74b979f89a0a129926bc786b913459bdbcefa809afaa551c5ab83f89b1915bdaea14c11c759284bb9b931e3b53004dbc2181e21d3ca9553eeb0b2a7b4e40c35b
languageName: node
linkType: hard
"xmlchars@npm:^2.2.0":
version: 2.2.0
resolution: "xmlchars@npm:2.2.0"