diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f7922653..faa456db 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,16 +10,25 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [6.x, 8.x, 10.x, 12.x] + node-version: [10.x, 12.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: updating npm - run: npm i -g npm + - name: Get npm cache directory + id: npm-cache-dir + run: | + echo "::set-output name=dir::$(npm config get cache)" + - uses: actions/cache@v2 + id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' + with: + path: ${{ steps.npm-cache-dir.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - name: installing run: npm ci - name: build @@ -33,9 +42,9 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: node.js 14 - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: 14 - name: installing diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5be91d5..84225638 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,16 +10,25 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [6.x, 8.x, 10.x, 12.x] + node-version: [10.x, 12.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: updating npm - run: npm i -g npm + - name: Get npm cache directory + id: npm-cache-dir + run: | + echo "::set-output name=dir::$(npm config get cache)" + - uses: actions/cache@v2 + id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' + with: + path: ${{ steps.npm-cache-dir.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - name: installing run: npm ci - name: testing @@ -31,11 +40,22 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: node.js 14 - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: 14 + - name: Get npm cache directory + id: npm-cache-dir + run: | + echo "::set-output name=dir::$(npm config get cache)" + - uses: actions/cache@v2 + id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' + with: + path: ${{ steps.npm-cache-dir.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - name: installing run: npm ci - name: testing diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..a6c57f5f --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.json diff --git a/lib/command.ts b/lib/command.ts index f92dbdc3..f42a7391 100644 --- a/lib/command.ts +++ b/lib/command.ts @@ -5,7 +5,7 @@ import { ListValueFlag, NoParams, OutputInterface, - ValueFlag + ValueFlag, } from "@2fd/command"; import Bluebird from "bluebird"; import fs from "fs"; @@ -17,7 +17,7 @@ import { httpSchemaLoader, idlSchemaLoader, jsonSchemaLoader, - jsSchemaLoader + jsSchemaLoader, } from "./schema-loader"; import { createData, getFilenameOf, Output, Plugin } from "./utility"; import { @@ -25,7 +25,7 @@ import { readFile, removeBuildDirectory, resolve, - writeFile + writeFile, } from "./utility/fs"; // tslint:disable-next-line:no-var-requires @@ -116,7 +116,7 @@ export class GraphQLDocumentGenerator extends Command { "Delete outputDirectory if exists." ), new BooleanFlag("verbose", ["-v", "--verbose"], "Output more information."), - new BooleanFlag("version", ["-V", "--version"], "Show graphdoc version.") + new BooleanFlag("version", ["-V", "--version"], "Show graphdoc version."), ]; public async action(input: Input, out: OutputInterface) { @@ -143,13 +143,13 @@ export class GraphQLDocumentGenerator extends Command { graphdocPackageJSON ); - projectPackageJSON.graphdoc.plugins.forEach(plugin => + projectPackageJSON.graphdoc.plugins.forEach((plugin) => output.info("use plugin", plugin) ); // Collect assets const assets: string[] = await Plugin.collectAssets(plugins); - assets.forEach(asset => + assets.forEach((asset) => output.info("use asset", path.relative(process.cwd(), asset)) ); @@ -261,7 +261,7 @@ export class GraphQLDocumentGenerator extends Command { projectPackageJSON: object, pluginGraphdocPackageJSON: object ): PluginInterface[] { - return paths.map(p => { + return paths.map((p) => { const absolutePaths = resolve(p); const plugin = require(absolutePaths).default; @@ -284,10 +284,10 @@ export class GraphQLDocumentGenerator extends Command { )("**/*.mustache", { cwd: templateDir }); await Promise.all( - files.map(file => { + files.map((file) => { const name = path.basename(file, ".mustache"); return readFile(path.resolve(templateDir, file), "utf8").then( - content => (partials[name] = content) + (content) => (partials[name] = content) ); }) ); diff --git a/lib/schema-loader/http.ts b/lib/schema-loader/http.ts index ffc5777b..8b16a3cc 100644 --- a/lib/schema-loader/http.ts +++ b/lib/schema-loader/http.ts @@ -5,7 +5,7 @@ import { GraphQLIntrospection, Introspection, Schema, - SchemaLoader + SchemaLoader, } from "../interface"; import { query as introspectionQuery } from "../utility"; @@ -62,7 +62,7 @@ export const httpSchemaLoader: SchemaLoader = async ( url: options.endpoint, method: "POST", body: { query: introspectionQuery }, - json: true + json: true, }; requestOptions.headers = options.headers.reduce( diff --git a/lib/schema-loader/idl.ts b/lib/schema-loader/idl.ts index 4caf7190..9d6a39bb 100644 --- a/lib/schema-loader/idl.ts +++ b/lib/schema-loader/idl.ts @@ -4,7 +4,7 @@ import { ApolloIntrospection, GraphQLIntrospection, Introspection, - SchemaLoader + SchemaLoader, } from "../interface"; import { query as introspectionQuery } from "../utility"; import { readFile } from "../utility/fs"; diff --git a/lib/schema-loader/index.ts b/lib/schema-loader/index.ts index 214472ce..595f0aa0 100644 --- a/lib/schema-loader/index.ts +++ b/lib/schema-loader/index.ts @@ -2,9 +2,9 @@ export { IHttpSchemaLoaderOptions, httpSchemaLoader } from "./http"; export { IIdlSchemaLoaderOptions, idlSchemaLoader } from "./idl"; export { IJsSchemaLoaderOptions as TJsSchemaLoaderOptions, - jsSchemaLoader + jsSchemaLoader, } from "./js"; export { IJsonSchemaLoaderOptions as TJsonSchemaLoaderOptions, - jsonSchemaLoader + jsonSchemaLoader, } from "./json"; diff --git a/lib/schema-loader/js.ts b/lib/schema-loader/js.ts index 2ceb067c..ea2fec1f 100644 --- a/lib/schema-loader/js.ts +++ b/lib/schema-loader/js.ts @@ -4,7 +4,7 @@ import { ApolloIntrospection, GraphQLIntrospection, Introspection, - SchemaLoader + SchemaLoader, } from "../interface"; import { query as introspectionQuery } from "../utility"; diff --git a/lib/schema-loader/json.ts b/lib/schema-loader/json.ts index 0eea8b74..a73adc52 100644 --- a/lib/schema-loader/json.ts +++ b/lib/schema-loader/json.ts @@ -4,7 +4,7 @@ import { GraphQLIntrospection, Introspection, Schema, - SchemaLoader + SchemaLoader, } from "../interface"; export interface IJsonSchemaLoaderOptions { diff --git a/lib/utility/fs.ts b/lib/utility/fs.ts index 2f4be10f..345b7676 100644 --- a/lib/utility/fs.ts +++ b/lib/utility/fs.ts @@ -56,10 +56,10 @@ export async function createBuildDirectory( files // ignore *.mustache templates - .filter(file => path.extname(file) !== ".mustache") + .filter((file) => path.extname(file) !== ".mustache") // copy recursive - .map(file => + .map((file) => copyAll( path.resolve(templateDirectory, file), path.resolve(buildDirectory, file) @@ -71,7 +71,7 @@ export async function createBuildDirectory( await mkDir(path.resolve(buildDirectory, "assets")); await Bluebird.all( - assets.map(asset => + assets.map((asset) => copyAll( asset, path.resolve(buildDirectory, "assets", path.basename(asset)) diff --git a/lib/utility/html.test.ts b/lib/utility/html.test.ts index 00e6187e..2ccf0c57 100644 --- a/lib/utility/html.test.ts +++ b/lib/utility/html.test.ts @@ -1,11 +1,11 @@ -import { Description, Field, InputValue, SchemaType } from '../interface' -import { split, HTML } from './html' -import { data } from '../../test/empty.schema.json' - -test('utility/html.split', () => { - const LOREM_IPSU = `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.` - expect(split('', 0)).toEqual(['']) - expect(split(LOREM_IPSU, 1)).toEqual(LOREM_IPSU.split(' ')) +import { Description, Field, InputValue, SchemaType } from "../interface"; +import { split, HTML } from "./html"; +import { data } from "../../test/empty.schema.json"; + +test("utility/html.split", () => { + const LOREM_IPSU = `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.`; + expect(split("", 0)).toEqual([""]); + expect(split(LOREM_IPSU, 1)).toEqual(LOREM_IPSU.split(" ")); expect(split(LOREM_IPSU, 10)).toEqual([ "Lorem Ipsum", "is simply dummy", @@ -25,89 +25,116 @@ test('utility/html.split', () => { "it to make", "a type specimen", "book.", - ]) + ]); expect(split(LOREM_IPSU, 100)).toEqual([ "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's", "standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled", "it to make a type specimen book.", - ]) -}) - - -describe('lib/utility/html#HTML', () => { - test('.code', () => { - const html = new HTML - expect(html.code('CODE')).toBe('CODE
') - }) - - test('.highlight', () => { - const html = new HTML - expect(html.highlight('CODE')).toBe('CODE') - }) - - test('.sup', () => { - const html = new HTML - expect(html.sup('CODE')).toBe(' CODE') - }) - - test('.line', () => { - const html = new HTML - expect(html.index).toBe(1) - expect(html.line('CODE')).toBe('1CODE') - expect(html.index).toBe(2) - }) - - test('.tab', () => { - const html = new HTML - expect(html.tab('CODE')).toBe('CODE') - }) - - test('.keyword', () => { - const html = new HTML - expect(html.keyword('CODE')).toBe('CODE') - }) - - test('.comment', () => { - const html = new HTML - expect(html.comment('CODE')).toBe('# CODE') - }) - - test('.identifier', () => { - const html = new HTML - const type = data.__schema.types.find(t => t.name === 'Query') - expect(html.identifier(type as Description)).toBe('Query') - }) - - test('.parameter', () => { - const html = new HTML - const input: InputValue = data.__schema.types.find(t => t.name === 'AddCommentInput') as any - expect(html.parameter(input)).toBe('AddCommentInput') - }) - - test('.property', () => { - const html = new HTML - expect(html.property('PROPERTY')).toBe('PROPERTY') - }) - - test('.useIdentifier', () => { - const html = new HTML - const schema: SchemaType = data.__schema.types.find(t => t.name === '__Schema') as any - const field: Field = (schema.fields || []).find(f => f.name === 'types') as any - - expect(html.useIdentifier(field.type, 'HREF')).toBe('[__Type!]!') - }) - - test('.useIdentifierLength', () => { - const html = new HTML - const schema: SchemaType = data.__schema.types.find(t => t.name === '__Schema') as any - const field: Field = (schema.fields || []).find(f => f.name === 'types') as any - - expect(html.useIdentifierLength(field.type)).toBe(10) - }) - - test('.value', () => { - const html = new HTML - expect(html.value('"STRING"')).toBe('"STRING"') - expect(html.value('NUMBER')).toBe('NUMBER') - }) -}) \ No newline at end of file + ]); +}); + +describe("lib/utility/html#HTML", () => { + test(".code", () => { + const html = new HTML(); + expect(html.code("CODE")).toBe( + 'CODE
' + ); + }); + + test(".highlight", () => { + const html = new HTML(); + expect(html.highlight("CODE")).toBe("CODE"); + }); + + test(".sup", () => { + const html = new HTML(); + expect(html.sup("CODE")).toBe(" CODE"); + }); + + test(".line", () => { + const html = new HTML(); + expect(html.index).toBe(1); + expect(html.line("CODE")).toBe( + '1CODE' + ); + expect(html.index).toBe(2); + }); + + test(".tab", () => { + const html = new HTML(); + expect(html.tab("CODE")).toBe('CODE'); + }); + + test(".keyword", () => { + const html = new HTML(); + expect(html.keyword("CODE")).toBe( + 'CODE' + ); + }); + + test(".comment", () => { + const html = new HTML(); + expect(html.comment("CODE")).toBe( + '# CODE' + ); + }); + + test(".identifier", () => { + const html = new HTML(); + const type = data.__schema.types.find((t) => t.name === "Query"); + expect(html.identifier(type as Description)).toBe( + 'Query' + ); + }); + + test(".parameter", () => { + const html = new HTML(); + const input: InputValue = data.__schema.types.find( + (t) => t.name === "AddCommentInput" + ) as any; + expect(html.parameter(input)).toBe( + 'AddCommentInput' + ); + }); + + test(".property", () => { + const html = new HTML(); + expect(html.property("PROPERTY")).toBe( + 'PROPERTY' + ); + }); + + test(".useIdentifier", () => { + const html = new HTML(); + const schema: SchemaType = data.__schema.types.find( + (t) => t.name === "__Schema" + ) as any; + const field: Field = (schema.fields || []).find( + (f) => f.name === "types" + ) as any; + + expect(html.useIdentifier(field.type, "HREF")).toBe( + '[__Type!]!' + ); + }); + + test(".useIdentifierLength", () => { + const html = new HTML(); + const schema: SchemaType = data.__schema.types.find( + (t) => t.name === "__Schema" + ) as any; + const field: Field = (schema.fields || []).find( + (f) => f.name === "types" + ) as any; + + expect(html.useIdentifierLength(field.type)).toBe(10); + }); + + test(".value", () => { + const html = new HTML(); + expect(html.value('"STRING"')).toBe('"STRING"'); + expect(html.value("NUMBER")).toBe( + 'NUMBER' + ); + }); +}); diff --git a/lib/utility/html.ts b/lib/utility/html.ts index 70d38f4d..dccc16f4 100644 --- a/lib/utility/html.ts +++ b/lib/utility/html.ts @@ -18,8 +18,9 @@ export class HTML { line(code?: string): string { const row = this.index++; - return `${row}${code || - ""}`; + return `${row}${ + code || "" + }`; } tab(code: string): string { diff --git a/lib/utility/index.ts b/lib/utility/index.ts index 42ce2cff..5fb14071 100644 --- a/lib/utility/index.ts +++ b/lib/utility/index.ts @@ -5,7 +5,7 @@ export { NavigationSection, DocumentSection, Plugin, - sortTypes + sortTypes, } from "./plugin"; export { @@ -19,7 +19,7 @@ export { NON_NULL, OBJECT, SCALAR, - UNION + UNION, } from "./introspection"; export { Output } from "./output"; diff --git a/lib/utility/introspection.test.ts b/lib/utility/introspection.test.ts index 2c3753af..90f235c4 100644 --- a/lib/utility/introspection.test.ts +++ b/lib/utility/introspection.test.ts @@ -1,17 +1,25 @@ -import { getTypeOf, getFilenameOf } from './introspection' -import { data } from '../../test/empty.schema.json' -import { DeepTypeRef, SchemaType, Field } from '../interface' +import { getTypeOf, getFilenameOf } from "./introspection"; +import { data } from "../../test/empty.schema.json"; +import { DeepTypeRef, SchemaType, Field } from "../interface"; test(`lib/utility/introspection#getTypeOf`, () => { - const schema: SchemaType = data.__schema.types.find(t => t.name === '__Schema') as any - const field: Field = (schema.fields || []).find(f => f.name === 'types') as any + const schema: SchemaType = data.__schema.types.find( + (t) => t.name === "__Schema" + ) as any; + const field: Field = (schema.fields || []).find( + (f) => f.name === "types" + ) as any; - expect(getTypeOf(field.type)).toBe(field.type.ofType?.ofType?.ofType) -}) + expect(getTypeOf(field.type)).toBe(field.type.ofType?.ofType?.ofType); +}); test(`lib/utility/introspection#getTypeOf`, () => { - const schema: SchemaType = data.__schema.types.find(t => t.name === '__Schema') as any - const field: DeepTypeRef = (schema.fields || []).find(f => f.name === 'types') as any + const schema: SchemaType = data.__schema.types.find( + (t) => t.name === "__Schema" + ) as any; + const field: DeepTypeRef = (schema.fields || []).find( + (f) => f.name === "types" + ) as any; - expect(getFilenameOf(field)).toBe('types.doc.html') -}) \ No newline at end of file + expect(getFilenameOf(field)).toBe("types.doc.html"); +}); diff --git a/lib/utility/output.test.ts b/lib/utility/output.test.ts index abd6dc6f..ee5a9c59 100644 --- a/lib/utility/output.test.ts +++ b/lib/utility/output.test.ts @@ -1,115 +1,59 @@ -import { Output } from './output' +import { Output } from "./output"; test(`lib/utility/output#Output`, () => { const m = { log: jest.fn(), - error: jest.fn() - } + error: jest.fn(), + }; - const exit = jest.fn() - Object.assign(process, { exit }) + const exit = jest.fn(); + Object.assign(process, { exit }); - const output = new Output(m, { verbose: false }) - output.ok('ref', 'value') - output.info('ref', 'value') - output.error('string message' as any) - output.error({ message: 'error message', stack: 'error stack' } as any) + const output = new Output(m, { verbose: false }); + output.ok("ref", "value"); + output.info("ref", "value"); + output.error("string message" as any); + output.error({ message: "error message", stack: "error stack" } as any); expect(m.log.mock.calls).toEqual([ - [ - "%c ✓ %s: %c%s", - "color:green", - "ref", - "color:grey", - "value", - ] - ]) + ["%c ✓ %s: %c%s", "color:green", "ref", "color:grey", "value"], + ]); expect(m.error.mock.calls).toEqual([ - [ - "%c ✗ %s", - "color:red", - "string message", - ], - [ - "", - ], - [ - "%c ✗ %s", - "color:red", - "error message", - ], - [ - "", - ], - ]) - expect(exit.mock.calls).toEqual([ - [1], - [1], - ]) -}) + ["%c ✗ %s", "color:red", "string message"], + [""], + ["%c ✗ %s", "color:red", "error message"], + [""], + ]); + expect(exit.mock.calls).toEqual([[1], [1]]); +}); test(`lib/utility/output#Output (verbose)`, () => { const m = { log: jest.fn(), - error: jest.fn() - } + error: jest.fn(), + }; - const exit = jest.fn() - Object.assign(process, { exit }) + const exit = jest.fn(); + Object.assign(process, { exit }); - const output = new Output(m, { verbose: true }) - output.ok('ref', 'value') - output.info('ref', 'value') - output.error('string message' as any) - output.error({ message: 'error message', stack: 'error stack' } as any) + const output = new Output(m, { verbose: true }); + output.ok("ref", "value"); + output.info("ref", "value"); + output.error("string message" as any); + output.error({ message: "error message", stack: "error stack" } as any); expect(m.log.mock.calls).toEqual([ - [ - "%c ✓ %s: %c%s", - "color:green", - "ref", - "color:grey", - "value", - ], - [ - "%c ❭ %s: %c%s", - "color:yellow", - "ref", - "color:grey", - "value", - ], - ]) + ["%c ✓ %s: %c%s", "color:green", "ref", "color:grey", "value"], + ["%c ❭ %s: %c%s", "color:yellow", "ref", "color:grey", "value"], + ]); expect(m.error.mock.calls).toEqual([ - [ - "%c ✗ %s", - "color:red", - "string message", - ], - [ - "%c%s", - "color:grey", - " NO STACK", - ], - [ - "", - ], - [ - "%c ✗ %s", - "color:red", - "error message", - ], - [ - "%c%s", - "color:grey", - "error stack", - ], - [ - "", - ], - ]) - - expect(exit.mock.calls).toEqual([ - [1], - [1], - ]) -}) + ["%c ✗ %s", "color:red", "string message"], + ["%c%s", "color:grey", " NO STACK"], + [""], + ["%c ✗ %s", "color:red", "error message"], + ["%c%s", "color:grey", "error stack"], + [""], + ]); + + expect(exit.mock.calls).toEqual([[1], [1]]); +}); diff --git a/lib/utility/plugin.ts b/lib/utility/plugin.ts index 13fe7246..7b5d9861 100644 --- a/lib/utility/plugin.ts +++ b/lib/utility/plugin.ts @@ -9,7 +9,7 @@ import { PluginInterface, Schema, SchemaType, - TypeRef + TypeRef, } from "../interface"; import { getFilenameOf } from "./introspection"; @@ -20,7 +20,7 @@ export abstract class Plugin { static collect(collection: T[][]): T[] { let result: T[] = []; - collection.forEach(item => { + collection.forEach((item) => { if (Array.isArray(item)) { result = result.concat(item); } @@ -36,7 +36,7 @@ export abstract class Plugin { const navigationCollection = await Promise.all< NavigationSectionInterface[] >( - plugins.map(plugin => { + plugins.map((plugin) => { return plugin.getNavigations ? plugin.getNavigations(buildForType) : (null as any); @@ -51,7 +51,7 @@ export abstract class Plugin { buildForType?: string ): Promise { const navigationCollection = await Promise.all( - plugins.map(plugin => { + plugins.map((plugin) => { return plugin.getDocuments ? plugin.getDocuments(buildForType) : (null as any); @@ -66,7 +66,7 @@ export abstract class Plugin { buildForType?: string ): Promise { const headerCollection = await Promise.all( - plugins.map(plugin => { + plugins.map((plugin) => { return plugin.getHeaders ? plugin.getHeaders(buildForType) : (null as any); @@ -78,7 +78,7 @@ export abstract class Plugin { static async collectAssets(plugins: PluginInterface[]): Promise { const assetCollection = await Promise.all( - plugins.map(plugin => { + plugins.map((plugin) => { return plugin.getAssets ? plugin.getAssets() : (null as any); }) ); @@ -116,11 +116,11 @@ export abstract class Plugin { ) : []; - this.document.types.forEach(type => { + this.document.types.forEach((type) => { this.typeMap[type.name || ""] = type; }); - this.document.directives.forEach(directive => { + this.document.directives.forEach((directive) => { this.directiveMap[directive.name || ""] = directive; }); diff --git a/lib/utility/template.test.ts b/lib/utility/template.test.ts index b2010637..a54bb2b8 100644 --- a/lib/utility/template.test.ts +++ b/lib/utility/template.test.ts @@ -1,12 +1,12 @@ -import { slugTemplate, createData } from './template' +import { slugTemplate, createData } from "./template"; -test('lib/utility/template#slugTemplate', () => { - const slug = slugTemplate() - expect(typeof slug).toBe('function') - expect(slug('{{RAW TEXT}}', (value: string) => value)).toBe('raw-text') -}) +test("lib/utility/template#slugTemplate", () => { + const slug = slugTemplate(); + expect(typeof slug).toBe("function"); + expect(slug("{{RAW TEXT}}", (value: string) => value)).toBe("raw-text"); +}); -describe('lib/utility/template#createData', () => { +describe("lib/utility/template#createData", () => { // test(`default data`, async () => { // const data = await createData({}, {}, []) // expect(data).toHaveProperty('description', '') @@ -21,54 +21,81 @@ describe('lib/utility/template#createData', () => { // }) test(`prop "title"`, async () => { - const defaultTitle = await createData({}, {}, []) + const defaultTitle = await createData({}, {}, []); - const configTitle = await createData({ - graphdoc: { - title: "Package title" - } - }, {}, []) + const configTitle = await createData( + { + graphdoc: { + title: "Package title", + }, + }, + {}, + [] + ); - const typeTitle = await createData({ - graphdoc: { - title: "Package title" + const typeTitle = await createData( + { + graphdoc: { + title: "Package title", + }, + }, + {}, + [], + { + name: "Type title", + description: "Type description", + kind: "SCALAR", + ofType: null, } - }, {}, [], { - name: "Type title", - description: "Type description", - kind: "SCALAR", - ofType: null - }) + ); - expect(defaultTitle).toHaveProperty('title', "Graphql schema documentation") - expect(configTitle).toHaveProperty('title', "Package title") - expect(typeTitle).toHaveProperty('title', "Type title") - }) + expect(defaultTitle).toHaveProperty( + "title", + "Graphql schema documentation" + ); + expect(configTitle).toHaveProperty("title", "Package title"); + expect(typeTitle).toHaveProperty("title", "Type title"); + }); test(`prop "description"`, async () => { - const defaultDescription = await createData({}, {}, []) + const defaultDescription = await createData({}, {}, []); - const configDescription = await createData({ - description: "Package description", - graphdoc: { - title: "Package title" - } - }, {}, []) + const configDescription = await createData( + { + description: "Package description", + graphdoc: { + title: "Package title", + }, + }, + {}, + [] + ); - const typeDescription = await createData({ - description: "Package description", - graphdoc: { - title: "Package title" + const typeDescription = await createData( + { + description: "Package description", + graphdoc: { + title: "Package title", + }, + }, + {}, + [], + { + name: "Type title", + description: "Type description", + kind: "SCALAR", + ofType: null, } - }, {}, [], { - name: "Type title", - description: "Type description", - kind: "SCALAR", - ofType: null - }) + ); - expect(defaultDescription).toHaveProperty('description', "") - expect(configDescription).toHaveProperty('description', "

Package description

\n") - expect(typeDescription).toHaveProperty('description', "

Type description

\n") - }) -}) \ No newline at end of file + expect(defaultDescription).toHaveProperty("description", ""); + expect(configDescription).toHaveProperty( + "description", + "

Package description

\n" + ); + expect(typeDescription).toHaveProperty( + "description", + "

Type description

\n" + ); + }); +}); diff --git a/lib/utility/template.ts b/lib/utility/template.ts index d9556aa1..d5fd8ff7 100644 --- a/lib/utility/template.ts +++ b/lib/utility/template.ts @@ -4,7 +4,7 @@ import { DocumentSectionInterface, NavigationSectionInterface, PluginInterface, - TypeRef + TypeRef, } from "../interface"; import { Plugin } from "./plugin"; @@ -42,11 +42,15 @@ export async function createData( ] = await Promise.all([ Plugin.collectHeaders(plugins, name), Plugin.collectNavigations(plugins, name), - Plugin.collectDocuments(plugins, name) + Plugin.collectDocuments(plugins, name), ]); const title = - name || (projectPackage && projectPackage.graphdoc && projectPackage.graphdoc.title) || "Graphql schema documentation"; + name || + (projectPackage && + projectPackage.graphdoc && + projectPackage.graphdoc.title) || + "Graphql schema documentation"; const description = type ? marked(type.description || "") @@ -61,6 +65,6 @@ export async function createData( documents, projectPackage, graphdocPackage, - slug: slugTemplate + slug: slugTemplate, }; } diff --git a/package-lock.json b/package-lock.json index d64c7413..9f4a8ef6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,15 +90,6 @@ "ms": "2.1.2" } }, - "json5": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", - "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -318,6 +309,78 @@ "integrity": "sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg==", "dev": true }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.1.tgz", + "integrity": "sha512-U40A76x5gTwmESz+qiqssqmeEsKvcSyvtgktrm0uzcARAmM9I1jR221f6Oq+GmHrcD+LvZDag1UTOTe2fL3TeA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", @@ -327,6 +390,33 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz", + "integrity": "sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/template": { "version": "7.12.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.7.tgz", @@ -483,6 +573,12 @@ "to-fast-properties": "^2.0.0" } }, + "@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, "@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", @@ -493,296 +589,255 @@ "minimist": "^1.2.0" } }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + } + }, + "@istanbuljs/schema": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz", + "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==", + "dev": true + }, "@jest/console": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", - "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz", + "integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==", "dev": true, "requires": { - "@jest/source-map": "^24.9.0", - "chalk": "^2.0.1", - "slash": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^26.6.2", + "jest-util": "^26.6.2", + "slash": "^3.0.0" } }, "@jest/core": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz", - "integrity": "sha512-Fogg3s4wlAr1VX7q+rhV9RVnUv5tD7VuWfYy1+whMiWUrvl7U3QJSJyWcDio9Lq2prqYsZaeTv2Rz24pWGkJ2A==", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/reporters": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz", + "integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/reporters": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-changed-files": "^24.9.0", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-resolve-dependencies": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "jest-watcher": "^24.9.0", - "micromatch": "^3.1.10", - "p-each-series": "^1.0.0", - "realpath-native": "^1.1.0", - "rimraf": "^2.5.4", - "slash": "^2.0.0", - "strip-ansi": "^5.0.0" + "graceful-fs": "^4.2.4", + "jest-changed-files": "^26.6.2", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-resolve-dependencies": "^26.6.3", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "jest-watcher": "^26.6.2", + "micromatch": "^4.0.2", + "p-each-series": "^2.1.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "@jest/environment": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", - "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz", + "integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==", "dev": true, "requires": { - "@jest/fake-timers": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0" + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2" } }, "@jest/fake-timers": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", - "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz", + "integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0" + "@jest/types": "^26.6.2", + "@sinonjs/fake-timers": "^6.0.1", + "@types/node": "*", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" } }, - "@jest/reporters": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz", - "integrity": "sha512-mu4X0yjaHrffOsWmVLzitKmmmWSQ3GGuefgNscUSWNiUNcEOSEQk9k3pERKEQVBb0Cnn88+UESIsZEMH3o88Gw==", + "@jest/globals": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz", + "integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", + "@jest/environment": "^26.6.2", + "@jest/types": "^26.6.2", + "expect": "^26.6.2" + } + }, + "@jest/reporters": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz", + "integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.2", - "istanbul-lib-coverage": "^2.0.2", - "istanbul-lib-instrument": "^3.0.1", - "istanbul-lib-report": "^2.0.4", - "istanbul-lib-source-maps": "^3.0.1", - "istanbul-reports": "^2.2.6", - "jest-haste-map": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", - "node-notifier": "^5.4.2", - "slash": "^2.0.0", + "graceful-fs": "^4.2.4", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^4.0.3", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "jest-haste-map": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "node-notifier": "^8.0.0", + "slash": "^3.0.0", "source-map": "^0.6.0", - "string-length": "^2.0.0" + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "@jest/source-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", - "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz", + "integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==", "dev": true, "requires": { "callsites": "^3.0.0", - "graceful-fs": "^4.1.15", + "graceful-fs": "^4.2.4", "source-map": "^0.6.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "@jest/test-result": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", - "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz", + "integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==", "dev": true, "requires": { - "@jest/console": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/istanbul-lib-coverage": "^2.0.0" + "@jest/console": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" } }, "@jest/test-sequencer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz", - "integrity": "sha512-6qqsU4o0kW1dvA95qfNog8v8gkRN9ph6Lz7r96IvZpHdNipP2cBcb07J1Z45mz/VIS01OHJ3pY8T5fUY38tg4A==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz", + "integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==", "dev": true, "requires": { - "@jest/test-result": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0" + "@jest/test-result": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "@jest/transform": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", - "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz", + "integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/types": "^24.9.0", - "babel-plugin-istanbul": "^5.1.0", - "chalk": "^2.0.1", + "@jest/types": "^26.6.2", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^4.0.0", "convert-source-map": "^1.4.0", "fast-json-stable-stringify": "^2.0.0", - "graceful-fs": "^4.1.15", - "jest-haste-map": "^24.9.0", - "jest-regex-util": "^24.9.0", - "jest-util": "^24.9.0", - "micromatch": "^3.1.10", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-util": "^26.6.2", + "micromatch": "^4.0.2", "pirates": "^4.0.1", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", + "slash": "^3.0.0", "source-map": "^0.6.1", - "write-file-atomic": "2.4.1" + "write-file-atomic": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "@jest/types": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", - "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz", + "integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^13.0.0" + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0" } }, "@salesforce-ux/design-system": { @@ -791,6 +846,24 @@ "integrity": "sha1-7UlRoqLJx12GU7dYOblFYswIf1c=", "dev": true }, + "@sinonjs/commons": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.2.tgz", + "integrity": "sha512-sruwd86RJHdsVf/AtBoijDmUqJp3B6hF/DGC23C+JaegnDHaZyewCjoVGTdg3J0uz3Zs7NnIT05OBOmML72lQw==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, "@types/babel__core": { "version": "7.1.12", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.12.tgz", @@ -833,9 +906,9 @@ } }, "@types/bluebird": { - "version": "3.0.37", - "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.0.37.tgz", - "integrity": "sha1-LnazlKqb6kDQQkGjHAiHomAoM4g=", + "version": "3.5.33", + "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.33.tgz", + "integrity": "sha512-ndEo1xvnYeHxm7I/5sF6tBvnsA4Tdi3zj1keRKRs12SP+2ye2A27NDJ1B6PqkfMbGAcT+mqQVqbZRIrhfOp5PQ==", "dev": true }, "@types/caseless": { @@ -851,9 +924,9 @@ "dev": true }, "@types/fs-extra": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-0.0.32.tgz", - "integrity": "sha1-Alpk4fuYC+6E9m2/5cfZV1OZK64=", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.6.tgz", + "integrity": "sha512-ecNRHw4clCkowNOBJH1e77nvbPxHYnWIXMv1IAoG/9+MYGkgoyr3Ppxr7XYFNL41V422EDhyV4/4SSK8L2mlig==", "dev": true, "requires": { "@types/node": "*" @@ -869,43 +942,58 @@ "@types/node": "*" } }, + "@types/graceful-fs": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.4.tgz", + "integrity": "sha512-mWA/4zFQhfvOA8zWkXobwJvBD7vzcxgrOQ0J5CH1votGqdq9m7+FwtGaqyCZqC3NyyBkc9z4m+iry4LlqcMWJg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/graphql": { - "version": "0.8.6", - "resolved": "https://registry.npmjs.org/@types/graphql/-/graphql-0.8.6.tgz", - "integrity": "sha1-s0+4gEk7qDWwwGcCTucBMNb5u2g=", - "dev": true + "version": "14.5.0", + "resolved": "https://registry.npmjs.org/@types/graphql/-/graphql-14.5.0.tgz", + "integrity": "sha512-MOkzsEp1Jk5bXuAsHsUi6BVv0zCO+7/2PTiZMXWDSsMXvNU6w/PLMQT2vHn8hy2i0JqojPz1Sz6rsFjHtsU0lA==", + "dev": true, + "requires": { + "graphql": "*" + } }, "@types/istanbul-lib-coverage": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", - "integrity": "sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==", "dev": true }, "@types/istanbul-lib-report": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", - "integrity": "sha512-3BUTyMzbZa2DtDI2BkERNC6jJw2Mr2Y0oGI7mRxYNBPxppbtEK1F66u3bKwU2g+wxwWI7PAoRpJnOY1grJqzHg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "*" } }, "@types/istanbul-reports": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz", - "integrity": "sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.0.tgz", + "integrity": "sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "*", "@types/istanbul-lib-report": "*" } }, "@types/jest": { - "version": "18.1.1", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-18.1.1.tgz", - "integrity": "sha1-b2NIjGRyaQCIWrnNVpe7f6G0Fsw=", - "dev": true - }, + "version": "26.0.20", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.20.tgz", + "integrity": "sha512-9zi2Y+5USJRxd0FsahERhBwlcvFh6D2GLQnY2FH2BzK8J9s9omvNHIbvABwIluXa0fD8XVKMLTO0aOEuUfACAA==", + "dev": true, + "requires": { + "jest-diff": "^26.0.0", + "pretty-format": "^26.0.0" + } + }, "@types/marked": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@types/marked/-/marked-1.2.1.tgz", @@ -919,9 +1007,9 @@ "dev": true }, "@types/mocha": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.0.4.tgz", - "integrity": "sha512-M4BwiTJjHmLq6kjON7ZoI2JMlBvpY3BYSdiP6s/qCT3jb1s9/DeJF0JELpAxiVSIxXDzfNKe+r7yedMIoLbknQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.0.tgz", + "integrity": "sha512-/Sge3BymXo4lKc31C8OINJgXLaw+7vL1/L1pGiBNpGrBiT8FQiaFpSYV0uhTaG4y78vcMBTMFsWaHDvuD+xGzQ==", "dev": true }, "@types/mustache": { @@ -931,9 +1019,21 @@ "dev": true }, "@types/node": { - "version": "14.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", - "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==", + "version": "14.14.22", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.22.tgz", + "integrity": "sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw==", + "dev": true + }, + "@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "dev": true + }, + "@types/prettier": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.6.tgz", + "integrity": "sha512-6gOkRe7OIioWAXfnO/2lFiv+SJichKVSys1mSsgyrYHSEjk8Ctv4tSR/Odvnu+HWlH2C8j53dahU03XmQdd5fA==", "dev": true }, "@types/request": { @@ -962,9 +1062,9 @@ } }, "@types/stack-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", - "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", + "integrity": "sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==", "dev": true }, "@types/striptags": { @@ -983,18 +1083,18 @@ "dev": true }, "@types/yargs": { - "version": "13.0.11", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.11.tgz", - "integrity": "sha512-NRqD6T4gktUrDi1o1wLH3EKC1o2caCr7/wR87ODcbVITQF106OM3sFN92ysZ++wqelOd1CTzatnOBRDYYG6wGQ==", + "version": "15.0.12", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.12.tgz", + "integrity": "sha512-f+fD/fQAo3BCbCDlrUpznF1A5Zp9rB0noS5vnoormHSIPFKL0Z2DcUJ3Gxp5ytH4uLRNxy7AwYUC9exZzqGMAw==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, "@types/yargs-parser": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz", - "integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==", + "version": "20.2.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz", + "integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==", "dev": true }, "abab": { @@ -1019,27 +1119,27 @@ "integrity": "sha512-XNP0PqF1XD19ZlLKvB7cMmnZswW4C/03pRHgirB30uSJTaS3A3V1/P4sS3HPvFmjoriPCJQs+JDSbm4bL1TxGQ==" }, "acorn-globals": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", - "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", "dev": true, "requires": { - "acorn": "^6.0.1", - "acorn-walk": "^6.0.1" + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" }, "dependencies": { "acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true } } }, "acorn-walk": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", - "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", "dev": true }, "ajv": { @@ -1054,19 +1154,62 @@ } }, "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", + "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", + "dev": true, + "requires": { + "type-fest": "^0.11.0" + }, + "dependencies": { + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true + } + } + }, + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "dev": true }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + } + } + }, "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", "dev": true, "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" } }, "arg": { @@ -1102,12 +1245,6 @@ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true }, - "array-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", - "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=", - "dev": true - }, "array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", @@ -1145,18 +1282,6 @@ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", "dev": true }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "dev": true - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1184,80 +1309,82 @@ "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "babel-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz", - "integrity": "sha512-ntuddfyiN+EhMw58PTNL1ph4C9rECiQXjI4nMMBKBaNjXvqLdkXpPRcMSr4iyBrJg/+wz9brFUD6RhOAT6r4Iw==", - "dev": true, - "requires": { - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/babel__core": "^7.1.0", - "babel-plugin-istanbul": "^5.1.0", - "babel-preset-jest": "^24.9.0", - "chalk": "^2.4.2", - "slash": "^2.0.0" + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", + "integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==", + "dev": true, + "requires": { + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/babel__core": "^7.1.7", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "slash": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "babel-plugin-istanbul": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz", - "integrity": "sha512-5LphC0USA8t4i1zCtjbbNb6jJj/9+X6P37Qfirc/70EQ34xKlMW+a1RHGwxGI+SwWpNwZ27HqvzAobeqaXwiZw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz", + "integrity": "sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", - "find-up": "^3.0.0", - "istanbul-lib-instrument": "^3.3.0", - "test-exclude": "^5.2.3" + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^4.0.0", + "test-exclude": "^6.0.0" } }, "babel-plugin-jest-hoist": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz", - "integrity": "sha512-2EMA2P8Vp7lG0RAzr4HXqtYwacfMErOuv1U3wrvxHX6rD1sV6xS3WXG3r8TRQ2r6w8OhvSdWt+z41hQNwNm3Xw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz", + "integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==", "dev": true, "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", "@types/babel__traverse": "^7.0.6" } }, + "babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + } + }, "babel-preset-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz", - "integrity": "sha512-izTUuhE4TMfTRPF92fFwD2QfdXaZW08qvWTFCI51V8rW5x00UuPgc3ajRoWofXOuxjfcOM5zzSYsQS3H8KGCAg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz", + "integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==", "dev": true, "requires": { - "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^24.9.0" + "babel-plugin-jest-hoist": "^26.6.2", + "babel-preset-current-node-syntax": "^1.0.0" } }, "balanced-match": { @@ -1328,16 +1455,6 @@ "tweetnacl": "^0.14.3" } }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dev": true, - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -1379,32 +1496,12 @@ } }, "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "fill-range": "^7.0.1" } }, "browser-process-hrtime": { @@ -1413,23 +1510,6 @@ "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", "dev": true }, - "browser-resolve": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", - "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", - "dev": true, - "requires": { - "resolve": "1.1.7" - }, - "dependencies": { - "resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", - "dev": true - } - } - }, "bs-logger": { "version": "0.2.6", "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", @@ -1483,16 +1563,6 @@ "unset-value": "^1.0.0" } }, - "call-bind": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", - "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.0" - } - }, "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -1520,22 +1590,53 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chai": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/chai/-/chai-3.5.0.tgz", - "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz", + "integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "pathval": "^1.1.0", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "requires": { - "assertion-error": "^1.0.1", - "deep-eql": "^0.1.3", - "type-detect": "^1.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, + "char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, "ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, + "cjs-module-lexer": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz", + "integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==", + "dev": true + }, "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -1560,14 +1661,14 @@ } }, "cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" } }, "co": { @@ -1576,6 +1677,12 @@ "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true }, + "collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -1693,18 +1800,26 @@ } }, "cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", "dev": true }, "cssstyle": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz", - "integrity": "sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", "dev": true, "requires": { - "cssom": "0.3.x" + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + } } }, "dashdash": { @@ -1716,27 +1831,14 @@ } }, "data-urls": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz", - "integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", "dev": true, "requires": { - "abab": "^2.0.0", - "whatwg-mimetype": "^2.2.0", - "whatwg-url": "^7.0.0" - }, - "dependencies": { - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - } + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" } }, "debug": { @@ -1754,6 +1856,12 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, + "decimal.js": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz", + "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==", + "dev": true + }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", @@ -1761,20 +1869,12 @@ "dev": true }, "deep-eql": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", - "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", "dev": true, "requires": { - "type-detect": "0.1.1" - }, - "dependencies": { - "type-detect": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", - "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", - "dev": true - } + "type-detect": "^4.0.0" } }, "deep-is": { @@ -1788,15 +1888,6 @@ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -1856,9 +1947,9 @@ "dev": true }, "detect-newline": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", - "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true }, "diff": { @@ -1868,18 +1959,26 @@ "dev": true }, "diff-sequences": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", - "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", + "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", "dev": true }, "domexception": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", - "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", "dev": true, "requires": { - "webidl-conversions": "^4.0.2" + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true + } } }, "ecc-jsbn": { @@ -1897,10 +1996,16 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", "dev": true }, + "emittery": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz", + "integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==", + "dev": true + }, "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, "encodeurl": { @@ -1927,36 +2032,6 @@ "is-arrayish": "^0.2.1" } }, - "es-abstract": { - "version": "1.17.7", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", - "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -2069,28 +2144,17 @@ } }, "expect": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", - "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz", + "integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "ansi-styles": "^3.2.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } + "@jest/types": "^26.6.2", + "ansi-styles": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0" } }, "express": { @@ -2332,34 +2396,13 @@ "bser": "2.1.1" } }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true - }, "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "to-regex-range": "^5.0.1" } }, "finalhandler": { @@ -2378,12 +2421,13 @@ } }, "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { - "locate-path": "^3.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, "for-in": { @@ -2429,21 +2473,14 @@ "dev": true }, "fs-extra": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "requires": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", - "universalify": "^1.0.0" - }, - "dependencies": { - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" - } + "universalify": "^2.0.0" } }, "fs.realpath": { @@ -2452,15 +2489,11 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.1.tgz", + "integrity": "sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw==", "dev": true, - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - } + "optional": true }, "function-bind": { "version": "1.1.1", @@ -2480,16 +2513,17 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, - "get-intrinsic": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", - "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true + }, + "get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true }, "get-stream": { "version": "4.1.0", @@ -2534,9 +2568,9 @@ "dev": true }, "graceful-fs": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" }, "graphql": { "version": "15.4.0", @@ -2547,7 +2581,8 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", - "dev": true + "dev": true, + "optional": true }, "handlebars": { "version": "4.7.6", @@ -2591,12 +2626,6 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true - }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -2618,6 +2647,26 @@ "kind-of": "^4.0.0" }, "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, "kind-of": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", @@ -2636,12 +2685,12 @@ "dev": true }, "html-encoding-sniffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", - "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", "dev": true, "requires": { - "whatwg-encoding": "^1.0.1" + "whatwg-encoding": "^1.0.5" } }, "html-escaper": { @@ -2673,6 +2722,12 @@ "sshpk": "^1.7.0" } }, + "human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -2683,13 +2738,13 @@ } }, "import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", + "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", "dev": true, "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" } }, "imurmurhash": { @@ -2712,14 +2767,11 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "dev": true, - "requires": { - "loose-envify": "^1.0.0" - } + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", + "dev": true }, "ipaddr.js": { "version": "1.9.0", @@ -2759,12 +2811,6 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, - "is-callable": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", - "dev": true - }, "is-ci": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", @@ -2774,6 +2820,15 @@ "ci-info": "^2.0.0" } }, + "is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, "is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", @@ -2794,12 +2849,6 @@ } } }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true - }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -2819,6 +2868,13 @@ } } }, + "is-docker": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", + "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", + "dev": true, + "optional": true + }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -2826,9 +2882,9 @@ "dev": true }, "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true }, "is-generator-fn": { @@ -2837,31 +2893,11 @@ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true - }, "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true }, "is-plain-object": { "version": "2.0.4", @@ -2872,14 +2908,11 @@ "isobject": "^3.0.1" } }, - "is-regex": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", - "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } + "is-potential-custom-element-name": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", + "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=", + "dev": true }, "is-stream": { "version": "1.1.0", @@ -2887,15 +2920,6 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } - }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -2908,10 +2932,14 @@ "dev": true }, "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "optional": true, + "requires": { + "is-docker": "^2.0.0" + } }, "isarray": { "version": "1.0.0", @@ -2937,24 +2965,21 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, "istanbul-lib-coverage": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", - "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", "dev": true }, "istanbul-lib-instrument": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", - "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", "dev": true, "requires": { - "@babel/generator": "^7.4.0", - "@babel/parser": "^7.4.3", - "@babel/template": "^7.4.0", - "@babel/traverse": "^7.4.3", - "@babel/types": "^7.4.0", - "istanbul-lib-coverage": "^2.0.5", - "semver": "^6.0.0" + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" }, "dependencies": { "semver": { @@ -2966,37 +2991,24 @@ } }, "istanbul-lib-report": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", - "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "requires": { - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "supports-color": "^6.1.0" - }, - "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" } }, "istanbul-lib-source-maps": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", - "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", "dev": true, "requires": { "debug": "^4.1.1", - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "rimraf": "^2.6.3", + "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" }, "dependencies": { @@ -3018,454 +3030,364 @@ } }, "istanbul-reports": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.7.tgz", - "integrity": "sha512-uu1F/L1o5Y6LzPVSVZXNOoD/KXpJue9aeLRd0sM9uMXfZvzomB0WxVamWb5ue8kA2vVWEmW7EG+A5n3f1kqHKg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", "dev": true, "requires": { - "html-escaper": "^2.0.0" + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" } }, "jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-24.9.0.tgz", - "integrity": "sha512-YvkBL1Zm7d2B1+h5fHEOdyjCG+sGMz4f8D86/0HiqJ6MB4MnDc8FgP5vdWsGnemOQro7lnYo8UakZ3+5A0jxGw==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz", + "integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==", "dev": true, "requires": { - "import-local": "^2.0.0", - "jest-cli": "^24.9.0" + "@jest/core": "^26.6.3", + "import-local": "^3.0.2", + "jest-cli": "^26.6.3" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true }, "jest-cli": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz", - "integrity": "sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz", + "integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==", "dev": true, "requires": { - "@jest/core": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", + "@jest/core": "^26.6.3", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", "exit": "^0.1.2", - "import-local": "^2.0.0", + "graceful-fs": "^4.2.4", + "import-local": "^3.0.2", "is-ci": "^2.0.0", - "jest-config": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", + "jest-config": "^26.6.3", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", "prompts": "^2.0.1", - "realpath-native": "^1.1.0", - "yargs": "^13.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" + "yargs": "^15.4.1" } } } }, "jest-changed-files": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz", - "integrity": "sha512-6aTWpe2mHF0DhL28WjdkO8LyGjs3zItPET4bMSeXU6T3ub4FPMw+mcOcbdGXQOAfmLcxofD23/5Bl9Z4AkFwqg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz", + "integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "execa": "^1.0.0", - "throat": "^4.0.0" - } - }, - "jest-config": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz", - "integrity": "sha512-RATtQJtVYQrp7fvWg6f5y3pEFj9I+H8sWw4aKxnDZ96mob5i5SD6ZEGWgMLXQ4LE8UurrjbdlLWdUeo+28QpfQ==", - "dev": true, - "requires": { - "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^24.9.0", - "@jest/types": "^24.9.0", - "babel-jest": "^24.9.0", - "chalk": "^2.0.1", - "glob": "^7.1.1", - "jest-environment-jsdom": "^24.9.0", - "jest-environment-node": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "micromatch": "^3.1.10", - "pretty-format": "^24.9.0", - "realpath-native": "^1.1.0" + "@jest/types": "^26.6.2", + "execa": "^4.0.0", + "throat": "^5.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "execa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "pump": "^3.0.0" } - } - } - }, - "jest-diff": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", - "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", - "dev": true, - "requires": { - "chalk": "^2.0.1", - "diff-sequences": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + }, + "is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "path-key": "^3.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "shebang-regex": "^3.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "isexe": "^2.0.0" } } } }, + "jest-config": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz", + "integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^26.6.3", + "@jest/types": "^26.6.2", + "babel-jest": "^26.6.3", + "chalk": "^4.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^26.6.2", + "jest-environment-node": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-jasmine2": "^26.6.3", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } + } + }, + "jest-diff": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", + "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + } + }, "jest-docblock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz", - "integrity": "sha512-F1DjdpDMJMA1cN6He0FNYNZlo3yYmOtRUnktrT9Q37njYzC5WEaDdmbynIgy0L/IvXvvgsG8OsqhLPXTpfmZAA==", + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", + "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", "dev": true, "requires": { - "detect-newline": "^2.1.0" + "detect-newline": "^3.0.0" } }, "jest-each": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz", - "integrity": "sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz", + "integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2" } }, "jest-environment-jsdom": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz", - "integrity": "sha512-Zv9FV9NBRzLuALXjvRijO2351DRQeLYXtpD4xNvfoVFw21IOKNhZAEUKcbiEtjTkm2GsJ3boMVgkaR7rN8qetA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", + "integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0", - "jsdom": "^11.5.1" + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2", + "jsdom": "^16.4.0" } }, "jest-environment-node": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz", - "integrity": "sha512-6d4V2f4nxzIzwendo27Tr0aFm+IXWa0XEUnaH6nU0FMaozxovt+sfRvh4J47wL1OvF83I3SSTu0XK+i4Bqe7uA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz", + "integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0" + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" } }, "jest-get-type": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", - "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "version": "26.3.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz", + "integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==", "dev": true }, "jest-haste-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", - "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz", + "integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "anymatch": "^2.0.0", + "@jest/types": "^26.6.2", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", - "fsevents": "^1.2.7", - "graceful-fs": "^4.1.15", - "invariant": "^2.2.4", - "jest-serializer": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.9.0", - "micromatch": "^3.1.10", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.4", + "jest-regex-util": "^26.0.0", + "jest-serializer": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "micromatch": "^4.0.2", "sane": "^4.0.3", "walker": "^1.0.7" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "jest-jasmine2": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz", - "integrity": "sha512-Cq7vkAgaYKp+PsX+2/JbTarrk0DmNhsEtqBXNwUHkdlbrTBLtMJINADf2mf5FkowNsq8evbPc07/qFO0AdKTzw==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz", + "integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", + "@jest/environment": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^24.9.0", + "expect": "^26.6.2", "is-generator-fn": "^2.0.0", - "jest-each": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0", - "throat": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "jest-each": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2", + "throat": "^5.0.0" } }, "jest-leak-detector": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz", - "integrity": "sha512-tYkFIDsiKTGwb2FG1w8hX9V0aUb2ot8zY/2nFg087dUageonw1zrLMP4W6zsRO59dPkTSKie+D4rhMuP9nRmrA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", + "integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==", "dev": true, "requires": { - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" } }, "jest-matcher-utils": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", - "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", + "integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "chalk": "^4.0.0", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" } }, "jest-message-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", - "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", + "integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/stack-utils": "^1.0.1", - "chalk": "^2.0.1", - "micromatch": "^3.1.10", - "slash": "^2.0.0", - "stack-utils": "^1.0.1" + "@jest/types": "^26.6.2", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "jest-mock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", - "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", + "integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==", "dev": true, "requires": { - "@jest/types": "^24.9.0" + "@jest/types": "^26.6.2", + "@types/node": "*" } }, "jest-pnp-resolver": { @@ -3475,411 +3397,262 @@ "dev": true }, "jest-regex-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", - "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", + "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", "dev": true }, "jest-resolve": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", - "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "browser-resolve": "^1.11.3", - "chalk": "^2.0.1", - "jest-pnp-resolver": "^1.2.1", - "realpath-native": "^1.1.0" + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz", + "integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^26.6.2", + "read-pkg-up": "^7.0.1", + "resolve": "^1.18.1", + "slash": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" } } } }, "jest-resolve-dependencies": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz", - "integrity": "sha512-Fm7b6AlWnYhT0BXy4hXpactHIqER7erNgIsIozDXWl5dVm+k8XdGVe1oTg1JyaFnOxarMEbax3wyRJqGP2Pq+g==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz", + "integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-snapshot": "^24.9.0" + "@jest/types": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-snapshot": "^26.6.2" } }, "jest-runner": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz", - "integrity": "sha512-KksJQyI3/0mhcfspnxxEOBueGrd5E4vV7ADQLT9ESaCzz02WnbdbKWIf5Mkaucoaj7obQckYPVX6JJhgUcoWWg==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz", + "integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==", "dev": true, "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.4.2", + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.7.1", "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-docblock": "^24.3.0", - "jest-haste-map": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-leak-detector": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-docblock": "^26.0.0", + "jest-haste-map": "^26.6.2", + "jest-leak-detector": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", "source-map-support": "^0.5.6", - "throat": "^4.0.0" + "throat": "^5.0.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "jest-runtime": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz", - "integrity": "sha512-8oNqgnmF3v2J6PVRM2Jfuj8oX3syKmaynlDMMKQ4iyzbQzIG6th5ub/lM2bCMTmoTKM3ykcUYI2Pw9xwNtjMnw==", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/source-map": "^24.3.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "chalk": "^2.0.1", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz", + "integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/globals": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0", + "cjs-module-lexer": "^0.6.0", + "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.3", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", - "strip-bom": "^3.0.0", - "yargs": "^13.3.0" + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.4.1" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } - } - }, - "jest-serializer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", - "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", - "dev": true - }, - "jest-snapshot": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", - "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", - "dev": true, - "requires": { - "@babel/types": "^7.0.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "expect": "^24.9.0", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "pretty-format": "^24.9.0", - "semver": "^6.2.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + } + }, + "jest-serializer": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz", + "integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==", + "dev": true, + "requires": { + "@types/node": "*", + "graceful-fs": "^4.2.4" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } + } + }, + "jest-snapshot": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz", + "integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^26.6.2", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.0.0", + "chalk": "^4.0.0", + "expect": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-haste-map": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "natural-compare": "^1.4.0", + "pretty-format": "^26.6.2", + "semver": "^7.3.2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", "dev": true }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "lru-cache": "^6.0.0" } } } }, "jest-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", - "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz", + "integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==", "dev": true, "requires": { - "@jest/console": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/source-map": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "callsites": "^3.0.0", - "chalk": "^2.0.1", - "graceful-fs": "^4.1.15", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", "is-ci": "^2.0.0", - "mkdirp": "^0.5.1", - "slash": "^2.0.0", - "source-map": "^0.6.0" + "micromatch": "^4.0.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true } } }, "jest-validate": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz", - "integrity": "sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz", + "integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "camelcase": "^5.3.1", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", + "@jest/types": "^26.6.2", + "camelcase": "^6.0.0", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", "leven": "^3.1.0", - "pretty-format": "^24.9.0" + "pretty-format": "^26.6.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } + "camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true } } }, "jest-watcher": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz", - "integrity": "sha512-+/fLOfKPXXYJDYlks62/4R4GoT+GU1tYZed99JSCOsmzkkF7727RqKrjNAxtfO4YpGv11wybgRvCjR73lK2GZw==", - "dev": true, - "requires": { - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "jest-util": "^24.9.0", - "string-length": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", + "integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==", + "dev": true, + "requires": { + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^26.6.2", + "string-length": "^4.0.1" } }, "jest-worker": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", - "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", "dev": true, "requires": { + "@types/node": "*", "merge-stream": "^2.0.0", - "supports-color": "^6.1.0" - }, - "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "supports-color": "^7.0.0" } }, "js-tokens": { @@ -3904,44 +3677,95 @@ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" }, "jsdom": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz", - "integrity": "sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw==", - "dev": true, - "requires": { - "abab": "^2.0.0", - "acorn": "^5.5.3", - "acorn-globals": "^4.1.0", - "array-equal": "^1.0.0", - "cssom": ">= 0.3.2 < 0.4.0", - "cssstyle": "^1.0.0", - "data-urls": "^1.0.0", - "domexception": "^1.0.1", - "escodegen": "^1.9.1", - "html-encoding-sniffer": "^1.0.2", - "left-pad": "^1.3.0", - "nwsapi": "^2.0.7", - "parse5": "4.0.0", - "pn": "^1.1.0", - "request": "^2.87.0", - "request-promise-native": "^1.0.5", - "sax": "^1.2.4", - "symbol-tree": "^3.2.2", - "tough-cookie": "^2.3.4", - "w3c-hr-time": "^1.0.1", - "webidl-conversions": "^4.0.2", - "whatwg-encoding": "^1.0.3", - "whatwg-mimetype": "^2.1.0", - "whatwg-url": "^6.4.1", - "ws": "^5.2.0", + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.4.0.tgz", + "integrity": "sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "acorn": "^7.1.1", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.2.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.0", + "domexception": "^2.0.1", + "escodegen": "^1.14.1", + "html-encoding-sniffer": "^2.0.1", + "is-potential-custom-element-name": "^1.0.0", + "nwsapi": "^2.2.0", + "parse5": "5.1.1", + "request": "^2.88.2", + "request-promise-native": "^1.0.8", + "saxes": "^5.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^3.0.1", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0", + "ws": "^7.2.3", "xml-name-validator": "^3.0.0" }, "dependencies": { "acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + } + } + }, + "tough-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", + "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", + "dev": true, + "requires": { + "ip-regex": "^2.1.0", + "psl": "^1.1.28", + "punycode": "^2.1.1" + } } } }, @@ -3951,10 +3775,10 @@ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, "json-schema": { @@ -3988,13 +3812,6 @@ "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" - }, - "dependencies": { - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - } } }, "jsprim": { @@ -4020,12 +3837,6 @@ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true }, - "left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==", - "dev": true - }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -4042,32 +3853,26 @@ "type-check": "~0.3.2" } }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true }, "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "p-locate": "^4.1.0" } }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true }, "lodash.memoize": { "version": "4.1.2", @@ -4081,29 +3886,28 @@ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", "dev": true }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" + "yallist": "^4.0.0" } }, "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "semver": "^6.0.0" }, "dependencies": { - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true } } @@ -4168,24 +3972,13 @@ "dev": true }, "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", "dev": true, "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "braces": "^3.0.1", + "picomatch": "^2.0.5" } }, "mime": { @@ -4207,6 +4000,12 @@ "mime-db": "1.40.0" } }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -4243,13 +4042,10 @@ } }, "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true }, "ms": { "version": "2.0.0", @@ -4262,13 +4058,6 @@ "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.1.0.tgz", "integrity": "sha512-0FsgP/WVq4mKyjolIyX+Z9Bd+3WS8GOwoUTyKXT5cTYMGeauNTi2HPCwERqseC1IHAy0Z7MDZnJBfjabd4O8GQ==" }, - "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", - "dev": true, - "optional": true - }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -4325,16 +4114,47 @@ "dev": true }, "node-notifier": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz", - "integrity": "sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.1.tgz", + "integrity": "sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA==", "dev": true, + "optional": true, "requires": { "growly": "^1.3.0", - "is-wsl": "^1.1.0", - "semver": "^5.5.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", "shellwords": "^0.1.1", - "which": "^1.3.0" + "uuid": "^8.3.0", + "which": "^2.0.2" + }, + "dependencies": { + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "optional": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "optional": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "optional": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "normalize-package-data": { @@ -4350,13 +4170,10 @@ } }, "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true }, "npm-run-path": { "version": "2.0.2", @@ -4409,18 +4226,6 @@ } } }, - "object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -4430,51 +4235,6 @@ "isobject": "^3.0.0" } }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.1.tgz", - "integrity": "sha512-6DtXgZ/lIZ9hqx4GtZETobXLR/ZLaa0aqV0kzbn80Rf8Z2e/XFnhA0I7p07N2wH8bBBltr2xQPi6sbKWAY2Eng==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - }, - "dependencies": { - "es-abstract": { - "version": "1.18.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", - "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-negative-zero": "^2.0.0", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - } - } - }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -4501,6 +4261,15 @@ "wrappy": "1" } }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -4512,18 +4281,15 @@ "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - } - }, - "p-each-series": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", - "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=", - "dev": true, - "requires": { - "p-reduce": "^1.0.0" + "word-wrap": "~1.2.3" } }, + "p-each-series": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz", + "integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==", + "dev": true + }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", @@ -4540,20 +4306,14 @@ } }, "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "p-limit": "^2.0.0" + "p-limit": "^2.2.0" } }, - "p-reduce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz", - "integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=", - "dev": true - }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -4561,19 +4321,21 @@ "dev": true }, "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, "requires": { + "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" } }, "parse5": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", - "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", "dev": true }, "parseurl": { @@ -4589,9 +4351,9 @@ "dev": true }, "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, "path-is-absolute": { @@ -4617,24 +4379,21 @@ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", "dev": true }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } + "pathval": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz", + "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", + "dev": true }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", "dev": true }, "pirates": { @@ -4647,20 +4406,14 @@ } }, "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "requires": { - "find-up": "^3.0.0" + "find-up": "^4.0.0" } }, - "pn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", - "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==", - "dev": true - }, "posix-character-classes": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", @@ -4674,38 +4427,21 @@ "dev": true }, "prettier": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", - "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", "dev": true }, "pretty-format": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", - "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "ansi-regex": "^4.0.0", - "ansi-styles": "^3.2.0", - "react-is": "^16.8.4" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } + "@jest/types": "^26.6.2", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^17.0.1" } }, "prompts": { @@ -4772,39 +4508,40 @@ } }, "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.1.tgz", + "integrity": "sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==", "dev": true }, "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "dev": true, "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } } }, "read-pkg-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", - "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", - "dev": true, - "requires": { - "find-up": "^3.0.0", - "read-pkg": "^3.0.0" - } - }, - "realpath-native": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz", - "integrity": "sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "dev": true, "requires": { - "util.promisify": "^1.0.0" + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" } }, "regex-not": { @@ -4904,18 +4641,18 @@ } }, "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "requires": { - "resolve-from": "^3.0.0" + "resolve-from": "^5.0.0" } }, "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true }, "resolve-url": { @@ -4931,9 +4668,9 @@ "dev": true }, "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" @@ -4979,13 +4716,140 @@ "micromatch": "^3.1.4", "minimist": "^1.1.1", "walker": "~1.0.5" + }, + "dependencies": { + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } } }, - "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", - "dev": true + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "requires": { + "xmlchars": "^2.2.0" + } }, "semver": { "version": "5.7.0", @@ -5088,7 +4952,8 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", - "dev": true + "dev": true, + "optional": true }, "signal-exit": { "version": "3.0.3", @@ -5103,9 +4968,9 @@ "dev": true }, "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, "slug": { @@ -5325,9 +5190,9 @@ } }, "stack-utils": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.4.tgz", - "integrity": "sha512-IPDJfugEGbfizBwBZRZ3xpccMdRyP5lqsBWXGQWimVjua/ccLCeMOAVjlc1R7LxFjo5sEDhyNIXd8mo/AiDS9w==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw==", "dev": true, "requires": { "escape-string-regexp": "^2.0.0" @@ -5375,84 +5240,39 @@ "dev": true }, "string-length": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", - "integrity": "sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", + "integrity": "sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==", "dev": true, "requires": { - "astral-regex": "^1.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" } }, "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "string.prototype.trimend": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", - "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", - "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", "dev": true, "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" } }, "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - } + "ansi-regex": "^5.0.0" } }, "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, "strip-eof": { @@ -5461,33 +5281,83 @@ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, "striptags": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/striptags/-/striptags-3.1.1.tgz", "integrity": "sha1-yMPn/db7S7OjKjt1LltePjgJPr0=" }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + } + } + }, + "supports-hyperlinks": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz", + "integrity": "sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==", + "dev": true, + "requires": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + } + } + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + } + }, "test-exclude": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz", - "integrity": "sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "requires": { - "glob": "^7.1.3", - "minimatch": "^3.0.4", - "read-pkg-up": "^4.0.0", - "require-main-filename": "^2.0.0" + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" } }, "throat": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz", - "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", "dev": true }, "tmpl": { @@ -5535,13 +5405,12 @@ } }, "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "is-number": "^7.0.0" } }, "toidentifier": { @@ -5567,46 +5436,57 @@ } }, "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", + "integrity": "sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==", "dev": true, "requires": { - "punycode": "^2.1.0" + "punycode": "^2.1.1" } }, "ts-jest": { - "version": "24.3.0", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-24.3.0.tgz", - "integrity": "sha512-Hb94C/+QRIgjVZlJyiWwouYUF+siNJHJHknyspaOcZ+OQAIdFG/UrdQVXw/0B8Z3No34xkUXZJpOTy9alOWdVQ==", + "version": "26.4.4", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.4.4.tgz", + "integrity": "sha512-3lFWKbLxJm34QxyVNNCgXX1u4o/RV0myvA2y2Bxm46iGIjKlaY0own9gIckbjZJPn+WaJEnfPPJ20HHGpoq4yg==", "dev": true, "requires": { + "@types/jest": "26.x", "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", + "jest-util": "^26.1.0", "json5": "2.x", "lodash.memoize": "4.x", "make-error": "1.x", - "mkdirp": "0.x", - "resolve": "1.x", - "semver": "^5.5", - "yargs-parser": "10.x" + "mkdirp": "1.x", + "semver": "7.x", + "yargs-parser": "20.x" }, "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true + "@types/jest": { + "version": "26.0.20", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.20.tgz", + "integrity": "sha512-9zi2Y+5USJRxd0FsahERhBwlcvFh6D2GLQnY2FH2BzK8J9s9omvNHIbvABwIluXa0fD8XVKMLTO0aOEuUfACAA==", + "dev": true, + "requires": { + "jest-diff": "^26.0.0", + "pretty-format": "^26.0.0" + } }, - "yargs-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", - "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, "requires": { - "camelcase": "^4.1.0" + "lru-cache": "^6.0.0" } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, @@ -5741,9 +5621,15 @@ } }, "type-detect": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", - "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, "type-is": { @@ -5756,10 +5642,19 @@ "mime-types": "~2.1.24" } }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "requires": { + "is-typedarray": "^1.0.0" + } + }, "typescript": { - "version": "3.9.7", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", - "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz", + "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==", "dev": true }, "uglify-js": { @@ -5782,9 +5677,9 @@ } }, "universalify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" }, "unpipe": { "version": "1.0.0", @@ -5852,18 +5747,6 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, - "util.promisify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", - "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.2", - "has-symbols": "^1.0.1", - "object.getownpropertydescriptors": "^2.1.0" - } - }, "utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", @@ -5875,6 +5758,25 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, + "v8-to-istanbul": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.0.tgz", + "integrity": "sha512-uXUVqNUCLa0AH1vuVxzi+MI4RfxEOKt9pBgKwHbgH7st8Kv2P1m+jvWNnektzBh5QShF3ODgKmUFCf38LnVz1g==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -5910,6 +5812,15 @@ "browser-process-hrtime": "^1.0.0" } }, + "w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "requires": { + "xml-name-validator": "^3.0.0" + } + }, "walker": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz", @@ -5920,9 +5831,9 @@ } }, "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", "dev": true }, "whatwg-encoding": { @@ -5941,14 +5852,14 @@ "dev": true }, "whatwg-url": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz", - "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", + "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", "dev": true, "requires": { "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" + "tr46": "^2.0.2", + "webidl-conversions": "^6.1.0" } }, "which": { @@ -5978,25 +5889,14 @@ "dev": true }, "wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" } }, "wrappy": { @@ -6005,24 +5905,22 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz", - "integrity": "sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "dev": true, "requires": { - "graceful-fs": "^4.1.11", "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" } }, "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", - "dev": true, - "requires": { - "async-limiter": "~1.0.0" - } + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.2.tgz", + "integrity": "sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==", + "dev": true }, "xml-name-validator": { "version": "3.0.0", @@ -6030,34 +5928,47 @@ "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", "dev": true }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, "y18n": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", "dev": true }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "yargs": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", - "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", "require-main-filename": "^2.0.0", "set-blocking": "^2.0.0", - "string-width": "^3.0.0", + "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", - "yargs-parser": "^13.1.2" + "yargs-parser": "^18.1.2" } }, "yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, "requires": { "camelcase": "^5.0.0", diff --git a/package.json b/package.json index 1116c41a..b1e8f68e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "doc.scaphold": "node bin/graphdoc.js -c example.scaphold.json -f -v", "doc.starwars": "node bin/graphdoc.js -c example.starWars.json -f -v", "doc.starwars-js": "node bin/graphdoc.js -c example.starWars-js.json -f -v", - "test": "jest" + "test": "jest", + "format": "prettier lib plugins template test --write" }, "repository": { "type": "git", @@ -38,39 +39,38 @@ "homepage": "https://github.com/2fd/graphdoc#readme", "devDependencies": { "@salesforce-ux/design-system": "2.2.1", - "@types/bluebird": "^3.0.37", + "@types/bluebird": "^3.5.33", "@types/chai": "^4.2.14", - "@types/fs-extra": "0.0.32", + "@types/fs-extra": "9.0.6", "@types/glob": "^7.1.3", - "@types/graphql": "^0.8.6", - "@types/jest": "^18.1.1", + "@types/graphql": "^14.2.3", + "@types/jest": "^26.0.20", "@types/marked": "1.2.1", - "@types/mocha": "^8.0.4", + "@types/mocha": "^8.2.0", "@types/mustache": "^0.8.28", - "@types/node": "^14.14.10", + "@types/node": "^14.14.22", "@types/request": "^2.48.5", "@types/striptags": "^3.1.1", - "chai": "^3.5.0", + "chai": "^4.2.0", "express": "^4.17.1", "express-graphql": "^0.12.0", "handlebars": "^4.7.6", - "jest": "^24.9.0", - "prettier": "^1.18.2", - "ts-jest": "^24.3.0", + "jest": "^26.6.3", + "prettier": "^2.2.1", + "ts-jest": "^26.4.4", "ts-node": "^9.1.1", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", - "typescript": "^3.9.7" + "typescript": "^4.1.3" }, "dependencies": { "@2fd/command": "^1.1.2", "acorn": "^8.0.4", - "bluebird": "^3.5.5", + "bluebird": "^3.7.2", "deepmerge": "^4.2.2", - "fs-extra": "^9.0.1", + "fs-extra": "^9.1.0", "glob": "^7.1.0", "graphql": "^15.4.0", - "lodash": "^4.17.20", "marked": "^1.2.5", "mustache": "^4.1.0", "request": "^2.88.0", diff --git a/plugins/default.ts b/plugins/default.ts index a297868e..2326308f 100644 --- a/plugins/default.ts +++ b/plugins/default.ts @@ -2,7 +2,7 @@ import { DocumentSectionInterface, NavigationSectionInterface, PluginInterface, - Schema + Schema, } from "../lib/interface"; import { Plugin } from "../lib/utility"; import RequireByPlugin from "./document.require-by"; @@ -16,7 +16,8 @@ import NavigationScalar from "./navigation.scalar"; import NavigationSchema from "./navigation.schema"; import NavigationUnion from "./navigation.union"; -export default class NavigationDirectives extends Plugin +export default class NavigationDirectives + extends Plugin implements PluginInterface { plugins: PluginInterface[]; @@ -32,7 +33,7 @@ export default class NavigationDirectives extends Plugin new NavigationInput(document, graphdocPackage, projectPackage), new NavigationDirective(document, graphdocPackage, projectPackage), new DocumentSchema(document, graphdocPackage, projectPackage), - new RequireByPlugin(document, graphdocPackage, projectPackage) + new RequireByPlugin(document, graphdocPackage, projectPackage), ]; } diff --git a/plugins/document.require-by/index.ts b/plugins/document.require-by/index.ts index 227affcc..2683bf62 100644 --- a/plugins/document.require-by/index.ts +++ b/plugins/document.require-by/index.ts @@ -4,7 +4,7 @@ import { DocumentSectionInterface, PluginInterface, Schema, - SchemaType + SchemaType, } from "../../lib/interface"; import { ENUM, @@ -14,7 +14,7 @@ import { OBJECT, Plugin, SCALAR, - UNION + UNION, } from "../../lib/utility"; export default class RequireByPlugin extends Plugin implements PluginInterface { @@ -60,15 +60,15 @@ export default class RequireByPlugin extends Plugin implements PluginInterface { const deps: string[] = []; if (Array.isArray(type.interfaces) && type.interfaces.length > 0) { - type.interfaces.forEach(i => deps.push(i.name)); + type.interfaces.forEach((i) => deps.push(i.name)); } if (Array.isArray(type.fields) && type.fields.length > 0) { - type.fields.forEach(field => { + type.fields.forEach((field) => { deps.push(getTypeOf(field.type).name); if (Array.isArray(field.args) && field.args.length > 0) { - field.args.forEach(arg => { + field.args.forEach((arg) => { deps.push(getTypeOf(arg.type).name); }); } @@ -76,7 +76,7 @@ export default class RequireByPlugin extends Plugin implements PluginInterface { } if (Array.isArray(type.inputFields) && type.inputFields.length > 0) { - type.inputFields.forEach(field => { + type.inputFields.forEach((field) => { deps.push(getTypeOf(field.type).name); }); } @@ -86,7 +86,7 @@ export default class RequireByPlugin extends Plugin implements PluginInterface { Array.isArray(type.possibleTypes) && type.possibleTypes.length > 0 ) { - type.possibleTypes.forEach(t => { + type.possibleTypes.forEach((t) => { deps.push(getTypeOf(t).name); }); } @@ -127,8 +127,8 @@ export default class RequireByPlugin extends Plugin implements PluginInterface { description: '
' + "This element is not required by anyone" + - "
" - } + "", + }, ]; } @@ -140,19 +140,19 @@ export default class RequireByPlugin extends Plugin implements PluginInterface { description: '
    ' + requireBy - .filter(t => { + .filter((t) => { return used.has(t.name) ? false : used.add(t.name); }) - .map(t => this.getDescription(t)) + .map((t) => this.getDescription(t)) .join("") + - "
