Skip to content

Commit

Permalink
Replace dependency apollo-server-errors with @apollo/server 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 27, 2024
1 parent f31ec39 commit 0993e63
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 75 deletions.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"@typescript-eslint/eslint-plugin": "7.3.1",
"@typescript-eslint/parser": "7.3.1",
"@vitest/coverage-v8": "2.0.5",
"apollo-server-errors": "3.3.1",
"@apollo/server": "4.0.0",
"cross-env": "7.0.3",
"esbuild": "0.23.1",
"esbuild-plugin-import-glob": "0.1.1",
Expand Down
177 changes: 103 additions & 74 deletions opencti-platform/opencti-graphql/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ __metadata:
languageName: node
linkType: hard

"@apollo/cache-control-types@npm:^1.0.3":
"@apollo/cache-control-types@npm:^1.0.2":
version: 1.0.3
resolution: "@apollo/cache-control-types@npm:1.0.3"
peerDependencies:
Expand Down Expand Up @@ -58,7 +58,7 @@ __metadata:
languageName: node
linkType: hard

"@apollo/server-gateway-interface@npm:^1.1.1":
"@apollo/server-gateway-interface@npm:^1.0.3":
version: 1.1.1
resolution: "@apollo/server-gateway-interface@npm:1.1.1"
dependencies:
Expand All @@ -83,41 +83,42 @@ __metadata:
languageName: node
linkType: hard

"@apollo/server@npm:4.11.0":
version: 4.11.0
resolution: "@apollo/server@npm:4.11.0"
dependencies:
"@apollo/cache-control-types": "npm:^1.0.3"
"@apollo/server-gateway-interface": "npm:^1.1.1"
"@apollo/usage-reporting-protobuf": "npm:^4.1.1"
"@apollo/utils.createhash": "npm:^2.0.0"
"@apollo/utils.fetcher": "npm:^2.0.0"
"@apollo/utils.isnodelike": "npm:^2.0.0"
"@apollo/utils.keyvaluecache": "npm:^2.1.0"
"@apollo/utils.logger": "npm:^2.0.0"
"@apollo/utils.usagereporting": "npm:^2.1.0"
"@apollo/utils.withrequired": "npm:^2.0.0"
"@apollo/server@npm:4.0.0":
version: 4.0.0
resolution: "@apollo/server@npm:4.0.0"
dependencies:
"@apollo/cache-control-types": "npm:^1.0.2"
"@apollo/server-gateway-interface": "npm:^1.0.3"
"@apollo/usage-reporting-protobuf": "npm:^4.0.0"
"@apollo/utils.createhash": "npm:^1.1.0"
"@apollo/utils.fetcher": "npm:^1.0.0"
"@apollo/utils.isnodelike": "npm:^1.1.0"
"@apollo/utils.keyvaluecache": "npm:^1.0.1"
"@apollo/utils.logger": "npm:^1.0.0"
"@apollo/utils.usagereporting": "npm:^1.0.0"
"@apollo/utils.withrequired": "npm:^1.0.0"
"@graphql-tools/schema": "npm:^9.0.0"
"@josephg/resolvable": "npm:^1.0.0"
"@types/express": "npm:^4.17.13"
"@types/express-serve-static-core": "npm:^4.17.30"
"@types/node-fetch": "npm:^2.6.1"
async-retry: "npm:^1.2.1"
body-parser: "npm:^1.20.0"
cors: "npm:^2.8.5"
express: "npm:^4.17.1"
loglevel: "npm:^1.6.8"
lru-cache: "npm:^7.10.1"
negotiator: "npm:^0.6.3"
node-abort-controller: "npm:^3.1.1"
node-fetch: "npm:^2.6.7"
uuid: "npm:^9.0.0"
whatwg-mimetype: "npm:^3.0.0"
peerDependencies:
graphql: ^16.6.0
checksum: 10/2f4d20dfcab2261d7c090d81bebccfd56ead1b9740e964fb2b7bd65058bff57b9bc175c4a3b2eb0c7d5fc8a7cc4ea2685ac6d0d2a147244964fa4c432db7c30f
checksum: 10/c6d07217e150566fe785c67e4f29e496081cf18fc1a6ad9fce6b83e182703fa24570d8cfa5b31f69bd8fac573ea0e5ae65676d138c36fe52bd4c5da39295a5a6
languageName: node
linkType: hard

"@apollo/usage-reporting-protobuf@npm:^4.1.0, @apollo/usage-reporting-protobuf@npm:^4.1.1":
"@apollo/usage-reporting-protobuf@npm:^4.0.0, @apollo/usage-reporting-protobuf@npm:^4.1.1":
version: 4.1.1
resolution: "@apollo/usage-reporting-protobuf@npm:4.1.1"
dependencies:
Expand All @@ -126,22 +127,29 @@ __metadata:
languageName: node
linkType: hard

