From 8d35942325945c2a191152f4f86c4cb4b7f9a6cb Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Mon, 28 Oct 2024 18:35:07 +0530 Subject: [PATCH 01/19] feat: integrated types-generator NPM package & removed old test files --- package.json | 2 +- src/commands/tsgen.ts | 92 +++++--- src/graphQL/index.ts | 1 - src/graphQL/queries.ts | 98 -------- src/lib/stack/builtins.ts | 58 ----- src/lib/stack/client.ts | 213 ----------------- src/lib/stack/schema.ts | 65 ----- src/lib/tsgen/docgen/doc.ts | 4 - src/lib/tsgen/docgen/jsdoc.ts | 15 -- src/lib/tsgen/docgen/nulldoc.ts | 11 - src/lib/tsgen/factory.ts | 365 ----------------------------- src/lib/tsgen/runner.ts | 73 ------ src/types/index.ts | 7 + tests/tsgen/boolean.ct.js | 126 ---------- tests/tsgen/boolean.test.ts | 34 --- tests/tsgen/defaults.ct.js | 237 ------------------- tests/tsgen/defaults.test.ts | 53 ----- tests/tsgen/global.fields.ct.js | 169 ------------- tests/tsgen/global.fields.test.ts | 46 ---- tests/tsgen/group.ct.js | 288 ----------------------- tests/tsgen/group.test.ts | 56 ----- tests/tsgen/initialization.ct.js | 113 --------- tests/tsgen/initialization.test.ts | 34 --- tests/tsgen/isodate.ct.js | 190 --------------- tests/tsgen/isodate.test.ts | 38 --- tests/tsgen/jsdoc.ct.js | 163 ------------- tests/tsgen/jsdoc.test.ts | 31 --- tests/tsgen/modular.blocks.ct.js | 273 --------------------- tests/tsgen/modular.blocks.test.ts | 44 ---- tests/tsgen/number.ct.js | 193 --------------- tests/tsgen/number.test.ts | 36 --- tests/tsgen/options.ct.js | 199 ---------------- tests/tsgen/options.test.ts | 28 --- tests/tsgen/references.ct.js | 154 ------------ tests/tsgen/references.test.ts | 37 --- tests/tsgen/select.ct.js | 289 ----------------------- tests/tsgen/select.test.ts | 35 --- tests/tsgen/string.ct.js | 181 -------------- tests/tsgen/string.test.ts | 34 --- tests/tsgen/taxonomies.ct.js | 150 ------------ tests/tsgen/taxonomies.test.ts | 37 --- 41 files changed, 72 insertions(+), 4200 deletions(-) delete mode 100644 src/graphQL/index.ts delete mode 100644 src/graphQL/queries.ts delete mode 100644 src/lib/stack/builtins.ts delete mode 100644 src/lib/stack/client.ts delete mode 100644 src/lib/stack/schema.ts delete mode 100644 src/lib/tsgen/docgen/doc.ts delete mode 100644 src/lib/tsgen/docgen/jsdoc.ts delete mode 100644 src/lib/tsgen/docgen/nulldoc.ts delete mode 100644 src/lib/tsgen/factory.ts delete mode 100644 src/lib/tsgen/runner.ts create mode 100644 src/types/index.ts delete mode 100644 tests/tsgen/boolean.ct.js delete mode 100644 tests/tsgen/boolean.test.ts delete mode 100644 tests/tsgen/defaults.ct.js delete mode 100644 tests/tsgen/defaults.test.ts delete mode 100644 tests/tsgen/global.fields.ct.js delete mode 100644 tests/tsgen/global.fields.test.ts delete mode 100644 tests/tsgen/group.ct.js delete mode 100644 tests/tsgen/group.test.ts delete mode 100644 tests/tsgen/initialization.ct.js delete mode 100644 tests/tsgen/initialization.test.ts delete mode 100644 tests/tsgen/isodate.ct.js delete mode 100644 tests/tsgen/isodate.test.ts delete mode 100644 tests/tsgen/jsdoc.ct.js delete mode 100644 tests/tsgen/jsdoc.test.ts delete mode 100644 tests/tsgen/modular.blocks.ct.js delete mode 100644 tests/tsgen/modular.blocks.test.ts delete mode 100644 tests/tsgen/number.ct.js delete mode 100644 tests/tsgen/number.test.ts delete mode 100644 tests/tsgen/options.ct.js delete mode 100644 tests/tsgen/options.test.ts delete mode 100644 tests/tsgen/references.ct.js delete mode 100644 tests/tsgen/references.test.ts delete mode 100644 tests/tsgen/select.ct.js delete mode 100644 tests/tsgen/select.test.ts delete mode 100644 tests/tsgen/string.ct.js delete mode 100644 tests/tsgen/string.test.ts delete mode 100644 tests/tsgen/taxonomies.ct.js delete mode 100644 tests/tsgen/taxonomies.test.ts diff --git a/package.json b/package.json index 42a2cc8..aaa24a5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dependencies": { "@contentstack/cli-command": "^1.3.1", "@contentstack/cli-utilities": "^1.7.3", - "@gql2ts/from-schema": "^2.0.0-4", + "@contentstack/types-generator": "^2.0.2", "async": "^3.2.6", "fancy-test": "^3.0.16", "graphql": "^14.7.0", diff --git a/src/commands/tsgen.ts b/src/commands/tsgen.ts index 36edd0d..fb5b50d 100644 --- a/src/commands/tsgen.ts +++ b/src/commands/tsgen.ts @@ -1,11 +1,22 @@ import {Command} from '@contentstack/cli-command' import {flags} from '@contentstack/cli-utilities' -import {getGlobalFields, stackConnect, StackConnectionConfig, generateGraphQLTypeDef} from '../lib/stack/client' -import {ContentType} from '../lib/stack/schema' -import tsgenRunner from '../lib/tsgen/runner' +import * as path from 'path' +import * as fs from 'fs' +import {sanitizePath} from '../lib/helper' +import {generateTS, graphqlTS} from '@contentstack/types-generator' +import {StackConnectionConfig} from '../types' + +function createOutputPath(outputFile: string) { + const outputPath = path.resolve(sanitizePath(process.cwd()), sanitizePath(outputFile)) + const dirName = path.dirname(outputPath) + + fs.mkdirSync(dirName, {recursive: true}) + + return outputPath +} export default class TypeScriptCodeGeneratorCommand extends Command { - static description = 'generate TypeScript typings from a Stack'; + static description = 'Generate TypeScript typings from a Stack'; static examples = [ '$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts"', @@ -78,11 +89,13 @@ export default class TypeScriptCodeGeneratorCommand extends Command { const token = this.getToken(flags['token-alias']) const prefix = flags.prefix const includeDocumentation = flags.doc - const outputPath = flags.output + const filePath = flags.output const branch = flags.branch const includeSystemFields = flags['include-system-fields'] const namespace = flags.namespace + const outputPath = createOutputPath(filePath) + if (token.type !== 'delivery') { this.warn('Possibly using a management token. You may not be able to connect to your Stack. Please use a delivery token.') } @@ -91,38 +104,61 @@ export default class TypeScriptCodeGeneratorCommand extends Command { this.error('Please provide an output path.', {exit: 2}) } + let region = '' + switch (this.region.name) { + case 'NA': + region = 'US' + break + case 'AZURE-NA': + region = 'AZURE_NA' + break + case 'AZURE-EU': + region = 'AZURE_EU' + break + case 'GCP-NA': + region = 'GCP_NA' + break + default: + region = this.region.name.toUpperCase() + } + const config: StackConnectionConfig = { apiKey: token.apiKey, token: token.token, - region: (this.region.name === 'NA') ? 'us' : this.region.name.toLowerCase(), + region: region, environment: token.environment || '', - branch: branch || null, + branch: branch || undefined, } + // Generate the GraphQL schema TypeScript definitions if (flags['api-type'] === 'graphql') { - const result = await generateGraphQLTypeDef(config, outputPath, namespace) - if (result) { - this.log(`Successfully added the GraphQL schema type definitions to '${result.outputPath}'.`) - } else { - this.log('No schema found in the stack! Please use a valid stack.') + try { + const result = await graphqlTS({...config, namespace: namespace}) + + fs.writeFileSync(outputPath, result) + this.log(`Successfully added the GraphQL schema type definitions to '${outputPath}'.`) + } catch (error: any) { + this.error(error.error_message, {exit: 1}) } } else { - const [client, globalFields] = await Promise.all([stackConnect(this.deliveryAPIClient.Stack, config, this.cdaHost), getGlobalFields(config, this.cdaHost)]) - - let schemas: ContentType[] = [] - if (client.types?.length) { - if ((globalFields as any)?.global_fields?.length) { - schemas = schemas.concat((globalFields as any).global_fields as ContentType) - schemas = schemas.map(schema => ({ - ...schema, - schema_type: 'global_field', - })) - } - schemas = schemas.concat(client.types) - const result = await tsgenRunner(outputPath, schemas, prefix, includeDocumentation, includeSystemFields) - this.log(`Wrote ${result.definitions} Content Types to '${result.outputPath}'.`) - } else { - this.log('No Content Types exist in the Stack.') + // Generate the Content Types TypeScript definitions + try { + const result = await generateTS({ + ...config, + tokenType: 'delivery', + includeDocumentation: includeDocumentation, + prefix, + systemFields: includeSystemFields, + }) + + fs.writeFileSync(outputPath, result) + + // -- TODO : Add count support for the number of Content Types generated + this.log(`Successfully added the Content Types to '${outputPath}'.`) + + // this.log(`Wrote ${outputPath} Content Types to '${result.outputPath}'.`) + } catch (error: any) { + this.error(error.error_message, {exit: 1}) } } } catch (error: any) { diff --git a/src/graphQL/index.ts b/src/graphQL/index.ts deleted file mode 100644 index 1fa8372..0000000 --- a/src/graphQL/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './queries' diff --git a/src/graphQL/queries.ts b/src/graphQL/queries.ts deleted file mode 100644 index 7bcd7bb..0000000 --- a/src/graphQL/queries.ts +++ /dev/null @@ -1,98 +0,0 @@ -const introspectionQuery = `query IntrospectionQuery{ - __schema { - queryType { - name - } - mutationType { - name - } - subscriptionType { - name - } - types { - ...FullType - } - directives { - name - description - locations - args { - ...InputValue - } - } - } -} -fragment FullType on __Type { - kind - name - description - fields(includeDeprecated: true) { - name - description - args { - ...InputValue - } - type { - ...TypeRef - } - isDeprecated - deprecationReason - } - inputFields { - ...InputValue - } - interfaces { - ...TypeRef - } - enumValues(includeDeprecated: true) { - name - description - isDeprecated - deprecationReason - } - possibleTypes { - ...TypeRef - } -} -fragment InputValue on __InputValue { - name - description - type { - ...TypeRef - } - defaultValue -} -fragment TypeRef on __Type { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - } - } - } - } - } - } - } -}` - -export {introspectionQuery} diff --git a/src/lib/stack/builtins.ts b/src/lib/stack/builtins.ts deleted file mode 100644 index 98a8b9b..0000000 --- a/src/lib/stack/builtins.ts +++ /dev/null @@ -1,58 +0,0 @@ -// File and Link fields are additional, non-scalar, data types within a stack. -export const defaultInterfaces = (prefix = '', systemFields = false) => { - const defaultInterfaces = [ - `export interface ${prefix}PublishDetails { - environment: string; - locale: string; - time: string; - user: string; - }`, - `export interface ${prefix}File { - uid: string; - created_at: string; - updated_at: string; - created_by: string; - updated_by: string; - content_type: string; - file_size: string; - tags: string[]; - filename: string; - url: string; - ACL: any[]; - is_dir: boolean; - parent_uid: string; - _version: number; - title: string; - publish_details: ${prefix}PublishDetails; - }`, - `export interface ${prefix}Link { - title: string; - href: string; - }`, - `export interface ${prefix}Taxonomy { - taxonomy_uid: string; - max_terms?: number; - mandatory: boolean; - non_localizable: boolean; - }` - ] - if (systemFields) { - defaultInterfaces.push( - `export interface ${prefix}SystemFields { - uid?: string; - created_at?: string; - updated_at?: string; - created_by?: string; - updated_by?: string; - _content_type_uid?: string; - tags?: string[]; - ACL?: any[]; - _version?: number; - _in_progress?: boolean; - locale?: string; - publish_details?: ${prefix}PublishDetails[]; - title?: string; - }`) - } - return defaultInterfaces; -} diff --git a/src/lib/stack/client.ts b/src/lib/stack/client.ts deleted file mode 100644 index 518af9e..0000000 --- a/src/lib/stack/client.ts +++ /dev/null @@ -1,213 +0,0 @@ -import * as fs from 'fs' -import * as http from 'https' -import * as async from 'async' -import * as path from 'path' -import { ContentTypeCollection } from 'contentstack' -import { HttpClient, cliux, configHandler } from '@contentstack/cli-utilities' -import { schemaToInterfaces, generateNamespace } from '@gql2ts/from-schema' - -import { introspectionQuery } from '../../graphQL' -import { sanitizePath } from '../helper' - -type RegionUrlMap = { - [prop: string]: string; -}; - -const REGION_URL_MAPPING: RegionUrlMap = { - na: 'cdn.contentstack.io', - us: 'cdn.contentstack.io', - eu: 'eu-cdn.contentstack.com', - 'azure-na': 'azure-na-cdn.contentstack.com', - 'azure-eu': 'azure-eu-cdn.contentstack.com', - 'gcp-na': 'gcp-na-cdn.contentstack.com' -} - -const GRAPHQL_REGION_URL_MAPPING: RegionUrlMap = { - na: 'https://graphql.contentstack.com/stacks', - us: 'https://graphql.contentstack.com/stacks', - eu: 'https://eu-graphql.contentstack.com/stacks', - 'azure-na': 'https://azure-na-graphql.contentstack.com/stacks', - 'azure-eu': 'https://azure-eu-graphql.contentstack.com/stacks', - 'gcp-na': 'https://gcp-na-graphql.contentstack.com/stacks' -} - -export type StackConnectionConfig = { - apiKey: string; - token: string; - region: any; - environment: string; - branch?: string | null; -} - -const limit = 100 - -const queryParams = { - limit, - include_global_field_schema: true, -} - -export async function stackConnect(client: any, config: StackConnectionConfig, cdaHost: string) { - try { - const clientParams: { - api_key: string; - delivery_token: string; - environment: string; - region: string; - branch?: string; - early_access?: string[]; - } = { - api_key: config.apiKey, - delivery_token: config.token, - environment: config.environment, - region: config.region, - } - if (config.branch) { - clientParams.branch = config.branch - } - - const earlyAccessHeaders = configHandler.get(`earlyAccessHeaders`); - if (earlyAccessHeaders && Object.keys(earlyAccessHeaders).length > 0) { - clientParams.early_access = Object.values(earlyAccessHeaders); - } - - // eslint-disable-next-line new-cap - const stack = client(clientParams) - // check and update host if doesn't exists in REGION_URL_MAPPING - if (!REGION_URL_MAPPING[clientParams.region]) { - stack.setHost(cdaHost) - } - - const results = (await stack.getContentTypes({ - ...queryParams, - include_count: true, - })) as Omit & { count: number } - - if (results.count > limit) { - const additionalQueries = Array.from( - { length: Math.ceil(results.count / limit) - 1 }, - (_, i) => { - return async.reflect(async () => { - return stack.getContentTypes({ - ...queryParams, - skip: (i + 1) * limit, - }) - }) - } - ) - const additionalResults = (await async.parallel(additionalQueries)) as { - value: ContentTypeCollection; - }[] - - for (const r of additionalResults) { - results.content_types = [ - ...results.content_types, - ...r.value.content_types, - ] - } - } - - const types = results.content_types - - if (stack) { - return { - stack, - types, - } - } - throw new Error('Could not connect to the stack.') - } catch (error) { - throw new Error( - 'Could not connect to the stack. Please check your credentials.' - ) - } -} - -// Currently delivery sdk does not support querying global fields on a stack. Hence direct call is required. -export async function getGlobalFields(config: StackConnectionConfig, cdaHost: string) { - try { - return new Promise((resolve, reject) => { - const options: any = { - host: (REGION_URL_MAPPING as any)[config.region] || cdaHost, - path: 'v3/global_fields?include_branch=false', - port: 443, - method: 'GET', - headers: { - api_key: config.apiKey, - access_token: config.token, - environment: config.environment, - }, - } - if (config.branch) { - options.headers.branch = config.branch - } - const req = http.request(options, res => { - res.setEncoding('utf8') - let body = '' - res.on('data', chunk => { - body += chunk - }) - res.on('end', () => { - if (res.statusCode === 200) { - resolve(JSON.parse(body)) - } else { - reject(new Error('Could not connect to the stack. Please check your credentials.')) - } - }) - }) - req.on('error', error => { - reject(error) - }) - req.end() - }) - } catch (error) { - throw new Error('Could not connect to the stack. Please check your credentials.') - } -} - -export async function generateGraphQLTypeDef(config: StackConnectionConfig, outputFile: string, namespace: string) { - const spinner = cliux.loaderV2('Fetching graphql schema...') - try { - if (!GRAPHQL_REGION_URL_MAPPING[config.region]) { - throw new Error(`GraphQL content delivery api unavailable for '${config.region}' region`) - } - - const query = { - environment: config.environment, - } - const headers: any = { - access_token: config.token, - } - if (config.branch) { - headers.branch = config.branch - } - - // Generate graphql schema with introspection query - const url = `${GRAPHQL_REGION_URL_MAPPING[config.region]}/${config.apiKey}` - const result = await new HttpClient() - .headers(headers) - .queryParams(query) - .post(url, { query: introspectionQuery }) - - cliux.loaderV2('', spinner) - - let schema: string - if (namespace) { - schema = generateNamespace(namespace, result?.data) - } else { - schema = schemaToInterfaces(result?.data) - } - - //Create and write type def in file - const outputPath = path.resolve(sanitizePath(process.cwd()), sanitizePath(outputFile)) - const dirName = path.dirname(outputPath) - fs.mkdirSync(dirName, { recursive: true }) - fs.writeFileSync(outputPath, schema) - - return { - outputPath: outputPath, - } - } catch (error: any) { - cliux.loaderV2('', spinner) - throw error - } -} diff --git a/src/lib/stack/schema.ts b/src/lib/stack/schema.ts deleted file mode 100644 index 393672b..0000000 --- a/src/lib/stack/schema.ts +++ /dev/null @@ -1,65 +0,0 @@ -export type Identifier = { - uid: string; -}; - -export type Enum = { - advanced: boolean; - choices: Array<{ value: string }>; -}; - -export type FieldOptions = { - display_name: string; - data_type: string; - mandatory: boolean; - description: string; - unique: boolean; - multiple: boolean; - non_localizable: boolean; - max_instance: boolean | undefined; - display_type: string; -} & Identifier; - -export type Block = { - title: string; - schema: Schema; - reference_to?: string; -} & Identifier; - -export type GlobalField = { - reference_to: string; - schema: Schema; - schema_type?: string; - _version?: number; -} & FieldOptions; - -export type ReferenceField = { - reference_to: string | string[]; -} & FieldOptions; - -export type GroupField = { - schema: Schema; -} & FieldOptions; - -export type EnumField = { - enum: Enum; -} & FieldOptions; - -export type BlockField = { - blocks: Block[]; -} & FieldOptions; - -export type Field = GlobalField & - ReferenceField & - GroupField & - EnumField & - BlockField -export type Schema = Array; - -export type ContentType = { - description: string; - schema: Schema; - _version: number; - reference_to?: string; - data_type?: string; - schema_type?: string; -} & Identifier; diff --git a/src/lib/tsgen/docgen/doc.ts b/src/lib/tsgen/docgen/doc.ts deleted file mode 100644 index cd0fa16..0000000 --- a/src/lib/tsgen/docgen/doc.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface DocumentationGenerator { - interface: (description: string) => string | null; - field: (description: string) => string | null; -} diff --git a/src/lib/tsgen/docgen/jsdoc.ts b/src/lib/tsgen/docgen/jsdoc.ts deleted file mode 100644 index d91c5a8..0000000 --- a/src/lib/tsgen/docgen/jsdoc.ts +++ /dev/null @@ -1,15 +0,0 @@ -import {DocumentationGenerator} from './doc' - -export default class JSDocumentationGenerator implements DocumentationGenerator { - interface(description: string) { - return description ? this.block(description) : null - } - - field(description: string) { - return description ? this.block(description) : null - } - - private block(description: string) { - return ['/**', description, '*/'].join(' ') - } -} diff --git a/src/lib/tsgen/docgen/nulldoc.ts b/src/lib/tsgen/docgen/nulldoc.ts deleted file mode 100644 index 9b3d306..0000000 --- a/src/lib/tsgen/docgen/nulldoc.ts +++ /dev/null @@ -1,11 +0,0 @@ -import {DocumentationGenerator} from './doc' - -export default class NullDocumentationGenerator implements DocumentationGenerator { - interface(__description: string) { - return null - } - - field(__description: string) { - return null - } -} diff --git a/src/lib/tsgen/factory.ts b/src/lib/tsgen/factory.ts deleted file mode 100644 index 8141217..0000000 --- a/src/lib/tsgen/factory.ts +++ /dev/null @@ -1,365 +0,0 @@ -import {DocumentationGenerator} from './docgen/doc' -import NullDocumentationGenerator from './docgen/nulldoc' -import * as ContentstackTypes from '../stack/schema' -import * as _ from 'lodash' - -export type TSGenOptions = { - docgen: DocumentationGenerator; - naming?: { - prefix: string; - }; - systemFields?: boolean; -}; - -export type TSGenResult = { - definition: string; - metadata: { - name: string; - types: { - javascript: Set; - contentstack: Set; - globalFields: Set; - }; - dependencies: { - globalFields: GlobalFieldCache; - contentTypes: Set; - }; - }; -}; - -type GlobalFieldCache = { - [prop: string]: { definition: string }; -}; - -type ModularBlockCache = { - [prop: string]: string; -}; - -enum TypeFlags { - BuiltinJS = 1 << 0, - BuiltinCS = 1 << 1, - UserGlobalField = 1 << 2, - UserBlock = 1 << 3, - UserGroup = 1 << 4, - UserReference = 1 << 5, -} - -type TypeMapMatch = { - func: (field: ContentstackTypes.Field) => string; - track: boolean; - flag: TypeFlags; -}; - -type TypeMap = { - [prop: string]: TypeMapMatch; -}; - -const defaultOptions: TSGenOptions = { - docgen: new NullDocumentationGenerator(), - naming: { - prefix: '', - }, - systemFields: false -} - -export default function (userOptions: TSGenOptions) { - const options = Object.assign({}, defaultOptions, userOptions) - const visitedJSTypes = new Set() - const visitedCSTypes = new Set() - const visitedGlobalFields = new Set() - const visitedContentTypes = new Set() - const cachedGlobalFields: GlobalFieldCache = {} - const cachedModularBlocks: ModularBlockCache = {} - const modularBlockInterfaces = new Set() - const uniqueBlockInterfaces = new Set() - let counter = 1 - - const typeMap: TypeMap = { - text: {func: type_text, track: true, flag: TypeFlags.BuiltinJS}, - number: {func: type_number, track: true, flag: TypeFlags.BuiltinJS}, - isodate: {func: type_text, track: true, flag: TypeFlags.BuiltinJS}, - boolean: {func: type_boolean, track: true, flag: TypeFlags.BuiltinJS}, - blocks: {func: type_modular_blocks, track: false, flag: TypeFlags.UserBlock}, - global_field: { - func: type_global_field, - track: true, - flag: TypeFlags.UserGlobalField, - }, - group: {func: type_group, track: false, flag: TypeFlags.UserGroup}, - link: {func: type_link, track: true, flag: TypeFlags.BuiltinCS}, - file: {func: type_file, track: true, flag: TypeFlags.BuiltinCS}, - reference: { - func: type_reference, - track: true, - flag: TypeFlags.UserReference, - }, - taxonomy: { - func: type_taxonomy, - track: true, - flag: TypeFlags.BuiltinCS, - }, - } - - function track_dependency(field: ContentstackTypes.Field, type: string, flag: TypeFlags) { - if (flag === TypeFlags.BuiltinJS) { - visitedJSTypes.add(type) - } else if (flag === TypeFlags.UserGlobalField) { - const _type = name_type(field.reference_to) - visitedGlobalFields.add(_type) - - if (!cachedGlobalFields[_type]) { - cachedGlobalFields[_type] = { - definition: visit_content_type(field), - } - } - } else if (flag === TypeFlags.BuiltinCS) { - visitedCSTypes.add(type) - } else if (flag === TypeFlags.UserReference) { - if (Array.isArray(field.reference_to)) { - field.reference_to.forEach(v => { - visitedContentTypes.add(name_type(v)) - }) - } - } - } - - function name_type(uid: string) { - return [options?.naming?.prefix, _.upperFirst(_.camelCase(uid))] - .filter(v => v) - .join('') - } - - function define_interface( - contentType: ContentstackTypes.ContentType | ContentstackTypes.GlobalField, - systemFields = false - ) { - const interface_declaration = ['export interface', name_type(contentType.data_type === 'global_field' ? (contentType.reference_to as string) : contentType.uid)] - if (systemFields && contentType.schema_type !== "global_field") { - interface_declaration.push('extends', name_type('SystemFields')) - } - return interface_declaration.join(' ') - } - - function op_array(type: string, field: ContentstackTypes.Field) { - let op = '' - - if (field.multiple) { - op = '[]' - - if (field.max_instance) { - const elements = new Array(field.max_instance).fill(type as any) - return ['[', elements.join(', '), ']'].join('') - } - } - - return type + op - } - - function op_required(required: boolean) { - return required ? '' : '?' - } - - function op_paren(block: string) { - return `(${block})` - } - - function visit_field_choices(field: ContentstackTypes.Field) { - const choices = field.enum.choices - const length = choices.length - - if (!choices && !length) return '' - - function get_value(choice: { value: string }) { - if (field.data_type === 'number') { - return choice.value - } - - return `${JSON.stringify(choice.value)}` - } - - return op_paren(choices.map(v => get_value(v)).join(' | ')) - } - - function visit_field_type(field: ContentstackTypes.Field) { - let type = 'any' - - if (field.enum) { - type = visit_field_choices(field) - } else { - const match = typeMap[field.data_type] - - if (match) { - type = match.func(field) - - if (match.track) { - track_dependency(field, type, match.flag) - } - } - } - - return op_array(type, field) - } - - function visit_field(field: ContentstackTypes.Field) { - let fieldType = '' - if (field.data_type === 'global_field' && cachedGlobalFields[name_type(field.reference_to)]) { - fieldType = name_type(field.reference_to) - - if (field.multiple) { - fieldType += "[]"; - } - }else if (field.data_type === 'blocks') { - fieldType = type_modular_blocks(field); - } - return [ - field.uid + op_required(field.mandatory) + ':', - fieldType || visit_field_type(field), (['isodate','file','number'].includes(field.data_type) || ['radio','dropdown'].includes(field.display_type))?field.mandatory?'':'| null':'', ';' - ].join(' ') - } - - function visit_fields(schema: ContentstackTypes.Schema) { - return schema - .map(v => { - return [options.docgen.field(v.display_name), visit_field(v)] - .filter(v => v) - .join('\n') - }) - .join('\n') - } - - function visit_content_type( - contentType: ContentstackTypes.ContentType | ContentstackTypes.GlobalField - ) { - modularBlockInterfaces.clear(); - const contentTypeInterface = [ - options.docgen.interface(contentType.description), - define_interface(contentType, options.systemFields), - '{', - ['/**', "Version", '*/'].join(' '), - [`_version?: `,contentType._version,';'].join(' '), - visit_fields(contentType.schema), - '}', - ] - .filter(v => v) - .join('\n') - - return [...modularBlockInterfaces, contentTypeInterface].join('\n\n'); - } - - function type_modular_blocks(field: ContentstackTypes.Field): string { - let blockInterfaceName = name_type(field.uid); - - const blockInterfaces = field.blocks.map((block) => { - const fieldType = block.reference_to && cachedGlobalFields[name_type(block.reference_to)] - ? name_type(block.reference_to) - : visit_fields(block.schema || []); - - const schema = block.reference_to ? `${fieldType};` : `{\n ${fieldType} }`; - return `${block.uid}: ${schema}`; - }); - const blockInterfacesKey = blockInterfaces.join(';'); - - if(!uniqueBlockInterfaces.has(blockInterfacesKey)) { - uniqueBlockInterfaces.add(blockInterfacesKey); - // Keep appending a counter until a unique name is found - while (cachedModularBlocks[blockInterfaceName]) { - blockInterfaceName = `${blockInterfaceName}${counter}`; - counter++; - } - const modularInterface = [ - `export interface ${blockInterfaceName} {`, - blockInterfaces.join('\n'), - '}', - ].join('\n'); - modularBlockInterfaces.add(modularInterface); - cachedModularBlocks[blockInterfaceName] = blockInterfaceName; - } - - return field.multiple ? `${blockInterfaceName}[]` : blockInterfaceName; - } - - - function type_group(field: ContentstackTypes.Field) { - return ['{', visit_fields(field.schema), '}'].filter(v => v).join('\n') - } - - function type_text() { - return 'string' - } - - function type_number() { - return 'number' - } - - function type_boolean() { - return 'boolean' - } - - function type_link() { - return `${options.naming?.prefix}Link` - } - - function type_file() { - return `${options.naming?.prefix}File` - } - - function type_global_field(field: ContentstackTypes.GlobalField) { - if (!field.schema) { - throw new Error( - `Schema not found for global field '${field.uid}. Did you forget to include it?` - ) - } - - const name = name_type(field.reference_to) - - return name - } - - function type_reference(field: ContentstackTypes.Field) { - const references: string[] = [] - - if (Array.isArray(field.reference_to)) { - field.reference_to.forEach(v => { - references.push(name_type(v)) - }) - } else { - references.push(name_type(field.reference_to)) - } - - return ["(", references.join(" | "), ")", "[]"].join(""); - } - - return function (contentType: ContentstackTypes.ContentType): TSGenResult|any { - if (contentType.schema_type === 'global_field') { - const name = name_type(contentType.uid) - if (!cachedGlobalFields[name]) { - cachedGlobalFields[name] = { - definition: visit_content_type(contentType), - } - } - return { - definition: cachedGlobalFields[name].definition, - isGlobalField: true, - } - } - return { - definition: visit_content_type(contentType), - metadata: { - name: name_type(contentType.uid), - types: { - javascript: visitedJSTypes, - contentstack: visitedCSTypes, - globalFields: visitedGlobalFields, - }, - dependencies: { - globalFields: cachedGlobalFields, - contentTypes: visitedContentTypes, - }, - }, - } - } - - function type_taxonomy() { - return `${options?.naming?.prefix}Taxonomy` - } -} diff --git a/src/lib/tsgen/runner.ts b/src/lib/tsgen/runner.ts deleted file mode 100644 index a2c2205..0000000 --- a/src/lib/tsgen/runner.ts +++ /dev/null @@ -1,73 +0,0 @@ -import * as fs from 'fs' -import * as path from 'path' -import * as prettier from 'prettier' - -import { defaultInterfaces } from '../stack/builtins' -import { DocumentationGenerator } from './docgen/doc' -import JSDocumentationGenerator from './docgen/jsdoc' -import NullDocumentationGenerator from './docgen/nulldoc' -import tsgenFactory from './factory' -import { sanitizePath } from '../helper' - -async function format(definition: string) { - const prettierConfig = await prettier.resolveConfig(process.cwd()) - const formatted = await prettier.format(definition, { - ...prettierConfig, - parser: 'typescript', - }) - return formatted -} - -function createOutputPath(outputFile: string) { - const outputPath = path.resolve(sanitizePath(process.cwd()), sanitizePath(outputFile)) - const dirName = path.dirname(outputPath) - - fs.mkdirSync(dirName, { recursive: true }) - - return outputPath -} - -export default async function tsgenRunner(outputFile: string, contentTypes: any[], prefix = '', includeDocumentation = true, systemFields = false) { - const docgen: DocumentationGenerator = includeDocumentation ? new JSDocumentationGenerator() : new NullDocumentationGenerator() - - const outputPath = createOutputPath(outputFile) - const globalFields = new Set() - const definitions = [] - - const tsgen = tsgenFactory({ - docgen, - naming: { - prefix, - }, - systemFields - }) - - for (const contentType of contentTypes) { - const tsgenResult = tsgen(contentType) - - if (tsgenResult.isGlobalField) { - globalFields.add(tsgenResult.definition) - } else { - definitions.push(tsgenResult.definition) - - tsgenResult.metadata.types.globalFields.forEach((field: string) => { - globalFields.add(tsgenResult.metadata.dependencies.globalFields[field].definition) - }) - } - } - - const output = await format( - [ - defaultInterfaces(prefix, systemFields).join('\n\n'), - [...globalFields].join('\n\n'), - definitions.join('\n\n'), - ].join('\n\n') - ) - - fs.writeFileSync(outputPath, output) - - return { - definitions: definitions.length, - outputPath, - } -} diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..a41a142 --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,7 @@ +export type StackConnectionConfig = { + apiKey: string; + token: string; + region: any; + environment: string; + branch?: string | undefined; +}; diff --git a/tests/tsgen/boolean.ct.js b/tests/tsgen/boolean.ct.js deleted file mode 100644 index 52f938e..0000000 --- a/tests/tsgen/boolean.ct.js +++ /dev/null @@ -1,126 +0,0 @@ -const builtinBoolean = { - created_at: "2020-07-12T14:36:50.167Z", - updated_at: "2020-07-12T14:37:02.250Z", - title: "Boolean", - uid: "boolean", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "boolean", - display_name: "Boolean", - uid: "boolean", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - builtinBoolean -} \ No newline at end of file diff --git a/tests/tsgen/boolean.test.ts b/tests/tsgen/boolean.test.ts deleted file mode 100644 index 19b6a13..0000000 --- a/tests/tsgen/boolean.test.ts +++ /dev/null @@ -1,34 +0,0 @@ -const testData = require("./boolean.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: "I", - }, -}); - -describe("builtin boolean field", () => { - const result = tsgen(testData.builtinBoolean); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect(types.javascript).toContain("boolean"); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface IBoolean - { - /** Version */ - _version?: 2 ; - title: string ; - boolean?: boolean ; - }" - `); - }); -}); diff --git a/tests/tsgen/defaults.ct.js b/tests/tsgen/defaults.ct.js deleted file mode 100644 index 346cf0c..0000000 --- a/tests/tsgen/defaults.ct.js +++ /dev/null @@ -1,237 +0,0 @@ -const defaultSingleContentBlock = { - created_at: "2020-07-12T13:40:34.011Z", - updated_at: "2020-07-12T13:40:36.124Z", - title: "Metadata Single Content Block", - uid: "metadata_single_content_block", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -const defaultSingleWebpage = { - created_at: "2020-07-12T13:12:38.227Z", - updated_at: "2020-07-12T13:12:41.598Z", - title: "Metadata Single Webpage", - uid: "metadata_single_webpage", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - display_name: "URL", - uid: "url", - data_type: "text", - mandatory: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: true, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - defaultSingleWebpage, - defaultSingleContentBlock, -}; \ No newline at end of file diff --git a/tests/tsgen/defaults.test.ts b/tests/tsgen/defaults.test.ts deleted file mode 100644 index 2e81318..0000000 --- a/tests/tsgen/defaults.test.ts +++ /dev/null @@ -1,53 +0,0 @@ -const testData = require("./defaults.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: "I", - }, -}); - -describe("default single content block", () => { - const result = tsgen(testData.defaultSingleContentBlock); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface IMetadataSingleContentBlock - { - /** Version */ - _version?: 2 ; - title: string ; - }" - `); - }); -}); - -describe("default single webpage", () => { - const result = tsgen(testData.defaultSingleWebpage); - - test("types", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect(types.javascript).toContain("string"); - }); - - test("dependencies", () => { - expect(result.metadata.dependencies.globalFields).toEqual({}); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface IMetadataSingleWebpage - { - /** Version */ - _version?: 2 ; - title: string ; - url: string ; - }" - `); - }); -}); diff --git a/tests/tsgen/global.fields.ct.js b/tests/tsgen/global.fields.ct.js deleted file mode 100644 index 8ed8985..0000000 --- a/tests/tsgen/global.fields.ct.js +++ /dev/null @@ -1,169 +0,0 @@ -const globalFields = { - created_at: "2020-07-12T15:48:42.629Z", - updated_at: "2020-07-12T15:48:52.343Z", - title: "Global Fields", - uid: "global_fields", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "global_field", - display_name: "SEO", - reference_to: "seo", - field_metadata: { - description: "", - }, - uid: "seo", - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - schema: [ - { - data_type: "text", - display_name: "Keywords", - uid: "keywords", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - indexed: false, - inbuilt_model: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Description", - uid: "description", - field_metadata: { - description: "", - default_value: "", - multiline: true, - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - indexed: false, - inbuilt_model: false, - non_localizable: false, - }, - ], - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - globalFields, -}; diff --git a/tests/tsgen/global.fields.test.ts b/tests/tsgen/global.fields.test.ts deleted file mode 100644 index 78981ad..0000000 --- a/tests/tsgen/global.fields.test.ts +++ /dev/null @@ -1,46 +0,0 @@ -const testData = require("./global.fields.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: "I", - }, -}); - -describe("global fields", () => { - const result = tsgen(testData.globalFields); - - test("metadata", () => { - const types = result.metadata.types; - - expect([...types.globalFields]).toEqual(expect.arrayContaining(["ISeo"])); - }); - - test("global field definition", () => { - const globalField = result.metadata.dependencies.globalFields.ISeo; - expect(globalField.definition).toMatchInlineSnapshot(` - "export interface ISeo - { - /** Version */ - _version?: ; - keywords?: string ; - description?: string ; - }" - `); - }); - - test("content type definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface IGlobalFields - { - /** Version */ - _version?: 2 ; - title: string ; - seo?: ISeo ; - }" - `); - }); -}); diff --git a/tests/tsgen/group.ct.js b/tests/tsgen/group.ct.js deleted file mode 100644 index 445c4a4..0000000 --- a/tests/tsgen/group.ct.js +++ /dev/null @@ -1,288 +0,0 @@ -const group = { - created_at: "2020-07-12T15:07:35.329Z", - updated_at: "2020-07-12T15:15:23.552Z", - title: "Group", - uid: "group", - _version: 3, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "group", - display_name: "Multiple Group Max Limit", - field_metadata: {}, - schema: [ - { - data_type: "number", - display_name: "Number", - uid: "number", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - uid: "multiple_group_max_limit", - multiple: true, - max_instance: 5, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "group", - display_name: "Multiple Group", - field_metadata: {}, - schema: [ - { - data_type: "text", - display_name: "Single line textbox", - uid: "single_line", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - non_localizable: false, - multiple: false, - mandatory: false, - unique: false, - }, - ], - uid: "multiple_group", - multiple: true, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "group", - display_name: "Parent Group", - field_metadata: {}, - schema: [ - { - data_type: "text", - display_name: "Rich text editor", - uid: "rich_text_editor", - field_metadata: { - allow_rich_text: true, - description: "", - multiline: false, - rich_text_type: "advanced", - options: [], - version: 3, - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Multi line textbox", - uid: "multi_line", - field_metadata: { - description: "", - default_value: "", - multiline: true, - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox", - uid: "single_line", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "group", - display_name: "Child Group", - field_metadata: {}, - schema: [ - { - data_type: "number", - display_name: "Number", - uid: "number", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "boolean", - display_name: "Boolean", - uid: "boolean", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date", - uid: "date", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - uid: "child_group", - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - uid: "parent_group", - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - group -} \ No newline at end of file diff --git a/tests/tsgen/group.test.ts b/tests/tsgen/group.test.ts deleted file mode 100644 index d530df9..0000000 --- a/tests/tsgen/group.test.ts +++ /dev/null @@ -1,56 +0,0 @@ -const testData = require("./group.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("group", () => { - const result = tsgen(testData.group); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect([...types.javascript]).toEqual( - expect.arrayContaining(["string", "number", "boolean"]) - ); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface Group - { - /** Version */ - _version?: 3 ; - title: string ; - multiple_group_max_limit?: [{ - number?: number | null ; - }, { - number?: number | null ; - }, { - number?: number | null ; - }, { - number?: number | null ; - }, { - number?: number | null ; - }] ; - multiple_group?: { - single_line?: string ; - }[] ; - parent_group?: { - rich_text_editor?: string ; - multi_line?: string ; - single_line?: string ; - child_group?: { - number?: number | null ; - boolean?: boolean ; - date?: string | null ; - } ; - } ; - }" - `); - }); -}); diff --git a/tests/tsgen/initialization.ct.js b/tests/tsgen/initialization.ct.js deleted file mode 100644 index 9de35b8..0000000 --- a/tests/tsgen/initialization.ct.js +++ /dev/null @@ -1,113 +0,0 @@ -const defaultSingleContentBlock = { - created_at: "2020-07-12T13:40:34.011Z", - updated_at: "2020-07-12T13:40:36.124Z", - title: "Metadata Single Content Block", - uid: "metadata_single_content_block", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, - }; - - module.exports = { - defaultSingleContentBlock, - }; \ No newline at end of file diff --git a/tests/tsgen/initialization.test.ts b/tests/tsgen/initialization.test.ts deleted file mode 100644 index 1c39e9d..0000000 --- a/tests/tsgen/initialization.test.ts +++ /dev/null @@ -1,34 +0,0 @@ -const testData = require('./initialization.ct') - -import NullDocumentationGenerator from '../../src/lib/tsgen/docgen/nulldoc' -import tsgenFactory from '../../src/lib/tsgen/factory' - -describe('initialization', () => { - test('default naming convention', () => { - const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: 'I', - }, - }) - - const result = tsgen(testData.defaultSingleContentBlock) - const metadata = result.metadata - - expect(metadata.name).toBe('IMetadataSingleContentBlock') - }) - - test('custom prefix', () => { - const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: 'UserPrefix', - }, - }) - - const result = tsgen(testData.defaultSingleContentBlock) - const metadata = result.metadata - - expect(metadata.name).toBe('UserPrefixMetadataSingleContentBlock') - }) -}) diff --git a/tests/tsgen/isodate.ct.js b/tests/tsgen/isodate.ct.js deleted file mode 100644 index 5e1c204..0000000 --- a/tests/tsgen/isodate.ct.js +++ /dev/null @@ -1,190 +0,0 @@ -const builtinIsodate = { - created_at: "2020-07-12T14:31:23.756Z", - updated_at: "2020-07-12T14:32:33.380Z", - title: "Isodate", - uid: "isodate", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date", - uid: "date", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date Required", - uid: "date_required", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - mandatory: true, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date Multiple", - uid: "date_multiple", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - multiple: true, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date Multiple Maxlength", - uid: "date_multiple_maxlength", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - multiple: true, - max_instance: 5, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "isodate", - display_name: "Date Required Multiple Maxlength", - uid: "date_required_multiple_maxlength", - startDate: null, - endDate: null, - field_metadata: { - description: "", - default_value: "", - }, - multiple: true, - max_instance: 8, - mandatory: true, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - builtinIsodate, -} \ No newline at end of file diff --git a/tests/tsgen/isodate.test.ts b/tests/tsgen/isodate.test.ts deleted file mode 100644 index 895438d..0000000 --- a/tests/tsgen/isodate.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -const testData = require("./isodate.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("builtin isodate field", () => { - const result = tsgen(testData.builtinIsodate); - - /* - * Isodates are returned as strings - */ - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect(types.javascript).toContain("string"); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface Isodate - { - /** Version */ - _version?: 2 ; - title: string ; - date?: string | null ; - date_required: string ; - date_multiple?: string[] | null ; - date_multiple_maxlength?: [string, string, string, string, string] | null ; - date_required_multiple_maxlength: [string, string, string, string, string, string, string, string] ; - }" - `); - }); -}); diff --git a/tests/tsgen/jsdoc.ct.js b/tests/tsgen/jsdoc.ct.js deleted file mode 100644 index 307d230..0000000 --- a/tests/tsgen/jsdoc.ct.js +++ /dev/null @@ -1,163 +0,0 @@ -const jsdoc = { - created_at: "2020-07-12T17:35:41.879Z", - updated_at: "2020-07-12T17:38:31.073Z", - title: "jsdoc", - uid: "jsdoc", - _version: 3, - inbuilt_class: false, - schema: [ - { - display_name: "Name", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Age", - uid: "current_age", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "City", - uid: "current_city", - field_metadata: { - description: "", - default_value: "", - multiline: true, - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "State", - uid: "current_state", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "Content Type Description", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - jsdoc, -}; diff --git a/tests/tsgen/jsdoc.test.ts b/tests/tsgen/jsdoc.test.ts deleted file mode 100644 index 62b991c..0000000 --- a/tests/tsgen/jsdoc.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -const testData = require("./jsdoc.ct"); - -import JSDocumentationGenerator from "../../src/lib/tsgen/docgen/jsdoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new JSDocumentationGenerator(), -}); - -describe("jsdoc", () => { - const result = tsgen(testData.jsdoc); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "/** Content Type Description */ - export interface Jsdoc - { - /** Version */ - _version?: 3 ; - /** Name */ - title: string ; - /** Age */ - current_age?: number | null ; - /** City */ - current_city?: string ; - /** State */ - current_state?: string ; - }" - `); - }); -}); diff --git a/tests/tsgen/modular.blocks.ct.js b/tests/tsgen/modular.blocks.ct.js deleted file mode 100644 index cd3a657..0000000 --- a/tests/tsgen/modular.blocks.ct.js +++ /dev/null @@ -1,273 +0,0 @@ -const modularBlocks = { - created_at: "2020-07-12T15:38:40.048Z", - updated_at: "2020-07-12T15:40:10.208Z", - title: "Modular Blocks", - uid: "modular_blocks", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - display_name: "URL", - uid: "url", - data_type: "text", - mandatory: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "blocks", - display_name: "Modular Blocks", - blocks: [ - { - title: "String Block", - uid: "string_block", - schema: [ - { - data_type: "text", - display_name: "Single line textbox", - uid: "single_line", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - non_localizable: false, - multiple: false, - mandatory: false, - unique: false, - }, - { - data_type: "text", - display_name: "Multi line textbox", - uid: "multi_line", - field_metadata: { - description: "", - default_value: "", - multiline: true, - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - non_localizable: false, - multiple: false, - mandatory: false, - unique: false, - }, - { - data_type: "text", - display_name: "Markdown", - uid: "markdown", - field_metadata: { - description: "", - markdown: true, - version: 3, - }, - non_localizable: false, - multiple: false, - mandatory: false, - unique: false, - }, - { - data_type: "text", - display_name: "Rich text editor", - uid: "rich_text_editor", - field_metadata: { - allow_rich_text: true, - description: "", - multiline: false, - rich_text_type: "advanced", - options: [], - version: 3, - }, - non_localizable: false, - multiple: false, - mandatory: false, - unique: false, - }, - ], - }, - { - title: "String Block with Options", - uid: "string_block_with_options", - schema: [ - { - data_type: "text", - display_name: "Single line textbox Required", - uid: "single_line_textbox_required", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - non_localizable: false, - mandatory: true, - multiple: false, - unique: false, - }, - { - data_type: "text", - display_name: "Single line textbox Multiple", - uid: "single_line_textbox_multiple", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - non_localizable: false, - multiple: true, - mandatory: false, - unique: false, - }, - ], - }, - { - title: "Boolean Block", - uid: "boolean_block", - schema: [ - { - data_type: "boolean", - display_name: "Boolean", - uid: "boolean", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - }, - ], - multiple: true, - uid: "modular_blocks", - field_metadata: {}, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: true, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - modularBlocks, -}; diff --git a/tests/tsgen/modular.blocks.test.ts b/tests/tsgen/modular.blocks.test.ts deleted file mode 100644 index 455f7b5..0000000 --- a/tests/tsgen/modular.blocks.test.ts +++ /dev/null @@ -1,44 +0,0 @@ -const testData = require("./modular.blocks.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("modular blocks", () => { - const result = tsgen(testData.modularBlocks); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface ModularBlocks { - string_block: { - single_line?: string ; - multi_line?: string ; - markdown?: string ; - rich_text_editor?: string ; } - string_block_with_options: { - single_line_textbox_required: string ; - single_line_textbox_multiple?: string[] ; } - boolean_block: { - boolean?: boolean ; } - } - - export interface ModularBlocks - { - /** Version */ - _version?: 2 ; - title: string ; - url: string ; - modular_blocks?: ModularBlocks[] ; - }" - `); - }); -}); diff --git a/tests/tsgen/number.ct.js b/tests/tsgen/number.ct.js deleted file mode 100644 index 5fd308b..0000000 --- a/tests/tsgen/number.ct.js +++ /dev/null @@ -1,193 +0,0 @@ -const builtinNumber = { - created_at: "2020-07-12T14:15:06.993Z", - updated_at: "2020-07-12T14:16:22.707Z", - title: "Number", - uid: "number", - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - display_name: "URL", - uid: "url", - data_type: "text", - mandatory: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Number", - uid: "number", - field_metadata: { - description: "", - default_value: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Number Required", - uid: "number_required", - field_metadata: { - description: "", - default_value: "", - }, - mandatory: true, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Number Multiple", - uid: "number_multiple", - field_metadata: { - description: "", - default_value: "", - }, - multiple: true, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Number Multiple Max Limit", - uid: "number_multiple_max_limit", - field_metadata: { - description: "", - default_value: "", - }, - multiple: true, - max_instance: 10, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Number Required Multiple Max Limit", - uid: "number_required_multiple_max_limit", - field_metadata: { - description: "", - default_value: "", - }, - mandatory: true, - multiple: true, - max_instance: 3, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: true, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - builtinNumber, -} \ No newline at end of file diff --git a/tests/tsgen/number.test.ts b/tests/tsgen/number.test.ts deleted file mode 100644 index 92ced7b..0000000 --- a/tests/tsgen/number.test.ts +++ /dev/null @@ -1,36 +0,0 @@ -const testData = require("./number.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("builtin number field", () => { - const result = tsgen(testData.builtinNumber); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect(types.javascript).toContain("number"); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface Number - { - /** Version */ - _version?: 2 ; - title: string ; - url: string ; - number?: number | null ; - number_required: number ; - number_multiple?: number[] | null ; - number_multiple_max_limit?: [number, number, number, number, number, number, number, number, number, number] | null ; - number_required_multiple_max_limit: [number, number, number] ; - }" - `); - }); -}); diff --git a/tests/tsgen/options.ct.js b/tests/tsgen/options.ct.js deleted file mode 100644 index ace3aa8..0000000 --- a/tests/tsgen/options.ct.js +++ /dev/null @@ -1,199 +0,0 @@ -const options = { - created_at: "2020-07-12T13:48:32.828Z", - updated_at: "2020-07-12T13:50:10.317Z", - title: "Options", - uid: "options", - _version: 4, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - display_name: "URL", - uid: "url", - data_type: "text", - mandatory: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox not required", - uid: "single_line_textbox_not_required", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox required", - uid: "single_line_textbox_required", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - mandatory: true, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox multiple", - uid: "single_line_textbox_multiple", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: true, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox multiple max limit", - uid: "single_line_textbox_multiple_max_limit", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: true, - max_instance: 5, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: true, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - options -} \ No newline at end of file diff --git a/tests/tsgen/options.test.ts b/tests/tsgen/options.test.ts deleted file mode 100644 index d8d56e0..0000000 --- a/tests/tsgen/options.test.ts +++ /dev/null @@ -1,28 +0,0 @@ -const testData = require("./options.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("all options", () => { - const result = tsgen(testData.options); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface Options - { - /** Version */ - _version?: 4 ; - title: string ; - url: string ; - single_line_textbox_not_required?: string ; - single_line_textbox_required: string ; - single_line_textbox_multiple?: string[] ; - single_line_textbox_multiple_max_limit?: [string, string, string, string, string] ; - }" - `); - }); -}); diff --git a/tests/tsgen/references.ct.js b/tests/tsgen/references.ct.js deleted file mode 100644 index f3bb4e0..0000000 --- a/tests/tsgen/references.ct.js +++ /dev/null @@ -1,154 +0,0 @@ -const references = { - created_at: "2020-07-13T15:04:40.394Z", - updated_at: "2020-07-13T15:39:12.714Z", - title: "Reference Parent", - uid: "reference_parent", - _version: 5, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - display_name: "URL", - uid: "url", - data_type: "text", - mandatory: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "reference", - display_name: "Single Reference", - reference_to: ["reference_child"], - field_metadata: { - ref_multiple: false, - ref_multiple_content_types: true, - }, - uid: "single_reference", - mandatory: true, - multiple: false, - unique: false, - non_localizable: false, - }, - { - data_type: "reference", - display_name: "Multiple Reference", - reference_to: ["reference_child", "boolean", "builtin_example"], - field_metadata: { - ref_multiple: true, - ref_multiple_content_types: true, - }, - uid: "multiple_reference", - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: true, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - references, -}; diff --git a/tests/tsgen/references.test.ts b/tests/tsgen/references.test.ts deleted file mode 100644 index 84f5148..0000000 --- a/tests/tsgen/references.test.ts +++ /dev/null @@ -1,37 +0,0 @@ -const testData = require("./references.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: "I", - }, -}); - -describe("references", () => { - const result = tsgen(testData.references); - - test("metadata", () => { - const contentTypes = [...result.metadata.dependencies.contentTypes]; - - expect(contentTypes).toEqual( - expect.arrayContaining(["IReferenceChild", "IBoolean", "IBuiltinExample"]) - ); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface IReferenceParent - { - /** Version */ - _version?: 5 ; - title: string ; - url: string ; - single_reference: (IReferenceChild)[] ; - multiple_reference?: (IReferenceChild | IBoolean | IBuiltinExample)[] ; - }" - `); - }); -}); diff --git a/tests/tsgen/select.ct.js b/tests/tsgen/select.ct.js deleted file mode 100644 index 53ee66a..0000000 --- a/tests/tsgen/select.ct.js +++ /dev/null @@ -1,289 +0,0 @@ -const select = { - created_at: "2020-07-12T15:19:18.713Z", - updated_at: "2020-10-28T01:17:25.986Z", - title: "Select", - uid: "select", - _version: 5, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Select Single Value", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: "Option 1", - }, - { - value: "Option 2", - }, - { - value: "Option 3", - }, - ], - }, - multiple: false, - uid: "select_single_value", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Select Single Value Required", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: "Test 1", - }, - { - value: "Test 2", - }, - { - value: "Test 3", - }, - ], - }, - multiple: false, - uid: "select_single_value_required", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - mandatory: true, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Select Single Value with Quotes", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: '"ABC"', - }, - { - value: "A'B'C", - }, - { - value: "`A`B`C", - }, - ], - }, - multiple: false, - uid: "select_single_value_with_quotes", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Select Multi Value", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: "Multi 1", - }, - { - value: "Multi 2", - }, - { - value: "Multi 3", - }, - ], - }, - multiple: true, - uid: "select_multi_value", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Select Multi Value Required", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: "Multi Req 1", - }, - { - value: "Multi Req 2", - }, - { - value: "Multi Req 3", - }, - ], - }, - multiple: true, - uid: "select_multi_value_required", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - mandatory: true, - unique: false, - non_localizable: false, - }, - { - data_type: "number", - display_name: "Select Number Values", - display_type: "dropdown", - enum: { - advanced: false, - choices: [ - { - value: 1, - }, - { - value: 2, - }, - { - value: 3, - }, - { - value: 4, - }, - ], - }, - multiple: false, - uid: "select_number_values", - field_metadata: { - description: "", - default_value: "", - }, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - select, -}; diff --git a/tests/tsgen/select.test.ts b/tests/tsgen/select.test.ts deleted file mode 100644 index b45c1ea..0000000 --- a/tests/tsgen/select.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -const testData = require("./select.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("select (dropdown)", () => { - const result = tsgen(testData.select); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface Select - { - /** Version */ - _version?: 5 ; - title: string ; - select_single_value?: (\\"Option 1\\" | \\"Option 2\\" | \\"Option 3\\") | null ; - select_single_value_required: (\\"Test 1\\" | \\"Test 2\\" | \\"Test 3\\") ; - select_single_value_with_quotes?: (\\"\\\\\\"ABC\\\\\\"\\" | \\"A'B'C\\" | \\"\`A\`B\`C\\") | null ; - select_multi_value?: (\\"Multi 1\\" | \\"Multi 2\\" | \\"Multi 3\\")[] | null ; - select_multi_value_required: (\\"Multi Req 1\\" | \\"Multi Req 2\\" | \\"Multi Req 3\\")[] ; - select_number_values?: (1 | 2 | 3 | 4) | null ; - }" - `); - }); -}); diff --git a/tests/tsgen/string.ct.js b/tests/tsgen/string.ct.js deleted file mode 100644 index 1bc33ad..0000000 --- a/tests/tsgen/string.ct.js +++ /dev/null @@ -1,181 +0,0 @@ -const builtinStrings = { - created_at: "2020-07-12T12:57:31.769Z", - updated_at: "2020-07-12T13:00:45.296Z", - title: "Builtin Strings", - uid: "builtin_strings", - _version: 4, - inbuilt_class: false, - schema: [ - { - display_name: "Title", - uid: "title", - data_type: "text", - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Single line textbox", - uid: "single_line", - field_metadata: { - description: "", - default_value: "", - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Multi line textbox", - uid: "multi_line", - field_metadata: { - description: "", - default_value: "", - multiline: true, - version: 3, - }, - format: "", - error_messages: { - format: "", - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Rich text editor", - uid: "rich_text_editor", - field_metadata: { - allow_rich_text: true, - description: "", - multiline: false, - rich_text_type: "advanced", - options: [], - version: 3, - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: "text", - display_name: "Markdown", - uid: "markdown", - field_metadata: { - description: "", - markdown: true, - version: 3, - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - ], - last_activity: {}, - maintain_revisions: true, - description: "", - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: "blta1a106c13958e89d", - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: "blt127263b8951e2542", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: "blt7e69bb0e63cc5fb6", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: "bltb442c49a50c5804d", - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: "title", - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -}; - -module.exports = { - builtinStrings, -}; diff --git a/tests/tsgen/string.test.ts b/tests/tsgen/string.test.ts deleted file mode 100644 index a74d769..0000000 --- a/tests/tsgen/string.test.ts +++ /dev/null @@ -1,34 +0,0 @@ -const testData = require("./string.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), -}); - -describe("builtin string fields", () => { - const result = tsgen(testData.builtinStrings); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(0); - expect([...types.globalFields]).toHaveLength(0); - expect(types.javascript).toContain("string"); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface BuiltinStrings - { - /** Version */ - _version?: 4 ; - title: string ; - single_line?: string ; - multi_line?: string ; - rich_text_editor?: string ; - markdown?: string ; - }" - `); - }); -}); diff --git a/tests/tsgen/taxonomies.ct.js b/tests/tsgen/taxonomies.ct.js deleted file mode 100644 index c997772..0000000 --- a/tests/tsgen/taxonomies.ct.js +++ /dev/null @@ -1,150 +0,0 @@ -const builtinTaxonomies = { - created_at: '2020-07-12T14:36:50.167Z', - updated_at: '2020-07-12T14:37:02.250Z', - title: 'Taxonomies', - uid: 'taxonomy', - _version: 2, - inbuilt_class: false, - schema: [ - { - display_name: 'Title', - uid: 'title', - data_type: 'text', - mandatory: true, - unique: true, - field_metadata: { - _default: true, - version: 3, - }, - multiple: false, - non_localizable: false, - }, - { - data_type: 'boolean', - display_name: 'Boolean', - uid: 'boolean', - field_metadata: { - description: '', - default_value: '', - }, - multiple: false, - mandatory: false, - unique: false, - non_localizable: false, - }, - { - data_type: 'taxonomy', - display_name: 'Taxonomy', - uid: 'taxonomies', - taxonomies: [ - { - taxonomy_uid: 'taxonomy1', - max_terms: 2, - mandatory: true, - non_localizable: false, - }, - { - taxonomy_uid: 'taxonomy2', - max_terms: 2, - mandatory: true, - non_localizable: false, - }, - ], - field_metadata: {description: '', default_value: ''}, - format: '', - mandatory: false, - multiple: true, - non_localizable: false, - unique: false, - schema: [], - }, - ], - last_activity: {}, - maintain_revisions: true, - description: '', - DEFAULT_ACL: { - others: { - read: false, - create: false, - }, - users: [ - { - uid: 'user1', - read: true, - sub_acl: { - read: true, - }, - }, - ], - }, - SYS_ACL: { - roles: [ - { - uid: 'role1', - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - { - uid: 'role2', - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - }, - { - uid: 'role3', - read: true, - sub_acl: { - create: true, - read: true, - update: true, - delete: true, - publish: true, - }, - update: true, - delete: true, - }, - ], - others: { - read: false, - create: false, - update: false, - delete: false, - sub_acl: { - read: false, - create: false, - update: false, - delete: false, - publish: false, - }, - }, - }, - options: { - is_page: false, - singleton: true, - title: 'title', - sub_title: [], - }, - abilities: { - get_one_object: true, - get_all_objects: true, - create_object: true, - update_object: true, - delete_object: true, - delete_all_objects: true, - }, -} - -module.exports = {builtinTaxonomies} diff --git a/tests/tsgen/taxonomies.test.ts b/tests/tsgen/taxonomies.test.ts deleted file mode 100644 index 6897d07..0000000 --- a/tests/tsgen/taxonomies.test.ts +++ /dev/null @@ -1,37 +0,0 @@ -const testData = require("./taxonomies.ct"); - -import NullDocumentationGenerator from "../../src/lib/tsgen/docgen/nulldoc"; -import tsgenFactory from "../../src/lib/tsgen/factory"; - -const tsgen = tsgenFactory({ - docgen: new NullDocumentationGenerator(), - naming: { - prefix: "I", - }, -}); - -describe("builtin taxonomies field", () => { - const result = tsgen(testData.builtinTaxonomies); - - test("metadata", () => { - const types = result.metadata.types; - expect([...types.contentstack]).toHaveLength(1); - expect([...types.globalFields]).toHaveLength(0); - expect([...types.contentstack]).toEqual( - expect.arrayContaining(["ITaxonomy"]) - ); - }); - - test("definition", () => { - expect(result.definition).toMatchInlineSnapshot(` - "export interface ITaxonomy - { - /** Version */ - _version?: 2 ; - title: string ; - boolean?: boolean ; - taxonomies?: ITaxonomy[] ; - }" - `); - }); -}); From 01fb61ae77a6d7a476fcbe0fe2a9dbdf31e85a3a Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Mon, 28 Oct 2024 18:36:39 +0530 Subject: [PATCH 02/19] test: added integration testing for types-generator NPM package with this cli plugin --- .eslintrc | 1 + .gitignore | 2 + package-lock.json | 2899 +++++++++++-------- package.json | 4 +- tests/integration/tsgen.integration.test.ts | 192 ++ tsconfig.json | 1 + 6 files changed, 1827 insertions(+), 1272 deletions(-) create mode 100644 tests/integration/tsgen.integration.test.ts diff --git a/.eslintrc b/.eslintrc index e55039d..c042137 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "oclif-typescript" ], "rules": { + "unicorn/prefer-module": "off", "unicorn/no-abusive-eslint-disable": "off", "@typescript-eslint/no-use-before-define": "off" } diff --git a/.gitignore b/.gitignore index 6774196..eb7e74d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ /dist /tmp /yarn.lock +/logs node_modules .vscode/ oclif.manifest.json +.env diff --git a/package-lock.json b/package-lock.json index 14c5613..868f84f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,9 @@ "dependencies": { "@contentstack/cli-command": "^1.3.1", "@contentstack/cli-utilities": "^1.7.3", - "@gql2ts/from-schema": "^2.0.0-4", + "@contentstack/types-generator": "^2.0.2", "async": "^3.2.6", + "dotenv": "^16.4.5", "fancy-test": "^3.0.16", "graphql": "^14.7.0", "lodash": "^4.17.21", @@ -58,12 +59,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.6.tgz", - "integrity": "sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz", + "integrity": "sha512-INCKxTtbXtcNbUZ3YXutwMpEleqttcswhAdee7dhuoVrD2cnuc3PqtERBtxkX5nziX9vnBL8WXmSGwv8CuPV6g==", "dev": true, "dependencies": { - "@babel/highlight": "^7.24.6", + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", "picocolors": "^1.0.0" }, "engines": { @@ -71,30 +73,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.6.tgz", - "integrity": "sha512-aC2DGhBq5eEdyXWqrDInSqQjO0k8xtPRf5YylULqx8MCd6jBtzqfta/3ETMRpuKIc5hyswfO80ObyA1MvkCcUQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.0.tgz", + "integrity": "sha512-qETICbZSLe7uXv9VE8T/RWOdIE5qqyTucOt4zLYMafj2MRO271VGgLd4RACJMeBO37UPWhXiKMBk7YlJ0fOzQA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.6.tgz", - "integrity": "sha512-qAHSfAdVyFmIvl0VHELib8xar7ONuSHrE2hLnsaWkYNTI68dmi1x8GYDhJjMI/e7XWal9QBlZkwbOnkcw7Z8gQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", + "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.6", - "@babel/generator": "^7.24.6", - "@babel/helper-compilation-targets": "^7.24.6", - "@babel/helper-module-transforms": "^7.24.6", - "@babel/helpers": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/template": "^7.24.6", - "@babel/traverse": "^7.24.6", - "@babel/types": "^7.24.6", + "@babel/code-frame": "^7.26.0", + "@babel/generator": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.0", + "@babel/parser": "^7.26.0", + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.26.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -125,29 +127,30 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.6.tgz", - "integrity": "sha512-S7m4eNa6YAPJRHmKsLHIDJhNAGNKoWNiWefz1MBbpnt8g9lvMDl1hir4P9bo/57bQEmuwEhnRU/AMWsD0G/Fbg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.0.tgz", + "integrity": "sha512-/AIkAmInnWwgEAJGQr9vY0c66Mj6kjkE2ZPB1PurTRaRAh3U+J45sAQMjQDJdh4WbR3l0x5xkimXBKyBXXAu2w==", "dev": true, "dependencies": { - "@babel/types": "^7.24.6", + "@babel/parser": "^7.26.0", + "@babel/types": "^7.26.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" + "jsesc": "^3.0.2" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.6.tgz", - "integrity": "sha512-VZQ57UsDGlX/5fFA7GkVPplZhHsVc+vuErWgdOiysI9Ksnw0Pbbd6pnPiR/mmJyKHgyIW0c7KT32gmhiF+cirg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", + "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.24.6", - "@babel/helper-validator-option": "^7.24.6", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -164,63 +167,28 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.6.tgz", - "integrity": "sha512-Y50Cg3k0LKLMjxdPjIl40SdJgMB85iXn27Vk/qbHZCFx/o5XO3PSnpi675h1KEmmDb6OFArfd5SCQEQ5Q4H88g==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.6.tgz", - "integrity": "sha512-xpeLqeeRkbxhnYimfr2PC+iA0Q7ljX/d1eZ9/inYbmfG2jpl8Lu3DyXvpOAnrS5kxkfOWJjioIMQsaMBXFI05w==", - "dev": true, - "dependencies": { - "@babel/template": "^7.24.6", - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.6.tgz", - "integrity": "sha512-SF/EMrC3OD7dSta1bLJIlrsVxwtd0UpjRJqLno6125epQMJ/kyFmpTT4pbvPbdQHzCHg+biQ7Syo8lnDtbR+uA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.6.tgz", - "integrity": "sha512-a26dmxFJBF62rRO9mmpgrfTLsAuyHk4e1hKTUkD/fcMfynt8gvEKwQPQDVxWhca8dHoDck+55DFt42zV0QMw5g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", "dev": true, "dependencies": { - "@babel/types": "^7.24.6" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.6.tgz", - "integrity": "sha512-Y/YMPm83mV2HJTbX1Qh2sjgjqcacvOlhbzdCCsSlblOKjSYmQqEbO6rUniWQyRo9ncyfjT8hnUjlG06RXDEmcA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.24.6", - "@babel/helper-module-imports": "^7.24.6", - "@babel/helper-simple-access": "^7.24.6", - "@babel/helper-split-export-declaration": "^7.24.6", - "@babel/helper-validator-identifier": "^7.24.6" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -230,169 +198,62 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.6.tgz", - "integrity": "sha512-MZG/JcWfxybKwsA9N9PmtF2lOSFSEMVCpIRrbxccZFLJPrJciJdG/UhSh5W96GEteJI2ARqm5UAHxISwRDLSNg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.6.tgz", - "integrity": "sha512-nZzcMMD4ZhmB35MOOzQuiGO5RzL6tJbsT37Zx8M5L/i9KSrukGXWTjLe1knIbb/RmxoJE9GON9soq0c0VEMM5g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", + "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", "dev": true, - "dependencies": { - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.6.tgz", - "integrity": "sha512-CvLSkwXGWnYlF9+J3iZUvwgAxKiYzK3BWuo+mLzD/MDGOZDj7Gq8+hqaOkMxmJwmlv0iu86uH5fdADd9Hxkymw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.6" - }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.6.tgz", - "integrity": "sha512-WdJjwMEkmBicq5T9fm/cHND3+UlFa2Yj8ALLgmoSQAJZysYbBjw+azChSGPN4DSPLXOcooGRvDwZWMcF/mLO2Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz", - "integrity": "sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.6.tgz", - "integrity": "sha512-Jktc8KkF3zIkePb48QO+IapbXlSapOW9S+ogZZkcO6bABgYAxtZcjZ/O005111YLf+j4M84uEgwYoidDkXbCkQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.6.tgz", - "integrity": "sha512-V2PI+NqnyFu1i0GyTd/O/cTpxzQCYioSkUIRmgo7gFEHKKCg5w46+r/A6WeUR1+P3TeQ49dspGPNd/E3n9AnnA==", - "dev": true, - "dependencies": { - "@babel/template": "^7.24.6", - "@babel/types": "^7.24.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.6.tgz", - "integrity": "sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", + "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.24.6", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/highlight/node_modules/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, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/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, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/@babel/parser": { + "version": "7.26.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.1.tgz", + "integrity": "sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "@babel/types": "^7.26.0" }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz", - "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==", - "dev": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -436,6 +297,36 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@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", @@ -532,6 +423,21 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", @@ -548,9 +454,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.6.tgz", - "integrity": "sha512-Ja18XcETdEl5mzzACGd+DKgaGJzPTCow7EglgwTmHdwokzDFYh/MHua6lU6DV/hjF2IaOJ4oX2nqnjG7RElKOw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", + "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -560,33 +466,30 @@ } }, "node_modules/@babel/template": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.6.tgz", - "integrity": "sha512-3vgazJlLwNXi9jhrR1ef8qiB65L1RK90+lEQwv4OxveHnqC3BfmnHdgySwRLzf6akhlOYenT+b7AfWq+a//AHw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", + "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/types": "^7.24.6" + "@babel/code-frame": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.6.tgz", - "integrity": "sha512-OsNjaJwT9Zn8ozxcfoBc+RaHdj3gFmCmYoQLUII1o6ZrUwku0BMg80FoOTPx+Gi6XhcQxAYE4xyjPTo4SxEQqw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.24.6", - "@babel/generator": "^7.24.6", - "@babel/helper-environment-visitor": "^7.24.6", - "@babel/helper-function-name": "^7.24.6", - "@babel/helper-hoist-variables": "^7.24.6", - "@babel/helper-split-export-declaration": "^7.24.6", - "@babel/parser": "^7.24.6", - "@babel/types": "^7.24.6", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", + "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.25.9", + "@babel/generator": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/template": "^7.25.9", + "@babel/types": "^7.25.9", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -595,14 +498,13 @@ } }, "node_modules/@babel/types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.6.tgz", - "integrity": "sha512-WaMsgi6Q8zMgMth93GvWPXkhAIEobfsIkLTacoVZoK1J0CevIPGYY2Vo5YvJGqyHqXM6P4ppOYGsIRU8MM9pFQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", + "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.24.6", - "@babel/helper-validator-identifier": "^7.24.6", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -634,18 +536,16 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", - "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/@contentstack/cli-command": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@contentstack/cli-command/-/cli-command-1.3.1.tgz", - "integrity": "sha512-mIyVE9OxfqGXbjiO9gQOzJaNZfOJvlxIibdDRaVR7doRQZJ7ols13g6ToU8XneGlLLncwy95xfmcXrO2G/7Lkg==", - "license": "MIT", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@contentstack/cli-command/-/cli-command-1.3.2.tgz", + "integrity": "sha512-LcggB2G4DeoTEbUmexAcQnBJjbR0cy3arzLD901p2yPmVx09HCD8g68WSqWPFNY6yg7zu2ln1vNgZ7y/Pqx5NA==", "dependencies": { - "@contentstack/cli-utilities": "~1.7.2", + "@contentstack/cli-utilities": "~1.8.0", "contentstack": "^3.10.1" }, "engines": { @@ -653,10 +553,9 @@ } }, "node_modules/@contentstack/cli-utilities": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@contentstack/cli-utilities/-/cli-utilities-1.7.3.tgz", - "integrity": "sha512-xA4POMB98amZpwLUzEl/7L+LUpjau6GL7Dlvq/51RtT7HkmutBv0aQs03FK1Ls0ZdeOsGmlAzZQHXcr8orfaIg==", - "license": "MIT", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@contentstack/cli-utilities/-/cli-utilities-1.8.0.tgz", + "integrity": "sha512-EeyHNTzTKaY7xtHYjIztGWXHWBajCLOHkbEx3wBHnmV8QoXs8I9JqpEtiIZP36o16EuQhzwFhPwoqANdTgOIow==", "dependencies": { "@contentstack/management": "~1.17.0", "@contentstack/marketplace-sdk": "^1.2.1", @@ -667,6 +566,7 @@ "cli-table": "^0.3.11", "conf": "^10.2.0", "debug": "^4.1.1", + "dotenv": "^16.4.5", "figures": "^3.2.0", "inquirer": "8.2.4", "inquirer-search-checkbox": "^1.0.0", @@ -685,11 +585,166 @@ "xdg-basedir": "^4.0.0" } }, + "node_modules/@contentstack/cli-utilities/node_modules/@oclif/core": { + "version": "3.27.0", + "resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.27.0.tgz", + "integrity": "sha512-Fg93aNFvXzBq5L7ztVHFP2nYwWU1oTCq48G0TjF/qC1UN36KWa2H5Hsm72kERd5x/sjy2M2Tn4kDEorUlpXOlw==", + "dependencies": { + "@types/cli-progress": "^3.11.5", + "ansi-escapes": "^4.3.2", + "ansi-styles": "^4.3.0", + "cardinal": "^2.1.1", + "chalk": "^4.1.2", + "clean-stack": "^3.0.1", + "cli-progress": "^3.12.0", + "color": "^4.2.3", + "debug": "^4.3.5", + "ejs": "^3.1.10", + "get-package-type": "^0.1.0", + "globby": "^11.1.0", + "hyperlinker": "^1.0.0", + "indent-string": "^4.0.0", + "is-wsl": "^2.2.0", + "js-yaml": "^3.14.1", + "minimatch": "^9.0.4", + "natural-orderby": "^2.0.3", + "object-treeify": "^1.1.33", + "password-prompt": "^1.1.3", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "supports-color": "^8.1.1", + "supports-hyperlinks": "^2.2.0", + "widest-line": "^3.1.0", + "wordwrap": "^1.0.0", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "dependencies": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + }, + "engines": { + "node": ">=12.5.0" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@contentstack/cli-utilities/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/@contentstack/core": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@contentstack/core/-/core-1.1.2.tgz", + "integrity": "sha512-s4dswqt42ZbqLeaXNZlEAN8X8lJm2BTSIHNlSAuJUcsD8JadVDWVhdIBJLyPLhu1tRPN9CiwboRsMrTdC2KecA==", + "dependencies": { + "axios": "^1.7.4", + "axios-mock-adapter": "^1.22.0", + "lodash": "^4.17.21", + "qs": "^6.13.0", + "tslib": "^2.6.3" + } + }, + "node_modules/@contentstack/core/node_modules/tslib": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" + }, + "node_modules/@contentstack/delivery-sdk": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.3.0.tgz", + "integrity": "sha512-N4hqG6UXKWO5WQyPwZVkJ3gANtnTYoAozIINkLlKu8m48GOUFihFF08Yilvr7smybT2dnoNbkCnlqI64iNPPQA==", + "dependencies": { + "@contentstack/core": "^1.1.0", + "@contentstack/utils": "^1.3.8", + "@types/humps": "^2.0.6", + "axios": "^1.7.4", + "dotenv": "^16.3.1", + "humps": "^2.0.1" + } + }, "node_modules/@contentstack/management": { "version": "1.17.2", "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.17.2.tgz", "integrity": "sha512-ufRY7VwQZGZhNe1Sd62GJGi16/fRZXgiIPuXo8XrDytdz/DvOqa+JD7FG9YqZD9RzxCx9h7Qwcl1PxmFz/H7Kw==", - "license": "MIT", "dependencies": { "axios": "^1.7.4", "form-data": "^3.0.1", @@ -704,20 +759,41 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/@contentstack/marketplace-sdk/-/marketplace-sdk-1.2.3.tgz", "integrity": "sha512-6JEDEKkHfbKJttH0lBZcf+NnPzdk3PMcfxtsxV/wVq9zvD9Z+UPIXaLmrDX7XpDuMaqnqjdSxfBBB439nimCvQ==", - "license": "MIT", "dependencies": { "axios": "^1.7.4" } }, - "node_modules/@contentstack/utils": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.4.tgz", - "integrity": "sha512-RGTJDcI2pabV4Ub5f4yuILz7QclR61qEusdfy48J3pnnXlbw2KODU5iJc/TtGB970OpH87/JlLsQzCUCGsd99g==", + "node_modules/@contentstack/types-generator": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@contentstack/types-generator/-/types-generator-2.0.2.tgz", + "integrity": "sha512-0bVk1k1tckBFjvEssgi1w6TD2Q0lgugD5cxXUqldZKGo31H7ZIDQUMtYQG9TYf0v8+jPhrLTxrC2jNs4LHsOQA==", "dependencies": { - "cheerio": "^1.0.0-rc.12", - "dompurify": "^3.1.1" + "@contentstack/delivery-sdk": "^4.2.0", + "@gql2ts/from-schema": "^2.0.0-4", + "axios": "^1.7.5", + "lodash": "^4.17.21", + "prettier": "^3.3.3" + } + }, + "node_modules/@contentstack/types-generator/node_modules/prettier": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/@contentstack/utils": { + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.12.tgz", + "integrity": "sha512-5aTE13faSPPToGHkRwQF3bGanOaNH3nxWnSsPXWCnItIwsIqPVIwdR4cd0NyZpMTajv+IYrrIVAeibGEgAyQrg==" + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -744,7 +820,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", - "license": "MIT", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", @@ -752,11 +827,10 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -767,7 +841,6 @@ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", "dev": true, - "license": "Apache-2.0", "peer": true, "dependencies": { "@eslint/object-schema": "^2.1.4", @@ -783,7 +856,6 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "balanced-match": "^1.0.0", @@ -795,7 +867,6 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -804,12 +875,21 @@ "node": "*" } }, + "node_modules/@eslint/core": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.7.0.tgz", + "integrity": "sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==", + "dev": true, + "peer": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "ajv": "^6.12.4", @@ -830,11 +910,10 @@ } }, "node_modules/@eslint/eslintrc/node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, - "license": "MIT", "peer": true, "bin": { "acorn": "bin/acorn" @@ -848,7 +927,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -866,7 +944,6 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, - "license": "Python-2.0", "peer": true }, "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { @@ -874,7 +951,6 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "balanced-match": "^1.0.0", @@ -882,11 +958,10 @@ } }, "node_modules/@eslint/eslintrc/node_modules/eslint-visitor-keys": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", - "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", + "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -896,16 +971,15 @@ } }, "node_modules/@eslint/eslintrc/node_modules/espree": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", - "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.2.0.tgz", + "integrity": "sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==", "dev": true, - "license": "BSD-2-Clause", "peer": true, "dependencies": { "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.0.0" + "eslint-visitor-keys": "^4.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -919,7 +993,6 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=18" @@ -933,7 +1006,6 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">= 4" @@ -944,7 +1016,6 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "argparse": "^2.0.1" @@ -958,7 +1029,6 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, - "license": "MIT", "peer": true }, "node_modules/@eslint/eslintrc/node_modules/minimatch": { @@ -966,7 +1036,6 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -980,7 +1049,6 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=8" @@ -990,11 +1058,10 @@ } }, "node_modules/@eslint/js": { - "version": "9.9.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.1.tgz", - "integrity": "sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.13.0.tgz", + "integrity": "sha512-IFLyoY4d72Z5y/6o/BazFBezupzI/taV8sGumxTAVw3lXG9A6md1Dc34T9s1FoD/an9pJH8RHbAxsaEbBed9lA==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1005,12 +1072,61 @@ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.1.tgz", + "integrity": "sha512-HFZ4Mp26nbWk9d/BpvP0YNL6W4UoZF0VFcTw/aPPA8RpOxeFQgK+ClABGgAUXs9Y/RGX/l1vOmrqz1MQt9MNuw==", + "dev": true, + "peer": true, + "dependencies": { + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit/node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "peer": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/@eslint/plugin-kit/node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/@eslint/plugin-kit/node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "peer": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", @@ -1048,12 +1164,35 @@ "graphql": ">= 0.10 <15" } }, + "node_modules/@humanfs/core": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz", + "integrity": "sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==", + "dev": true, + "peer": true, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.5", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.5.tgz", + "integrity": "sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==", + "dev": true, + "peer": true, + "dependencies": { + "@humanfs/core": "^0.19.0", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": ">=12.22" @@ -1064,11 +1203,10 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", - "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": ">=18.18" @@ -1096,9 +1234,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "engines": { "node": ">=12" @@ -1490,9 +1628,9 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { @@ -1510,7 +1648,6 @@ "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz", "integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==", "dev": true, - "license": "MIT", "dependencies": { "eslint-scope": "5.1.1" } @@ -1520,7 +1657,6 @@ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -1909,50 +2045,69 @@ } }, "node_modules/@oclif/config/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, + "node_modules/@oclif/config/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@oclif/config/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@oclif/config/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/@oclif/core": { - "version": "3.26.6", - "resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.26.6.tgz", - "integrity": "sha512-+FiTw1IPuJTF9tSAlTsY8bGK4sgthehjz7c2SvYdgQncTkxI2xvUch/8QpjNYGLEmUneNygvYMRBax2KJcLccA==", + "version": "4.0.30", + "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.0.30.tgz", + "integrity": "sha512-Ak3OUdOcoovIRWZOT6oC5JhZgyJD90uWX/7HjSofn+C4LEmHxxfiyu04a73dwnezfzqDu9jEXfd2mQOOC54KZw==", + "dev": true, + "peer": true, "dependencies": { - "@types/cli-progress": "^3.11.5", "ansi-escapes": "^4.3.2", - "ansi-styles": "^4.3.0", - "cardinal": "^2.1.1", - "chalk": "^4.1.2", + "ansis": "^3.3.2", "clean-stack": "^3.0.1", - "cli-progress": "^3.12.0", - "color": "^4.2.3", - "debug": "^4.3.4", + "cli-spinners": "^2.9.2", + "debug": "^4.3.7", "ejs": "^3.1.10", "get-package-type": "^0.1.0", "globby": "^11.1.0", - "hyperlinker": "^1.0.0", "indent-string": "^4.0.0", - "is-wsl": "^2.2.0", - "js-yaml": "^3.14.1", - "minimatch": "^9.0.4", - "natural-orderby": "^2.0.3", - "object-treeify": "^1.1.33", - "password-prompt": "^1.1.3", - "slice-ansi": "^4.0.0", + "is-wsl": "^3", + "lilconfig": "^3.1.2", + "minimatch": "^9.0.5", + "semver": "^7.6.3", "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "supports-color": "^8.1.1", - "supports-hyperlinks": "^2.2.0", + "supports-color": "^8", "widest-line": "^3.1.0", "wordwrap": "^1.0.0", "wrap-ansi": "^7.0.0" @@ -1965,6 +2120,8 @@ "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "peer": true, "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -1981,9 +2138,11 @@ } }, "node_modules/@oclif/core/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "peer": true, "engines": { "node": ">= 4" } @@ -2099,18 +2258,45 @@ } }, "node_modules/@oclif/help/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, + "node_modules/@oclif/help/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@oclif/help/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@oclif/help/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/@oclif/help/node_modules/wrap-ansi": { @@ -2167,9 +2353,9 @@ } }, "node_modules/@oclif/parser/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/@oclif/plugin-help": { @@ -2261,6 +2447,15 @@ "node": ">=14.0.0" } }, + "node_modules/@oclif/plugin-not-found/node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/@oclif/plugin-not-found/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -2282,18 +2477,62 @@ } }, "node_modules/@oclif/plugin-not-found/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, + "node_modules/@oclif/plugin-not-found/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@oclif/plugin-not-found/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@oclif/plugin-not-found/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, "node_modules/@oclif/plugin-not-found/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/@oclif/plugin-warn-if-update-available": { @@ -2352,6 +2591,15 @@ "node": ">=14.0.0" } }, + "node_modules/@oclif/plugin-warn-if-update-available/node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/@oclif/plugin-warn-if-update-available/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -2373,26 +2621,69 @@ } }, "node_modules/@oclif/plugin-warn-if-update-available/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, + "node_modules/@oclif/plugin-warn-if-update-available/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@oclif/plugin-warn-if-update-available/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@oclif/plugin-warn-if-update-available/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, "node_modules/@oclif/plugin-warn-if-update-available/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/@oclif/test": { - "version": "4.0.9", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-4.0.9.tgz", - "integrity": "sha512-xDGBFBNE6ckoBT9EhMi6ZvwAaEeJRGvRmn2qZWujJl9EJ56a72KHZsvTJVgl2p/AQ2vZ1UH06YZ440GOnjExzQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@oclif/test/-/test-4.1.0.tgz", + "integrity": "sha512-2ugir6NhRsWJqHM9d2lMEWNiOTD678Jlx5chF/fg6TCAlc7E6E/6+zt+polrCTnTIpih5P/HxOtDekgtjgARwQ==", "dev": true, - "license": "MIT", "dependencies": { "ansis": "^3.3.2", "debug": "^4.3.6" @@ -2656,23 +2947,21 @@ } }, "node_modules/@sigstore/sign/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -2876,7 +3165,6 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.2.tgz", "integrity": "sha512-v46t/fwnhejRSFTGqbpn9u+LQ9xJDse10gNnPgAcxgdoCDMXj/G2asWAC/8Qs+BAZDicX+MNZouXT1A7c83kVw==", - "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1", "lodash.get": "^4.4.2", @@ -2887,7 +3175,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -2896,7 +3183,6 @@ "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==", - "license": "MIT", "engines": { "node": ">=4" } @@ -2905,7 +3191,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", - "license": "MIT", "engines": { "node": ">=4" } @@ -2913,8 +3198,7 @@ "node_modules/@sinonjs/text-encoding": { "version": "0.7.3", "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz", - "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==", - "license": "(Unlicense OR Apache-2.0)" + "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==" }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", @@ -3045,13 +3329,12 @@ "node_modules/@types/chai": { "version": "4.3.20", "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.20.tgz", - "integrity": "sha512-/pC9HAB5I/xMlc5FP77qjCnI16ChlJfW0tGa0IUcFn38VJrTV6DeZ60NU5KZBtaOZqjdpwTWohz5HU1RrhiYxQ==", - "license": "MIT" + "integrity": "sha512-/pC9HAB5I/xMlc5FP77qjCnI16ChlJfW0tGa0IUcFn38VJrTV6DeZ60NU5KZBtaOZqjdpwTWohz5HU1RrhiYxQ==" }, "node_modules/@types/cli-progress": { - "version": "3.11.5", - "resolved": "https://registry.npmjs.org/@types/cli-progress/-/cli-progress-3.11.5.tgz", - "integrity": "sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g==", + "version": "3.11.6", + "resolved": "https://registry.npmjs.org/@types/cli-progress/-/cli-progress-3.11.6.tgz", + "integrity": "sha512-cE3+jb9WRlu+uOSAugewNpITJDt1VF8dHOopPO4IABFc3SXYL5WE/+PTz/FCdZRRfIujiWW3n3aMbv1eIGVRWA==", "dependencies": { "@types/node": "*" } @@ -3062,6 +3345,13 @@ "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", "dev": true }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "peer": true + }, "node_modules/@types/expect": { "version": "1.20.4", "resolved": "https://registry.npmjs.org/@types/expect/-/expect-1.20.4.tgz", @@ -3093,6 +3383,11 @@ "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", "dev": true }, + "node_modules/@types/humps": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/humps/-/humps-2.0.6.tgz", + "integrity": "sha512-Fagm1/a/1J9gDKzGdtlPmmTN5eSw/aaTzHtj740oSfo+MODsSY2WglxMmhTdOglC8nxqUhGGQ+5HfVtBvxo3Kg==" + }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", @@ -3143,10 +3438,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.17.9", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.9.tgz", - "integrity": "sha512-w9iWudx1XWOHW5lQRS9iKpK/XuRhnN+0T7HvdCCd802FYkT1AMTnxndJHGrNJwRoRHkslGr4S29tjm1cT7x/7w==", - "license": "MIT" + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.12.tgz", + "integrity": "sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==" }, "node_modules/@types/minimatch": { "version": "5.1.2", @@ -3155,11 +3449,10 @@ "dev": true }, "node_modules/@types/mocha": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.8.tgz", - "integrity": "sha512-HfMcUmy9hTMJh66VNcmeC9iVErIZJli2bszuXc6julh5YGuRb/W5OnkHjwLNYdFlMis0sY3If5SEAp+PktdJjw==", - "dev": true, - "license": "MIT" + "version": "10.0.9", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.9.tgz", + "integrity": "sha512-sicdRoWtYevwxjOHNMPTl3vSfJM6oyW8o1wXeI7uww6b6xHg8eBznQDNSGBCDJmsE8UMxP05JgZRtsKbTqt//Q==", + "dev": true }, "node_modules/@types/node": { "version": "10.17.60", @@ -3191,7 +3484,6 @@ "version": "17.0.3", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", "integrity": "sha512-j3uovdn8ewky9kRBG19bOwaZbexJu/XjtkHyjvUgt4xfPFz18dcORIMqnYh66Fx3Powhcr85NT5+er3+oViapw==", - "license": "MIT", "dependencies": { "@types/sinonjs__fake-timers": "*" } @@ -3199,8 +3491,7 @@ "node_modules/@types/sinonjs__fake-timers": { "version": "8.1.5", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.5.tgz", - "integrity": "sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ==", - "license": "MIT" + "integrity": "sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ==" }, "node_modules/@types/stack-utils": { "version": "2.0.3", @@ -3211,8 +3502,7 @@ "node_modules/@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", - "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", - "license": "MIT" + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==" }, "node_modules/@types/vinyl": { "version": "2.0.12", @@ -3400,7 +3690,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, "dependencies": { "event-target-shim": "^5.0.0" }, @@ -3510,7 +3799,6 @@ "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -3526,7 +3814,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "license": "MIT", "dependencies": { "ajv": "^8.0.0" }, @@ -3544,7 +3831,6 @@ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true, - "license": "MIT", "engines": { "node": ">=6" } @@ -3595,7 +3881,6 @@ "resolved": "https://registry.npmjs.org/ansis/-/ansis-3.3.2.tgz", "integrity": "sha512-cFthbBlt+Oi0i9Pv/j6YdVWJh54CtjGACaMPCIrEV4Ha7HWsIjXDwseYV79TIL0B4+KfSwD5S70PeQDkPUd1rA==", "dev": true, - "license": "ISC", "engines": { "node": ">=15" } @@ -3678,7 +3963,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "is-array-buffer": "^3.0.4" @@ -3720,7 +4004,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", - "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "call-bind": "^1.0.5", @@ -3772,18 +4055,18 @@ } }, "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "license": "MIT" + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" }, "node_modules/async-retry": { "version": "1.3.3", @@ -3815,7 +4098,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/atomically/-/atomically-1.7.0.tgz", "integrity": "sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w==", - "license": "MIT", "engines": { "node": ">=10.12.0" } @@ -3835,9 +4117,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1629.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1629.0.tgz", - "integrity": "sha512-fxhru9iLRqwsYK9BJgawomKAyxpsWVP5Unwa//rnQXCeX5pfYCaixKyV/B6U1x4LMcz3uN83tYvVah8uHxhTqA==", + "version": "2.1691.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1691.0.tgz", + "integrity": "sha512-/F2YC+DlsY3UBM2Bdnh5RLHOPNibS/+IcjUuhP8XuctyrN+MlL+fWDAiela32LTDk7hMy4rx8MTgvbJ+0blO5g==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -3869,18 +4151,28 @@ "version": "1.7.7", "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", - "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, + "node_modules/axios-mock-adapter": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", + "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "is-buffer": "^2.0.5" + }, + "peerDependencies": { + "axios": ">= 0.17.0" + } + }, "node_modules/axios/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "license": "MIT", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", + "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -3969,23 +4261,26 @@ } }, "node_modules/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==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", + "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", "dev": true, "dependencies": { "@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-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", "@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/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" }, "peerDependencies": { "@babel/core": "^7.0.0" @@ -4216,9 +4511,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", - "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "dev": true, "funding": [ { @@ -4235,10 +4530,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001587", - "electron-to-chromium": "^1.4.668", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -4290,7 +4585,6 @@ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, - "license": "MIT", "engines": { "node": ">=6" }, @@ -4451,9 +4745,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001625", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001625.tgz", - "integrity": "sha512-4KE9N2gcRH+HQhpeiRZXd+1niLB/XNLAhSy4z7fI8EzcbcPoAqjNInxVHTiTwWfTIV4w096XG8OtCOCQQKPv3w==", + "version": "1.0.30001673", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001673.tgz", + "integrity": "sha512-WTrjUCSMp3LYX0nE12ECkV0a+e6LC85E0Auz75555/qr78Oc8YWhEPNfDd6SHdtlCMSzqtuXY0uyEMNRcsKpKw==", "dev": true, "funding": [ { @@ -4495,9 +4789,9 @@ } }, "node_modules/chai": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", - "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.2.tgz", + "integrity": "sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==", "dev": true, "dependencies": { "assertion-error": "^2.0.1", @@ -4560,20 +4854,24 @@ } }, "node_modules/cheerio": { - "version": "1.0.0-rc.12", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz", - "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0.tgz", + "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==", "dependencies": { "cheerio-select": "^2.1.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "htmlparser2": "^8.0.1", - "parse5": "^7.0.0", - "parse5-htmlparser2-tree-adapter": "^7.0.0" + "domutils": "^3.1.0", + "encoding-sniffer": "^0.2.0", + "htmlparser2": "^9.1.0", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^7.0.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^6.19.5", + "whatwg-mimetype": "^4.0.0" }, "engines": { - "node": ">= 6" + "node": ">=18.17" }, "funding": { "url": "https://github.com/cheeriojs/cheerio?sponsor=1" @@ -4596,16 +4894,10 @@ } }, "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -4618,6 +4910,9 @@ "engines": { "node": ">= 8.10.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, "optionalDependencies": { "fsevents": "~2.3.2" } @@ -4913,15 +5208,12 @@ } }, "node_modules/color": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", - "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "dependencies": { - "color-convert": "^2.0.1", - "color-string": "^1.9.0" - }, - "engines": { - "node": ">=12.5.0" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "node_modules/color-convert": { @@ -4958,6 +5250,19 @@ "color-support": "bin.js" } }, + "node_modules/color/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, "node_modules/colors": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", @@ -4970,37 +5275,11 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", - "license": "MIT", "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" } }, - "node_modules/colorspace/node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" - } - }, - "node_modules/colorspace/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/colorspace/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" - }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -5098,9 +5377,9 @@ } }, "node_modules/concurrently/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/concurrently/node_modules/y18n": { @@ -5143,7 +5422,6 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/conf/-/conf-10.2.0.tgz", "integrity": "sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==", - "license": "MIT", "dependencies": { "ajv": "^8.6.3", "ajv-formats": "^2.1.1", @@ -5167,8 +5445,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz", "integrity": "sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA==", - "dev": true, - "license": "MIT" + "dev": true }, "node_modules/console-control-strings": { "version": "1.1.0", @@ -5186,16 +5463,16 @@ } }, "node_modules/contentstack": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.19.3.tgz", - "integrity": "sha512-2bfiVXfM6Y76NKIkCYdwHufRBgssCA8OWTucFQiHCPKEN3kWa9Wz7R9VVVErYsyI5He6lGofY/CCtLZkpuvPVw==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.22.0.tgz", + "integrity": "sha512-PpuWikNtmnhMxqM4aqunBy4z474N6050DQNC8S7lmQl0s1eU2UIvlyVgZHYhvgr5C5b/l9rGF7AS3h7IlhTDxA==", "dependencies": { - "@contentstack/utils": "^1.3.3", - "cheerio": "^1.0.0-rc.12", + "@contentstack/utils": "^1.3.12", + "cheerio": "^1.0.0", "es6-promise": "^4.1.1", "isomorphic-fetch": "^3.0.0", "localStorage": "1.0.4", - "qs": "^6.12.1" + "qs": "^6.13.0" }, "engines": { "node": ">= 10.14.2" @@ -5257,7 +5534,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "license": "MIT", "engines": { "node": ">=8" } @@ -5335,11 +5611,16 @@ "node": ">=10" } }, + "node_modules/data-urls/node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, "node_modules/data-view-buffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -5356,7 +5637,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -5373,7 +5653,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -5415,7 +5694,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/debounce-fn/-/debounce-fn-4.0.0.tgz", "integrity": "sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ==", - "license": "MIT", "dependencies": { "mimic-fn": "^3.0.0" }, @@ -5430,7 +5708,6 @@ "version": "4.3.7", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", - "license": "MIT", "dependencies": { "ms": "^2.1.3" }, @@ -5510,9 +5787,9 @@ "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==" }, "node_modules/deep-eql": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.1.tgz", - "integrity": "sha512-nwQCf6ne2gez3o1MxWifqkciwt0zhl0LO1/UwVu4uMBuPmflWM4oQ70XMqHqnBJA+nhzncaqL9HVL6KkHJ28lw==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", "dev": true, "engines": { "node": ">=6" @@ -5582,7 +5859,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "license": "MIT", "engines": { "node": ">=8" } @@ -5591,7 +5867,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", - "license": "MIT", "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", @@ -5660,7 +5935,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", - "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } @@ -5757,11 +6031,6 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/dompurify": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.4.tgz", - "integrity": "sha512-2gnshi6OshmuKil8rMZuQCGiUF3cUxHY3NGDzUAdUx/NPEe5DVnO8BDoAQouvgwnx0R/+a6jUn36Z0FSdq8vww==" - }, "node_modules/domutils": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", @@ -5779,7 +6048,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", - "license": "MIT", "dependencies": { "is-obj": "^2.0.0" }, @@ -5790,6 +6058,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -5811,9 +6090,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.783", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.783.tgz", - "integrity": "sha512-bT0jEz/Xz1fahQpbZ1D7LgmPYZ3iHVY39NcWWro1+hA2IvjiPeaXtfSqrQ+nXjApMvQRE2ASt1itSLRrebHMRQ==", + "version": "1.5.47", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.47.tgz", + "integrity": "sha512-zS5Yer0MOYw4rtK2iq43cJagHZ8sXN0jDHDKzB+86gSBSAI4v07S97mcq+Gs2vclAxSh1j7vOAHxSVgduiiuVQ==", "dev": true }, "node_modules/emittery": { @@ -5836,8 +6115,7 @@ "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", - "license": "MIT" + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" }, "node_modules/encoding": { "version": "0.1.13", @@ -5848,16 +6126,16 @@ "iconv-lite": "^0.6.2" } }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "optional": true, + "node_modules/encoding-sniffer": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz", + "integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" } }, "node_modules/end-of-stream": { @@ -5913,7 +6191,6 @@ "version": "1.23.3", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", - "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "arraybuffer.prototype.slice": "^1.0.3", @@ -5992,7 +6269,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", - "license": "MIT", "dependencies": { "es-errors": "^1.3.0" }, @@ -6004,7 +6280,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4", "has-tostringtag": "^1.0.2", @@ -6018,7 +6293,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -6037,9 +6311,9 @@ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "engines": { "node": ">=6" @@ -6090,6 +6364,7 @@ "version": "5.16.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "dependencies": { "@babel/code-frame": "^7.0.0", @@ -6155,7 +6430,6 @@ "integrity": "sha512-66i2mWHb4luJHqJSUO5o9bTYQyH4yuItEikBghUixQB1tFpe/j3mKoRMncxGm2LDGcVIbgK7iLXWO9Ta7buIpg==", "deprecated": "Version 3.1.2 has been deprecated, it should have been a major version change. Please use 3.1.0 or 4.0.0 instead.", "dev": true, - "license": "MIT", "dependencies": { "eslint-config-xo-space": "^0.27.0", "eslint-plugin-mocha": "^9.0.0", @@ -6171,7 +6445,6 @@ "resolved": "https://registry.npmjs.org/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-0.2.0.tgz", "integrity": "sha512-BdP5FgjxwqV9LmVnfd4TaxhwdQipY7GJVVuP2AKm+EkKoupSCflSiRqnd2cj8qvVq/IXYPK2eHpRDk5ts8hP9g==", "dev": true, - "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^2.6.1", "@typescript-eslint/parser": "^2.6.1", @@ -6181,15 +6454,81 @@ "eslint-plugin-unicorn": "^6.0.1" }, "engines": { - "node": ">= 10.0.0" + "node": ">= 10.0.0" + } + }, + "node_modules/eslint-config-oclif-typescript/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint-config-oclif-typescript/node_modules/eslint-plugin-es": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.1.tgz", + "integrity": "sha512-5fa/gR2yR3NxQf+UXkeLeP8FBBl6tSgdrAz1+cF84v1FMM4twGwQoqTnn+QxFLcPOrF4pdKEJKDB/q9GoyJrCA==", + "dev": true, + "dependencies": { + "eslint-utils": "^1.4.2", + "regexpp": "^2.0.1" + }, + "engines": { + "node": ">=6.5.0" + }, + "peerDependencies": { + "eslint": ">=4.19.1" + } + }, + "node_modules/eslint-config-oclif-typescript/node_modules/eslint-plugin-node": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-7.0.1.tgz", + "integrity": "sha512-lfVw3TEqThwq0j2Ba/Ckn2ABdwmL5dkOgAux1rvOk6CO7A6yGyPI2+zIxN6FyNkp1X1X/BSvKOceD6mBWSj4Yw==", + "dev": true, + "dependencies": { + "eslint-plugin-es": "^1.3.1", + "eslint-utils": "^1.3.1", + "ignore": "^4.0.2", + "minimatch": "^3.0.4", + "resolve": "^1.8.1", + "semver": "^5.5.0" + }, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "eslint": ">=4.19.1" + } + }, + "node_modules/eslint-config-oclif-typescript/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eslint-config-oclif-typescript/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, "node_modules/eslint-config-oclif/node_modules/@babel/eslint-parser": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.25.1.tgz", - "integrity": "sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.25.9.tgz", + "integrity": "sha512-5UXfgpK0j0Xr/xIdgdLEhOFxaDZ0bRPWJJchRpqOSur/3rZoPbqqki5mm0p4NE2cs28krBEiSM2MB7//afRSQQ==", "dev": true, - "license": "MIT", "dependencies": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", "eslint-visitor-keys": "^2.1.0", @@ -6208,7 +6547,6 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": ">=10" } @@ -6218,24 +6556,25 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, - "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-config-oclif/node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } @@ -6245,7 +6584,6 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -6255,11 +6593,10 @@ } }, "node_modules/eslint-config-oclif/node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, - "license": "MIT", "peer": true, "bin": { "acorn": "bin/acorn" @@ -6273,7 +6610,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -6291,7 +6627,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -6308,7 +6644,6 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], - "license": "MIT", "engines": { "node": ">=8" } @@ -6318,7 +6653,6 @@ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "path-key": "^3.1.0", @@ -6330,29 +6664,32 @@ } }, "node_modules/eslint-config-oclif/node_modules/eslint": { - "version": "9.9.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.1.tgz", - "integrity": "sha512-dHvhrbfr4xFQ9/dq+jcVneZMyRYLjggWjk6RVsIiHsP8Rz6yZ8LvZ//iU4TrZF+SXWG+JkNF2OyiZRvzgRDqMg==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.13.0.tgz", + "integrity": "sha512-EYZK6SX6zjFHST/HRytOdA/zE72Cq/bfw45LSyuwrdvcclb/gqV8RRQxywOBEWO2+WDpva6UZa4CcDeJKzUCFA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", "@eslint/config-array": "^0.18.0", + "@eslint/core": "^0.7.0", "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.9.1", + "@eslint/js": "9.13.0", + "@eslint/plugin-kit": "^0.2.0", + "@humanfs/node": "^0.16.5", "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.3.0", - "@nodelib/fs.walk": "^1.2.8", + "@humanwhocodes/retry": "^0.3.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^8.0.2", - "eslint-visitor-keys": "^4.0.0", - "espree": "^10.1.0", + "eslint-scope": "^8.1.0", + "eslint-visitor-keys": "^4.1.0", + "espree": "^10.2.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -6362,14 +6699,11 @@ "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", "text-table": "^0.2.0" }, "bin": { @@ -6395,7 +6729,6 @@ "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.35.0.tgz", "integrity": "sha512-+WyZTLWUJlvExFrBU/Ldw8AB/S0d3x+26JQdBWbcqig2ZaWh0zinYcHok+ET4IoPaEcRRf3FE9kjItNVjBwnAg==", "dev": true, - "license": "MIT", "dependencies": { "confusing-browser-globals": "1.0.10" }, @@ -6414,7 +6747,6 @@ "resolved": "https://registry.npmjs.org/eslint-config-xo-space/-/eslint-config-xo-space-0.27.0.tgz", "integrity": "sha512-b8UjW+nQyOkhiANVpIptqlKPyE7XRyQ40uQ1NoBhzVfu95gxfZGrpliq8ZHBpaOF2wCLZaexTSjg7Rvm99vj4A==", "dev": true, - "license": "MIT", "dependencies": { "eslint-config-xo": "^0.35.0" }, @@ -6428,58 +6760,11 @@ "eslint": ">=7.20.0" } }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-utils": "^2.0.0", - "regexpp": "^3.0.0" - }, - "engines": { - "node": ">=8.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=4.19.1" - } - }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-es/node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-es/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=4" - } - }, "node_modules/eslint-config-oclif/node_modules/eslint-plugin-mocha": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-9.0.0.tgz", "integrity": "sha512-d7knAcQj1jPCzZf3caeBIn3BnW6ikcvfz0kSqQpwPYcVGLoJV5sz0l0OJB2LR8I7dvTDbqq1oV6ylhSgzA10zg==", "dev": true, - "license": "MIT", "dependencies": { "eslint-utils": "^3.0.0", "ramda": "^0.27.1" @@ -6491,69 +6776,11 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", - "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "engines": { - "node": ">=8.10.0" - }, - "peerDependencies": { - "eslint": ">=5.16.0" - } - }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-node/node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-node/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-config-oclif/node_modules/eslint-plugin-node/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-config-oclif/node_modules/eslint-plugin-unicorn": { "version": "36.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-36.0.0.tgz", "integrity": "sha512-xxN2vSctGWnDW6aLElm/LKIwcrmk6mdiEcW55Uv5krcrVcIFSWMmEgc/hwpemYfZacKZ5npFERGNz4aThsp1AA==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.14.9", "ci-info": "^3.2.0", @@ -6579,11 +6806,10 @@ } }, "node_modules/eslint-config-oclif/node_modules/eslint-scope": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", - "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.1.0.tgz", + "integrity": "sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==", "dev": true, - "license": "BSD-2-Clause", "peer": true, "dependencies": { "esrecurse": "^4.3.0", @@ -6601,7 +6827,6 @@ "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz", "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==", "dev": true, - "license": "GPL-3.0-or-later OR MIT", "dependencies": { "@babel/core": "^7.12.16", "@babel/eslint-parser": "^7.12.16", @@ -6618,7 +6843,6 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": ">=10" } @@ -6628,7 +6852,6 @@ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", "dev": true, - "license": "MIT", "dependencies": { "eslint-visitor-keys": "^2.0.0" }, @@ -6647,17 +6870,15 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "license": "Apache-2.0", "engines": { "node": ">=10" } }, "node_modules/eslint-config-oclif/node_modules/eslint-visitor-keys": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", - "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", + "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", "dev": true, - "license": "Apache-2.0", "peer": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6667,16 +6888,15 @@ } }, "node_modules/eslint-config-oclif/node_modules/espree": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", - "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.2.0.tgz", + "integrity": "sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==", "dev": true, - "license": "BSD-2-Clause", "peer": true, "dependencies": { "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.0.0" + "eslint-visitor-keys": "^4.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6690,7 +6910,6 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, - "license": "BSD-2-Clause", "peer": true, "engines": { "node": ">=4.0" @@ -6701,7 +6920,6 @@ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true, - "license": "MIT", "peer": true }, "node_modules/eslint-config-oclif/node_modules/file-entry-cache": { @@ -6709,7 +6927,6 @@ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "flat-cache": "^4.0.0" @@ -6723,7 +6940,6 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "locate-path": "^6.0.0", @@ -6741,7 +6957,6 @@ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "flatted": "^3.2.9", @@ -6756,7 +6971,6 @@ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true, - "license": "ISC", "peer": true }, "node_modules/eslint-config-oclif/node_modules/glob-parent": { @@ -6764,7 +6978,6 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "is-glob": "^4.0.3" @@ -6778,7 +6991,7 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, - "license": "MIT", + "peer": true, "engines": { "node": ">= 4" } @@ -6788,7 +7001,6 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, - "license": "MIT", "peer": true }, "node_modules/eslint-config-oclif/node_modules/levn": { @@ -6796,7 +7008,6 @@ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "prelude-ls": "^1.2.1", @@ -6811,7 +7022,6 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "p-locate": "^5.0.0" @@ -6828,7 +7038,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "license": "ISC", + "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -6841,7 +7051,6 @@ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "deep-is": "^0.1.3", @@ -6860,7 +7069,6 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "yocto-queue": "^0.1.0" @@ -6877,7 +7085,6 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "p-limit": "^3.0.2" @@ -6894,7 +7101,6 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=8" @@ -6905,7 +7111,6 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">= 0.8.0" @@ -6915,28 +7120,13 @@ "version": "0.27.2", "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.2.tgz", "integrity": "sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA==", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint-config-oclif/node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } + "dev": true }, "node_modules/eslint-config-oclif/node_modules/safe-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", "dev": true, - "license": "MIT", "dependencies": { "regexp-tree": "~0.1.1" } @@ -6946,7 +7136,6 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "shebang-regex": "^3.0.0" @@ -6960,7 +7149,6 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, - "license": "MIT", "peer": true, "engines": { "node": ">=8" @@ -6971,7 +7159,6 @@ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "prelude-ls": "^1.2.1" @@ -6985,7 +7172,6 @@ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, - "license": "ISC", "peer": true, "dependencies": { "isexe": "^2.0.0" @@ -7025,21 +7211,51 @@ } }, "node_modules/eslint-plugin-es": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.1.tgz", - "integrity": "sha512-5fa/gR2yR3NxQf+UXkeLeP8FBBl6tSgdrAz1+cF84v1FMM4twGwQoqTnn+QxFLcPOrF4pdKEJKDB/q9GoyJrCA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", + "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", "dev": true, "dependencies": { - "eslint-utils": "^1.4.2", - "regexpp": "^2.0.1" + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" }, "engines": { - "node": ">=6.5.0" + "node": ">=8.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" }, "peerDependencies": { "eslint": ">=4.19.1" } }, + "node_modules/eslint-plugin-es/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-plugin-es/node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, "node_modules/eslint-plugin-mocha": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-5.3.0.tgz", @@ -7056,23 +7272,23 @@ } }, "node_modules/eslint-plugin-node": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-7.0.1.tgz", - "integrity": "sha512-lfVw3TEqThwq0j2Ba/Ckn2ABdwmL5dkOgAux1rvOk6CO7A6yGyPI2+zIxN6FyNkp1X1X/BSvKOceD6mBWSj4Yw==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", "dev": true, "dependencies": { - "eslint-plugin-es": "^1.3.1", - "eslint-utils": "^1.3.1", - "ignore": "^4.0.2", + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", "minimatch": "^3.0.4", - "resolve": "^1.8.1", - "semver": "^5.5.0" + "resolve": "^1.10.1", + "semver": "^6.1.0" }, "engines": { - "node": ">=6" + "node": ">=8.10.0" }, "peerDependencies": { - "eslint": ">=4.19.1" + "eslint": ">=5.16.0" } }, "node_modules/eslint-plugin-node/node_modules/brace-expansion": { @@ -7085,6 +7301,30 @@ "concat-map": "0.0.1" } }, + "node_modules/eslint-plugin-node/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-plugin-node/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, "node_modules/eslint-plugin-node/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -7098,12 +7338,12 @@ } }, "node_modules/eslint-plugin-node/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { - "semver": "bin/semver" + "semver": "bin/semver.js" } }, "node_modules/eslint-plugin-unicorn": { @@ -7492,9 +7732,9 @@ } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -7555,11 +7795,16 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true, "engines": { "node": ">=6" } }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, "node_modules/events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", @@ -7612,18 +7857,6 @@ "node": ">= 8" } }, - "node_modules/execa/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/execa/node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -7806,6 +8039,17 @@ "node": ">=4" } }, + "node_modules/external-editor/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/extglob": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", @@ -7863,7 +8107,6 @@ "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-3.0.16.tgz", "integrity": "sha512-y1xZFpyYbE2TMiT+agOW2Emv8gr73zvDrKKbcXc8L+gMyIVJFn71cc4ICfzu2zEXjHirpHpdDJN0JBX99wwDXQ==", "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", - "license": "MIT", "dependencies": { "@types/chai": "*", "@types/lodash": "*", @@ -7915,10 +8158,9 @@ } }, "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==", - "license": "MIT" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", + "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==" }, "node_modules/fastest-levenshtein": { "version": "1.0.16", @@ -7949,8 +8191,7 @@ "node_modules/fecha": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", - "license": "MIT" + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" }, "node_modules/figures": { "version": "3.2.0", @@ -8122,8 +8363,7 @@ "node_modules/fn.name": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", - "license": "MIT" + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { "version": "1.15.9", @@ -8135,7 +8375,6 @@ "url": "https://github.com/sponsors/RubenVerborgh" } ], - "license": "MIT", "engines": { "node": ">=4.0" }, @@ -8163,9 +8402,9 @@ } }, "node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -8250,9 +8489,9 @@ } }, "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.2.tgz", + "integrity": "sha512-sJe+TQb2vIaIyO783qN6BlMYWMw3WBOHA1Ay2qxsnjuafEOQFJ2JakedOQirT6D5XPRxDvS7AHYyem9fTpb4LQ==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -8332,7 +8571,6 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -8356,7 +8594,6 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -8408,15 +8645,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-func-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", - "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/get-intrinsic": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", @@ -8462,7 +8690,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "es-errors": "^1.3.0", @@ -8572,7 +8799,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", - "license": "MIT", "dependencies": { "define-properties": "^1.2.1", "gopd": "^1.0.1" @@ -8604,9 +8830,9 @@ } }, "node_modules/globby/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" @@ -8685,7 +8911,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -8778,6 +9003,12 @@ "node": ">=0.10.0" } }, + "node_modules/has-values/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "node_modules/has-values/node_modules/is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -8876,6 +9107,27 @@ "node": ">=10" } }, + "node_modules/html-encoding-sniffer/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/html-encoding-sniffer/node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "dependencies": { + "iconv-lite": "0.4.24" + } + }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -8883,9 +9135,9 @@ "dev": true }, "node_modules/htmlparser2": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", - "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", + "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -8896,8 +9148,8 @@ "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" + "domutils": "^3.1.0", + "entities": "^4.5.0" } }, "node_modules/http-cache-semantics": { @@ -8923,18 +9175,6 @@ "node": ">=8.0.0" } }, - "node_modules/http-call/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", @@ -9007,11 +9247,11 @@ } }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" @@ -9082,9 +9322,9 @@ } }, "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, "dependencies": { "pkg-dir": "^4.2.0", @@ -9177,7 +9417,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/inquirer-search-checkbox/-/inquirer-search-checkbox-1.0.0.tgz", "integrity": "sha512-KR6kfe0+h7Zgyrj6GCBVgS4ZmmBhsXofcJoQv6EXZWxK+bpJZV9kOb2AaQ2fbjnH91G0tZWQaS5WteWygzXcmA==", - "license": "ISC", "dependencies": { "chalk": "^2.3.0", "figures": "^2.0.0", @@ -9189,7 +9428,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9198,7 +9436,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9207,7 +9444,6 @@ "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==", - "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -9219,7 +9455,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -9232,14 +9467,12 @@ "node_modules/inquirer-search-checkbox/node_modules/chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", - "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==", - "license": "MIT" + "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==" }, "node_modules/inquirer-search-checkbox/node_modules/cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", - "license": "MIT", "dependencies": { "restore-cursor": "^2.0.0" }, @@ -9250,14 +9483,12 @@ "node_modules/inquirer-search-checkbox/node_modules/cli-width": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", - "license": "ISC" + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" }, "node_modules/inquirer-search-checkbox/node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", "dependencies": { "color-name": "1.1.3" } @@ -9265,14 +9496,12 @@ "node_modules/inquirer-search-checkbox/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "node_modules/inquirer-search-checkbox/node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -9281,7 +9510,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", - "license": "MIT", "dependencies": { "chardet": "^0.4.0", "iconv-lite": "^0.4.17", @@ -9295,7 +9523,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", - "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -9307,16 +9534,25 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", "engines": { "node": ">=4" } }, + "node_modules/inquirer-search-checkbox/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/inquirer-search-checkbox/node_modules/inquirer": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "license": "MIT", "dependencies": { "ansi-escapes": "^3.0.0", "chalk": "^2.0.0", @@ -9338,7 +9574,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9347,7 +9582,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9355,14 +9589,12 @@ "node_modules/inquirer-search-checkbox/node_modules/mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==", - "license": "ISC" + "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" }, "node_modules/inquirer-search-checkbox/node_modules/onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", - "license": "MIT", "dependencies": { "mimic-fn": "^1.0.0" }, @@ -9374,7 +9606,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", - "license": "MIT", "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" @@ -9387,7 +9618,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "license": "MIT", "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" @@ -9400,7 +9630,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", - "license": "MIT", "dependencies": { "ansi-regex": "^3.0.0" }, @@ -9412,7 +9641,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -9424,7 +9652,6 @@ "version": "1.2.6", "resolved": "https://registry.npmjs.org/inquirer-search-list/-/inquirer-search-list-1.2.6.tgz", "integrity": "sha512-C4pKSW7FOYnkAloH8rB4FiM91H1v08QFZZJh6KRt//bMfdDBIhgdX8wjHvrVH2bu5oIo6wYqGpzSBxkeClPxew==", - "license": "MIT", "dependencies": { "chalk": "^2.3.0", "figures": "^2.0.0", @@ -9436,7 +9663,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9445,7 +9671,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9454,7 +9679,6 @@ "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==", - "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -9466,7 +9690,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -9479,14 +9702,12 @@ "node_modules/inquirer-search-list/node_modules/chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", - "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==", - "license": "MIT" + "integrity": "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==" }, "node_modules/inquirer-search-list/node_modules/cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", - "license": "MIT", "dependencies": { "restore-cursor": "^2.0.0" }, @@ -9497,14 +9718,12 @@ "node_modules/inquirer-search-list/node_modules/cli-width": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", - "license": "ISC" + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" }, "node_modules/inquirer-search-list/node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", "dependencies": { "color-name": "1.1.3" } @@ -9512,14 +9731,12 @@ "node_modules/inquirer-search-list/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "node_modules/inquirer-search-list/node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -9528,7 +9745,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", - "license": "MIT", "dependencies": { "chardet": "^0.4.0", "iconv-lite": "^0.4.17", @@ -9542,7 +9758,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", - "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -9554,16 +9769,25 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", "engines": { "node": ">=4" } }, + "node_modules/inquirer-search-list/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/inquirer-search-list/node_modules/inquirer": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "license": "MIT", "dependencies": { "ansi-escapes": "^3.0.0", "chalk": "^2.0.0", @@ -9585,7 +9809,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9594,7 +9817,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -9602,14 +9824,12 @@ "node_modules/inquirer-search-list/node_modules/mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==", - "license": "ISC" + "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" }, "node_modules/inquirer-search-list/node_modules/onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", - "license": "MIT", "dependencies": { "mimic-fn": "^1.0.0" }, @@ -9621,7 +9841,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", - "license": "MIT", "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" @@ -9634,7 +9853,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "license": "MIT", "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" @@ -9647,7 +9865,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", - "license": "MIT", "dependencies": { "ansi-regex": "^3.0.0" }, @@ -9659,7 +9876,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -9676,15 +9892,14 @@ } }, "node_modules/inquirer/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" }, "node_modules/internal-slot": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", - "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "hasown": "^2.0.0", @@ -9754,7 +9969,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.1" @@ -9776,7 +9990,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -9800,7 +10013,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -9813,17 +10025,32 @@ } }, "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } }, "node_modules/is-builtin-module": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, - "license": "MIT", "dependencies": { "builtin-modules": "^3.3.0" }, @@ -9858,12 +10085,15 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -9885,7 +10115,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", - "license": "MIT", "dependencies": { "is-typed-array": "^1.1.13" }, @@ -9900,7 +10129,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -9925,14 +10153,16 @@ } }, "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "peer": true, "bin": { "is-docker": "cli.js" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -10013,6 +10243,25 @@ "node": ">=0.10.0" } }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "peer": true, + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", @@ -10031,7 +10280,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", - "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -10051,7 +10299,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -10066,18 +10313,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "license": "MIT", - "peer": true, "engines": { "node": ">=8" } @@ -10110,7 +10345,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -10147,7 +10381,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7" }, @@ -10159,19 +10392,20 @@ } }, "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", - "dev": true, + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-string": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -10186,7 +10420,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -10238,7 +10471,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -10256,14 +10488,19 @@ } }, "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "dev": true, + "peer": true, "dependencies": { - "is-docker": "^2.0.0" + "is-inside-container": "^1.0.0" }, "engines": { - "node": ">=8" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/isarray": { @@ -10399,16 +10636,13 @@ "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==" }, "node_modules/jackspeak": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.1.2.tgz", - "integrity": "sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" }, - "engines": { - "node": ">=14" - }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -10417,9 +10651,9 @@ } }, "node_modules/jake": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.1.tgz", - "integrity": "sha512-61btcOHNnLnsOdtLgA5efqQWjnSi/vow5HbI7HMdKKWqvrKR1bLK3BPlJn9gcSaP2ewuamUSMB5XEy76KUIS2w==", + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", + "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", "dependencies": { "async": "^3.2.3", "chalk": "^4.0.2", @@ -11093,9 +11327,9 @@ } }, "node_modules/jsdom/node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -11104,22 +11338,49 @@ "node": ">=0.4.0" } }, + "node_modules/jsdom/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/jsdom/node_modules/parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true }, + "node_modules/jsdom/node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "node_modules/jsdom/node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, "bin": { "jsesc": "bin/jsesc" }, "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/json-buffer": { @@ -11143,14 +11404,12 @@ "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "license": "MIT" + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/json-schema-typed": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-7.0.3.tgz", - "integrity": "sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==", - "license": "BSD-2-Clause" + "integrity": "sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -11170,8 +11429,7 @@ "node_modules/json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "license": "ISC" + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" }, "node_modules/json5": { "version": "2.2.3", @@ -11218,8 +11476,7 @@ "node_modules/just-extend": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz", - "integrity": "sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==", - "license": "MIT" + "integrity": "sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==" }, "node_modules/keyv": { "version": "4.5.4", @@ -11252,7 +11509,6 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", - "license": "MIT", "engines": { "node": ">= 8" } @@ -11260,8 +11516,7 @@ "node_modules/kuler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", - "license": "MIT" + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" }, "node_modules/leven": { "version": "3.1.0", @@ -11285,6 +11540,19 @@ "node": ">= 0.8.0" } }, + "node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "dev": true, + "peer": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", @@ -11377,7 +11645,6 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true, - "license": "MIT", "peer": true }, "node_modules/lodash.snakecase": { @@ -11436,7 +11703,6 @@ "version": "2.6.1", "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", - "license": "MIT", "dependencies": { "@colors/colors": "1.6.0", "@types/triple-beam": "^1.3.2", @@ -11450,13 +11716,10 @@ } }, "node_modules/loupe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.1.tgz", - "integrity": "sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==", - "dev": true, - "dependencies": { - "get-func-name": "^2.0.1" - } + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.2.tgz", + "integrity": "sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==", + "dev": true }, "node_modules/lowercase-keys": { "version": "2.0.0", @@ -11637,18 +11900,18 @@ } }, "node_modules/mem-fs-editor/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, "node_modules/mem-fs-editor/node_modules/isbinaryfile": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-5.0.2.tgz", - "integrity": "sha512-GvcjojwonMjWbTkfMpnVHVqXW/wKMYDfEpY94/8zy8HFMOqb/VL6oeONq9v87q4ttVlaTLnGXnJD4B5B1OTGIg==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-5.0.4.tgz", + "integrity": "sha512-YKBKVkKhty7s8rxddb40oOkuP0NbaeXrQvLin6QMHL7Ypiy2RW9LwOVrVgZRyOrhQlayMd9t+D8yDy8MKFTSDQ==", "dev": true, "engines": { "node": ">= 18.0.0" @@ -11696,7 +11959,6 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -11728,7 +11990,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz", "integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==", - "license": "MIT", "engines": { "node": ">=8" } @@ -11743,9 +12004,9 @@ } }, "node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -11819,9 +12080,9 @@ } }, "node_modules/minipass-json-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.2.tgz", + "integrity": "sha512-myxeeTm57lYs8pH2nxPzmEEg8DGIgW+9mv6D4JZD2pa81I/OBjeU7PtICXV6c9eRGTA5JMDsuIPUZRCyBMYNhg==", "dev": true, "dependencies": { "jsonparse": "^1.3.1", @@ -11920,7 +12181,6 @@ "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, - "license": "MIT", "dependencies": { "ansi-colors": "^4.1.3", "browser-stdout": "^1.3.1", @@ -12036,7 +12296,6 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -12116,21 +12375,18 @@ "node_modules/mock-stdin": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/mock-stdin/-/mock-stdin-1.0.0.tgz", - "integrity": "sha512-tukRdb9Beu27t6dN+XztSRHq9J0B/CoAOySGzHfn8UTfmqipA5yNT/sDUEyYdAV3Hpka6Wx6kOMxuObdOex60Q==", - "license": "MIT" + "integrity": "sha512-tukRdb9Beu27t6dN+XztSRHq9J0B/CoAOySGzHfn8UTfmqipA5yNT/sDUEyYdAV3Hpka6Wx6kOMxuObdOex60Q==" }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/multimap": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz", "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==", - "dev": true, - "license": "MIT" + "dev": true }, "node_modules/multimatch": { "version": "5.0.0", @@ -12221,9 +12477,9 @@ } }, "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", "dev": true, "engines": { "node": ">= 0.6" @@ -12239,7 +12495,6 @@ "version": "5.1.9", "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", - "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", @@ -12252,7 +12507,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -12261,7 +12515,6 @@ "version": "11.3.1", "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.3.1.tgz", "integrity": "sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA==", - "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1" } @@ -12270,7 +12523,6 @@ "version": "13.5.5", "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", - "license": "MIT", "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -12444,6 +12696,35 @@ "which": "^2.0.2" } }, + "node_modules/node-notifier/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "optional": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/node-notifier/node_modules/is-wsl": { + "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, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/node-notifier/node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -12471,9 +12752,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "node_modules/nopt": { @@ -12934,9 +13215,9 @@ } }, "node_modules/nwsapi": { - "version": "2.2.10", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.10.tgz", - "integrity": "sha512-QK0sRs7MKv0tKe1+5uZIQk/C8XGza4DAnztJG8iD+TpJIORARrCxczA738awHrZoHeTjSSoHqao2teO0dC/gFQ==", + "version": "2.2.13", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.13.tgz", + "integrity": "sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==", "dev": true }, "node_modules/object-assign": { @@ -12974,6 +13255,12 @@ "node": ">=0.10.0" } }, + "node_modules/object-copy/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "node_modules/object-copy/node_modules/is-descriptor": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz", @@ -13000,9 +13287,12 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -13011,7 +13301,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "license": "MIT", "engines": { "node": ">= 0.4" } @@ -13040,7 +13329,6 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "define-properties": "^1.2.1", @@ -13150,6 +13438,15 @@ "node": ">=12.0.0" } }, + "node_modules/oclif/node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/oclif/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -13171,18 +13468,62 @@ } }, "node_modules/oclif/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, + "node_modules/oclif/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/oclif/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/oclif/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, "node_modules/oclif/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true }, "node_modules/once": { @@ -13198,7 +13539,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "license": "MIT", "dependencies": { "fn.name": "1.x.x" } @@ -13229,7 +13569,6 @@ "version": "8.4.2", "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", - "license": "MIT", "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", @@ -13242,6 +13581,31 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/open/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -13382,12 +13746,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-queue/node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, "node_modules/p-timeout": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", @@ -13421,6 +13779,12 @@ "node": ">=6" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true + }, "node_modules/pacote": { "version": "12.0.3", "resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.3.tgz", @@ -13510,22 +13874,33 @@ } }, "node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", "dependencies": { - "entities": "^4.4.0" + "entities": "^4.5.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" } }, "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", - "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", + "dependencies": { + "domhandler": "^5.0.3", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", "dependencies": { - "domhandler": "^5.0.2", "parse5": "^7.0.0" }, "funding": { @@ -13660,13 +14035,10 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/path-scurry/node_modules/minipass": { "version": "7.1.2", @@ -13680,8 +14052,7 @@ "node_modules/path-to-regexp": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", - "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", - "license": "MIT" + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==" }, "node_modules/path-type": { "version": "4.0.0", @@ -13701,9 +14072,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "node_modules/picomatch": { @@ -13751,7 +14122,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", - "license": "MIT", "dependencies": { "find-up": "^3.0.0" }, @@ -13763,7 +14133,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "license": "MIT", "dependencies": { "locate-path": "^3.0.0" }, @@ -13775,7 +14144,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "license": "MIT", "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -13788,7 +14156,6 @@ "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==", - "license": "MIT", "dependencies": { "p-limit": "^2.0.0" }, @@ -13800,7 +14167,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -13810,7 +14176,6 @@ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", "dev": true, - "license": "MIT", "engines": { "node": ">=4" } @@ -13833,15 +14198,15 @@ } }, "node_modules/preferred-pm": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/preferred-pm/-/preferred-pm-3.1.3.tgz", - "integrity": "sha512-MkXsENfftWSRpzCzImcp4FRsCc3y1opwB73CfCNWyzMqArju2CrlMHlqB7VexKiPEOjGMbttv1r9fSCn5S610w==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/preferred-pm/-/preferred-pm-3.1.4.tgz", + "integrity": "sha512-lEHd+yEm22jXdCphDrkvIJQU66EuLojPPtvZkpKIkiD+l0DMThF/niqZKJSoU8Vl7iuvtmzyMhir9LdVy5WMnA==", "dev": true, "dependencies": { "find-up": "^5.0.0", "find-yarn-workspace-root2": "1.2.16", "path-exists": "^4.0.0", - "which-pm": "2.0.0" + "which-pm": "^2.2.0" }, "engines": { "node": ">=10" @@ -13968,7 +14333,6 @@ "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "dev": true, "engines": { "node": ">= 0.6.0" } @@ -14051,7 +14415,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", - "license": "MIT", "engines": { "node": ">= 8" } @@ -14059,8 +14422,7 @@ "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "license": "MIT" + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "node_modules/psl": { "version": "1.9.0", @@ -14069,9 +14431,9 @@ "dev": true }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -14091,7 +14453,6 @@ "version": "6.13.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", - "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.6" }, @@ -14160,7 +14521,6 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, - "license": "MIT", "dependencies": { "safe-buffer": "^5.1.0" } @@ -14210,23 +14570,21 @@ } }, "node_modules/read-package-json/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -14431,7 +14789,6 @@ "version": "4.4.5", "resolved": "https://registry.npmjs.org/recheck/-/recheck-4.4.5.tgz", "integrity": "sha512-J80Ykhr+xxWtvWrfZfPpOR/iw2ijvb4WY8d9AVoN8oHsPP07JT1rCAalUSACMGxM1cvSocb6jppWFjVS6eTTrA==", - "license": "MIT", "engines": { "node": ">=14" }, @@ -14446,7 +14803,6 @@ "version": "4.4.5", "resolved": "https://registry.npmjs.org/recheck-jar/-/recheck-jar-4.4.5.tgz", "integrity": "sha512-a2kMzcfr+ntT0bObNLY22EUNV6Z6WeZ+DybRmPOUXVWzGcqhRcrK74tpgrYt3FdzTlSh85pqoryAPmrNkwLc0g==", - "license": "MIT", "optional": true }, "node_modules/recheck-linux-x64": { @@ -14456,7 +14812,6 @@ "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -14469,7 +14824,6 @@ "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -14482,7 +14836,6 @@ "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "win32" @@ -14532,21 +14885,19 @@ "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", "dev": true, - "license": "MIT", "bin": { "regexp-tree": "bin/regexp-tree" } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", - "license": "MIT", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", + "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==", "dependencies": { - "call-bind": "^1.0.6", + "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" + "set-function-name": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -14610,7 +14961,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -14818,7 +15168,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4", @@ -14835,8 +15184,7 @@ "node_modules/safe-array-concat/node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "license": "MIT" + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, "node_modules/safe-buffer": { "version": "5.2.1", @@ -14870,7 +15218,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -14887,7 +15234,6 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", - "license": "MIT", "engines": { "node": ">=10" } @@ -15021,6 +15367,12 @@ "node": ">=6" } }, + "node_modules/sane/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "node_modules/sane/node_modules/is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -15054,6 +15406,15 @@ "node": ">=0.10.0" } }, + "node_modules/sane/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sane/node_modules/micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -15143,9 +15504,9 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "bin": { "semver": "bin/semver.js" }, @@ -15158,7 +15519,6 @@ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, - "license": "BSD-3-Clause", "dependencies": { "randombytes": "^2.1.0" } @@ -15189,7 +15549,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -15418,23 +15777,21 @@ } }, "node_modules/sigstore/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -15608,7 +15965,6 @@ "version": "16.1.3", "resolved": "https://registry.npmjs.org/sinon/-/sinon-16.1.3.tgz", "integrity": "sha512-mjnWWeyxcAf9nC0bXcPmiDut+oE8HYridTNzBbF98AYVLmWwGRp2ISEpyhYflG1ifILT+eNn3BmKUJPxjXUPlA==", - "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^10.3.0", @@ -15626,7 +15982,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -15635,7 +15990,6 @@ "version": "10.3.0", "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0" } @@ -15644,7 +15998,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -15667,19 +16020,53 @@ } }, "node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=6" + } + }, + "node_modules/slice-ansi/node_modules/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, + "dependencies": { + "color-convert": "^1.9.0" }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" + "engines": { + "node": ">=4" + } + }, + "node_modules/slice-ansi/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/slice-ansi/node_modules/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": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "dev": true, + "engines": { + "node": ">=4" } }, "node_modules/smart-buffer": { @@ -15749,6 +16136,12 @@ "node": ">=0.10.0" } }, + "node_modules/snapdragon-util/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "node_modules/snapdragon-util/node_modules/kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -15915,9 +16308,9 @@ "dev": true }, "node_modules/spawn-command": { - "version": "0.0.2-1", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", - "integrity": "sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==", + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", + "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", "dev": true }, "node_modules/spdx-correct": { @@ -15947,9 +16340,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", - "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", "dev": true }, "node_modules/split-string": { @@ -15985,7 +16378,6 @@ "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "license": "MIT", "engines": { "node": "*" } @@ -16053,7 +16445,6 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/stdout-stderr/-/stdout-stderr-0.1.13.tgz", "integrity": "sha512-Xnt9/HHHYfjZ7NeQLvuQDyL1LnbsbddgMFKCuaQKwGCdJm8LnstZIXop+uOY36UR1UXXoHXfMbC1KlVdVd2JLA==", - "license": "MIT", "dependencies": { "debug": "^4.1.1", "strip-ansi": "^6.0.0" @@ -16115,7 +16506,6 @@ "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16133,7 +16523,6 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16147,7 +16536,6 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16352,42 +16740,6 @@ "node": ">=6" } }, - "node_modules/table/node_modules/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, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/table/node_modules/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, - "engines": { - "node": ">=4" - } - }, - "node_modules/table/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/table/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, "node_modules/table/node_modules/emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -16409,20 +16761,6 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "node_modules/table/node_modules/slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/table/node_modules/string-width": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", @@ -16536,8 +16874,7 @@ "node_modules/text-hex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", - "license": "MIT" + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" }, "node_modules/text-table": { "version": "0.2.0", @@ -16585,15 +16922,6 @@ "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", "dev": true }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -16606,6 +16934,12 @@ "node": ">=0.10.0" } }, + "node_modules/to-object-path/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "node_modules/to-object-path/node_modules/kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -16684,7 +17018,6 @@ "version": "0.6.10", "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.10.tgz", "integrity": "sha512-hN4uFRxbK+PX56DxYiGHsTn2dME3TVr9vbNqlQGcGcPhJAn+tdP126iA+TArMpI4YSgnTkMWyoLl5bf81Hi5TA==", - "license": "MIT", "dependencies": { "gopd": "^1.0.1", "typedarray.prototype.slice": "^1.0.3", @@ -16716,7 +17049,6 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", - "license": "MIT", "engines": { "node": ">= 14.0.0" } @@ -16793,9 +17125,9 @@ } }, "node_modules/ts-node/node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -16805,10 +17137,13 @@ } }, "node_modules/ts-node/node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dev": true, + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -16931,23 +17266,21 @@ } }, "node_modules/tuf-js/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -17151,7 +17484,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -17165,7 +17497,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -17184,7 +17515,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", - "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -17204,7 +17534,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -17233,7 +17562,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/typedarray.prototype.slice/-/typedarray.prototype.slice-1.0.3.tgz", "integrity": "sha512-8WbVAQAUlENo1q3c3zZYuy5k9VzBQvp8AX9WOtbvyWlLM1v5JaSRmjubLjzHF4JFtptjH/5c/i95yaElvcjC0A==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -17266,7 +17594,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -17277,6 +17604,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici": { + "version": "6.20.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.20.1.tgz", + "integrity": "sha512-AjQF1QsmqfJys+LXfGTNum+qw4S88CojRInG/6t31W/1fk6G59s92bnAvGz5Cmur+kQv2SURXEvvudLmbrE8QA==", + "engines": { + "node": ">=18.17" + } + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -17323,7 +17658,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "license": "MIT", "dependencies": { "crypto-random-string": "^2.0.0" }, @@ -17404,9 +17738,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", - "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "dev": true, "funding": [ { @@ -17423,8 +17757,8 @@ } ], "dependencies": { - "escalade": "^3.1.2", - "picocolors": "^1.0.1" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "bin": { "update-browserslist-db": "cli.js" @@ -17510,7 +17844,6 @@ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], - "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -17660,12 +17993,14 @@ } }, "node_modules/whatwg-encoding": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", - "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", - "dev": true, + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", "dependencies": { - "iconv-lite": "0.4.24" + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" } }, "node_modules/whatwg-fetch": { @@ -17674,10 +18009,12 @@ "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==" }, "node_modules/whatwg-mimetype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", - "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", - "dev": true + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "engines": { + "node": ">=18" + } }, "node_modules/whatwg-url": { "version": "8.7.0", @@ -17709,7 +18046,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -17728,9 +18064,9 @@ "dev": true }, "node_modules/which-pm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-pm/-/which-pm-2.0.0.tgz", - "integrity": "sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/which-pm/-/which-pm-2.2.0.tgz", + "integrity": "sha512-MOiaDbA5ZZgUjkeMWM5EkJp4loW5ZRoa5bc3/aeMox/PJelMhE6t7S/mLuiY43DBupyxH+S0U1bTui9kWUlmsw==", "dev": true, "dependencies": { "load-yaml-file": "^0.2.0", @@ -17779,10 +18115,9 @@ } }, "node_modules/winston": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.14.2.tgz", - "integrity": "sha512-CO8cdpBB2yqzEf8v895L+GNKYJiEq8eKlHU38af3snQBQ+sdAIUepjMSguOIJC7ICbzm0ZI+Af2If4vIJrtmOg==", - "license": "MIT", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.15.0.tgz", + "integrity": "sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow==", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", @@ -17801,29 +18136,81 @@ } }, "node_modules/winston-transport": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz", - "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==", - "license": "MIT", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.8.0.tgz", + "integrity": "sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA==", "dependencies": { "logform": "^2.6.1", - "readable-stream": "^3.6.2", + "readable-stream": "^4.5.2", "triple-beam": "^1.3.0" }, "engines": { "node": ">= 12.0.0" } }, - "node_modules/winston/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "license": "MIT", + "node_modules/winston-transport/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/winston-transport/node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "engines": { - "node": ">=8" + "node": ">=0.8.x" + } + }, + "node_modules/winston-transport/node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/winston-transport/node_modules/readable-stream": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", + "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/word-wrap": { @@ -17844,8 +18231,7 @@ "version": "6.5.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", - "dev": true, - "license": "Apache-2.0" + "dev": true }, "node_modules/wrap-ansi": { "version": "7.0.0", @@ -17928,7 +18314,6 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=8.3.0" }, @@ -17949,7 +18334,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "license": "MIT", "engines": { "node": ">=8" } @@ -18027,7 +18411,6 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, - "license": "ISC", "engines": { "node": ">=10" } @@ -18293,26 +18676,14 @@ ] }, "node_modules/yeoman-environment/node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" } }, - "node_modules/yeoman-environment/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/yeoman-environment/node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -18658,23 +19029,21 @@ } }, "node_modules/yeoman-generator/node_modules/cacache/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -18825,18 +19194,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/yeoman-generator/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/yeoman-generator/node_modules/json-parse-even-better-errors": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", diff --git a/package.json b/package.json index aaa24a5..2ef0561 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@contentstack/cli-utilities": "^1.7.3", "@contentstack/types-generator": "^2.0.2", "async": "^3.2.6", + "dotenv": "^16.4.5", "fancy-test": "^3.0.16", "graphql": "^14.7.0", "lodash": "^4.17.21", @@ -66,7 +67,8 @@ "prepack": "rm -rf lib && tsc -b && oclif manifest && oclif readme", "test": "jest --testPathPattern=tests", "version": "oclif readme && git add README.md", - "test:unit": "mocha --forbid-only -r ts-node/register \"test/**/*.test.ts\"" + "test:unit": "mocha --forbid-only -r ts-node/register \"test/**/*.test.ts\"", + "test:integration": "jest --testPathPattern=tests/integration" }, "csdxConfig": { "shortCommandName": { diff --git a/tests/integration/tsgen.integration.test.ts b/tests/integration/tsgen.integration.test.ts new file mode 100644 index 0000000..5084d4e --- /dev/null +++ b/tests/integration/tsgen.integration.test.ts @@ -0,0 +1,192 @@ +import { exec } from "child_process"; // Import 'exec' to run shell commands +import * as path from "path"; +import * as dotenv from "dotenv"; +import * as fs from "fs"; + +// Load environment variables from .env file +dotenv.config({ path: path.resolve(__dirname, "../../.env") }); + +const outputFilePath = path.resolve(__dirname, "generated.d.ts"); // Define the path to store the generated TypeScript file + +const tokenAlias = process.env.TOKEN_ALIAS; + +describe("Integration Test for tsgen command", () => { + beforeEach(() => { + if (fs.existsSync(outputFilePath)) { + fs.unlinkSync(outputFilePath); + } + }); + + // Test case 1: Generate TypeScript types with default flags + it("should generate TypeScript types with the default flags", (done) => { + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}"`; + + exec(cmd, (error, stdout, stderr) => { + expect(error).toBeNull(); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + expect(generatedContent).toContain("interface"); // Verify that TypeScript interface is present in output + + // Assert that multi-line documentation comments are present + expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block + + done(); + }); + }); + + // Test case 2: Generate TypeScript types with a prefix applied + it("should generate TypeScript types with the prefix", (done) => { + const prefix = "I"; // Define a prefix for interface names + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" -p "${prefix}"`; + + exec(cmd, (error, stdout, stderr) => { + expect(error).toBeNull(); + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + + expect(generatedContent).toContain("interface"); // Check for interface presence + + // Check if all interfaces have the prefix + const allInterfacesWithPrefix = + generatedContent.match(/export interface \w+/g); + if (allInterfacesWithPrefix) { + allInterfacesWithPrefix.forEach((interfaceDecl) => { + expect( + interfaceDecl.startsWith(`export interface ${prefix}`) + ).toBeTruthy(); // Ensure each interface starts with the prefix + }); + } + + // Assert that multi-line documentation comments are present + expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block + + done(); + }); + }); + + // Test case 3: Generate TypeScript types without documentation comments + it("should generate TypeScript types without documentation", (done) => { + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --no-doc`; // Command with --no-doc flag + + exec(cmd, (error, stdout, stderr) => { + expect(error).toBeNull(); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + + // Assert that no multi-line documentation comments are present + expect(generatedContent).not.toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block + done(); + }); + }); + + // Test case 4: Generate TypeScript types with system fields + it("should generate TypeScript types with the system fields", (done) => { + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --include-system-fields`; + + exec(cmd, (error) => { + expect(error).toBeNull(); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + + expect(generatedContent).toContain("export interface SystemFields"); + expect(generatedContent).toContain("extends SystemFields"); + + // Optional : Assert specific fields are present in the SystemFields interface + const systemFieldsPattern = /interface SystemFields\s*{([^}]*)}/; // Regex to find the SystemFields interface + const match = generatedContent.match(systemFieldsPattern); + expect(match).toBeTruthy(); // Ensure SystemFields interface exists + if (match) { + expect(match[1]).toContain("uid?: string;"); // Check specific fields in SystemFields + expect(match[1]).toContain("created_at?: string;"); + expect(match[1]).toContain("updated_at?: string;"); + expect(match[1]).toContain("created_by?: string;"); + expect(match[1]).toContain("updated_by?: string;"); + expect(match[1]).toContain("_content_type_uid?: string;"); + expect(match[1]).toContain("tags?: string[];"); + expect(match[1]).toContain("ACL?: any[];"); + expect(match[1]).toContain("_version?: number;"); + expect(match[1]).toContain("_in_progress?: boolean;"); + expect(match[1]).toContain("locale?: string;"); + expect(match[1]).toContain("publish_details?: PublishDetails[];"); + expect(match[1]).toContain("title?: string;"); + } + + // Assert that multi-line documentation comments are present + expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block + + done(); + }); + }); + + // Test case 5: Handling of invalid token alias + it("should fail with an invalid token alias", (done) => { + const cmd = `csdx tsgen -a "invalid_alias" -o "${outputFilePath}"`; // Command with incorrect token alias + + exec(cmd, (error, stdout, stderr) => { + expect(error).not.toBeNull(); + expect(stderr).toContain("Error: No token found"); // Check error message + done(); + }); + }); + + // Test case 6: Generate TypeScript types for GraphQL API + it("should generate correct TypeScript for basic GraphQL response", (done) => { + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --api-type graphql`; + + exec(cmd, (error, stdout, stderr) => { + expect(error).toBeNull(); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); + + expect(generatedContent).toContain("interface IGraphQLResponseRoot"); + expect(generatedContent).toContain("interface IGraphQLResponseError"); + expect(generatedContent).toContain( + "interface IGraphQLResponseErrorLocation" + ); + expect(generatedContent).toContain("interface IQuery"); + done(); + }); + }); + + // Test case 7: Generate TypeScript types for GraphQL API with a custom namespace + it("should generate correct TypeScript for GraphQL API with a custom namespace", (done) => { + const namespace = "GraphQL"; // Define a custom namespace + const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --api-type graphql --namespace "${namespace}"`; + + exec(cmd, (error, stdout, stderr) => { + expect(error).toBeNull(); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); + + expect(generatedContent).toContain(`declare namespace ${namespace}`); + expect(generatedContent).toContain("interface IGraphQLResponseRoot"); + expect(generatedContent).toContain("interface IGraphQLResponseError"); + expect(generatedContent).toContain( + "interface IGraphQLResponseErrorLocation" + ); + expect(generatedContent).toContain("interface IQuery"); + done(); + }); + }); + + // Test case 8: Handle errors for GraphQL API + it("should fail with an invalid token alias for GraphQL API", (done) => { + const cmd = `csdx tsgen -a "invalid_alias" -o "${outputFilePath}" --api-type graphql`; + + exec(cmd, (error, stdout, stderr) => { + expect(error).not.toBeNull(); + expect(stderr).toContain("Error: No token found"); // Check error message + done(); + }); + }); + + afterEach(() => { + if (fs.existsSync(outputFilePath)) { + fs.unlinkSync(outputFilePath); + } + }); +}); diff --git a/tsconfig.json b/tsconfig.json index d068251..043b0a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "target": "es2017", "skipLibCheck": true, "resolveJsonModule": true, + "composite": true, }, "include": [ "src/**/*" From 44cd5be44ff93b3fa7ecf04c7d6899e8ae0ea0cd Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Mon, 28 Oct 2024 18:39:14 +0530 Subject: [PATCH 03/19] chore: added notes --- notes.md | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 notes.md diff --git a/notes.md b/notes.md new file mode 100644 index 0000000..99c662a --- /dev/null +++ b/notes.md @@ -0,0 +1,122 @@ +# Setting up CLI : + +1. Need node version 20+ + +```bash +nvm use 20 +node -v +``` + +2. Install the cli + +```bash +npm install -g @contentstack/cli +``` + +3. Setup the region before CLI + +```bash +csdx config:set:region NA +``` + +4. Login to the CLI + +```bash +csdx auth:login +``` + +5. Try some operations like `csdx cm:export-to-csv` + +# Getting started with the tsgen plugin + +1. Check if the following command is running : + +```bash +csdx plugins:link -h +``` + +If error comes then install the CLI : + +```bash +npm install -g @contentstack/cli +``` + +2. Check whether the `tsgen` plugin is already installed. + +```bash +csdx plugins +``` + +If the plugin is already installed and version is displayed then remove that plugin + +```bash +csdx plugins:remove contentstack-cli-tsgen +``` + +Now recheck if the plugin was removed or not - `csdx plugins` + +3. Now in the root directory of `contentstack-cli-tsgen`, link the plugin to the installed CLI. + +```bash +csdx plugins:link . +``` + +4. Now check this plugin command and the output will be served from the `src/commands/tsgen.ts` file. + +```bash +csdx tsgen -h +``` + +5. Need to setup the delivery token to fetch the stacks data + +```bash +csdx auth:tokens:add --delivery +``` + +```bash +? Provide alias to store token forTSgenPlugin +? Alias is already exists, do you want to replace? Yes +? Enter the api key xxxxxx +? Enter the token xxxxx +? Enter the environment name xxxx +``` + +The environment name will be the one which you have created in your stack for publishing entries/content types. + +6. If it is running correctly then test these commands + + 1. Default : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" + ``` + + 2. Add Prefix : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" -p "I" + ``` + + 3. Docs(default is true so lets turn it off) : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --no-doc + ``` + + 4. Add system fields types : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --include-system-fields + ``` + + 5. Add GraphQL schema typpes : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --api-type graphql + ``` + + 6. Add a namespace for the GraphQL API type to organize the generated types : + + ```bash + csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --api-type graphql --namespace "Testing-GraphQL" + ``` From 094bf3a60a1e2aee48e725cc90f215eeabebe14f Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Wed, 30 Oct 2024 18:17:32 +0530 Subject: [PATCH 04/19] ui text changes --- src/commands/tsgen.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/commands/tsgen.ts b/src/commands/tsgen.ts index 36edd0d..45ad8ce 100644 --- a/src/commands/tsgen.ts +++ b/src/commands/tsgen.ts @@ -18,7 +18,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command { static flags: any = { 'token-alias': flags.string({ char: 'a', - description: 'delivery token alias', + description: '(mandatory) Delivery token alias.', hidden: false, multiple: false, required: true, @@ -26,7 +26,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command { output: flags.string({ char: 'o', - description: 'full path to output', + description: '(mandatory) The full path to output.', hidden: false, multiple: false, required: true, @@ -34,7 +34,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command { prefix: flags.string({ char: 'p', - description: 'interface prefix, e.g. "I"', + description: '(optional) Interface prefix, e.g., "I".', hidden: false, multiple: false, default: '', @@ -43,19 +43,19 @@ export default class TypeScriptCodeGeneratorCommand extends Command { doc: flags.boolean({ char: 'd', - description: 'include documentation comments', + description: '(optional) Include documentation comments. By default, this flag is enabled.', default: true, allowNo: true, }), branch: flags.string({ - description: 'branch', + description: '(optional) The name of the branch to be used.', hidden: false, multiple: false, }), 'include-system-fields': flags.boolean({ - description: 'include system fields in generated types', + description: '(optional) Include system fields in generated types.', default: false, }), @@ -63,11 +63,11 @@ export default class TypeScriptCodeGeneratorCommand extends Command { default: 'rest', multiple: false, options: ['rest', 'graphql'], - description: '[Optional] Please enter an API type to generate the type definitions.', + description: '[optional] The API type to generate type definitions. Supported options: rest, graphql.', }), namespace: flags.string({ - description: '[Optional]Please enter a namespace for the GraphQL API type to organize the generated types.', + description: '[optional] The namespace for the GraphQL API type to organize the generated types.', }), }; From d3777222383cb474ebac0728606551a38e95787f Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Tue, 5 Nov 2024 15:49:18 +0530 Subject: [PATCH 05/19] chore: removed notes --- notes.md | 122 ------------------------------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 notes.md diff --git a/notes.md b/notes.md deleted file mode 100644 index 99c662a..0000000 --- a/notes.md +++ /dev/null @@ -1,122 +0,0 @@ -# Setting up CLI : - -1. Need node version 20+ - -```bash -nvm use 20 -node -v -``` - -2. Install the cli - -```bash -npm install -g @contentstack/cli -``` - -3. Setup the region before CLI - -```bash -csdx config:set:region NA -``` - -4. Login to the CLI - -```bash -csdx auth:login -``` - -5. Try some operations like `csdx cm:export-to-csv` - -# Getting started with the tsgen plugin - -1. Check if the following command is running : - -```bash -csdx plugins:link -h -``` - -If error comes then install the CLI : - -```bash -npm install -g @contentstack/cli -``` - -2. Check whether the `tsgen` plugin is already installed. - -```bash -csdx plugins -``` - -If the plugin is already installed and version is displayed then remove that plugin - -```bash -csdx plugins:remove contentstack-cli-tsgen -``` - -Now recheck if the plugin was removed or not - `csdx plugins` - -3. Now in the root directory of `contentstack-cli-tsgen`, link the plugin to the installed CLI. - -```bash -csdx plugins:link . -``` - -4. Now check this plugin command and the output will be served from the `src/commands/tsgen.ts` file. - -```bash -csdx tsgen -h -``` - -5. Need to setup the delivery token to fetch the stacks data - -```bash -csdx auth:tokens:add --delivery -``` - -```bash -? Provide alias to store token forTSgenPlugin -? Alias is already exists, do you want to replace? Yes -? Enter the api key xxxxxx -? Enter the token xxxxx -? Enter the environment name xxxx -``` - -The environment name will be the one which you have created in your stack for publishing entries/content types. - -6. If it is running correctly then test these commands - - 1. Default : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" - ``` - - 2. Add Prefix : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" -p "I" - ``` - - 3. Docs(default is true so lets turn it off) : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --no-doc - ``` - - 4. Add system fields types : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --include-system-fields - ``` - - 5. Add GraphQL schema typpes : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --api-type graphql - ``` - - 6. Add a namespace for the GraphQL API type to organize the generated types : - - ```bash - csdx tsgen -a "forTSgenPlugin" -o "contentstack/generated.d.ts" --api-type graphql --namespace "Testing-GraphQL" - ``` From 33e8814f69b4eda86b1fb22f53e93f1c693e06d9 Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Tue, 5 Nov 2024 15:50:30 +0530 Subject: [PATCH 06/19] fix: removed extra checks for system fields flag integration check --- tests/integration/tsgen.integration.test.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/integration/tsgen.integration.test.ts b/tests/integration/tsgen.integration.test.ts index 5084d4e..cc246f4 100644 --- a/tests/integration/tsgen.integration.test.ts +++ b/tests/integration/tsgen.integration.test.ts @@ -97,21 +97,6 @@ describe("Integration Test for tsgen command", () => { const systemFieldsPattern = /interface SystemFields\s*{([^}]*)}/; // Regex to find the SystemFields interface const match = generatedContent.match(systemFieldsPattern); expect(match).toBeTruthy(); // Ensure SystemFields interface exists - if (match) { - expect(match[1]).toContain("uid?: string;"); // Check specific fields in SystemFields - expect(match[1]).toContain("created_at?: string;"); - expect(match[1]).toContain("updated_at?: string;"); - expect(match[1]).toContain("created_by?: string;"); - expect(match[1]).toContain("updated_by?: string;"); - expect(match[1]).toContain("_content_type_uid?: string;"); - expect(match[1]).toContain("tags?: string[];"); - expect(match[1]).toContain("ACL?: any[];"); - expect(match[1]).toContain("_version?: number;"); - expect(match[1]).toContain("_in_progress?: boolean;"); - expect(match[1]).toContain("locale?: string;"); - expect(match[1]).toContain("publish_details?: PublishDetails[];"); - expect(match[1]).toContain("title?: string;"); - } // Assert that multi-line documentation comments are present expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block From 388ed5621ca7be4f3e876d044d3b1ed080dc721e Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Fri, 8 Nov 2024 11:39:09 +0530 Subject: [PATCH 07/19] chore: removed unit test script --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 2ef0561..eceb559 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,6 @@ "prepack": "rm -rf lib && tsc -b && oclif manifest && oclif readme", "test": "jest --testPathPattern=tests", "version": "oclif readme && git add README.md", - "test:unit": "mocha --forbid-only -r ts-node/register \"test/**/*.test.ts\"", "test:integration": "jest --testPathPattern=tests/integration" }, "csdxConfig": { From 357e5f3d94460c336b97169cb2b05a9629a41d36 Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Fri, 8 Nov 2024 11:43:05 +0530 Subject: [PATCH 08/19] chore: removed unit test folder --- test/helpers/init.js | 7 - test/tsconfig.json | 11 - test/unit/commands/tsgen.test.ts | 51 - test/unit/mock/common.mock.json | 5389 ------------------------------ 4 files changed, 5458 deletions(-) delete mode 100755 test/helpers/init.js delete mode 100755 test/tsconfig.json delete mode 100644 test/unit/commands/tsgen.test.ts delete mode 100644 test/unit/mock/common.mock.json diff --git a/test/helpers/init.js b/test/helpers/init.js deleted file mode 100755 index d1072f1..0000000 --- a/test/helpers/init.js +++ /dev/null @@ -1,7 +0,0 @@ -const path = require('path') -process.env.TS_NODE_PROJECT = path.resolve('test/tsconfig.json') -process.env.NODE_ENV = 'development' - -global.oclif = global.oclif || {} -global.oclif.columns = 80 - diff --git a/test/tsconfig.json b/test/tsconfig.json deleted file mode 100755 index b375b0a..0000000 --- a/test/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../tsconfig", - "compilerOptions": { - "noEmit": true, - "resolveJsonModule": true, - "esModuleInterop": true, - }, - "references": [ - {"path": ".."} - ], -} diff --git a/test/unit/commands/tsgen.test.ts b/test/unit/commands/tsgen.test.ts deleted file mode 100644 index 8158a8a..0000000 --- a/test/unit/commands/tsgen.test.ts +++ /dev/null @@ -1,51 +0,0 @@ -import {configHandler} from '@contentstack/cli-utilities' -import fancy from 'fancy-test' -import {runCommand} from '@oclif/test' - -import * as mock from '../mock/common.mock.json' - -const GRAPHQL_REGION_URL_MAPPING = { - na: 'https://graphql.contentstack.com', - us: 'https://graphql.contentstack.com', - eu: 'https://eu-graphql.contentstack.com/stacks', - 'azure-na': 'https://azure-na-graphql.contentstack.com/stacks', - 'azure-eu': 'https://azure-eu-graphql.contentstack.com/stacks', -} - -const region: { cma: string; name: string; cda: string } = configHandler.get('region') -const graphqlUrl: string = region?.name && GRAPHQL_REGION_URL_MAPPING[region.name.toLowerCase() as keyof typeof GRAPHQL_REGION_URL_MAPPING] -const alias = 'token1' -configHandler.set(`tokens.${alias}`, mock.tokens[alias]) -const filePath = './generate1.d.ts' - -describe('Tsgen command', () => { - describe('Graphql type generator', () => { - fancy - .stdout({print: process.env.PRINT === 'true' || true}) - .nock(graphqlUrl, api => - api - .post(`/stacks/${mock.tokens[alias].apiKey}?environment=development`) - .reply(200, { - data: mock.mock_data, - }) - ) - .it('should generate a type def for graphql query', async () => { - await runCommand(['tsgen', '--token-alias', alias, '--output', filePath, '--api-type', 'graphql'], {root: process.cwd()}) - }) - }) - - describe('Graphql type generator with namespace', () => { - fancy - .stdout({print: process.env.PRINT === 'true' || false}) - .nock(graphqlUrl, api => - api - .post(`/stacks/${mock.tokens[alias].apiKey}?environment=development`) - .reply(200, { - data: mock.mock_data, - }) - ) - .it('should generate a type def for graphql query with namespace', async () => { - await runCommand(['tsgen', '--api-type', 'graphql', '-a', alias, '--output', filePath, '--namespace', 'GraphQL'], {root: process.cwd()}) - }) - }) -}) diff --git a/test/unit/mock/common.mock.json b/test/unit/mock/common.mock.json deleted file mode 100644 index bcd6b25..0000000 --- a/test/unit/mock/common.mock.json +++ /dev/null @@ -1,5389 +0,0 @@ -{ - "stacks": [ - { - "name": "Stack 1", - "uid": "stack-uid-1", - "api_key": "stack_api_key_1" - } - ], - "mock_data": { - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": null, - "subscriptionType": null, - "types": [ - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "fields": [ - { - "name": "assets", - "description": null, - "args": [ - { - "name": "uid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"en-us\"" - } - ], - "type": { - "kind": "OBJECT", - "name": "SysAsset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "all_assets", - "description": null, - "args": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SysAssetWhere", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"en-us\"" - }, - { - "name": "order_by", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SysAssetOrderBy", - "ofType": null - } - }, - "defaultValue": "[updated_at_DESC]" - }, - { - "name": "skip", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "0" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - } - ], - "type": { - "kind": "OBJECT", - "name": "AllSysAsset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ct2", - "description": null, - "args": [ - { - "name": "uid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": "\"en-us\"" - } - ], - "type": { - "kind": "OBJECT", - "name": "Ct2", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "all_ct2", - "description": null, - "args": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "Ct2Where", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": "\"en-us\"" - }, - { - "name": "order_by", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "Ct2OrderBy", - "ofType": null - } - }, - "defaultValue": "[updated_at_DESC]" - }, - { - "name": "skip", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "0" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - } - ], - "type": { - "kind": "OBJECT", - "name": "AllCt2", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ct1", - "description": null, - "args": [ - { - "name": "uid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": "\"en-us\"" - } - ], - "type": { - "kind": "OBJECT", - "name": "Ct1", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "all_ct1", - "description": null, - "args": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "Ct1Where", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": "\"en-us\"" - }, - { - "name": "order_by", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "Ct1OrderBy", - "ofType": null - } - }, - "defaultValue": "[updated_at_DESC]" - }, - { - "name": "skip", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "0" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - } - ], - "type": { - "kind": "OBJECT", - "name": "AllCt1", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysAsset", - "description": null, - "fields": [ - { - "name": "title", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": null, - "args": [ - { - "name": "transform", - "description": "Contentstack Image Delivery API is used to retrieve, manipulate and/or convert image files of your Contentstack account and deliver it to your web or mobile properties", - "type": { - "kind": "INPUT_OBJECT", - "name": "SysAssetTransformUrl", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "permanent_url", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content_type", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filename", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "file_size", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dimension", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysAssetDimension", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unique_identifier", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "system", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysAssetSystemField", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SysAssetTransformUrl", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "height", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "format", - "description": "Format parameter lets you converts a given image from one format to another", - "type": { - "kind": "ENUM", - "name": "SysAssetImageFormats", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "disable", - "description": "The disable parameter disables the functionality that is enabled by default", - "type": { - "kind": "ENUM", - "name": "SysAssetDisableValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "fit", - "description": "Fit parameter enables you to fit the given image properly within the specified height and width", - "type": { - "kind": "ENUM", - "name": "SysAssetFitValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "quality", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "crop", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "trim", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "orient", - "description": "The orient parameter lets you control the cardinal orientation of the given image", - "type": { - "kind": "ENUM", - "name": "SysAssetOrientValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "overlay", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "overlay_align", - "description": null, - "type": { - "kind": "ENUM", - "name": "SysAssetOverlayAlignValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "overlay_repeat", - "description": "The overlay_repeat parameter lets you define how the overlay image will be repeated on the given image", - "type": { - "kind": "ENUM", - "name": "SysAssetOverlayRepeatValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "auto", - "description": "When the auto parameter is set to webp, it enables WebP image support. WebP images have higher compression rate with minimum loss of quality.", - "type": { - "kind": "ENUM", - "name": "SysAssetAutoValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "disposition", - "description": "The disposition parameter lets you allow image to download or render. ", - "type": { - "kind": "ENUM", - "name": "SysAssetDispositionValues", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dpr", - "description": "The dpr parameter lets you deliver images with appropriate size to devices that come with a defined device pixel ratio. The device pixel ratio of any device determines the screen resolution that its CSS would interpret", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "bg_color", - "description": "The bg-color parameter lets you set a backgroud color for the given image. This is useful when applying padding or for replacing the transparent pixels of an image", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "pad", - "description": "This parameter lets you add extra pixels to the edges of an image. You can specify values for top, right, bottom, and left padding for an image", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "overlay_height", - "description": "The value for this parameter can be set in pixels or percentage. For pixel value, use any whole number between 1 and 8192. For percentage value, use any decimal number between 0.0 and 0.99. When height is defined in percentage, it relative to the output image", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "overlay_width", - "description": "The value for this parameter can be set in pixels or percentage. For pixel value, use any whole number between 1 and 8192. For percentage value, use any decimal number between 0.0 and 0.99. When width is defined in percentage, it is relative to the output image", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetImageFormats", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "GIF", - "description": "Convert an image to GIF format", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PNG", - "description": "Convert an image to PNG format", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JPG", - "description": "Convert an image to JPEG format", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PJPG", - "description": "A Progressive JPEG is an image file created using a compression method that displays higher detail in progression", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WEBP", - "description": "WEBP images are usually lower in size and have good quality", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WEBPLL", - "description": "WEBP Lossless format", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WEBPLY", - "description": "WEBP Lossy format", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetDisableValues", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "UPSCALE", - "description": "UPSCALE is always enabled, in which the image is upscaled if the output image (by specifying the width or height) is bigger than the source image", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetFitValues", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "BOUNDS", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CROP", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetOrientValues", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "DEFAULT", - "description": "Set image to default", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HORIZONTALLY", - "description": "Flip image horizontally", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOTH", - "description": "Flip image horizontally and vertically", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VERTICALLY", - "description": "Flip image vertically", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ROTATE90LEFT", - "description": "Flip image horizontally and then rotate 90 degrees towards left", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ROTATE90RIGHT", - "description": "Rotate image 90 degrees towards right", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetOverlayAlignValues", - "description": "The overlay_align parameter allows you to put one image on top of another", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "TOP", - "description": "Align the overlay image to the top of the actual image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOTTOM", - "description": "Align the overlay image to the bottom of the actual image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LEFT", - "description": "Align the overlay image to the left of the actual image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RIGHT", - "description": "Align the overlay image to the right of the actual image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MIDDLE", - "description": "Align the overlay image to the middle (vertically) of the actual image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CENTER", - "description": "Align the overlay image to the center (horizontally) of the actual image", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetOverlayRepeatValues", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "X", - "description": "Horizontal repetition", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Y", - "description": "Vertical repetition", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOTH", - "description": "Horizontal and vertical repetition", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetAutoValues", - "description": "WEBP images are usually lower in size and have good quality.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "WEBP", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetDispositionValues", - "description": "This parameter allows an image to be downloaded or rendered on page", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ATTACHMENT", - "description": "Allows to download an image", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE", - "description": "Allows an image to be rendered on page", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysAssetDimension", - "description": null, - "fields": [ - { - "name": "width", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "JSON", - "description": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysAssetSystemField", - "description": null, - "fields": [ - { - "name": "branch", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_by", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_by", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uid", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content_type_uid", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publish_details", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SystemPublishDetails", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extensionConnection", - "description": null, - "args": [ - { - "name": "skip", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "0" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - } - ], - "type": { - "kind": "OBJECT", - "name": "SysExtensionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "DateTime", - "description": "This field accepts both ISODateString and ISODateTimeStringexample: 1992-08-14 or 1992-08-14T03:42:00.000Z", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SystemPublishDetails", - "description": null, - "fields": [ - { - "name": "environment", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysExtensionConnection", - "description": null, - "fields": [ - { - "name": "totalCount", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SysExtensionEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysExtensionEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysMetadata", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysMetadata", - "description": null, - "fields": [ - { - "name": "metadata", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extension_uid", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AllSysAsset", - "description": null, - "fields": [ - { - "name": "total", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "items", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SysAsset", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SysAssetWhere", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "url_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "url_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filename", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filename_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filename_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filename_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filename_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "file_size_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "file_size_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_size_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dimension_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dimension", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SysAssetDimensionWhere", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tags", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tags_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "tags_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filename_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "AND", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SysAssetWhere", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "OR", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SysAssetWhere", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SysAssetDimensionWhere", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "width", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "width_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "width_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "height_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "height_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "pattern", - "description": "RegEx pattern. The options will default to 'i'", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SysAssetOrderBy", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Ct2", - "description": null, - "fields": [ - { - "name": "title", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fileConnection", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysAssetConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "system", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "EntrySystemField", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysAssetConnection", - "description": null, - "fields": [ - { - "name": "totalCount", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SysAssetEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SysAssetEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysAsset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "EntrySystemField", - "description": null, - "fields": [ - { - "name": "branch", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publish_details", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SystemPublishDetails", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_by", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_by", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uid", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content_type_uid", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extensionConnection", - "description": null, - "args": [ - { - "name": "skip", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "0" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - } - ], - "type": { - "kind": "OBJECT", - "name": "SysExtensionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AllCt2", - "description": null, - "fields": [ - { - "name": "total", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "items", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Ct2", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "Ct2Where", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SysAssetWhere", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "file_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_by_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_by_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_by_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_by_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_by_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_by_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tags_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "tags_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "publish_details", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SystemPublishDetailsWhere", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "AND", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Ct2Where", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "OR", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Ct2Where", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SystemPublishDetailsWhere", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "time", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "time_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "time_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "time_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "time_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "time_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "time_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "time_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "user_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "Ct2OrderBy", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Ct1", - "description": null, - "fields": [ - { - "name": "title", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customConnection", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SysAssetConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "system", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "EntrySystemField", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AllCt1", - "description": null, - "fields": [ - { - "name": "total", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "items", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Ct1", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "Ct1Where", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "custom", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "custom_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_by_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_by_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "created_by_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_at_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_by_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_by_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "updated_by_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "locale_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locale_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "uid_exists", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "uid_regex", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RegExOptions", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tags_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "tags_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_ne", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "publish_details", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SystemPublishDetailsWhere", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "AND", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Ct1Where", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "OR", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Ct1Where", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "Ct1OrderBy", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_ASC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at_DESC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "specifiedByURL", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isRepeatable", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - } - ], - "directives": [ - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ARGUMENT_DEFINITION", - "INPUT_FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - }, - { - "name": "specifiedBy", - "description": "Exposes a URL that specifies the behavior of this scalar.", - "locations": ["SCALAR"], - "args": [ - { - "name": "url", - "description": "The URL that specifies the behavior of this scalar.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ] - } - ] - } - }, - "tokens": { - "token1": { - "token": "test_token", - "apiKey": "stack_api_key_1", - "environment": "development", - "type": "delivery" - } - } -} From 7208c1caf934aa96d7d1e5e80349986ca1c6e957 Mon Sep 17 00:00:00 2001 From: Meet Makwana Date: Fri, 8 Nov 2024 11:44:32 +0530 Subject: [PATCH 09/19] chore: removed composite option since there is no referrer tsconfig.json after deletion of unit test folder --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 043b0a0..d068251 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,6 @@ "target": "es2017", "skipLibCheck": true, "resolveJsonModule": true, - "composite": true, }, "include": [ "src/**/*" From 8afd07401533f7997c533d884ab7ccffb436d326 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Tue, 17 Dec 2024 12:56:30 +0530 Subject: [PATCH 10/19] integrated for Custom Region, and updated packages --- package-lock.json | 180 ++++++++++++++++++++---------------------- package.json | 6 +- src/commands/tsgen.ts | 147 ++++++++++++++++------------------ src/types/index.ts | 1 + 4 files changed, 158 insertions(+), 176 deletions(-) diff --git a/package-lock.json b/package-lock.json index 868f84f..e8c0d56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,10 +15,10 @@ "async": "^3.2.6", "dotenv": "^16.4.5", "fancy-test": "^3.0.16", - "graphql": "^14.7.0", + "graphql": "^16.8.1", "lodash": "^4.17.21", - "prettier": "^2.8.8", - "tslib": "^1.14.1" + "prettier": "^3.2.4", + "tslib": "^2.6.2" }, "devDependencies": { "@oclif/plugin-help": "^3.3.1", @@ -723,11 +723,6 @@ "tslib": "^2.6.3" } }, - "node_modules/@contentstack/core/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" - }, "node_modules/@contentstack/delivery-sdk": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.3.0.tgz", @@ -775,18 +770,40 @@ "prettier": "^3.3.3" } }, - "node_modules/@contentstack/types-generator/node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", - "bin": { - "prettier": "bin/prettier.cjs" + "node_modules/@contentstack/types-generator/node_modules/@gql2ts/from-schema": { + "version": "2.0.0-4", + "resolved": "https://registry.npmjs.org/@gql2ts/from-schema/-/from-schema-2.0.0-4.tgz", + "integrity": "sha512-dx9OCgL5A6IiDecIFxKyfbpzCsEI6dbyCLlYwQU0dzr+L3IN0YkEIpNtPmO83W1MRZAi34G1AiKZBgbRcT0S9g==", + "license": "ISC", + "dependencies": { + "@gql2ts/language-typescript": "^2.0.0-0", + "@gql2ts/util": "^2.0.0-0", + "dedent": "^0.7.0" }, - "engines": { - "node": ">=14" + "peerDependencies": { + "graphql": ">= 0.10 <15" + } + }, + "node_modules/@contentstack/types-generator/node_modules/@gql2ts/util": { + "version": "2.0.0-0", + "resolved": "https://registry.npmjs.org/@gql2ts/util/-/util-2.0.0-0.tgz", + "integrity": "sha512-lMUYZZtoo31klzenNvJ4cMYzFbs3T4peT7fSlCAq1EEthbIuXFtrY8aFIa2Y5BdrnhoHFYDgdlYbr3xJ0j1teA==", + "license": "ISC", + "peerDependencies": { + "graphql": ">= 0.10 <15" + } + }, + "node_modules/@contentstack/types-generator/node_modules/graphql": { + "version": "14.7.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-14.7.0.tgz", + "integrity": "sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==", + "license": "MIT", + "peer": true, + "dependencies": { + "iterall": "^1.2.2" }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" + "engines": { + "node": ">= 6.x" } }, "node_modules/@contentstack/utils": { @@ -1133,37 +1150,39 @@ "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, - "node_modules/@gql2ts/from-schema": { - "version": "2.0.0-4", - "resolved": "https://registry.npmjs.org/@gql2ts/from-schema/-/from-schema-2.0.0-4.tgz", - "integrity": "sha512-dx9OCgL5A6IiDecIFxKyfbpzCsEI6dbyCLlYwQU0dzr+L3IN0YkEIpNtPmO83W1MRZAi34G1AiKZBgbRcT0S9g==", - "dependencies": { - "@gql2ts/language-typescript": "^2.0.0-0", - "@gql2ts/util": "^2.0.0-0", - "dedent": "^0.7.0" - }, - "peerDependencies": { - "graphql": ">= 0.10 <15" - } - }, "node_modules/@gql2ts/language-typescript": { "version": "2.0.0-0", "resolved": "https://registry.npmjs.org/@gql2ts/language-typescript/-/language-typescript-2.0.0-0.tgz", "integrity": "sha512-7jxNsQutjQ5rUfOxNZuovUXFldIA5hhIjQh95aJLQIRYKBVDCIceM6QpCCbf1iuhwx4P23jx1kc/4uLsAJHnug==", "hasInstallScript": true, + "license": "ISC", "dependencies": { "@gql2ts/util": "^2.0.0-0", "humps": "^2.0.0" } }, - "node_modules/@gql2ts/util": { + "node_modules/@gql2ts/language-typescript/node_modules/@gql2ts/util": { "version": "2.0.0-0", "resolved": "https://registry.npmjs.org/@gql2ts/util/-/util-2.0.0-0.tgz", "integrity": "sha512-lMUYZZtoo31klzenNvJ4cMYzFbs3T4peT7fSlCAq1EEthbIuXFtrY8aFIa2Y5BdrnhoHFYDgdlYbr3xJ0j1teA==", + "license": "ISC", "peerDependencies": { "graphql": ">= 0.10 <15" } }, + "node_modules/@gql2ts/language-typescript/node_modules/graphql": { + "version": "14.7.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-14.7.0.tgz", + "integrity": "sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==", + "license": "MIT", + "peer": true, + "dependencies": { + "iterall": "^1.2.2" + }, + "engines": { + "node": ">= 6.x" + } + }, "node_modules/@humanfs/core": { "version": "0.19.0", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz", @@ -2080,12 +2099,6 @@ "node": ">=8" } }, - "node_modules/@oclif/config/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/@oclif/core": { "version": "4.0.30", "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.0.30.tgz", @@ -2293,12 +2306,6 @@ "node": ">=8" } }, - "node_modules/@oclif/help/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/@oclif/help/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -2352,12 +2359,6 @@ "node": ">=8.0.0" } }, - "node_modules/@oclif/parser/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/@oclif/plugin-help": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.3.1.tgz", @@ -2529,12 +2530,6 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "node_modules/@oclif/plugin-not-found/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/@oclif/plugin-warn-if-update-available": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.1.1.tgz", @@ -2673,12 +2668,6 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/@oclif/test": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@oclif/test/-/test-4.1.0.tgz", @@ -5376,12 +5365,6 @@ "tslib": "^2.1.0" } }, - "node_modules/concurrently/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/concurrently/node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -5784,7 +5767,8 @@ "node_modules/dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==" + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "license": "MIT" }, "node_modules/deep-eql": { "version": "5.0.2", @@ -8881,14 +8865,12 @@ "dev": true }, "node_modules/graphql": { - "version": "14.7.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-14.7.0.tgz", - "integrity": "sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==", - "dependencies": { - "iterall": "^1.2.2" - }, + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.10.0.tgz", + "integrity": "sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==", + "license": "MIT", "engines": { - "node": ">= 6.x" + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } }, "node_modules/grouped-queue": { @@ -9891,11 +9873,6 @@ "tslib": "^2.1.0" } }, - "node_modules/inquirer/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==" - }, "node_modules/internal-slot": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", @@ -10633,7 +10610,9 @@ "node_modules/iterall": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz", - "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==" + "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==", + "license": "MIT", + "peer": true }, "node_modules/jackspeak": { "version": "3.4.3", @@ -13520,12 +13499,6 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "node_modules/oclif/node_modules/tslib": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", - "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -14283,14 +14256,15 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", + "license": "MIT", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -15164,6 +15138,12 @@ "npm": ">=2.0.0" } }, + "node_modules/rxjs/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "license": "0BSD" + }, "node_modules/safe-array-concat": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", @@ -17158,9 +17138,10 @@ } }, "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" }, "node_modules/tsutils": { "version": "3.21.0", @@ -17177,6 +17158,13 @@ "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true, + "license": "0BSD" + }, "node_modules/tuf-js": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz", diff --git a/package.json b/package.json index eceb559..0d53683 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "async": "^3.2.6", "dotenv": "^16.4.5", "fancy-test": "^3.0.16", - "graphql": "^14.7.0", + "graphql": "^16.8.1", "lodash": "^4.17.21", - "prettier": "^2.8.8", - "tslib": "^1.14.1" + "prettier": "^3.2.4", + "tslib": "^2.6.2" }, "devDependencies": { "@oclif/plugin-help": "^3.3.1", diff --git a/src/commands/tsgen.ts b/src/commands/tsgen.ts index 9e09891..d9f0765 100644 --- a/src/commands/tsgen.ts +++ b/src/commands/tsgen.ts @@ -1,22 +1,25 @@ -import {Command} from '@contentstack/cli-command' -import {flags} from '@contentstack/cli-utilities' -import * as path from 'path' -import * as fs from 'fs' -import {sanitizePath} from '../lib/helper' -import {generateTS, graphqlTS} from '@contentstack/types-generator' -import {StackConnectionConfig} from '../types' +import { Command } from "@contentstack/cli-command"; +import { flags } from "@contentstack/cli-utilities"; +import * as path from "path"; +import * as fs from "fs"; +import { sanitizePath } from "../lib/helper"; +import { generateTS, graphqlTS } from "@contentstack/types-generator"; +import { StackConnectionConfig } from "../types"; function createOutputPath(outputFile: string) { - const outputPath = path.resolve(sanitizePath(process.cwd()), sanitizePath(outputFile)) - const dirName = path.dirname(outputPath) + const outputPath = path.resolve( + sanitizePath(process.cwd()), + sanitizePath(outputFile), + ); + const dirName = path.dirname(outputPath); - fs.mkdirSync(dirName, {recursive: true}) + fs.mkdirSync(dirName, { recursive: true }); - return outputPath + return outputPath; } export default class TypeScriptCodeGeneratorCommand extends Command { - static description = 'Generate TypeScript typings from a Stack'; + static description = "Generate TypeScript typings from a Stack"; static examples = [ '$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts"', @@ -27,142 +30,132 @@ export default class TypeScriptCodeGeneratorCommand extends Command { ]; static flags: any = { - 'token-alias': flags.string({ - char: 'a', - description: '(mandatory) Delivery token alias.', + "token-alias": flags.string({ + char: "a", + description: "delivery token alias", hidden: false, multiple: false, required: true, }), output: flags.string({ - char: 'o', - description: '(mandatory) The full path to output.', + char: "o", + description: "full path to output", hidden: false, multiple: false, required: true, }), prefix: flags.string({ - char: 'p', - description: '(optional) Interface prefix, e.g., "I".', + char: "p", + description: 'interface prefix, e.g. "I"', hidden: false, multiple: false, - default: '', + default: "", required: false, }), doc: flags.boolean({ - char: 'd', - description: '(optional) Include documentation comments. By default, this flag is enabled.', + char: "d", + description: "include documentation comments", default: true, allowNo: true, }), branch: flags.string({ - description: '(optional) The name of the branch to be used.', + description: "branch", hidden: false, multiple: false, }), - 'include-system-fields': flags.boolean({ - description: '(optional) Include system fields in generated types.', + "include-system-fields": flags.boolean({ + description: "include system fields in generated types", default: false, }), - 'api-type': flags.string({ - default: 'rest', + "api-type": flags.string({ + default: "rest", multiple: false, - options: ['rest', 'graphql'], - description: '[optional] The API type to generate type definitions. Supported options: rest, graphql.', + options: ["rest", "graphql"], + description: + "[Optional] Please enter an API type to generate the type definitions.", }), namespace: flags.string({ - description: '[optional] The namespace for the GraphQL API type to organize the generated types.', + description: + "[Optional]Please enter a namespace for the GraphQL API type to organize the generated types.", }), }; async run() { try { - const {flags} = await this.parse(TypeScriptCodeGeneratorCommand) - - const token = this.getToken(flags['token-alias']) - const prefix = flags.prefix - const includeDocumentation = flags.doc - const filePath = flags.output - const branch = flags.branch - const includeSystemFields = flags['include-system-fields'] - const namespace = flags.namespace - - const outputPath = createOutputPath(filePath) - - if (token.type !== 'delivery') { - this.warn('Possibly using a management token. You may not be able to connect to your Stack. Please use a delivery token.') + const { flags } = await this.parse(TypeScriptCodeGeneratorCommand); + + const token = this.getToken(flags["token-alias"]); + const prefix = flags.prefix; + const includeDocumentation = flags.doc; + const filePath = flags.output; + const branch = flags.branch; + const includeSystemFields = flags["include-system-fields"]; + const namespace = flags.namespace; + + const outputPath = createOutputPath(filePath); + + if (token.type !== "delivery") { + this.warn( + "Possibly using a management token. You may not be able to connect to your Stack. Please use a delivery token.", + ); } if (!outputPath || !outputPath.trim()) { - this.error('Please provide an output path.', {exit: 2}) - } - - let region = '' - switch (this.region.name) { - case 'NA': - region = 'US' - break - case 'AZURE-NA': - region = 'AZURE_NA' - break - case 'AZURE-EU': - region = 'AZURE_EU' - break - case 'GCP-NA': - region = 'GCP_NA' - break - default: - region = this.region.name.toUpperCase() + this.error("Please provide an output path.", { exit: 2 }); } const config: StackConnectionConfig = { apiKey: token.apiKey, token: token.token, - region: region, - environment: token.environment || '', + region: + this.region.name === "NA" ? "us" : this.region.name.toLowerCase(), + environment: token.environment || "", branch: branch || undefined, - } + host: this.cdaHost, + }; // Generate the GraphQL schema TypeScript definitions - if (flags['api-type'] === 'graphql') { + if (flags["api-type"] === "graphql") { try { - const result = await graphqlTS({...config, namespace: namespace}) + const result = await graphqlTS({ ...config, namespace: namespace }); - fs.writeFileSync(outputPath, result) - this.log(`Successfully added the GraphQL schema type definitions to '${outputPath}'.`) + fs.writeFileSync(outputPath, result); + this.log( + `Successfully added the GraphQL schema type definitions to '${outputPath}'.`, + ); } catch (error: any) { - this.error(error.error_message, {exit: 1}) + this.error(error.error_message, { exit: 1 }); } } else { // Generate the Content Types TypeScript definitions try { const result = await generateTS({ ...config, - tokenType: 'delivery', + tokenType: "delivery", includeDocumentation: includeDocumentation, prefix, systemFields: includeSystemFields, - }) + }); - fs.writeFileSync(outputPath, result) + fs.writeFileSync(outputPath, result); // -- TODO : Add count support for the number of Content Types generated - this.log(`Successfully added the Content Types to '${outputPath}'.`) + this.log(`Successfully added the Content Types to '${outputPath}'.`); // this.log(`Wrote ${outputPath} Content Types to '${result.outputPath}'.`) } catch (error: any) { - this.error(error.error_message, {exit: 1}) + this.error(error.error_message, { exit: 1 }); } } } catch (error: any) { - this.error(error as any, {exit: 1}) + this.error(error as any, { exit: 1 }); } } } diff --git a/src/types/index.ts b/src/types/index.ts index a41a142..6d869b9 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -4,4 +4,5 @@ export type StackConnectionConfig = { region: any; environment: string; branch?: string | undefined; + host?: string; }; From 53b27f90ee8287a313a17cc9dcddf90433ad68b9 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Tue, 17 Dec 2024 15:30:15 +0530 Subject: [PATCH 11/19] updated test cases --- tests/integration/tsgen.integration.test.ts | 257 ++++++++++---------- 1 file changed, 133 insertions(+), 124 deletions(-) diff --git a/tests/integration/tsgen.integration.test.ts b/tests/integration/tsgen.integration.test.ts index cc246f4..b3545fc 100644 --- a/tests/integration/tsgen.integration.test.ts +++ b/tests/integration/tsgen.integration.test.ts @@ -1,4 +1,4 @@ -import { exec } from "child_process"; // Import 'exec' to run shell commands +const { spawnSync } = require("child_process"); import * as path from "path"; import * as dotenv from "dotenv"; import * as fs from "fs"; @@ -7,7 +7,6 @@ import * as fs from "fs"; dotenv.config({ path: path.resolve(__dirname, "../../.env") }); const outputFilePath = path.resolve(__dirname, "generated.d.ts"); // Define the path to store the generated TypeScript file - const tokenAlias = process.env.TOKEN_ALIAS; describe("Integration Test for tsgen command", () => { @@ -18,155 +17,165 @@ describe("Integration Test for tsgen command", () => { }); // Test case 1: Generate TypeScript types with default flags - it("should generate TypeScript types with the default flags", (done) => { - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}"`; - - exec(cmd, (error, stdout, stderr) => { - expect(error).toBeNull(); - expect(fs.existsSync(outputFilePath)).toBeTruthy(); + it("should generate TypeScript types with the default flags", () => { + const cmd = "csdx"; + const args = ["tsgen", "-a", tokenAlias, "-o", outputFilePath]; - const generatedContent = fs.readFileSync(outputFilePath, "utf8"); - expect(generatedContent).toContain("interface"); // Verify that TypeScript interface is present in output + const result = spawnSync(cmd, args, { encoding: "utf-8" }); - // Assert that multi-line documentation comments are present - expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block + expect(result.status).toBe(0); // Command should exit successfully + expect(fs.existsSync(outputFilePath)).toBeTruthy(); - done(); - }); + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + expect(generatedContent).toContain("interface"); // Verify TypeScript interface presence + expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Multi-line comment block check }); // Test case 2: Generate TypeScript types with a prefix applied - it("should generate TypeScript types with the prefix", (done) => { - const prefix = "I"; // Define a prefix for interface names - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" -p "${prefix}"`; - - exec(cmd, (error, stdout, stderr) => { - expect(error).toBeNull(); - const generatedContent = fs.readFileSync(outputFilePath, "utf8"); - - expect(generatedContent).toContain("interface"); // Check for interface presence - - // Check if all interfaces have the prefix - const allInterfacesWithPrefix = - generatedContent.match(/export interface \w+/g); - if (allInterfacesWithPrefix) { - allInterfacesWithPrefix.forEach((interfaceDecl) => { - expect( - interfaceDecl.startsWith(`export interface ${prefix}`) - ).toBeTruthy(); // Ensure each interface starts with the prefix - }); - } - - // Assert that multi-line documentation comments are present - expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block - - done(); - }); + it("should generate TypeScript types with the prefix", () => { + const prefix = "I"; + const cmd = "csdx"; + const args = [ + "tsgen", + "-a", + tokenAlias, + "-o", + outputFilePath, + "-p", + prefix, + ]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).toBe(0); + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + + expect(generatedContent).toContain("interface"); + const allInterfacesWithPrefix = + generatedContent.match(/export interface \w+/g); + if (allInterfacesWithPrefix) { + allInterfacesWithPrefix.forEach((interfaceDecl) => { + expect( + interfaceDecl.startsWith(`export interface ${prefix}`), + ).toBeTruthy(); + }); + } + + expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Multi-line comment block check }); // Test case 3: Generate TypeScript types without documentation comments - it("should generate TypeScript types without documentation", (done) => { - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --no-doc`; // Command with --no-doc flag + it("should generate TypeScript types without documentation", () => { + const cmd = "csdx"; + const args = ["tsgen", "-a", tokenAlias, "-o", outputFilePath, "--no-doc"]; - exec(cmd, (error, stdout, stderr) => { - expect(error).toBeNull(); - expect(fs.existsSync(outputFilePath)).toBeTruthy(); + const result = spawnSync(cmd, args, { encoding: "utf-8" }); - const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + expect(result.status).toBe(0); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); - // Assert that no multi-line documentation comments are present - expect(generatedContent).not.toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block - done(); - }); + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + expect(generatedContent).not.toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Ensure no multi-line comments }); // Test case 4: Generate TypeScript types with system fields - it("should generate TypeScript types with the system fields", (done) => { - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --include-system-fields`; - - exec(cmd, (error) => { - expect(error).toBeNull(); - expect(fs.existsSync(outputFilePath)).toBeTruthy(); - - const generatedContent = fs.readFileSync(outputFilePath, "utf8"); - - expect(generatedContent).toContain("export interface SystemFields"); - expect(generatedContent).toContain("extends SystemFields"); - - // Optional : Assert specific fields are present in the SystemFields interface - const systemFieldsPattern = /interface SystemFields\s*{([^}]*)}/; // Regex to find the SystemFields interface - const match = generatedContent.match(systemFieldsPattern); - expect(match).toBeTruthy(); // Ensure SystemFields interface exists - - // Assert that multi-line documentation comments are present - expect(generatedContent).toMatch(/\/\*\*.*\*\/\n\s*(export)/); // Look for multi-line comment block - - done(); - }); + it("should generate TypeScript types with the system fields", () => { + const cmd = "csdx"; + const args = [ + "tsgen", + "-a", + tokenAlias, + "-o", + outputFilePath, + "--include-system-fields", + ]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).toBe(0); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf8"); + expect(generatedContent).toContain("export interface SystemFields"); + expect(generatedContent).toContain("extends SystemFields"); }); // Test case 5: Handling of invalid token alias - it("should fail with an invalid token alias", (done) => { - const cmd = `csdx tsgen -a "invalid_alias" -o "${outputFilePath}"`; // Command with incorrect token alias - - exec(cmd, (error, stdout, stderr) => { - expect(error).not.toBeNull(); - expect(stderr).toContain("Error: No token found"); // Check error message - done(); - }); + it("should fail with an invalid token alias", () => { + const cmd = "csdx"; + const args = ["tsgen", "-a", "invalid_alias", "-o", outputFilePath]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).not.toBe(0); // Command should fail + expect(result.stderr).toContain("Error: No token found"); // Check error message }); // Test case 6: Generate TypeScript types for GraphQL API - it("should generate correct TypeScript for basic GraphQL response", (done) => { - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --api-type graphql`; - - exec(cmd, (error, stdout, stderr) => { - expect(error).toBeNull(); - expect(fs.existsSync(outputFilePath)).toBeTruthy(); - - const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); - - expect(generatedContent).toContain("interface IGraphQLResponseRoot"); - expect(generatedContent).toContain("interface IGraphQLResponseError"); - expect(generatedContent).toContain( - "interface IGraphQLResponseErrorLocation" - ); - expect(generatedContent).toContain("interface IQuery"); - done(); - }); + it("should generate correct TypeScript for basic GraphQL response", () => { + const cmd = "csdx"; + const args = [ + "tsgen", + "-a", + tokenAlias, + "-o", + outputFilePath, + "--api-type", + "graphql", + ]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).toBe(0); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); + expect(generatedContent).toContain("interface IGraphQLResponseRoot"); + expect(generatedContent).toContain("interface IGraphQLResponseError"); }); // Test case 7: Generate TypeScript types for GraphQL API with a custom namespace - it("should generate correct TypeScript for GraphQL API with a custom namespace", (done) => { - const namespace = "GraphQL"; // Define a custom namespace - const cmd = `csdx tsgen -a "${tokenAlias}" -o "${outputFilePath}" --api-type graphql --namespace "${namespace}"`; - - exec(cmd, (error, stdout, stderr) => { - expect(error).toBeNull(); - expect(fs.existsSync(outputFilePath)).toBeTruthy(); - - const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); - - expect(generatedContent).toContain(`declare namespace ${namespace}`); - expect(generatedContent).toContain("interface IGraphQLResponseRoot"); - expect(generatedContent).toContain("interface IGraphQLResponseError"); - expect(generatedContent).toContain( - "interface IGraphQLResponseErrorLocation" - ); - expect(generatedContent).toContain("interface IQuery"); - done(); - }); + it("should generate correct TypeScript for GraphQL API with a custom namespace", () => { + const namespace = "GraphQL"; + const cmd = "csdx"; + const args = [ + "tsgen", + "-a", + tokenAlias, + "-o", + outputFilePath, + "--api-type", + "graphql", + "--namespace", + namespace, + ]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).toBe(0); + expect(fs.existsSync(outputFilePath)).toBeTruthy(); + + const generatedContent = fs.readFileSync(outputFilePath, "utf-8"); + expect(generatedContent).toContain(`declare namespace ${namespace}`); }); // Test case 8: Handle errors for GraphQL API - it("should fail with an invalid token alias for GraphQL API", (done) => { - const cmd = `csdx tsgen -a "invalid_alias" -o "${outputFilePath}" --api-type graphql`; - - exec(cmd, (error, stdout, stderr) => { - expect(error).not.toBeNull(); - expect(stderr).toContain("Error: No token found"); // Check error message - done(); - }); + it("should fail with an invalid token alias for GraphQL API", () => { + const cmd = "csdx"; + const args = [ + "tsgen", + "-a", + "invalid_alias", + "-o", + outputFilePath, + "--api-type", + "graphql", + ]; + + const result = spawnSync(cmd, args, { encoding: "utf-8" }); + + expect(result.status).not.toBe(0); + expect(result.stderr).toContain("Error: No token found"); // Check error message }); afterEach(() => { From 04bce922baa8d5874ab070e22eb9cd2c5a2e0f70 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Tue, 17 Dec 2024 15:44:58 +0530 Subject: [PATCH 12/19] updated packages --- package-lock.json | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e8c0d56..67e14b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "3.0.1", "license": "MIT", "dependencies": { - "@contentstack/cli-command": "^1.3.1", - "@contentstack/cli-utilities": "^1.7.3", + "@contentstack/cli-command": "^1.3.2", + "@contentstack/cli-utilities": "^1.8.0", "@contentstack/types-generator": "^2.0.2", "async": "^3.2.6", "dotenv": "^16.4.5", diff --git a/package.json b/package.json index 0d53683..7222206 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "author": "Michael Davis", "bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues", "dependencies": { - "@contentstack/cli-command": "^1.3.1", - "@contentstack/cli-utilities": "^1.7.3", + "@contentstack/cli-command": "^1.3.2", + "@contentstack/cli-utilities": "^1.8.0", "@contentstack/types-generator": "^2.0.2", "async": "^3.2.6", "dotenv": "^16.4.5", From fb4dcb5628beaf8266b9ad4590c56ea7e771fc9f Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Mon, 23 Dec 2024 12:32:19 +0530 Subject: [PATCH 13/19] commented workflow for test case as further setup is required --- .github/workflows/node.js.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 58c95e8..4d9d107 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,25 +5,24 @@ name: Node.js CI on: push: - branches: [ master, development, staging ] + branches: [master, development, staging] pull_request: - branches: [ master, development, staging ] + branches: [master, development, staging] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x,20.x] + node-version: [18.x, 20.x] steps: - - uses: actions/checkout@v3.5.3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.7.0 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present - - run: npm test + - uses: actions/checkout@v3.5.3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3.7.0 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + # - run: npm test From c99e6a64d951c9d33932a732c785c91a445abf23 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Sat, 11 Jan 2025 12:24:13 +0530 Subject: [PATCH 14/19] updated type-gen package and license --- LICENSE | 2 +- package-lock.json | 73 ++++++++++++++++++++++++++++------------------- package.json | 2 +- 3 files changed, 46 insertions(+), 31 deletions(-) diff --git a/LICENSE b/LICENSE index ffb4ad0..25403cd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Contentstack +Copyright (c) 2025 Contentstack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package-lock.json b/package-lock.json index 67e14b4..31f96ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentstack/cli-command": "^1.3.2", "@contentstack/cli-utilities": "^1.8.0", - "@contentstack/types-generator": "^2.0.2", + "@contentstack/types-generator": "^2.0.3", "async": "^3.2.6", "dotenv": "^16.4.5", "fancy-test": "^3.0.16", @@ -712,28 +712,30 @@ } }, "node_modules/@contentstack/core": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@contentstack/core/-/core-1.1.2.tgz", - "integrity": "sha512-s4dswqt42ZbqLeaXNZlEAN8X8lJm2BTSIHNlSAuJUcsD8JadVDWVhdIBJLyPLhu1tRPN9CiwboRsMrTdC2KecA==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@contentstack/core/-/core-1.1.3.tgz", + "integrity": "sha512-0sbk7xte9JVlPfcgpfhxT9OZeGG0FgHnc7FABEWsBzKi41KSnDj7zFmkK7rVaORkeUM1elhKDmLqNDRYC1oCEw==", "dependencies": { - "axios": "^1.7.4", + "axios": "^1.7.7", "axios-mock-adapter": "^1.22.0", "lodash": "^4.17.21", "qs": "^6.13.0", - "tslib": "^2.6.3" + "tslib": "^2.8.0" } }, "node_modules/@contentstack/delivery-sdk": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.3.0.tgz", - "integrity": "sha512-N4hqG6UXKWO5WQyPwZVkJ3gANtnTYoAozIINkLlKu8m48GOUFihFF08Yilvr7smybT2dnoNbkCnlqI64iNPPQA==", + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.4.4.tgz", + "integrity": "sha512-61OX/rH+7RFGZlFLBHrJgB6AsmmgLyfZRrObe1SqNtjPy8SXuAyUOXt8tF+XOpA4baJA8Bgo6kcKGKyasxhTDA==", + "license": "MIT", "dependencies": { - "@contentstack/core": "^1.1.0", - "@contentstack/utils": "^1.3.8", + "@contentstack/core": "^1.1.3", + "@contentstack/utils": "^1.3.15", "@types/humps": "^2.0.6", - "axios": "^1.7.4", - "dotenv": "^16.3.1", - "humps": "^2.0.1" + "axios": "^1.7.9", + "dotenv": "^16.4.7", + "humps": "^2.0.1", + "path-browserify": "^1.0.1" } }, "node_modules/@contentstack/management": { @@ -759,13 +761,14 @@ } }, "node_modules/@contentstack/types-generator": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@contentstack/types-generator/-/types-generator-2.0.2.tgz", - "integrity": "sha512-0bVk1k1tckBFjvEssgi1w6TD2Q0lgugD5cxXUqldZKGo31H7ZIDQUMtYQG9TYf0v8+jPhrLTxrC2jNs4LHsOQA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@contentstack/types-generator/-/types-generator-2.0.3.tgz", + "integrity": "sha512-d7P6KqGpet/W7QwtLMvQ0hyuk79vpftYPZot3yVKJuYETTB/JdF78J2q//Y08sYEcu5DMoVtQ5koDBs9tIlBaA==", + "license": "MIT", "dependencies": { - "@contentstack/delivery-sdk": "^4.2.0", + "@contentstack/delivery-sdk": "^4.4.3", "@gql2ts/from-schema": "^2.0.0-4", - "axios": "^1.7.5", + "axios": "^1.7.8", "lodash": "^4.17.21", "prettier": "^3.3.3" } @@ -807,9 +810,10 @@ } }, "node_modules/@contentstack/utils": { - "version": "1.3.12", - "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.12.tgz", - "integrity": "sha512-5aTE13faSPPToGHkRwQF3bGanOaNH3nxWnSsPXWCnItIwsIqPVIwdR4cd0NyZpMTajv+IYrrIVAeibGEgAyQrg==" + "version": "1.3.15", + "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.15.tgz", + "integrity": "sha512-m/FNx8LwSquMWo+KQ+zyBALEQTeFuldpLkqTrWXPEtmkPMCNnrF3aLcYHmcpLs7B1nux3wPRD6njhMDUU57giQ==", + "license": "MIT" }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", @@ -3375,7 +3379,8 @@ "node_modules/@types/humps": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/humps/-/humps-2.0.6.tgz", - "integrity": "sha512-Fagm1/a/1J9gDKzGdtlPmmTN5eSw/aaTzHtj740oSfo+MODsSY2WglxMmhTdOglC8nxqUhGGQ+5HfVtBvxo3Kg==" + "integrity": "sha512-Fagm1/a/1J9gDKzGdtlPmmTN5eSw/aaTzHtj740oSfo+MODsSY2WglxMmhTdOglC8nxqUhGGQ+5HfVtBvxo3Kg==", + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", @@ -4137,9 +4142,10 @@ } }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -4150,6 +4156,7 @@ "version": "1.22.0", "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "is-buffer": "^2.0.5" @@ -6043,9 +6050,10 @@ } }, "node_modules/dotenv": { - "version": "16.4.5", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", - "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "license": "BSD-2-Clause", "engines": { "node": ">=12" }, @@ -10019,6 +10027,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "engines": { "node": ">=4" } @@ -13952,6 +13961,12 @@ "node": ">= 8" } }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "license": "MIT" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", diff --git a/package.json b/package.json index 7222206..d3ec297 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dependencies": { "@contentstack/cli-command": "^1.3.2", "@contentstack/cli-utilities": "^1.8.0", - "@contentstack/types-generator": "^2.0.2", + "@contentstack/types-generator": "^2.0.3", "async": "^3.2.6", "dotenv": "^16.4.5", "fancy-test": "^3.0.16", From cc522bb512eeb07a7cd3c65d35b7d09650948233 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Mon, 13 Jan 2025 17:02:46 +0530 Subject: [PATCH 15/19] updated package lock file --- package-lock.json | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 31f96ac..42ed0b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14794,42 +14794,6 @@ "integrity": "sha512-a2kMzcfr+ntT0bObNLY22EUNV6Z6WeZ+DybRmPOUXVWzGcqhRcrK74tpgrYt3FdzTlSh85pqoryAPmrNkwLc0g==", "optional": true }, - "node_modules/recheck-linux-x64": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/recheck-linux-x64/-/recheck-linux-x64-4.4.5.tgz", - "integrity": "sha512-s8OVPCpiSGw+tLCxH3eei7Zp2AoL22kXqLmEtWXi0AnYNwfuTjZmeLn2aQjW8qhs8ZPSkxS7uRIRTeZqR5Fv/Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/recheck-macos-x64": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/recheck-macos-x64/-/recheck-macos-x64-4.4.5.tgz", - "integrity": "sha512-Ouup9JwwoKCDclt3Na8+/W2pVbt8FRpzjkDuyM32qTR2TOid1NI+P1GA6/VQAKEOjvaxgGjxhcP/WqAjN+EULA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/recheck-windows-x64": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/recheck-windows-x64/-/recheck-windows-x64-4.4.5.tgz", - "integrity": "sha512-mkpzLHu9G9Ztjx8HssJh9k/Xm1d1d/4OoT7etHqFk+k1NGzISCRXBD22DqYF9w8+J4QEzTAoDf8icFt0IGhOEQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/rechoir": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", From 6e69a61a3e9529f82bd9efc692e7787256003a91 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Mon, 13 Jan 2025 18:10:34 +0530 Subject: [PATCH 16/19] updated package lock and json files --- package-lock.json | 95 ++++++++++++++++++++++++++++++----------------- package.json | 8 ++-- 2 files changed, 64 insertions(+), 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index 42ed0b7..d3ed679 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@contentstack/cli-utilities": "^1.8.0", "@contentstack/types-generator": "^2.0.3", "async": "^3.2.6", - "dotenv": "^16.4.5", + "dotenv": "^16.4.7", "fancy-test": "^3.0.16", "graphql": "^16.8.1", "lodash": "^4.17.21", @@ -26,10 +26,10 @@ "@types/async": "^3.2.24", "@types/chai": "^4.3.20", "@types/jest": "^26.0.24", - "@types/lodash": "^4.17.9", - "@types/mocha": "^10.0.8", + "@types/lodash": "^4.17.14", + "@types/mocha": "^10.0.10", "@types/node": "^10.17.60", - "chai": "^5.1.1", + "chai": "^5.1.2", "eslint": "^5.16.0", "eslint-config-oclif": "^3.1.2", "eslint-config-oclif-typescript": "^0.2.0", @@ -1099,18 +1099,34 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.1.tgz", - "integrity": "sha512-HFZ4Mp26nbWk9d/BpvP0YNL6W4UoZF0VFcTw/aPPA8RpOxeFQgK+ClABGgAUXs9Y/RGX/l1vOmrqz1MQt9MNuw==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", "dev": true, + "license": "Apache-2.0", "peer": true, "dependencies": { + "@eslint/core": "^0.10.0", "levn": "^0.4.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/plugin-kit/node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -3432,9 +3448,10 @@ } }, "node_modules/@types/lodash": { - "version": "4.17.12", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.12.tgz", - "integrity": "sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==" + "version": "4.17.14", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.14.tgz", + "integrity": "sha512-jsxagdikDiDBeIRaPYtArcT8my4tN1og7MtMRquFT3XNA6axxyHDRUemqDz/taRDdOUn0GnGHRCuff4q48sW9A==", + "license": "MIT" }, "node_modules/@types/minimatch": { "version": "5.1.2", @@ -3443,10 +3460,11 @@ "dev": true }, "node_modules/@types/mocha": { - "version": "10.0.9", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.9.tgz", - "integrity": "sha512-sicdRoWtYevwxjOHNMPTl3vSfJM6oyW8o1wXeI7uww6b6xHg8eBznQDNSGBCDJmsE8UMxP05JgZRtsKbTqt//Q==", - "dev": true + "version": "10.0.10", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz", + "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==", + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "10.17.60", @@ -5496,10 +5514,11 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, + "license": "MIT", "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", @@ -6641,10 +6660,11 @@ } }, "node_modules/eslint-config-oclif/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "peer": true, "dependencies": { "path-key": "^3.1.0", @@ -7836,10 +7856,11 @@ } }, "node_modules/execa/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -8410,10 +8431,11 @@ } }, "node_modules/foreground-child/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -13908,9 +13930,10 @@ } }, "node_modules/password-prompt/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -18520,10 +18543,11 @@ } }, "node_modules/yeoman-environment/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -19025,10 +19049,11 @@ } }, "node_modules/yeoman-generator/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", diff --git a/package.json b/package.json index d3ec297..506c550 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@contentstack/cli-utilities": "^1.8.0", "@contentstack/types-generator": "^2.0.3", "async": "^3.2.6", - "dotenv": "^16.4.5", + "dotenv": "^16.4.7", "fancy-test": "^3.0.16", "graphql": "^16.8.1", "lodash": "^4.17.21", @@ -22,10 +22,10 @@ "@types/async": "^3.2.24", "@types/chai": "^4.3.20", "@types/jest": "^26.0.24", - "@types/lodash": "^4.17.9", - "@types/mocha": "^10.0.8", + "@types/lodash": "^4.17.14", + "@types/mocha": "^10.0.10", "@types/node": "^10.17.60", - "chai": "^5.1.1", + "chai": "^5.1.2", "eslint": "^5.16.0", "eslint-config-oclif": "^3.1.2", "eslint-config-oclif-typescript": "^0.2.0", From f3a43498da468e40ad26056473299f84cb7bd353 Mon Sep 17 00:00:00 2001 From: Aravind Kumar Date: Wed, 15 Jan 2025 09:46:52 +0530 Subject: [PATCH 17/19] Update sca-scan.yml --- .github/workflows/sca-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sca-scan.yml b/.github/workflows/sca-scan.yml index f09161f..07f8c53 100644 --- a/.github/workflows/sca-scan.yml +++ b/.github/workflows/sca-scan.yml @@ -12,4 +12,4 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - args: --all-projects --fail-on=all + args: --all-projects --fail-on=all --strict-out-of-sync=true From ff5c37aaee3f3dee09efdcb02c1e243e200b3791 Mon Sep 17 00:00:00 2001 From: Aravind Kumar Date: Wed, 15 Jan 2025 09:47:46 +0530 Subject: [PATCH 18/19] Update sca-scan.yml --- .github/workflows/sca-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sca-scan.yml b/.github/workflows/sca-scan.yml index 07f8c53..22e7229 100644 --- a/.github/workflows/sca-scan.yml +++ b/.github/workflows/sca-scan.yml @@ -12,4 +12,4 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - args: --all-projects --fail-on=all --strict-out-of-sync=true + args: --all-projects --fail-on=all --strict-out-of-sync=false From dbbba9e66fcd75a604340a48838990c1ffc7b0e6 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Thu, 16 Jan 2025 13:28:24 +0530 Subject: [PATCH 19/19] update version 3.0.1 to 3.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 506c550..cef919e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "contentstack-cli-tsgen", "description": "Generate TypeScript typings from a Stack.", - "version": "3.0.1", + "version": "3.1.0", "author": "Michael Davis", "bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues", "dependencies": {