diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000..d950f09cbc --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +**/generated/** diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3541329aa4..81b6b3ea11 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,12 +1,52 @@ module.exports = { - root: true, - env: { - es2020: true, - }, - parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint'], - rules: { - 'no-else-return': ['error', { allowElseIf: false }], - 'object-shorthand': ['error', 'always'], - }, + extends: ['@theguild'], + overrides: [ + { + files: ['packages/graphql-yoga/src/plugins/**/*.ts'], + rules: { + 'unicorn/filename-case': 'off', + }, + }, + { + files: ['website/**'], + rules: { 'import/no-default-export': 'off' }, + }, + { + files: ['examples/**'], + rules: { + 'import/extensions': 'off', + 'unicorn/filename-case': 'off', + 'no-console': 'off', + 'import/no-default-export': 'off', + }, + }, + { + files: [ + '**/__tests__/**', + '**/*.spec.ts', + '**/*.test.ts', + 'e2e/**', + '**/__integration-tests__/**', + ], + rules: { + '@typescript-eslint/no-non-null-assertion': 'off', + 'import/extensions': 'off', + 'unicorn/filename-case': 'off', + }, + }, + { + files: ['e2e/**'], + rules: { + 'no-console': 'off', + }, + }, + { + files: ['packages/graphiql/**', 'packages/render-graphiql/**'], + rules: { + 'unicorn/filename-case': 'off', + 'import/extensions': 'off', + 'import/no-default-export': 'off', + }, + }, + ], } diff --git a/benchmark/hello-world/check-server.js b/benchmark/hello-world/check-server.js index 0419e31b32..a1e66760f4 100644 --- a/benchmark/hello-world/check-server.js +++ b/benchmark/hello-world/check-server.js @@ -1,3 +1,6 @@ +/* eslint-disable no-undef */ +/* eslint-disable no-console */ +/* eslint-disable @typescript-eslint/no-var-requires */ require('@whatwg-node/fetch') .fetch( `http://localhost:4000/graphql?query=${encodeURIComponent( diff --git a/benchmark/hello-world/k6.js b/benchmark/hello-world/k6.js index dce94d4a4f..23135c0061 100644 --- a/benchmark/hello-world/k6.js +++ b/benchmark/hello-world/k6.js @@ -1,3 +1,4 @@ +/* eslint-disable */ import { check } from 'k6' import http from 'k6/http' import { textSummary } from 'https://jslib.k6.io/k6-summary/0.0.1/index.js' diff --git a/benchmark/hello-world/start-server.js b/benchmark/hello-world/start-server.js index 28c00bf58e..e34c4d35d6 100644 --- a/benchmark/hello-world/start-server.js +++ b/benchmark/hello-world/start-server.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { createServer } = require('http') const { createYoga, createSchema } = require('graphql-yoga') diff --git a/e2e/tests/aws-lambda.ts b/e2e/tests/aws-lambda.ts index 3a7b0ed6ef..bdb942077a 100644 --- a/e2e/tests/aws-lambda.ts +++ b/e2e/tests/aws-lambda.ts @@ -1,5 +1,5 @@ import { Stack } from '@pulumi/pulumi/automation' -import { DeploymentConfiguration } from '../types' +import type { DeploymentConfiguration } from '../types' import { assertGraphiQL, assertQuery, env, execPromise } from '../utils' import * as pulumi from '@pulumi/pulumi' import * as aws from '@pulumi/aws' diff --git a/e2e/tests/docker.ts b/e2e/tests/docker.ts index 08010054ae..ce2670da36 100644 --- a/e2e/tests/docker.ts +++ b/e2e/tests/docker.ts @@ -7,7 +7,7 @@ import { } from '../utils' import * as docker from '@pulumi/docker' import { interpolate } from '@pulumi/pulumi' -import { join, resolve } from 'path' +import { resolve } from 'path' export const dockerDeployment = ( image: string, diff --git a/e2e/types.ts b/e2e/types.ts index 20f29603bf..593ada5edc 100644 --- a/e2e/types.ts +++ b/e2e/types.ts @@ -1,6 +1,7 @@ import { Output } from '@pulumi/pulumi' import { OutputValue, Stack } from '@pulumi/pulumi/automation' +// eslint-disable-next-line @typescript-eslint/ban-types export type DeploymentConfiguration = { prerequisites?: (stack: Stack) => Promise config?: (stack: Stack) => Promise diff --git a/e2e/utils.ts b/e2e/utils.ts index 78e15f88b4..0a17615b64 100644 --- a/e2e/utils.ts +++ b/e2e/utils.ts @@ -13,7 +13,7 @@ export async function getCommitId() { export async function waitForEndpoint( endpoint: string, retries: number, - timeout: number = 10000, + timeout = 10000, ): Promise { for (let attempt = 1; attempt <= retries; attempt++) { console.info( diff --git a/examples/apollo-federation/gateway/gateway.js b/examples/apollo-federation/gateway/gateway.js index 47d5cd7b3a..f7b82c2270 100644 --- a/examples/apollo-federation/gateway/gateway.js +++ b/examples/apollo-federation/gateway/gateway.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { createYoga } = require('graphql-yoga') const { ApolloGateway, RemoteGraphQLDataSource } = require('@apollo/gateway') const { useApolloFederation } = require('@envelop/apollo-federation') diff --git a/examples/apollo-federation/gateway/index.js b/examples/apollo-federation/gateway/index.js index ebef70a834..2e5577433f 100644 --- a/examples/apollo-federation/gateway/index.js +++ b/examples/apollo-federation/gateway/index.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { createServer } = require('http') const { gateway, DataSource } = require('./gateway') diff --git a/examples/apollo-federation/service/index.js b/examples/apollo-federation/service/index.js index 7bca049efe..87dfaa00d3 100644 --- a/examples/apollo-federation/service/index.js +++ b/examples/apollo-federation/service/index.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { createServer } = require('http') const { yoga } = require('./yoga') diff --git a/examples/apollo-federation/service/yoga.js b/examples/apollo-federation/service/yoga.js index afdb1830ed..349cfc2db4 100644 --- a/examples/apollo-federation/service/yoga.js +++ b/examples/apollo-federation/service/yoga.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { parse } = require('graphql') const { buildSubgraphSchema } = require('@apollo/subgraph') const { createYoga } = require('graphql-yoga') diff --git a/examples/aws-lambda/scripts/bundle.js b/examples/aws-lambda/scripts/bundle.js index 1f9c024fe3..4abee46059 100644 --- a/examples/aws-lambda/scripts/bundle.js +++ b/examples/aws-lambda/scripts/bundle.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { build } = require('esbuild') async function main() { diff --git a/examples/azure-function/build.js b/examples/azure-function/build.js index 7c9fc1a900..ffa033821e 100644 --- a/examples/azure-function/build.js +++ b/examples/azure-function/build.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { build } = require('esbuild') const { writeFileSync } = require('fs') diff --git a/examples/deno/test.ts b/examples/deno/test.ts index 23da4c7326..66e3664c34 100644 --- a/examples/deno/test.ts +++ b/examples/deno/test.ts @@ -2,7 +2,6 @@ import { assertEquals } from 'https://deno.land/std@0.158.0/testing/asserts.ts' import { yoga } from './yoga.ts' Deno.test('Deno example test', async () => { - // @ts-ignore for weird reason TS types not working well here? const response = await yoga.fetch('http://yoga/graphql?query={hello}', {}) const { data } = await response.json() assertEquals(data.hello, 'Hello Deno!') diff --git a/examples/fastify/src/app.ts b/examples/fastify/src/app.ts index a2dec5d398..39662c1c22 100644 --- a/examples/fastify/src/app.ts +++ b/examples/fastify/src/app.ts @@ -1,6 +1,5 @@ import { createYoga, createSchema } from 'graphql-yoga' import fastify, { FastifyReply, FastifyRequest } from 'fastify' -import { Readable } from 'stream' export function buildApp(logging = true) { const app = fastify({ diff --git a/examples/generic-auth/src/app.ts b/examples/generic-auth/src/app.ts index f452f42814..b1bf99bc4a 100644 --- a/examples/generic-auth/src/app.ts +++ b/examples/generic-auth/src/app.ts @@ -21,7 +21,7 @@ const users: Record = { }, } -export const yoga = createYoga<{}, { currentUser: User }>({ +export const yoga = createYoga({ plugins: [ useGenericAuth({ mode: 'protect-granular', diff --git a/examples/graphql-armor/src/yoga.ts b/examples/graphql-armor/src/yoga.ts index e977179f66..aae882cd71 100644 --- a/examples/graphql-armor/src/yoga.ts +++ b/examples/graphql-armor/src/yoga.ts @@ -1,6 +1,5 @@ import { createSchema, createYoga } from 'graphql-yoga' import { EnvelopArmor } from '@escape.tech/graphql-armor' -import { createServer } from 'http' const armor = new EnvelopArmor() const enhancements = armor.protect() diff --git a/examples/hackernews/__integration-tests__/prisma__migrate.d.ts b/examples/hackernews/__integration-tests__/prisma__migrate.d.ts index 3524e96b99..8cfba6dac7 100644 --- a/examples/hackernews/__integration-tests__/prisma__migrate.d.ts +++ b/examples/hackernews/__integration-tests__/prisma__migrate.d.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ declare module '@prisma/migrate' { // https://github.com/prisma/prisma/blob/main/packages/internals/src/cli/types.ts class Command { diff --git a/examples/hackernews/src/schema.ts b/examples/hackernews/src/schema.ts index fa37525815..7c4461c7c4 100644 --- a/examples/hackernews/src/schema.ts +++ b/examples/hackernews/src/schema.ts @@ -92,7 +92,7 @@ const resolvers = { id: (parent: Link) => parent.id, description: (parent: Link) => parent.description, url: (parent: Link) => parent.url, - comments: (parent: Link, args: {}, context: GraphQLContext) => { + comments: (parent: Link, _: unknown, context: GraphQLContext) => { return context.prisma.comment.findMany({ where: { linkId: parent.id, diff --git a/examples/hello-world/index.js b/examples/hello-world/index.js index 1c2f689966..323eff6d7d 100644 --- a/examples/hello-world/index.js +++ b/examples/hello-world/index.js @@ -1,4 +1,7 @@ +/* eslint-disable @typescript-eslint/no-var-requires */ +// eslint-disable-next-line no-undef const { createServer } = require('node:http') +// eslint-disable-next-line no-undef const { createYoga, createSchema } = require('graphql-yoga') const yoga = createYoga({ @@ -26,5 +29,6 @@ const yoga = createYoga({ const server = createServer(yoga) server.listen(4000, () => { + // eslint-disable-next-line no-undef console.log('Server listening on http://localhost:4000/graphql') }) diff --git a/examples/koa/src/app.ts b/examples/koa/src/app.ts index acd306e383..3108f5badd 100644 --- a/examples/koa/src/app.ts +++ b/examples/koa/src/app.ts @@ -1,6 +1,5 @@ import { createYoga, createSchema } from 'graphql-yoga' import Koa from 'koa' -import { Readable } from 'stream' export function buildApp() { const app = new Koa() diff --git a/examples/netlify-edge/__integration-tests__/netlify-edge.spec.ts b/examples/netlify-edge/__integration-tests__/netlify-edge.spec.ts index 27b91a1a6f..9b650b3159 100644 --- a/examples/netlify-edge/__integration-tests__/netlify-edge.spec.ts +++ b/examples/netlify-edge/__integration-tests__/netlify-edge.spec.ts @@ -1,7 +1,4 @@ import yoga from '../src' -import { createServer, Server } from 'http' -import { AddressInfo } from 'net' -import { fetch } from '@whatwg-node/fetch' describe('netlify-edge example integration', () => { it('should execute query', async () => { diff --git a/examples/netlify-edge/build.js b/examples/netlify-edge/build.js index d03b2267c3..5cbbb5ced6 100644 --- a/examples/netlify-edge/build.js +++ b/examples/netlify-edge/build.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { build } = require('esbuild') async function main() { diff --git a/examples/nextjs/scripts/bundle.js b/examples/nextjs/scripts/bundle.js index 2b158e3e39..fa293bf9ee 100644 --- a/examples/nextjs/scripts/bundle.js +++ b/examples/nextjs/scripts/bundle.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { build } = require('esbuild') async function main() { diff --git a/examples/node-ts/build.js b/examples/node-ts/build.js index 571b9c2c69..aa6c1c6b15 100644 --- a/examples/node-ts/build.js +++ b/examples/node-ts/build.js @@ -1,3 +1,4 @@ +/* eslint-disable */ const { build } = require('esbuild') const { writeFileSync } = require('fs') diff --git a/examples/node-ts/src/yoga.ts b/examples/node-ts/src/yoga.ts index 2d4116f32a..527356ff48 100644 --- a/examples/node-ts/src/yoga.ts +++ b/examples/node-ts/src/yoga.ts @@ -2,6 +2,7 @@ import { createYoga, Plugin, createSchema } from 'graphql-yoga' import { GraphQLError } from 'graphql' // available when handling requests, needs to be provided by the implementor +// eslint-disable-next-line @typescript-eslint/ban-types type ServerContext = {} // available in GraphQL, during execution/subscription @@ -40,6 +41,7 @@ export const yoga = createYoga({ }) // context only relevant to the plugin +// eslint-disable-next-line @typescript-eslint/ban-types type DisableSubscriptionPluginContext = {} function useDisableSubscription(): Plugin< diff --git a/examples/service-worker/__integration-tests__/integration.spec.ts b/examples/service-worker/__integration-tests__/integration.spec.ts index 25cdfd32ec..9df24e49fd 100644 --- a/examples/service-worker/__integration-tests__/integration.spec.ts +++ b/examples/service-worker/__integration-tests__/integration.spec.ts @@ -147,6 +147,7 @@ describe('Service worker', () => { expect(response.status).toBe(200) expect(response.headers.get('content-type')).toBe('text/event-stream') + // eslint-disable-next-line no-unreachable-loop, @typescript-eslint/no-explicit-any for await (const chunk of response.body as any) { expect(Buffer.from(chunk).toString('utf-8')).toMatch(/data: {/) break diff --git a/examples/service-worker/src/index.ts b/examples/service-worker/src/index.ts index 1b918cd689..c6833bdebf 100644 --- a/examples/service-worker/src/index.ts +++ b/examples/service-worker/src/index.ts @@ -1,7 +1,7 @@ import { createYoga, createSchema, Repeater } from 'graphql-yoga' // We can define GraphQL Route dynamically using env vars. -declare var GRAPHQL_ROUTE: string +declare let GRAPHQL_ROUTE: string const yoga = createYoga({ graphqlEndpoint: GRAPHQL_ROUTE || '/graphql', diff --git a/examples/subscriptions/src/index.ts b/examples/subscriptions/src/index.ts index f920d1f2e5..a44958e868 100644 --- a/examples/subscriptions/src/index.ts +++ b/examples/subscriptions/src/index.ts @@ -62,7 +62,7 @@ const resolvers: Resolvers = { console.log('push') } increment() - let interval = setInterval(increment, 1000) + const interval = setInterval(increment, 1000) stop.then(() => { clearInterval(interval) console.log('stop') diff --git a/jest.config.js b/jest.config.js index 46931844cb..060ffee935 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-var-requires */ const { resolve } = require('path') const { pathsToModuleNameMapper } = require('ts-jest') const CI = !!process.env.CI @@ -18,8 +19,7 @@ if (process.env.INTEGRATION_TEST === 'true') { '/**/__integration-tests__/**/?(*.)+(spec|test).[jt]s?(x)', ) if (parseInt(process.versions.node.split('.')[0]) <= 14) { - testMatch.push('!**/examples/sveltekit/**') - testMatch.push('!**/examples/fastify*/**') + testMatch.push('!**/examples/sveltekit/**', '!**/examples/fastify*/**') } testMatch.push('!**/examples/bun*/**') } else { diff --git a/package.json b/package.json index 9c8aed1622..a96e7ff1db 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "release": "yarn build && changeset publish", "start:docs": "yarn workspace website dev", "postinstall": "patch-package && husky install", - "fix-bin": "node scripts/fix-bin.js", "lint": "eslint --ignore-path .gitignore --ext ts,js,tsx,jsx .", "prettier": "prettier --ignore-path .prettierignore --write --list-different .", "prettier:check": "prettier --ignore-path .prettierignore --check .", @@ -66,6 +65,7 @@ "@babel/preset-typescript": "7.18.6", "@changesets/changelog-github": "0.4.7", "@changesets/cli": "2.24.4", + "@theguild/eslint-config": "0.2.0", "@types/babel__core": "^7", "@types/babel__preset-env": "^7", "@types/jest": "^29.0.0", diff --git a/packages/client/apollo-link/src/index.ts b/packages/client/apollo-link/src/index.ts index e19a4fb9b1..3e14133138 100644 --- a/packages/client/apollo-link/src/index.ts +++ b/packages/client/apollo-link/src/index.ts @@ -41,11 +41,9 @@ function createYogaApolloRequestHandler( observer.next(result) } observer.complete() - } else { - if (!observer.closed) { - observer.next(results) - observer.complete() - } + } else if (!observer.closed) { + observer.next(results) + observer.complete() } }) .catch((error) => { diff --git a/packages/client/urql-exchange/__integration-tests__/urql-exchange.spec.ts b/packages/client/urql-exchange/__integration-tests__/urql-exchange.spec.ts index 622964f566..082708b1e3 100644 --- a/packages/client/urql-exchange/__integration-tests__/urql-exchange.spec.ts +++ b/packages/client/urql-exchange/__integration-tests__/urql-exchange.spec.ts @@ -1,6 +1,5 @@ -import { Client, createClient, OperationResult } from '@urql/core' +import { Client, createClient } from '@urql/core' import { yogaExchange } from '@graphql-yoga/urql-exchange' -import { observableToAsyncIterable } from '@graphql-tools/utils' import { pipe, toObservable } from 'wonka' import { createYoga, createSchema } from 'graphql-yoga' import { File } from '@whatwg-node/fetch' diff --git a/packages/client/urql-exchange/src/index.ts b/packages/client/urql-exchange/src/index.ts index e294ee1798..65942ad539 100644 --- a/packages/client/urql-exchange/src/index.ts +++ b/packages/client/urql-exchange/src/index.ts @@ -18,7 +18,6 @@ import { Operation, OperationResult, getOperationName, - Client, OperationContext, ExchangeIO, AnyVariables, @@ -36,10 +35,12 @@ export type YogaExchangeOptions = LoadFromUrlOptions export function yogaExchange(options?: YogaExchangeOptions): Exchange { const urlLoader = new UrlLoader() + // eslint-disable-next-line @typescript-eslint/no-explicit-any function makeYogaSource>( operation: Operation, ): Source> { const operationName = getOperationName(operation.query) + // eslint-disable-next-line @typescript-eslint/no-explicit-any const executionRequest: ExecutionRequest = { document: operation.query, operationName, @@ -108,7 +109,7 @@ export function yogaExchange(options?: YogaExchangeOptions): Exchange { } }) } - return function yogaExchangeFn({ forward, client }): ExchangeIO { + return function yogaExchangeFn({ forward }): ExchangeIO { return function yogaExchangeIO( ops$: Source>, ): Source> { diff --git a/packages/common/src/warning.ts b/packages/common/src/warning.ts index 92b348fba3..474771d2db 100644 --- a/packages/common/src/warning.ts +++ b/packages/common/src/warning.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ console.warn( `@graphql-yoga/common package has been deprecated and will no longer receive updates in the next major.`, ) diff --git a/packages/event-target/redis-event-target/src/index.ts b/packages/event-target/redis-event-target/src/index.ts index 7c9cdb150e..234872b89d 100644 --- a/packages/event-target/redis-event-target/src/index.ts +++ b/packages/event-target/redis-event-target/src/index.ts @@ -42,7 +42,7 @@ export function createRedisEventTarget( } function removeCallback(topic: string, callback: (event: TEvent) => void) { - let callbacks = callbacksForTopic.get(topic) + const callbacks = callbacksForTopic.get(topic) if (callbacks === undefined) { return } diff --git a/packages/graphiql/src/bundle.tsx b/packages/graphiql/src/bundle.tsx index f29908f601..1c62c506ad 100644 --- a/packages/graphiql/src/bundle.tsx +++ b/packages/graphiql/src/bundle.tsx @@ -1,6 +1,6 @@ import React from 'react' import ReactDOM from 'react-dom' -import { YogaGraphiQL, YogaGraphiQLProps } from './YogaGraphiQL' +import { YogaGraphiQL, YogaGraphiQLProps } from './YogaGraphiQL.js' export function renderYogaGraphiQL(element: Element, opts?: YogaGraphiQLProps) { ReactDOM.render(, element) diff --git a/packages/graphql-yoga/__integration-tests__/subscription.spec.ts b/packages/graphql-yoga/__integration-tests__/subscription.spec.ts index c5328048bf..81f7e87549 100644 --- a/packages/graphql-yoga/__integration-tests__/subscription.spec.ts +++ b/packages/graphql-yoga/__integration-tests__/subscription.spec.ts @@ -50,6 +50,7 @@ describe('subscription', () => { const port = (server.address() as AddressInfo).port // Start and Close a HTTP SSE subscription + // eslint-disable-next-line no-async-promise-executor await new Promise(async (res) => { const response = await fetch( `http://localhost:${port}/graphql?query=subscription{foo}`, diff --git a/packages/graphql-yoga/__tests__/context.spec.ts b/packages/graphql-yoga/__tests__/context.spec.ts index a23a17c2a7..e79afb0f6d 100644 --- a/packages/graphql-yoga/__tests__/context.spec.ts +++ b/packages/graphql-yoga/__tests__/context.spec.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable @typescript-eslint/no-empty-function */ import { createSchema } from '../src/schema' import { createYoga } from '../src/server' import { YogaInitialContext } from '../src/types' diff --git a/packages/graphql-yoga/__tests__/http-extensions.spec.ts b/packages/graphql-yoga/__tests__/http-extensions.spec.ts index d9748888a0..728a47bf94 100644 --- a/packages/graphql-yoga/__tests__/http-extensions.spec.ts +++ b/packages/graphql-yoga/__tests__/http-extensions.spec.ts @@ -183,7 +183,7 @@ describe('GraphQLError.extensions.http', () => { }), }) - let response = await yoga.fetch('http://yoga/graphql', { + const response = await yoga.fetch('http://yoga/graphql', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ query: '{ a }' }), diff --git a/packages/graphql-yoga/__tests__/logging.spec.ts b/packages/graphql-yoga/__tests__/logging.spec.ts index e72b5f0fb1..64f566df24 100644 --- a/packages/graphql-yoga/__tests__/logging.spec.ts +++ b/packages/graphql-yoga/__tests__/logging.spec.ts @@ -28,14 +28,17 @@ describe('logging', () => { it(`doesn't print debug messages if DEBUG env var isn't set`, () => { jest.spyOn(console, 'debug') defaultYogaLogger.debug('TEST') + // eslint-disable-next-line no-console expect(console.debug).not.toHaveBeenCalled() }) it(`prints debug messages if DEBUG env var is set`, () => { const originalValue = process.env.DEBUG try { process.env.DEBUG = '1' + // eslint-disable-next-line @typescript-eslint/no-empty-function jest.spyOn(console, 'debug').mockImplementationOnce(() => {}) defaultYogaLogger.debug('TEST') + // eslint-disable-next-line no-console expect(console.debug).toHaveBeenCalled() } finally { process.env.DEBUG = originalValue diff --git a/packages/graphql-yoga/__tests__/schema.spec.ts b/packages/graphql-yoga/__tests__/schema.spec.ts index 0b3f0df4b5..821959e1a8 100644 --- a/packages/graphql-yoga/__tests__/schema.spec.ts +++ b/packages/graphql-yoga/__tests__/schema.spec.ts @@ -1,11 +1,5 @@ import { GraphQLSchema } from 'graphql' -import { - createSchema, - createYoga, - envelop, - useSchema, - YogaInitialContext, -} from 'graphql-yoga' +import { createSchema, createYoga, YogaInitialContext } from 'graphql-yoga' describe('schema', () => { it('missing schema causes a error', async () => { diff --git a/packages/graphql-yoga/src/error.ts b/packages/graphql-yoga/src/error.ts index c6e22a1f48..b86f58e4cd 100644 --- a/packages/graphql-yoga/src/error.ts +++ b/packages/graphql-yoga/src/error.ts @@ -1,7 +1,7 @@ import { createGraphQLError } from '@graphql-tools/utils' import { GraphQLError } from 'graphql' -import { ResultProcessorInput } from './plugins/types' -import { YogaMaskedErrorOpts } from './types' +import type { ResultProcessorInput } from './plugins/types' +import type { YogaMaskedErrorOpts } from './types' declare module 'graphql' { interface GraphQLHTTPErrorExtensions { diff --git a/packages/graphql-yoga/src/logger.ts b/packages/graphql-yoga/src/logger.ts index 38a4dd7eca..8ee199c446 100644 --- a/packages/graphql-yoga/src/logger.ts +++ b/packages/graphql-yoga/src/logger.ts @@ -1,3 +1,5 @@ +/* eslint-disable no-console */ +/* eslint-disable @typescript-eslint/no-explicit-any */ type MessageTransformer = (msg: string) => string const ANSI_CODES = { diff --git a/packages/graphql-yoga/src/plugins/requestValidation/useCheckGraphQLQueryParams.ts b/packages/graphql-yoga/src/plugins/requestValidation/useCheckGraphQLQueryParams.ts index 31367e0b1e..76d0f84cdc 100644 --- a/packages/graphql-yoga/src/plugins/requestValidation/useCheckGraphQLQueryParams.ts +++ b/packages/graphql-yoga/src/plugins/requestValidation/useCheckGraphQLQueryParams.ts @@ -1,6 +1,6 @@ import { createGraphQLError } from '@graphql-tools/utils' -import { GraphQLParams } from '../../types' -import { Plugin } from '../types' +import type { GraphQLParams } from '../../types' +import type { Plugin } from '../types' const EXPECTED_PARAMS = ['query', 'variables', 'operationName', 'extensions'] diff --git a/packages/graphql-yoga/src/plugins/requestValidation/useCheckMethodForGraphQL.ts b/packages/graphql-yoga/src/plugins/requestValidation/useCheckMethodForGraphQL.ts index 6ca064ffb9..3f789cc1f9 100644 --- a/packages/graphql-yoga/src/plugins/requestValidation/useCheckMethodForGraphQL.ts +++ b/packages/graphql-yoga/src/plugins/requestValidation/useCheckMethodForGraphQL.ts @@ -1,5 +1,5 @@ import { createGraphQLError } from '@graphql-tools/utils' -import { Plugin } from '../types' +import type { Plugin } from '../types' export function isValidMethodForGraphQL( method: string, diff --git a/packages/graphql-yoga/src/plugins/requestValidation/useHTTPValidationError.ts b/packages/graphql-yoga/src/plugins/requestValidation/useHTTPValidationError.ts index 66b38e2228..05234c1d60 100644 --- a/packages/graphql-yoga/src/plugins/requestValidation/useHTTPValidationError.ts +++ b/packages/graphql-yoga/src/plugins/requestValidation/useHTTPValidationError.ts @@ -1,6 +1,6 @@ import { AggregateError } from '@graphql-tools/utils' import { GraphQLError } from 'graphql' -import { Plugin } from '../types' +import type { Plugin } from '../types' export function getAggregateErrorFromErrors( errors: readonly GraphQLError[], @@ -14,6 +14,7 @@ export function getAggregateErrorFromErrors( } export function useHTTPValidationError< + // eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any PluginContext extends Record = {}, >(): Plugin { return { diff --git a/packages/graphql-yoga/src/plugins/requestValidation/useLimitBatching.ts b/packages/graphql-yoga/src/plugins/requestValidation/useLimitBatching.ts index bb455dc04d..8d92edbc69 100644 --- a/packages/graphql-yoga/src/plugins/requestValidation/useLimitBatching.ts +++ b/packages/graphql-yoga/src/plugins/requestValidation/useLimitBatching.ts @@ -1,5 +1,5 @@ import { GraphQLError } from 'graphql' -import { Plugin } from '../types' +import type { Plugin } from '../types' export function useLimitBatching(limit?: number): Plugin { return { diff --git a/packages/graphql-yoga/src/plugins/requestValidation/usePreventMutationViaGET.ts b/packages/graphql-yoga/src/plugins/requestValidation/usePreventMutationViaGET.ts index f576da9116..b2e69d9eb2 100644 --- a/packages/graphql-yoga/src/plugins/requestValidation/usePreventMutationViaGET.ts +++ b/packages/graphql-yoga/src/plugins/requestValidation/usePreventMutationViaGET.ts @@ -6,8 +6,8 @@ import { GraphQLError, DocumentNode, } from 'graphql' -import { YogaInitialContext } from '../../types' -import { Plugin } from '../types' +import type { YogaInitialContext } from '../../types' +import type { Plugin } from '../types' export function assertMutationViaGet( method: string, diff --git a/packages/graphql-yoga/src/plugins/resultProcessor/accept.ts b/packages/graphql-yoga/src/plugins/resultProcessor/accept.ts index 1bd8b94e8f..16a0354016 100644 --- a/packages/graphql-yoga/src/plugins/resultProcessor/accept.ts +++ b/packages/graphql-yoga/src/plugins/resultProcessor/accept.ts @@ -30,10 +30,11 @@ export function isAcceptableByRequest( const [askedPre, askedSuf] = askedMediaType.split('/') return mediaTypes.some((mediaType) => { const [pre, suf] = mediaType.split('/') - if (pre === '*' || pre === askedPre) { - if (suf === '*' || suf === askedSuf) { - return true - } + if ( + (pre === '*' || pre === askedPre) && + (suf === '*' || suf === askedSuf) + ) { + return true } return false }) diff --git a/packages/graphql-yoga/src/plugins/resultProcessor/stringify.ts b/packages/graphql-yoga/src/plugins/resultProcessor/stringify.ts index 4811f88d52..5c1e16c45a 100644 --- a/packages/graphql-yoga/src/plugins/resultProcessor/stringify.ts +++ b/packages/graphql-yoga/src/plugins/resultProcessor/stringify.ts @@ -1,5 +1,5 @@ import { ExecutionResult } from 'graphql' -import { ExecutionPatchResult, MaybeArray } from '../../types' +import type { ExecutionPatchResult, MaybeArray } from '../../types' // JSON stringifier that adjusts the result extensions while serialising export function jsonStringifyResult( @@ -8,6 +8,7 @@ export function jsonStringifyResult( return JSON.stringify(result, (key, value) => { if (key === 'extensions') { // omit http extensions + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { http, ...extensions } = value // remove empty extensions object diff --git a/packages/graphql-yoga/src/plugins/types.ts b/packages/graphql-yoga/src/plugins/types.ts index 9a64fae346..57fd276936 100644 --- a/packages/graphql-yoga/src/plugins/types.ts +++ b/packages/graphql-yoga/src/plugins/types.ts @@ -14,8 +14,11 @@ import { } from '../types.js' export type Plugin< + // eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any PluginContext extends Record = {}, + // eslint-disable-next-line @typescript-eslint/ban-types TServerContext = {}, + // eslint-disable-next-line @typescript-eslint/ban-types TUserContext = {}, > = EnvelopPlugin & { /** diff --git a/packages/graphql-yoga/src/plugins/useCORS.ts b/packages/graphql-yoga/src/plugins/useCORS.ts index f3ca316b7f..297b090b62 100644 --- a/packages/graphql-yoga/src/plugins/useCORS.ts +++ b/packages/graphql-yoga/src/plugins/useCORS.ts @@ -19,6 +19,7 @@ export type CORSPluginOptions = export type CORSOptionsFactory = ( request: Request, + // eslint-disable-next-line @typescript-eslint/ban-types ...args: {} extends TServerContext ? [serverContext?: TServerContext | undefined] : [serverContext: TServerContext] @@ -125,6 +126,7 @@ async function getCORSResponseHeaders( export function useCORS( options?: CORSPluginOptions, + // eslint-disable-next-line @typescript-eslint/ban-types ): Plugin<{}, TServerContext> { let corsOptionsFactory: CORSOptionsFactory = () => ({}) if (options != null) { diff --git a/packages/graphql-yoga/src/plugins/useGraphiQL.ts b/packages/graphql-yoga/src/plugins/useGraphiQL.ts index cdcaee0008..a4ff03272d 100644 --- a/packages/graphql-yoga/src/plugins/useGraphiQL.ts +++ b/packages/graphql-yoga/src/plugins/useGraphiQL.ts @@ -58,6 +58,7 @@ export const renderGraphiQL = (opts: GraphiQLRendererOptions) => export type GraphiQLOptionsFactory = ( request: Request, + // eslint-disable-next-line @typescript-eslint/ban-types ...args: {} extends TServerContext ? [serverContext?: TServerContext | undefined] : [serverContext: TServerContext] @@ -77,6 +78,7 @@ export interface GraphiQLPluginConfig { export function useGraphiQL( config: GraphiQLPluginConfig, + // eslint-disable-next-line @typescript-eslint/ban-types ): Plugin<{}, TServerContext> { const logger = config.logger ?? console let graphiqlOptionsFactory: GraphiQLOptionsFactory diff --git a/packages/graphql-yoga/src/plugins/useSchema.ts b/packages/graphql-yoga/src/plugins/useSchema.ts index 63b9b3c885..4afefa7d2b 100644 --- a/packages/graphql-yoga/src/plugins/useSchema.ts +++ b/packages/graphql-yoga/src/plugins/useSchema.ts @@ -1,7 +1,7 @@ import { PromiseOrValue } from '@envelop/core' -import { GraphQLError, GraphQLSchema, isSchema } from 'graphql' -import { GraphQLSchemaWithContext, YogaInitialContext } from '../types' -import { Plugin } from './types' +import { GraphQLSchema, isSchema } from 'graphql' +import type { GraphQLSchemaWithContext, YogaInitialContext } from '../types' +import type { Plugin } from './types' export type YogaSchemaDefinition = | PromiseOrValue> diff --git a/packages/graphql-yoga/src/plugins/useUnhandledRoute.ts b/packages/graphql-yoga/src/plugins/useUnhandledRoute.ts index d2f1792bfe..b149416990 100644 --- a/packages/graphql-yoga/src/plugins/useUnhandledRoute.ts +++ b/packages/graphql-yoga/src/plugins/useUnhandledRoute.ts @@ -1,4 +1,4 @@ -import { Plugin } from './types' +import type { Plugin } from './types' import landingPageBody from '../landing-page-html.js' export function useUnhandledRoute(args: { diff --git a/packages/graphql-yoga/src/processRequest.ts b/packages/graphql-yoga/src/process-request.ts similarity index 96% rename from packages/graphql-yoga/src/processRequest.ts rename to packages/graphql-yoga/src/process-request.ts index d2cad538dc..384cff01da 100644 --- a/packages/graphql-yoga/src/processRequest.ts +++ b/packages/graphql-yoga/src/process-request.ts @@ -6,7 +6,6 @@ import { ResultProcessorInput, } from './plugins/types.js' import { GetEnvelopedFn } from '@envelop/core' -import { getMediaTypesForRequest } from './plugins/resultProcessor/accept.js' export async function processResult({ request, diff --git a/packages/graphql-yoga/src/server.ts b/packages/graphql-yoga/src/server.ts index 6c553d2175..d3cf9d5586 100644 --- a/packages/graphql-yoga/src/server.ts +++ b/packages/graphql-yoga/src/server.ts @@ -42,7 +42,7 @@ import { ServerAdapter, createServerAdapter } from '@whatwg-node/server' import { processRequest as processGraphQLParams, processResult, -} from './processRequest.js' +} from './process-request.js' import { defaultYogaLogger, titleBold, YogaLogger } from './logger.js' import { CORSPluginOptions, useCORS } from './plugins/useCORS.js' import { useHealthCheck } from './plugins/useHealthCheck.js' @@ -79,7 +79,7 @@ import { useCheckGraphQLQueryParams } from './plugins/requestValidation/useCheck import { useHTTPValidationError } from './plugins/requestValidation/useHTTPValidationError.js' import { usePreventMutationViaGET } from './plugins/requestValidation/usePreventMutationViaGET.js' import { useUnhandledRoute } from './plugins/useUnhandledRoute.js' -import { yogaDefaultFormatError } from './utils/yogaDefaultFormatError.js' +import { yogaDefaultFormatError } from './utils/yoga-default-format-error.ts.js' import { useSchema, YogaSchemaDefinition } from './plugins/useSchema.js' import { useLimitBatching } from './plugins/requestValidation/useLimitBatching.js' @@ -87,7 +87,9 @@ import { useLimitBatching } from './plugins/requestValidation/useLimitBatching.j * Configuration options for the server */ export type YogaServerOptions< + // eslint-disable-next-line @typescript-eslint/no-explicit-any TServerContext extends Record, + // eslint-disable-next-line @typescript-eslint/no-explicit-any TUserContext extends Record, > = { /** @@ -155,6 +157,7 @@ export type YogaServerOptions< * @see https://envelop.dev/plugins */ plugins?: Array< + // eslint-disable-next-line @typescript-eslint/ban-types Plugin | Plugin | {} > @@ -236,10 +239,12 @@ export class YogaServer< ? logger === true ? defaultYogaLogger : { + /* eslint-disable */ debug: () => {}, error: () => {}, warn: () => {}, info: () => {}, + /* eslint-enable */ } : logger @@ -262,7 +267,7 @@ export class YogaServer< const maskedErrors = this.maskedErrorsOpts != null ? this.maskedErrorsOpts : null - let batchingLimit: number = 0 + let batchingLimit = 0 if (options?.batching) { if (typeof options.batching === 'boolean') { batchingLimit = 10 @@ -302,6 +307,7 @@ export class YogaServer< case 'execute-start': case 'subscribe-start': this.logger.debug(titleBold('Execution start')) + // eslint-disable-next-line no-case-declarations const { params: { query, operationName, variables, extensions }, }: YogaInitialContext = events.args.contextValue @@ -447,6 +453,7 @@ export class YogaServer< params: GraphQLParams request: Request }, + // eslint-disable-next-line @typescript-eslint/ban-types ...args: {} extends TServerContext ? [serverContext?: TServerContext | undefined] : [serverContext: TServerContext] @@ -604,7 +611,7 @@ export class YogaServer< }) } return response - } catch (e: any) { + } catch (e: unknown) { this.logger.error(e) return new this.fetchAPI.Response('Internal Server Error', { status: 500, @@ -625,6 +632,7 @@ export class YogaServer< * expect(executionResult.data.ping).toBe('pong') * ``` **/ + // eslint-disable-next-line @typescript-eslint/no-explicit-any async inject({ document, variables, @@ -664,6 +672,7 @@ export class YogaServer< } } +/* eslint-disable */ export type YogaServerInstance< TServerContext extends Record, TUserContext extends Record, diff --git a/packages/graphql-yoga/src/types.ts b/packages/graphql-yoga/src/types.ts index 6c5e473b3e..768cafced6 100644 --- a/packages/graphql-yoga/src/types.ts +++ b/packages/graphql-yoga/src/types.ts @@ -9,7 +9,9 @@ export type GraphQLSchemaWithContext = GraphQLSchema & { } export interface ExecutionPatchResult< + // eslint-disable-next-line @typescript-eslint/no-explicit-any TData = { [key: string]: any }, + // eslint-disable-next-line @typescript-eslint/no-explicit-any TExtensions = { [key: string]: any }, > { errors?: ReadonlyArray @@ -65,6 +67,7 @@ export type GraphQLServerInject< operationName?: string /** Set any headers for the GraphQL request */ headers?: HeadersInit + // eslint-disable-next-line @typescript-eslint/ban-types } & ({} extends TServerContext ? { serverContext?: TServerContext } : { serverContext: TServerContext }) diff --git a/packages/graphql-yoga/src/utils/yogaDefaultFormatError.ts b/packages/graphql-yoga/src/utils/yoga-default-format-error.ts.ts similarity index 100% rename from packages/graphql-yoga/src/utils/yogaDefaultFormatError.ts rename to packages/graphql-yoga/src/utils/yoga-default-format-error.ts.ts diff --git a/packages/graphql-yoga/type-api-check.ts b/packages/graphql-yoga/type-api-check.ts index 2c8a1a6450..4836abf276 100644 --- a/packages/graphql-yoga/type-api-check.ts +++ b/packages/graphql-yoga/type-api-check.ts @@ -1,10 +1,13 @@ +/* eslint-disable @typescript-eslint/ban-types */ import { IResolvers } from '@graphql-tools/utils' import { ClientRequest } from 'node:http' import { createYoga, createSchema, YogaInitialContext } from 'graphql-yoga' import type { GraphQLSchema } from 'graphql' +// eslint-disable-next-line @typescript-eslint/no-explicit-any const schema: GraphQLSchema = null as any +// eslint-disable-next-line @typescript-eslint/no-explicit-any const request: Request = null as any /** @@ -34,6 +37,7 @@ const request: Request = null as any const server = createYoga<{ req: ClientRequest }>({ schema, }) + // eslint-disable-next-line @typescript-eslint/no-explicit-any const clientRequest: ClientRequest = null as any server.handleRequest(request, { req: clientRequest }) } diff --git a/packages/node/src/warning.ts b/packages/node/src/warning.ts index fa7c2044da..f456a394c4 100644 --- a/packages/node/src/warning.ts +++ b/packages/node/src/warning.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ console.warn( `@graphql-yoga/node package has been deprecated and will no longer receive updates in the next major.`, ) diff --git a/packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts b/packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts index 66585c5a28..780e35dd94 100644 --- a/packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts +++ b/packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts @@ -1,5 +1,5 @@ import { createYoga, createSchema } from 'graphql-yoga' -import { useApolloInlineTrace } from '../src' +import { useApolloInlineTrace } from '../src/index.js' import { Trace } from 'apollo-reporting-protobuf' import { GraphQLError } from 'graphql' diff --git a/packages/plugins/apollo-inline-trace/src/index.ts b/packages/plugins/apollo-inline-trace/src/index.ts index 045a499646..cad8f3fb19 100644 --- a/packages/plugins/apollo-inline-trace/src/index.ts +++ b/packages/plugins/apollo-inline-trace/src/index.ts @@ -236,6 +236,7 @@ function ensureParentTraceNode( const parentNode = ctx.nodes.get(responsePathToString(path.prev)) if (parentNode) return parentNode // path.prev isn't undefined because we set up the root path in ctx.nodes + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion return newTraceNode(ctx, path.prev!) } diff --git a/packages/plugins/persisted-operations/src/index.ts b/packages/plugins/persisted-operations/src/index.ts index 46491c5fd3..3ee3ddb669 100644 --- a/packages/plugins/persisted-operations/src/index.ts +++ b/packages/plugins/persisted-operations/src/index.ts @@ -41,6 +41,7 @@ export interface UsePersistedOperationsOptions { } export function usePersistedOperations< + // eslint-disable-next-line @typescript-eslint/no-explicit-any TPluginContext extends Record, >({ getPersistedOperation, diff --git a/packages/subscription/src/createPubSub.ts b/packages/subscription/src/create-pub-sub.ts similarity index 98% rename from packages/subscription/src/createPubSub.ts rename to packages/subscription/src/create-pub-sub.ts index a80515aeaf..e5e8927f58 100644 --- a/packages/subscription/src/createPubSub.ts +++ b/packages/subscription/src/create-pub-sub.ts @@ -3,6 +3,7 @@ import type { TypedEventTarget } from '@graphql-yoga/typed-event-target' import { CustomEvent, EventTarget } from '@whatwg-node/events' type PubSubPublishArgsByKey = { + // eslint-disable-next-line @typescript-eslint/no-explicit-any [key: string]: [] | [any] | [number | string, any] } diff --git a/packages/subscription/src/createPubSub.spec.ts b/packages/subscription/src/createPubSub.spec.ts index 68d38c4d09..d6ffc29f5c 100644 --- a/packages/subscription/src/createPubSub.spec.ts +++ b/packages/subscription/src/createPubSub.spec.ts @@ -1,6 +1,6 @@ import Redis from 'ioredis-mock' import { createRedisEventTarget } from '@graphql-yoga/redis-event-target' -import { createPubSub } from './createPubSub.js' +import { createPubSub } from './create-pub-sub.js' import { EventTarget } from '@whatwg-node/events' async function collectAsyncIterableValues( diff --git a/packages/subscription/src/index.ts b/packages/subscription/src/index.ts index 5c15ad18d3..2d0fb492bc 100644 --- a/packages/subscription/src/index.ts +++ b/packages/subscription/src/index.ts @@ -1,6 +1,10 @@ export { Repeater } from '@repeaterjs/repeater' -export { createPubSub } from './createPubSub.js' -export type { PubSubEventTarget, PubSubEvent, PubSub } from './createPubSub.js' +export { createPubSub } from './create-pub-sub.js' +export type { + PubSubEventTarget, + PubSubEvent, + PubSub, +} from './create-pub-sub.js' export { map } from './operator/map.js' export { filter } from './operator/filter.js' export { pipe } from './utils/pipe.js' diff --git a/packages/subscription/src/utils/pipe.ts b/packages/subscription/src/utils/pipe.ts index c481245663..129299c1af 100644 --- a/packages/subscription/src/utils/pipe.ts +++ b/packages/subscription/src/utils/pipe.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /** * Pipes the value of an expression into a pipeline of functions. * @@ -301,8 +303,10 @@ export function pipe( case 9: return hi!(gh!(fg!(ef!(de!(cd!(bc!(ab!(a)))))))) default: + // eslint-disable-next-line no-case-declarations, prefer-rest-params let ret = arguments[0] for (let i = 1; i < arguments.length; i++) { + // eslint-disable-next-line prefer-rest-params ret = arguments[i](ret) } return ret diff --git a/scripts/fix-bin.js b/scripts/fix-bin.js deleted file mode 100644 index 74f340ea93..0000000000 --- a/scripts/fix-bin.js +++ /dev/null @@ -1,46 +0,0 @@ -const { - readdirSync, - lstatSync, - ensureSymlinkSync, - chmodSync, - writeFileSync, -} = require('fs-extra') -const { resolve, join } = require('path') - -const absoluteExamplesDirPath = resolve(__dirname, '..', 'examples') -const absoluteGraphqlYogaBinPath = resolve( - __dirname, - '..', - 'packages', - 'graphql-yoga', - 'dist', - 'cjs', - 'cli', - 'bin.js', -) -const dir = readdirSync(absoluteExamplesDirPath) -for (const path of dir) { - const absolutePath = join(absoluteExamplesDirPath, path) - if (lstatSync(absolutePath).isDirectory()) { - const execNames = ['yoga', 'gql-yoga', 'graphql-yoga'] - for (const execName of execNames) { - const targetPath = join(absolutePath, 'node_modules', '.bin', execName) - ensureSymlinkSync(absoluteGraphqlYogaBinPath, targetPath) - chmodSync(targetPath, '755') - const targetCmdPath = targetPath + '.cmd' - writeFileSync( - targetCmdPath, - ` -@IF EXIST "%~dp0\\node.exe" ( - "%~dp0\\node.exe" "${absoluteGraphqlYogaBinPath}" %* -) ELSE ( - @SETLOCAL - @SET PATHEXT=%PATHEXT:;.JS;=;% - node "${absoluteGraphqlYogaBinPath}" %* -) - `, - ) - chmodSync(targetCmdPath, '755') - } - } -} diff --git a/website/src/index-page.tsx b/website/src/index-page.tsx index 815a666764..43d3cf1dcd 100644 --- a/website/src/index-page.tsx +++ b/website/src/index-page.tsx @@ -72,7 +72,6 @@ export const ITEMS: IHeroIllustrationProps[] = [ }, }, ] -import Link from 'next/link' export default function IndexPage() { return ( diff --git a/website/src/pages/_app.tsx b/website/src/pages/_app.tsx index 4f921ffb73..bb6a12e784 100644 --- a/website/src/pages/_app.tsx +++ b/website/src/pages/_app.tsx @@ -1,5 +1,6 @@ import '@theguild/components/style.css' +// eslint-disable-next-line @typescript-eslint/no-explicit-any export default function App({ Component, pageProps }: any) { return } diff --git a/yarn.lock b/yarn.lock index d850bea729..9d98f245d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -970,7 +970,7 @@ jsonwebtoken "^8.5.1" uuid "^8.3.0" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== @@ -982,6 +982,28 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.3.tgz#707b939793f867f5a73b2666e6d9a3396eb03151" integrity sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw== +"@babel/core@7.12.9": + version "7.12.9" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.9.tgz#fd450c4ec10cdbb980e2928b7aa7a28484593fc8" + integrity sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.12.5" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helpers" "^7.12.5" + "@babel/parser" "^7.12.7" + "@babel/template" "^7.12.7" + "@babel/traverse" "^7.12.9" + "@babel/types" "^7.12.7" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.19" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/core@7.19.3", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0", "@babel/core@^7.17.10": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" @@ -1003,6 +1025,15 @@ json5 "^2.2.1" semver "^6.3.0" +"@babel/generator@^7.12.5", "@babel/generator@^7.19.4": + version "7.19.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.5.tgz#da3f4b301c8086717eee9cab14da91b1fa5dcca7" + integrity sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg== + dependencies: + "@babel/types" "^7.19.4" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + "@babel/generator@^7.14.0", "@babel/generator@^7.19.3", "@babel/generator@^7.7.2": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" @@ -1111,7 +1142,7 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.19.0": +"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.19.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz#309b230f04e22c58c6a2c0c0c7e50b216d350c30" integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== @@ -1132,6 +1163,11 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-plugin-utils@7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" + integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" @@ -1184,6 +1220,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" @@ -1204,6 +1245,15 @@ "@babel/traverse" "^7.18.10" "@babel/types" "^7.18.10" +"@babel/helpers@^7.12.5": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.19.4.tgz#42154945f87b8148df7203a25c31ba9a73be46c5" + integrity sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw== + dependencies: + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.4" + "@babel/types" "^7.19.4" + "@babel/helpers@^7.19.0": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.19.0.tgz#f30534657faf246ae96551d88dd31e9d1fa1fc18" @@ -1232,6 +1282,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.3.tgz#8dd36d17c53ff347f9e55c328710321b49479a9a" integrity sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ== +"@babel/parser@^7.12.7", "@babel/parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" + integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -1334,6 +1389,15 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" +"@babel/plugin-proposal-object-rest-spread@7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz#def9bd03cea0f9b72283dac0ec22d289c7691069" + integrity sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.12.1" + "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.18.9": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" @@ -1465,6 +1529,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz#9d9d357cc818aa7ae7935917c1257f67677a0926" + integrity sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.18.6", "@babel/plugin-syntax-jsx@^7.7.2": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" @@ -1493,7 +1564,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== @@ -1716,7 +1787,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.18.8": +"@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.18.8": version "7.18.8" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz#ee9f1a0ce6d78af58d0956a9378ea3427cccb48a" integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== @@ -1960,7 +2031,14 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.18.10", "@babel/template@^7.3.3": +"@babel/runtime@^7.18.9": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/template@^7.12.7", "@babel/template@^7.18.10", "@babel/template@^7.3.3": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== @@ -1969,6 +2047,22 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" +"@babel/traverse@^7.12.9", "@babel/traverse@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.4.tgz#f117820e18b1e59448a6c1fa9d0ff08f7ac459a8" + integrity sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.4" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.4" + "@babel/types" "^7.19.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.18.10", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.19.3", "@babel/traverse@^7.7.2": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" @@ -1994,6 +2088,15 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@babel/types@^7.12.7", "@babel/types@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@balena/dockerignore@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@balena/dockerignore/-/dockerignore-1.0.2.tgz#9ffe4726915251e8eb69f44ef3547e0da2c03e0d" @@ -3502,6 +3605,11 @@ "@types/mdx" "^2.0.0" "@types/react" ">=16" +"@mdx-js/util@1.6.22": + version "1.6.22" + resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" + integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== + "@miniflare/cache@2.9.0": version "2.9.0" resolved "https://registry.yarnpkg.com/@miniflare/cache/-/cache-2.9.0.tgz#1a7735eea505d77eaa21561cb18f578e1e8be110" @@ -5240,6 +5348,11 @@ resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27" integrity sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA== +"@rushstack/eslint-patch@^1.1.4": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" + integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.1" resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301" @@ -5444,6 +5557,25 @@ unist-util-visit "^4.1.1" use-debounce "8.0.4" +"@theguild/eslint-config@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@theguild/eslint-config/-/eslint-config-0.2.0.tgz#5d756c47ab89bb11c20faf43dd16976d9321b1d0" + integrity sha512-Gco0F8aoY66EJrLum4kB/ySfxjPbxy0thG7WM0pACpU9Oi7Ti7qvQr57nr5Buq1stpS7ttEFLOWYL/Ko4xVl7w== + dependencies: + "@rushstack/eslint-patch" "^1.1.4" + "@typescript-eslint/eslint-plugin" "^5.36.2" + "@typescript-eslint/parser" "^5.36.2" + eslint-config-prettier "^8.5.0" + eslint-plugin-import "^2.26.0" + eslint-plugin-promise "^6.0.1" + eslint-plugin-sonarjs "^0.16.0" + eslint-plugin-unicorn "^44.0.0" + optionalDependencies: + eslint-plugin-jsx-a11y "^6.6.1" + eslint-plugin-mdx "^1.17.0" + eslint-plugin-react "^7.31.7" + eslint-plugin-react-hooks "^4.6.0" + "@theguild/tailwind-config@0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@theguild/tailwind-config/-/tailwind-config-0.1.3.tgz#fbd3b438c89a36f6bae35023c79dc129a6263d7c" @@ -6128,7 +6260,7 @@ resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756" integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg== -"@types/unist@*", "@types/unist@^2.0.0": +"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== @@ -6200,6 +6332,20 @@ semver "^7.3.7" tsutils "^3.21.0" +"@typescript-eslint/eslint-plugin@^5.36.2": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.0.tgz#0159bb71410eec563968288a17bd4478cdb685bd" + integrity sha512-FIBZgS3DVJgqPwJzvZTuH4HNsZhHMa9SjxTKAZTlMsPw/UzpEjcf9f4dfgDJEHjK+HboUJo123Eshl6niwEm/Q== + dependencies: + "@typescript-eslint/scope-manager" "5.40.0" + "@typescript-eslint/type-utils" "5.40.0" + "@typescript-eslint/utils" "5.40.0" + debug "^4.3.4" + ignore "^5.2.0" + regexpp "^3.2.0" + semver "^7.3.7" + tsutils "^3.21.0" + "@typescript-eslint/parser@5.39.0", "@typescript-eslint/parser@^5.21.0", "@typescript-eslint/parser@^5.23.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.39.0.tgz#93fa0bc980a3a501e081824f6097f7ca30aaa22b" @@ -6210,6 +6356,16 @@ "@typescript-eslint/typescript-estree" "5.39.0" debug "^4.3.4" +"@typescript-eslint/parser@^5.36.2": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.40.0.tgz#432bddc1fe9154945660f67c1ba6d44de5014840" + integrity sha512-Ah5gqyX2ySkiuYeOIDg7ap51/b63QgWZA7w6AHtFrag7aH0lRQPbLzUjk0c9o5/KZ6JRkTTDKShL4AUrQa6/hw== + dependencies: + "@typescript-eslint/scope-manager" "5.40.0" + "@typescript-eslint/types" "5.40.0" + "@typescript-eslint/typescript-estree" "5.40.0" + debug "^4.3.4" + "@typescript-eslint/scope-manager@5.39.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.39.0.tgz#873e1465afa3d6c78d8ed2da68aed266a08008d0" @@ -6218,6 +6374,14 @@ "@typescript-eslint/types" "5.39.0" "@typescript-eslint/visitor-keys" "5.39.0" +"@typescript-eslint/scope-manager@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.40.0.tgz#d6ea782c8e3a2371ba3ea31458dcbdc934668fc4" + integrity sha512-d3nPmjUeZtEWRvyReMI4I1MwPGC63E8pDoHy0BnrYjnJgilBD3hv7XOiETKLY/zTwI7kCnBDf2vWTRUVpYw0Uw== + dependencies: + "@typescript-eslint/types" "5.40.0" + "@typescript-eslint/visitor-keys" "5.40.0" + "@typescript-eslint/type-utils@5.39.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.39.0.tgz#0a8c00f95dce4335832ad2dc6bc431c14e32a0a6" @@ -6228,11 +6392,26 @@ debug "^4.3.4" tsutils "^3.21.0" +"@typescript-eslint/type-utils@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.40.0.tgz#4964099d0158355e72d67a370249d7fc03331126" + integrity sha512-nfuSdKEZY2TpnPz5covjJqav+g5qeBqwSHKBvz7Vm1SAfy93SwKk/JeSTymruDGItTwNijSsno5LhOHRS1pcfw== + dependencies: + "@typescript-eslint/typescript-estree" "5.40.0" + "@typescript-eslint/utils" "5.40.0" + debug "^4.3.4" + tsutils "^3.21.0" + "@typescript-eslint/types@5.39.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.39.0.tgz#f4e9f207ebb4579fd854b25c0bf64433bb5ed78d" integrity sha512-gQMZrnfEBFXK38hYqt8Lkwt8f4U6yq+2H5VDSgP/qiTzC8Nw8JO3OuSUOQ2qW37S/dlwdkHDntkZM6SQhKyPhw== +"@typescript-eslint/types@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.40.0.tgz#8de07e118a10b8f63c99e174a3860f75608c822e" + integrity sha512-V1KdQRTXsYpf1Y1fXCeZ+uhjW48Niiw0VGt4V8yzuaDTU8Z1Xl7yQDyQNqyAFcVhpYXIVCEuxSIWTsLDpHgTbw== + "@typescript-eslint/typescript-estree@5.39.0", "@typescript-eslint/typescript-estree@^5.13.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.39.0.tgz#c0316aa04a1a1f4f7f9498e3c13ef1d3dc4cf88b" @@ -6246,6 +6425,19 @@ semver "^7.3.7" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.0.tgz#e305e6a5d65226efa5471ee0f12e0ffaab6d3075" + integrity sha512-b0GYlDj8TLTOqwX7EGbw2gL5EXS2CPEWhF9nGJiGmEcmlpNBjyHsTwbqpyIEPVpl6br4UcBOYlcI2FJVtJkYhg== + dependencies: + "@typescript-eslint/types" "5.40.0" + "@typescript-eslint/visitor-keys" "5.40.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + "@typescript-eslint/utils@5.39.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.39.0.tgz#b7063cca1dcf08d1d21b0d91db491161ad0be110" @@ -6258,6 +6450,19 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" +"@typescript-eslint/utils@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.40.0.tgz#647f56a875fd09d33c6abd70913c3dd50759b772" + integrity sha512-MO0y3T5BQ5+tkkuYZJBjePewsY+cQnfkYeRqS6tPh28niiIwPnQ1t59CSRcs1ZwJJNOdWw7rv9pF8aP58IMihA== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.40.0" + "@typescript-eslint/types" "5.40.0" + "@typescript-eslint/typescript-estree" "5.40.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + semver "^7.3.7" + "@typescript-eslint/visitor-keys@5.39.0": version "5.39.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.39.0.tgz#8f41f7d241b47257b081ddba5d3ce80deaae61e2" @@ -6266,6 +6471,14 @@ "@typescript-eslint/types" "5.39.0" eslint-visitor-keys "^3.3.0" +"@typescript-eslint/visitor-keys@5.40.0": + version "5.40.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.0.tgz#dd2d38097f68e0d2e1e06cb9f73c0173aca54b68" + integrity sha512-ijJ+6yig+x9XplEpG2K6FUdJeQGGj/15U3S56W9IqXKJqleuD7zJ2AX/miLezwxpd7ZxDAqO87zWufKg+RPZyQ== + dependencies: + "@typescript-eslint/types" "5.40.0" + eslint-visitor-keys "^3.3.0" + "@urql/core@3.0.3": version "3.0.3" resolved "https://registry.yarnpkg.com/@urql/core/-/core-3.0.3.tgz#da054babb4d4aed26dc4503806b310ba6dd6eea1" @@ -7220,6 +7433,11 @@ axe-core@^4.3.5: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.1.tgz#7dbdc25989298f9ad006645cd396782443757413" integrity sha512-gd1kmb21kwNuWr6BQz8fv6GNECPBnUasepcoLbekws23NVBLODdsClRZ+bQ8+9Uomf3Sm3+Vwn0oYG9NvwnJCw== +axe-core@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.3.tgz#11c74d23d5013c0fa5d183796729bc3482bd2f6f" + integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== + axobject-query@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" @@ -7373,6 +7591,11 @@ backoff@^2.5.0: dependencies: precond "0.2" +bail@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" + integrity sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ== + bail@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" @@ -7682,6 +7905,11 @@ builtin-modules@3.0.0, builtin-modules@^3.0.0: resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1" integrity sha512-hMIeU4K2ilbXV6Uv93ZZ0Avg/M91RaKXucQ+4me2Do1txxBDyDZWCBa5bJSLqoNTRpXTLwEzIk1KmloenDDjhg== +builtin-modules@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" + integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== + builtins@^5.0.0, builtins@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" @@ -7906,6 +8134,11 @@ case@1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== +ccount@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" + integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== + ccount@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" @@ -8011,21 +8244,41 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== +character-entities-html4@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.4.tgz#0e64b0a3753ddbf1fdc044c5fd01d0199a02e125" + integrity sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g== + character-entities-html4@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== +character-entities-legacy@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" + integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== + character-entities-legacy@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== +character-entities@^1.0.0: + version "1.2.4" + resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b" + integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw== + character-entities@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.1.tgz#98724833e1e27990dee0bd0f2b8a859c3476aac7" integrity sha512-OzmutCf2Kmc+6DrFrrPS8/tDh2+DpnrfzdICHWhcVC9eOd0N1PXmQEE1a8iM4IziIAG+8tmTq3K+oo0ubH6RRQ== +character-reference-invalid@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" + integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== + character-reference-invalid@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" @@ -8094,6 +8347,11 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-info@^3.4.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.5.0.tgz#bfac2a29263de4c829d806b1ab478e35091e171f" + integrity sha512-yH4RezKOGlOhxkmhbeNuC4eYZKAUsEaGtBuBzDDP1eFUKiccDWzBABxBfOx31IDwDIXMTxWuwAxUGModvkbuVw== + cjs-module-lexer@^1.0.0: version "1.2.2" resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" @@ -8130,6 +8388,13 @@ clean-deep@^3.0.2: lodash.isplainobject "^4.0.6" lodash.transform "^4.6.0" +clean-regexp@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/clean-regexp/-/clean-regexp-1.0.0.tgz#8df7c7aae51fd36874e8f8d05b9180bc11a3fed7" + integrity sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw== + dependencies: + escape-string-regexp "^1.0.5" + clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" @@ -8284,6 +8549,11 @@ codemirror@^5.65.3: resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.65.3.tgz#2d029930d5a293bc5fb96ceea64654803c0d4ac7" integrity sha512-kCC0iwGZOVZXHEKW3NDTObvM7pTIyowjty4BUqeREROc/3I6bWbgZDA3fGDwlA+rbgRjvnRnfqs9SfXynel1AQ== +collapse-white-space@^1.0.2: + version "1.0.6" + resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287" + integrity sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ== + collect-v8-coverage@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" @@ -9414,7 +9684,7 @@ dagre@^0.8.5: graphlib "^2.1.8" lodash "^4.17.15" -damerau-levenshtein@^1.0.7: +damerau-levenshtein@^1.0.7, damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== @@ -10622,7 +10892,7 @@ eslint-config-next@12.3.1: eslint-plugin-react "^7.31.7" eslint-plugin-react-hooks "^4.5.0" -eslint-config-prettier@8.5.0: +eslint-config-prettier@8.5.0, eslint-config-prettier@^8.5.0: version "8.5.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== @@ -10646,6 +10916,18 @@ eslint-import-resolver-typescript@^2.7.1: resolve "^1.22.0" tsconfig-paths "^3.14.1" +eslint-mdx@^1.17.1: + version "1.17.1" + resolved "https://registry.yarnpkg.com/eslint-mdx/-/eslint-mdx-1.17.1.tgz#8af9e60cf79e895ec94f23e059fa73bab16c2958" + integrity sha512-ihkTZCYipPUpzZgTeTwRajj3ZFYQAMWUm/ajscLWjXPVA2+ZQoLRreVNETRZ1znCnE3OAGbwmA1vd0uxtSk2wg== + dependencies: + cosmiconfig "^7.0.1" + remark-mdx "^1.6.22" + remark-parse "^8.0.3" + remark-stringify "^8.1.1" + tslib "^2.3.1" + unified "^9.2.2" + eslint-module-utils@^2.7.3: version "2.7.3" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee" @@ -10691,7 +10973,49 @@ eslint-plugin-jsx-a11y@^6.5.1: language-tags "^1.0.5" minimatch "^3.0.4" -eslint-plugin-react-hooks@^4.5.0: +eslint-plugin-jsx-a11y@^6.6.1: + version "6.6.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz#93736fc91b83fdc38cc8d115deedfc3091aef1ff" + integrity sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q== + dependencies: + "@babel/runtime" "^7.18.9" + aria-query "^4.2.2" + array-includes "^3.1.5" + ast-types-flow "^0.0.7" + axe-core "^4.4.3" + axobject-query "^2.2.0" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + has "^1.0.3" + jsx-ast-utils "^3.3.2" + language-tags "^1.0.5" + minimatch "^3.1.2" + semver "^6.3.0" + +eslint-plugin-markdown@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-markdown/-/eslint-plugin-markdown-2.2.1.tgz#76b8a970099fbffc6cc1ffcad9772b96911c027a" + integrity sha512-FgWp4iyYvTFxPwfbxofTvXxgzPsDuSKHQy2S+a8Ve6savbujey+lgrFFbXQA0HPygISpRYWYBjooPzhYSF81iA== + dependencies: + mdast-util-from-markdown "^0.8.5" + +eslint-plugin-mdx@^1.17.0: + version "1.17.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-mdx/-/eslint-plugin-mdx-1.17.1.tgz#c5aa72abae47fd858c183ea606e3e69168b3aa7a" + integrity sha512-yOI2FmHCh+cgkMEkznxvWxfLC8AqZgco7509DjwMoCzXaxslv7YmGBKkvZyHxcbLmswnaMRBlYcd2BT7KPEnKw== + dependencies: + eslint-mdx "^1.17.1" + eslint-plugin-markdown "^2.2.1" + synckit "^0.4.1" + tslib "^2.3.1" + vfile "^4.2.1" + +eslint-plugin-promise@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.1.0.tgz#99e54d07272df5a6440209cb36d0d692be0610dd" + integrity sha512-NYCfDZF/KHt27p06nFAttgWuFyIDSUMnNaJBIY1FY9GpBFhdT2vMG64HlFguSgcJeyM5by6Yr5csSOuJm60eXQ== + +eslint-plugin-react-hooks@^4.5.0, eslint-plugin-react-hooks@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== @@ -10716,11 +11040,36 @@ eslint-plugin-react@^7.31.7: semver "^6.3.0" string.prototype.matchall "^4.0.7" +eslint-plugin-sonarjs@^0.16.0: + version "0.16.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.16.0.tgz#227651fea8a7c82b40156a1d70d52d64ea058dba" + integrity sha512-al8ojAzcQW8Eu0tWn841ldhPpPcjrJ59TzzTfAVWR45bWvdAASCmrGl8vK0MWHyKVDdC0i17IGbtQQ1KgxLlVA== + eslint-plugin-svelte3@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/eslint-plugin-svelte3/-/eslint-plugin-svelte3-4.0.0.tgz#3d4f3dcaec5761dac8bc697f81de3613b485b4e3" integrity sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g== +eslint-plugin-unicorn@^44.0.0: + version "44.0.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-44.0.2.tgz#6324a001c0a5e2ac00fb51b30db27d14c6c36ab3" + integrity sha512-GLIDX1wmeEqpGaKcnMcqRvMVsoabeF0Ton0EX4Th5u6Kmf7RM9WBl705AXFEsns56ESkEs0uyelLuUTvz9Tr0w== + dependencies: + "@babel/helper-validator-identifier" "^7.19.1" + ci-info "^3.4.0" + clean-regexp "^1.0.0" + eslint-utils "^3.0.0" + esquery "^1.4.0" + indent-string "^4.0.0" + is-builtin-module "^3.2.0" + lodash "^4.17.21" + pluralize "^8.0.0" + read-pkg-up "^7.0.1" + regexp-tree "^0.1.24" + safe-regex "^2.1.1" + semver "^7.3.7" + strip-indent "^3.0.0" + eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" @@ -11858,7 +12207,7 @@ generate-function@^2.3.1: dependencies: is-property "^1.0.2" -gensync@^1.0.0-beta.2: +gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== @@ -12840,7 +13189,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -13002,11 +13351,29 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" +is-alphabetical@1.0.4, is-alphabetical@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" + integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== + is-alphabetical@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz#01072053ea7c1036df3c7d19a6daaec7f19e789b" integrity sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ== +is-alphanumeric@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz#4a9cef71daf4c001c1d81d63d140cf53fd6889f4" + integrity sha512-ZmRL7++ZkcMOfDuWZuMJyIVLr2keE1o/DeNWh1EmgqGhUcV+9BIVsx0BcSBOHTZqzjs4+dISzr2KAeBEWGgXeA== + +is-alphanumerical@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" + integrity sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A== + dependencies: + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + is-alphanumerical@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz#7c03fbe96e3e931113e57f964b0a368cc2dfd875" @@ -13072,6 +13439,13 @@ is-builtin-module@^3.1.0: dependencies: builtin-modules "^3.0.0" +is-builtin-module@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.0.tgz#bb0310dfe881f144ca83f30100ceb10cf58835e0" + integrity sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw== + dependencies: + builtin-modules "^3.3.0" + is-callable@^1.1.4, is-callable@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" @@ -13119,6 +13493,11 @@ is-date-object@^1.0.1, is-date-object@^1.0.2: dependencies: has-tostringtag "^1.0.0" +is-decimal@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" + integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== + is-decimal@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" @@ -13212,6 +13591,11 @@ is-glob@^3.0.0, is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" +is-hexadecimal@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" + integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== + is-hexadecimal@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz#86b5bf668fca307498d319dfc03289d781a90027" @@ -13318,7 +13702,7 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-obj@^2.1.0: +is-plain-obj@^2.0.0, is-plain-obj@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== @@ -13505,11 +13889,21 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" +is-whitespace-character@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz#0858edd94a95594c7c9dd0b5c174ec6e45ee4aa7" + integrity sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w== + is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== +is-word-character@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.4.tgz#ce0e73216f98599060592f62ff31354ddbeb0230" + integrity sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA== + is-wsl@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" @@ -14161,7 +14555,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.2.1: +json5@^2.1.2, json5@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -14221,6 +14615,14 @@ jsonwebtoken@^8.5.1: array-includes "^3.1.4" object.assign "^4.1.2" +jsx-ast-utils@^3.3.2: + version "3.3.3" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" + integrity sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw== + dependencies: + array-includes "^3.1.5" + object.assign "^4.1.3" + junk@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1" @@ -14791,7 +15193,7 @@ lodash.xorby@^4.7.0: resolved "https://registry.yarnpkg.com/lodash.xorby/-/lodash.xorby-4.7.0.tgz#9c19a6f9f063a6eb53dd03c1b6871799801463d7" integrity sha1-nBmm+fBjputT3QPBtocXmYAUY9c= -lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@~4.17.0: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@~4.17.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -14875,6 +15277,11 @@ long@^4.0.0: resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== +longest-streak@^2.0.1: + version "2.0.4" + resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" + integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== + longest-streak@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.0.1.tgz#c97315b7afa0e7d9525db9a5a2953651432bdc5d" @@ -15063,6 +15470,11 @@ mariadb@3.0.1: moment-timezone "^0.5.34" please-upgrade-node "^3.2.0" +markdown-escapes@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.4.tgz#c95415ef451499d7602b91095f3c8e8975f78535" + integrity sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg== + markdown-extensions@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/markdown-extensions/-/markdown-extensions-1.1.1.tgz#fea03b539faeaee9b4ef02a3769b455b189f7fc3" @@ -15079,6 +15491,13 @@ markdown-it@^12.2.0: mdurl "^1.0.1" uc.micro "^1.0.5" +markdown-table@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-2.0.0.tgz#194a90ced26d31fe753d8b9434430214c011865b" + integrity sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A== + dependencies: + repeat-string "^1.0.0" + markdown-table@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.2.tgz#9b59eb2c1b22fe71954a65ff512887065a7bb57c" @@ -15123,6 +15542,13 @@ md5@^2.3.0: crypt "0.0.2" is-buffer "~1.1.6" +mdast-util-compact@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-compact/-/mdast-util-compact-2.0.1.tgz#cabc69a2f43103628326f35b1acf735d55c99490" + integrity sha512-7GlnT24gEwDrdAwEHrU4Vv5lLWrEer4KOkAiKT9nYstsTad7Oc1TwqT2zIMKRdZF7cTuaf+GA1E4Kv7jJh8mPA== + dependencies: + unist-util-visit "^2.0.0" + mdast-util-definitions@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.0.tgz#b6d10ef00a3c4cf191e8d9a5fa58d7f4a366f817" @@ -15141,6 +15567,17 @@ mdast-util-find-and-replace@^2.0.0: unist-util-is "^5.0.0" unist-util-visit-parents "^4.0.0" +mdast-util-from-markdown@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" + integrity sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-string "^2.0.0" + micromark "~2.11.0" + parse-entities "^2.0.0" + unist-util-stringify-position "^2.0.0" + mdast-util-from-markdown@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.2.0.tgz#84df2924ccc6c995dec1e2368b2b208ad0a76268" @@ -15292,6 +15729,11 @@ mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0: unist-util-visit "^4.0.0" zwitch "^2.0.0" +mdast-util-to-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" + integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w== + mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.1.0.tgz#56c506d065fbf769515235e577b5a261552d56e9" @@ -15766,6 +16208,14 @@ micromark@^3.0.0: micromark-util-types "^1.0.1" uvu "^0.5.0" +micromark@~2.11.0: + version "2.11.4" + resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" + integrity sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA== + dependencies: + debug "^4.0.0" + parse-entities "^2.0.0" + micromatch@^3.1.10: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -16792,6 +17242,16 @@ object.assign@^4.1.0, object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" +object.assign@^4.1.3: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + object.entries@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" @@ -17280,6 +17740,18 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-entities@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" + integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== + dependencies: + character-entities "^1.0.0" + character-entities-legacy "^1.0.0" + character-reference-invalid "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.0" + is-hexadecimal "^1.0.0" + parse-entities@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-4.0.0.tgz#f67c856d4e3fe19b1a445c3fabe78dcdc1053eeb" @@ -17666,6 +18138,11 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" +pluralize@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" + integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== + posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -18709,6 +19186,11 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regexp-tree@^0.1.24, regexp-tree@~0.1.1: + version "0.1.24" + resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.24.tgz#3d6fa238450a4d66e5bc9c4c14bb720e2196829d" + integrity sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw== + regexp.prototype.flags@^1.3.0, regexp.prototype.flags@^1.4.1: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -18838,6 +19320,20 @@ remark-mdx-disable-explicit-jsx@0.1.0: unified "^10.1.1" unist-util-visit "^4.1.0" +remark-mdx@^1.6.22: + version "1.6.22" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.22.tgz#06a8dab07dcfdd57f3373af7f86bd0e992108bbd" + integrity sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ== + dependencies: + "@babel/core" "7.12.9" + "@babel/helper-plugin-utils" "7.10.4" + "@babel/plugin-proposal-object-rest-spread" "7.12.1" + "@babel/plugin-syntax-jsx" "7.12.1" + "@mdx-js/util" "1.6.22" + is-alphabetical "1.0.4" + remark-parse "8.0.3" + unified "9.2.0" + remark-mdx@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.1.1.tgz#14021be9ecbc9ad0310f4240980221328aa7ed55" @@ -18846,6 +19342,28 @@ remark-mdx@^2.0.0: mdast-util-mdx "^2.0.0" micromark-extension-mdxjs "^1.0.0" +remark-parse@8.0.3, remark-parse@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" + integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q== + dependencies: + ccount "^1.0.0" + collapse-white-space "^1.0.2" + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + is-whitespace-character "^1.0.0" + is-word-character "^1.0.0" + markdown-escapes "^1.0.0" + parse-entities "^2.0.0" + repeat-string "^1.5.4" + state-toggle "^1.0.0" + trim "0.0.1" + trim-trailing-lines "^1.0.0" + unherit "^1.0.4" + unist-util-remove-position "^2.0.0" + vfile-location "^3.0.0" + xtend "^4.0.1" + remark-parse@^10.0.0: version "10.0.1" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-10.0.1.tgz#6f60ae53edbf0cf38ea223fe643db64d112e0775" @@ -18875,6 +19393,26 @@ remark-rehype@^10.0.0: mdast-util-to-hast "^12.1.0" unified "^10.0.0" +remark-stringify@^8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-8.1.1.tgz#e2a9dc7a7bf44e46a155ec78996db896780d8ce5" + integrity sha512-q4EyPZT3PcA3Eq7vPpT6bIdokXzFGp9i85igjmhRyXWmPs0Y6/d2FYwUNotKAWyLch7g0ASZJn/KHHcHZQ163A== + dependencies: + ccount "^1.0.0" + is-alphanumeric "^1.0.0" + is-decimal "^1.0.0" + is-whitespace-character "^1.0.0" + longest-streak "^2.0.1" + markdown-escapes "^1.0.0" + markdown-table "^2.0.0" + mdast-util-compact "^2.0.0" + parse-entities "^2.0.0" + repeat-string "^1.5.4" + state-toggle "^1.0.0" + stringify-entities "^3.0.0" + unherit "^1.0.4" + xtend "^4.0.1" + remedial@^1.0.7: version "1.0.8" resolved "https://registry.yarnpkg.com/remedial/-/remedial-1.0.8.tgz#a5e4fd52a0e4956adbaf62da63a5a46a78c578a0" @@ -18905,7 +19443,7 @@ repeat-element@^1.1.2: resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== -repeat-string@^1.6.1: +repeat-string@^1.0.0, repeat-string@^1.5.4, repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= @@ -18981,7 +19519,7 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@1.22.1, resolve@^1.0.0, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.7.1: +resolve@1.22.1, resolve@^1.0.0, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.3.2, resolve@^1.7.1: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -19218,6 +19756,13 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" +safe-regex@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-2.1.1.tgz#f7128f00d056e2fe5c11e81a1324dd974aadced2" + integrity sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A== + dependencies: + regexp-tree "~0.1.1" + safe-stable-stringify@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz#ab67cbe1fe7d40603ca641c5e765cb942d04fc73" @@ -19749,7 +20294,7 @@ source-map@0.8.0-beta.0: dependencies: whatwg-url "^7.0.0" -source-map@^0.5.6: +source-map@^0.5.0, source-map@^0.5.6: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -19897,6 +20442,11 @@ standard-as-callback@^2.1.0: resolved "https://registry.yarnpkg.com/standard-as-callback/-/standard-as-callback-2.1.0.tgz#8953fc05359868a77b5b9739a665c5977bb7df45" integrity sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A== +state-toggle@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe" + integrity sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ== + static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -20050,6 +20600,15 @@ string_decoder@^1.1.1, string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" +stringify-entities@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.1.0.tgz#b8d3feac256d9ffcc9fa1fefdcf3ca70576ee903" + integrity sha512-3FP+jGMmMV/ffZs86MoghGqAoqXAdxLrJP4GUdrDN1aIScYih5tuIO3eF4To5AJZ79KDZ8Fpdy7QJnK8SsL1Vg== + dependencies: + character-entities-html4 "^1.0.0" + character-entities-legacy "^1.0.0" + xtend "^4.0.0" + stringify-entities@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.2.tgz#13d113dc7449dc8ae4cb22c28883ee3fff8753e3" @@ -20363,6 +20922,14 @@ sync-fetch@0.3.1, sync-fetch@^0.3.1: buffer "^5.7.0" node-fetch "^2.6.1" +synckit@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.4.1.tgz#a8cabedc2456246604465046b37164425c22192e" + integrity sha512-ngUh0+s+DOqEc0sGnrLaeNjbXp0CWHjSGFBqPlQmQ+oN/OfoDoYDBXPh+b4qs1M5QTk5nuQ3AmVz9+2xiY/ldw== + dependencies: + tslib "^2.3.1" + uuid "^8.3.2" + tabbable@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-4.0.0.tgz#5bff1d1135df1482cf0f0206434f15eadbeb9261" @@ -20828,11 +21395,26 @@ trim-repeated@^1.0.0: dependencies: escape-string-regexp "^1.0.2" +trim-trailing-lines@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0" + integrity sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ== + +trim@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd" + integrity sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ== + triple-beam@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9" integrity sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw== +trough@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" + integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA== + trough@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876" @@ -21205,6 +21787,14 @@ undici@^5.11.0: dependencies: busboy "^1.6.0" +unherit@^1.0.4: + version "1.1.3" + resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22" + integrity sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ== + dependencies: + inherits "^2.0.0" + xtend "^4.0.0" + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -21228,6 +21818,18 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== +unified@9.2.0: + version "9.2.0" + resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.0.tgz#67a62c627c40589edebbf60f53edfd4d822027f8" + integrity sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg== + dependencies: + bail "^1.0.0" + extend "^3.0.0" + is-buffer "^2.0.0" + is-plain-obj "^2.0.0" + trough "^1.0.0" + vfile "^4.0.0" + unified@^10.0.0, unified@^10.1.1: version "10.1.2" resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" @@ -21241,6 +21843,18 @@ unified@^10.0.0, unified@^10.1.1: trough "^2.0.0" vfile "^5.0.0" +unified@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.2.tgz#67649a1abfc3ab85d2969502902775eb03146975" + integrity sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ== + dependencies: + bail "^1.0.0" + extend "^3.0.0" + is-buffer "^2.0.0" + is-plain-obj "^2.0.0" + trough "^1.0.0" + vfile "^4.0.0" + union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -21308,6 +21922,13 @@ unist-util-position@^4.0.0: dependencies: "@types/unist" "^2.0.0" +unist-util-remove-position@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc" + integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA== + dependencies: + unist-util-visit "^2.0.0" + unist-util-remove-position@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-4.0.1.tgz#d5b46a7304ac114c8d91990ece085ca7c2c135c8" @@ -21316,6 +21937,13 @@ unist-util-remove-position@^4.0.0: "@types/unist" "^2.0.0" unist-util-visit "^4.0.0" +unist-util-stringify-position@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" + integrity sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g== + dependencies: + "@types/unist" "^2.0.2" + unist-util-stringify-position@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.2.tgz#5c6aa07c90b1deffd9153be170dce628a869a447" @@ -21347,7 +21975,7 @@ unist-util-visit-parents@^5.1.1: "@types/unist" "^2.0.0" unist-util-is "^5.0.0" -unist-util-visit@^2.0.3: +unist-util-visit@^2.0.0, unist-util-visit@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q== @@ -21624,6 +22252,11 @@ vary@^1.1.2, vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= +vfile-location@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.2.0.tgz#d8e41fbcbd406063669ebf6c33d56ae8721d0f3c" + integrity sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA== + vfile-location@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.0.1.tgz#06f2b9244a3565bef91f099359486a08b10d3a95" @@ -21632,6 +22265,14 @@ vfile-location@^4.0.0: "@types/unist" "^2.0.0" vfile "^5.0.0" +vfile-message@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" + integrity sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ== + dependencies: + "@types/unist" "^2.0.0" + unist-util-stringify-position "^2.0.0" + vfile-message@^3.0.0: version "3.1.2" resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-3.1.2.tgz#a2908f64d9e557315ec9d7ea3a910f658ac05f7d" @@ -21640,6 +22281,16 @@ vfile-message@^3.0.0: "@types/unist" "^2.0.0" unist-util-stringify-position "^3.0.0" +vfile@^4.0.0, vfile@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.2.1.tgz#03f1dce28fc625c625bc6514350fbdb00fa9e624" + integrity sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA== + dependencies: + "@types/unist" "^2.0.0" + is-buffer "^2.0.0" + unist-util-stringify-position "^2.0.0" + vfile-message "^2.0.0" + vfile@^5.0.0: version "5.3.2" resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.2.tgz#b499fbc50197ea50ad3749e9b60beb16ca5b7c54" @@ -22114,7 +22765,7 @@ xss@^1.0.8: commander "^2.20.3" cssfilter "0.0.10" -xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==