"@apollo/utils.createhash@npm:^2.0.0":
version: 2.0.1
resolution: "@apollo/utils.createhash@npm:2.0.1"
"@apollo/utils.createhash@npm:^1.1.0":
version: 1.1.0
resolution: "@apollo/utils.createhash@npm:1.1.0"
dependencies:
"@apollo/utils.isnodelike": "npm:^2.0.1"
"@apollo/utils.isnodelike": "npm:^1.1.0"
sha.js: "npm:^2.4.11"
checksum: 10/9e3ba58fd44f7900133a2219b0b66c0656a9c729f7a2ed1a459af8f4149925f0602d9766e57a0cc2acb8d24623f5c34ebad0faac0004cd59060fd6b1c91d5029
checksum: 10/cc2913ef19d968f1053d2dd7e6776d47dc17552468aaf32b1510bc7246e03a65f6596151184ad1656daca2824845250ad729b0f0986dd36010a88c1b04537b1a
languageName: node
linkType: hard

"@apollo/utils.dropunuseddefinitions@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.dropunuseddefinitions@npm:2.0.1"
"@apollo/utils.dropunuseddefinitions@npm:^1.1.0":
version: 1.1.0
resolution: "@apollo/utils.dropunuseddefinitions@npm:1.1.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/c12166f2551fb44045a8210317b7776abc263136bd07bfe3c6eecdb050468590fc73e524efc437cad21cc4cfcd1efc3e110285025150c2073a4b303934898ac1
checksum: 10/b66e07086ea65bcb94d84cfd5e6d90d0406c4e7f602c9a5e793c2001273380a4f61c287f60ee1d81d47d49d3a62ef3f0afb8049243540d3021ff445869124094
languageName: node
linkType: hard

"@apollo/utils.fetcher@npm:^1.0.0":
version: 1.1.1
resolution: "@apollo/utils.fetcher@npm:1.1.1"
checksum: 10/fdecd57b8a397fbcbed37b0cd7d23a1e1bbcb6de91e7631bd7fc0abb2dbe7cb606c8a0414022f4b7ebd35e3aea907912bb9ce9b4f40cdfcd99815818fa314645
languageName: node
linkType: hard

Expand All @@ -152,10 +160,20 @@ __metadata:
languageName: node
linkType: hard

"@apollo/utils.isnodelike@npm:^2.0.0, @apollo/utils.isnodelike@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.isnodelike@npm:2.0.1"
checksum: 10/c2e858186a60cccb7e4fc53e8b97b2a4d5470cd4975ad9cccd29e57a23eff1aa3a0c03edceb13c423632224ce2c327c6f1bb8bd77dc3fb039316bba5750536ec
"@apollo/utils.isnodelike@npm:^1.1.0":
version: 1.1.0
resolution: "@apollo/utils.isnodelike@npm:1.1.0"
checksum: 10/66d620b9db01a919858138e99e2227a793912aafa5deed3eedbaa3b29e1364b6e82c111562743951dd56f4574c331a34f83d864f0d648f5e32c9555653f121af
languageName: node
linkType: hard

"@apollo/utils.keyvaluecache@npm:^1.0.1":
version: 1.0.2
resolution: "@apollo/utils.keyvaluecache@npm:1.0.2"
dependencies:
"@apollo/utils.logger": "npm:^1.0.0"
lru-cache: "npm:7.10.1 - 7.13.1"
checksum: 10/353794482ad8c476e36c2152d6a647244a8cffbbc26a9b2b28986b3651aaff16b73df1dfed9edc8eb151fe7bd4c59d06b3b1b4c6b1aa516fceb8119a46fa8f72
languageName: node
linkType: hard

Expand All @@ -169,71 +187,78 @@ __metadata:
languageName: node
linkType: hard

"@apollo/utils.logger@npm:^1.0.0":
version: 1.0.1
resolution: "@apollo/utils.logger@npm:1.0.1"
checksum: 10/621bd80ce43a73f97342568b712fd46fee9041212d4c7264a63676e29d17ab292773c3c21b91f8a2dffb1fe7931ece3954886bd04e3100e1765c6d05e231e2a7
languageName: node
linkType: hard

"@apollo/utils.logger@npm:^2.0.0, @apollo/utils.logger@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.logger@npm:2.0.1"
checksum: 10/f975c81fcc7e54669b975031349f292930dc4cc3dd6bdc58bc7fe2159e0398a7d18b28860ee324c23722b005848e258094a143d20f6989fde5837379240b0066
languageName: node
linkType: hard