" - } + "", + }, ]; } getHeaders(): string[] { return [ - '' + '', ]; } } diff --git a/plugins/document.require-by/require-by.css b/plugins/document.require-by/require-by.css index a8871b6c..65a7fd7a 100644 --- a/plugins/document.require-by/require-by.css +++ b/plugins/document.require-by/require-by.css @@ -1,43 +1,43 @@ div.require-by.anyone, ul.require-by a { - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - display: block; + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: block; } div.require-by.anyone { - background-color: #f0f8fc; - border: 1px solid #d8dde6; - color: grey; - padding: 2rem; - text-align: center; - margin: 1rem 0; - border-radius: 0.25rem; + background-color: #f0f8fc; + border: 1px solid #d8dde6; + color: grey; + padding: 2rem; + text-align: center; + margin: 1rem 0; + border-radius: 0.25rem; } ul.require-by { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } ul.require-by a { - border-left: .25rem solid transparent; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - padding: .5rem 1.5rem; + border-left: 0.25rem solid transparent; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + padding: 0.5rem 1.5rem; } ul.require-by a:hover { - text-decoration: none; - background-color: #f0f8fc; - border-color: #d8dde6; - border-left-color: #005fb2; + text-decoration: none; + background-color: #f0f8fc; + border-color: #d8dde6; + border-left-color: #005fb2; } ul.require-by a em { - margin-left: 1rem; - font-size: .75rem; - color: grey; -} \ No newline at end of file + margin-left: 1rem; + font-size: 0.75rem; + color: grey; +} diff --git a/plugins/document.schema/assets/code.css b/plugins/document.schema/assets/code.css index 89919bfd..03d97cc3 100644 --- a/plugins/document.schema/assets/code.css +++ b/plugins/document.schema/assets/code.css @@ -1,29 +1,29 @@ .code { background-color: #fff; - color: #4D4D4C; - border: 1px solid #4D4D4C; + color: #4d4d4c; + border: 1px solid #4d4d4c; font-size: 14px; - font-family: 'Ubuntu Mono'; + font-family: "Ubuntu Mono"; list-style-type: decimal; - border-radius: 0.25rem; + border-radius: 0.25rem; } .code .gutter { background: #f6f6f6; - color: #4D4D4C; + color: #4d4d4c; } .code .print-margin { width: 1px; - background: #f6f6f6 + background: #f6f6f6; } .code .row:hover { - background: #EFEFEF; + background: #efefef; } .code .td-index { - color: rgba(27, 31, 35, .3); + color: rgba(27, 31, 35, 0.3); padding: 1px 8px 1px 16px; text-align: right; width: 1%; @@ -31,7 +31,7 @@ .code .td-index:hover { cursor: pointer; - color: rgba(27, 31, 35, .6); + color: rgba(27, 31, 35, 0.6); } .code .td-code { @@ -47,40 +47,40 @@ } .code .cursor { - color: #AEAFAD + color: #aeafad; } .code .marker-layer .selection { - background: #D6D6D6 + background: #d6d6d6; } .code.multiselect .selection.start { - box-shadow: 0 0 3px 0px #FFFFFF; + box-shadow: 0 0 3px 0px #ffffff; } .code .marker-layer .step { - background: rgb(255, 255, 0) + background: rgb(255, 255, 0); } .code .marker-layer .bracket { margin: -1px 0 0 -1px; - border: 1px solid #D1D1D1 + border: 1px solid #d1d1d1; } .code .marker-layer .active-line { - background: #EFEFEF + background: #efefef; } .code .gutter-active-line { - background-color: #dcdcdc + background-color: #dcdcdc; } .code .marker-layer .selected-word { - border: 1px solid #D6D6D6 + border: 1px solid #d6d6d6; } .code .invisible { - color: #D1D1D1 + color: #d1d1d1; } .code .keyword, @@ -88,11 +88,11 @@ .code .storage, .code .storage.type, .code .support.type { - color: #8959A8 + color: #8959a8; } .code .keyword.operator { - color: #3E999F + color: #3e999f; } .code .constant.character, @@ -100,44 +100,44 @@ .code .constant.numeric, .code .keyword.other.unit, .code .support.constant { - color: #F5871F + color: #f5871f; } .code .constant.other { - color: #666969 + color: #666969; } .code .invalid { - color: #FFFFFF; - background-color: #C82829 + color: #ffffff; + background-color: #c82829; } .code .invalid.deprecated { - color: #FFFFFF; - background-color: #8959A8 + color: #ffffff; + background-color: #8959a8; } .code .fold { - background-color: #4271AE; - border-color: #4D4D4C + background-color: #4271ae; + border-color: #4d4d4c; } .code .entity.name.function, .code .support.function, .code .variable.parameter, .code .variable { - color: #4271AE + color: #4271ae; } .code .support.class, .code .support.type { - color: #C99E00 + color: #c99e00; } .code .heading, .code .markup.heading, .code .string { - color: #718C00 + color: #718c00; } .code .entity.name.tag, @@ -145,13 +145,14 @@ .code .meta.tag, .code .string.regexp, .code .variable { - color: #C82829 + color: #c82829; } .code .comment { - color: #8E908C + color: #8e908c; } .code .indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y -} \ No newline at end of file + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) + right repeat-y; +} diff --git a/plugins/document.schema/assets/line-link.js b/plugins/document.schema/assets/line-link.js index 5ba06240..913799f6 100644 --- a/plugins/document.schema/assets/line-link.js +++ b/plugins/document.schema/assets/line-link.js @@ -1,11 +1,11 @@ (function () { ready(function () { - var tables = window.document.getElementsByClassName('code'); + var tables = window.document.getElementsByClassName("code"); for (var i = 0; i < tables.length; i++) { var table = tables[i]; - table.addEventListener('click', onClick); + table.addEventListener("click", onClick); } window.addEventListener("hashchange", onHashChange, false); @@ -14,58 +14,66 @@ }); function onHashChange() { - var id = window.location.href.split('#')[1]; + var id = window.location.href.split("#")[1]; if (!id) { return; } - var lcid = id.indexOf('C') === -1 ? id.replace('L', 'LC') : id; + var lcid = id.indexOf("C") === -1 ? id.replace("L", "LC") : id; var lineCode = window.document.getElementById(lcid); if (!lineCode) { return; } - var highlighted = lineCode.closest('.code').getElementsByClassName('highlighted'); + var highlighted = lineCode + .closest(".code") + .getElementsByClassName("highlighted"); for (var i = 0; i < highlighted.length; i++) { - highlighted[i].classList.remove('highlighted'); + highlighted[i].classList.remove("highlighted"); } - lineCode.classList.add('highlighted'); + lineCode.classList.add("highlighted"); } function onClick(e) { var target = e.target; - if (!target.classList.contains('td-index')) { + if (!target.classList.contains("td-index")) { return; } - var href = window.location.href.split('#')[0]; + var href = window.location.href.split("#")[0]; - window.location.href = href + '#' + target.id; + window.location.href = href + "#" + target.id; } function ready(fn) { - if (document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading"){ + if ( + document.attachEvent + ? document.readyState === "complete" + : document.readyState !== "loading" + ) { fn(); } else { - document.addEventListener('DOMContentLoaded', fn); + document.addEventListener("DOMContentLoaded", fn); } } })(); // https://developer.mozilla.org/ru/docs/Web/API/Element/closest -(function(e){ - e.closest = e.closest || function(css){ - var node = this; - - while (node) { - if (node.matches(css)) return node; - else node = node.parentElement; - } - return null; - } -})(Element.prototype); \ No newline at end of file +(function (e) { + e.closest = + e.closest || + function (css) { + var node = this; + + while (node) { + if (node.matches(css)) return node; + else node = node.parentElement; + } + return null; + }; +})(Element.prototype); diff --git a/plugins/document.schema/index.ts b/plugins/document.schema/index.ts index 41c7aa23..09d516ae 100644 --- a/plugins/document.schema/index.ts +++ b/plugins/document.schema/index.ts @@ -8,7 +8,7 @@ import { InputValue, PluginInterface, Schema, - SchemaType + SchemaType, } from "../../lib/interface"; import { DocumentSection, @@ -19,7 +19,7 @@ import { OBJECT, Plugin, SCALAR, - UNION + UNION, } from "../../lib/utility"; const MAX_CODE_LEN = 80; @@ -32,14 +32,14 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { return [ '', '', - '' + '', ]; } getAssets() { return [ resolve(__dirname, "assets/code.css"), - resolve(__dirname, "assets/line-link.js") + resolve(__dirname, "assets/line-link.js"), ]; } @@ -49,7 +49,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { if (code) { return [ - new DocumentSection("GraphQL Schema definition", this.html.code(code)) + new DocumentSection("GraphQL Schema definition", this.html.code(code)), ]; } @@ -62,7 +62,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { } const directive = this.document.directives.find( - eachDirective => eachDirective.name === (buildForType as string) + (eachDirective) => eachDirective.name === (buildForType as string) ); if (directive) { @@ -70,7 +70,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { } const type = this.document.types.find( - eachType => eachType.name === (buildForType as string) + (eachType) => eachType.name === (buildForType as string) ); if (type) { @@ -117,7 +117,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { return ( "(" + - fieldOrDirectives.args.map(arg => this.argument(arg)).join(", ") + + fieldOrDirectives.args.map((arg) => this.argument(arg)).join(", ") + ")" ); } @@ -162,7 +162,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { descriptions.concat(this.argumentDescription(arg)); return fieldOrDirectives.args.reduce(reduceArguments, [ - this.html.comment("Arguments") + this.html.comment("Arguments"), ]); } @@ -202,10 +202,10 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { description(description: string | null): string[] { if (description) { return wrap(description, { - width: MAX_CODE_LEN + width: MAX_CODE_LEN, }) .split("\n") - .map(l => this.html.comment(l)); + .map((l) => this.html.comment(l)); } return []; @@ -219,7 +219,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { this.arguments(directive) + " on " + directive.locations - .map(location => this.html.keyword(location)) + .map((location) => this.html.keyword(location)) .join(" | ") ); } @@ -227,7 +227,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { enum(type: SchemaType): string { const reduceEnumValues = (lines: string[], enumValue: EnumValue) => lines.concat([""], this.description(enumValue.description), [ - this.html.property(enumValue.name) + this.deprecated(enumValue) + this.html.property(enumValue.name) + this.deprecated(enumValue), ]); return ( @@ -236,7 +236,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { ) + (type.enumValues || []) .reduce(reduceEnumValues, []) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join("") + this.html.line("}") ); @@ -258,11 +258,11 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { // ): ReturnType [@deprecated...] [ this.html.property(field.name) + "(", - ...this.argumentsMultiline(field).map(l => this.html.tab(l)), + ...this.argumentsMultiline(field).map((l) => this.html.tab(l)), "): " + this.html.useIdentifier(field.type, this.url(field.type)) + " " + - this.deprecated(field) + this.deprecated(field), ] : // Single line // fieldName(argumentName: ArgumentType): ReturnType [@deprecated...] @@ -272,14 +272,14 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { ": " + this.html.useIdentifier(field.type, this.url(field.type)) + " " + - this.deprecated(field) + this.deprecated(field), ]; return ([] as string[]) .concat(fieldDescription) .concat(argumentsDescription) .concat(fieldDefinition) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join(""); } @@ -298,7 +298,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { let fields = ""; fields += this.html.line(); fields += (type.fields || []) - .map(field => this.field(field)) + .map((field) => this.field(field)) .join(this.html.line()); if (type.fields && type.fields.length > 0) { @@ -320,7 +320,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { inputValues(inputValues: InputValue[]): string { return inputValues - .map(inputValue => + .map((inputValue) => this.html.line(this.html.tab(this.inputValue(inputValue))) ) .join(""); @@ -334,9 +334,9 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { .concat([ this.html.property(arg.name) + ": " + - this.html.useIdentifier(arg.type, this.url(arg.type)) // + ' ' + this.deprecated(arg) + this.html.useIdentifier(arg.type, this.url(arg.type)), // + ' ' + this.deprecated(arg) ]) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join(""); } @@ -352,7 +352,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { object(type: SchemaType): string { const interfaces = (type.interfaces || []) - .map(i => this.html.useIdentifier(i, this.url(i))) + .map((i) => this.html.useIdentifier(i, this.url(i))) .join(", "); const implement = @@ -386,7 +386,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { definition += this.html.line() + this.description(schema.queryType.description) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join("") + this.html.line( this.html.tab( @@ -404,7 +404,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { definition += this.html.line() + this.description(schema.mutationType.description) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join("") + this.html.line( this.html.tab( @@ -422,7 +422,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { definition += this.html.line() + this.description(schema.subscriptionType.description) - .map(line => this.html.line(this.html.tab(line))) + .map((line) => this.html.line(this.html.tab(line))) .join("") + this.html.line( this.html.tab( @@ -475,7 +475,7 @@ export default class SchemaPlugin extends Plugin implements PluginInterface { this.html.identifier(type) + " = " + (type.possibleTypes || []) - .map(eachType => + .map((eachType) => this.html.useIdentifier(eachType, this.url(eachType)) ) .join(" | ") diff --git a/plugins/navigation.directive.test.ts b/plugins/navigation.directive.test.ts index c50a2983..1afda0d9 100644 --- a/plugins/navigation.directive.test.ts +++ b/plugins/navigation.directive.test.ts @@ -3,22 +3,20 @@ import projectPackage from "../test/empty.package.json"; import schema from "../test/empty.schema.json"; describe("pĺugins/navigation.directive#NavigationDirectives", () => { - test("plugin return empty", () => { const plugin = new NavigationDirectives( { ...schema.data.__schema, - directives: [] + directives: [], }, projectPackage, {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationDirectives( schema.data.__schema, projectPackage, @@ -31,9 +29,9 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { items: [ { text: "deprecated", href: "/deprecated.doc.html", isActive: false }, { text: "include", href: "/include.doc.html", isActive: false }, - { text: "skip", href: "/skip.doc.html", isActive: false } - ] - } + { text: "skip", href: "/skip.doc.html", isActive: false }, + ], + }, ]); }); }); diff --git a/plugins/navigation.directive.ts b/plugins/navigation.directive.ts index b933be6e..4079f720 100644 --- a/plugins/navigation.directive.ts +++ b/plugins/navigation.directive.ts @@ -1,11 +1,12 @@ import { NavigationItemInterface, PluginInterface } from "../lib/interface"; import { NavigationItem, NavigationSection, Plugin } from "../lib/utility"; -export default class NavigationDirectives extends Plugin +export default class NavigationDirectives + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.directives.map( - directive => + (directive) => new NavigationItem( directive.name, this.url(directive), diff --git a/plugins/navigation.enum.test.ts b/plugins/navigation.enum.test.ts index 761ede53..1c8438a4 100644 --- a/plugins/navigation.enum.test.ts +++ b/plugins/navigation.enum.test.ts @@ -13,11 +13,15 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationEnums(schema.data.__schema, projectPackage, {}); + const plugin = new NavigationEnums( + schema.data.__schema, + projectPackage, + {} + ); expect(plugin.getNavigations("Query")).toEqual([ { title: "Enums", @@ -25,11 +29,11 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { { text: "__DirectiveLocation", href: "/directivelocation.spec.html", - isActive: false + isActive: false, }, - { text: "__TypeKind", href: "/typekind.spec.html", isActive: false } - ] - } + { text: "__TypeKind", href: "/typekind.spec.html", isActive: false }, + ], + }, ]); }); }); diff --git a/plugins/navigation.enum.ts b/plugins/navigation.enum.ts index 8a081fed..f222a800 100644 --- a/plugins/navigation.enum.ts +++ b/plugins/navigation.enum.ts @@ -3,15 +3,15 @@ import { ENUM, NavigationItem, NavigationSection, - Plugin + Plugin, } from "../lib/utility"; export default class NavigationEnums extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.types - .filter(type => type.kind === ENUM) + .filter((type) => type.kind === ENUM) .map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/plugins/navigation.input.test.ts b/plugins/navigation.input.test.ts index cb62d488..709808cb 100644 --- a/plugins/navigation.input.test.ts +++ b/plugins/navigation.input.test.ts @@ -13,11 +13,15 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationInputs(schema.data.__schema, projectPackage, {}); + const plugin = new NavigationInputs( + schema.data.__schema, + projectPackage, + {} + ); expect(plugin.getNavigations("Query")).toEqual([ { title: "Input Objects", @@ -25,10 +29,10 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { { text: "AddCommentInput", href: "/addcommentinput.doc.html", - isActive: false - } - ] - } + isActive: false, + }, + ], + }, ]); }); }); diff --git a/plugins/navigation.input.ts b/plugins/navigation.input.ts index e6a046bb..579f8aee 100644 --- a/plugins/navigation.input.ts +++ b/plugins/navigation.input.ts @@ -3,16 +3,17 @@ import { INPUT_OBJECT, NavigationItem, NavigationSection, - Plugin + Plugin, } from "../lib/utility"; -export default class NavigationInputs extends Plugin +export default class NavigationInputs + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.types - .filter(type => type.kind === INPUT_OBJECT) + .filter((type) => type.kind === INPUT_OBJECT) .map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/plugins/navigation.interface.test.ts b/plugins/navigation.interface.test.ts index de36f06d..d8f09a95 100644 --- a/plugins/navigation.interface.test.ts +++ b/plugins/navigation.interface.test.ts @@ -13,7 +13,7 @@ describe("pĺugins/navigation.interface#NavigationInterfaces", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) + expect(plugin.getNavigations("Query")).toEqual([]); }); test("plugin return navigation", () => { @@ -28,82 +28,82 @@ describe("pĺugins/navigation.interface#NavigationInterfaces", () => { title: "Interfaces", items: [ { - "href": "/author.doc.html", - "isActive": false, - "text": "Author", + href: "/author.doc.html", + isActive: false, + text: "Author", }, { - "href": "/comment.doc.html", - "isActive": false, - "text": "Comment", + href: "/comment.doc.html", + isActive: false, + text: "Comment", }, { - "href": "/gitobject.doc.html", - "isActive": false, - "text": "GitObject", + href: "/gitobject.doc.html", + isActive: false, + text: "GitObject", }, { - "href": "/gitsignature.doc.html", - "isActive": false, - "text": "GitSignature", + href: "/gitsignature.doc.html", + isActive: false, + text: "GitSignature", }, { - "href": "/issueevent.doc.html", - "isActive": false, - "text": "IssueEvent", + href: "/issueevent.doc.html", + isActive: false, + text: "IssueEvent", }, { - "href": "/issueish.doc.html", - "isActive": false, - "text": "Issueish", + href: "/issueish.doc.html", + isActive: false, + text: "Issueish", }, { - "href": "/node.doc.html", - "isActive": false, - "text": "Node", + href: "/node.doc.html", + isActive: false, + text: "Node", }, { - "href": "/projectowner.doc.html", - "isActive": false, - "text": "ProjectOwner", + href: "/projectowner.doc.html", + isActive: false, + text: "ProjectOwner", }, { - "href": "/reactable.doc.html", - "isActive": false, - "text": "Reactable", + href: "/reactable.doc.html", + isActive: false, + text: "Reactable", }, { - "href": "/repositoryinfo.doc.html", - "isActive": false, - "text": "RepositoryInfo", + href: "/repositoryinfo.doc.html", + isActive: false, + text: "RepositoryInfo", }, { - "href": "/repositorynode.doc.html", - "isActive": false, - "text": "RepositoryNode", + href: "/repositorynode.doc.html", + isActive: false, + text: "RepositoryNode", }, { - "href": "/repositoryowner.doc.html", - "isActive": false, - "text": "RepositoryOwner", + href: "/repositoryowner.doc.html", + isActive: false, + text: "RepositoryOwner", }, { - "href": "/subscribable.doc.html", - "isActive": false, - "text": "Subscribable", + href: "/subscribable.doc.html", + isActive: false, + text: "Subscribable", }, { - "href": "/timeline.doc.html", - "isActive": false, - "text": "Timeline", + href: "/timeline.doc.html", + isActive: false, + text: "Timeline", }, { - "href": "/uniformresourcelocatable.doc.html", - "isActive": false, - "text": "UniformResourceLocatable", + href: "/uniformresourcelocatable.doc.html", + isActive: false, + text: "UniformResourceLocatable", }, - ] - } + ], + }, ]); }); }); diff --git a/plugins/navigation.interface.ts b/plugins/navigation.interface.ts index c662c5fa..37032be8 100644 --- a/plugins/navigation.interface.ts +++ b/plugins/navigation.interface.ts @@ -3,16 +3,17 @@ import { INTERFACE, NavigationItem, NavigationSection, - Plugin + Plugin, } from "../lib/utility"; -export default class NavigationInterfaces extends Plugin +export default class NavigationInterfaces + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.types - .filter(type => type.kind === INTERFACE) + .filter((type) => type.kind === INTERFACE) .map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/plugins/navigation.object.test.ts b/plugins/navigation.object.test.ts index 5dfb1008..4e84f759 100644 --- a/plugins/navigation.object.test.ts +++ b/plugins/navigation.object.test.ts @@ -13,857 +13,861 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationObject(schema.data.__schema, projectPackage, {}); + const plugin = new NavigationObject( + schema.data.__schema, + projectPackage, + {} + ); expect(plugin.getNavigations("Query")).toEqual([ { title: "Objects", items: [ { - "href": "/addcommentpayload.doc.html", - "isActive": false, - "text": "AddCommentPayload", + href: "/addcommentpayload.doc.html", + isActive: false, + text: "AddCommentPayload", }, { - "href": "/addprojectcardpayload.doc.html", - "isActive": false, - "text": "AddProjectCardPayload", + href: "/addprojectcardpayload.doc.html", + isActive: false, + text: "AddProjectCardPayload", }, { - "href": "/addprojectcolumnpayload.doc.html", - "isActive": false, - "text": "AddProjectColumnPayload", + href: "/addprojectcolumnpayload.doc.html", + isActive: false, + text: "AddProjectColumnPayload", }, { - "href": "/addpullrequestreviewcommentpayload.doc.html", - "isActive": false, - "text": "AddPullRequestReviewCommentPayload", + href: "/addpullrequestreviewcommentpayload.doc.html", + isActive: false, + text: "AddPullRequestReviewCommentPayload", }, { - "href": "/addpullrequestreviewpayload.doc.html", - "isActive": false, - "text": "AddPullRequestReviewPayload", + href: "/addpullrequestreviewpayload.doc.html", + isActive: false, + text: "AddPullRequestReviewPayload", }, { - "href": "/addreactionpayload.doc.html", - "isActive": false, - "text": "AddReactionPayload", + href: "/addreactionpayload.doc.html", + isActive: false, + text: "AddReactionPayload", }, { - "href": "/assignedevent.doc.html", - "isActive": false, - "text": "AssignedEvent", + href: "/assignedevent.doc.html", + isActive: false, + text: "AssignedEvent", }, { - "href": "/baserefforcepushedevent.doc.html", - "isActive": false, - "text": "BaseRefForcePushedEvent", + href: "/baserefforcepushedevent.doc.html", + isActive: false, + text: "BaseRefForcePushedEvent", }, { - "href": "/blame.doc.html", - "isActive": false, - "text": "Blame", + href: "/blame.doc.html", + isActive: false, + text: "Blame", }, { - "href": "/blamerange.doc.html", - "isActive": false, - "text": "BlameRange", + href: "/blamerange.doc.html", + isActive: false, + text: "BlameRange", }, { - "href": "/blob.doc.html", - "isActive": false, - "text": "Blob", + href: "/blob.doc.html", + isActive: false, + text: "Blob", }, { - "href": "/bot.doc.html", - "isActive": false, - "text": "Bot", + href: "/bot.doc.html", + isActive: false, + text: "Bot", }, { - "href": "/closedevent.doc.html", - "isActive": false, - "text": "ClosedEvent", + href: "/closedevent.doc.html", + isActive: false, + text: "ClosedEvent", }, { - "href": "/commit.doc.html", - "isActive": false, - "text": "Commit", + href: "/commit.doc.html", + isActive: false, + text: "Commit", }, { - "href": "/commitcomment.doc.html", - "isActive": false, - "text": "CommitComment", + href: "/commitcomment.doc.html", + isActive: false, + text: "CommitComment", }, { - "href": "/commitcommentconnection.doc.html", - "isActive": false, - "text": "CommitCommentConnection", + href: "/commitcommentconnection.doc.html", + isActive: false, + text: "CommitCommentConnection", }, { - "href": "/commitcommentedge.doc.html", - "isActive": false, - "text": "CommitCommentEdge", + href: "/commitcommentedge.doc.html", + isActive: false, + text: "CommitCommentEdge", }, { - "href": "/commitconnection.doc.html", - "isActive": false, - "text": "CommitConnection", + href: "/commitconnection.doc.html", + isActive: false, + text: "CommitConnection", }, { - "href": "/commitedge.doc.html", - "isActive": false, - "text": "CommitEdge", + href: "/commitedge.doc.html", + isActive: false, + text: "CommitEdge", }, { - "href": "/commithistoryconnection.doc.html", - "isActive": false, - "text": "CommitHistoryConnection", + href: "/commithistoryconnection.doc.html", + isActive: false, + text: "CommitHistoryConnection", }, { - "href": "/createprojectpayload.doc.html", - "isActive": false, - "text": "CreateProjectPayload", + href: "/createprojectpayload.doc.html", + isActive: false, + text: "CreateProjectPayload", }, { - "href": "/deleteprojectcardpayload.doc.html", - "isActive": false, - "text": "DeleteProjectCardPayload", + href: "/deleteprojectcardpayload.doc.html", + isActive: false, + text: "DeleteProjectCardPayload", }, { - "href": "/deleteprojectcolumnpayload.doc.html", - "isActive": false, - "text": "DeleteProjectColumnPayload", + href: "/deleteprojectcolumnpayload.doc.html", + isActive: false, + text: "DeleteProjectColumnPayload", }, { - "href": "/deleteprojectpayload.doc.html", - "isActive": false, - "text": "DeleteProjectPayload", + href: "/deleteprojectpayload.doc.html", + isActive: false, + text: "DeleteProjectPayload", }, { - "href": "/deletepullrequestreviewpayload.doc.html", - "isActive": false, - "text": "DeletePullRequestReviewPayload", + href: "/deletepullrequestreviewpayload.doc.html", + isActive: false, + text: "DeletePullRequestReviewPayload", }, { - "href": "/demilestonedevent.doc.html", - "isActive": false, - "text": "DemilestonedEvent", + href: "/demilestonedevent.doc.html", + isActive: false, + text: "DemilestonedEvent", }, { - "href": "/deployedevent.doc.html", - "isActive": false, - "text": "DeployedEvent", + href: "/deployedevent.doc.html", + isActive: false, + text: "DeployedEvent", }, { - "href": "/deployment.doc.html", - "isActive": false, - "text": "Deployment", + href: "/deployment.doc.html", + isActive: false, + text: "Deployment", }, { - "href": "/deploymentstatus.doc.html", - "isActive": false, - "text": "DeploymentStatus", + href: "/deploymentstatus.doc.html", + isActive: false, + text: "DeploymentStatus", }, { - "href": "/deploymentstatusconnection.doc.html", - "isActive": false, - "text": "DeploymentStatusConnection", + href: "/deploymentstatusconnection.doc.html", + isActive: false, + text: "DeploymentStatusConnection", }, { - "href": "/deploymentstatusedge.doc.html", - "isActive": false, - "text": "DeploymentStatusEdge", + href: "/deploymentstatusedge.doc.html", + isActive: false, + text: "DeploymentStatusEdge", }, { - "href": "/dismisspullrequestreviewpayload.doc.html", - "isActive": false, - "text": "DismissPullRequestReviewPayload", + href: "/dismisspullrequestreviewpayload.doc.html", + isActive: false, + text: "DismissPullRequestReviewPayload", }, { - "href": "/followerconnection.doc.html", - "isActive": false, - "text": "FollowerConnection", + href: "/followerconnection.doc.html", + isActive: false, + text: "FollowerConnection", }, { - "href": "/followingconnection.doc.html", - "isActive": false, - "text": "FollowingConnection", + href: "/followingconnection.doc.html", + isActive: false, + text: "FollowingConnection", }, { - "href": "/gist.doc.html", - "isActive": false, - "text": "Gist", + href: "/gist.doc.html", + isActive: false, + text: "Gist", }, { - "href": "/gistcomment.doc.html", - "isActive": false, - "text": "GistComment", + href: "/gistcomment.doc.html", + isActive: false, + text: "GistComment", }, { - "href": "/gistconnection.doc.html", - "isActive": false, - "text": "GistConnection", + href: "/gistconnection.doc.html", + isActive: false, + text: "GistConnection", }, { - "href": "/gistedge.doc.html", - "isActive": false, - "text": "GistEdge", + href: "/gistedge.doc.html", + isActive: false, + text: "GistEdge", }, { - "href": "/gitactor.doc.html", - "isActive": false, - "text": "GitActor", + href: "/gitactor.doc.html", + isActive: false, + text: "GitActor", }, { - "href": "/gpgsignature.doc.html", - "isActive": false, - "text": "GpgSignature", + href: "/gpgsignature.doc.html", + isActive: false, + text: "GpgSignature", }, { - "href": "/headrefdeletedevent.doc.html", - "isActive": false, - "text": "HeadRefDeletedEvent", + href: "/headrefdeletedevent.doc.html", + isActive: false, + text: "HeadRefDeletedEvent", }, { - "href": "/headrefforcepushedevent.doc.html", - "isActive": false, - "text": "HeadRefForcePushedEvent", + href: "/headrefforcepushedevent.doc.html", + isActive: false, + text: "HeadRefForcePushedEvent", }, { - "href": "/headrefrestoredevent.doc.html", - "isActive": false, - "text": "HeadRefRestoredEvent", + href: "/headrefrestoredevent.doc.html", + isActive: false, + text: "HeadRefRestoredEvent", }, { - "href": "/issue.doc.html", - "isActive": false, - "text": "Issue", + href: "/issue.doc.html", + isActive: false, + text: "Issue", }, { - "href": "/issuecomment.doc.html", - "isActive": false, - "text": "IssueComment", + href: "/issuecomment.doc.html", + isActive: false, + text: "IssueComment", }, { - "href": "/issuecommentconnection.doc.html", - "isActive": false, - "text": "IssueCommentConnection", + href: "/issuecommentconnection.doc.html", + isActive: false, + text: "IssueCommentConnection", }, { - "href": "/issuecommentedge.doc.html", - "isActive": false, - "text": "IssueCommentEdge", + href: "/issuecommentedge.doc.html", + isActive: false, + text: "IssueCommentEdge", }, { - "href": "/issueconnection.doc.html", - "isActive": false, - "text": "IssueConnection", + href: "/issueconnection.doc.html", + isActive: false, + text: "IssueConnection", }, { - "href": "/issueedge.doc.html", - "isActive": false, - "text": "IssueEdge", + href: "/issueedge.doc.html", + isActive: false, + text: "IssueEdge", }, { - "href": "/issuetimelineconnection.doc.html", - "isActive": false, - "text": "IssueTimelineConnection", + href: "/issuetimelineconnection.doc.html", + isActive: false, + text: "IssueTimelineConnection", }, { - "href": "/issuetimelineitemedge.doc.html", - "isActive": false, - "text": "IssueTimelineItemEdge", + href: "/issuetimelineitemedge.doc.html", + isActive: false, + text: "IssueTimelineItemEdge", }, { - "href": "/label.doc.html", - "isActive": false, - "text": "Label", + href: "/label.doc.html", + isActive: false, + text: "Label", }, { - "href": "/labelconnection.doc.html", - "isActive": false, - "text": "LabelConnection", + href: "/labelconnection.doc.html", + isActive: false, + text: "LabelConnection", }, { - "href": "/labeledevent.doc.html", - "isActive": false, - "text": "LabeledEvent", + href: "/labeledevent.doc.html", + isActive: false, + text: "LabeledEvent", }, { - "href": "/labeledge.doc.html", - "isActive": false, - "text": "LabelEdge", + href: "/labeledge.doc.html", + isActive: false, + text: "LabelEdge", }, { - "href": "/language.doc.html", - "isActive": false, - "text": "Language", + href: "/language.doc.html", + isActive: false, + text: "Language", }, { - "href": "/languageconnection.doc.html", - "isActive": false, - "text": "LanguageConnection", + href: "/languageconnection.doc.html", + isActive: false, + text: "LanguageConnection", }, { - "href": "/languageedge.doc.html", - "isActive": false, - "text": "LanguageEdge", + href: "/languageedge.doc.html", + isActive: false, + text: "LanguageEdge", }, { - "href": "/lockedevent.doc.html", - "isActive": false, - "text": "LockedEvent", + href: "/lockedevent.doc.html", + isActive: false, + text: "LockedEvent", }, { - "href": "/mentionedevent.doc.html", - "isActive": false, - "text": "MentionedEvent", + href: "/mentionedevent.doc.html", + isActive: false, + text: "MentionedEvent", }, { - "href": "/mergedevent.doc.html", - "isActive": false, - "text": "MergedEvent", + href: "/mergedevent.doc.html", + isActive: false, + text: "MergedEvent", }, { - "href": "/milestone.doc.html", - "isActive": false, - "text": "Milestone", + href: "/milestone.doc.html", + isActive: false, + text: "Milestone", }, { - "href": "/milestoneconnection.doc.html", - "isActive": false, - "text": "MilestoneConnection", + href: "/milestoneconnection.doc.html", + isActive: false, + text: "MilestoneConnection", }, { - "href": "/milestonedevent.doc.html", - "isActive": false, - "text": "MilestonedEvent", + href: "/milestonedevent.doc.html", + isActive: false, + text: "MilestonedEvent", }, { - "href": "/milestoneedge.doc.html", - "isActive": false, - "text": "MilestoneEdge", + href: "/milestoneedge.doc.html", + isActive: false, + text: "MilestoneEdge", }, { - "href": "/moveprojectcardpayload.doc.html", - "isActive": false, - "text": "MoveProjectCardPayload", + href: "/moveprojectcardpayload.doc.html", + isActive: false, + text: "MoveProjectCardPayload", }, { - "href": "/moveprojectcolumnpayload.doc.html", - "isActive": false, - "text": "MoveProjectColumnPayload", + href: "/moveprojectcolumnpayload.doc.html", + isActive: false, + text: "MoveProjectColumnPayload", }, { - "href": "/organization.doc.html", - "isActive": false, - "text": "Organization", + href: "/organization.doc.html", + isActive: false, + text: "Organization", }, { - "href": "/organizationconnection.doc.html", - "isActive": false, - "text": "OrganizationConnection", + href: "/organizationconnection.doc.html", + isActive: false, + text: "OrganizationConnection", }, { - "href": "/organizationedge.doc.html", - "isActive": false, - "text": "OrganizationEdge", + href: "/organizationedge.doc.html", + isActive: false, + text: "OrganizationEdge", }, { - "href": "/organizationinvitation.doc.html", - "isActive": false, - "text": "OrganizationInvitation", + href: "/organizationinvitation.doc.html", + isActive: false, + text: "OrganizationInvitation", }, { - "href": "/organizationinvitationconnection.doc.html", - "isActive": false, - "text": "OrganizationInvitationConnection", + href: "/organizationinvitationconnection.doc.html", + isActive: false, + text: "OrganizationInvitationConnection", }, { - "href": "/organizationinvitationedge.doc.html", - "isActive": false, - "text": "OrganizationInvitationEdge", + href: "/organizationinvitationedge.doc.html", + isActive: false, + text: "OrganizationInvitationEdge", }, { - "href": "/pageinfo.doc.html", - "isActive": false, - "text": "PageInfo", + href: "/pageinfo.doc.html", + isActive: false, + text: "PageInfo", }, { - "href": "/project.doc.html", - "isActive": false, - "text": "Project", + href: "/project.doc.html", + isActive: false, + text: "Project", }, { - "href": "/projectcard.doc.html", - "isActive": false, - "text": "ProjectCard", + href: "/projectcard.doc.html", + isActive: false, + text: "ProjectCard", }, { - "href": "/projectcardconnection.doc.html", - "isActive": false, - "text": "ProjectCardConnection", + href: "/projectcardconnection.doc.html", + isActive: false, + text: "ProjectCardConnection", }, { - "href": "/projectcardedge.doc.html", - "isActive": false, - "text": "ProjectCardEdge", + href: "/projectcardedge.doc.html", + isActive: false, + text: "ProjectCardEdge", }, { - "href": "/projectcolumn.doc.html", - "isActive": false, - "text": "ProjectColumn", + href: "/projectcolumn.doc.html", + isActive: false, + text: "ProjectColumn", }, { - "href": "/projectcolumnconnection.doc.html", - "isActive": false, - "text": "ProjectColumnConnection", + href: "/projectcolumnconnection.doc.html", + isActive: false, + text: "ProjectColumnConnection", }, { - "href": "/projectcolumnedge.doc.html", - "isActive": false, - "text": "ProjectColumnEdge", + href: "/projectcolumnedge.doc.html", + isActive: false, + text: "ProjectColumnEdge", }, { - "href": "/projectconnection.doc.html", - "isActive": false, - "text": "ProjectConnection", + href: "/projectconnection.doc.html", + isActive: false, + text: "ProjectConnection", }, { - "href": "/projectedge.doc.html", - "isActive": false, - "text": "ProjectEdge", + href: "/projectedge.doc.html", + isActive: false, + text: "ProjectEdge", }, { - "href": "/protectedbranch.doc.html", - "isActive": false, - "text": "ProtectedBranch", + href: "/protectedbranch.doc.html", + isActive: false, + text: "ProtectedBranch", }, { - "href": "/protectedbranchconnection.doc.html", - "isActive": false, - "text": "ProtectedBranchConnection", + href: "/protectedbranchconnection.doc.html", + isActive: false, + text: "ProtectedBranchConnection", }, { - "href": "/protectedbranchedge.doc.html", - "isActive": false, - "text": "ProtectedBranchEdge", + href: "/protectedbranchedge.doc.html", + isActive: false, + text: "ProtectedBranchEdge", }, { - "href": "/pullrequest.doc.html", - "isActive": false, - "text": "PullRequest", + href: "/pullrequest.doc.html", + isActive: false, + text: "PullRequest", }, { - "href": "/pullrequestconnection.doc.html", - "isActive": false, - "text": "PullRequestConnection", + href: "/pullrequestconnection.doc.html", + isActive: false, + text: "PullRequestConnection", }, { - "href": "/pullrequestedge.doc.html", - "isActive": false, - "text": "PullRequestEdge", + href: "/pullrequestedge.doc.html", + isActive: false, + text: "PullRequestEdge", }, { - "href": "/pullrequestreview.doc.html", - "isActive": false, - "text": "PullRequestReview", + href: "/pullrequestreview.doc.html", + isActive: false, + text: "PullRequestReview", }, { - "href": "/pullrequestreviewcomment.doc.html", - "isActive": false, - "text": "PullRequestReviewComment", + href: "/pullrequestreviewcomment.doc.html", + isActive: false, + text: "PullRequestReviewComment", }, { - "href": "/pullrequestreviewcommentconnection.doc.html", - "isActive": false, - "text": "PullRequestReviewCommentConnection", + href: "/pullrequestreviewcommentconnection.doc.html", + isActive: false, + text: "PullRequestReviewCommentConnection", }, { - "href": "/pullrequestreviewcommentedge.doc.html", - "isActive": false, - "text": "PullRequestReviewCommentEdge", + href: "/pullrequestreviewcommentedge.doc.html", + isActive: false, + text: "PullRequestReviewCommentEdge", }, { - "href": "/pullrequestreviewconnection.doc.html", - "isActive": false, - "text": "PullRequestReviewConnection", + href: "/pullrequestreviewconnection.doc.html", + isActive: false, + text: "PullRequestReviewConnection", }, { - "href": "/pullrequestreviewedge.doc.html", - "isActive": false, - "text": "PullRequestReviewEdge", + href: "/pullrequestreviewedge.doc.html", + isActive: false, + text: "PullRequestReviewEdge", }, { - "href": "/pullrequestreviewthread.doc.html", - "isActive": false, - "text": "PullRequestReviewThread", + href: "/pullrequestreviewthread.doc.html", + isActive: false, + text: "PullRequestReviewThread", }, { - "href": "/reactinguserconnection.doc.html", - "isActive": false, - "text": "ReactingUserConnection", + href: "/reactinguserconnection.doc.html", + isActive: false, + text: "ReactingUserConnection", }, { - "href": "/reactinguseredge.doc.html", - "isActive": false, - "text": "ReactingUserEdge", + href: "/reactinguseredge.doc.html", + isActive: false, + text: "ReactingUserEdge", }, { - "href": "/reaction.doc.html", - "isActive": false, - "text": "Reaction", + href: "/reaction.doc.html", + isActive: false, + text: "Reaction", }, { - "href": "/reactionconnection.doc.html", - "isActive": false, - "text": "ReactionConnection", + href: "/reactionconnection.doc.html", + isActive: false, + text: "ReactionConnection", }, { - "href": "/reactionedge.doc.html", - "isActive": false, - "text": "ReactionEdge", + href: "/reactionedge.doc.html", + isActive: false, + text: "ReactionEdge", }, { - "href": "/reactiongroup.doc.html", - "isActive": false, - "text": "ReactionGroup", + href: "/reactiongroup.doc.html", + isActive: false, + text: "ReactionGroup", }, { - "href": "/ref.doc.html", - "isActive": false, - "text": "Ref", + href: "/ref.doc.html", + isActive: false, + text: "Ref", }, { - "href": "/refconnection.doc.html", - "isActive": false, - "text": "RefConnection", + href: "/refconnection.doc.html", + isActive: false, + text: "RefConnection", }, { - "href": "/refedge.doc.html", - "isActive": false, - "text": "RefEdge", + href: "/refedge.doc.html", + isActive: false, + text: "RefEdge", }, { - "href": "/referencedevent.doc.html", - "isActive": false, - "text": "ReferencedEvent", + href: "/referencedevent.doc.html", + isActive: false, + text: "ReferencedEvent", }, { - "href": "/release.doc.html", - "isActive": false, - "text": "Release", + href: "/release.doc.html", + isActive: false, + text: "Release", }, { - "href": "/releaseasset.doc.html", - "isActive": false, - "text": "ReleaseAsset", + href: "/releaseasset.doc.html", + isActive: false, + text: "ReleaseAsset", }, { - "href": "/releaseassetconnection.doc.html", - "isActive": false, - "text": "ReleaseAssetConnection", + href: "/releaseassetconnection.doc.html", + isActive: false, + text: "ReleaseAssetConnection", }, { - "href": "/releaseassetedge.doc.html", - "isActive": false, - "text": "ReleaseAssetEdge", + href: "/releaseassetedge.doc.html", + isActive: false, + text: "ReleaseAssetEdge", }, { - "href": "/releaseconnection.doc.html", - "isActive": false, - "text": "ReleaseConnection", + href: "/releaseconnection.doc.html", + isActive: false, + text: "ReleaseConnection", }, { - "href": "/releaseedge.doc.html", - "isActive": false, - "text": "ReleaseEdge", + href: "/releaseedge.doc.html", + isActive: false, + text: "ReleaseEdge", }, { - "href": "/removeoutsidecollaboratorpayload.doc.html", - "isActive": false, - "text": "RemoveOutsideCollaboratorPayload", + href: "/removeoutsidecollaboratorpayload.doc.html", + isActive: false, + text: "RemoveOutsideCollaboratorPayload", }, { - "href": "/removereactionpayload.doc.html", - "isActive": false, - "text": "RemoveReactionPayload", + href: "/removereactionpayload.doc.html", + isActive: false, + text: "RemoveReactionPayload", }, { - "href": "/renamedevent.doc.html", - "isActive": false, - "text": "RenamedEvent", + href: "/renamedevent.doc.html", + isActive: false, + text: "RenamedEvent", }, { - "href": "/reopenedevent.doc.html", - "isActive": false, - "text": "ReopenedEvent", + href: "/reopenedevent.doc.html", + isActive: false, + text: "ReopenedEvent", }, { - "href": "/repository.doc.html", - "isActive": false, - "text": "Repository", + href: "/repository.doc.html", + isActive: false, + text: "Repository", }, { - "href": "/repositoryconnection.doc.html", - "isActive": false, - "text": "RepositoryConnection", + href: "/repositoryconnection.doc.html", + isActive: false, + text: "RepositoryConnection", }, { - "href": "/repositoryedge.doc.html", - "isActive": false, - "text": "RepositoryEdge", + href: "/repositoryedge.doc.html", + isActive: false, + text: "RepositoryEdge", }, { - "href": "/repositoryinvitation.doc.html", - "isActive": false, - "text": "RepositoryInvitation", + href: "/repositoryinvitation.doc.html", + isActive: false, + text: "RepositoryInvitation", }, { - "href": "/repositoryinvitationrepository.doc.html", - "isActive": false, - "text": "RepositoryInvitationRepository", + href: "/repositoryinvitationrepository.doc.html", + isActive: false, + text: "RepositoryInvitationRepository", }, { - "href": "/requestreviewspayload.doc.html", - "isActive": false, - "text": "RequestReviewsPayload", + href: "/requestreviewspayload.doc.html", + isActive: false, + text: "RequestReviewsPayload", }, { - "href": "/reviewdismissalallowance.doc.html", - "isActive": false, - "text": "ReviewDismissalAllowance", + href: "/reviewdismissalallowance.doc.html", + isActive: false, + text: "ReviewDismissalAllowance", }, { - "href": "/reviewdismissalallowanceconnection.doc.html", - "isActive": false, - "text": "ReviewDismissalAllowanceConnection", + href: "/reviewdismissalallowanceconnection.doc.html", + isActive: false, + text: "ReviewDismissalAllowanceConnection", }, { - "href": "/reviewdismissalallowanceedge.doc.html", - "isActive": false, - "text": "ReviewDismissalAllowanceEdge", + href: "/reviewdismissalallowanceedge.doc.html", + isActive: false, + text: "ReviewDismissalAllowanceEdge", }, { - "href": "/reviewdismissedevent.doc.html", - "isActive": false, - "text": "ReviewDismissedEvent", + href: "/reviewdismissedevent.doc.html", + isActive: false, + text: "ReviewDismissedEvent", }, { - "href": "/reviewrequest.doc.html", - "isActive": false, - "text": "ReviewRequest", + href: "/reviewrequest.doc.html", + isActive: false, + text: "ReviewRequest", }, { - "href": "/reviewrequestconnection.doc.html", - "isActive": false, - "text": "ReviewRequestConnection", + href: "/reviewrequestconnection.doc.html", + isActive: false, + text: "ReviewRequestConnection", }, { - "href": "/reviewrequestedevent.doc.html", - "isActive": false, - "text": "ReviewRequestedEvent", + href: "/reviewrequestedevent.doc.html", + isActive: false, + text: "ReviewRequestedEvent", }, { - "href": "/reviewrequestedge.doc.html", - "isActive": false, - "text": "ReviewRequestEdge", + href: "/reviewrequestedge.doc.html", + isActive: false, + text: "ReviewRequestEdge", }, { - "href": "/reviewrequestremovedevent.doc.html", - "isActive": false, - "text": "ReviewRequestRemovedEvent", + href: "/reviewrequestremovedevent.doc.html", + isActive: false, + text: "ReviewRequestRemovedEvent", }, { - "href": "/searchresultitemconnection.doc.html", - "isActive": false, - "text": "SearchResultItemConnection", + href: "/searchresultitemconnection.doc.html", + isActive: false, + text: "SearchResultItemConnection", }, { - "href": "/searchresultitemedge.doc.html", - "isActive": false, - "text": "SearchResultItemEdge", + href: "/searchresultitemedge.doc.html", + isActive: false, + text: "SearchResultItemEdge", }, { - "href": "/smimesignature.doc.html", - "isActive": false, - "text": "SmimeSignature", + href: "/smimesignature.doc.html", + isActive: false, + text: "SmimeSignature", }, { - "href": "/stargazerconnection.doc.html", - "isActive": false, - "text": "StargazerConnection", + href: "/stargazerconnection.doc.html", + isActive: false, + text: "StargazerConnection", }, { - "href": "/stargazeredge.doc.html", - "isActive": false, - "text": "StargazerEdge", + href: "/stargazeredge.doc.html", + isActive: false, + text: "StargazerEdge", }, { - "href": "/starredrepositoryconnection.doc.html", - "isActive": false, - "text": "StarredRepositoryConnection", + href: "/starredrepositoryconnection.doc.html", + isActive: false, + text: "StarredRepositoryConnection", }, { - "href": "/starredrepositoryedge.doc.html", - "isActive": false, - "text": "StarredRepositoryEdge", + href: "/starredrepositoryedge.doc.html", + isActive: false, + text: "StarredRepositoryEdge", }, { - "href": "/status.doc.html", - "isActive": false, - "text": "Status", + href: "/status.doc.html", + isActive: false, + text: "Status", }, { - "href": "/statuscontext.doc.html", - "isActive": false, - "text": "StatusContext", + href: "/statuscontext.doc.html", + isActive: false, + text: "StatusContext", }, { - "href": "/submitpullrequestreviewpayload.doc.html", - "isActive": false, - "text": "SubmitPullRequestReviewPayload", + href: "/submitpullrequestreviewpayload.doc.html", + isActive: false, + text: "SubmitPullRequestReviewPayload", }, { - "href": "/subscribedevent.doc.html", - "isActive": false, - "text": "SubscribedEvent", + href: "/subscribedevent.doc.html", + isActive: false, + text: "SubscribedEvent", }, { - "href": "/tag.doc.html", - "isActive": false, - "text": "Tag", + href: "/tag.doc.html", + isActive: false, + text: "Tag", }, { - "href": "/team.doc.html", - "isActive": false, - "text": "Team", + href: "/team.doc.html", + isActive: false, + text: "Team", }, { - "href": "/teamconnection.doc.html", - "isActive": false, - "text": "TeamConnection", + href: "/teamconnection.doc.html", + isActive: false, + text: "TeamConnection", }, { - "href": "/teamedge.doc.html", - "isActive": false, - "text": "TeamEdge", + href: "/teamedge.doc.html", + isActive: false, + text: "TeamEdge", }, { - "href": "/tree.doc.html", - "isActive": false, - "text": "Tree", + href: "/tree.doc.html", + isActive: false, + text: "Tree", }, { - "href": "/treeentry.doc.html", - "isActive": false, - "text": "TreeEntry", + href: "/treeentry.doc.html", + isActive: false, + text: "TreeEntry", }, { - "href": "/unassignedevent.doc.html", - "isActive": false, - "text": "UnassignedEvent", + href: "/unassignedevent.doc.html", + isActive: false, + text: "UnassignedEvent", }, { - "href": "/unknownsignature.doc.html", - "isActive": false, - "text": "UnknownSignature", + href: "/unknownsignature.doc.html", + isActive: false, + text: "UnknownSignature", }, { - "href": "/unlabeledevent.doc.html", - "isActive": false, - "text": "UnlabeledEvent", + href: "/unlabeledevent.doc.html", + isActive: false, + text: "UnlabeledEvent", }, { - "href": "/unlockedevent.doc.html", - "isActive": false, - "text": "UnlockedEvent", + href: "/unlockedevent.doc.html", + isActive: false, + text: "UnlockedEvent", }, { - "href": "/unsubscribedevent.doc.html", - "isActive": false, - "text": "UnsubscribedEvent", + href: "/unsubscribedevent.doc.html", + isActive: false, + text: "UnsubscribedEvent", }, { - "href": "/updateprojectcardpayload.doc.html", - "isActive": false, - "text": "UpdateProjectCardPayload", + href: "/updateprojectcardpayload.doc.html", + isActive: false, + text: "UpdateProjectCardPayload", }, { - "href": "/updateprojectcolumnpayload.doc.html", - "isActive": false, - "text": "UpdateProjectColumnPayload", + href: "/updateprojectcolumnpayload.doc.html", + isActive: false, + text: "UpdateProjectColumnPayload", }, { - "href": "/updateprojectpayload.doc.html", - "isActive": false, - "text": "UpdateProjectPayload", + href: "/updateprojectpayload.doc.html", + isActive: false, + text: "UpdateProjectPayload", }, { - "href": "/updatepullrequestreviewcommentpayload.doc.html", - "isActive": false, - "text": "UpdatePullRequestReviewCommentPayload", + href: "/updatepullrequestreviewcommentpayload.doc.html", + isActive: false, + text: "UpdatePullRequestReviewCommentPayload", }, { - "href": "/updatepullrequestreviewpayload.doc.html", - "isActive": false, - "text": "UpdatePullRequestReviewPayload", + href: "/updatepullrequestreviewpayload.doc.html", + isActive: false, + text: "UpdatePullRequestReviewPayload", }, { - "href": "/updatesubscriptionpayload.doc.html", - "isActive": false, - "text": "UpdateSubscriptionPayload", + href: "/updatesubscriptionpayload.doc.html", + isActive: false, + text: "UpdateSubscriptionPayload", }, { - "href": "/user.doc.html", - "isActive": false, - "text": "User", + href: "/user.doc.html", + isActive: false, + text: "User", }, { - "href": "/userconnection.doc.html", - "isActive": false, - "text": "UserConnection", + href: "/userconnection.doc.html", + isActive: false, + text: "UserConnection", }, { - "href": "/useredge.doc.html", - "isActive": false, - "text": "UserEdge", + href: "/useredge.doc.html", + isActive: false, + text: "UserEdge", }, { - "href": "/directive.spec.html", - "isActive": false, - "text": "__Directive", + href: "/directive.spec.html", + isActive: false, + text: "__Directive", }, { - "href": "/enumvalue.spec.html", - "isActive": false, - "text": "__EnumValue", + href: "/enumvalue.spec.html", + isActive: false, + text: "__EnumValue", }, { - "href": "/field.spec.html", - "isActive": false, - "text": "__Field", + href: "/field.spec.html", + isActive: false, + text: "__Field", }, { - "href": "/inputvalue.spec.html", - "isActive": false, - "text": "__InputValue", + href: "/inputvalue.spec.html", + isActive: false, + text: "__InputValue", }, { - "href": "/schema.spec.html", - "isActive": false, - "text": "__Schema", + href: "/schema.spec.html", + isActive: false, + text: "__Schema", }, { - "href": "/type.spec.html", - "isActive": false, - "text": "__Type", + href: "/type.spec.html", + isActive: false, + text: "__Type", }, - ] - } + ], + }, ]); }); }); diff --git a/plugins/navigation.object.ts b/plugins/navigation.object.ts index 3604c7e1..658645b1 100644 --- a/plugins/navigation.object.ts +++ b/plugins/navigation.object.ts @@ -3,13 +3,14 @@ import { NavigationItem, NavigationSection, OBJECT, - Plugin + Plugin, } from "../lib/utility"; -export default class NavigationObjects extends Plugin +export default class NavigationObjects + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { - const obj = this.document.types.filter(type => { + const obj = this.document.types.filter((type) => { return ( type.kind === OBJECT && (!this.queryType || this.queryType.name !== type.name) && @@ -19,7 +20,7 @@ export default class NavigationObjects extends Plugin }); return obj.map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/plugins/navigation.scalar.test.ts b/plugins/navigation.scalar.test.ts index 91574ac5..87492a7b 100644 --- a/plugins/navigation.scalar.test.ts +++ b/plugins/navigation.scalar.test.ts @@ -13,47 +13,51 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationScalar(schema.data.__schema, projectPackage, {}); + const plugin = new NavigationScalar( + schema.data.__schema, + projectPackage, + {} + ); expect(plugin.getNavigations("Query")).toEqual([ { title: "Objects", items: [ { - "href": "/directive.spec.html", - "isActive": false, - "text": "__Directive", + href: "/directive.spec.html", + isActive: false, + text: "__Directive", }, { - "href": "/enumvalue.spec.html", - "isActive": false, - "text": "__EnumValue", + href: "/enumvalue.spec.html", + isActive: false, + text: "__EnumValue", }, { - "href": "/field.spec.html", - "isActive": false, - "text": "__Field", + href: "/field.spec.html", + isActive: false, + text: "__Field", }, { - "href": "/inputvalue.spec.html", - "isActive": false, - "text": "__InputValue", + href: "/inputvalue.spec.html", + isActive: false, + text: "__InputValue", }, { - "href": "/schema.spec.html", - "isActive": false, - "text": "__Schema", + href: "/schema.spec.html", + isActive: false, + text: "__Schema", }, { - "href": "/type.spec.html", - "isActive": false, - "text": "__Type", + href: "/type.spec.html", + isActive: false, + text: "__Type", }, - ] - } + ], + }, ]); }); }); diff --git a/plugins/navigation.scalar.ts b/plugins/navigation.scalar.ts index 38983ecc..0b940637 100644 --- a/plugins/navigation.scalar.ts +++ b/plugins/navigation.scalar.ts @@ -3,16 +3,17 @@ import { NavigationItem, NavigationSection, Plugin, - SCALAR + SCALAR, } from "../lib/utility"; -export default class NavigationScalars extends Plugin +export default class NavigationScalars + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.types - .filter(type => type.kind === SCALAR) + .filter((type) => type.kind === SCALAR) .map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/plugins/navigation.schema.test.ts b/plugins/navigation.schema.test.ts index 00ba6f3c..f7fe9dcf 100644 --- a/plugins/navigation.schema.test.ts +++ b/plugins/navigation.schema.test.ts @@ -9,23 +9,23 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { ...schema.data.__schema, mutationType: null, queryType: null, - subscriptionType: null + subscriptionType: null, }, projectPackage, {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { const plugin = new NavigationSchema( { ...schema.data.__schema, subscriptionType: { - "name": "Subscription", - "description": "The subscription root of GitHub's GraphQL interface.", - "kind": "OBJECT" + name: "Subscription", + description: "The subscription root of GitHub's GraphQL interface.", + kind: "OBJECT", }, }, projectPackage, @@ -36,22 +36,22 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { title: "Schema", items: [ { - "href": "/query.doc.html", - "isActive": true, - "text": "Query" + href: "/query.doc.html", + isActive: true, + text: "Query", }, { - "href": "/mutation.doc.html", - "isActive": false, - "text": "Mutation", + href: "/mutation.doc.html", + isActive: false, + text: "Mutation", }, { - "href": "/subscription.doc.html", - "isActive": false, - "text": "Subscription" + href: "/subscription.doc.html", + isActive: false, + text: "Subscription", }, - ] - } + ], + }, ]); }); }); diff --git a/plugins/navigation.schema.ts b/plugins/navigation.schema.ts index f215793c..f77c3f31 100644 --- a/plugins/navigation.schema.ts +++ b/plugins/navigation.schema.ts @@ -1,16 +1,16 @@ import { NavigationSectionInterface, PluginInterface } from "../lib/interface"; import { NavigationItem, NavigationSection, Plugin } from "../lib/utility"; -export default class NavigationSchema extends Plugin +export default class NavigationSchema + extends Plugin implements PluginInterface { getNavigations(buildFrom?: string): NavigationSectionInterface[] { - if ( !this.document.queryType && !this.document.mutationType && !this.document.subscriptionType ) { - return [] + return []; } const section = new NavigationSection("Schema", []); diff --git a/plugins/navigation.union.test.ts b/plugins/navigation.union.test.ts index aa820db9..19641226 100644 --- a/plugins/navigation.union.test.ts +++ b/plugins/navigation.union.test.ts @@ -13,37 +13,41 @@ describe("pĺugins/navigation.directive#NavigationDirectives", () => { {} ); - expect(plugin.getNavigations("Query")).toEqual([]) - }) + expect(plugin.getNavigations("Query")).toEqual([]); + }); test("plugin return navigation", () => { - const plugin = new NavigationUnion(schema.data.__schema, projectPackage, {}); + const plugin = new NavigationUnion( + schema.data.__schema, + projectPackage, + {} + ); expect(plugin.getNavigations("Query")).toEqual([ { title: "Unions", items: [ { - "href": "/issuetimelineitem.doc.html", - "isActive": false, - "text": "IssueTimelineItem", + href: "/issuetimelineitem.doc.html", + isActive: false, + text: "IssueTimelineItem", }, { - "href": "/projectcarditem.doc.html", - "isActive": false, - "text": "ProjectCardItem", + href: "/projectcarditem.doc.html", + isActive: false, + text: "ProjectCardItem", }, { - "href": "/reviewdismissalallowanceactor.doc.html", - "isActive": false, - "text": "ReviewDismissalAllowanceActor", + href: "/reviewdismissalallowanceactor.doc.html", + isActive: false, + text: "ReviewDismissalAllowanceActor", }, { - "href": "/searchresultitem.doc.html", - "isActive": false, - "text": "SearchResultItem", + href: "/searchresultitem.doc.html", + isActive: false, + text: "SearchResultItem", }, - ] - } + ], + }, ]); }); }); diff --git a/plugins/navigation.union.ts b/plugins/navigation.union.ts index 2c599f4f..62cf4772 100644 --- a/plugins/navigation.union.ts +++ b/plugins/navigation.union.ts @@ -3,16 +3,17 @@ import { NavigationItem, NavigationSection, Plugin, - UNION + UNION, } from "../lib/utility"; -export default class NavigationScalars extends Plugin +export default class NavigationScalars + extends Plugin implements PluginInterface { getTypes(buildForType: string): NavigationItemInterface[] { return this.document.types - .filter(type => type.kind === UNION) + .filter((type) => type.kind === UNION) .map( - type => + (type) => new NavigationItem( type.name, this.url(type), diff --git a/template/slds/scripts/filter-types.js b/template/slds/scripts/filter-types.js index 88e6c4b5..90acb2b8 100644 --- a/template/slds/scripts/filter-types.js +++ b/template/slds/scripts/filter-types.js @@ -1,102 +1,94 @@ (function () { - var HIDE_CLASS = 'slds-hide'; - var ITEM_CLASS = 'slds-item'; - - /** - * @class Item - * @param {HTMLLIElement} li - */ - function Item(li) { - this.li = li; - this.type = li.title; - this.typeLowerCase = li.title.toLowerCase(); - } - - /** - * @return boolean - */ - Item.prototype.contains = function (searchText) { - return this.typeLowerCase.indexOf(searchText) >= 0; - } - - /** - * @return boolean - */ - Item.prototype.isHide = function () { - this.li.classList.contains(HIDE_CLASS); - } - - /** - * @return void - */ - Item.prototype.hide = function () { - if (!this.isHide()) - this.li.classList.add(HIDE_CLASS); - } - - /** - * @return void - */ - Item.prototype.show = function () { - this.li.classList.remove(HIDE_CLASS); - } - - /** - * @class ItemList - * @param {Item[]} items - */ - function ItemList(items) { - this.items = items; - } - - /** - * @function ItemsList.fromSelector - * @param {string} selector - * @return ItemList - */ - ItemList.fromSelector = function (selector) { - - var lis = document.querySelectorAll(selector); - var items = Array.prototype.map.call(lis, function (li) { - return new Item(li); - }) - - return new ItemList(items); - } - - /** - * @return void - */ - ItemList.prototype.showIfmatch = function (match) { - - match = match.toLowerCase(match); - - this - .items - .forEach(function (item) { - item.contains(match) ? - item.show(): - item.hide(); - }) - } - - /** - * @var {ItemList} items - * @var {HTMLInputElement} input - */ - var items = ItemList.fromSelector('nav .slds-navigation-list--vertical li'); - var input = document.getElementById('type-search'); - var lastMatch = ''; - - function onChange() { - if (input.value === lastMatch) - return; - - lastMatch = input.value; - items.showIfmatch(lastMatch); - } - - input.addEventListener('change', onChange); - input.addEventListener('keyup', onChange); - input.addEventListener('mouseup', onChange); -})() \ No newline at end of file + var HIDE_CLASS = "slds-hide"; + var ITEM_CLASS = "slds-item"; + + /** + * @class Item + * @param {HTMLLIElement} li + */ + function Item(li) { + this.li = li; + this.type = li.title; + this.typeLowerCase = li.title.toLowerCase(); + } + + /** + * @return boolean + */ + Item.prototype.contains = function (searchText) { + return this.typeLowerCase.indexOf(searchText) >= 0; + }; + + /** + * @return boolean + */ + Item.prototype.isHide = function () { + this.li.classList.contains(HIDE_CLASS); + }; + + /** + * @return void + */ + Item.prototype.hide = function () { + if (!this.isHide()) this.li.classList.add(HIDE_CLASS); + }; + + /** + * @return void + */ + Item.prototype.show = function () { + this.li.classList.remove(HIDE_CLASS); + }; + + /** + * @class ItemList + * @param {Item[]} items + */ + function ItemList(items) { + this.items = items; + } + + /** + * @function ItemsList.fromSelector + * @param {string} selector + * @return ItemList + */ + ItemList.fromSelector = function (selector) { + var lis = document.querySelectorAll(selector); + var items = Array.prototype.map.call(lis, function (li) { + return new Item(li); + }); + + return new ItemList(items); + }; + + /** + * @return void + */ + ItemList.prototype.showIfmatch = function (match) { + match = match.toLowerCase(match); + + this.items.forEach(function (item) { + item.contains(match) ? item.show() : item.hide(); + }); + }; + + /** + * @var {ItemList} items + * @var {HTMLInputElement} input + */ + var items = ItemList.fromSelector("nav .slds-navigation-list--vertical li"); + var input = document.getElementById("type-search"); + var lastMatch = ""; + + function onChange() { + if (input.value === lastMatch) return; + + lastMatch = input.value; + items.showIfmatch(lastMatch); + } + + input.addEventListener("change", onChange); + input.addEventListener("keyup", onChange); + input.addEventListener("mouseup", onChange); +})(); diff --git a/template/slds/scripts/focus-active.js b/template/slds/scripts/focus-active.js index f411c585..497abed3 100644 --- a/template/slds/scripts/focus-active.js +++ b/template/slds/scripts/focus-active.js @@ -1,8 +1,11 @@ (function () { - var navScroll = document.getElementById('navication-scroll'); - var header = document.querySelector('nav header'); - var active = document.querySelector('.slds-is-active a'); + var navScroll = document.getElementById("navication-scroll"); + var header = document.querySelector("nav header"); + var active = document.querySelector(".slds-is-active a"); - if(active) - navScroll.scrollTop = active.offsetTop - header.offsetHeight - Math.ceil(active.offsetHeight / 2) -})() \ No newline at end of file + if (active) + navScroll.scrollTop = + active.offsetTop - + header.offsetHeight - + Math.ceil(active.offsetHeight / 2); +})(); diff --git a/template/slds/scripts/toggle-navigation.js b/template/slds/scripts/toggle-navigation.js index 39d21643..57a61323 100644 --- a/template/slds/scripts/toggle-navigation.js +++ b/template/slds/scripts/toggle-navigation.js @@ -1,23 +1,21 @@ (function () { + var ACTIVE_CLASS = "is-active"; + var navigation = document.querySelector("nav"); + var toggles = document.querySelectorAll(".js-toggle-navigation"); - var ACTIVE_CLASS = 'is-active'; - var navigation = document.querySelector('nav'); - var toggles = document.querySelectorAll('.js-toggle-navigation'); + function toggleNavigation() { + navigation.classList.contains(ACTIVE_CLASS) + ? navigation.classList.remove(ACTIVE_CLASS) + : navigation.classList.add(ACTIVE_CLASS); + } - function toggleNavigation() { - navigation.classList.contains(ACTIVE_CLASS) ? - navigation.classList.remove(ACTIVE_CLASS) : - navigation.classList.add(ACTIVE_CLASS); + Array.prototype.forEach.call( + toggles, + /** + * @param {HTMLElement} toggle + */ + function (toggle) { + toggle.addEventListener("click", toggleNavigation); } - - Array.prototype.forEach.call( - toggles, - /** - * @param {HTMLElement} toggle - */ - function (toggle) { - toggle.addEventListener('click', toggleNavigation); - } - ) - -})() \ No newline at end of file + ); +})(); diff --git a/test/empty.ts b/test/empty.ts index 3d9d938d..7a57560c 100644 --- a/test/empty.ts +++ b/test/empty.ts @@ -6,7 +6,7 @@ import { GraphQLNonNull, GraphQLObjectType, GraphQLSchema, - GraphQLString + GraphQLString, } from "graphql"; import pack from "../package.json"; @@ -19,17 +19,17 @@ export const EmptySchema = new GraphQLSchema({ fields: { version: { type: new GraphQLNonNull(GraphQLString), - resolve: () => pack.version - } - } - }) + resolve: () => pack.version, + }, + }, + }), }); app.use( "/graphql", graphqlHTTP({ schema: EmptySchema, - graphiql: true + graphiql: true, }) ); app.listen(4000); diff --git a/test/schema.ts b/test/schema.ts index 589995e5..db9f2b41 100644 --- a/test/schema.ts +++ b/test/schema.ts @@ -14,7 +14,7 @@ import { GraphQLNonNull, GraphQLObjectType, GraphQLSchema, - GraphQLString + GraphQLString, } from "graphql"; /** @@ -78,17 +78,17 @@ const episodeEnum = new GraphQLEnumType({ values: { EMPIRE: { description: "Released in 1980.", - value: 5 + value: 5, }, JEDI: { description: "Released in 1983.", - value: 6 + value: 6, }, NEWHOPE: { description: "Released in 1977.", - value: 4 - } - } + value: 4, + }, + }, }); /** @@ -109,27 +109,28 @@ const characterInterface = new GraphQLInterfaceType({ fields: () => ({ id: { type: new GraphQLNonNull(GraphQLID), - description: "The id of the character." + description: "The id of the character.", }, name: { type: GraphQLString, - description: "The name of the character." + description: "The name of the character.", }, friends: { type: new GraphQLList(characterInterface), description: - "The friends of the character, or an empty list if they " + "have none." + "The friends of the character, or an empty list if they " + + "have none.", }, appearsIn: { type: new GraphQLList(episodeEnum), - description: "Which movies they appear in." + description: "Which movies they appear in.", }, secretBackstory: { type: GraphQLString, - description: "All secrets about their past." - } + description: "All secrets about their past.", + }, }), - resolveType: _ => humanType + resolveType: (_) => humanType, }); /** @@ -150,35 +151,35 @@ const humanType = new GraphQLObjectType({ fields: () => ({ id: { type: new GraphQLNonNull(GraphQLID), - description: "The id of the human." + description: "The id of the human.", }, name: { type: GraphQLString, - description: "The name of the human." + description: "The name of the human.", }, friends: { type: new GraphQLList(characterInterface), description: "The friends of the human, or an empty list if they " + "have none.", - resolve: human => human + resolve: (human) => human, }, appearsIn: { type: new GraphQLList(episodeEnum), - description: "Which movies they appear in." + description: "Which movies they appear in.", }, homePlanet: { type: GraphQLString, - description: "The home planet of the human, or null if unknown." + description: "The home planet of the human, or null if unknown.", }, secretBackstory: { type: GraphQLString, description: "Where are they from and how they came to be who they are.", resolve: () => { throw new Error("secretBackstory is secret."); - } - } + }, + }, }), - interfaces: [characterInterface] + interfaces: [characterInterface], }); /** @@ -200,35 +201,35 @@ const droidType = new GraphQLObjectType({ fields: () => ({ id: { type: new GraphQLNonNull(GraphQLID), - description: "The id of the droid." + description: "The id of the droid.", }, name: { type: GraphQLString, - description: "The name of the droid." + description: "The name of the droid.", }, friends: { type: new GraphQLList(characterInterface), description: "The friends of the droid, or an empty list if they " + "have none.", - resolve: droid => droid + resolve: (droid) => droid, }, appearsIn: { type: new GraphQLList(episodeEnum), - description: "Which movies they appear in." + description: "Which movies they appear in.", }, secretBackstory: { type: GraphQLString, description: "Construction date and the name of the designer.", resolve: () => { throw new Error("secretBackstory is secret."); - } + }, }, primaryFunction: { type: GraphQLString, - description: "The primary function of the droid." - } + description: "The primary function of the droid.", + }, }), - interfaces: [characterInterface] + interfaces: [characterInterface], }); /** @@ -257,10 +258,10 @@ const queryType = new GraphQLObjectType({ description: "If omitted, returns the hero of the whole saga. If " + "provided, returns the hero of that particular episode.", - type: episodeEnum - } + type: episodeEnum, + }, }, - resolve: () => null + resolve: () => null, }, human: { type: humanType, @@ -268,10 +269,10 @@ const queryType = new GraphQLObjectType({ args: { id: { description: "id of the human", - type: new GraphQLNonNull(GraphQLID) - } + type: new GraphQLNonNull(GraphQLID), + }, }, - resolve: () => null + resolve: () => null, }, droid: { type: droidType, @@ -279,12 +280,12 @@ const queryType = new GraphQLObjectType({ args: { id: { description: "id of the droid", - type: new GraphQLNonNull(GraphQLID) - } + type: new GraphQLNonNull(GraphQLID), + }, }, - resolve: () => null - } - }) + resolve: () => null, + }, + }), }); /** @@ -302,12 +303,12 @@ const mutationType = new GraphQLObjectType({ args: { episode: { type: new GraphQLNonNull(episodeEnum), - description: "Favorite episode." - } + description: "Favorite episode.", + }, }, - resolve: (_, { episode }) => episode - } - }) + resolve: (_, { episode }) => episode, + }, + }), }); /** @@ -316,5 +317,5 @@ const mutationType = new GraphQLObjectType({ */ export const StarWarsSchema = new GraphQLSchema({ query: queryType, - mutation: mutationType + mutation: mutationType, }); diff --git a/test/starWars.ts b/test/starWars.ts index 0c332703..08c875f6 100644 --- a/test/starWars.ts +++ b/test/starWars.ts @@ -129,5 +129,5 @@ export default () => [ Human, Mutation, Query, - Schema + Schema, ];