ci: fix missing node_modules in build tarball

pull/6775/head
NGPixel 2 years ago
parent d1bf125f74
commit 95ea8526c5
No known key found for this signature in database
GPG Key ID: B755FB6870B30F63

@ -77,9 +77,9 @@ jobs:
cp -R server _dist/server
cp LICENSE _dist/LICENSE
cp config.sample.yml _dist/config.sample.yml
cd server
cd _dist/server
npm ci --omit=dev --audit=false --fund=false
cd ..
cd -
find ./_dist/ -printf "%P\n" | tar -czf wiki-js.tar.gz --no-recursion -C ./_dist/ -T -
- name: Upload Build Artifact

@ -1,10 +1,11 @@
import fs from 'node:fs/promises'
import http from 'node:http'
import https from 'node:https'
import { ApolloServer } from 'apollo-server-express'
import { ApolloServer } from '@apollo/server'
import { expressMiddleware } from '@apollo/server/express4'
import { isEmpty } from 'lodash-es'
import { Server as IoServer } from 'socket.io'
import { ApolloServerPluginLandingPageGraphQLPlayground, ApolloServerPluginLandingPageProductionDefault } from 'apollo-server-core'
import { ApolloServerPluginLandingPageLocalDefault, ApolloServerPluginLandingPageProductionDefault } from '@apollo/server/plugin/landingPage/default'
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs'
import { initSchema } from '../graph/index.mjs'
@ -134,10 +135,13 @@ export default {
schema: graphqlSchema,
csrfPrevention: true,
cache: 'bounded',
context: ({ req, res }) => ({ req, res }),
plugins: [
process.env.NODE_ENV === 'development' ? ApolloServerPluginLandingPageGraphQLPlayground({
footer: false
process.env.NODE_ENV === 'development' ? ApolloServerPluginLandingPageLocalDefault({
footer: false,
embed: {
endpointIsEditable: false,
runTelemetry: false
}
}) : ApolloServerPluginLandingPageProductionDefault({
footer: false
})
@ -150,7 +154,9 @@ export default {
maxFileSize: WIKI.config.security.uploadMaxFileSize,
maxFiles: WIKI.config.security.uploadMaxFiles
}))
this.graph.applyMiddleware({ app: WIKI.app, cors: false, path: '/_graphql' })
WIKI.app.use('/_graphql', expressMiddleware(this.graph, {
context: ({ req, res }) => ({ req, res })
}))
},
/**
* Start Socket.io WebSocket Server

@ -9,6 +9,7 @@
"version": "3.0.0",
"license": "AGPL-3.0",
"dependencies": {
"@apollo/server": "4.7.1",
"@azure/storage-blob": "12.14.0",
"@exlinc/keycloak-passport": "1.0.2",
"@graphql-tools/schema": "10.0.0",
@ -19,10 +20,6 @@
"@root/pem": "1.0.4",
"acme": "3.0.3",
"akismet-api": "6.0.0",
"apollo-fetch": "0.7.0",
"apollo-server": "3.6.7",
"apollo-server-express": "3.6.7",
"auto-load": "3.0.4",
"aws-sdk": "2.1386.0",
"bcryptjs": "2.4.3",
"body-parser": "1.20.2",
@ -164,6 +161,14 @@
"node": ">=18.0"
}
},
"node_modules/@apollo/cache-control-types": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@apollo/cache-control-types/-/cache-control-types-1.0.2.tgz",
"integrity": "sha512-Por80co1eUm4ATsvjCOoS/tIR8PHxqVjsA6z76I6Vw0rFn4cgyVElQcmQDIZiYsy41k8e5xkrMRECkM2WR8pNw==",
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/client": {
"version": "3.5.10",
"resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.5.10.tgz",
@ -225,131 +230,271 @@
"apollo-pbts": "bin/pbts"
}
},
"node_modules/@apollo/usage-reporting-protobuf": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.0.tgz",
"integrity": "sha512-hXouMuw5pQVkzi8dgMybmr6Y11+eRmMQVoB5TF0HyTwAg9SOq/v3OCuiYqcVUKdBcskU9Msp+XvjAk0GKpWCwQ==",
"dependencies": {
"@apollo/protobufjs": "1.2.7"
"node_modules/@apollo/server": {
"version": "4.7.1",
"resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.7.1.tgz",
"integrity": "sha512-rFxd8jsMlqEYzmhuxATaDAPoRH905R56FKP4TnZWaiDYJtjhHe3hxZOWl24V7s0dB52DIp6S/x+zjQX8fwD37w==",
"dependencies": {
"@apollo/cache-control-types": "^1.0.2",
"@apollo/server-gateway-interface": "^1.1.0",
"@apollo/usage-reporting-protobuf": "^4.1.0",
"@apollo/utils.createhash": "^2.0.0",
"@apollo/utils.fetcher": "^2.0.0",
"@apollo/utils.isnodelike": "^2.0.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"@apollo/utils.logger": "^2.0.0",
"@apollo/utils.usagereporting": "^2.0.0",
"@apollo/utils.withrequired": "^2.0.0",
"@graphql-tools/schema": "^9.0.0",
"@josephg/resolvable": "^1.0.0",
"@types/express": "^4.17.13",
"@types/express-serve-static-core": "^4.17.30",
"@types/node-fetch": "^2.6.1",
"async-retry": "^1.2.1",
"body-parser": "^1.20.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"loglevel": "^1.6.8",
"lru-cache": "^7.10.1",
"negotiator": "^0.6.3",
"node-abort-controller": "^3.1.1",
"node-fetch": "^2.6.7",
"uuid": "^9.0.0",
"whatwg-mimetype": "^3.0.0"
},
"engines": {
"node": ">=14.16.0"
},
"peerDependencies": {
"graphql": "^16.6.0"
}
},
"node_modules/@apollo/utils.dropunuseddefinitions": {
"node_modules/@apollo/server-gateway-interface": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-1.1.0.tgz",
"integrity": "sha512-jU1XjMr6ec9pPoL+BFWzEPW7VHHulVdGKMkPAMiCigpVIT11VmCbnij0bWob8uS3ODJ65tZLYKAh/55vLw2rbg==",
"engines": {
"node": ">=12.13.0"
"resolved": "https://registry.npmjs.org/@apollo/server-gateway-interface/-/server-gateway-interface-1.1.0.tgz",
"integrity": "sha512-0rhG++QtGfr4YhhIHgxZ9BdMFthaPY6LbhI9Au90osbfLMiZ7f8dmZsEX1mp7O1h8MJwCu6Dp0I/KcGbSvfUGA==",
"dependencies": {
"@apollo/usage-reporting-protobuf": "^4.0.0",
"@apollo/utils.fetcher": "^2.0.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"@apollo/utils.logger": "^2.0.0"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.keyvaluecache": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-1.0.2.tgz",
"integrity": "sha512-p7PVdLPMnPzmXSQVEsy27cYEjVON+SH/Wb7COyW3rQN8+wJgT1nv9jZouYtztWW8ZgTkii5T6tC9qfoDREd4mg==",
"node_modules/@apollo/server-gateway-interface/node_modules/@apollo/utils.keyvaluecache": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-2.1.1.tgz",
"integrity": "sha512-qVo5PvUUMD8oB9oYvq4ViCjYAMWnZ5zZwEjNF37L2m1u528x5mueMlU+Cr1UinupCgdB78g+egA1G98rbJ03Vw==",
"dependencies": {
"@apollo/utils.logger": "^1.0.0",
"lru-cache": "7.10.1 - 7.13.1"
"@apollo/utils.logger": "^2.0.1",
"lru-cache": "^7.14.1"
},
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/utils.keyvaluecache/node_modules/lru-cache": {
"version": "7.13.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.13.1.tgz",
"integrity": "sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ==",
"node_modules/@apollo/server-gateway-interface/node_modules/@apollo/utils.logger": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.logger/-/utils.logger-2.0.1.tgz",
"integrity": "sha512-YuplwLHaHf1oviidB7MxnCXAdHp3IqYV8n0momZ3JfLniae92eYqMIx+j5qJFX6WKJPs6q7bczmV4lXIsTu5Pg==",
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/server-gateway-interface/node_modules/lru-cache": {
"version": "7.18.3",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
"integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
"engines": {
"node": ">=12"
}
},
"node_modules/@apollo/utils.logger": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.logger/-/utils.logger-1.0.1.tgz",
"integrity": "sha512-XdlzoY7fYNK4OIcvMD2G94RoFZbzTQaNP0jozmqqMudmaGo2I/2Jx71xlDJ801mWA/mbYRihyaw6KJii7k5RVA=="
"node_modules/@apollo/server/node_modules/@apollo/utils.dropunuseddefinitions": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-2.0.1.tgz",
"integrity": "sha512-EsPIBqsSt2BwDsv8Wu76LK5R1KtsVkNoO4b0M5aK0hx+dGg9xJXuqlr7Fo34Dl+y83jmzn+UvEW+t1/GP2melA==",
"engines": {
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.printwithreducedwhitespace": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@apollo/utils.printwithreducedwhitespace/-/utils.printwithreducedwhitespace-1.1.0.tgz",
"integrity": "sha512-GfFSkAv3n1toDZ4V6u2d7L4xMwLA+lv+6hqXicMN9KELSJ9yy9RzuEXaX73c/Ry+GzRsBy/fdSUGayGqdHfT2Q==",
"node_modules/@apollo/server/node_modules/@apollo/utils.keyvaluecache": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-2.1.1.tgz",
"integrity": "sha512-qVo5PvUUMD8oB9oYvq4ViCjYAMWnZ5zZwEjNF37L2m1u528x5mueMlU+Cr1UinupCgdB78g+egA1G98rbJ03Vw==",
"dependencies": {
"@apollo/utils.logger": "^2.0.1",
"lru-cache": "^7.14.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
},
"node_modules/@apollo/server/node_modules/@apollo/utils.logger": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.logger/-/utils.logger-2.0.1.tgz",
"integrity": "sha512-YuplwLHaHf1oviidB7MxnCXAdHp3IqYV8n0momZ3JfLniae92eYqMIx+j5qJFX6WKJPs6q7bczmV4lXIsTu5Pg==",
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/server/node_modules/@apollo/utils.printwithreducedwhitespace": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.printwithreducedwhitespace/-/utils.printwithreducedwhitespace-2.0.1.tgz",
"integrity": "sha512-9M4LUXV/fQBh8vZWlLvb/HyyhjJ77/I5ZKu+NBWV/BmYGyRmoEP9EVAy7LCVoY3t8BDcyCAGfxJaLFCSuQkPUg==",
"engines": {
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.removealiases": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@apollo/utils.removealiases/-/utils.removealiases-1.0.0.tgz",
"integrity": "sha512-6cM8sEOJW2LaGjL/0vHV0GtRaSekrPQR4DiywaApQlL9EdROASZU5PsQibe2MWeZCOhNrPRuHh4wDMwPsWTn8A==",
"node_modules/@apollo/server/node_modules/@apollo/utils.removealiases": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.removealiases/-/utils.removealiases-2.0.1.tgz",
"integrity": "sha512-0joRc2HBO4u594Op1nev+mUF6yRnxoUH64xw8x3bX7n8QBDYdeYgY4tF0vJReTy+zdn2xv6fMsquATSgC722FA==",
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.sortast": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@apollo/utils.sortast/-/utils.sortast-1.1.0.tgz",
"integrity": "sha512-VPlTsmUnOwzPK5yGZENN069y6uUHgeiSlpEhRnLFYwYNoJHsuJq2vXVwIaSmts015WTPa2fpz1inkLYByeuRQA==",
"node_modules/@apollo/server/node_modules/@apollo/utils.sortast": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.sortast/-/utils.sortast-2.0.1.tgz",
"integrity": "sha512-eciIavsWpJ09za1pn37wpsCGrQNXUhM0TktnZmHwO+Zy9O4fu/WdB4+5BvVhFiZYOXvfjzJUcc+hsIV8RUOtMw==",
"dependencies": {
"lodash.sortby": "^4.7.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.stripsensitiveliterals": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@apollo/utils.stripsensitiveliterals/-/utils.stripsensitiveliterals-1.2.0.tgz",
"integrity": "sha512-E41rDUzkz/cdikM5147d8nfCFVKovXxKBcjvLEQ7bjZm/cg9zEcXvS6vFY8ugTubI3fn6zoqo0CyU8zT+BGP9w==",
"node_modules/@apollo/server/node_modules/@apollo/utils.stripsensitiveliterals": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.stripsensitiveliterals/-/utils.stripsensitiveliterals-2.0.1.tgz",
"integrity": "sha512-QJs7HtzXS/JIPMKWimFnUMK7VjkGQTzqD9bKD1h3iuPAqLsxd0mUNVbkYOPTsDhUKgcvUOfOqOJWYohAKMvcSA==",
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollo/utils.usagereporting": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.usagereporting/-/utils.usagereporting-1.0.1.tgz",
"integrity": "sha512-6dk+0hZlnDbahDBB2mP/PZ5ybrtCJdLMbeNJD+TJpKyZmSY6bA3SjI8Cr2EM9QA+AdziywuWg+SgbWUF3/zQqQ==",
"node_modules/@apollo/server/node_modules/@apollo/utils.usagereporting": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.usagereporting/-/utils.usagereporting-2.0.1.tgz",
"integrity": "sha512-18smkNfiSfu5yj2mpCIfSzmpDNh90a4PQ6t8kSwGKcPRD3KD83TfK7fF37fSRdnvO93dBkGreWisLXnCpqfWXg==",
"dependencies": {
"@apollo/usage-reporting-protobuf": "^4.0.0",
"@apollo/utils.dropunuseddefinitions": "^1.1.0",
"@apollo/utils.printwithreducedwhitespace": "^1.1.0",
"@apollo/utils.removealiases": "1.0.0",
"@apollo/utils.sortast": "^1.1.0",
"@apollo/utils.stripsensitiveliterals": "^1.2.0"
"@apollo/utils.dropunuseddefinitions": "^2.0.1",
"@apollo/utils.printwithreducedwhitespace": "^2.0.1",
"@apollo/utils.removealiases": "2.0.1",
"@apollo/utils.sortast": "^2.0.1",
"@apollo/utils.stripsensitiveliterals": "^2.0.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"peerDependencies": {
"graphql": "14.x || 15.x || 16.x"
}
},
"node_modules/@apollographql/apollo-tools": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/@apollographql/apollo-tools/-/apollo-tools-0.5.4.tgz",
"integrity": "sha512-shM3q7rUbNyXVVRkQJQseXv6bnYM3BUma/eZhwXR4xsuM+bqWnJKvW7SAfRjP7LuSCocrexa5AXhjjawNHrIlw==",
"engines": {
"node": ">=8",
"npm": ">=6"
"node_modules/@apollo/server/node_modules/@graphql-tools/merge": {
"version": "8.4.2",
"resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.4.2.tgz",
"integrity": "sha512-XbrHAaj8yDuINph+sAfuq3QCZ/tKblrTLOpirK0+CAgNlZUCHs0Fa+xtMUURgwCVThLle1AF7svJCxFizygLsw==",
"dependencies": {
"@graphql-tools/utils": "^9.2.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@apollo/server/node_modules/@graphql-tools/schema": {
"version": "9.0.19",
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-9.0.19.tgz",
"integrity": "sha512-oBRPoNBtCkk0zbUsyP4GaIzCt8C0aCI4ycIRUL67KK5pOHljKLBBtGT+Jr6hkzA74C8Gco8bpZPe7aWFjiaK2w==",
"dependencies": {
"@graphql-tools/merge": "^8.4.1",
"@graphql-tools/utils": "^9.2.1",
"tslib": "^2.4.0",
"value-or-promise": "^1.0.12"
},
"peerDependencies": {
"graphql": "^14.2.1 || ^15.0.0 || ^16.0.0"
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@apollo/server/node_modules/@types/express-serve-static-core": {
"version": "4.17.35",
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz",
"integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==",
"dependencies": {
"@types/node": "*",
"@types/qs": "*",
"@types/range-parser": "*",
"@types/send": "*"
}
},
"node_modules/@apollo/server/node_modules/lru-cache": {
"version": "7.18.3",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
"integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
"engines": {
"node": ">=12"
}
},
"node_modules/@apollo/usage-reporting-protobuf": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.0.tgz",
"integrity": "sha512-hXouMuw5pQVkzi8dgMybmr6Y11+eRmMQVoB5TF0HyTwAg9SOq/v3OCuiYqcVUKdBcskU9Msp+XvjAk0GKpWCwQ==",
"dependencies": {
"@apollo/protobufjs": "1.2.7"
}
},
"node_modules/@apollographql/graphql-playground-html": {
"version": "1.6.29",
"resolved": "https://registry.npmjs.org/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.29.tgz",
"integrity": "sha512-xCcXpoz52rI4ksJSdOCxeOCn2DLocxwHf9dVT/Q90Pte1LX+LY+91SFtJF3KXVHH8kEin+g1KKCQPKBjZJfWNA==",
"node_modules/@apollo/utils.createhash": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.createhash/-/utils.createhash-2.0.1.tgz",
"integrity": "sha512-fQO4/ZOP8LcXWvMNhKiee+2KuKyqIcfHrICA+M4lj/h/Lh1H10ICcUtk6N/chnEo5HXu0yejg64wshdaiFitJg==",
"dependencies": {
"xss": "^1.0.8"
"@apollo/utils.isnodelike": "^2.0.1",
"sha.js": "^2.4.11"
},
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/utils.fetcher": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.fetcher/-/utils.fetcher-2.0.1.tgz",
"integrity": "sha512-jvvon885hEyWXd4H6zpWeN3tl88QcWnHp5gWF5OPF34uhvoR+DFqcNxs9vrRaBBSY3qda3Qe0bdud7tz2zGx1A==",
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/utils.isnodelike": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.isnodelike/-/utils.isnodelike-2.0.1.tgz",
"integrity": "sha512-w41XyepR+jBEuVpoRM715N2ZD0xMD413UiJx8w5xnAZD2ZkSJnMJBoIzauK83kJpSgNuR6ywbV29jG9NmxjK0Q==",
"engines": {
"node": ">=14"
}
},
"node_modules/@apollo/utils.withrequired": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-2.0.1.tgz",
"integrity": "sha512-YBDiuAX9i1lLc6GeTy1m7DGLFn/gMnvXqlalOIMjM7DeOgIacEjjfwPqb0M1CQ2v11HhR15d1NmxJoRCfrNqcA==",
"engines": {
"node": ">=14"
}
},
"node_modules/@azure/abort-controller": {
@ -597,46 +742,6 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@graphql-tools/mock": {
"version": "8.7.19",
"resolved": "https://registry.npmjs.org/@graphql-tools/mock/-/mock-8.7.19.tgz",
"integrity": "sha512-LT2boYM+Y1vGFEhzmC7xDFRL8RPG20FbNcuk2/hHGH0Kh8K1hkItvL89tul3Pl7N6xerOnDZ3c3fx7Ls5GuFxA==",
"dependencies": {
"@graphql-tools/schema": "9.0.17",
"@graphql-tools/utils": "9.2.1",
"fast-json-stable-stringify": "^2.1.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@graphql-tools/mock/node_modules/@graphql-tools/merge": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.4.0.tgz",
"integrity": "sha512-3XYCWe0d3I4F1azNj1CdShlbHfTIfiDgj00R9uvFH8tHKh7i1IWN3F7QQYovcHKhayaR6zPok3YYMESYQcBoaA==",
"dependencies": {
"@graphql-tools/utils": "9.2.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@graphql-tools/mock/node_modules/@graphql-tools/schema": {
"version": "9.0.17",
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-9.0.17.tgz",
"integrity": "sha512-HVLq0ecbkuXhJlpZ50IHP5nlISqH2GbNgjBJhhRzHeXhfwlUOT4ISXGquWTmuq61K0xSaO0aCjMpxe4QYbKTng==",
"dependencies": {
"@graphql-tools/merge": "8.4.0",
"@graphql-tools/utils": "9.2.1",
"tslib": "^2.4.0",
"value-or-promise": "1.0.12"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/@graphql-tools/schema": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.0.0.tgz",
@ -1035,14 +1140,6 @@
"node": ">= 10"
}
},
"node_modules/@types/accepts": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz",
"integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/body-parser": {
"version": "1.19.2",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
@ -1173,6 +1270,20 @@
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
"integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
},
"node_modules/@types/send": {
"version": "0.17.1",
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz",
"integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==",
"dependencies": {
"@types/mime": "^1",
"@types/node": "*"
}
},
"node_modules/@types/send/node_modules/@types/mime": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
"integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw=="
},
"node_modules/@types/serve-static": {
"version": "1.15.1",
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz",
@ -1412,234 +1523,6 @@
"apg-conv-api": "1.0.x"
}
},
"node_modules/apollo-datasource": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/apollo-datasource/-/apollo-datasource-3.3.2.tgz",
"integrity": "sha512-L5TiS8E2Hn/Yz7SSnWIVbZw0ZfEIXZCa5VUiVxD9P53JvSrf4aStvsFDlGWPvpIdCR+aly2CfoB79B9/JjKFqg==",
"deprecated": "The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"@apollo/utils.keyvaluecache": "^1.0.1",
"apollo-server-env": "^4.2.1"
},
"engines": {
"node": ">=12.0"
}
},
"node_modules/apollo-fetch": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/apollo-fetch/-/apollo-fetch-0.7.0.tgz",
"integrity": "sha512-0oHsDW3Zxx+Of1wuqcOXruNj4Kv55WN69tkIjwkCQDEIrgCpgA2scjChFsgflSVMy/1mkTKCY1Mc0TYJhNRzmw==",
"dependencies": {
"cross-fetch": "^1.0.0"
}
},
"node_modules/apollo-reporting-protobuf": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.4.0.tgz",
"integrity": "sha512-h0u3EbC/9RpihWOmcSsvTW2O6RXVaD/mPEjfrPkxRPTEPWqncsgOoRJw+wih4OqfH3PvTJvoEIf4LwKrUaqWog==",
"deprecated": "The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"@apollo/protobufjs": "1.2.6"
}
},
"node_modules/apollo-reporting-protobuf/node_modules/@apollo/protobufjs": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.6.tgz",
"integrity": "sha512-Wqo1oSHNUj/jxmsVp4iR3I480p6qdqHikn38lKrFhfzcDJ7lwd7Ck7cHRl4JE81tWNArl77xhnG/OkZhxKBYOw==",
"hasInstallScript": true,
"dependencies": {
"@protobufjs/aspromise": "^1.1.2",
"@protobufjs/base64": "^1.1.2",
"@protobufjs/codegen": "^2.0.4",
"@protobufjs/eventemitter": "^1.1.0",
"@protobufjs/fetch": "^1.1.0",
"@protobufjs/float": "^1.0.2",
"@protobufjs/inquire": "^1.1.0",
"@protobufjs/path": "^1.1.2",
"@protobufjs/pool": "^1.1.0",
"@protobufjs/utf8": "^1.1.0",
"@types/long": "^4.0.0",
"@types/node": "^10.1.0",
"long": "^4.0.0"
},
"bin": {
"apollo-pbjs": "bin/pbjs",
"apollo-pbts": "bin/pbts"
}
},
"node_modules/apollo-reporting-protobuf/node_modules/@types/node": {
"version": "10.17.60",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz",
"integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw=="
},
"node_modules/apollo-server": {
"version": "3.6.7",
"resolved": "https://registry.npmjs.org/apollo-server/-/apollo-server-3.6.7.tgz",
"integrity": "sha512-WERZqaVCkZJMoOc9y692NribgNtKbHDjOwiAmgXI2WBlON2oUvCwgxPvsMg+bXVpQx4itrMyj31a2N6BeKmbmQ==",
"deprecated": "The `apollo-server` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"apollo-server-core": "^3.6.7",
"apollo-server-express": "^3.6.7",
"express": "^4.17.1"
},
"peerDependencies": {
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/apollo-server-core": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-3.12.0.tgz",
"integrity": "sha512-hq7iH6Cgldgmnjs9FVSZeKWRpi0/ZR+iJ1arzeD2VXGxxgk1mAm/cz1Tx0TYgegZI+FvvrRl0UhKEx7sLnIxIg==",
"deprecated": "The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"@apollo/utils.keyvaluecache": "^1.0.1",
"@apollo/utils.logger": "^1.0.0",
"@apollo/utils.usagereporting": "^1.0.0",
"@apollographql/apollo-tools": "^0.5.3",
"@apollographql/graphql-playground-html": "1.6.29",
"@graphql-tools/mock": "^8.1.2",
"@graphql-tools/schema": "^8.0.0",
"@josephg/resolvable": "^1.0.0",
"apollo-datasource": "^3.3.2",
"apollo-reporting-protobuf": "^3.4.0",
"apollo-server-env": "^4.2.1",
"apollo-server-errors": "^3.3.1",
"apollo-server-plugin-base": "^3.7.2",
"apollo-server-types": "^3.8.0",
"async-retry": "^1.2.1",
"fast-json-stable-stringify": "^2.1.0",
"graphql-tag": "^2.11.0",
"loglevel": "^1.6.8",
"lru-cache": "^6.0.0",
"node-abort-controller": "^3.0.1",
"sha.js": "^2.4.11",
"uuid": "^9.0.0",
"whatwg-mimetype": "^3.0.0"
},
"engines": {
"node": ">=12.0"
},
"peerDependencies": {
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/apollo-server-core/node_modules/@graphql-tools/merge": {
"version": "8.3.1",
"resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.3.1.tgz",
"integrity": "sha512-BMm99mqdNZbEYeTPK3it9r9S6rsZsQKtlqJsSBknAclXq2pGEfOxjcIZi+kBSkHZKPKCRrYDd5vY0+rUmIHVLg==",
"dependencies": {
"@graphql-tools/utils": "8.9.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/apollo-server-core/node_modules/@graphql-tools/schema": {
"version": "8.5.1",
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-8.5.1.tgz",
"integrity": "sha512-0Esilsh0P/qYcB5DKQpiKeQs/jevzIadNTaT0jeWklPMwNbT7yMX4EqZany7mbeRRlSRwMzNzL5olyFdffHBZg==",
"dependencies": {
"@graphql-tools/merge": "8.3.1",
"@graphql-tools/utils": "8.9.0",
"tslib": "^2.4.0",
"value-or-promise": "1.0.11"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"node_modules/apollo-server-core/node_modules/value-or-promise": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.11.tgz",
"integrity": "sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==",
"engines": {
"node": ">=12"
}
},
"node_modules/apollo-server-env": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/apollo-server-env/-/apollo-server-env-4.2.1.tgz",
"integrity": "sha512-vm/7c7ld+zFMxibzqZ7SSa5tBENc4B0uye9LTfjJwGoQFY5xsUPH5FpO5j0bMUDZ8YYNbrF9SNtzc5Cngcr90g==",
"deprecated": "The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"node-fetch": "^2.6.7"
},
"engines": {
"node": ">=12.0"
}
},
"node_modules/apollo-server-errors": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/apollo-server-errors/-/apollo-server-errors-3.3.1.tgz",
"integrity": "sha512-xnZJ5QWs6FixHICXHxUfm+ZWqqxrNuPlQ+kj5m6RtEgIpekOPssH/SD9gf2B4HuWV0QozorrygwZnux8POvyPA==",
"deprecated": "The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"engines": {
"node": ">=12.0"
},
"peerDependencies": {
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/apollo-server-express": {
"version": "3.6.7",
"resolved": "https://registry.npmjs.org/apollo-server-express/-/apollo-server-express-3.6.7.tgz",
"integrity": "sha512-B4gH5j8t3XxTCIa9bl7Iq/F3YFzMxX/LV4Sc+L/3xkHm648u576G5Lkskl8HsoTGSzzyeVcVsPDoYHiBjCAN0Q==",
"deprecated": "The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"@types/accepts": "^1.3.5",
"@types/body-parser": "1.19.2",
"@types/cors": "2.8.12",
"@types/express": "4.17.13",
"@types/express-serve-static-core": "4.17.28",
"accepts": "^1.3.5",
"apollo-server-core": "^3.6.7",
"apollo-server-types": "^3.5.2",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"parseurl": "^1.3.3"
},
"engines": {
"node": ">=12.0"
},
"peerDependencies": {
"express": "^4.17.1",
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/apollo-server-plugin-base": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/apollo-server-plugin-base/-/apollo-server-plugin-base-3.7.2.tgz",
"integrity": "sha512-wE8dwGDvBOGehSsPTRZ8P/33Jan6/PmL0y0aN/1Z5a5GcbFhDaaJCjK5cav6npbbGL2DPKK0r6MPXi3k3N45aw==",
"deprecated": "The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"apollo-server-types": "^3.8.0"
},
"engines": {
"node": ">=12.0"
},
"peerDependencies": {
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/apollo-server-types": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/apollo-server-types/-/apollo-server-types-3.8.0.tgz",
"integrity": "sha512-ZI/8rTE4ww8BHktsVpb91Sdq7Cb71rdSkXELSwdSR0eXu600/sY+1UXhTWdiJvk+Eq5ljqoHLwLbY2+Clq2b9A==",
"deprecated": "The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.",
"dependencies": {
"@apollo/utils.keyvaluecache": "^1.0.1",
"@apollo/utils.logger": "^1.0.0",
"apollo-reporting-protobuf": "^3.4.0",
"apollo-server-env": "^4.2.1"
},
"engines": {
"node": ">=12.0"
},
"peerDependencies": {
"graphql": "^15.3.0 || ^16.0.0"
}
},
"node_modules/append-field": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz",
@ -1784,14 +1667,6 @@
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"node_modules/auto-load": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/auto-load/-/auto-load-3.0.4.tgz",
"integrity": "sha512-ufENezHsnouUiIgwCMuqzcdiABBucBb8CV/5uchw9XuMhf8KXIqF3PgxRzhIuW3C470gjb5niq6zaaF9nhjPIQ==",
"engines": {
"node": ">=4.0.0"
}
},
"node_modules/available-typed-arrays": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
@ -2579,24 +2454,6 @@
"node": ">=12.0.0"
}
},
"node_modules/cross-fetch": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-1.1.1.tgz",
"integrity": "sha512-+VJE04+UfxxmBfcnmAu/lKor53RUCx/1ilOti4p+JgrnLQ4AZZIRoe2OEd76VaHyWQmQxqKnV+TaqjHC4r0HWw==",
"dependencies": {
"node-fetch": "1.7.3",
"whatwg-fetch": "2.0.3"
}
},
"node_modules/cross-fetch/node_modules/node-fetch": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
"dependencies": {
"encoding": "^0.1.11",
"is-stream": "^1.0.1"
}
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@ -3008,6 +2865,8 @@
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
"integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
"optional": true,
"peer": true,
"dependencies": {
"iconv-lite": "^0.6.2"
}
@ -3016,6 +2875,8 @@
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
"integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"optional": true,
"peer": true,
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3.0.0"
},
@ -4664,6 +4525,7 @@
"version": "2.12.6",
"resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz",
"integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==",
"optional": true,
"dependencies": {
"tslib": "^2.1.0"
},
@ -5412,14 +5274,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-string": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
@ -9932,11 +9786,6 @@
"node": ">=0.10.0"
}
},
"node_modules/whatwg-fetch": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz",
"integrity": "sha512-SA2KdOXATOroD3EBUYvcdugsusXS5YiQFqwskSbsp5b1gK8HpNi/YP0jcy/BDpdllp305HMnrsVf9K7Be9GiEQ=="
},
"node_modules/whatwg-mimetype": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz",

@ -34,6 +34,7 @@
"node": ">=18.0"
},
"dependencies": {
"@apollo/server": "4.7.1",
"@azure/storage-blob": "12.14.0",
"@exlinc/keycloak-passport": "1.0.2",
"@graphql-tools/schema": "10.0.0",
@ -44,10 +45,6 @@
"@root/pem": "1.0.4",
"acme": "3.0.3",
"akismet-api": "6.0.0",
"apollo-fetch": "0.7.0",
"apollo-server": "3.6.7",
"apollo-server-express": "3.6.7",
"auto-load": "3.0.4",
"aws-sdk": "2.1386.0",
"bcryptjs": "2.4.3",
"body-parser": "1.20.2",

Loading…
Cancel
Save