"@apollo/utils.printwithreducedwhitespace@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.printwithreducedwhitespace@npm:2.0.1"
"@apollo/utils.printwithreducedwhitespace@npm:^1.1.0":
version: 1.1.0
resolution: "@apollo/utils.printwithreducedwhitespace@npm:1.1.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/16cd191e66f3801b15deb581426cd1f55066bb824c32d63fe9de9c255bea2e2b6ee1ffc88873607830d2df0f3b4d9a14c707b709f205062e21a502f08f40d513
checksum: 10/86536751681c64f35a2d37b0c2f69a39d91ea0e4f0c3c993d9f76fa109f85e9d306e6994bd6e38eef1e4e5b83245125aaa125ecc94e185d90b3255f06a538503
languageName: node
linkType: hard

"@apollo/utils.removealiases@npm:2.0.1":
version: 2.0.1
resolution: "@apollo/utils.removealiases@npm:2.0.1"
"@apollo/utils.removealiases@npm:1.0.0":
version: 1.0.0
resolution: "@apollo/utils.removealiases@npm:1.0.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/2f3f925b239bce49fe9d80bb9fbb551992c8d9180af160e780faf1c88971a30ef16b842e82e1f27a0e1f8c649af0a442ef95f6838d4cde6148939ec73d9464f6
checksum: 10/fda30ad4ee1fbf012e4289b9963b8b75a102eadbdfa5e558dc923cfc68df42eff6e232dc20c34b7e7563e5aac7ae3781d17919cd8f5eccb90c4225a274b2af93
languageName: node
linkType: hard

"@apollo/utils.sortast@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.sortast@npm:2.0.1"
"@apollo/utils.sortast@npm:^1.1.0":
version: 1.1.0
resolution: "@apollo/utils.sortast@npm:1.1.0"
dependencies:
lodash.sortby: "npm:^4.7.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/b71245558ebd64bf93b98aec933d4b5f5758e0fecf7915728d94725ed4201fb2515e2af92fe01a595638147e5e0ef50a27ab5323d9b76eeb126769fb1e58f051
checksum: 10/5ec695d8c91efd82ad75cb3e27662644c71e22be71793908135b38965be6fe1f229c24fd2f4fed1bc1829b84bec2a1f6470817a83c633d95292db7635a625471
languageName: node
linkType: hard

"@apollo/utils.stripsensitiveliterals@npm:^2.0.1":
version: 2.0.1
resolution: "@apollo/utils.stripsensitiveliterals@npm:2.0.1"
"@apollo/utils.stripsensitiveliterals@npm:^1.2.0":
version: 1.2.0
resolution: "@apollo/utils.stripsensitiveliterals@npm:1.2.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/a3f74af0626f89d61f7ed1d25194f6b77006a06653399eecaea0b246cf685a85465091f2dc70280b127871b5c1eda7ded799ce176271c2612946acdc9453d388
checksum: 10/5910186a30be23fac59652d350e83a8a7a53adb9146ed545906f6893ad9c8d380752e679348ee210ae01fa39cc0487692b632e960003dcedc2282bd28de2aa01
languageName: node
linkType: hard

"@apollo/utils.usagereporting@npm:^2.1.0":
version: 2.1.0
resolution: "@apollo/utils.usagereporting@npm:2.1.0"
"@apollo/utils.usagereporting@npm:^1.0.0":
version: 1.0.1
resolution: "@apollo/utils.usagereporting@npm:1.0.1"
dependencies:
"@apollo/usage-reporting-protobuf": "npm:^4.1.0"
"@apollo/utils.dropunuseddefinitions": "npm:^2.0.1"
"@apollo/utils.printwithreducedwhitespace": "npm:^2.0.1"
"@apollo/utils.removealiases": "npm:2.0.1"
"@apollo/utils.sortast": "npm:^2.0.1"
"@apollo/utils.stripsensitiveliterals": "npm:^2.0.1"
"@apollo/usage-reporting-protobuf": "npm:^4.0.0"
"@apollo/utils.dropunuseddefinitions": "npm:^1.1.0"
"@apollo/utils.printwithreducedwhitespace": "npm:^1.1.0"
"@apollo/utils.removealiases": "npm:1.0.0"
"@apollo/utils.sortast": "npm:^1.1.0"
"@apollo/utils.stripsensitiveliterals": "npm:^1.2.0"
peerDependencies:
graphql: 14.x || 15.x || 16.x
checksum: 10/8af4b23000a4c35ba568e6a532e4120ab0e55b291c7b902f2d10a51aad877d0438b80c019296436870ee265edcc8881521fb9a0829796f23a3b2cb73449ac890
checksum: 10/9ffd30e60543163dfb112167024b4fb89113974aba7255350b46eafceaf49b267b2660f36e36654c3e97a1676877fe0b17cb3586b2ead4d0abb85b9f4a86916a
languageName: node
linkType: hard

