diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 66499652dad2..efaaef617944 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,6 +15,9 @@ Before interacting with the Redwood community, please read and understand our [C - [Copy and Watch](#copy-and-watch) - [cp](#cp) - [Specifying a RW_PATH](#specifying-a-rw_path) + - [On **Linux**](#on-linux) + - [On **MacOS**](#on-macos) + - [On **Windows**](#on-windows) - [Local Package Registry Emulation](#local-package-registry-emulation) - [Running a Local NPM Registry](#running-a-local-npm-registry) - [Publishing a Package](#publishing-a-package) @@ -29,6 +32,7 @@ Before interacting with the Redwood community, please read and understand our [C - [copy:watch (cpw)](#copywatch-cpw) - [fix-bins (fix)](#fix-bins-fix) - [install (i)](#install-i) + - [link](#link) ## Local Development @@ -36,7 +40,7 @@ Before interacting with the Redwood community, please read and understand our [C As a Redwood user, you're already familiar with the codebase created by `yarn create redwood-app`. In this document, we'll refer to that codebase as a 'Redwood App'. As a contributor, you'll have to gain familiarity with another codebase: the Redwood Framework. -The Redwood Framework lives in the monorepo redwoodjs/redwood (which is where you're probably reading this). It contains all the packages that make Redwood Apps work the way they do. In a typical Redwood App, you can find the Redwood Framework in `./node_modules/@redwoodjs`. +The Redwood Framework lives in the monorepo `redwoodjs/redwood` (which is where you're probably reading this). It contains all the packages that make Redwood Apps work the way they do. In a typical Redwood App, you can find the Redwood Framework in `./node_modules/@redwoodjs`. Throughout this document, we'll assume your local copy of the Redwood Framework is in a directory called `redwood` and your Redwood App is in a directory called `redwood-app`. @@ -175,7 +179,7 @@ Then, you can restore your Redwood App to its original state by deleting `./node If you are on Windows and not using WSL, you will have to use `rwt cp` (this is tracked in [issue #701](https://github.com/redwoodjs/redwood/issues/701)). This method, unfortunately, will not let you see your changes live. -Also, you most likely first have to [install rsync](https://tlundberg.com/blog/2020-06-15/installing-rsync-on-windows/). +Also, you most likely first have to [install `rsync`](https://tlundberg.com/blog/2020-06-15/installing-rsync-on-windows/). Each time you make a change to your local Redwood Framework, you'll have to build it: @@ -199,7 +203,7 @@ When you're done, you can restore your Redwood App to its original state by dele You can avoid having to provide the path to `redwood` by defining an `RW_PATH` environment variable on your system. -_On Linux_ +##### On **Linux** Add the following line to your `~/.bashrc`: @@ -207,7 +211,7 @@ Add the following line to your `~/.bashrc`: export RW_PATH=”$HOME/path/to/redwood/framework” ``` -Where /path/to/redwood/framework is replaced by the path to your local copy of the Redwood Framework. +Where `/path/to/redwood/framework` is replaced by the path to your local copy of the Redwood Framework. Then, in your Redwood App or example app, you can just run: @@ -221,7 +225,7 @@ or yarn rwt copy:watch ``` -_On Mac_ +##### On **MacOS** Add the following line to your `~/.bash_profile`: @@ -229,7 +233,7 @@ Add the following line to your `~/.bash_profile`: export RW_PATH=”$HOME/path/to/redwood/framework” ``` -Where /path/to/redwood/framework is replaced by the path to your local copy of the Redwood Framework. +Where `/path/to/redwood/framework` is replaced by the path to your local copy of the Redwood Framework. Then, in your Redwood App or example app, you can just run: @@ -243,19 +247,21 @@ or yarn rwt copy:watch ``` -_On Windows_ +##### On **Windows** -[Todo: please contribute a PR if you can help.] +> **TODO** +> +> please contribute a PR if you can help. ### Local Package Registry Emulation -Sometimes you'll want to test the full package-development workflow: building, publishing, and installing all the packages in your local copy of the Redwood Framework in your Redwood App. We accomodate this using a local NPM registry called [Verdaccio](https://github.com/verdaccio/verdaccio). +Sometimes you'll want to test the full package-development workflow: building, publishing, and installing all the packages in your local copy of the Redwood Framework in your Redwood App. We accommodate this using a local NPM registry called [**Verdaccio**](https://github.com/verdaccio/verdaccio). You might also have to use this workflow if you've installed or upgraded one of Redwood's dependencies. #### Running a Local NPM Registry -First, install Verdaccio: +First, install `Verdaccio`: ```terminal yarn global add verdaccio @@ -267,7 +273,7 @@ Then, in your local copy of the Redwood Framework, run: ./tasks/run-local-npm ``` -This starts Verdaccio (http://localhost:4873) with our configuration file. +This starts `Verdaccio` (on http://localhost:4873) with our configuration file. #### Publishing a Package @@ -323,14 +329,14 @@ yarn rw dev web We're using Cypress to test the steps that we recommend in the tutorial. Run the command by doing the following: ```terminal -./tasks/test-tutorial +./tasks/run-e2e ``` -This creates a new project in a tmp directory using `yarn create redwood-app ...` Once installed, it then upgrades the project to the most recent `canary` release, which means it will use the current code in the `main` branch. Once the upgrade is complete (and successful), it will start Cypress for the E2E tests. +This creates a new project in a temporary directory using `yarn create redwood-app ...` Once installed, it then upgrades the project to the most recent `canary` release, which means it will use the current code in the `main` branch. Once the upgrade is complete (and successful), it will start Cypress for the E2E tests. ```terminal -./tasks/test-tutorial /path/to/app +./tasks/run-e2e /path/to/app ``` Use this `path/to/app` option to run the same Cypress E2E tests against a local project. In this case, the command will _not_ upgrade the project to the `canary` release — it will use the project's installed packages. Chose this option if you have modified code (and packages) you want to test locally. @@ -355,7 +361,11 @@ yarn build yarn lerna publish from-package ``` -This 1) changes the version of **all the packages** (even those that haven't changed), 2) changes the version of the packages within the CRWA Template, 3) Commits, Tags, and Pushes to GH, and 4) publishes all packages to NPM. +This... + 1) changes the version of **all the packages** (even those that haven't changed), + 2) changes the version of the packages within the CRWA Template + 3) Commits, Tags, and Pushes to GH + 4) and finally publishes all packages to NPM. ### Troubleshooting @@ -363,7 +373,10 @@ If something went wrong you can use `yarn lerna publish from-package` to publish ## CLI Reference: `redwood-tools` -This CLI Reference section covers the `redwood-tools` command options. For `redwood` options, see the [CLI Reference on redwoodjs.com](https://redwoodjs.com/reference/command-line-interface). + +> This section covers the `redwood-tools` command options. +> +> For `redwood` options, see the [CLI Reference on redwoodjs.com](https://redwoodjs.com/reference/command-line-interface). ### redwood-tools (rwt) @@ -437,4 +450,6 @@ Link the Redwood Framework path to this project and watch it for changes. yarn rwt link [RW_PATH] ``` -You can avoid having to provide `RW_PATH` by defining an environment variable on your system. See [Specifying a `RW_PATH`](#specifying-a-rw_path). +You can avoid having to provide `RW_PATH` by defining an environment variable on your system. See +[Specifying a `RW_PATH`](#specifying-a-rw_path). + diff --git a/package.json b/package.json index ba4b40267cfb..fe84fb594c6f 100644 --- a/package.json +++ b/package.json @@ -17,12 +17,12 @@ "packages/*" ], "devDependencies": { - "@babel/cli": "7.13.16", - "@babel/core": "7.14.2", + "@babel/cli": "7.14.3", + "@babel/core": "7.14.3", "@babel/node": "7.14.2", "@babel/plugin-proposal-class-properties": "7.13.0", "@babel/plugin-proposal-decorators": "7.14.2", - "@babel/plugin-transform-runtime": "7.14.2", + "@babel/plugin-transform-runtime": "7.14.3", "@babel/preset-env": "7.14.2", "@babel/preset-react": "7.13.13", "@babel/preset-typescript": "7.13.0", @@ -46,7 +46,7 @@ "rimraf": "^3.0.2", "ttypescript": "^1.5.12", "typescript": "^4.2.4", - "typescript-transform-paths": "^2.2.3", + "typescript-transform-paths": "^2.2.4", "whatwg-fetch": "3.4.1" }, "resolutions": { diff --git a/packages/api-server/src/app.ts b/packages/api-server/src/app.ts index bfc00e457799..97b160ad4f92 100644 --- a/packages/api-server/src/app.ts +++ b/packages/api-server/src/app.ts @@ -1,7 +1,6 @@ import express from 'express' -import morgan from 'morgan' - import type { Response, Request, Application } from 'express' +import morgan from 'morgan' // Base express app, with common config const createApp = (): Application => { diff --git a/packages/api-server/src/error.ts b/packages/api-server/src/error.ts index cde2b3cef270..8b589d302fb4 100644 --- a/packages/api-server/src/error.ts +++ b/packages/api-server/src/error.ts @@ -1,5 +1,5 @@ -import forTerminal from 'youch-terminal' import Youch from 'youch' +import forTerminal from 'youch-terminal' /** * This function will print a pretty version of an error in the terminal. diff --git a/packages/api-server/src/handler.ts b/packages/api-server/src/handler.ts index 3e007dc5389d..b661d617dc95 100644 --- a/packages/api-server/src/handler.ts +++ b/packages/api-server/src/handler.ts @@ -5,7 +5,6 @@ import withApiProxy from './middleware/withApiProxy' import withFunctions from './middleware/withFunctions' import withWebServer from './middleware/withWebServer' import { startServer } from './server' - import type { HttpServerParams } from './server' /* diff --git a/packages/api-server/src/middleware/withApiProxy.ts b/packages/api-server/src/middleware/withApiProxy.ts index 7ec57effe7e8..41188fd15f9e 100644 --- a/packages/api-server/src/middleware/withApiProxy.ts +++ b/packages/api-server/src/middleware/withApiProxy.ts @@ -1,6 +1,5 @@ -import { createProxyMiddleware } from 'http-proxy-middleware' - import type { Application } from 'express' +import { createProxyMiddleware } from 'http-proxy-middleware' interface ApiProxyOptions { apiProxyPath: string diff --git a/packages/api-server/src/middleware/withFunctions.ts b/packages/api-server/src/middleware/withFunctions.ts index 8b8d9b174b23..00f178ceb5d6 100644 --- a/packages/api-server/src/middleware/withFunctions.ts +++ b/packages/api-server/src/middleware/withFunctions.ts @@ -1,6 +1,8 @@ import path from 'path' +import type { Handler } from 'aws-lambda' import bodyParser from 'body-parser' +import type { Application, Request, Response } from 'express' import glob from 'glob' import escape from 'lodash.escape' @@ -8,9 +10,6 @@ import { getPaths } from '@redwoodjs/internal' import { requestHandler } from '../requestHandlers/awsLambda' -import type { Handler } from 'aws-lambda' -import type { Application, Request, Response } from 'express' - export type Lambdas = Record const LAMBDA_FUNCTIONS: Lambdas = {} diff --git a/packages/api-server/src/middleware/withWebServer.ts b/packages/api-server/src/middleware/withWebServer.ts index 5705d711c95d..4fea087f38e8 100644 --- a/packages/api-server/src/middleware/withWebServer.ts +++ b/packages/api-server/src/middleware/withWebServer.ts @@ -2,11 +2,10 @@ import fs from 'fs' import path from 'path' import express from 'express' +import type { Application } from 'express' import { getPaths } from '@redwoodjs/internal' -import type { Application } from 'express' - const withWebServer = (app: Application) => { const indexContent = fs.readFileSync( path.join(getPaths().web.dist, '/index.html'), diff --git a/packages/api-server/src/requestHandlers/awsLambda.ts b/packages/api-server/src/requestHandlers/awsLambda.ts index 2001a4f84e32..fd83b6f77b28 100644 --- a/packages/api-server/src/requestHandlers/awsLambda.ts +++ b/packages/api-server/src/requestHandlers/awsLambda.ts @@ -1,13 +1,12 @@ -import qs from 'qs' - -import { handleError } from '../error' - import type { APIGatewayProxyResult, APIGatewayProxyEvent, Handler, } from 'aws-lambda' import type { Response, Request } from 'express' +import qs from 'qs' + +import { handleError } from '../error' export const parseBody = (rawBody: string | Buffer) => { if (typeof rawBody === 'string') { diff --git a/packages/api/package.json b/packages/api/package.json index 55e1d7b2af9d..3209c34c367a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -13,7 +13,7 @@ "@graphql-tools/merge": "6.2.14", "@prisma/client": "2.23.0", "@types/pino": "^6.3.8", - "apollo-server-lambda": "2.22.2", + "apollo-server-lambda": "2.24.1", "core-js": "3.12.1", "graphql": "15.5.0", "graphql-scalars": "1.9.3", diff --git a/packages/api/src/auth/decoders/index.ts b/packages/api/src/auth/decoders/index.ts index 35d9eaa06b34..a0d96314bd2e 100644 --- a/packages/api/src/auth/decoders/index.ts +++ b/packages/api/src/auth/decoders/index.ts @@ -1,3 +1,5 @@ +import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' + import type { SupportedAuthTypes } from '@redwoodjs/auth' import type { GlobalContext } from 'src/globalContext' @@ -9,7 +11,6 @@ import { netlify } from './netlify' import { nhost } from './nhost' import { supabase } from './supabase' -import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' const noop = (token: string) => token interface Req { diff --git a/packages/api/src/auth/decoders/netlify.ts b/packages/api/src/auth/decoders/netlify.ts index 70809d06dab4..59279f1ed5b3 100644 --- a/packages/api/src/auth/decoders/netlify.ts +++ b/packages/api/src/auth/decoders/netlify.ts @@ -1,6 +1,6 @@ +import type { Context as LambdaContext, ClientContext } from 'aws-lambda' import jwt, { TokenExpiredError } from 'jsonwebtoken' -import type { Context as LambdaContext, ClientContext } from 'aws-lambda' // import type { TokenExpiredError } from 'jsonwebtoken' type NetlifyContext = ClientContext & { diff --git a/packages/api/src/auth/index.ts b/packages/api/src/auth/index.ts index ca2c3f56d278..30d2e6ea2f05 100644 --- a/packages/api/src/auth/index.ts +++ b/packages/api/src/auth/index.ts @@ -1,11 +1,11 @@ +import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' + import type { SupportedAuthTypes } from '@redwoodjs/auth' import type { GlobalContext } from 'src/globalContext' import { decodeToken } from './decoders' -import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' - // This is shared by `@redwoodjs/web` const AUTH_PROVIDER_HEADER = 'auth-provider' diff --git a/packages/api/src/auth/verifiers/common.ts b/packages/api/src/auth/verifiers/common.ts index 12cd72776948..5f186483e307 100644 --- a/packages/api/src/auth/verifiers/common.ts +++ b/packages/api/src/auth/verifiers/common.ts @@ -1,15 +1,14 @@ import jwtVerifier from './jwtVerifier' -import secretKeyVerifier from './secretKeyVerifier' -import sha1Verifier from './sha1Verifier' -import sha256Verifier from './sha256Verifier' -import skipVerifier from './skipVerifier' -import timestampSchemeVerifier from './timestampSchemeVerifier' - import type { JwtVerifier } from './jwtVerifier' +import secretKeyVerifier from './secretKeyVerifier' import type { SecretKeyVerifier } from './secretKeyVerifier' +import sha1Verifier from './sha1Verifier' import type { Sha1Verifier } from './sha1Verifier' +import sha256Verifier from './sha256Verifier' import type { Sha256Verifier } from './sha256Verifier' +import skipVerifier from './skipVerifier' import type { SkipVerifier } from './skipVerifier' +import timestampSchemeVerifier from './timestampSchemeVerifier' import type { TimestampSchemeVerifier } from './timestampSchemeVerifier' export const verifierLookup = { diff --git a/packages/api/src/auth/verifiers/index.ts b/packages/api/src/auth/verifiers/index.ts index 22d473dd3928..a8a395a4ebea 100644 --- a/packages/api/src/auth/verifiers/index.ts +++ b/packages/api/src/auth/verifiers/index.ts @@ -1,5 +1,4 @@ import { verifierLookup } from './common' - import type { SupportedVerifierTypes, VerifyOptions, diff --git a/packages/api/src/auth/verifiers/jwtVerifier.ts b/packages/api/src/auth/verifiers/jwtVerifier.ts index 06a4ef7106d5..46e3d7cdfd19 100644 --- a/packages/api/src/auth/verifiers/jwtVerifier.ts +++ b/packages/api/src/auth/verifiers/jwtVerifier.ts @@ -5,7 +5,6 @@ import { WebhookVerificationError, DEFAULT_WEBHOOK_SECRET, } from './common' - import type { WebhookVerifier, VerifyOptions } from './common' export interface JwtVerifier extends WebhookVerifier { diff --git a/packages/api/src/auth/verifiers/secretKeyVerifier.ts b/packages/api/src/auth/verifiers/secretKeyVerifier.ts index 6494b233cdc2..40e0514f420d 100644 --- a/packages/api/src/auth/verifiers/secretKeyVerifier.ts +++ b/packages/api/src/auth/verifiers/secretKeyVerifier.ts @@ -1,5 +1,4 @@ import { WebhookVerificationError, DEFAULT_WEBHOOK_SECRET } from './common' - import type { WebhookVerifier, VerifyOptions } from './common' export interface SecretKeyVerifier extends WebhookVerifier { @@ -18,9 +17,6 @@ export const secretKeyVerifier = ( ): SecretKeyVerifier => { return { sign: ({ secret }) => { - console.warn( - `With the SecretKeyVerifier verifier, your body isn't signed with a secret` - ) return secret }, verify: ({ signature, secret = DEFAULT_WEBHOOK_SECRET }) => { diff --git a/packages/api/src/auth/verifiers/sha1Verifier.ts b/packages/api/src/auth/verifiers/sha1Verifier.ts index c958ed4d426f..dd25c62ae3c6 100644 --- a/packages/api/src/auth/verifiers/sha1Verifier.ts +++ b/packages/api/src/auth/verifiers/sha1Verifier.ts @@ -5,7 +5,6 @@ import { VERIFICATION_ERROR_MESSAGE, DEFAULT_WEBHOOK_SECRET, } from './common' - import type { WebhookVerifier, VerifyOptions } from './common' export interface Sha1Verifier extends WebhookVerifier { @@ -26,16 +25,10 @@ function toNormalizedJsonString(payload: Record) { const createSignature = ({ payload, secret = DEFAULT_WEBHOOK_SECRET, - options, }: { payload: string | Record secret: string - options?: VerifyOptions }): string => { - if (options) { - console.warn('VerifyOptions are invalid for the Sha1Verifier') - } - const algorithm = 'sha1' const hmac = createHmac(algorithm, secret) @@ -59,18 +52,12 @@ export const verifySignature = ({ payload, secret = DEFAULT_WEBHOOK_SECRET, signature, - options, }: { payload: string | Record secret: string signature: string - options?: VerifyOptions }): boolean => { try { - if (options) { - console.warn('VerifyOptions are invalid for the Sha1Verifier') - } - const algorithm = signature.split('=')[0] const webhookSignature = Buffer.from(signature || '', 'utf8') const hmac = createHmac(algorithm, secret) @@ -110,13 +97,13 @@ export const verifySignature = ({ * @see https://vercel.com/docs/api#integrations/webhooks/securing-webhooks * */ -const sha1Verifier = (options?: VerifyOptions | undefined): Sha1Verifier => { +const sha1Verifier = (_options?: VerifyOptions | undefined): Sha1Verifier => { return { sign: ({ payload, secret }) => { - return createSignature({ payload, secret, options }) + return createSignature({ payload, secret }) }, verify: ({ payload, secret, signature }) => { - return verifySignature({ payload, secret, signature, options }) + return verifySignature({ payload, secret, signature }) }, type: 'sha1Verifier', } diff --git a/packages/api/src/auth/verifiers/sha256Verifier.ts b/packages/api/src/auth/verifiers/sha256Verifier.ts index 321ba58f657c..693e7afa8577 100644 --- a/packages/api/src/auth/verifiers/sha256Verifier.ts +++ b/packages/api/src/auth/verifiers/sha256Verifier.ts @@ -5,7 +5,6 @@ import { VERIFICATION_ERROR_MESSAGE, DEFAULT_WEBHOOK_SECRET, } from './common' - import type { WebhookVerifier, VerifyOptions } from './common' export interface Sha256Verifier extends WebhookVerifier { @@ -26,16 +25,10 @@ function toNormalizedJsonString(payload: Record) { const createSignature = ({ payload, secret = DEFAULT_WEBHOOK_SECRET, - options, }: { payload: string | Record secret: string - options?: VerifyOptions }): string => { - if (options) { - console.warn('VerifyOptions are invalid for the Sha256Verifier') - } - const algorithm = 'sha256' const hmac = createHmac(algorithm, secret) @@ -59,18 +52,12 @@ export const verifySignature = ({ payload, secret = DEFAULT_WEBHOOK_SECRET, signature, - options, }: { payload: string | Record secret: string signature: string - options?: VerifyOptions }): boolean => { try { - if (options) { - console.warn('VerifyOptions are invalid for the Sha256Verifier') - } - const algorithm = signature.split('=')[0] const webhookSignature = Buffer.from(signature || '', 'utf8') const hmac = createHmac(algorithm, secret) @@ -111,14 +98,14 @@ export const verifySignature = ({ * */ const sha256Verifier = ( - options?: VerifyOptions | undefined + _options?: VerifyOptions | undefined ): Sha256Verifier => { return { sign: ({ payload, secret }) => { - return createSignature({ payload, secret, options }) + return createSignature({ payload, secret }) }, verify: ({ payload, secret, signature }) => { - return verifySignature({ payload, secret, signature, options }) + return verifySignature({ payload, secret, signature }) }, type: 'sha256Verifier', } diff --git a/packages/api/src/auth/verifiers/timestampSchemeVerifier.ts b/packages/api/src/auth/verifiers/timestampSchemeVerifier.ts index 3eb56c399202..bef2e467be9c 100644 --- a/packages/api/src/auth/verifiers/timestampSchemeVerifier.ts +++ b/packages/api/src/auth/verifiers/timestampSchemeVerifier.ts @@ -1,7 +1,6 @@ import { createHmac } from 'crypto' import { WebhookVerificationError, DEFAULT_WEBHOOK_SECRET } from './common' - import type { WebhookVerifier, VerifyOptions } from './common' export interface TimestampSchemeVerifier extends WebhookVerifier { diff --git a/packages/api/src/functions/graphql.ts b/packages/api/src/functions/graphql.ts index cb12dce1c95d..ddea80b62f71 100644 --- a/packages/api/src/functions/graphql.ts +++ b/packages/api/src/functions/graphql.ts @@ -1,4 +1,7 @@ +import type { Context, ContextFunction } from 'apollo-server-core' import { ApolloServer } from 'apollo-server-lambda' +import type { Config, CreateHandlerOptions } from 'apollo-server-lambda' +import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' import type { AuthContextPayload } from 'src/auth' import { getAuthenticationContext } from 'src/auth' @@ -9,10 +12,6 @@ import { usePerRequestContext, } from 'src/globalContext' -import type { Context, ContextFunction } from 'apollo-server-core' -import type { Config, CreateHandlerOptions } from 'apollo-server-lambda' -import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda' - export type GetCurrentUser = ( decoded: AuthContextPayload[0], raw: AuthContextPayload[1], diff --git a/packages/api/src/global.api-auto-imports.ts b/packages/api/src/global.api-auto-imports.ts index f12441f570b3..77effa89383b 100644 --- a/packages/api/src/global.api-auto-imports.ts +++ b/packages/api/src/global.api-auto-imports.ts @@ -1,7 +1,8 @@ /* eslint-disable no-redeclare, no-undef */ -import type { GlobalContext } from './globalContext' import type _gql from 'graphql-tag' +import type { GlobalContext } from './globalContext' + declare global { const gql: typeof _gql const context: GlobalContext diff --git a/packages/api/src/logger/index.ts b/packages/api/src/logger/index.ts index 7451bd8d08a9..fae2ec944891 100644 --- a/packages/api/src/logger/index.ts +++ b/packages/api/src/logger/index.ts @@ -1,5 +1,4 @@ import { PrismaClient } from '@prisma/client' -import * as prettyPrint from 'pino-pretty' import pino, { BaseLogger, DestinationStream, @@ -8,6 +7,7 @@ import pino, { PrettyOptions, redactOptions, } from 'pino' +import * as prettyPrint from 'pino-pretty' export type LogLevel = 'info' | 'query' | 'warn' | 'error' diff --git a/packages/api/src/makeMergedSchema/makeMergedSchema.ts b/packages/api/src/makeMergedSchema/makeMergedSchema.ts index 0d20f8db17d5..47f372de11ac 100644 --- a/packages/api/src/makeMergedSchema/makeMergedSchema.ts +++ b/packages/api/src/makeMergedSchema/makeMergedSchema.ts @@ -5,6 +5,7 @@ import { IResolvers, IExecutableSchemaDefinition, } from 'apollo-server-lambda' +import type { GraphQLSchema, GraphQLFieldMap } from 'graphql' import merge from 'lodash.merge' import omitBy from 'lodash.omitby' @@ -12,8 +13,6 @@ import { Services, GraphQLTypeWithFields } from 'src/types' import * as rootSchema from './rootSchema' -import type { GraphQLSchema, GraphQLFieldMap } from 'graphql' - const mapFieldsToService = ({ fields = {}, resolvers: unmappedResolvers, diff --git a/packages/api/src/webhooks/index.ts b/packages/api/src/webhooks/index.ts index 53adfea1d4b7..a90c38ba8a37 100644 --- a/packages/api/src/webhooks/index.ts +++ b/packages/api/src/webhooks/index.ts @@ -1,3 +1,5 @@ +import type { APIGatewayProxyEvent } from 'aws-lambda' + import { createVerifier, VerifyOptions, @@ -6,8 +8,6 @@ import { SupportedVerifierTypes, } from 'src/auth/verifiers' -import type { APIGatewayProxyEvent } from 'aws-lambda' - export { VerifyOptions, WebhookVerificationError, diff --git a/packages/api/src/webhooks/webhooks.test.ts b/packages/api/src/webhooks/webhooks.test.ts index aca388311662..f42f160cdaf2 100644 --- a/packages/api/src/webhooks/webhooks.test.ts +++ b/packages/api/src/webhooks/webhooks.test.ts @@ -1,3 +1,5 @@ +import type { APIGatewayProxyEvent } from 'aws-lambda' + import { signPayload, verifyEvent, @@ -6,8 +8,6 @@ import { DEFAULT_WEBHOOK_SIGNATURE_HEADER, } from './index' -import type { APIGatewayProxyEvent } from 'aws-lambda' - const payload = 'No more secrets, Marty.' const secret = 'MY_VOICE_IS_MY_PASSPORT_VERIFY_ME' diff --git a/packages/auth/package.json b/packages/auth/package.json index c55223937e1b..bb11985b6417 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -9,10 +9,10 @@ "license": "MIT", "devDependencies": { "@auth0/auth0-spa-js": "^1.14.0", - "@supabase/supabase-js": "^1.11.13", + "@supabase/supabase-js": "^1.11.14", "@types/netlify-identity-widget": "^1.9.1", - "@types/react": "17.0.5", - "firebase": "^8.6.1", + "@types/react": "17.0.6", + "firebase": "^8.6.2", "firebase-admin": "^9.8.0", "gotrue-js": "^0.9.29", "magic-sdk": "^4.3.0", diff --git a/packages/auth/src/AuthProvider.tsx b/packages/auth/src/AuthProvider.tsx index 4a3dfbe41b6f..2fe4cd5da36c 100644 --- a/packages/auth/src/AuthProvider.tsx +++ b/packages/auth/src/AuthProvider.tsx @@ -1,7 +1,6 @@ import React from 'react' import { createAuthClient } from './authClients' - import type { AuthClient, SupportedAuthTypes, diff --git a/packages/auth/src/__tests__/AuthProvider.test.tsx b/packages/auth/src/__tests__/AuthProvider.test.tsx index 1ff8b782bf9b..326ccaf37c38 100644 --- a/packages/auth/src/__tests__/AuthProvider.test.tsx +++ b/packages/auth/src/__tests__/AuthProvider.test.tsx @@ -7,11 +7,10 @@ import '@testing-library/jest-dom/extend-expect' import { graphql } from 'msw' import { setupServer } from 'msw/node' +import type { AuthClient } from '../authClients' import { AuthProvider } from '../AuthProvider' import { useAuth } from '../useAuth' -import type { AuthClient } from '../authClients' - let CURRENT_USER_DATA: { name: string; email: string; roles?: string[] } = { name: 'Peter Pistorius', email: 'nospam@example.net', diff --git a/packages/auth/src/authClients/auth0.ts b/packages/auth/src/authClients/auth0.ts index 27ac05902597..3fb16e1622d4 100644 --- a/packages/auth/src/authClients/auth0.ts +++ b/packages/auth/src/authClients/auth0.ts @@ -1,6 +1,7 @@ -import type { AuthClient } from './' import type { Auth0Client as Auth0 } from '@auth0/auth0-spa-js' +import type { AuthClient } from './' + export type AuthClientAuth0 = AuthClient export type { Auth0 } diff --git a/packages/auth/src/authClients/azureActiveDirectory.ts b/packages/auth/src/authClients/azureActiveDirectory.ts index 64666853a745..592c1aaa2a70 100644 --- a/packages/auth/src/authClients/azureActiveDirectory.ts +++ b/packages/auth/src/authClients/azureActiveDirectory.ts @@ -1,6 +1,7 @@ -import type { AuthClient } from './' import type { UserAgentApplication as AzureActiveDirectory } from 'msal' +import type { AuthClient } from './' + export type { AzureActiveDirectory } export type AzureActiveDirectoryClient = AzureActiveDirectory diff --git a/packages/auth/src/authClients/firebase.ts b/packages/auth/src/authClients/firebase.ts index 0a624dcff18c..f7b61fe3127a 100644 --- a/packages/auth/src/authClients/firebase.ts +++ b/packages/auth/src/authClients/firebase.ts @@ -1,7 +1,7 @@ -import { AuthClient } from './' - import type FirebaseNamespace from 'firebase/app' +import { AuthClient } from './' + export type Firebase = typeof FirebaseNamespace // @TODO: Firebase doesn't export a list of providerIds they use diff --git a/packages/auth/src/authClients/goTrue.ts b/packages/auth/src/authClients/goTrue.ts index fd891a072b66..f975aabcd838 100644 --- a/packages/auth/src/authClients/goTrue.ts +++ b/packages/auth/src/authClients/goTrue.ts @@ -1,7 +1,8 @@ -import type { AuthClient } from './index' import type { default as GoTrue } from 'gotrue-js' import type { User } from 'gotrue-js' +import type { AuthClient } from './index' + export type GoTrueUser = User export type { GoTrue } diff --git a/packages/auth/src/authClients/index.ts b/packages/auth/src/authClients/index.ts index 2fa5f75104a6..659638490c7b 100644 --- a/packages/auth/src/authClients/index.ts +++ b/packages/auth/src/authClients/index.ts @@ -1,26 +1,25 @@ import { auth0 } from './auth0' -import { azureActiveDirectory } from './azureActiveDirectory' -import { custom } from './custom' -import { ethereum } from './ethereum' -import { firebase } from './firebase' -import { goTrue } from './goTrue' -import { magicLink } from './magicLink' -import { netlify } from './netlify' -import { nhost } from './nhost' -import { supabase } from './supabase' - import type { Auth0, Auth0User } from './auth0' +import { azureActiveDirectory } from './azureActiveDirectory' import type { AzureActiveDirectory, AzureActiveDirectoryUser, } from './azureActiveDirectory' +import { custom } from './custom' import type { Custom } from './custom' +import { ethereum } from './ethereum' import type { Ethereum, EthereumUser } from './ethereum' +import { firebase } from './firebase' import type { Firebase } from './firebase' +import { goTrue } from './goTrue' import type { GoTrue, GoTrueUser } from './goTrue' +import { magicLink } from './magicLink' import type { MagicLink, MagicUser } from './magicLink' +import { netlify } from './netlify' import type { NetlifyIdentity } from './netlify' +import { nhost } from './nhost' import type { Nhost, NhostUser } from './nhost' +import { supabase } from './supabase' import type { Supabase, SupabaseUser } from './supabase' const typesToClients = { diff --git a/packages/auth/src/authClients/magicLink.ts b/packages/auth/src/authClients/magicLink.ts index dde58139a515..04e3a78ef0a1 100644 --- a/packages/auth/src/authClients/magicLink.ts +++ b/packages/auth/src/authClients/magicLink.ts @@ -1,6 +1,7 @@ -import type { AuthClient } from './' import type { Magic, MagicUserMetadata } from 'magic-sdk' +import type { AuthClient } from './' + export type MagicLink = Magic export type MagicUser = MagicUserMetadata export interface AuthClientMagicLink extends AuthClient { @@ -8,6 +9,8 @@ export interface AuthClientMagicLink extends AuthClient { } export const magicLink = (client: MagicLink): AuthClientMagicLink => { + let token: string | null + let expireTime = 0 return { type: 'magicLink', client, @@ -18,7 +21,14 @@ export const magicLink = (client: MagicLink): AuthClientMagicLink => { }, signup: async ({ email, showUI }) => await client.auth.loginWithMagicLink({ email, showUI }), - getToken: async () => await client.user.getIdToken(), + getToken: async () => { + if (!token || Date.now() <= expireTime) { + expireTime = Date.now() + 600 // now + 10 min + return (token = await client.user.getIdToken()) + } else { + return token + } + }, getUserMetadata: async () => (await client.user.isLoggedIn()) ? await client.user.getMetadata() : null, } diff --git a/packages/auth/src/authClients/netlify.ts b/packages/auth/src/authClients/netlify.ts index ae67b7b158b5..7bea5a22895d 100644 --- a/packages/auth/src/authClients/netlify.ts +++ b/packages/auth/src/authClients/netlify.ts @@ -1,6 +1,7 @@ -import type { AuthClient } from './' import type * as NetlifyIdentityNS from 'netlify-identity-widget' +import type { AuthClient } from './' + export type NetlifyIdentity = typeof NetlifyIdentityNS export const netlify = (client: NetlifyIdentity): AuthClient => { diff --git a/packages/auth/src/authClients/nhost.ts b/packages/auth/src/authClients/nhost.ts index d42ce88117c7..77c781189b97 100644 --- a/packages/auth/src/authClients/nhost.ts +++ b/packages/auth/src/authClients/nhost.ts @@ -1,7 +1,7 @@ -import { AuthClient } from './' - import type { Session, NhostClient, User } from 'nhost-js-sdk' +import { AuthClient } from './' + export type Nhost = NhostClient export type NhostUser = User diff --git a/packages/auth/src/authClients/supabase.ts b/packages/auth/src/authClients/supabase.ts index 57c332c7f672..ab226a121219 100644 --- a/packages/auth/src/authClients/supabase.ts +++ b/packages/auth/src/authClients/supabase.ts @@ -1,7 +1,7 @@ import { Session, User, Provider } from '@supabase/gotrue-js' +import type { SupabaseClient } from '@supabase/supabase-js' import type { AuthClient } from './index' -import type { SupabaseClient } from '@supabase/supabase-js' export type Supabase = SupabaseClient export type SupabaseUser = User diff --git a/packages/auth/src/useAuth.ts b/packages/auth/src/useAuth.ts index 24c6c5ea4228..e62c45b80571 100644 --- a/packages/auth/src/useAuth.ts +++ b/packages/auth/src/useAuth.ts @@ -1,7 +1,6 @@ import React from 'react' import { AuthContext } from './AuthProvider' - import type { AuthContextInterface } from './AuthProvider' export const useAuth = (): AuthContextInterface => { diff --git a/packages/core/config/webpack.common.js b/packages/core/config/webpack.common.js index 9db8744f8c57..7689dfa0675f 100644 --- a/packages/core/config/webpack.common.js +++ b/packages/core/config/webpack.common.js @@ -8,10 +8,10 @@ const Dotenv = require('dotenv-webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const TerserPlugin = require('terser-webpack-plugin') +const webpack = require('webpack') const { WebpackManifestPlugin } = require('webpack-manifest-plugin') const { merge } = require('webpack-merge') const { RetryChunkLoadPlugin } = require('webpack-retry-chunk-load-plugin') -const webpack = require('webpack') const { getConfig, getPaths } = require('@redwoodjs/internal') diff --git a/packages/core/package.json b/packages/core/package.json index 555fe7e300e3..63b49d309532 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,12 +13,12 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "dependencies": { - "@babel/cli": "7.13.16", - "@babel/core": "7.14.2", + "@babel/cli": "7.14.3", + "@babel/core": "7.14.3", "@babel/node": "7.14.2", "@babel/plugin-proposal-class-properties": "7.13.0", "@babel/plugin-proposal-private-methods": "7.13.0", - "@babel/plugin-transform-runtime": "7.14.2", + "@babel/plugin-transform-runtime": "7.14.3", "@babel/preset-env": "7.14.2", "@babel/preset-react": "7.13.13", "@babel/preset-typescript": "7.13.0", @@ -33,14 +33,14 @@ "@storybook/react": "^6.1.21", "@testing-library/jest-dom": "5.11.6", "@types/jest": "^26.0.23", - "@types/node": "^15.0.3", - "@types/react": "17.0.5", + "@types/node": "^15.6.0", + "@types/react": "17.0.6", "@types/react-dom": "^17.0.5", "@types/webpack": "^4.41.11", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "babel-plugin-auto-import": "1.1.0", - "babel-plugin-graphql-tag": "3.2.0", + "babel-plugin-graphql-tag": "3.3.0", "babel-plugin-inline-react-svg": "2.0.1", "babel-plugin-module-resolver": "4.1.0", "copy-webpack-plugin": "^6.1.0", @@ -49,8 +49,8 @@ "css-minimizer-webpack-plugin": "^1.2.0", "dotenv-webpack": "^2.0.0", "error-overlay-webpack-plugin": "^0.4.1", - "esbuild": "0.11.21", - "esbuild-loader": "^2.13.0", + "esbuild": "0.12.1", + "esbuild-loader": "^2.13.1", "file-loader": "^6.0.0", "findup-sync": "^4.0.0", "glob": "7.1.7", diff --git a/packages/core/src/babelPlugins/babel-plugin-redwood-directory-named-import.ts b/packages/core/src/babelPlugins/babel-plugin-redwood-directory-named-import.ts index 5f4358cbe6ee..a9c7bce21ffa 100644 --- a/packages/core/src/babelPlugins/babel-plugin-redwood-directory-named-import.ts +++ b/packages/core/src/babelPlugins/babel-plugin-redwood-directory-named-import.ts @@ -1,9 +1,9 @@ import path from 'path' -import { resolveFile } from '@redwoodjs/internal' - import type { PluginObj, types } from '@babel/core' +import { resolveFile } from '@redwoodjs/internal' + const getNewPath = (value: string, filename: string): string | null => { const dirname = path.dirname(value) const basename = path.basename(value) diff --git a/packages/core/src/babelPlugins/babel-plugin-redwood-import-dir.ts b/packages/core/src/babelPlugins/babel-plugin-redwood-import-dir.ts index ca402669c2c5..ee34969980a3 100644 --- a/packages/core/src/babelPlugins/babel-plugin-redwood-import-dir.ts +++ b/packages/core/src/babelPlugins/babel-plugin-redwood-import-dir.ts @@ -1,11 +1,10 @@ import path from 'path' +import type { PluginObj, types } from '@babel/core' import glob from 'glob' import { generateTypeDef, generateTypeDefIndex } from './generateTypes' -import type { PluginObj, types } from '@babel/core' - /** * This babel plugin will search for import statements that include star `**` * in the source part of the statement is a glob, the files that are matched are imported, diff --git a/packages/core/src/babelPlugins/babel-plugin-redwood-mock-cell-data.ts b/packages/core/src/babelPlugins/babel-plugin-redwood-mock-cell-data.ts index 7d2432b2440b..d971f49a0d95 100644 --- a/packages/core/src/babelPlugins/babel-plugin-redwood-mock-cell-data.ts +++ b/packages/core/src/babelPlugins/babel-plugin-redwood-mock-cell-data.ts @@ -1,11 +1,11 @@ import path from 'path' // TODO: Figure out why Wallaby doesn't work with a normal import. +import type { PluginObj, types } from '@babel/core' + import { getBaseDirFromFile } from '@redwoodjs/internal/dist/paths' import { getProject, URL_file } from '@redwoodjs/structure' -import type { PluginObj, types } from '@babel/core' - export default function ({ types: t }: { types: typeof types }): PluginObj { let nodesToRemove: any[] = [] let nodesToInsert: any[] = [] diff --git a/packages/core/src/babelPlugins/babel-plugin-redwood-routes-auto-loader.ts b/packages/core/src/babelPlugins/babel-plugin-redwood-routes-auto-loader.ts index 891730d6e2a6..99fb990b1694 100644 --- a/packages/core/src/babelPlugins/babel-plugin-redwood-routes-auto-loader.ts +++ b/packages/core/src/babelPlugins/babel-plugin-redwood-routes-auto-loader.ts @@ -1,11 +1,11 @@ +import type { PluginObj, types } from '@babel/core' + import { importStatementPath, processPagesDir } from '@redwoodjs/internal' import { RWProject } from '@redwoodjs/structure' import { generateGlobalsDef } from './generateGlobals' import { generateTypeDef, generateTypeDefIndex } from './generateTypes' -import type { PluginObj, types } from '@babel/core' - interface PluginOptions { project: RWProject useStaticImports?: boolean diff --git a/packages/dev-server/src/error.ts b/packages/dev-server/src/error.ts index cde2b3cef270..8b589d302fb4 100644 --- a/packages/dev-server/src/error.ts +++ b/packages/dev-server/src/error.ts @@ -1,5 +1,5 @@ -import forTerminal from 'youch-terminal' import Youch from 'youch' +import forTerminal from 'youch-terminal' /** * This function will print a pretty version of an error in the terminal. diff --git a/packages/dev-server/src/http.ts b/packages/dev-server/src/http.ts index cdd8e80a62ce..ed0b93e517c2 100644 --- a/packages/dev-server/src/http.ts +++ b/packages/dev-server/src/http.ts @@ -1,8 +1,7 @@ import bodyParser from 'body-parser' import express from 'express' -import morgan from 'morgan' - import type { Response, Request } from 'express' +import morgan from 'morgan' export interface Lambdas { [path: string]: any diff --git a/packages/dev-server/src/requestHandlers/awsLambda.ts b/packages/dev-server/src/requestHandlers/awsLambda.ts index c61e01ac32c7..6f718c7a94cc 100644 --- a/packages/dev-server/src/requestHandlers/awsLambda.ts +++ b/packages/dev-server/src/requestHandlers/awsLambda.ts @@ -1,10 +1,9 @@ +import type { APIGatewayProxyResult, APIGatewayProxyEvent } from 'aws-lambda' +import type { Response, Request } from 'express' import qs from 'qs' import { handleError } from '../error' -import type { APIGatewayProxyResult, APIGatewayProxyEvent } from 'aws-lambda' -import type { Response, Request } from 'express' - export const parseBody = (rawBody: string | Buffer) => { if (typeof rawBody === 'string') { return { body: rawBody, isBase64Encoded: false } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 0bfadfe18b91..9ff3b5609a98 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -5,14 +5,14 @@ "license": "MIT", "dependencies": { "@redwoodjs/eslint-plugin-redwood": "^0.32.2", - "@typescript-eslint/eslint-plugin": "^4.23.0", - "@typescript-eslint/parser": "^4.23.0", + "@typescript-eslint/eslint-plugin": "^4.24.0", + "@typescript-eslint/parser": "^4.24.0", "babel-eslint": "^10.1.0", - "eslint": "^7.26.0", + "eslint": "^7.27.0", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-babel-module": "^5.3.1", "eslint-plugin-babel": "^5.3.1", - "eslint-plugin-import": "^2.23.0", + "eslint-plugin-import": "^2.23.3", "eslint-plugin-jest-dom": "^3.9.0", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.4.0", diff --git a/packages/internal/package.json b/packages/internal/package.json index 0d613163afa5..1fe27af90b4c 100644 --- a/packages/internal/package.json +++ b/packages/internal/package.json @@ -9,7 +9,7 @@ "types": "dist/index.d.ts", "license": "MIT", "dependencies": { - "@babel/plugin-transform-typescript": "7.13.0", + "@babel/plugin-transform-typescript": "7.14.3", "deepmerge": "^4.2.2", "findup-sync": "^4.0.0", "glob": "7.1.6", @@ -18,7 +18,7 @@ "toml": "^3.0.0" }, "devDependencies": { - "@types/findup-sync": "^2.0.2" + "@types/findup-sync": "^4.0.0" }, "jest": { "testPathIgnorePatterns": [ diff --git a/packages/prerender/src/babelPlugins/babel-plugin-redwood-prerender-media-imports.ts b/packages/prerender/src/babelPlugins/babel-plugin-redwood-prerender-media-imports.ts index 0191d392bae6..0e5f16dbeda8 100644 --- a/packages/prerender/src/babelPlugins/babel-plugin-redwood-prerender-media-imports.ts +++ b/packages/prerender/src/babelPlugins/babel-plugin-redwood-prerender-media-imports.ts @@ -1,9 +1,9 @@ import { extname, basename, join } from 'path' -import { getPaths } from '@redwoodjs/internal' - import type { PluginObj, types, NodePath } from '@babel/core' +import { getPaths } from '@redwoodjs/internal' + const defaultOptions = { // This list of extensions matches config for file-loader in // packages/core/config/webpack.common.js diff --git a/packages/router/src/Set.tsx b/packages/router/src/Set.tsx index 1dc4782406a4..a211a3fad2fd 100644 --- a/packages/router/src/Set.tsx +++ b/packages/router/src/Set.tsx @@ -2,8 +2,8 @@ import React, { ReactElement, ReactNode, useCallback } from 'react' import { Redirect } from './links' import { useLocation } from './location' -import { useRouterState } from './router-context' import { isRoute } from './router' +import { useRouterState } from './router-context' import { flattenAll, matchPath } from './util' type WrapperType = ( diff --git a/packages/structure/package.json b/packages/structure/package.json index 50a941e0981b..d3dbf6f52b7c 100644 --- a/packages/structure/package.json +++ b/packages/structure/package.json @@ -25,7 +25,7 @@ "lru-cache": "^6.0.0", "proxyquire": "^2.1.3", "toml": "^3.0.0", - "ts-morph": "^10.0.2", + "ts-morph": "^10.1.0", "vscode-languageserver": "6.1.1", "vscode-languageserver-textdocument": "1.0.1", "vscode-languageserver-types": "3.15.1", @@ -33,9 +33,9 @@ }, "devDependencies": { "@types/fs-extra": "^9.0.11", - "@types/lodash": "^4.14.169", + "@types/lodash": "^4.14.170", "@types/lru-cache": "^5.1.0", - "@types/node": "^15.0.3", + "@types/node": "^15.6.0", "@types/vscode": "^1.46.0" }, "jest": { diff --git a/packages/structure/src/ide.ts b/packages/structure/src/ide.ts index f52899ed965f..12659747ef66 100644 --- a/packages/structure/src/ide.ts +++ b/packages/structure/src/ide.ts @@ -1,6 +1,7 @@ import { basename } from 'path' import * as tsm from 'ts-morph' +import { TextDocuments } from 'vscode-languageserver' import { TextDocument } from 'vscode-languageserver-textdocument' import { CodeLens, @@ -9,7 +10,6 @@ import { Location, Range, } from 'vscode-languageserver-types' -import { TextDocuments } from 'vscode-languageserver' import { Host, DefaultHost } from './hosts' import { ArrayLike, ArrayLike_normalize } from './x/Array' diff --git a/packages/structure/src/language_server/RWLanguageServer.ts b/packages/structure/src/language_server/RWLanguageServer.ts index 56e4bf334aca..5d15dc5154c3 100644 --- a/packages/structure/src/language_server/RWLanguageServer.ts +++ b/packages/structure/src/language_server/RWLanguageServer.ts @@ -1,5 +1,3 @@ -import { TextDocument } from 'vscode-languageserver-textdocument' -import { CodeAction } from 'vscode-languageserver-types' import { createConnection, InitializeParams, @@ -7,17 +5,19 @@ import { TextDocuments, TextDocumentSyncKind, } from 'vscode-languageserver' +import { TextDocument } from 'vscode-languageserver-textdocument' +import { CodeAction } from 'vscode-languageserver-types' import { HostWithDocumentsStore, IDEInfo } from '../ide' import { RWProject } from '../model' import { lazy, memo } from '../x/decorators' import { URL_toFile } from '../x/URL' +import { VSCodeWindowMethods_fromConnection } from '../x/vscode' +import { Connection_suppressErrors } from '../x/vscode-languageserver' import { ExtendedDiagnostic_findRelevantQuickFixes, Range_contains, } from '../x/vscode-languageserver-types' -import { Connection_suppressErrors } from '../x/vscode-languageserver' -import { VSCodeWindowMethods_fromConnection } from '../x/vscode' import { CommandsManager } from './commands' import { DiagnosticsManager } from './diagnostics' diff --git a/packages/structure/src/model/RWEnvHelper.ts b/packages/structure/src/model/RWEnvHelper.ts index 3bbfa069fc8b..a2a02c7b3944 100644 --- a/packages/structure/src/model/RWEnvHelper.ts +++ b/packages/structure/src/model/RWEnvHelper.ts @@ -10,13 +10,13 @@ import { BaseNode, CodeLensX, Definition, HoverX, Reference } from 'src/ide' import { lazy } from 'src/x/decorators' import { prisma_parseEnvExpressionsInFile } from 'src/x/prisma' import { URL_file } from 'src/x/URL' +import { Command_open } from 'src/x/vscode' import { ExtendedDiagnostic, ExtendedDiagnostic_is, LocationLike_toHashLink, LocationLike_toLocation, } from 'src/x/vscode-languageserver-types' -import { Command_open } from 'src/x/vscode' import { RWProject } from './RWProject' import { process_env_findAll } from './util/process_env' diff --git a/packages/structure/src/x/vscode-languageserver-types.ts b/packages/structure/src/x/vscode-languageserver-types.ts index fbc8b22e1a9d..329ba297b9c6 100644 --- a/packages/structure/src/x/vscode-languageserver-types.ts +++ b/packages/structure/src/x/vscode-languageserver-types.ts @@ -1,6 +1,7 @@ import lc from 'line-column' import { groupBy, mapValues, uniqBy } from 'lodash' import * as tsm from 'ts-morph' +import { TextDocuments } from 'vscode-languageserver' import { TextDocument } from 'vscode-languageserver-textdocument' import { CodeAction, @@ -14,7 +15,6 @@ import { WorkspaceChange, WorkspaceEdit, } from 'vscode-languageserver-types' -import { TextDocuments } from 'vscode-languageserver' import { URL_file } from './URL' diff --git a/packages/structure/src/x/vscode.ts b/packages/structure/src/x/vscode.ts index 417ba9cbe91c..11dd57f551de 100644 --- a/packages/structure/src/x/vscode.ts +++ b/packages/structure/src/x/vscode.ts @@ -4,9 +4,9 @@ // we only use it in type declarations // (we can't use "import type" since we need to do use it in some typeof expressions) import { memoize } from 'lodash' -import { Command, Location } from 'vscode-languageserver-types' -import { Connection as LSPConnection } from 'vscode-languageserver' import * as vscode from 'vscode' +import { Connection as LSPConnection } from 'vscode-languageserver' +import { Command, Location } from 'vscode-languageserver-types' import { lazy, memo } from '../x/decorators' diff --git a/packages/testing/package.json b/packages/testing/package.json index c0b836878434..822e8c454437 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -14,7 +14,7 @@ "@redwoodjs/router": "^0.32.2", "@redwoodjs/web": "^0.32.2", "@testing-library/react": "11.2.7", - "@types/react": "17.0.5", + "@types/react": "17.0.6", "msw": "^0.28.2" }, "scripts": { diff --git a/packages/testing/src/customRender.tsx b/packages/testing/src/customRender.tsx index 37ca96575e40..6f09e7b70ab0 100644 --- a/packages/testing/src/customRender.tsx +++ b/packages/testing/src/customRender.tsx @@ -1,11 +1,10 @@ import React from 'react' import { render } from '@testing-library/react' +import type { RenderResult } from '@testing-library/react' import { MockProviders } from './MockProviders' -import type { RenderResult } from '@testing-library/react' - export const customRender = ( ui: React.ReactElement, options = {} diff --git a/packages/testing/src/mockRequests.ts b/packages/testing/src/mockRequests.ts index 1e88e1704dc8..39adc404e84c 100644 --- a/packages/testing/src/mockRequests.ts +++ b/packages/testing/src/mockRequests.ts @@ -10,7 +10,6 @@ import { SetupWorkerApi, ResponseComposition, } from 'msw' - import type { StartOptions as StartMSWWorkerOptions } from 'msw/lib/types/setupWorker/glossary' import type { SharedOptions as SharedMSWOptions } from 'msw/lib/types/sharedOptions' diff --git a/packages/web/package.json b/packages/web/package.json index 56a9bac08a4c..6df39ef74c40 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "dependencies": { - "@apollo/client": "^3.3.18", + "@apollo/client": "^3.3.19", "@redwoodjs/auth": "^0.32.2", "core-js": "3.12.1", "graphql": "^15.3.0", @@ -22,8 +22,8 @@ "react": "^17.0.2" }, "devDependencies": { - "@types/react": "17.0.5", - "ts-toolbelt": "^9.6.0" + "ts-toolbelt": "^9.6.0", + "@types/react": "17.0.6" }, "scripts": { "build": "yarn build:js && yarn build:types", diff --git a/packages/web/src/components/createCell.tsx b/packages/web/src/components/createCell.tsx index e1e0426a1262..5747f1d606d4 100644 --- a/packages/web/src/components/createCell.tsx +++ b/packages/web/src/components/createCell.tsx @@ -1,9 +1,10 @@ -import { A } from 'ts-toolbelt' -import { useQuery } from './GraphQLHooksProvider' import type { DocumentNode } from 'graphql' +import { useQuery } from './GraphQLHooksProvider' + +import type { A } from 'ts-toolbelt' interface QueryProps { query: DocumentNode children: (result: QueryOperationResult) => React.ReactElement diff --git a/yarn.lock b/yarn.lock index af4046c7fec4..462a8a6f05a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@apollo/client@^3.3.18": - version "3.3.18" - resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.3.18.tgz#dc722576a88fddb5c3ae0bb03d5675e0bb7ec07e" - integrity sha512-SaJSda4V36/pnv7jkCBROBPwd3w/3TnG/Bd8oLESuNqm6ruXDHt067ow00Y2zz1AOL8SuOI9LXjmkr+FcTqnIQ== +"@apollo/client@^3.3.19": + version "3.3.19" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.3.19.tgz#f1172dc9b9d7eae04c8940b047fd3b452ef92d2c" + integrity sha512-vzljWLPP0GwocfBhUopzDCUwsiaNTtii1eu8qDybAXqwj4/ZhnIM46c6dNQmnVcJpAIFRIsNCOxM4OlMDySJug== dependencies: "@graphql-typed-document-node/core" "^3.0.0" "@types/zen-observable" "^0.8.0" @@ -21,10 +21,10 @@ tslib "^1.10.0" zen-observable "^0.8.14" -"@apollo/protobufjs@^1.0.3": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@apollo/protobufjs/-/protobufjs-1.0.5.tgz#a78b726147efc0795e74c8cb8a11aafc6e02f773" - integrity sha512-ZtyaBH1icCgqwIGb3zrtopV2D5Q8yxibkJzlaViM08eOhTQc7rACdYu0pfORFfhllvdMZ3aq69vifYHszY4gNA== +"@apollo/protobufjs@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@apollo/protobufjs/-/protobufjs-1.2.2.tgz#4bd92cd7701ccaef6d517cdb75af2755f049f87c" + integrity sha512-vF+zxhPiLtkwxONs6YanSt1EpwpGilThpneExUN5K3tCymuxNnVq2yojTvnpRjv2QfsEIt/n7ozPIIzBLwGIDQ== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -40,12 +40,12 @@ "@types/node" "^10.1.0" long "^4.0.0" -"@apollographql/apollo-tools@^0.4.3": - version "0.4.9" - resolved "https://registry.yarnpkg.com/@apollographql/apollo-tools/-/apollo-tools-0.4.9.tgz#6abeef4c4586aec8208f71254b329e48ab50c07e" - integrity sha512-M50pk8oo3CGTu4waGOklIX3YtTZoPfWG9K/G9WB8NpyQGA1OwYTiBFv94XqUtKElTDoFwoMXpMQd3Wy5dINvxA== +"@apollographql/apollo-tools@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@apollographql/apollo-tools/-/apollo-tools-0.5.0.tgz#81aadcabb35eeab6ef7e0d3d6c592a6fe15e66d9" + integrity sha512-7IOZHVaKjBq44StXFJEITl4rxgZCsZFSWogAvIErKR9DYV20rt9bJ2mY5lCn+zghfGrweykjLb9g4TDxLg750w== dependencies: - apollo-env "^0.6.6" + apollo-env "^0.10.0" "@apollographql/graphql-playground-html@1.6.27": version "1.6.27" @@ -87,10 +87,10 @@ promise-polyfill "^8.2.0" unfetch "^4.2.0" -"@babel/cli@7.13.16": - version "7.13.16" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.13.16.tgz#9d372e943ced0cc291f068204a9b010fd9cfadbc" - integrity sha512-cL9tllhqvsQ6r1+d9Invf7nNXg/3BlfL1vvvL/AdH9fZ2l5j0CeBcoq6UjsqHpvyN1v5nXSZgqJZoGeK+ZOAbw== +"@babel/cli@7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.14.3.tgz#9f6c8aee12e8660df879610f19a8010958b26a6f" + integrity sha512-zU4JLvwk32ay1lhhyGfqiRUSPoltVDjhYkA3aQq8+Yby9z30s/EsFw1EPOHxWG9YZo2pAGfgdRNeHZQAYU5m9A== dependencies: commander "^4.0.1" convert-source-map "^1.1.0" @@ -139,17 +139,17 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.0.tgz#a901128bce2ad02565df95e6ecbf195cf9465919" integrity sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q== -"@babel/core@7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.2.tgz#54e45334ffc0172048e5c93ded36461d3ad4c417" - integrity sha512-OgC1mON+l4U4B4wiohJlQNUU3H73mpTyYY3j/c8U9dr9UagGGSm+WFpzjy/YLdoyjiG++c1kIDgxCo/mLwQJeQ== +"@babel/core@7.14.3", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.7.5", "@babel/core@^7.9.6": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.3.tgz#5395e30405f0776067fbd9cf0884f15bfb770a38" + integrity sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.14.2" + "@babel/generator" "^7.14.3" "@babel/helper-compilation-targets" "^7.13.16" "@babel/helper-module-transforms" "^7.14.2" "@babel/helpers" "^7.14.0" - "@babel/parser" "^7.14.2" + "@babel/parser" "^7.14.3" "@babel/template" "^7.12.13" "@babel/traverse" "^7.14.2" "@babel/types" "^7.14.2" @@ -160,70 +160,10 @@ semver "^6.3.0" source-map "^0.5.0" -"@babel/core@^7.0.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.0.tgz#47299ff3ec8d111b493f1a9d04bf88c04e728d88" - integrity sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw== - dependencies: - "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.14.0" - "@babel/helper-compilation-targets" "^7.13.16" - "@babel/helper-module-transforms" "^7.14.0" - "@babel/helpers" "^7.14.0" - "@babel/parser" "^7.14.0" - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.14.0" - "@babel/types" "^7.14.0" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.1.2" - semver "^6.3.0" - source-map "^0.5.0" - -"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.7.5", "@babel/core@^7.9.6": - version "7.13.16" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.16.tgz#7756ab24396cc9675f1c3fcd5b79fcce192ea96a" - integrity sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q== - dependencies: - "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.13.16" - "@babel/helper-compilation-targets" "^7.13.16" - "@babel/helper-module-transforms" "^7.13.14" - "@babel/helpers" "^7.13.16" - "@babel/parser" "^7.13.16" - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.15" - "@babel/types" "^7.13.16" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.1.2" - semver "^6.3.0" - source-map "^0.5.0" - -"@babel/generator@^7.12.13", "@babel/generator@^7.14.0", "@babel/generator@^7.5.0": - version "7.14.1" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.1.tgz#1f99331babd65700183628da186f36f63d615c93" - integrity sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ== - dependencies: - "@babel/types" "^7.14.1" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/generator@^7.13.16": - version "7.13.16" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.13.16.tgz#0befc287031a201d84cdfc173b46b320ae472d14" - integrity sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg== - dependencies: - "@babel/types" "^7.13.16" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/generator@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.2.tgz#d5773e8b557d421fd6ce0d5efa5fd7fc22567c30" - integrity sha512-OnADYbKrffDVai5qcpkMxQ7caomHOoEwjkouqnN2QhydAjowFAZcsdecFIRUBdb+ZcruwYE4ythYmF1UBZU5xQ== +"@babel/generator@^7.12.13", "@babel/generator@^7.14.2", "@babel/generator@^7.14.3", "@babel/generator@^7.5.0": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.3.tgz#0c2652d91f7bddab7cccc6ba8157e4f40dcedb91" + integrity sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA== dependencies: "@babel/types" "^7.14.2" jsesc "^2.5.1" @@ -254,27 +194,16 @@ browserslist "^4.14.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.13.0": - version "7.13.11" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6" - integrity sha512-ays0I7XYq9xbjCSvT+EvysLgfc3tOkwCULHjrnscGT3A9qD4sk3wXnJ3of0MAWsWGjdinFvajHU2smYuqXKMrw== - dependencies: - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-member-expression-to-functions" "^7.13.0" - "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.0" - "@babel/helper-split-export-declaration" "^7.12.13" - -"@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.2.tgz#4e455b0329af29c2d3ad254b5dd5aed34595385d" - integrity sha512-6YctwVsmlkchxfGUogvVrrhzyD3grFJyluj5JgDlQrwfMLJSt5tdAzFZfPf4H2Xoi5YLcQ6BxfJlaOBHuctyIw== +"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.2", "@babel/helper-create-class-features-plugin@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.3.tgz#832111bcf4f57ca57a4c5b1a000fc125abc6554a" + integrity sha512-BnEfi5+6J2Lte9LeiL6TxLWdIlEv9Woacc1qXzXBgbikcOzMRM2Oya5XGg/f/ngotv1ej2A/b+3iJH8wbS1+lQ== dependencies: "@babel/helper-annotate-as-pure" "^7.12.13" "@babel/helper-function-name" "^7.14.2" "@babel/helper-member-expression-to-functions" "^7.13.12" "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.12" + "@babel/helper-replace-supers" "^7.14.3" "@babel/helper-split-export-declaration" "^7.12.13" "@babel/helper-create-regexp-features-plugin@^7.12.13": @@ -367,35 +296,14 @@ dependencies: "@babel/types" "^7.13.12" -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz#ec67e4404f41750463e455cc3203f6a32e93fcb0" - integrity sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g== - dependencies: - "@babel/types" "^7.12.13" - -"@babel/helper-module-imports@^7.13.12": +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977" integrity sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA== dependencies: "@babel/types" "^7.13.12" -"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.14": - version "7.13.14" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" - integrity sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g== - dependencies: - "@babel/helper-module-imports" "^7.13.12" - "@babel/helper-replace-supers" "^7.13.12" - "@babel/helper-simple-access" "^7.13.12" - "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/helper-validator-identifier" "^7.12.11" - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.13" - "@babel/types" "^7.13.14" - -"@babel/helper-module-transforms@^7.14.0", "@babel/helper-module-transforms@^7.14.2": +"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.14.0", "@babel/helper-module-transforms@^7.14.2": version "7.14.2" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz#ac1cc30ee47b945e3e0c4db12fa0c5389509dfe5" integrity sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA== @@ -450,6 +358,16 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.12" +"@babel/helper-replace-supers@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz#ca17b318b859d107f0e9b722d58cf12d94436600" + integrity sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.13.12" + "@babel/helper-optimise-call-expression" "^7.12.13" + "@babel/traverse" "^7.14.2" + "@babel/types" "^7.14.2" + "@babel/helper-simple-access@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.13.tgz#8478bcc5cacf6aa1672b251c1d2dde5ccd61a6c4" @@ -503,15 +421,6 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.0" -"@babel/helpers@^7.13.16": - version "7.13.17" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.13.17.tgz#b497c7a00e9719d5b613b8982bda6ed3ee94caf6" - integrity sha512-Eal4Gce4kGijo1/TGJdqp3WuhllaMLSrW6XcL0ulyUAQOuxHcCafZE8KHg9857gcTehsm/v7RcOx2+jp0Ryjsg== - dependencies: - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.17" - "@babel/types" "^7.13.17" - "@babel/helpers@^7.14.0": version "7.14.0" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.14.0.tgz#ea9b6be9478a13d6f961dbb5f36bf75e2f3b8f62" @@ -547,21 +456,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.16.tgz#cc31257419d2c3189d394081635703f549fc1ed4" integrity sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw== -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.13", "@babel/parser@^7.13.16", "@babel/parser@^7.3.2", "@babel/parser@^7.7.0": - version "7.13.16" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.16.tgz#0f18179b0448e6939b1f3f5c4c355a3a9bcdfd37" - integrity sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw== - -"@babel/parser@^7.14.0": +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.13", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3", "@babel/parser@^7.3.2", "@babel/parser@^7.7.0": version "7.14.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.3.tgz#9b530eecb071fd0c93519df25c5ff9f14759f298" integrity sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ== -"@babel/parser@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.2.tgz#0c1680aa44ad4605b16cbdcc5c341a61bde9c746" - integrity sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ== - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a" @@ -1278,10 +1177,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-runtime@7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.2.tgz#4e24389bd680dd94ea1b871465d00112ae974425" - integrity sha512-LyA2AiPkaYzI7G5e2YI4NCasTfFe7mZvlupNprDOB7CdNUHb2DQC4uV6oeZ0396gOcicUzUCh0MShL6wiUgk+Q== +"@babel/plugin-transform-runtime@7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.3.tgz#1fd885a2d0de1d3c223795a4e9be72c2db4515cf" + integrity sha512-t960xbi8wpTFE623ef7sd+UpEC5T6EEguQlTBJDEO05+XwnIWVfuqLw/vdLWY6IdFmtZE+65CZAfByT39zRpkg== dependencies: "@babel/helper-module-imports" "^7.13.12" "@babel/helper-plugin-utils" "^7.13.0" @@ -1326,12 +1225,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-typescript@7.13.0", "@babel/plugin-transform-typescript@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.13.0.tgz#4a498e1f3600342d2a9e61f60131018f55774853" - integrity sha512-elQEwluzaU8R8dbVuW2Q2Y8Nznf7hnjM7+DSCd14Lo5fF63C9qNLbwZYbmZrtV9/ySpSUpkRpQXvJb6xyu4hCQ== +"@babel/plugin-transform-typescript@7.14.3", "@babel/plugin-transform-typescript@^7.13.0": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.14.3.tgz#44f67f725a60cccee33d9d6fee5e4f338258f34f" + integrity sha512-G5Bb5pY6tJRTC4ag1visSgiDoGgJ1u1fMUgmc2ijLkcIdzP83Q1qyZX4ggFQ/SkR+PNOatkaYC+nKcTlpsX4ag== dependencies: - "@babel/helper-create-class-features-plugin" "^7.13.0" + "@babel/helper-create-class-features-plugin" "^7.14.3" "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-typescript" "^7.12.13" @@ -1619,35 +1518,7 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/traverse@^7.0.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.0.tgz#cea0dc8ae7e2b1dec65f512f39f3483e8cc95aef" - integrity sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA== - dependencies: - "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.14.0" - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/parser" "^7.14.0" - "@babel/types" "^7.14.0" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15", "@babel/traverse@^7.13.17", "@babel/traverse@^7.7.0": - version "7.13.17" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.13.17.tgz#c85415e0c7d50ac053d758baec98b28b2ecfeea3" - integrity sha512-BMnZn0R+X6ayqm3C3To7o1j7Q020gWdqdyP50KEoVqaCO2c/Im7sYZSmVgvefp8TTMQ+9CtwuBp0Z1CZ8V3Pvg== - dependencies: - "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.13.16" - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/parser" "^7.13.16" - "@babel/types" "^7.13.17" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.14.0", "@babel/traverse@^7.14.2": +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0", "@babel/traverse@^7.14.2", "@babel/traverse@^7.7.0": version "7.14.2" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.2.tgz#9201a8d912723a831c2679c7ebbf2fe1416d765b" integrity sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA== @@ -1670,15 +1541,7 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.1.6", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.13.16", "@babel/types@^7.13.17", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": - version "7.13.17" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.17.tgz#48010a115c9fba7588b4437dd68c9469012b38b4" - integrity sha512-RawydLgxbOPDlTLJNtoIypwdmAy//uQIzlKt2+iBiJaRlVuI6QLUxVAyWGNfOzp8Yu4L4lLIacoCyTNtpb4wiA== - dependencies: - "@babel/helper-validator-identifier" "^7.12.11" - to-fast-properties "^2.0.0" - -"@babel/types@^7.14.0", "@babel/types@^7.14.1", "@babel/types@^7.14.2": +"@babel/types@^7.0.0", "@babel/types@^7.1.6", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.14.0", "@babel/types@^7.14.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": version "7.14.2" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.2.tgz#4208ae003107ef8a057ea8333e56eb64d2f6a2c3" integrity sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw== @@ -1967,10 +1830,10 @@ resolved "https://registry.yarnpkg.com/@firebase/auth-types/-/auth-types-0.10.3.tgz#2be7dd93959c8f5304c63e09e98718e103464d8c" integrity sha512-zExrThRqyqGUbXOFrH/sowuh2rRtfKHp9SBVY2vOqKWdCX1Ztn682n9WLtlUDsiYVIbBcwautYWk2HyCGFv0OA== -"@firebase/auth@0.16.5": - version "0.16.5" - resolved "https://registry.yarnpkg.com/@firebase/auth/-/auth-0.16.5.tgz#703a9f1208e14fa0801798bd926c4a8f59fc97c4" - integrity sha512-Cgs/TlVot2QkbJyEphvKmu+2qxYlNN+Q2+29aqZwryrnn1eLwlC7nT89K6O91/744HJRtiThm02bMj2Wh61E3Q== +"@firebase/auth@0.16.6": + version "0.16.6" + resolved "https://registry.yarnpkg.com/@firebase/auth/-/auth-0.16.6.tgz#0fc7a11561b939865fd486cd1909a3e81742fd82" + integrity sha512-1Lj3AY40Z2weCK6FuJqUEkeVJpRaaCo1LT6P5s3VIR99PDYLHeMm2m02rBaskE7ralJA975Vkv7sHrpykRfDrA== dependencies: "@firebase/auth-types" "0.10.3" @@ -2007,10 +1870,10 @@ resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-2.3.0.tgz#baf5c9470ba8be96bf0d76b83b413f03104cf565" integrity sha512-QTW7NP7nDL0pgT/X53lyj+mIMh4nRQBBTBlRNQBt7eSyeqBf3ag3bxdQhCg358+5KbjYTC2/O6QtX9DlJZmh1A== -"@firebase/firestore@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@firebase/firestore/-/firestore-2.3.0.tgz#704734eaf7b3e454dd55e0fee2c02625adaeb6c7" - integrity sha512-0RXEPVODLDYfAvt3wJaxXnDKFaO29OFCMpQ0s5rVjvYKs5ijpzf/FYu78i10HVYoDbjh8ZaZT+EVoxUNZiFq1w== +"@firebase/firestore@2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@firebase/firestore/-/firestore-2.3.1.tgz#b0c3ff842b4b11e9888cada6e9b421eb9797c5c3" + integrity sha512-8xQB8o8OmmecXLWwGUbH2V2GifsR3hh/HBgcS0i6OyMYcXb3guZiX6dSbBlSDkak13NNxlSo7R6168aKB/8x7g== dependencies: "@firebase/component" "0.5.0" "@firebase/firestore-types" "2.3.0" @@ -2027,10 +1890,10 @@ resolved "https://registry.yarnpkg.com/@firebase/functions-types/-/functions-types-0.4.0.tgz#0b789f4fe9a9c0b987606c4da10139345b40f6b9" integrity sha512-3KElyO3887HNxtxNF1ytGFrNmqD+hheqjwmT3sI09FaDCuaxGbOnsXAXH2eQ049XRXw9YQpHMgYws/aUNgXVyQ== -"@firebase/functions@0.6.8": - version "0.6.8" - resolved "https://registry.yarnpkg.com/@firebase/functions/-/functions-0.6.8.tgz#b89aa7e924278598858ed53f69b3f55daadc1d0e" - integrity sha512-Dttm53M6z31X6RfPPPMR4tkxSEIdIEcPmxEzABIdIjecSWuRpnDbEX3EmaTxjyRBn1g5TCAIsaEpGM17xh4UHw== +"@firebase/functions@0.6.9": + version "0.6.9" + resolved "https://registry.yarnpkg.com/@firebase/functions/-/functions-0.6.9.tgz#6e38c9aa411949d8697bf662bb8da8a0837addae" + integrity sha512-WgrT3EG+O70pYpX2KQM2S2Is2WJbKE6XImoloMglIqiaquOCXNR9LUVbGPWQr7qEqY+QojfTgF/bGH0awqm2KA== dependencies: "@firebase/component" "0.5.0" "@firebase/functions-types" "0.4.0" @@ -2548,7 +2411,7 @@ valid-url "1.0.9" ws "7.4.5" -"@graphql-tools/utils@^6", "@graphql-tools/utils@^6.0.0": +"@graphql-tools/utils@^6": version "6.2.4" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-6.2.4.tgz#38a2314d2e5e229ad4f78cca44e1199e18d55856" integrity sha512-ybgZ9EIJE3JMOtTrTd2VcIpTXtDrn2q6eiYkeYMKRVh3K41+LZa6YnR2zKERTXqTWqhobROwLt4BZbw2O3Aeeg== @@ -4655,22 +4518,22 @@ "@types/websocket" "^1.0.1" websocket "^1.0.34" -"@supabase/storage-js@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-1.0.2.tgz#8fa3bd2b683a8ff95321586c6024edb9f4e44e7a" - integrity sha512-cnmdzLcUc06JqqxxqK6grALnUhWbR4d5AyzsG5zlXgMW78JmdghofNz5ToDwMq949RZgxXmknBWZWhS+yhns3Q== +"@supabase/storage-js@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-1.0.3.tgz#aa6c9c22d0ca973ceb17d8ee7db70ede8254cb7b" + integrity sha512-Pe4lYtZfHX6UGitsYIgHD5M7Qixmtb6bUWNqaUPmqQXxBqZR/G0Md2mv9zWL2Agg3wuvXTvlWuQdxf94R4ql6g== dependencies: cross-fetch "^3.1.0" -"@supabase/supabase-js@^1.11.13": - version "1.11.13" - resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-1.11.13.tgz#965e9529725362900e09f988e1170c377b76e541" - integrity sha512-8xoOQMysC7BVuP1rdnamvsVtR26g35pqA+s66vTdXBu+od8pM+2+BgFcPkarRZZTtAVfyrmcFv4qbKwGTS2g6g== +"@supabase/supabase-js@^1.11.14": + version "1.11.14" + resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-1.11.14.tgz#093a64486f3fc76fdb9f2a6faa4b5fa5655662c7" + integrity sha512-yBn0AOE80lcHxROzrST1GfrIt0aGhtq1ldGA5H1Hq2EqLn/VEjfTCfJF2sjXUqJOvLFoRBEQ5mVDoWC8jsk/Uw== dependencies: "@supabase/gotrue-js" "^1.15.1" "@supabase/postgrest-js" "^0.28.3" "@supabase/realtime-js" "^1.0.9" - "@supabase/storage-js" "^1.0.2" + "@supabase/storage-js" "^1.0.3" "@szmarczak/http-timer@^1.1.2": version "1.1.2" @@ -4761,14 +4624,15 @@ resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.1.1.tgz#3348564048e7a2d7398c935d466c0414ebb6a669" integrity sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow== -"@ts-morph/common@~0.9.0": - version "0.9.0" - resolved "https://registry.yarnpkg.com/@ts-morph/common/-/common-0.9.0.tgz#a306355bad82cff22a1881f7f2f2c710bbb4d69d" - integrity sha512-yPcW6koNVK1hVKUu+KhPzhfgMb0uwzr2FewF+q8kxLerl0b+YZwmjvFMU2qbIawytIHT2VBI4bi+C09EFPB4aw== +"@ts-morph/common@~0.9.2": + version "0.9.2" + resolved "https://registry.yarnpkg.com/@ts-morph/common/-/common-0.9.2.tgz#fc63ed4f8d3a45e4ed6849fe20a57f4f2baecc5d" + integrity sha512-IPyg+c3Am0EBoa63W0f/AKeLrJhvzMzQ4BIvD1baxLopmiHOj1HFTXYxC6e8iTZ+UYtN+/WFM9UyGRnoA20b8g== dependencies: fast-glob "^3.2.5" minimatch "^3.0.4" mkdirp "^1.0.4" + path-browserify "^1.0.1" "@types/accepts@*": version "1.3.5" @@ -4971,10 +4835,10 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/findup-sync@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@types/findup-sync/-/findup-sync-2.0.2.tgz#3fff6e72b8bbec258c64208a8d64c861fec63ea7" - integrity sha512-ZXb5EN/MQvWI5LucmZ1JT1vocMRCAk0Ri+ss4NO06BpUoDOFn/FlWpFX2PQYuWzQ77eTz9QuZd6f4sZxoSrDqQ== +"@types/findup-sync@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/findup-sync/-/findup-sync-4.0.0.tgz#404bc757a0aa7e1c516c9093bab8bddbf43ff04f" + integrity sha512-xWXsj4DSFjAR8a7arkDNQz7trAQpbMxsnxNMGjrYvqH600TQFVjJaUP4dk5Y7HcE5IZ5uzt4IzalstzIry1HgA== dependencies: "@types/micromatch" "*" @@ -5192,15 +5056,10 @@ dependencies: "@types/lodash" "*" -"@types/lodash@*": - version "4.14.168" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008" - integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q== - -"@types/lodash@^4.14.169": - version "4.14.169" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.169.tgz#83c217688f07a4d9ef8f28a3ebd1d318f6ff4cbb" - integrity sha512-DvmZHoHTFJ8zhVYwCLWbQ7uAbYQEk52Ev2/ZiQ7Y7gQGeV9pjBqjnQpECMHfKS1rCYAhMI7LHVxwyZLZinJgdw== +"@types/lodash@*", "@types/lodash@^4.14.170": + version "4.14.170" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.170.tgz#0d67711d4bf7f4ca5147e9091b847479b87925d6" + integrity sha512-bpcvu/MKHHeYX+qeEN8GE7DIravODWdACVA1ctevD8CN24RhPZIKMn9ntfAsrvLfSX3cR5RrBKAbYm9bGs0A+Q== "@types/long@^4.0.0", "@types/long@^4.0.1": version "4.0.1" @@ -5253,14 +5112,6 @@ resolved "https://registry.yarnpkg.com/@types/netlify-identity-widget/-/netlify-identity-widget-1.9.1.tgz#12de68a25bae286211bd38eaaeb5cde92f39b710" integrity sha512-xpFJL+1lQN2L+TLuX2tKyUlAcXhZuTEFGzsmaqjtm/sVY8YdPjMhT/iHoxJqeZQYZ5TtKtAlZqqdbEAIUvJwHQ== -"@types/node-fetch@2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.7.tgz#20a2afffa882ab04d44ca786449a276f9f6bbf3c" - integrity sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw== - dependencies: - "@types/node" "*" - form-data "^3.0.0" - "@types/node-fetch@^2.5.10", "@types/node-fetch@^2.5.4": version "2.5.10" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.10.tgz#9b4d4a0425562f9fcea70b12cb3fcdd946ca8132" @@ -5269,10 +5120,10 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>= 8", "@types/node@>=12.12.47", "@types/node@^15.0.3": - version "15.0.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.3.tgz#ee09fcaac513576474c327da5818d421b98db88a" - integrity sha512-/WbxFeBU+0F79z9RdEOXH4CsDga+ibi5M8uEYr91u3CkT/pdWcV8MCook+4wDPnZBexRdwWS+PiVZ2xJviAzcQ== +"@types/node@*", "@types/node@>= 8", "@types/node@>=12.12.47", "@types/node@^15.6.0": + version "15.6.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-15.6.0.tgz#f0ddca5a61e52627c9dcb771a6039d44694597bc" + integrity sha512-gCYSfQpy+LYhOFTKAeE8BkyGqaxmlFxe+n4DKM6DR0wzw/HISUE/hAmkC/KT8Sw5PCJblqg062b3z9gucv3k0A== "@types/node@^10.1.0": version "10.17.55" @@ -5394,7 +5245,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@17.0.5": +"@types/react@*", "@types/react@17.0.5", "@types/react@17.0.6": version "17.0.5" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.5.tgz#3d887570c4489011f75a3fc8f965bf87d09a1bea" integrity sha512-bj4biDB9ZJmGAYTWSKJly6bMr4BLUiBrx9ujiJEoP9XIDY9CTaPGxE5QWN/1WjpPLzYF7/jRNnV2nNxNe970sw== @@ -5555,13 +5406,13 @@ resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.2.tgz#808c9fa7e4517274ed555fa158f2de4b4f468e71" integrity sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg== -"@typescript-eslint/eslint-plugin@^4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.23.0.tgz#29d3c9c81f6200b1fd6d8454cfb007ba176cde80" - integrity sha512-tGK1y3KIvdsQEEgq6xNn1DjiFJtl+wn8JJQiETtCbdQxw1vzjXyAaIkEmO2l6Nq24iy3uZBMFQjZ6ECf1QdgGw== +"@typescript-eslint/eslint-plugin@^4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.24.0.tgz#03801ffc25b2af9d08f3dc9bccfc0b7ce3780d0f" + integrity sha512-qbCgkPM7DWTsYQGjx9RTuQGswi+bEt0isqDBeo+CKV0953zqI0Tp7CZ7Fi9ipgFA6mcQqF4NOVNwS/f2r6xShw== dependencies: - "@typescript-eslint/experimental-utils" "4.23.0" - "@typescript-eslint/scope-manager" "4.23.0" + "@typescript-eslint/experimental-utils" "4.24.0" + "@typescript-eslint/scope-manager" "4.24.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" lodash "^4.17.15" @@ -5569,60 +5420,60 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.23.0.tgz#f2059434cd6e5672bfeab2fb03b7c0a20622266f" - integrity sha512-WAFNiTDnQfrF3Z2fQ05nmCgPsO5o790vOhmWKXbbYQTO9erE1/YsFot5/LnOUizLzU2eeuz6+U/81KV5/hFTGA== +"@typescript-eslint/experimental-utils@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.24.0.tgz#c23ead9de44b99c3a5fd925c33a106b00165e172" + integrity sha512-IwTT2VNDKH1h8RZseMH4CcYBz6lTvRoOLDuuqNZZoThvfHEhOiZPQCow+5El3PtyxJ1iDr6UXZwYtE3yZQjhcw== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.23.0" - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/typescript-estree" "4.23.0" + "@typescript-eslint/scope-manager" "4.24.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/typescript-estree" "4.24.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@^4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.23.0.tgz#239315d38e42e852bef43a4b0b01bef78f78911c" - integrity sha512-wsvjksHBMOqySy/Pi2Q6UuIuHYbgAMwLczRl4YanEPKW5KVxI9ZzDYh3B5DtcZPQTGRWFJrfcbJ6L01Leybwug== +"@typescript-eslint/parser@^4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.24.0.tgz#2e5f1cc78ffefe43bfac7e5659309a92b09a51bd" + integrity sha512-dj1ZIh/4QKeECLb2f/QjRwMmDArcwc2WorWPRlB8UNTZlY1KpTVsbX7e3ZZdphfRw29aTFUSNuGB8w9X5sS97w== dependencies: - "@typescript-eslint/scope-manager" "4.23.0" - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/typescript-estree" "4.23.0" + "@typescript-eslint/scope-manager" "4.24.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/typescript-estree" "4.24.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.23.0.tgz#8792ef7eacac122e2ec8fa2d30a59b8d9a1f1ce4" - integrity sha512-ZZ21PCFxPhI3n0wuqEJK9omkw51wi2bmeKJvlRZPH5YFkcawKOuRMQMnI8mH6Vo0/DoHSeZJnHiIx84LmVQY+w== +"@typescript-eslint/scope-manager@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.24.0.tgz#38088216f0eaf235fa30ed8cabf6948ec734f359" + integrity sha512-9+WYJGDnuC9VtYLqBhcSuM7du75fyCS/ypC8c5g7Sdw7pGL4NDTbeH38eJPfzIydCHZDoOgjloxSAA3+4l/zsA== dependencies: - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/visitor-keys" "4.23.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/visitor-keys" "4.24.0" -"@typescript-eslint/types@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.23.0.tgz#da1654c8a5332f4d1645b2d9a1c64193cae3aa3b" - integrity sha512-oqkNWyG2SLS7uTWLZf6Sr7Dm02gA5yxiz1RP87tvsmDsguVATdpVguHr4HoGOcFOpCvx9vtCSCyQUGfzq28YCw== +"@typescript-eslint/types@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.24.0.tgz#6d0cca2048cbda4e265e0c4db9c2a62aaad8228c" + integrity sha512-tkZUBgDQKdvfs8L47LaqxojKDE+mIUmOzdz7r+u+U54l3GDkTpEbQ1Jp3cNqqAU9vMUCBA1fitsIhm7yN0vx9Q== -"@typescript-eslint/typescript-estree@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.23.0.tgz#0753b292097523852428a6f5a1aa8ccc1aae6cd9" - integrity sha512-5Sty6zPEVZF5fbvrZczfmLCOcby3sfrSPu30qKoY1U3mca5/jvU5cwsPb/CO6Q3ByRjixTMIVsDkqwIxCf/dMw== +"@typescript-eslint/typescript-estree@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.24.0.tgz#b49249679a98014d8b03e8d4b70864b950e3c90f" + integrity sha512-kBDitL/by/HK7g8CYLT7aKpAwlR8doshfWz8d71j97n5kUa5caHWvY0RvEUEanL/EqBJoANev8Xc/mQ6LLwXGA== dependencies: - "@typescript-eslint/types" "4.23.0" - "@typescript-eslint/visitor-keys" "4.23.0" + "@typescript-eslint/types" "4.24.0" + "@typescript-eslint/visitor-keys" "4.24.0" debug "^4.1.1" globby "^11.0.1" is-glob "^4.0.1" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.23.0": - version "4.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.23.0.tgz#7215cc977bd3b4ef22467b9023594e32f9e4e455" - integrity sha512-5PNe5cmX9pSifit0H+nPoQBXdbNzi5tOEec+3riK+ku4e3er37pKxMKDH5Ct5Y4fhWxcD4spnlYjxi9vXbSpwg== +"@typescript-eslint/visitor-keys@4.24.0": + version "4.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.24.0.tgz#a8fafdc76cad4e04a681a945fbbac4e35e98e297" + integrity sha512-4ox1sjmGHIxjEDBnMCtWFFhErXtKA1Ec0sBpuz0fqf3P+g3JFGyTxxbF06byw0FRsPnnbq44cKivH7Ks1/0s6g== dependencies: - "@typescript-eslint/types" "4.23.0" + "@typescript-eslint/types" "4.24.0" eslint-visitor-keys "^2.0.0" "@webassemblyjs/ast@1.9.0": @@ -5972,10 +5823,10 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^7.0.2: - version "7.2.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-7.2.1.tgz#a5ac226171912447683524fa2f1248fcf8bac83d" - integrity sha512-+nu0HDv7kNSOua9apAVc979qd932rrZeb3WOvoiD31A/p1mIE5/9bN2027pE2rOPYEdS3UHzsvof4hY+lM9/WQ== +ajv@^8.0.1: + version "8.5.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.5.0.tgz#695528274bcb5afc865446aa275484049a18ae4b" + integrity sha512-Y2l399Tt1AguU3BPRP9Fn4eN+Or+StUGWCUpbnFyXSo8NZ9S4uj+AG2pjs5apK+ZMOwYOz1+a+VKvKH7CudXgQ== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -6093,39 +5944,40 @@ anymatch@^3.0.3, anymatch@~3.1.1: normalize-path "^3.0.0" picomatch "^2.0.4" -apollo-cache-control@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/apollo-cache-control/-/apollo-cache-control-0.12.0.tgz#45aea0a232d0704e33c2b1a3c428a5500b29818c" - integrity sha512-kClF5rfAm159Nboul1LxA+l58Tjz0M8L1GUknEMpZt0UHhILLAn3BfcG3ToX4TbNoR9M57kKMUcbPWLdy3Up7w== +apollo-cache-control@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/apollo-cache-control/-/apollo-cache-control-0.13.0.tgz#cd63aa24a662b2fe89ef147a30df907c8061aedc" + integrity sha512-ImUXwVc/8K9QA3mQiKbKw8bOS4lMNL4DoP4hldIx+gwna8dgh3gBChgxW5guMOhcvH/55ximS7ZNWUglFmQY4Q== dependencies: - apollo-server-env "^3.0.0" - apollo-server-plugin-base "^0.11.0" + apollo-server-env "^3.1.0" + apollo-server-plugin-base "^0.12.0" -apollo-datasource@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/apollo-datasource/-/apollo-datasource-0.8.0.tgz#8cf9103e83558bd30b3b522cb8ec80725c3160ce" - integrity sha512-gXgsGVLuejLc138z/2jUjPAzadDQxWbcLJyBgaQsg5BaXJNkv5uW/NjiSPk00cK51hyZrb0Xx8a+L+wPk2qIBA== +apollo-datasource@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/apollo-datasource/-/apollo-datasource-0.9.0.tgz#b0b2913257a6103a5f4c03cb56d78a30e9d850db" + integrity sha512-y8H99NExU1Sk4TvcaUxTdzfq2SZo6uSj5dyh75XSQvbpH6gdAXIW9MaBcvlNC7n0cVPsidHmOcHOWxJ/pTXGjA== dependencies: - apollo-server-caching "^0.6.0" - apollo-server-env "^3.0.0" + apollo-server-caching "^0.7.0" + apollo-server-env "^3.1.0" -apollo-env@^0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/apollo-env/-/apollo-env-0.6.6.tgz#d7880805c4e96ee3d4142900a405176a04779438" - integrity sha512-hXI9PjJtzmD34XviBU+4sPMOxnifYrHVmxpjykqI/dUD2G3yTiuRaiQqwRwB2RCdwC1Ug/jBfoQ/NHDTnnjndQ== +apollo-env@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/apollo-env/-/apollo-env-0.10.0.tgz#8dd51bf974253a760ea15c81e870ff2c0d6e6820" + integrity sha512-7Geot+eyOl4jzPi9beiszeDmEEVZOVT11LSlkQluF5eaCNaIvld+xklZxITZGI/Wr+PQX380YJgQt1ndR2GtOg== dependencies: - "@types/node-fetch" "2.5.7" + "@types/node-fetch" "^2.5.10" core-js "^3.0.1" - node-fetch "^2.2.0" + node-fetch "^2.6.1" sha.js "^2.4.11" -apollo-graphql@^0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/apollo-graphql/-/apollo-graphql-0.6.1.tgz#d0bf0aff76f445de3da10e08f6974f1bf65f5753" - integrity sha512-ZRXAV+k+hboCVS+FW86FW/QgnDR7gm/xMUwJPGXEbV53OLGuQQdIT0NCYK7AzzVkCfsbb7NJ3mmEclkZY9uuxQ== +apollo-graphql@^0.9.0: + version "0.9.2" + resolved "https://registry.yarnpkg.com/apollo-graphql/-/apollo-graphql-0.9.2.tgz#750ca9a97b59c868426defc95d9d9e1733ae4bdf" + integrity sha512-+c/vqC2LPq3e5kO7MfBxDDiljzLog/THZr9Pd46HVaKAhHUxFL0rJEbT17VhjdOoZGWFWLYG7x9hiN6EQD1xZQ== dependencies: - apollo-env "^0.6.6" + core-js-pure "^3.10.2" lodash.sortby "^4.7.0" + sha.js "^2.4.11" apollo-link@^1.2.14: version "1.2.14" @@ -6137,43 +5989,43 @@ apollo-link@^1.2.14: tslib "^1.9.3" zen-observable-ts "^0.8.21" -apollo-reporting-protobuf@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.2.tgz#5572866be9b77f133916532b10e15fbaa4158304" - integrity sha512-WJTJxLM+MRHNUxt1RTl4zD0HrLdH44F2mDzMweBj1yHL0kSt8I1WwoiF/wiGVSpnG48LZrBegCaOJeuVbJTbtw== +apollo-reporting-protobuf@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.7.0.tgz#622352d3eea943dff2647741a509b39d464f98a9" + integrity sha512-PC+zDqPPJcseemqmvUEqFiDi45pz6UaPWt6czgmrrbcQ+9VWp6IEkm08V5xBKk7V1WGUw19YwiJ7kqXpcgVNyw== dependencies: - "@apollo/protobufjs" "^1.0.3" + "@apollo/protobufjs" "1.2.2" -apollo-server-caching@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/apollo-server-caching/-/apollo-server-caching-0.6.0.tgz#3140a023ce0be8c43ba0b2f5be9cc5d15d1a32f6" - integrity sha512-SfjKaccrhRzUQ8TAke9FrYppp4pZV3Rp8KCs+4Ox3kGtbco68acRPJkiYYtSVc4idR8XNAUOOVfAEZVNHdZQKQ== +apollo-server-caching@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/apollo-server-caching/-/apollo-server-caching-0.7.0.tgz#e6d1e68e3bb571cba63a61f60b434fb771c6ff39" + integrity sha512-MsVCuf/2FxuTFVhGLK13B+TZH9tBd2qkyoXKKILIiGcZ5CDUEBO14vIV63aNkMkS1xxvK2U4wBcuuNj/VH2Mkw== dependencies: lru-cache "^6.0.0" -apollo-server-core@^2.22.2: - version "2.22.2" - resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-2.22.2.tgz#daee67a17aa4f1bf0df3e448e237a37324906b5d" - integrity sha512-YPrhfN+I5vUerc4c0I6pd89fdqP5UNYCt/+MGv4bDA/a0kOCLvzylkQ3NlEepK1fewtqf4QO+S1LscC8vMmYdg== +apollo-server-core@^2.24.1: + version "2.24.1" + resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-2.24.1.tgz#304d265f6033f6b91d880b8498fcc75d72dead40" + integrity sha512-+T7G2EsC5N/AVo0QJo13r1kFgJk0HTK55YlXbnpJl6qRUF8yKLXMittvIfTWge0uLQGzFzVRhDZ7AQMt/E1TGA== dependencies: - "@apollographql/apollo-tools" "^0.4.3" + "@apollographql/apollo-tools" "^0.5.0" "@apollographql/graphql-playground-html" "1.6.27" "@apollographql/graphql-upload-8-fork" "^8.1.3" "@josephg/resolvable" "^1.0.0" "@types/ws" "^7.0.0" - apollo-cache-control "^0.12.0" - apollo-datasource "^0.8.0" - apollo-graphql "^0.6.0" - apollo-reporting-protobuf "^0.6.2" - apollo-server-caching "^0.6.0" - apollo-server-env "^3.0.0" - apollo-server-errors "^2.4.2" - apollo-server-plugin-base "^0.11.0" - apollo-server-types "^0.7.0" - apollo-tracing "^0.13.0" + apollo-cache-control "^0.13.0" + apollo-datasource "^0.9.0" + apollo-graphql "^0.9.0" + apollo-reporting-protobuf "^0.7.0" + apollo-server-caching "^0.7.0" + apollo-server-env "^3.1.0" + apollo-server-errors "^2.5.0" + apollo-server-plugin-base "^0.12.0" + apollo-server-types "^0.8.0" + apollo-tracing "^0.14.0" async-retry "^1.2.1" fast-json-stable-stringify "^2.0.0" - graphql-extensions "^0.13.0" + graphql-extensions "^0.14.0" graphql-tag "^2.11.0" graphql-tools "^4.0.8" loglevel "^1.6.7" @@ -6183,54 +6035,54 @@ apollo-server-core@^2.22.2: uuid "^8.0.0" ws "^6.0.0" -apollo-server-env@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/apollo-server-env/-/apollo-server-env-3.0.0.tgz#0157c51f52b63aee39af190760acf789ffc744d9" - integrity sha512-tPSN+VttnPsoQAl/SBVUpGbLA97MXG990XIwq6YUnJyAixrrsjW1xYG7RlaOqetxm80y5mBZKLrRDiiSsW/vog== +apollo-server-env@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/apollo-server-env/-/apollo-server-env-3.1.0.tgz#0733c2ef50aea596cc90cf40a53f6ea2ad402cd0" + integrity sha512-iGdZgEOAuVop3vb0F2J3+kaBVi4caMoxefHosxmgzAbbSpvWehB8Y1QiSyyMeouYC38XNVk5wnZl+jdGSsWsIQ== dependencies: - node-fetch "^2.1.2" + node-fetch "^2.6.1" util.promisify "^1.0.0" -apollo-server-errors@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/apollo-server-errors/-/apollo-server-errors-2.4.2.tgz#1128738a1d14da989f58420896d70524784eabe5" - integrity sha512-FeGxW3Batn6sUtX3OVVUm7o56EgjxDlmgpTLNyWcLb0j6P8mw9oLNyAm3B+deHA4KNdNHO5BmHS2g1SJYjqPCQ== +apollo-server-errors@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/apollo-server-errors/-/apollo-server-errors-2.5.0.tgz#5d1024117c7496a2979e3e34908b5685fe112b68" + integrity sha512-lO5oTjgiC3vlVg2RKr3RiXIIQ5pGXBFxYGGUkKDhTud3jMIhs+gel8L8zsEjKaKxkjHhCQAA/bcEfYiKkGQIvA== -apollo-server-lambda@2.22.2: - version "2.22.2" - resolved "https://registry.yarnpkg.com/apollo-server-lambda/-/apollo-server-lambda-2.22.2.tgz#8beb0f2cfbb9048ae8dfa609afbfcb8fa42de622" - integrity sha512-QOVHg6u1+jqnY6c+fb4njUtfQEQr118guerDveZgG3vQP1t8/AtYDT33m03JhsKWRkzZjOgj5cs0RA1iSYw7cg== +apollo-server-lambda@2.24.1: + version "2.24.1" + resolved "https://registry.yarnpkg.com/apollo-server-lambda/-/apollo-server-lambda-2.24.1.tgz#a63ac2cc37e58a40b41da162eea9e927bf408c65" + integrity sha512-NzkjZ+KXCMVbFoLecA+/hnL5JZybIo1mFxjd539aDr5EPwmpSq2sPcOwRe8qLxUwyKjWxwii8wOiEV4YEdF25Q== dependencies: "@apollographql/graphql-playground-html" "1.6.27" "@types/aws-lambda" "^8.10.31" - apollo-server-core "^2.22.2" - apollo-server-env "^3.0.0" - apollo-server-types "^0.7.0" + apollo-server-core "^2.24.1" + apollo-server-env "^3.1.0" + apollo-server-types "^0.8.0" graphql-tools "^4.0.8" -apollo-server-plugin-base@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/apollo-server-plugin-base/-/apollo-server-plugin-base-0.11.0.tgz#6ceeb4d5f643ed739fd00e8b26d9981186c200d0" - integrity sha512-Du68x0XCyQ6EWlgoL9Z+1s8fJfXgY131QbKP7ao617StQPzwB0aGCwxBDfcMt1A75VXf4TkvV1rdUH5YeJFlhQ== +apollo-server-plugin-base@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/apollo-server-plugin-base/-/apollo-server-plugin-base-0.12.0.tgz#9063c47e84c849c4227b9398cd06994f13b3a4c3" + integrity sha512-jnNIztYz34ImE7off0t9LwseGCR/J0H1wlbiBGvdXvQY+ZiMfVF2oF8KdSAPxG2vT6scvWP4GFS/FsZcOyP1Xw== dependencies: - apollo-server-types "^0.7.0" + apollo-server-types "^0.8.0" -apollo-server-types@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/apollo-server-types/-/apollo-server-types-0.7.0.tgz#a9b62974ada5da5edb6157a41d8ddb993b57203a" - integrity sha512-pJ6ri2N4xJ+e2PUUPHeCNpMDzHUagJyn0DDZGQmXDz6aoMlSd4B2KUvK81hHyHkw3wHk9clgcpfM9hKqbfZweA== +apollo-server-types@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/apollo-server-types/-/apollo-server-types-0.8.0.tgz#5462c99e93c5b6896d686bc234c05850059b2efe" + integrity sha512-adHJnHbRV2kWUY0VQY1M2KpSdGfm+4mX4w+2lROPExqOnkyTI7CGfpJCdEwYMKrIn3aH8HIcOH0SnpWRet6TNw== dependencies: - apollo-reporting-protobuf "^0.6.2" - apollo-server-caching "^0.6.0" - apollo-server-env "^3.0.0" + apollo-reporting-protobuf "^0.7.0" + apollo-server-caching "^0.7.0" + apollo-server-env "^3.1.0" -apollo-tracing@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/apollo-tracing/-/apollo-tracing-0.13.0.tgz#8621b1ae351f862bb48b6de7a85696288977d148" - integrity sha512-28z4T+XfLQ6t696usU0nTFDxVN8BfF3o74d2p/zsT4eu1OuoyoDOEmVJqdInmVRpyTJK0tDEOjkIuDJJHZftog== +apollo-tracing@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/apollo-tracing/-/apollo-tracing-0.14.0.tgz#2b7e07e6f1cb9d6161f03dc6e51baaa8468735bd" + integrity sha512-KH4mOoicZ2CQkEYVuNP9avJth59LwNqku3fKZ4S0UYE1RfxzIoLLsEyuY8MuJEgNdtKKfkX5G5Kn5Rp4LCJ4RQ== dependencies: - apollo-server-env "^3.0.0" - apollo-server-plugin-base "^0.11.0" + apollo-server-env "^3.1.0" + apollo-server-plugin-base "^0.12.0" apollo-utilities@^1.0.1, apollo-utilities@^1.3.0: version "1.3.4" @@ -6731,10 +6583,10 @@ babel-plugin-emotion@^10.0.20, babel-plugin-emotion@^10.0.27: find-root "^1.1.0" source-map "^0.5.7" -babel-plugin-graphql-tag@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-graphql-tag/-/babel-plugin-graphql-tag-3.2.0.tgz#d9f06de489c629d6a05b3bb5d804c0a82e26ba71" - integrity sha512-2WjslcT4Vbd9S2nHL6eBdrzKcFbg89uK+AEx8BdWaXu51BXIO7f3W1A7ZWQ1mwQw+84dFo4fEdGa6C9Vu68Cfw== +babel-plugin-graphql-tag@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-graphql-tag/-/babel-plugin-graphql-tag-3.3.0.tgz#77d8ce04fb8f2ca56bce9af0ca7d5ad2b91f53bc" + integrity sha512-27qfJhFJ2jQg+ktcC3cdppE2RrXZ5uiDz+39YC5lhkmftWPuJW8ET9Ehskwv7ujScZ1jSKhs5/JZKlESCkwIBg== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/parser" "^7.3.2" @@ -8389,14 +8241,6 @@ constants-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= -contains-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-1.0.0.tgz#3458b332185603e8eed18f518d4a10888a3abc91" - integrity sha1-NFizMhhWA+ju0Y9RjUoQiIo6vJE= - dependencies: - normalize-path "^2.1.1" - path-starts-with "^1.0.0" - content-disposition@0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" @@ -8576,6 +8420,11 @@ core-js-pure@^3.0.0, core-js-pure@^3.0.1: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.9.1.tgz#677b322267172bd490e4464696f790cbc355bec5" integrity sha512-laz3Zx0avrw9a4QEIdmIblnVuJz8W51leY9iLThatCsFawWxC3sE4guASC78JbCin+DkwMpCdp1AVAuzL/GN7A== +core-js-pure@^3.10.2: + version "3.12.1" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.12.1.tgz#934da8b9b7221e2a2443dc71dfa5bd77a7ea00b8" + integrity sha512-1cch+qads4JnDSWsvc7d6nzlKAippwjUlf6vykkTLW53VSV+NkE6muGBToAjEA8pG90cSfcud3JgVmW2ds5TaQ== + core-js@3.12.1, core-js@^3.0.1, core-js@^3.0.4, core-js@^3.2.1, core-js@^3.6.5, core-js@^3.8.0, core-js@^3.8.2: version "3.12.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.12.1.tgz#6b5af4ff55616c08a44d386f1f510917ff204112" @@ -8598,16 +8447,16 @@ cosmiconfig-toml-loader@1.0.0: dependencies: "@iarna/toml" "^2.2.5" -cosmiconfig@6.0.0, cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== +cosmiconfig@7.0.0, cosmiconfig@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" + integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== dependencies: "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" + import-fresh "^3.2.1" parse-json "^5.0.0" path-type "^4.0.0" - yaml "^1.7.2" + yaml "^1.10.0" cosmiconfig@^5.0.0, cosmiconfig@^5.1.0: version "5.2.1" @@ -8619,16 +8468,16 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.1.0: js-yaml "^3.13.1" parse-json "^4.0.0" -cosmiconfig@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" - integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== +cosmiconfig@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" + integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== dependencies: "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" + import-fresh "^3.1.0" parse-json "^5.0.0" path-type "^4.0.0" - yaml "^1.10.0" + yaml "^1.7.2" cp-cli@^2.0.0: version "2.0.0" @@ -10068,19 +9917,25 @@ es6-symbol@^3.1.1, es6-symbol@~3.1.3: d "^1.0.1" ext "^1.1.2" -esbuild-loader@^2.13.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/esbuild-loader/-/esbuild-loader-2.13.0.tgz#f5a3602a89a3b728506ae3e1887304fffeef9270" - integrity sha512-gC9lML8RGkTSWG2pJVEOZRLMoIluq1Jd7OzzVkOZKMzbMDMWDhXEwXLs60n+aglnAYa9GVrD/UXjTHkM51nBsg== +esbuild-loader@^2.13.1: + version "2.13.1" + resolved "https://registry.yarnpkg.com/esbuild-loader/-/esbuild-loader-2.13.1.tgz#9c89e654390a9a25d99b2f6d803ade30f4335418" + integrity sha512-Tzc5nB5tVUmigXz6m4j1OYozJCjdix7E9vtd5RaE54fqz2Rz34Is9S8FbAf8uqR4xvQUBAXIi6Jkn1OeMxw2aQ== dependencies: esbuild "^0.11.19" joycon "^3.0.1" json5 "^2.2.0" loader-utils "^2.0.0" + tapable "^2.2.0" type-fest "^1.0.1" webpack-sources "^2.2.0" -esbuild@0.11.21, esbuild@^0.11.19: +esbuild@0.12.1: + version "0.12.1" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.1.tgz#f652d5b3b9432dbb42fc2c034ddd62360296e03d" + integrity sha512-WfQ00MKm/Y4ysz1u9PCUAsV66k5lbrcEvS6aG9jhBIavpB94FBdaWeBkaZXxCZB4w+oqh+j4ozJFWnnFprOXbg== + +esbuild@^0.11.19: version "0.11.21" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.21.tgz#9220b0185ae40947811dcaff6bfcfb572bebac08" integrity sha512-FqpYdJqiTeLDbj3vqxc/fG8UmHIEvQrDaUxSw1oJf4giLd/tnMDUUlXellCjOab7qGKQ5hUFD5eQgmO+tkZeow== @@ -10110,6 +9965,11 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + escodegen@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" @@ -10158,14 +10018,13 @@ eslint-plugin-babel@^5.3.1: dependencies: eslint-rule-composer "^0.3.0" -eslint-plugin-import@^2.23.0: - version "2.23.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.23.0.tgz#557160f501e4beaefb768fb4165d36eb2a4e543a" - integrity sha512-W5v1f7Cbam6BwbSSKtN6+yoUAms07ozbqAEhLOtf5erEqRv7w67PeZuAuBThaUkzdq2GfBx/5GBvxF+NWJshrQ== +eslint-plugin-import@^2.23.3: + version "2.23.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.23.3.tgz#8a1b073289fff03c4af0f04b6df956b7d463e191" + integrity sha512-wDxdYbSB55F7T5CC7ucDjY641VvKmlRwT0Vxh7PkY1mI4rclVRFWYfsrjDgZvwYYDZ5ee0ZtfFKXowWjqvEoRQ== dependencies: array-includes "^3.1.3" array.prototype.flat "^1.2.4" - contains-path "^1.0.0" debug "^2.6.9" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.4" @@ -10274,10 +10133,10 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== -eslint@^7.26.0: - version "7.26.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.26.0.tgz#d416fdcdcb3236cd8f282065312813f8c13982f6" - integrity sha512-4R1ieRf52/izcZE7AlLy56uIHHDLT74Yzz2Iv2l6kDaYvEu9x+wMB5dZArVL8SYGXSYV2YAg70FcW5Y5nGGNIg== +eslint@^7.27.0: + version "7.27.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.27.0.tgz#665a1506d8f95655c9274d84bd78f7166b07e9c7" + integrity sha512-JZuR6La2ZF0UD384lcbnd0Cgg6QJjiCwhMD6eU4h/VGPcVGwawNNzKU41tgokGXnfjOOyI6QIffthhJTPzzuRA== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.1" @@ -10287,12 +10146,14 @@ eslint@^7.26.0: debug "^4.0.1" doctrine "^3.0.0" enquirer "^2.3.5" + escape-string-regexp "^4.0.0" eslint-scope "^5.1.1" eslint-utils "^2.1.0" eslint-visitor-keys "^2.0.0" espree "^7.3.1" esquery "^1.4.0" esutils "^2.0.2" + fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" functional-red-black-tree "^1.0.1" glob-parent "^5.0.0" @@ -10304,7 +10165,7 @@ eslint@^7.26.0: js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.21" + lodash.merge "^4.6.2" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -10313,7 +10174,7 @@ eslint@^7.26.0: semver "^7.2.1" strip-ansi "^6.0.0" strip-json-comments "^3.1.0" - table "^6.0.4" + table "^6.0.9" text-table "^0.2.0" v8-compile-cache "^2.0.3" @@ -10944,19 +10805,19 @@ firebase-admin@^9.8.0: "@google-cloud/firestore" "^4.5.0" "@google-cloud/storage" "^5.3.0" -firebase@^8.6.1: - version "8.6.1" - resolved "https://registry.yarnpkg.com/firebase/-/firebase-8.6.1.tgz#6f0362ad35ce95af5758a49ecea9c33c9c9a8869" - integrity sha512-10eQ6RPUl71s68f+d2SsfPP0rHCTHqsZpt0xMg0RvWf3fqx5PlnJrItSrfWxZEuRgawJSkiPybpf+Q/LfluFLA== +firebase@^8.6.2: + version "8.6.2" + resolved "https://registry.yarnpkg.com/firebase/-/firebase-8.6.2.tgz#af39d19cc9bbab2442b5ae3181c29c1e76a5c804" + integrity sha512-U2FCBZ1D8qYfuSQ0SN0dGw59x08v5mHnYtDJiUMCoulbA2psk8AqmCT/aqJz8FDTQB87iPbAxGRXVnAozagM1Q== dependencies: "@firebase/analytics" "0.6.10" "@firebase/app" "0.6.22" "@firebase/app-check" "0.1.1" "@firebase/app-types" "0.6.2" - "@firebase/auth" "0.16.5" + "@firebase/auth" "0.16.6" "@firebase/database" "0.10.1" - "@firebase/firestore" "2.3.0" - "@firebase/functions" "0.6.8" + "@firebase/firestore" "2.3.1" + "@firebase/functions" "0.6.9" "@firebase/installations" "0.4.26" "@firebase/messaging" "0.7.10" "@firebase/performance" "0.4.12" @@ -11454,7 +11315,7 @@ glob-to-regexp@^0.3.0: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@7.1.6, glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: +glob@7.1.6: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -11466,7 +11327,7 @@ glob@7.1.6, glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glo once "^1.3.0" path-is-absolute "^1.0.0" -glob@7.1.7: +glob@7.1.7, glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.1.7" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== @@ -11719,9 +11580,9 @@ graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1. integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== graphql-config@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-3.2.0.tgz#3ec3a7e319792086b80e54db4b37372ad4a79a32" - integrity sha512-ygEKDeQNZKpm4137560n2oY3bGM0D5zyRsQVaJntKkufWdgPg6sb9/4J1zJW2y/yC1ortAbhNho09qmeJeLa9g== + version "3.3.0" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-3.3.0.tgz#24c3672a427cb67c0c717ca3b9d70e9f0c9e752b" + integrity sha512-mSQIsPMssr7QrgqhnjI+CyVH6oQgCrgS6irHsTvwf7RFDRnR2k9kqpQOQgVoOytBSn0DOYryS0w0SAg9xor/Jw== dependencies: "@endemolshinegroup/cosmiconfig-typescript-loader" "3.0.2" "@graphql-tools/graphql-file-loader" "^6.0.0" @@ -11729,21 +11590,20 @@ graphql-config@^3.2.0: "@graphql-tools/load" "^6.0.0" "@graphql-tools/merge" "^6.0.0" "@graphql-tools/url-loader" "^6.0.0" - "@graphql-tools/utils" "^6.0.0" - cosmiconfig "6.0.0" + "@graphql-tools/utils" "^7.0.0" + cosmiconfig "7.0.0" cosmiconfig-toml-loader "1.0.0" minimatch "3.0.4" string-env-interpolation "1.0.1" - tslib "^2.0.0" -graphql-extensions@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/graphql-extensions/-/graphql-extensions-0.13.0.tgz#34d7f9c1bf49d09c4f1fa8b5d33e6c961a1889fb" - integrity sha512-Bb7E97nvfX4gtrIdZ/i5YFlqOd6MGzrw8ED+t4wQVraYje6NQ+8P8MHMOV2WZLfbW8zsNTx8NdnnlbsdH5siag== +graphql-extensions@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/graphql-extensions/-/graphql-extensions-0.14.0.tgz#cddf2fd43168e18be1d0e9057a4b3647febdd35f" + integrity sha512-DFtD8G+6rSj/Xhtb0IPh4A/sB/qcSEm9MTS221ESCx+axrsME92wGEsr7ihVjn1/tEEIy+9V5lUQOH/dHkCb0A== dependencies: - "@apollographql/apollo-tools" "^0.4.3" - apollo-server-env "^3.0.0" - apollo-server-types "^0.7.0" + "@apollographql/apollo-tools" "^0.5.0" + apollo-server-env "^3.1.0" + apollo-server-types "^0.8.0" graphql-request@^3.3.0: version "3.4.0" @@ -14467,6 +14327,11 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" +lodash.truncate@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" + integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM= + lodash.union@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" @@ -15348,7 +15213,7 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@2.6.1, node-fetch@^2.1.2, node-fetch@^2.2.0, node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0, node-fetch@^2.6.1: +node-fetch@2.6.1, node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0, node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== @@ -16247,6 +16112,11 @@ path-browserify@0.0.1: resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + path-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f" @@ -16314,13 +16184,6 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" -path-starts-with@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/path-starts-with/-/path-starts-with-1.0.0.tgz#b28243015e8b138de572682ac52da42e646ad84e" - integrity sha1-soJDAV6LE43lcmgqxS2kLmRq2E4= - dependencies: - normalize-path "^2.1.1" - path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -17028,7 +16891,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.5.10, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@15.7.2, prop-types@^15.5.10, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -17405,7 +17268,7 @@ react-docgen@^5.0.0: node-dir "^0.1.10" strip-indent "^3.0.0" -react-dom@^17.0.2: +react-dom@17.0.2, react-dom@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA== @@ -17544,7 +17407,7 @@ react-textarea-autosize@^8.1.1, react-textarea-autosize@^8.3.0: use-composed-ref "^1.0.0" use-latest "^1.0.0" -react@^17.0.2: +react@17.0.2, react@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== @@ -19339,22 +19202,24 @@ sync-fetch@0.3.0: buffer "^5.7.0" node-fetch "^2.6.1" -table@^6.0.4: - version "6.0.7" - resolved "https://registry.yarnpkg.com/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" - integrity sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== +table@^6.0.9: + version "6.7.1" + resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2" + integrity sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg== dependencies: - ajv "^7.0.2" - lodash "^4.17.20" + ajv "^8.0.1" + lodash.clonedeep "^4.5.0" + lodash.truncate "^4.4.2" slice-ansi "^4.0.0" string-width "^4.2.0" + strip-ansi "^6.0.0" tapable@^1.0.0, tapable@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tapable@^2.0.0: +tapable@^2.0.0, tapable@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b" integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw== @@ -19870,12 +19735,12 @@ ts-log@^2.2.3: resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.3.tgz#4da5640fe25a9fb52642cd32391c886721318efb" integrity sha512-XvB+OdKSJ708Dmf9ore4Uf/q62AYDTzFcAdxc8KNML1mmAWywRFVt/dn1KYJH8Agt5UJNujfM3znU5PxgAzA2w== -ts-morph@^10.0.2: - version "10.0.2" - resolved "https://registry.yarnpkg.com/ts-morph/-/ts-morph-10.0.2.tgz#292418207db467326231b2be92828b5e295e7946" - integrity sha512-TVuIfEqtr9dW25K3Jajqpqx7t/zLRFxKu2rXQZSDjTm4MO4lfmuj1hn8WEryjeDDBFcNOCi+yOmYUYR4HucrAg== +ts-morph@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/ts-morph/-/ts-morph-10.1.0.tgz#b3327fb38a6c03bfd70871771e6d08af1c2d8f93" + integrity sha512-hfskRPAbc+N1+2QvPLvJ0MOrhcwxJuBlCbX+D+9T7UnrZZqsdbmWb6FfywQ7sghyqwok6Pc8ZPwzaumlOJ8OBA== dependencies: - "@ts-morph/common" "~0.9.0" + "@ts-morph/common" "~0.9.2" code-block-writer "^10.1.1" ts-node@^9: @@ -20050,14 +19915,14 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript-transform-paths@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/typescript-transform-paths/-/typescript-transform-paths-2.2.3.tgz#a22e4227978ab85cd54b5344d43ecc796460d3aa" - integrity sha512-jF63/iDnjKfLANZK1F8HhNgRv+v6R3vqpoPrx6KJWYtq9Ch7hPvefmb0HtbUfYaAMqUW3ol+w29wEYa7HNKBcA== +typescript-transform-paths@^2.2.4: + version "2.2.4" + resolved "https://registry.yarnpkg.com/typescript-transform-paths/-/typescript-transform-paths-2.2.4.tgz#9d4b74a063918ce528b696766634f854b8ce9134" + integrity sha512-i+/sgp3rw1ZronMCm2TKGBy1dlvN88Kd8CCb+HWnOE8+Hv0uIVnbC8xM5AD2t1JBCWabEhuH9p3n8DOVi0+R6g== dependencies: minimatch "^3.0.4" -typescript@^4.2.4: +typescript@4.2.4, typescript@^4.2.4: version "4.2.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg== @@ -20496,7 +20361,7 @@ vscode-jsonrpc@^5.0.1: resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-5.0.1.tgz#9bab9c330d89f43fc8c1e8702b5c36e058a01794" integrity sha512-JvONPptw3GAQGXlVV2utDcHx0BiY34FupW/kI6mZ5x06ER5DdPG/tXWMVHjTNULF5uKPOUUD0SaXg5QaubJL0A== -vscode-languageserver-protocol@^3.15.3: +vscode-languageserver-protocol@3.15.3, vscode-languageserver-protocol@^3.15.3: version "3.15.3" resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.15.3.tgz#3fa9a0702d742cf7883cb6182a6212fcd0a1d8bb" integrity sha512-zrMuwHOAQRhjDSnflWdJG+O2ztMWss8GqUUB8dXLR/FPenwkiBNkMIJJYfSN6sgskvsF0rHAoBowNQfbyZnnvw==