Update dependencies.

This commit is contained in:
Jayden Seric 2022-07-23 19:00:07 +10:00
parent 03b6b7f262
commit dfdf5ec22a
7 changed files with 536 additions and 1836 deletions

1584
api/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,20 +20,20 @@
"npm": ">= 7" "npm": ">= 7"
}, },
"dependencies": { "dependencies": {
"apollo-server-koa": "^3.9.0", "apollo-server-koa": "^3.10.0",
"dotenv": "^16.0.1", "dotenv": "^16.0.1",
"graphql": "^16.5.0", "graphql": "^16.5.0",
"graphql-upload": "^15.0.2", "graphql-upload": "^16.0.0",
"koa": "^2.13.4", "koa": "^2.13.4",
"make-dir": "^3.1.0", "make-dir": "^3.1.0",
"shortid": "^2.2.16" "shortid": "^2.2.16"
}, },
"devDependencies": { "devDependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.5",
"@types/node": "^18.0.1", "@types/node": "^18.0.6",
"eslint": "^8.19.0", "eslint": "^8.20.0",
"eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-simple-import-sort": "^7.0.0",
"nodemon": "^2.0.18", "nodemon": "^2.0.19",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"typescript": "^4.7.4" "typescript": "^4.7.4"
}, },

View File

@ -1,7 +1,7 @@
// @ts-check // @ts-check
import { GraphQLList, GraphQLNonNull, GraphQLObjectType } from "graphql"; import { GraphQLList, GraphQLNonNull, GraphQLObjectType } from "graphql";
import GraphQLUpload from "graphql-upload/GraphQLUpload.js"; import GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
import storeUpload from "../storeUpload.mjs"; import storeUpload from "../storeUpload.mjs";
import FileType from "./FileType.mjs"; import FileType from "./FileType.mjs";
@ -35,7 +35,7 @@ export default new GraphQLObjectType({
parent, parent,
/** /**
* @type {{ files: Array< * @type {{ files: Array<
* Promise<import("graphql-upload/processRequest.js").FileUpload> * Promise<import("graphql-upload/processRequest.mjs").FileUpload>
* >}} * >}}
*/ */
{ files } { files }

View File

@ -1,7 +1,7 @@
// @ts-check // @ts-check
import { ApolloServer } from "apollo-server-koa"; import { ApolloServer } from "apollo-server-koa";
import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.js"; import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.mjs";
import Koa from "koa"; import Koa from "koa";
import makeDir from "make-dir"; import makeDir from "make-dir";
import { fileURLToPath } from "url"; import { fileURLToPath } from "url";

View File

@ -8,7 +8,7 @@ import UPLOAD_DIRECTORY_URL from "./config/UPLOAD_DIRECTORY_URL.mjs";
/** /**
* Stores a GraphQL file upload in the filesystem. * Stores a GraphQL file upload in the filesystem.
* @param {Promise< * @param {Promise<
* import("graphql-upload/processRequest.js").FileUpload * import("graphql-upload/processRequest.mjs").FileUpload
* >} upload GraphQL file upload. * >} upload GraphQL file upload.
* @returns {Promise<string>} Resolves the stored file name. * @returns {Promise<string>} Resolves the stored file name.
*/ */

760
app/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,17 +25,17 @@
"apollo-upload-client": "^17.0.0", "apollo-upload-client": "^17.0.0",
"device-agnostic-ui": "~10.0.0", "device-agnostic-ui": "~10.0.0",
"graphql": "^16.5.0", "graphql": "^16.5.0",
"next": "^12.2.0", "next": "^12.2.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2" "react-dom": "^17.0.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.18.2", "@babel/eslint-parser": "^7.18.9",
"@types/node": "^18.0.1", "@types/node": "^18.0.6",
"@types/react": "^17.0.47", "@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17", "@types/react-dom": "^17.0.17",
"babel-plugin-graphql-tag": "^3.3.0", "babel-plugin-graphql-tag": "^3.3.0",
"eslint": "^8.19.0", "eslint": "^8.20.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",