"@apollo/utils.withrequired@npm:^2.0.0":
version: 2.0.1
resolution: "@apollo/utils.withrequired@npm:2.0.1"
checksum: 10/ddd3a72d0f13e6283128d1aae787b65f8ef0bf2f2cf351e143c479f0838679e72d82f42f653b6baadd33a092854fc9cb9dd8af4a45938ee25b718274cef408ee
"@apollo/utils.withrequired@npm:^1.0.0":
version: 1.0.1
resolution: "@apollo/utils.withrequired@npm:1.0.1"
checksum: 10/556169e6aef81114485f4b150919cf41e30ba03471f4ad33bb0a6f4cf23a11ddca9ccf4a788635a31f9ffe2dc679d97d9a3b103215251d00c1fcf68904dbe7a9
languageName: node
linkType: hard

Expand Down Expand Up @@ -2904,6 +2929,13 @@ __metadata:
languageName: node
linkType: hard

"@josephg/resolvable@npm:^1.0.0":
version: 1.0.1
resolution: "@josephg/resolvable@npm:1.0.1"
checksum: 10/64eb763b5138bdae4fb59c0c0e89ed261b690917ae6bd777b533257668f151b8868698fb73dfd7665746ad07c7c917fe89ccfdf2404048d39f373f57f1a14e34
languageName: node
linkType: hard

"@jridgewell/gen-mapping@npm:^0.3.5":
version: 0.3.5
resolution: "@jridgewell/gen-mapping@npm:0.3.5"
Expand Down Expand Up @@ -5267,15 +5299,6 @@ __metadata:
languageName: node
linkType: hard

"apollo-server-errors@npm:3.3.1":
version: 3.3.1
resolution: "apollo-server-errors@npm:3.3.1"
peerDependencies:
graphql: ^15.3.0 || ^16.0.0
checksum: 10/5090af0280e40ce9b3b042fca6bd195d84c8507d8fe0b16b7fd52501b8f88cb2b5cca99882a9c5253f04c78b94ff2d350eb148867e20b0ddd6211071bb17f553
languageName: node
linkType: hard

"archiver-utils@npm:^5.0.0, archiver-utils@npm:^5.0.1, archiver-utils@npm:^5.0.2":
version: 5.0.2
resolution: "archiver-utils@npm:5.0.2"
Expand Down Expand Up @@ -9939,6 +9962,13 @@ __metadata:
languageName: node
linkType: hard

"lru-cache@npm:7.10.1 - 7.13.1":
version: 7.13.1
resolution: "lru-cache@npm:7.13.1"
checksum: 10/81ebb3f1fd3e1d3c32762a58c5964364220fc4b413f5180588b74473bd9a075cdafee32421f8ee6105148c8986d183bf40539017dea03abed32f4e1e59bf2654
languageName: node
linkType: hard

"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0":
version: 10.4.3
resolution: "lru-cache@npm:10.4.3"
Expand Down Expand Up @@ -10430,7 +10460,7 @@ __metadata:
languageName: node
linkType: hard

"node-abort-controller@npm:^3.0.1, node-abort-controller@npm:^3.1.1":
"node-abort-controller@npm:^3.0.1":
version: 3.1.1
resolution: "node-abort-controller@npm:3.1.1"
checksum: 10/0a2cdb7ec0aeaf3cb31e1ca0e192f5add48f1c5c9c9ed822129f9dddbd9432f69b7425982f94ce803c56a2104884530aa67cd57696e5774b2e5b8ec2f58de042
Expand Down Expand Up @@ -10783,7 +10813,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "opencti-graphql@workspace:."
dependencies:
"@apollo/server": "npm:4.11.0"
"@apollo/server": "npm:4.0.0"
"@apollo/server-plugin-landing-page-graphql-playground": "npm:4.0.1"
"@aws-sdk/client-s3": "npm:3.658.1"
"@aws-sdk/client-sts": "npm:3.658.1"
Expand Down Expand Up @@ -10843,7 +10873,6 @@ __metadata:
ajv: "npm:8.17.1"
amqplib: "npm:0.10.4"
antlr4: "npm:4.13.2"
apollo-server-errors: "npm:3.3.1"
archiver: "npm:7.0.1"
archiver-zip-encrypted: "npm:2.0.0"
async-lock: "npm:1.4.1"
Expand Down

0 comments on commit 0993e63

Please sign in to comment.