From ec88059eae40d0225e5e4fa0ac78459e908ae6e3 Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 22 Aug 2023 11:13:25 +1200 Subject: [PATCH 01/10] add functions for cosmos codegen --- packages/common-cosmos/package.json | 12 + .../src/codegen/codegen-controller.ts | 124 + .../common-cosmos/src/codegen/constants.ts | 68 + packages/common-cosmos/src/codegen/index.ts | 4 + .../codegen/templates/proto-interface.ts.ejs | 10 + packages/common-cosmos/src/index.ts | 1 + packages/common-cosmos/src/project/types.ts | 11 + .../node/src/configure/SubqueryProject.ts | 13 +- packages/node/src/indexer/api.service.ts | 6 +- packages/node/src/utils/project.ts | 18 +- yarn.lock | 2579 ++++++++++++++++- 11 files changed, 2763 insertions(+), 83 deletions(-) create mode 100644 packages/common-cosmos/src/codegen/codegen-controller.ts create mode 100644 packages/common-cosmos/src/codegen/constants.ts create mode 100644 packages/common-cosmos/src/codegen/index.ts create mode 100644 packages/common-cosmos/src/codegen/templates/proto-interface.ts.ejs diff --git a/packages/common-cosmos/package.json b/packages/common-cosmos/package.json index f5f864362..93acc73e6 100644 --- a/packages/common-cosmos/package.json +++ b/packages/common-cosmos/package.json @@ -13,9 +13,19 @@ "main": "dist/index.js", "license": "GPL-3.0", "dependencies": { + "@cosmology/telescope": "^0.104.0", + "@protobufs/cosmos": "^0.1.0", + "@protobufs/cosmos_proto": "^0.0.10", + "@protobufs/cosmwasm": "^0.1.1", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10", + "@protobufs/ibc": "^0.1.0", + "@protobufs/tendermint": "^0.0.10", "@subql/common": "^2.4.0", "@subql/types-cosmos": "workspace:*", + "fs-extra": "^11.1.1", "js-yaml": "^4.1.0", + "protobufjs": "^7.2.4", "reflect-metadata": "^0.1.13" }, "peerDependencies": { @@ -24,6 +34,8 @@ }, "devDependencies": { "@types/bn.js": "4.11.6", + "@types/ejs": "^3.1.2", + "@types/fs-extra": "^11", "@types/js-yaml": "^4.0.4", "@types/pino": "^6.3.12" } diff --git a/packages/common-cosmos/src/codegen/codegen-controller.ts b/packages/common-cosmos/src/codegen/codegen-controller.ts new file mode 100644 index 000000000..d333af362 --- /dev/null +++ b/packages/common-cosmos/src/codegen/codegen-controller.ts @@ -0,0 +1,124 @@ +// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// SPDX-License-Identifier: GPL-3.0 + +import fs from 'fs'; +import path from 'path'; +import telescope from '@cosmology/telescope'; +import {makeTempDir} from '@subql/common'; +import {Data} from 'ejs'; +import {copySync} from 'fs-extra'; +import {CosmosChainType} from '../project'; +import {TELESCOPE_OPTS} from './constants'; + +const PROTO_INTERFACES_ROOT_DIR = 'src/types/proto-interfaces'; +const PROTO_INTERFACE_TEMPLATE_PATH = path.resolve(__dirname, './templates/proto-interface.ts.ejs'); +const TYPE_ROOT_DIR = 'src/types'; + +interface ProtobufRenderProps { + messageNames: string[]; // all messages + path: string; // should process the file Path and concat with PROTO dir +} + +export function processProtoFilePath(path: string): string { + // removes `./proto` and `.proto` suffix, converts all `.` to `/` + // should be able to accept more paths, not just from `proto directory` + return `./proto-interfaces/${path.replace(/^\.\/proto\/|\.proto$/g, '').replace(/\./g, '/')}`; +} + +export function isProtoPath(filePath: string, projectPath: string): boolean { + // check if the protobuf files are under ./proto directory + return !!path.join(projectPath, filePath).startsWith(path.join(projectPath, './proto/')); +} + +export function prepareProtobufRenderProps( + chainTypes: Map[], + projectPath: string +): ProtobufRenderProps[] { + return chainTypes.flatMap((chainType) => { + return Object.entries(chainType).map(([key, value]) => { + const filePath = path.join(projectPath, value.file); + if (!fs.existsSync(filePath)) { + throw new Error(`Error: chainType ${key}, file ${value.file} does not exist`); + } + if (!isProtoPath(value.file, projectPath)) { + console.error( + `Codegen will not apply for this file: ${value.file} Please ensure it is under the ./proto directory` + ); + } + return { + messageNames: value.messages, + path: processProtoFilePath(value.file), + }; + }); + }); +} + +export async function tempProtoDir(projectPath: string): Promise { + const tmpDir = await makeTempDir(); + const tmpProtoDir = path.join(tmpDir, './proto/'); + if (fs.existsSync(tmpDir)) { + fs.rmSync(tmpDir, {recursive: true, force: true}); + } + const userProto = path.join(projectPath, './proto'); + const commonProtos = [ + require('@protobufs/amino'), + require('@protobufs/confio'), + require('@protobufs/cosmos'), + require('@protobufs/cosmos_proto'), + require('@protobufs/gogoproto'), + require('@protobufs/google'), + require('@protobufs/ibc'), + require('@protobufs/tendermint'), + ]; + + commonProtos.forEach((p) => { + // ensure output format is a dir + copySync(p, path.join(tmpProtoDir, `${p.replace(path.dirname(p), '')}`)); + }); + + copySync(userProto, tmpProtoDir, {overwrite: true}); + return tmpProtoDir; +} + +export async function generateProto( + chainTypes: Map[], + projectPath: string, + prepareDirPath: (path: string, recreate: boolean) => Promise, + renderTemplate: (templatePath: string, outputPath: string, templateData: Data) => Promise, + upperFirst: (string?: string) => string, + mkdirProto: (projectPath: string) => Promise +): Promise { + let tmpPath: string; + try { + tmpPath = await mkdirProto(projectPath); + const protobufRenderProps = prepareProtobufRenderProps(chainTypes, projectPath); + const outputPath = path.join(projectPath, PROTO_INTERFACES_ROOT_DIR); + await prepareDirPath(path.join(projectPath, PROTO_INTERFACES_ROOT_DIR), true); + + await telescope({ + protoDirs: [tmpPath], + outPath: outputPath, + options: TELESCOPE_OPTS, + }); + console.log('* Protobuf types generated !'); + + await renderTemplate( + PROTO_INTERFACE_TEMPLATE_PATH, + path.join(projectPath, TYPE_ROOT_DIR, 'CosmosMessageTypes.ts'), + { + props: {proto: protobufRenderProps}, + helper: {upperFirst}, + } + ); + console.log('* Cosmos message wrappers generated !'); + } catch (e: any) { + const errorMessage = e.message.startsWith('Dependency') + ? `Please add the missing protobuf file to ./proto directory` + : ''; + throw new Error(`Failed to generate from protobufs. ${e.message}, ${errorMessage}`); + } finally { + if (fs.existsSync(tmpPath)) { + fs.rmSync(tmpPath, {recursive: true, force: true}); + } + } +} diff --git a/packages/common-cosmos/src/codegen/constants.ts b/packages/common-cosmos/src/codegen/constants.ts new file mode 100644 index 000000000..98a423069 --- /dev/null +++ b/packages/common-cosmos/src/codegen/constants.ts @@ -0,0 +1,68 @@ +// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// SPDX-License-Identifier: GPL-3.0 + +import {TelescopeOptions} from '@cosmology/types/types/telescope'; + +export const TELESCOPE_OPTS: TelescopeOptions = { + removeUnusedImports: true, + tsDisable: { + patterns: ['**/*amino.ts', '**/*registry.ts'], + }, + // experimentalGlobalProtoNamespace: true, // [ 'v1beta1' ] concentratedliquidity + interfaces: { + enabled: true, + useUnionTypes: false, + }, + prototypes: { + enabled: false, + addTypeUrlToDecoders: true, + addTypeUrlToObjects: true, + excluded: { + packages: [ + 'amino', + 'gogoproto', + // 'google.api', + // 'ibc.core.port.v1', + // 'ibc.core.types.v1', + ], + }, + methods: { + fromJSON: false, + toJSON: false, + + encode: false, + decode: false, + fromPartial: false, + + toSDK: false, + fromSDK: false, + + toAmino: false, + fromAmino: false, + fromProto: false, + toProto: false, + }, + parser: { + keepCase: false, + }, + typingsFormat: { + duration: 'duration', + timestamp: 'date', + useExact: false, + useDeepPartial: false, + }, + }, + aminoEncoding: { + enabled: false, + exceptions: {}, + useRecursiveV2encoding: true, + }, + lcdClients: { + enabled: false, + }, + rpcClients: { + // unsure if needed + enabled: false, + camelCase: true, + }, +}; diff --git a/packages/common-cosmos/src/codegen/index.ts b/packages/common-cosmos/src/codegen/index.ts new file mode 100644 index 000000000..19fa4750a --- /dev/null +++ b/packages/common-cosmos/src/codegen/index.ts @@ -0,0 +1,4 @@ +// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// SPDX-License-Identifier: GPL-3.0 + +export * from './codegen-controller'; diff --git a/packages/common-cosmos/src/codegen/templates/proto-interface.ts.ejs b/packages/common-cosmos/src/codegen/templates/proto-interface.ts.ejs new file mode 100644 index 000000000..0658dcc94 --- /dev/null +++ b/packages/common-cosmos/src/codegen/templates/proto-interface.ts.ejs @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: Apache-2.0 + +// Auto-generated , DO NOT EDIT +import {CosmosMessage} from "@subql/types-cosmos"; +<% props.proto.forEach(function(proto) { %> +import {<% proto.messageNames.forEach(function(msg, index) { %><%= helper.upperFirst(msg) %><% if (index < proto.messageNames.length - 1) { %>,<% } %><% }); %>} from "<%= proto.path %>"; +<% }); %> +<% props.proto.forEach(function(proto) { %><% proto.messageNames.forEach(function(msg) { %> +export type <%= helper.upperFirst(msg) %>Message = CosmosMessage<<%= helper.upperFirst(msg) %>>;<% }); %> +<% }); %> \ No newline at end of file diff --git a/packages/common-cosmos/src/index.ts b/packages/common-cosmos/src/index.ts index 97f0d4d08..5bd3fc166 100644 --- a/packages/common-cosmos/src/index.ts +++ b/packages/common-cosmos/src/index.ts @@ -1,4 +1,5 @@ // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 +export * from './codegen'; export * from './project'; diff --git a/packages/common-cosmos/src/project/types.ts b/packages/common-cosmos/src/project/types.ts index 50e498fd7..cba5868c7 100644 --- a/packages/common-cosmos/src/project/types.ts +++ b/packages/common-cosmos/src/project/types.ts @@ -3,6 +3,7 @@ import {IProjectManifest, ProjectNetworkConfig} from '@subql/common'; import {SubqlCosmosDatasource, CustomModule} from '@subql/types-cosmos'; +import {Root} from 'protobufjs'; // All of these used to be redefined in this file, re-exporting for simplicity export { @@ -27,3 +28,13 @@ export interface CosmosProjectNetworkConfig extends ProjectNetworkConfig { chainId?: string; bypassBlocks?: (number | string)[]; } + +export type CosmosChainType = CustomModule & { + proto: Root; + packageName?: string; +}; + +export type CosmosProjectNetConfig = CosmosProjectNetworkConfig & { + chainId: string; + chainTypes: Map & {protoRoot: protobuf.Root}; +}; diff --git a/packages/node/src/configure/SubqueryProject.ts b/packages/node/src/configure/SubqueryProject.ts index f605e4143..4fb13599f 100644 --- a/packages/node/src/configure/SubqueryProject.ts +++ b/packages/node/src/configure/SubqueryProject.ts @@ -15,28 +15,17 @@ import { isCustomCosmosDs, } from '@subql/common-cosmos'; import { getProjectRoot, updateDataSourcesV1_0_0 } from '@subql/node-core'; -import { CustomModule, SubqlCosmosHandlerKind } from '@subql/types-cosmos'; +import { SubqlCosmosHandlerKind } from '@subql/types-cosmos'; import { buildSchemaFromString } from '@subql/utils'; import Cron from 'cron-converter'; import { GraphQLSchema } from 'graphql'; -import * as protobuf from 'protobufjs'; import { CosmosClient } from '../indexer/api.service'; import { processNetworkConfig } from '../utils/project'; -export type CosmosChainType = CustomModule & { - proto: protobuf.Root; - packageName?: string; -}; - export type SubqlProjectDs = SubqlCosmosDataSource & { mapping: SubqlCosmosDataSource['mapping'] & { entryScript: string }; }; -export type CosmosProjectNetConfig = CosmosProjectNetworkConfig & { - chainId: string; - chainTypes: Map & { protoRoot: protobuf.Root }; -}; - export type SubqlProjectBlockFilter = CosmosBlockFilter & { cronSchedule?: { schedule: Cron.Seeker; diff --git a/packages/node/src/indexer/api.service.ts b/packages/node/src/indexer/api.service.ts index 02da52e6f..dc1ad920c 100644 --- a/packages/node/src/indexer/api.service.ts +++ b/packages/node/src/indexer/api.service.ts @@ -17,6 +17,7 @@ import { BlockResultsResponse, } from '@cosmjs/tendermint-rpc/build/tendermint37/responses'; import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; +import { CosmosProjectNetConfig } from '@subql/common-cosmos'; import { getLogger, NetworkMetadataPayload, @@ -32,10 +33,7 @@ import { MsgStoreCode, MsgUpdateAdmin, } from 'cosmjs-types/cosmwasm/wasm/v1/tx'; -import { - CosmosProjectNetConfig, - SubqueryProject, -} from '../configure/SubqueryProject'; +import { SubqueryProject } from '../configure/SubqueryProject'; import * as CosmosUtil from '../utils/cosmos'; import { CosmosClientConnection } from './cosmosClient.connection'; import { BlockContent } from './types'; diff --git a/packages/node/src/utils/project.ts b/packages/node/src/utils/project.ts index d982ba708..0829a767f 100644 --- a/packages/node/src/utils/project.ts +++ b/packages/node/src/utils/project.ts @@ -1,28 +1,16 @@ // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 -import fs from 'fs'; -import path from 'path'; -import { LocalReader, Reader } from '@subql/common'; +import { Reader } from '@subql/common'; import { - isCustomCosmosDs, SubqlCosmosRuntimeHandler, SubqlCosmosCustomHandler, SubqlCosmosHandler, SubqlCosmosHandlerKind, + CosmosProjectNetConfig, + CosmosChainType, } from '@subql/common-cosmos'; -import { - loadDataSourceScript, - updateDataSourcesEntry, - updateProcessor, -} from '@subql/node-core'; -import { SubqlCosmosDatasource } from '@subql/types-cosmos'; import * as protobuf from 'protobufjs'; -import { - SubqlProjectDs, - CosmosChainType, - CosmosProjectNetConfig, -} from '../configure/SubqueryProject'; export function isBaseHandler( handler: SubqlCosmosHandler, diff --git a/yarn.lock b/yarn.lock index 183c7d096..925121151 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,7 +24,7 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.0": +"@ampproject/remapping@npm:^2.1.0, @ampproject/remapping@npm:^2.2.0": version: 2.2.1 resolution: "@ampproject/remapping@npm:2.2.1" dependencies: @@ -139,6 +139,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.22.10, @babel/code-frame@npm:^7.22.5": + version: 7.22.10 + resolution: "@babel/code-frame@npm:7.22.10" + dependencies: + "@babel/highlight": ^7.22.10 + chalk: ^2.4.2 + checksum: 89a06534ad19759da6203a71bad120b1d7b2ddc016c8e07d4c56b35dea25e7396c6da60a754e8532a86733092b131ae7f661dbe6ba5d165ea777555daa2ed3c9 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.21.5": version: 7.21.9 resolution: "@babel/compat-data@npm:7.21.9" @@ -146,6 +156,59 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.18.8, @babel/compat-data@npm:^7.21.4, @babel/compat-data@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/compat-data@npm:7.22.9" + checksum: bed77d9044ce948b4327b30dd0de0779fa9f3a7ed1f2d31638714ed00229fa71fc4d1617ae0eb1fad419338d3658d0e9a5a083297451e09e73e078d0347ff808 + languageName: node + linkType: hard + +"@babel/core@npm:7.18.10": + version: 7.18.10 + resolution: "@babel/core@npm:7.18.10" + dependencies: + "@ampproject/remapping": ^2.1.0 + "@babel/code-frame": ^7.18.6 + "@babel/generator": ^7.18.10 + "@babel/helper-compilation-targets": ^7.18.9 + "@babel/helper-module-transforms": ^7.18.9 + "@babel/helpers": ^7.18.9 + "@babel/parser": ^7.18.10 + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.18.10 + "@babel/types": ^7.18.10 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.1 + semver: ^6.3.0 + checksum: 3a3fcd878430a9e1cb165f755c89fff45acc4efe4dd3a2ba356e89af331cb1947886b9782d56902a49af19ba3c24f08cf638a632699b9c5a4d8305c57c6a150d + languageName: node + linkType: hard + +"@babel/core@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/core@npm:7.21.4" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 + "@babel/helper-compilation-targets": ^7.21.4 + "@babel/helper-module-transforms": ^7.21.2 + "@babel/helpers": ^7.21.0 + "@babel/parser": ^7.21.4 + "@babel/template": ^7.20.7 + "@babel/traverse": ^7.21.4 + "@babel/types": ^7.21.4 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.2 + semver: ^6.3.0 + checksum: a3beebb2cc79908a02f27a07dc381bcb34e8ecc58fa99f568ad0934c49e12111fc977ee9c5b51eb7ea2da66f63155d37c4dd96b6472eaeecfc35843ccb56bf3d + languageName: node + linkType: hard + "@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0": version: 7.21.8 resolution: "@babel/core@npm:7.21.8" @@ -169,6 +232,64 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:^7.11.6": + version: 7.22.10 + resolution: "@babel/core@npm:7.22.10" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.22.10 + "@babel/generator": ^7.22.10 + "@babel/helper-compilation-targets": ^7.22.10 + "@babel/helper-module-transforms": ^7.22.9 + "@babel/helpers": ^7.22.10 + "@babel/parser": ^7.22.10 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.10 + "@babel/types": ^7.22.10 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.2 + semver: ^6.3.1 + checksum: cc4efa09209fe1f733cf512e9e4bb50870b191ab2dee8014e34cd6e731f204e48476cc53b4bbd0825d4d342304d577ae43ff5fd8ab3896080673c343321acb32 + languageName: node + linkType: hard + +"@babel/generator@npm:7.18.12": + version: 7.18.12 + resolution: "@babel/generator@npm:7.18.12" + dependencies: + "@babel/types": ^7.18.10 + "@jridgewell/gen-mapping": ^0.3.2 + jsesc: ^2.5.1 + checksum: 07dd71d255144bb703a80ab0156c35d64172ce81ddfb70ff24e2be687b052080233840c9a28d92fa2c33f7ecb8a8b30aef03b807518afc53b74c7908bf8859b1 + languageName: node + linkType: hard + +"@babel/generator@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/generator@npm:7.21.4" + dependencies: + "@babel/types": ^7.21.4 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: 9ffbb526a53bb8469b5402f7b5feac93809b09b2a9f82fcbfcdc5916268a65dae746a1f2479e03ba4fb0776facd7c892191f63baa61ab69b2cfdb24f7b92424d + languageName: node + linkType: hard + +"@babel/generator@npm:^7.18.10, @babel/generator@npm:^7.21.4, @babel/generator@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/generator@npm:7.22.10" + dependencies: + "@babel/types": ^7.22.10 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: 59a79730abdff9070692834bd3af179e7a9413fa2ff7f83dff3eb888765aeaeb2bfc7b0238a49613ed56e1af05956eff303cc139f2407eda8df974813e486074 + languageName: node + linkType: hard + "@babel/generator@npm:^7.21.5, @babel/generator@npm:^7.7.2": version: 7.21.9 resolution: "@babel/generator@npm:7.21.9" @@ -190,6 +311,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-annotate-as-pure@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 53da330f1835c46f26b7bf4da31f7a496dee9fd8696cca12366b94ba19d97421ce519a74a837f687749318f94d1a37f8d1abcbf35e8ed22c32d16373b2f6198d + languageName: node + linkType: hard + "@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.18.6": version: 7.21.5 resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.21.5" @@ -214,6 +344,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.21.4, @babel/helper-compilation-targets@npm:^7.22.10, @babel/helper-compilation-targets@npm:^7.22.6": + version: 7.22.10 + resolution: "@babel/helper-compilation-targets@npm:7.22.10" + dependencies: + "@babel/compat-data": ^7.22.9 + "@babel/helper-validator-option": ^7.22.5 + browserslist: ^4.21.9 + lru-cache: ^5.1.1 + semver: ^6.3.1 + checksum: f6f1896816392bcff671bbe6e277307729aee53befb4a66ea126e2a91eda78d819a70d06fa384c74ef46c1595544b94dca50bef6c78438d9ffd31776dafbd435 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.21.0": version: 7.21.8 resolution: "@babel/helper-create-class-features-plugin@npm:7.21.8" @@ -233,6 +376,25 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-class-features-plugin@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/helper-create-class-features-plugin@npm:7.22.10" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-member-expression-to-functions": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + "@babel/helper-replace-supers": ^7.22.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 9683edbf73889abce183b06eac29524448aaab1dba7bdccdd6c26cf03e5ade3903b581b4d681da88fbff824fa117b840cc945bebf7db3c1f8c745f3c5a8a2595 + languageName: node + linkType: hard + "@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.20.5": version: 7.21.8 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.21.8" @@ -246,7 +408,20 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.3.3": +"@babel/helper-create-regexp-features-plugin@npm:^7.22.5": + version: 7.22.9 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.22.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + regexpu-core: ^5.3.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 87cb48a7ee898ab205374274364c3adc70b87b08c7bd07f51019ae4562c0170d7148e654d591f825dee14b5fe11666a0e7966872dfdbfa0d1b94b861ecf0e4e1 + languageName: node + linkType: hard + +"@babel/helper-define-polyfill-provider@npm:^0.3.2, @babel/helper-define-polyfill-provider@npm:^0.3.3": version: 0.3.3 resolution: "@babel/helper-define-polyfill-provider@npm:0.3.3" dependencies: @@ -269,6 +444,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-environment-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-environment-visitor@npm:7.22.5" + checksum: 248532077d732a34cd0844eb7b078ff917c3a8ec81a7f133593f71a860a582f05b60f818dc5049c2212e5baa12289c27889a4b81d56ef409b4863db49646c4b1 + languageName: node + linkType: hard + "@babel/helper-function-name@npm:^7.18.9, @babel/helper-function-name@npm:^7.19.0, @babel/helper-function-name@npm:^7.21.0": version: 7.21.0 resolution: "@babel/helper-function-name@npm:7.21.0" @@ -279,6 +461,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-function-name@npm:7.22.5" + dependencies: + "@babel/template": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: 6b1f6ce1b1f4e513bf2c8385a557ea0dd7fa37971b9002ad19268ca4384bbe90c09681fe4c076013f33deabc63a53b341ed91e792de741b4b35e01c00238177a + languageName: node + linkType: hard + "@babel/helper-hoist-variables@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-hoist-variables@npm:7.18.6" @@ -288,6 +480,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-hoist-variables@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-hoist-variables@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 394ca191b4ac908a76e7c50ab52102669efe3a1c277033e49467913c7ed6f7c64d7eacbeabf3bed39ea1f41731e22993f763b1edce0f74ff8563fd1f380d92cc + languageName: node + linkType: hard + "@babel/helper-member-expression-to-functions@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-member-expression-to-functions@npm:7.21.5" @@ -297,6 +498,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-member-expression-to-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-member-expression-to-functions@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 4bd5791529c280c00743e8bdc669ef0d4cd1620d6e3d35e0d42b862f8262bc2364973e5968007f960780344c539a4b9cf92ab41f5b4f94560a9620f536de2a39 + languageName: node + linkType: hard + "@babel/helper-module-imports@npm:^7.18.6, @babel/helper-module-imports@npm:^7.21.4": version: 7.21.4 resolution: "@babel/helper-module-imports@npm:7.21.4" @@ -306,6 +516,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-imports@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 9ac2b0404fa38b80bdf2653fbeaf8e8a43ccb41bd505f9741d820ed95d3c4e037c62a1bcdcb6c9527d7798d2e595924c4d025daed73283badc180ada2c9c49ad + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.20.11, @babel/helper-module-transforms@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-module-transforms@npm:7.21.5" @@ -322,6 +541,21 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.18.9, @babel/helper-module-transforms@npm:^7.21.2, @babel/helper-module-transforms@npm:^7.22.5, @babel/helper-module-transforms@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/helper-module-transforms@npm:7.22.9" + dependencies: + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-simple-access": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/helper-validator-identifier": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 2751f77660518cf4ff027514d6f4794f04598c6393be7b04b8e46c6e21606e11c19f3f57ab6129a9c21bacdf8b3ffe3af87bb401d972f34af2d0ffde02ac3001 + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-optimise-call-expression@npm:7.18.6" @@ -331,6 +565,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-optimise-call-expression@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-optimise-call-expression@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: c70ef6cc6b6ed32eeeec4482127e8be5451d0e5282d5495d5d569d39eb04d7f1d66ec99b327f45d1d5842a9ad8c22d48567e93fc502003a47de78d122e355f7c + languageName: node + linkType: hard + "@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.21.5, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": version: 7.21.5 resolution: "@babel/helper-plugin-utils@npm:7.21.5" @@ -338,6 +581,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-plugin-utils@npm:7.22.5" + checksum: c0fc7227076b6041acd2f0e818145d2e8c41968cc52fb5ca70eed48e21b8fe6dd88a0a91cbddf4951e33647336eb5ae184747ca706817ca3bef5e9e905151ff5 + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.18.9": version: 7.18.9 resolution: "@babel/helper-remap-async-to-generator@npm:7.18.9" @@ -352,6 +602,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-remap-async-to-generator@npm:^7.22.5": + version: 7.22.9 + resolution: "@babel/helper-remap-async-to-generator@npm:7.22.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-wrap-function": ^7.22.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 05538079447829b13512157491cc77f9cf1ea7e1680e15cff0682c3ed9ee162de0c4862ece20a6d6b2df28177a1520bcfe45993fbeccf2747a81795a7c3f6290 + languageName: node + linkType: hard + "@babel/helper-replace-supers@npm:^7.18.6, @babel/helper-replace-supers@npm:^7.20.7, @babel/helper-replace-supers@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-replace-supers@npm:7.21.5" @@ -366,6 +629,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-replace-supers@npm:^7.22.5, @babel/helper-replace-supers@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/helper-replace-supers@npm:7.22.9" + dependencies: + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-member-expression-to-functions": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: d41471f56ff2616459d35a5df1900d5f0756ae78b1027040365325ef332d66e08e3be02a9489756d870887585ff222403a228546e93dd7019e19e59c0c0fe586 + languageName: node + linkType: hard + "@babel/helper-simple-access@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-simple-access@npm:7.21.5" @@ -375,6 +651,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-simple-access@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: fe9686714caf7d70aedb46c3cce090f8b915b206e09225f1e4dbc416786c2fdbbee40b38b23c268b7ccef749dd2db35f255338fb4f2444429874d900dede5ad2 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.20.0": version: 7.20.0 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.20.0" @@ -384,6 +669,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 1012ef2295eb12dc073f2b9edf3425661e9b8432a3387e62a8bc27c42963f1f216ab3124228015c748770b2257b4f1fda882ca8fa34c0bf485e929ae5bc45244 + languageName: node + linkType: hard + "@babel/helper-split-export-declaration@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-split-export-declaration@npm:7.18.6" @@ -393,6 +687,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-split-export-declaration@npm:^7.22.6": + version: 7.22.6 + resolution: "@babel/helper-split-export-declaration@npm:7.22.6" + dependencies: + "@babel/types": ^7.22.5 + checksum: e141cace583b19d9195f9c2b8e17a3ae913b7ee9b8120246d0f9ca349ca6f03cb2c001fd5ec57488c544347c0bb584afec66c936511e447fd20a360e591ac921 + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.18.10, @babel/helper-string-parser@npm:^7.19.4, @babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 836851ca5ec813077bbb303acc992d75a360267aa3b5de7134d220411c852a6f17de7c0d0b8c8dcc0f567f67874c00f4528672b2a4f1bc978a3ada64c8c78467 + languageName: node + linkType: hard + "@babel/helper-string-parser@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-string-parser@npm:7.21.5" @@ -407,6 +717,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-identifier@npm:7.22.5" + checksum: 7f0f30113474a28298c12161763b49de5018732290ca4de13cdaefd4fd0d635a6fe3f6686c37a02905fb1e64f21a5ee2b55140cf7b070e729f1bd66866506aea + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.18.6, @babel/helper-validator-option@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-option@npm:7.22.5" + checksum: bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.21.0": version: 7.21.0 resolution: "@babel/helper-validator-option@npm:7.21.0" @@ -426,6 +750,28 @@ __metadata: languageName: node linkType: hard +"@babel/helper-wrap-function@npm:^7.22.9": + version: 7.22.10 + resolution: "@babel/helper-wrap-function@npm:7.22.10" + dependencies: + "@babel/helper-function-name": ^7.22.5 + "@babel/template": ^7.22.5 + "@babel/types": ^7.22.10 + checksum: 854bd85fc1de1d4c633f04aa1f5b6b022fbc013b47d012b6a11a7a9125a1f4a2a4f13a3e0d7a7056fe7eda8a9ecd1ea3daf8af685685a2d1b16578768cfdd28f + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.18.9, @babel/helpers@npm:^7.21.0, @babel/helpers@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/helpers@npm:7.22.10" + dependencies: + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.10 + "@babel/types": ^7.22.10 + checksum: 3b1219e362df390b6c5d94b75a53fc1c2eb42927ced0b8022d6a29b833a839696206b9bdad45b4805d05591df49fc16b6fb7db758c9c2ecfe99e3e94cb13020f + languageName: node + linkType: hard + "@babel/helpers@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helpers@npm:7.21.5" @@ -448,6 +794,26 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/highlight@npm:7.22.10" + dependencies: + "@babel/helper-validator-identifier": ^7.22.5 + chalk: ^2.4.2 + js-tokens: ^4.0.0 + checksum: f714a1e1a72dd9d72f6383f4f30fd342e21a8df32d984a4ea8f5eab691bb6ba6db2f8823d4b4cf135d98869e7a98925b81306aa32ee3c429f8cfa52c75889e1b + languageName: node + linkType: hard + +"@babel/parser@npm:7.18.11": + version: 7.18.11 + resolution: "@babel/parser@npm:7.18.11" + bin: + parser: ./bin/babel-parser.js + checksum: 5ecc75b83e62ec53a947b1635a6ca75d6210d4a4f962f9f16f4239a6783f98e57f9662b598fa2fb1b8e12c0ad5c2bd86846ed0b97b85eb73dd7498b3a6d71a4b + languageName: node + linkType: hard + "@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.5, @babel/parser@npm:^7.21.8, @babel/parser@npm:^7.21.9": version: 7.21.9 resolution: "@babel/parser@npm:7.21.9" @@ -457,6 +823,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.18.10, @babel/parser@npm:^7.18.11, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.22.10, @babel/parser@npm:^7.22.5": + version: 7.22.10 + resolution: "@babel/parser@npm:7.22.10" + bin: + parser: ./bin/babel-parser.js + checksum: af51567b7d3cdf523bc608eae057397486c7fa6c2e5753027c01fe5c36f0767b2d01ce3049b222841326cc5b8c7fda1d810ac1a01af0a97bb04679e2ef9f7049 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.18.6" @@ -468,6 +843,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.18.9": + version: 7.22.5 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/plugin-transform-optional-chaining": ^7.22.5 + peerDependencies: + "@babel/core": ^7.13.0 + checksum: 16e7a5f3bf2f2ac0ca032a70bf0ebd7e886d84dbb712b55c0643c04c495f0f221fbcbca14b5f8f8027fa6c87a3dafae0934022ad2b409384af6c5c356495b7bd + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.20.7" @@ -481,7 +869,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-async-generator-functions@npm:^7.20.7": +"@babel/plugin-proposal-async-generator-functions@npm:^7.18.10, @babel/plugin-proposal-async-generator-functions@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.20.7" dependencies: @@ -495,7 +883,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-properties@npm:^7.18.6": +"@babel/plugin-proposal-class-properties@npm:7.18.6, @babel/plugin-proposal-class-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6" dependencies: @@ -507,7 +895,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-static-block@npm:^7.21.0": +"@babel/plugin-proposal-class-static-block@npm:^7.18.6, @babel/plugin-proposal-class-static-block@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-proposal-class-static-block@npm:7.21.0" dependencies: @@ -532,6 +920,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-proposal-export-default-from@npm:7.18.10": + version: 7.18.10 + resolution: "@babel/plugin-proposal-export-default-from@npm:7.18.10" + dependencies: + "@babel/helper-plugin-utils": ^7.18.9 + "@babel/plugin-syntax-export-default-from": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 2a12387e095ccd02a1560e5dd40812a83befe581d319685ae2a95f0650a4500381c1d9c710e6e29b34a1b053f9632ee2d3827b937e1cc5c9d2555280da22df53 + languageName: node + linkType: hard + "@babel/plugin-proposal-export-namespace-from@npm:^7.18.9": version: 7.18.9 resolution: "@babel/plugin-proposal-export-namespace-from@npm:7.18.9" @@ -556,7 +956,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-logical-assignment-operators@npm:^7.20.7": +"@babel/plugin-proposal-logical-assignment-operators@npm:^7.18.9, @babel/plugin-proposal-logical-assignment-operators@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-proposal-logical-assignment-operators@npm:7.20.7" dependencies: @@ -592,7 +992,22 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-object-rest-spread@npm:^7.20.7": +"@babel/plugin-proposal-object-rest-spread@npm:7.18.9": + version: 7.18.9 + resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.18.9" + dependencies: + "@babel/compat-data": ^7.18.8 + "@babel/helper-compilation-targets": ^7.18.9 + "@babel/helper-plugin-utils": ^7.18.9 + "@babel/plugin-syntax-object-rest-spread": ^7.8.3 + "@babel/plugin-transform-parameters": ^7.18.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 66b9bae741d46edf1c96776d26dfe5d335981e57164ec2450583e3d20dfaa08a5137ffebb897e443913207789f9816bfec4ae845f38762c0196a60949eaffdba + languageName: node + linkType: hard + +"@babel/plugin-proposal-object-rest-spread@npm:7.20.7, @babel/plugin-proposal-object-rest-spread@npm:^7.18.9, @babel/plugin-proposal-object-rest-spread@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.20.7" dependencies: @@ -619,7 +1034,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-optional-chaining@npm:^7.20.7, @babel/plugin-proposal-optional-chaining@npm:^7.21.0": +"@babel/plugin-proposal-optional-chaining@npm:^7.18.9, @babel/plugin-proposal-optional-chaining@npm:^7.20.7, @babel/plugin-proposal-optional-chaining@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-proposal-optional-chaining@npm:7.21.0" dependencies: @@ -644,6 +1059,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-proposal-private-property-in-object@npm:^7.18.6": + version: 7.21.11 + resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.11" + dependencies: + "@babel/helper-annotate-as-pure": ^7.18.6 + "@babel/helper-create-class-features-plugin": ^7.21.0 + "@babel/helper-plugin-utils": ^7.20.2 + "@babel/plugin-syntax-private-property-in-object": ^7.14.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1b880543bc5f525b360b53d97dd30807302bb82615cd42bf931968f59003cac75629563d6b104868db50abd22235b3271fdf679fea5db59a267181a99cc0c265 + languageName: node + linkType: hard + "@babel/plugin-proposal-private-property-in-object@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.0" @@ -725,6 +1154,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-export-default-from@npm:^7.18.6": + version: 7.22.5 + resolution: "@babel/plugin-syntax-export-default-from@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 5b66dea77f9e8e6307b01827a229a49bd98f0928e21bffadf538201fd2705838e621bc80d712fbe48f9f6b1348b78aa95c1e5d5ab75773521ccc399d26152de7 + languageName: node + linkType: hard + "@babel/plugin-syntax-export-namespace-from@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-syntax-export-namespace-from@npm:7.8.3" @@ -736,6 +1176,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-assertions@npm:^7.18.6": + version: 7.22.5 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 2b8b5572db04a7bef1e6cd20debf447e4eef7cb012616f5eceb8fa3e23ce469b8f76ee74fd6d1e158ba17a8f58b0aec579d092fb67c5a30e83ccfbc5754916c1 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-assertions@npm:^7.20.0": version: 7.20.0 resolution: "@babel/plugin-syntax-import-assertions@npm:7.20.0" @@ -769,6 +1220,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-jsx@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-jsx@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8829d30c2617ab31393d99cec2978e41f014f4ac6f01a1cecf4c4dd8320c3ec12fdc3ce121126b2d8d32f6887e99ca1a0bad53dedb1e6ad165640b92b24980ce + languageName: node + linkType: hard + "@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4, @babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": version: 7.10.4 resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" @@ -857,6 +1319,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-typescript@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-typescript@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8ab7718fbb026d64da93681a57797d60326097fd7cb930380c8bffd9eb101689e90142c760a14b51e8e69c88a73ba3da956cb4520a3b0c65743aee5c71ef360a + languageName: node + linkType: hard + "@babel/plugin-syntax-typescript@npm:^7.7.2": version: 7.21.4 resolution: "@babel/plugin-syntax-typescript@npm:7.21.4" @@ -868,6 +1341,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-arrow-functions@npm:^7.18.6, @babel/plugin-transform-arrow-functions@npm:^7.20.7": + version: 7.22.5 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 35abb6c57062802c7ce8bd96b2ef2883e3124370c688bbd67609f7d2453802fb73944df8808f893b6c67de978eb2bcf87bbfe325e46d6f39b5fcb09ece11d01a + languageName: node + linkType: hard + "@babel/plugin-transform-arrow-functions@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-arrow-functions@npm:7.21.5" @@ -879,6 +1363,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-to-generator@npm:^7.18.6": + version: 7.22.5 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.22.5" + dependencies: + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-remap-async-to-generator": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b95f23f99dcb379a9f0a1c2a3bbea3f8dc0e1b16dc1ac8b484fe378370169290a7a63d520959a9ba1232837cf74a80e23f6facbe14fd42a3cda6d3c2d7168e62 + languageName: node + linkType: hard + "@babel/plugin-transform-async-to-generator@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-transform-async-to-generator@npm:7.20.7" @@ -903,6 +1400,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoping@npm:^7.18.9": + version: 7.22.10 + resolution: "@babel/plugin-transform-block-scoping@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b1d06f358dedcb748a57e5feea4b9285c60593fb2912b921f22898c57c552c78fe18128678c8f84dd4ea1d4e5aebede8783830b24cd63f22c30261156d78bc77 + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoping@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-transform-block-scoping@npm:7.21.0" @@ -914,6 +1422,25 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-classes@npm:^7.18.9": + version: 7.22.6 + resolution: "@babel/plugin-transform-classes@npm:7.22.6" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-compilation-targets": ^7.22.6 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-replace-supers": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + globals: ^11.1.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8380e855c01033dbc7460d9acfbc1fc37c880350fa798c2de8c594ef818ade0e4c96173ec72f05f2a4549d8d37135e18cb62548352d51557b45a0fb4388d2f3f + languageName: node + linkType: hard + "@babel/plugin-transform-classes@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-transform-classes@npm:7.21.0" @@ -933,6 +1460,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-computed-properties@npm:^7.18.9, @babel/plugin-transform-computed-properties@npm:^7.20.7": + version: 7.22.5 + resolution: "@babel/plugin-transform-computed-properties@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/template": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: c2a77a0f94ec71efbc569109ec14ea2aa925b333289272ced8b33c6108bdbb02caf01830ffc7e49486b62dec51911924d13f3a76f1149f40daace1898009e131 + languageName: node + linkType: hard + "@babel/plugin-transform-computed-properties@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-computed-properties@npm:7.21.5" @@ -945,6 +1484,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-destructuring@npm:^7.18.9": + version: 7.22.10 + resolution: "@babel/plugin-transform-destructuring@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 011707801bd0029fd4f0523d24d06fdc0cbe8c9da280d75728f76713d639c4dc976e1b56a1ba7bff25468f86867efb71c9b4cac81140adbdd0abf2324b19a8bb + languageName: node + linkType: hard + "@babel/plugin-transform-destructuring@npm:^7.21.3": version: 7.21.3 resolution: "@babel/plugin-transform-destructuring@npm:7.21.3" @@ -991,6 +1541,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-for-of@npm:^7.18.8, @babel/plugin-transform-for-of@npm:^7.21.0": + version: 7.22.5 + resolution: "@babel/plugin-transform-for-of@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d7b8d4db010bce7273674caa95c4e6abd909362866ce297e86a2ecaa9ae636e05d525415811db9b3c942155df7f3651d19b91dd6c41f142f7308a97c7cb06023 + languageName: node + linkType: hard + "@babel/plugin-transform-for-of@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-for-of@npm:7.21.5" @@ -1037,6 +1598,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-amd@npm:^7.18.6": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-amd@npm:7.22.5" + dependencies: + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7da4c4ebbbcf7d182abb59b2046b22d86eee340caf8a22a39ef6a727da2d8acfec1f714fcdcd5054110b280e4934f735e80a6848d192b6834c5d4459a014f04d + languageName: node + linkType: hard + "@babel/plugin-transform-modules-amd@npm:^7.20.11": version: 7.20.11 resolution: "@babel/plugin-transform-modules-amd@npm:7.20.11" @@ -1049,6 +1622,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-commonjs@npm:^7.18.6, @babel/plugin-transform-modules-commonjs@npm:^7.21.2, @babel/plugin-transform-modules-commonjs@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.22.5" + dependencies: + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-simple-access": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 2067aca8f6454d54ffcce69b02c457cfa61428e11372f6a1d99ff4fcfbb55c396ed2ca6ca886bf06c852e38c1a205b8095921b2364fd0243f3e66bc1dda61caa + languageName: node + linkType: hard + "@babel/plugin-transform-modules-commonjs@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.21.5" @@ -1062,6 +1648,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-systemjs@npm:^7.18.9": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.22.5" + dependencies: + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 04f4178589543396b3c24330a67a59c5e69af5e96119c9adda730c0f20122deaff54671ebbc72ad2df6495a5db8a758bd96942de95fba7ad427de9c80b1b38c8 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-systemjs@npm:^7.20.11": version: 7.20.11 resolution: "@babel/plugin-transform-modules-systemjs@npm:7.20.11" @@ -1088,6 +1688,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.18.6": + version: 7.22.5 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 3ee564ddee620c035b928fdc942c5d17e9c4b98329b76f9cefac65c111135d925eb94ed324064cd7556d4f5123beec79abea1d4b97d1c8a2a5c748887a2eb623 + languageName: node + linkType: hard + "@babel/plugin-transform-named-capturing-groups-regex@npm:^7.20.5": version: 7.20.5 resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.20.5" @@ -1123,6 +1735,30 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-chaining@npm:^7.22.5": + version: 7.22.10 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 522d6214bb9f6ede8a2fc56a873e791aabd62f0b3be78fb8e62ca801a9033bcadabfb77aec6739f0e67f0f15f7c739c08bafafd66d3676edf1941fe6429cebcd + languageName: node + linkType: hard + +"@babel/plugin-transform-parameters@npm:^7.18.8": + version: 7.22.5 + resolution: "@babel/plugin-transform-parameters@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b44f89cf97daf23903776ba27c2ab13b439d80d8c8a95be5c476ab65023b1e0c0e94c28d3745f3b60a58edc4e590fa0cd4287a0293e51401ca7d29a2ddb13b8e + languageName: node + linkType: hard + "@babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.21.3": version: 7.21.3 resolution: "@babel/plugin-transform-parameters@npm:7.21.3" @@ -1145,6 +1781,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-regenerator@npm:^7.18.6, @babel/plugin-transform-regenerator@npm:^7.20.5": + version: 7.22.10 + resolution: "@babel/plugin-transform-regenerator@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + regenerator-transform: ^0.15.2 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e13678d62d6fa96f11cb8b863f00e8693491e7adc88bfca3f2820f80cbac8336e7dec3a596eee6a1c4663b7ececc3564f2cd7fb44ed6d4ce84ac2bb7f39ecc6e + languageName: node + linkType: hard + "@babel/plugin-transform-regenerator@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-regenerator@npm:7.21.5" @@ -1168,6 +1816,38 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-runtime@npm:7.18.10": + version: 7.18.10 + resolution: "@babel/plugin-transform-runtime@npm:7.18.10" + dependencies: + "@babel/helper-module-imports": ^7.18.6 + "@babel/helper-plugin-utils": ^7.18.9 + babel-plugin-polyfill-corejs2: ^0.3.2 + babel-plugin-polyfill-corejs3: ^0.5.3 + babel-plugin-polyfill-regenerator: ^0.4.0 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 98c18680b4258b8bd3f04926b73c72ae77037d5ea5b50761ca35de15896bf0d04bedabde39a81be56dbd4859c96ffaa7103fbefb5d5b58a36e0a80381e4a146c + languageName: node + linkType: hard + +"@babel/plugin-transform-runtime@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/plugin-transform-runtime@npm:7.21.4" + dependencies: + "@babel/helper-module-imports": ^7.21.4 + "@babel/helper-plugin-utils": ^7.20.2 + babel-plugin-polyfill-corejs2: ^0.3.3 + babel-plugin-polyfill-corejs3: ^0.6.0 + babel-plugin-polyfill-regenerator: ^0.4.1 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7e2e6b0d6f9762fde58738829e4d3b5e13dc88ccc1463e4eee83c8d8f50238eeb8e3699923f5ad4d7edf597515f74d67fbb14eb330225075fc7733b547e22145 + languageName: node + linkType: hard + "@babel/plugin-transform-shorthand-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-shorthand-properties@npm:7.18.6" @@ -1179,6 +1859,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-spread@npm:^7.18.9": + version: 7.22.5 + resolution: "@babel/plugin-transform-spread@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 5587f0deb60b3dfc9b274e269031cc45ec75facccf1933ea2ea71ced9fd3ce98ed91bb36d6cd26817c14474b90ed998c5078415f0eab531caf301496ce24c95c + languageName: node + linkType: hard + "@babel/plugin-transform-spread@npm:^7.20.7": version: 7.20.7 resolution: "@babel/plugin-transform-spread@npm:7.20.7" @@ -1224,6 +1916,31 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-typescript@npm:^7.22.5": + version: 7.22.10 + resolution: "@babel/plugin-transform-typescript@npm:7.22.10" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-create-class-features-plugin": ^7.22.10 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-typescript": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e15ca8cd9f9715db5ca42a4b7883bc85356424497a711ea01ccb39793e647c54d9bd8ab37d9953ed9bed5d06b705fca681dce1f41d121bc47638f50a5b5ce9ee + languageName: node + linkType: hard + +"@babel/plugin-transform-unicode-escapes@npm:^7.18.10": + version: 7.22.10 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 807f40ed1324c8cb107c45358f1903384ca3f0ef1d01c5a3c5c9b271c8d8eec66936a3dcc8d75ddfceea9421420368c2e77ae3adef0a50557e778dfe296bf382 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-escapes@npm:^7.21.5": version: 7.21.5 resolution: "@babel/plugin-transform-unicode-escapes@npm:7.21.5" @@ -1247,6 +1964,176 @@ __metadata: languageName: node linkType: hard +"@babel/preset-env@npm:7.18.10": + version: 7.18.10 + resolution: "@babel/preset-env@npm:7.18.10" + dependencies: + "@babel/compat-data": ^7.18.8 + "@babel/helper-compilation-targets": ^7.18.9 + "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-validator-option": ^7.18.6 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.18.6 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.18.9 + "@babel/plugin-proposal-async-generator-functions": ^7.18.10 + "@babel/plugin-proposal-class-properties": ^7.18.6 + "@babel/plugin-proposal-class-static-block": ^7.18.6 + "@babel/plugin-proposal-dynamic-import": ^7.18.6 + "@babel/plugin-proposal-export-namespace-from": ^7.18.9 + "@babel/plugin-proposal-json-strings": ^7.18.6 + "@babel/plugin-proposal-logical-assignment-operators": ^7.18.9 + "@babel/plugin-proposal-nullish-coalescing-operator": ^7.18.6 + "@babel/plugin-proposal-numeric-separator": ^7.18.6 + "@babel/plugin-proposal-object-rest-spread": ^7.18.9 + "@babel/plugin-proposal-optional-catch-binding": ^7.18.6 + "@babel/plugin-proposal-optional-chaining": ^7.18.9 + "@babel/plugin-proposal-private-methods": ^7.18.6 + "@babel/plugin-proposal-private-property-in-object": ^7.18.6 + "@babel/plugin-proposal-unicode-property-regex": ^7.18.6 + "@babel/plugin-syntax-async-generators": ^7.8.4 + "@babel/plugin-syntax-class-properties": ^7.12.13 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + "@babel/plugin-syntax-export-namespace-from": ^7.8.3 + "@babel/plugin-syntax-import-assertions": ^7.18.6 + "@babel/plugin-syntax-json-strings": ^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.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-private-property-in-object": ^7.14.5 + "@babel/plugin-syntax-top-level-await": ^7.14.5 + "@babel/plugin-transform-arrow-functions": ^7.18.6 + "@babel/plugin-transform-async-to-generator": ^7.18.6 + "@babel/plugin-transform-block-scoped-functions": ^7.18.6 + "@babel/plugin-transform-block-scoping": ^7.18.9 + "@babel/plugin-transform-classes": ^7.18.9 + "@babel/plugin-transform-computed-properties": ^7.18.9 + "@babel/plugin-transform-destructuring": ^7.18.9 + "@babel/plugin-transform-dotall-regex": ^7.18.6 + "@babel/plugin-transform-duplicate-keys": ^7.18.9 + "@babel/plugin-transform-exponentiation-operator": ^7.18.6 + "@babel/plugin-transform-for-of": ^7.18.8 + "@babel/plugin-transform-function-name": ^7.18.9 + "@babel/plugin-transform-literals": ^7.18.9 + "@babel/plugin-transform-member-expression-literals": ^7.18.6 + "@babel/plugin-transform-modules-amd": ^7.18.6 + "@babel/plugin-transform-modules-commonjs": ^7.18.6 + "@babel/plugin-transform-modules-systemjs": ^7.18.9 + "@babel/plugin-transform-modules-umd": ^7.18.6 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.18.6 + "@babel/plugin-transform-new-target": ^7.18.6 + "@babel/plugin-transform-object-super": ^7.18.6 + "@babel/plugin-transform-parameters": ^7.18.8 + "@babel/plugin-transform-property-literals": ^7.18.6 + "@babel/plugin-transform-regenerator": ^7.18.6 + "@babel/plugin-transform-reserved-words": ^7.18.6 + "@babel/plugin-transform-shorthand-properties": ^7.18.6 + "@babel/plugin-transform-spread": ^7.18.9 + "@babel/plugin-transform-sticky-regex": ^7.18.6 + "@babel/plugin-transform-template-literals": ^7.18.9 + "@babel/plugin-transform-typeof-symbol": ^7.18.9 + "@babel/plugin-transform-unicode-escapes": ^7.18.10 + "@babel/plugin-transform-unicode-regex": ^7.18.6 + "@babel/preset-modules": ^0.1.5 + "@babel/types": ^7.18.10 + babel-plugin-polyfill-corejs2: ^0.3.2 + babel-plugin-polyfill-corejs3: ^0.5.3 + babel-plugin-polyfill-regenerator: ^0.4.0 + core-js-compat: ^3.22.1 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 36eeb7157021091c8047703833b7a28e4963865d16968a5b9dbffe1eb05e44307a8d29ad45d81fd23817f68290b52921c42f513a93996c7083d23d5e2cea0c6b + languageName: node + linkType: hard + +"@babel/preset-env@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/preset-env@npm:7.21.4" + dependencies: + "@babel/compat-data": ^7.21.4 + "@babel/helper-compilation-targets": ^7.21.4 + "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-validator-option": ^7.21.0 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.18.6 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.20.7 + "@babel/plugin-proposal-async-generator-functions": ^7.20.7 + "@babel/plugin-proposal-class-properties": ^7.18.6 + "@babel/plugin-proposal-class-static-block": ^7.21.0 + "@babel/plugin-proposal-dynamic-import": ^7.18.6 + "@babel/plugin-proposal-export-namespace-from": ^7.18.9 + "@babel/plugin-proposal-json-strings": ^7.18.6 + "@babel/plugin-proposal-logical-assignment-operators": ^7.20.7 + "@babel/plugin-proposal-nullish-coalescing-operator": ^7.18.6 + "@babel/plugin-proposal-numeric-separator": ^7.18.6 + "@babel/plugin-proposal-object-rest-spread": ^7.20.7 + "@babel/plugin-proposal-optional-catch-binding": ^7.18.6 + "@babel/plugin-proposal-optional-chaining": ^7.21.0 + "@babel/plugin-proposal-private-methods": ^7.18.6 + "@babel/plugin-proposal-private-property-in-object": ^7.21.0 + "@babel/plugin-proposal-unicode-property-regex": ^7.18.6 + "@babel/plugin-syntax-async-generators": ^7.8.4 + "@babel/plugin-syntax-class-properties": ^7.12.13 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + "@babel/plugin-syntax-export-namespace-from": ^7.8.3 + "@babel/plugin-syntax-import-assertions": ^7.20.0 + "@babel/plugin-syntax-json-strings": ^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.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-private-property-in-object": ^7.14.5 + "@babel/plugin-syntax-top-level-await": ^7.14.5 + "@babel/plugin-transform-arrow-functions": ^7.20.7 + "@babel/plugin-transform-async-to-generator": ^7.20.7 + "@babel/plugin-transform-block-scoped-functions": ^7.18.6 + "@babel/plugin-transform-block-scoping": ^7.21.0 + "@babel/plugin-transform-classes": ^7.21.0 + "@babel/plugin-transform-computed-properties": ^7.20.7 + "@babel/plugin-transform-destructuring": ^7.21.3 + "@babel/plugin-transform-dotall-regex": ^7.18.6 + "@babel/plugin-transform-duplicate-keys": ^7.18.9 + "@babel/plugin-transform-exponentiation-operator": ^7.18.6 + "@babel/plugin-transform-for-of": ^7.21.0 + "@babel/plugin-transform-function-name": ^7.18.9 + "@babel/plugin-transform-literals": ^7.18.9 + "@babel/plugin-transform-member-expression-literals": ^7.18.6 + "@babel/plugin-transform-modules-amd": ^7.20.11 + "@babel/plugin-transform-modules-commonjs": ^7.21.2 + "@babel/plugin-transform-modules-systemjs": ^7.20.11 + "@babel/plugin-transform-modules-umd": ^7.18.6 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.20.5 + "@babel/plugin-transform-new-target": ^7.18.6 + "@babel/plugin-transform-object-super": ^7.18.6 + "@babel/plugin-transform-parameters": ^7.21.3 + "@babel/plugin-transform-property-literals": ^7.18.6 + "@babel/plugin-transform-regenerator": ^7.20.5 + "@babel/plugin-transform-reserved-words": ^7.18.6 + "@babel/plugin-transform-shorthand-properties": ^7.18.6 + "@babel/plugin-transform-spread": ^7.20.7 + "@babel/plugin-transform-sticky-regex": ^7.18.6 + "@babel/plugin-transform-template-literals": ^7.18.9 + "@babel/plugin-transform-typeof-symbol": ^7.18.9 + "@babel/plugin-transform-unicode-escapes": ^7.18.10 + "@babel/plugin-transform-unicode-regex": ^7.18.6 + "@babel/preset-modules": ^0.1.5 + "@babel/types": ^7.21.4 + babel-plugin-polyfill-corejs2: ^0.3.3 + babel-plugin-polyfill-corejs3: ^0.6.0 + babel-plugin-polyfill-regenerator: ^0.4.1 + core-js-compat: ^3.25.1 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1e328674c4b39e985fa81e5a8eee9aaab353dea4ff1f28f454c5e27a6498c762e25d42e827f5bfc9d7acf6c9b8bc317b5283aa7c83d9fd03c1a89e5c08f334f9 + languageName: node + linkType: hard + "@babel/preset-env@npm:^7.16.11": version: 7.21.5 resolution: "@babel/preset-env@npm:7.21.5" @@ -1348,6 +2235,21 @@ __metadata: languageName: node linkType: hard +"@babel/preset-typescript@npm:^7.18.6, @babel/preset-typescript@npm:^7.21.4": + version: 7.22.5 + resolution: "@babel/preset-typescript@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-option": ^7.22.5 + "@babel/plugin-syntax-jsx": ^7.22.5 + "@babel/plugin-transform-modules-commonjs": ^7.22.5 + "@babel/plugin-transform-typescript": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7be1670cb4404797d3a473bd72d66eb2b3e0f2f8a672a5e40bdb0812cc66085ec84bcd7b896709764cabf042fdc6b7f2d4755ac7cce10515eb596ff61dab5154 + languageName: node + linkType: hard + "@babel/regjsgen@npm:^0.8.0": version: 0.8.0 resolution: "@babel/regjsgen@npm:0.8.0" @@ -1355,6 +2257,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.21.0": + version: 7.22.10 + resolution: "@babel/runtime@npm:7.22.10" + dependencies: + regenerator-runtime: ^0.14.0 + checksum: 524d41517e68953dbc73a4f3616b8475e5813f64e28ba89ff5fca2c044d535c2ea1a3f310df1e5bb06162e1f0b401b5c4af73fe6e2519ca2450d9d8c44cf268d + languageName: node + linkType: hard + "@babel/runtime@npm:^7.8.4": version: 7.21.5 resolution: "@babel/runtime@npm:7.21.5" @@ -1375,6 +2286,71 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/template@npm:7.22.5" + dependencies: + "@babel/code-frame": ^7.22.5 + "@babel/parser": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: c5746410164039aca61829cdb42e9a55410f43cace6f51ca443313f3d0bdfa9a5a330d0b0df73dc17ef885c72104234ae05efede37c1cc8a72dc9f93425977a3 + languageName: node + linkType: hard + +"@babel/traverse@npm:7.18.11": + version: 7.18.11 + resolution: "@babel/traverse@npm:7.18.11" + dependencies: + "@babel/code-frame": ^7.18.6 + "@babel/generator": ^7.18.10 + "@babel/helper-environment-visitor": ^7.18.9 + "@babel/helper-function-name": ^7.18.9 + "@babel/helper-hoist-variables": ^7.18.6 + "@babel/helper-split-export-declaration": ^7.18.6 + "@babel/parser": ^7.18.11 + "@babel/types": ^7.18.10 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 727409464d5cf27f33555010098ce9bb435f0648cc76e674f4fb7513522356655ba62be99c8df330982b391ccf5f0c0c23c7bd7453d4936d47e2181693fed14c + languageName: node + linkType: hard + +"@babel/traverse@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/traverse@npm:7.21.4" + dependencies: + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 + "@babel/helper-environment-visitor": ^7.18.9 + "@babel/helper-function-name": ^7.21.0 + "@babel/helper-hoist-variables": ^7.18.6 + "@babel/helper-split-export-declaration": ^7.18.6 + "@babel/parser": ^7.21.4 + "@babel/types": ^7.21.4 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: f22f067c2d9b6497abf3d4e53ea71f3aa82a21f2ed434dd69b8c5767f11f2a4c24c8d2f517d2312c9e5248e5c69395fdca1c95a2b3286122c75f5783ddb6f53c + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.18.10, @babel/traverse@npm:^7.21.4, @babel/traverse@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/traverse@npm:7.22.10" + dependencies: + "@babel/code-frame": ^7.22.10 + "@babel/generator": ^7.22.10 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.22.10 + "@babel/types": ^7.22.10 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 9f7b358563bfb0f57ac4ed639f50e5c29a36b821a1ce1eea0c7db084f5b925e3275846d0de63bde01ca407c85d9804e0efbe370d92cd2baaafde3bd13b0f4cdb + languageName: node + linkType: hard + "@babel/traverse@npm:^7.20.5, @babel/traverse@npm:^7.21.5, @babel/traverse@npm:^7.7.2": version: 7.21.5 resolution: "@babel/traverse@npm:7.21.5" @@ -1393,6 +2369,28 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:7.18.10": + version: 7.18.10 + resolution: "@babel/types@npm:7.18.10" + dependencies: + "@babel/helper-string-parser": ^7.18.10 + "@babel/helper-validator-identifier": ^7.18.6 + to-fast-properties: ^2.0.0 + checksum: 11632c9b106e54021937a6498138014ebc9ad6c327a07b2af3ba8700773945aba4055fd136431cbe3a500d0f363cbf9c68eb4d6d38229897c5de9d06e14c85e8 + languageName: node + linkType: hard + +"@babel/types@npm:7.21.4": + version: 7.21.4 + resolution: "@babel/types@npm:7.21.4" + dependencies: + "@babel/helper-string-parser": ^7.19.4 + "@babel/helper-validator-identifier": ^7.19.1 + to-fast-properties: ^2.0.0 + checksum: 587bc55a91ce003b0f8aa10d70070f8006560d7dc0360dc0406d306a2cb2a10154e2f9080b9c37abec76907a90b330a536406cb75e6bdc905484f37b75c73219 + languageName: node + linkType: hard + "@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.5, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.21.5 resolution: "@babel/types@npm:7.21.5" @@ -1404,6 +2402,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.18.10, @babel/types@npm:^7.22.10, @babel/types@npm:^7.22.5": + version: 7.22.10 + resolution: "@babel/types@npm:7.22.10" + dependencies: + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 + to-fast-properties: ^2.0.0 + checksum: 095c4f4b7503fa816e4094113f0ec2351ef96ff32012010b771693066ff628c7c664b21c6bd3fb93aeb46fe7c61f6b3a3c9e4ed0034d6a2481201c417371c8af + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -1605,6 +2614,161 @@ __metadata: languageName: node linkType: hard +"@cosmology/ast@npm:^0.91.0": + version: 0.91.0 + resolution: "@cosmology/ast@npm:0.91.0" + dependencies: + "@babel/parser": ^7.21.4 + "@babel/runtime": ^7.21.0 + "@babel/types": 7.21.4 + "@cosmology/types": ^0.39.0 + "@cosmology/utils": ^0.14.0 + case: 1.6.3 + dotty: 0.1.2 + checksum: 4ed67e90c1c473670939591fd882a8100e613195cc4a81ef9b289abed703d0d261d304e760d5efdf9800285a39167b3ef21197023515c6286486c139c89be6b6 + languageName: node + linkType: hard + +"@cosmology/proto-parser@npm:^0.48.0": + version: 0.48.0 + resolution: "@cosmology/proto-parser@npm:0.48.0" + dependencies: + "@babel/runtime": ^7.21.0 + "@cosmology/protobufjs": 6.11.6 + "@cosmology/types": ^0.39.0 + "@cosmology/utils": ^0.14.0 + dotty: 0.1.2 + glob: 8.0.3 + minimatch: 5.1.0 + mkdirp: 3.0.0 + checksum: 8bb8f01e00f43f2a789c74444c5c8904e1ecac88998e74a60acc9cfdd5c68f8bc47028f5020812cde32c5cb33a84becccf3f0372803e2c586bb00fa6c5e4c33a + languageName: node + linkType: hard + +"@cosmology/protobufjs@npm:6.11.6": + version: 6.11.6 + resolution: "@cosmology/protobufjs@npm:6.11.6" + dependencies: + "@protobufjs/aspromise": ^1.1.2 + "@protobufjs/base64": ^1.1.2 + "@protobufjs/codegen": ^2.0.4 + "@protobufjs/eventemitter": ^1.1.0 + "@protobufjs/fetch": ^1.1.0 + "@protobufjs/float": ^1.0.2 + "@protobufjs/inquire": ^1.1.0 + "@protobufjs/path": ^1.1.2 + "@protobufjs/pool": ^1.1.0 + "@protobufjs/utf8": ^1.1.0 + "@types/long": ^4.0.1 + "@types/node": ">=13.7.0" + long: ^4.0.0 + bin: + pbjs: bin/pbjs + pbts: bin/pbts + checksum: f154aa32845bcecf2ef0b1ab82e8493e8f35854be839b3b0f84e89fc888ee4d5384eb496b11892e93ff73f24996e11a117a26681ad85bb38e634e2bd4582bfe4 + languageName: node + linkType: hard + +"@cosmology/telescope@npm:^0.104.0": + version: 0.104.0 + resolution: "@cosmology/telescope@npm:0.104.0" + dependencies: + "@babel/core": 7.21.4 + "@babel/generator": 7.21.4 + "@babel/parser": ^7.21.4 + "@babel/plugin-proposal-class-properties": 7.18.6 + "@babel/plugin-proposal-export-default-from": 7.18.10 + "@babel/plugin-proposal-object-rest-spread": 7.20.7 + "@babel/plugin-transform-runtime": 7.21.4 + "@babel/preset-env": 7.21.4 + "@babel/preset-typescript": ^7.21.4 + "@babel/runtime": ^7.21.0 + "@babel/traverse": 7.21.4 + "@babel/types": 7.21.4 + "@cosmology/ast": ^0.91.0 + "@cosmology/proto-parser": ^0.48.0 + "@cosmology/types": ^0.39.0 + "@cosmology/utils": ^0.14.0 + "@cosmwasm/ts-codegen": 0.34.0 + "@types/parse-package-name": 0.1.0 + case: 1.6.3 + dargs: 7.0.0 + deepmerge: 4.3.1 + dotty: 0.1.2 + fuzzy: 0.1.3 + glob: 8.0.3 + inquirerer: 0.1.3 + long: ^5.2.1 + minimatch: 5.1.0 + minimist: 1.2.8 + mkdirp: 3.0.0 + parse-package-name: 1.0.0 + rimraf: 5.0.0 + shelljs: 0.8.5 + bin: + telescope: main/telescope.js + checksum: 5d310f3af03757b0bb5a7d5ddb06ed827999a8a1b8429b6966c352a61deab20ac988f7078a67bda5bb101576fec8ae2399645f82597a2d4381bbda10b6db9f5b + languageName: node + linkType: hard + +"@cosmology/types@npm:^0.39.0": + version: 0.39.0 + resolution: "@cosmology/types@npm:0.39.0" + dependencies: + "@babel/runtime": ^7.21.0 + case: 1.6.3 + checksum: 0fba903b2053bfa54273392423712d34c757698a6b9cc0ceb9cc602b5b32df75bcf01dbcf100afbb4dc5c3433317b8b9bf487627aadb6a57d59f6e2869264a9d + languageName: node + linkType: hard + +"@cosmology/utils@npm:^0.14.0": + version: 0.14.0 + resolution: "@cosmology/utils@npm:0.14.0" + dependencies: + "@babel/runtime": ^7.21.0 + "@cosmology/types": ^0.39.0 + dotty: 0.1.2 + checksum: 312e82b638051a8b952bb66eaea6802b490a54cc71d5f8e84254c3b5f056efeea64bf8a4c9ec31468e2eeb31f5c7b13279e19584d54f59b25fd4a6c6636d4a7d + languageName: node + linkType: hard + +"@cosmwasm/ts-codegen@npm:0.34.0": + version: 0.34.0 + resolution: "@cosmwasm/ts-codegen@npm:0.34.0" + dependencies: + "@babel/core": 7.18.10 + "@babel/generator": 7.18.12 + "@babel/parser": 7.18.11 + "@babel/plugin-proposal-class-properties": 7.18.6 + "@babel/plugin-proposal-export-default-from": 7.18.10 + "@babel/plugin-proposal-object-rest-spread": 7.18.9 + "@babel/plugin-transform-runtime": 7.18.10 + "@babel/preset-env": 7.18.10 + "@babel/preset-typescript": ^7.18.6 + "@babel/runtime": ^7.18.9 + "@babel/traverse": 7.18.11 + "@babel/types": 7.18.10 + "@pyramation/json-schema-to-typescript": " 11.0.4" + case: 1.6.3 + dargs: 7.0.0 + deepmerge: 4.2.2 + dotty: 0.1.2 + fuzzy: 0.1.3 + glob: 8.0.3 + inquirerer: 0.1.3 + long: ^5.2.0 + minimist: 1.2.6 + mkdirp: 1.0.4 + parse-package-name: 1.0.0 + rimraf: 3.0.2 + shelljs: 0.8.5 + wasm-ast-types: ^0.25.0 + bin: + cosmwasm-ts-codegen: main/ts-codegen.js + checksum: 2132ff6e1a8cbac6ec61f005014ed7a17cba4becb1cf8fdb865428e687739ba2558de1198e6b9f5fe6e323cdfb624a7d44ad3ecbe15a43d12aff7a78d6305dfd + languageName: node + linkType: hard + "@cspotcode/source-map-support@npm:^0.8.0": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -2139,6 +3303,20 @@ __metadata: languageName: node linkType: hard +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: ^5.1.2 + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: ^7.0.1 + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: ^8.1.0 + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 4a473b9b32a7d4d3cfb7a614226e555091ff0c5a29a1734c28c72a182c2f6699b26fc6b5c2131dfd841e86b185aea714c72201d7c98c2fba5f17709333a67aeb + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -2289,6 +3467,15 @@ __metadata: languageName: node linkType: hard +"@jest/schemas@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/schemas@npm:28.1.3" + dependencies: + "@sinclair/typebox": ^0.24.1 + checksum: 3cf1d4b66c9c4ffda58b246de1ddcba8e6ad085af63dccdf07922511f13b68c0cc480a7bc620cb4f3099a6f134801c747e1df7bfc7a4ef4dceefbdea3e31e1de + languageName: node + linkType: hard + "@jest/source-map@npm:^27.5.1": version: 27.5.1 resolution: "@jest/source-map@npm:27.5.1" @@ -2324,6 +3511,29 @@ __metadata: languageName: node linkType: hard +"@jest/transform@npm:28.1.3": + version: 28.1.3 + resolution: "@jest/transform@npm:28.1.3" + dependencies: + "@babel/core": ^7.11.6 + "@jest/types": ^28.1.3 + "@jridgewell/trace-mapping": ^0.3.13 + babel-plugin-istanbul: ^6.1.1 + chalk: ^4.0.0 + convert-source-map: ^1.4.0 + fast-json-stable-stringify: ^2.0.0 + graceful-fs: ^4.2.9 + jest-haste-map: ^28.1.3 + jest-regex-util: ^28.0.2 + jest-util: ^28.1.3 + micromatch: ^4.0.4 + pirates: ^4.0.4 + slash: ^3.0.0 + write-file-atomic: ^4.0.1 + checksum: dadf618936e0aa84342f07f532801d5bed43cdf95d1417b929e4f8782c872cff1adc84096d5a287a796d0039a2691c06d8450cce5a713a8b52fbb9f872a1e760 + languageName: node + linkType: hard + "@jest/transform@npm:^27.5.1": version: 27.5.1 resolution: "@jest/transform@npm:27.5.1" @@ -2360,6 +3570,20 @@ __metadata: languageName: node linkType: hard +"@jest/types@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/types@npm:28.1.3" + dependencies: + "@jest/schemas": ^28.1.3 + "@types/istanbul-lib-coverage": ^2.0.0 + "@types/istanbul-reports": ^3.0.0 + "@types/node": "*" + "@types/yargs": ^17.0.8 + chalk: ^4.0.0 + checksum: 1e258d9c063fcf59ebc91e46d5ea5984674ac7ae6cae3e50aa780d22b4405bf2c925f40350bf30013839eb5d4b5e521d956ddf8f3b7c78debef0e75a07f57350 + languageName: node + linkType: hard + "@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -2378,7 +3602,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/resolve-uri@npm:^3.0.3": +"@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0": version: 3.1.1 resolution: "@jridgewell/resolve-uri@npm:3.1.1" checksum: f5b441fe7900eab4f9155b3b93f9800a916257f4e8563afbcd3b5a5337b55e52bd8ae6735453b1b745457d9f6cdb16d74cd6220bbdd98cf153239e13f6cbb653 @@ -2399,7 +3623,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.14": version: 1.4.15 resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 @@ -2416,6 +3640,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.13": + version: 0.3.19 + resolution: "@jridgewell/trace-mapping@npm:0.3.19" + dependencies: + "@jridgewell/resolve-uri": ^3.1.0 + "@jridgewell/sourcemap-codec": ^1.4.14 + checksum: 956a6f0f6fec060fb48c6bf1f5ec2064e13cd38c8be3873877d4b92b4a27ba58289a34071752671262a3e3c202abcc3fa2aac64d8447b4b0fa1ba3c9047f1c20 + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.18 resolution: "@jridgewell/trace-mapping@npm:0.3.18" @@ -2426,6 +3660,13 @@ __metadata: languageName: node linkType: hard +"@jsdevtools/ono@npm:^7.1.3": + version: 7.1.3 + resolution: "@jsdevtools/ono@npm:7.1.3" + checksum: 2297fcd472ba810bffe8519d2249171132844c7174f3a16634f9260761c8c78bc0428a4190b5b6d72d45673c13918ab9844d706c3ed4ef8f62ab11a2627a08ad + languageName: node + linkType: hard + "@lukeed/csprng@npm:^1.0.0": version: 1.1.0 resolution: "@lukeed/csprng@npm:1.1.0" @@ -2710,6 +3951,13 @@ __metadata: languageName: node linkType: hard +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f + languageName: node + linkType: hard + "@polkadot/networks@npm:12.2.1": version: 12.2.1 resolution: "@polkadot/networks@npm:12.2.1" @@ -3015,6 +4263,131 @@ __metadata: languageName: node linkType: hard +"@protobufs/amino@npm:^0.0.11": + version: 0.0.11 + resolution: "@protobufs/amino@npm:0.0.11" + dependencies: + "@protobufs/google": ^0.0.10 + checksum: 7edb8b2804c302055512ebe2518243ff2b1cc7701c29f1a7c940d873069bfbca831dab0c517f49b21083d729d30b0e52f4530b7bb8e2fe85c0a16aa01d5d4808 + languageName: node + linkType: hard + +"@protobufs/confio@npm:^0.0.6": + version: 0.0.6 + resolution: "@protobufs/confio@npm:0.0.6" + checksum: 82bd4954e3c2f076b88dd33283aaa9f35b4d622656018c0e579fcb8225fca2c6ae72442e47ce464891b8a1988f3f37abc7bffb83ba8d3de970ccf6cf9da6acdf + languageName: node + linkType: hard + +"@protobufs/cosmos@npm:^0.1.0": + version: 0.1.0 + resolution: "@protobufs/cosmos@npm:0.1.0" + dependencies: + "@protobufs/amino": ^0.0.11 + "@protobufs/cosmos_proto": ^0.0.10 + "@protobufs/gogoproto": ^0.0.10 + "@protobufs/google": ^0.0.10 + "@protobufs/tendermint": ^0.0.10 + checksum: 263beb8a8fad2dabb95931aa70fa83b4dd48360e8cfceb030dd0d60f4975f8a59d98bd312895b9acc167f09cd15e369c3443e1c7d2a321fe903b48f93aa7a707 + languageName: node + linkType: hard + +"@protobufs/cosmos_proto@npm:^0.0.10": + version: 0.0.10 + resolution: "@protobufs/cosmos_proto@npm:0.0.10" + dependencies: + "@protobufs/google": ^0.0.10 + checksum: ef173097582a19c4e2a666de75338736798687f71045a91ed5329dec6d1bc0bc5a010b40060f97eb6aa16e86ff73976bf760ddff7ad14fd81148f6b9907bda8b + languageName: node + linkType: hard + +"@protobufs/cosmwasm@npm:^0.1.1": + version: 0.1.1 + resolution: "@protobufs/cosmwasm@npm:0.1.1" + dependencies: + "@protobufs/cosmos": ^0.1.0 + "@protobufs/cosmos_proto": ^0.0.10 + "@protobufs/gogoproto": ^0.0.10 + "@protobufs/google": ^0.0.10 + checksum: ac85a9c529fdb31c530c958076f5ab2e9e80941dbea28f80bb21f90ba0ec5f71b97e5879ecd5facd3ef998df3bc7d83949d17c269aa5d0078c6c497fa0c91bf2 + languageName: node + linkType: hard + +"@protobufs/gogoproto@npm:^0.0.10": + version: 0.0.10 + resolution: "@protobufs/gogoproto@npm:0.0.10" + dependencies: + "@protobufs/google": ^0.0.10 + checksum: 732f459fe3da25bf05a3c4d01b14b1a96a3a79cc749fb4110b46f7d58668e7cca55a555d59a95c5687e003529ac9c37450d24e40b4264a3550c88441fce82906 + languageName: node + linkType: hard + +"@protobufs/google@npm:^0.0.10": + version: 0.0.10 + resolution: "@protobufs/google@npm:0.0.10" + checksum: f00447ba6b0142cde489e6d798159169e81591bac4ea1cfbd116376b3edb6d59f59513d7beaa0fd8bd3ee5c1d788648400255c3d7e04ab0c99571a3b67a1c3b0 + languageName: node + linkType: hard + +"@protobufs/ibc@npm:^0.1.0": + version: 0.1.0 + resolution: "@protobufs/ibc@npm:0.1.0" + dependencies: + "@protobufs/amino": ^0.0.11 + "@protobufs/confio": ^0.0.6 + "@protobufs/cosmos": ^0.1.0 + "@protobufs/gogoproto": ^0.0.10 + "@protobufs/google": ^0.0.10 + "@protobufs/tendermint": ^0.0.10 + checksum: 8ee6a5205ee66c0f16efb0288e4d7f553174131757013dc9c2e6eb373568be3b2a995d9fb9c73bb7a0f9f5dd5b812fe24d6e902a25f71a30e085dcd7c690b872 + languageName: node + linkType: hard + +"@protobufs/tendermint@npm:^0.0.10": + version: 0.0.10 + resolution: "@protobufs/tendermint@npm:0.0.10" + dependencies: + "@protobufs/gogoproto": ^0.0.10 + "@protobufs/google": ^0.0.10 + checksum: b165b047aa4c683337f7afb81dd2c8224ec615edd3cdb5de08c80c1bb7d4bb320339c3759cd0dabd89e010651ab84a53a589868950b1155de9d8e25eb87c0d72 + languageName: node + linkType: hard + +"@pyramation/json-schema-ref-parser@npm:9.0.6": + version: 9.0.6 + resolution: "@pyramation/json-schema-ref-parser@npm:9.0.6" + dependencies: + "@jsdevtools/ono": ^7.1.3 + call-me-maybe: ^1.0.1 + js-yaml: ^3.13.1 + checksum: d3a19b72558a20b9c00819bb9be373f9ad471f024148ccde3c7fa378c70333812e8c9c1e4c8f035d6b92504fb18685ab22cacc609c62840b64e6373298908bae + languageName: node + linkType: hard + +"@pyramation/json-schema-to-typescript@npm: 11.0.4": + version: 11.0.4 + resolution: "@pyramation/json-schema-to-typescript@npm:11.0.4" + dependencies: + "@pyramation/json-schema-ref-parser": 9.0.6 + "@types/json-schema": ^7.0.11 + "@types/lodash": ^4.14.182 + "@types/prettier": ^2.6.1 + cli-color: ^2.0.2 + get-stdin: ^8.0.0 + glob: ^7.1.6 + glob-promise: ^4.2.2 + is-glob: ^4.0.3 + lodash: ^4.17.21 + minimist: ^1.2.6 + mkdirp: ^1.0.4 + mz: ^2.7.0 + prettier: ^2.6.2 + bin: + json2ts: dist/src/cli.js + checksum: 8b965d0d46551fa985ef00ba4f64c26cd1ea7f63336db6f40722c77b9ba5574a99389ca58eca2294dc62b95ac045611ff0098f1bf2c141a4faf4808112ad6e88 + languageName: node + linkType: hard + "@scure/base@npm:1.1.1, @scure/base@npm:~1.1.0": version: 1.1.1 resolution: "@scure/base@npm:1.1.1" @@ -3043,6 +4416,13 @@ __metadata: languageName: node linkType: hard +"@sinclair/typebox@npm:^0.24.1": + version: 0.24.51 + resolution: "@sinclair/typebox@npm:0.24.51" + checksum: fd0d855e748ef767eb19da1a60ed0ab928e91e0f358c1dd198d600762c0015440b15755e96d1176e2a0db7e09c6a64ed487828ee10dd0c3e22f61eb09c478cd0 + languageName: node + linkType: hard + "@sinonjs/commons@npm:^1.7.0": version: 1.8.6 resolution: "@sinonjs/commons@npm:1.8.6" @@ -3082,12 +4462,24 @@ __metadata: version: 0.0.0-use.local resolution: "@subql/common-cosmos@workspace:packages/common-cosmos" dependencies: + "@cosmology/telescope": ^0.104.0 + "@protobufs/cosmos": ^0.1.0 + "@protobufs/cosmos_proto": ^0.0.10 + "@protobufs/cosmwasm": ^0.1.1 + "@protobufs/gogoproto": ^0.0.10 + "@protobufs/google": ^0.0.10 + "@protobufs/ibc": ^0.1.0 + "@protobufs/tendermint": ^0.0.10 "@subql/common": ^2.4.0 "@subql/types-cosmos": "workspace:*" "@types/bn.js": 4.11.6 + "@types/ejs": ^3.1.2 + "@types/fs-extra": ^11 "@types/js-yaml": ^4.0.4 "@types/pino": ^6.3.12 + fs-extra: ^11.1.1 js-yaml: ^4.1.0 + protobufjs: ^7.2.4 reflect-metadata: ^0.1.13 peerDependencies: class-transformer: "*" @@ -3442,6 +4834,13 @@ __metadata: languageName: node linkType: hard +"@types/ejs@npm:^3.1.2": + version: 3.1.2 + resolution: "@types/ejs@npm:3.1.2" + checksum: e4f0745b6ed53a63c08bdfdeb019a7d0e0c400896722b44d6732b4ee6bf6061d2dc965206186b8b0ae2ecd71303c29f1af1feddbca2df0acbd7bd234a74ca518 + languageName: node + linkType: hard + "@types/express-serve-static-core@npm:^4.17.33": version: 4.17.35 resolution: "@types/express-serve-static-core@npm:4.17.35" @@ -3466,7 +4865,27 @@ __metadata: languageName: node linkType: hard -"@types/graceful-fs@npm:^4.1.2": +"@types/fs-extra@npm:^11": + version: 11.0.1 + resolution: "@types/fs-extra@npm:11.0.1" + dependencies: + "@types/jsonfile": "*" + "@types/node": "*" + checksum: 3e930346e5d84f419deb8ced1c582beef8cb20d0bd8a0eb145a37d75bab0572a1895f0e48a0d681d386b3a58b9a992b2d2acecc464bcaec2548f53ea00718651 + languageName: node + linkType: hard + +"@types/glob@npm:^7.1.3": + version: 7.2.0 + resolution: "@types/glob@npm:7.2.0" + dependencies: + "@types/minimatch": "*" + "@types/node": "*" + checksum: 6ae717fedfdfdad25f3d5a568323926c64f52ef35897bcac8aca8e19bc50c0bd84630bbd063e5d52078b2137d8e7d3c26eabebd1a2f03ff350fff8a91e79fc19 + languageName: node + linkType: hard + +"@types/graceful-fs@npm:^4.1.2, @types/graceful-fs@npm:^4.1.3": version: 4.1.6 resolution: "@types/graceful-fs@npm:4.1.6" dependencies: @@ -3517,7 +4936,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:^7.0.11, @types/json-schema@npm:^7.0.9": version: 7.0.12 resolution: "@types/json-schema@npm:7.0.12" checksum: 00239e97234eeb5ceefb0c1875d98ade6e922bfec39dd365ec6bd360b5c2f825e612ac4f6e5f1d13601b8b30f378f15e6faa805a3a732f4a1bbe61915163d293 @@ -3531,6 +4950,15 @@ __metadata: languageName: node linkType: hard +"@types/jsonfile@npm:*": + version: 6.1.1 + resolution: "@types/jsonfile@npm:6.1.1" + dependencies: + "@types/node": "*" + checksum: 0f8fe0a9221a00e8413cffba723dfe16553868724b830237256fb0052ecd5cac96498189d1235a001cfa815f352008261c9ceb373f0aa58227f891e0c7a12c4d + languageName: node + linkType: hard + "@types/lodash@npm:^4.14.178": version: 4.14.195 resolution: "@types/lodash@npm:4.14.195" @@ -3538,6 +4966,13 @@ __metadata: languageName: node linkType: hard +"@types/lodash@npm:^4.14.182": + version: 4.14.197 + resolution: "@types/lodash@npm:4.14.197" + checksum: 53d7567d1704de76cf33266c78062e0fd722d4b846e5b1417d0b6ef0ee41c0d9c451b92bc34f73d5f1fcc45c7d36511e92f6f47a9279b48157ba60a92ddaa078 + languageName: node + linkType: hard + "@types/long@npm:^4.0.1": version: 4.0.2 resolution: "@types/long@npm:4.0.2" @@ -3559,6 +4994,13 @@ __metadata: languageName: node linkType: hard +"@types/minimatch@npm:*": + version: 5.1.2 + resolution: "@types/minimatch@npm:5.1.2" + checksum: 0391a282860c7cb6fe262c12b99564732401bdaa5e395bee9ca323c312c1a0f45efbf34dce974682036e857db59a5c9b1da522f3d6055aeead7097264c8705a8 + languageName: node + linkType: hard + "@types/minimatch@npm:^3.0.3, @types/minimatch@npm:^3.0.4": version: 3.0.5 resolution: "@types/minimatch@npm:3.0.5" @@ -3597,6 +5039,13 @@ __metadata: languageName: node linkType: hard +"@types/parse-package-name@npm:0.1.0": + version: 0.1.0 + resolution: "@types/parse-package-name@npm:0.1.0" + checksum: 43ac6e9895bee05ac0643704fe061422656c6b85fa30109f875e56aae71f047fc94523da96f55fa09750326f77faa93c01f7d68cd904f3b799ab3c17168b8327 + languageName: node + linkType: hard + "@types/pino-pretty@npm:*": version: 4.7.5 resolution: "@types/pino-pretty@npm:4.7.5" @@ -3635,6 +5084,13 @@ __metadata: languageName: node linkType: hard +"@types/prettier@npm:^2.6.1": + version: 2.7.3 + resolution: "@types/prettier@npm:2.7.3" + checksum: 705384209cea6d1433ff6c187c80dcc0b95d99d5c5ce21a46a9a58060c527973506822e428789d842761e0280d25e3359300f017fbe77b9755bc772ab3dc2f83 + languageName: node + linkType: hard + "@types/qs@npm:*": version: 6.9.7 resolution: "@types/qs@npm:6.9.7" @@ -3716,6 +5172,15 @@ __metadata: languageName: node linkType: hard +"@types/yargs@npm:^17.0.8": + version: 17.0.24 + resolution: "@types/yargs@npm:17.0.24" + dependencies: + "@types/yargs-parser": "*" + checksum: 5f3ac4dc4f6e211c1627340160fbe2fd247ceba002190da6cf9155af1798450501d628c9165a183f30a224fc68fa5e700490d740ff4c73e2cdef95bc4e8ba7bf + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^5.10.2": version: 5.59.7 resolution: "@typescript-eslint/eslint-plugin@npm:5.59.7" @@ -4093,6 +5558,20 @@ __metadata: languageName: node linkType: hard +"ansi-escapes@npm:^2.0.0": + version: 2.0.0 + resolution: "ansi-escapes@npm:2.0.0" + checksum: 1057dd5c0f489fb4e37e1d67ec24fd47c9f0933f342f73ca68bfb5c4e31ea6f0ede182b629f5536075f351ca17e9f08d770aa90d41f98a98b564ec0997f3b126 + languageName: node + linkType: hard + +"ansi-escapes@npm:^3.2.0": + version: 3.2.0 + resolution: "ansi-escapes@npm:3.2.0" + checksum: 0f94695b677ea742f7f1eed961f7fd8d05670f744c6ad1f8f635362f6681dcfbc1575cb05b43abc7bb6d67e25a75fb8c7ea8f2a57330eb2c76b33f18cb2cef0a + languageName: node + linkType: hard + "ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -4102,6 +5581,27 @@ __metadata: languageName: node linkType: hard +"ansi-regex@npm:^2.0.0": + version: 2.1.1 + resolution: "ansi-regex@npm:2.1.1" + checksum: 190abd03e4ff86794f338a31795d262c1dfe8c91f7e01d04f13f646f1dcb16c5800818f886047876f1272f065570ab86b24b99089f8b68a0e11ff19aed4ca8f1 + languageName: node + linkType: hard + +"ansi-regex@npm:^3.0.0": + version: 3.0.1 + resolution: "ansi-regex@npm:3.0.1" + checksum: 09daf180c5f59af9850c7ac1bd7fda85ba596cc8cbeb210826e90755f06c818af86d9fa1e6e8322fab2c3b9e9b03f56c537b42241139f824dd75066a1e7257cc + languageName: node + linkType: hard + +"ansi-regex@npm:^4.1.0": + version: 4.1.1 + resolution: "ansi-regex@npm:4.1.1" + checksum: b1a6ee44cb6ecdabaa770b2ed500542714d4395d71c7e5c25baa631f680fb2ad322eb9ba697548d498a6fd366949fc8b5bfcf48d49a32803611f648005b01888 + languageName: node + linkType: hard + "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -4116,6 +5616,13 @@ __metadata: languageName: node linkType: hard +"ansi-styles@npm:^2.2.1": + version: 2.2.1 + resolution: "ansi-styles@npm:2.2.1" + checksum: ebc0e00381f2a29000d1dac8466a640ce11943cef3bda3cd0020dc042e31e1058ab59bf6169cd794a54c3a7338a61ebc404b7c91e004092dd20e028c432c9c2c + languageName: node + linkType: hard + "ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" @@ -4148,6 +5655,13 @@ __metadata: languageName: node linkType: hard +"any-promise@npm:^1.0.0": + version: 1.3.0 + resolution: "any-promise@npm:1.3.0" + checksum: 0ee8a9bdbe882c90464d75d1f55cf027f5458650c4bd1f0467e65aec38ccccda07ca5844969ee77ed46d04e7dded3eaceb027e8d32f385688523fe305fa7e1de + languageName: node + linkType: hard + "any-signal@npm:^2.1.0, any-signal@npm:^2.1.2": version: 2.1.2 resolution: "any-signal@npm:2.1.2" @@ -4342,6 +5856,15 @@ __metadata: languageName: node linkType: hard +"ast-stringify@npm:0.1.0": + version: 0.1.0 + resolution: "ast-stringify@npm:0.1.0" + dependencies: + "@babel/runtime": ^7.11.2 + checksum: 4098f5987bd0acaf6d24f4970df033c83f596aa940d9bfe2d21df00c7c184acc43fbf0255865f19fcb111136e5dfdec3dd0df845507db7164b971a3c00e60baa + languageName: node + linkType: hard + "astral-regex@npm:^2.0.0": version: 2.0.0 resolution: "astral-regex@npm:2.0.0" @@ -4448,7 +5971,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.3.3": +"babel-plugin-polyfill-corejs2@npm:^0.3.2, babel-plugin-polyfill-corejs2@npm:^0.3.3": version: 0.3.3 resolution: "babel-plugin-polyfill-corejs2@npm:0.3.3" dependencies: @@ -4461,6 +5984,18 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs3@npm:^0.5.3": + version: 0.5.3 + resolution: "babel-plugin-polyfill-corejs3@npm:0.5.3" + dependencies: + "@babel/helper-define-polyfill-provider": ^0.3.2 + core-js-compat: ^3.21.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 9c6644a1b0afbe59e402827fdafc6f44994ff92c5b2f258659cbbfd228f7075dea49e95114af10e66d70f36cbde12ff1d81263eb67be749b3ef0e2c18cf3c16d + languageName: node + linkType: hard + "babel-plugin-polyfill-corejs3@npm:^0.6.0": version: 0.6.0 resolution: "babel-plugin-polyfill-corejs3@npm:0.6.0" @@ -4473,7 +6008,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.4.1": +"babel-plugin-polyfill-regenerator@npm:^0.4.0, babel-plugin-polyfill-regenerator@npm:^0.4.1": version: 0.4.1 resolution: "babel-plugin-polyfill-regenerator@npm:0.4.1" dependencies: @@ -4683,6 +6218,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.21.10, browserslist@npm:^4.21.9": + version: 4.21.10 + resolution: "browserslist@npm:4.21.10" + dependencies: + caniuse-lite: ^1.0.30001517 + electron-to-chromium: ^1.4.477 + node-releases: ^2.0.13 + update-browserslist-db: ^1.0.11 + bin: + browserslist: cli.js + checksum: 1e27c0f111a35d1dd0e8fc2c61781b0daefabc2c9471b0b10537ce54843014bceb2a1ce4571af1a82b2bf1e6e6e05d38865916689a158f03bc2c7a4ec2577db8 + languageName: node + linkType: hard + "browserslist@npm:^4.21.3, browserslist@npm:^4.21.5": version: 4.21.5 resolution: "browserslist@npm:4.21.5" @@ -4801,6 +6350,13 @@ __metadata: languageName: node linkType: hard +"call-me-maybe@npm:^1.0.1": + version: 1.0.2 + resolution: "call-me-maybe@npm:1.0.2" + checksum: 42ff2d0bed5b207e3f0122589162eaaa47ba618f79ad2382fe0ba14d9e49fbf901099a6227440acc5946f86a4953e8aa2d242b330b0a5de4d090bb18f8935cae + languageName: node + linkType: hard + "callsites@npm:^3.0.0": version: 3.1.0 resolution: "callsites@npm:3.1.0" @@ -4829,6 +6385,20 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001517": + version: 1.0.30001522 + resolution: "caniuse-lite@npm:1.0.30001522" + checksum: 56e3551c02ae595085114073cf242f7d9d54d32255c80893ca9098a44f44fc6eef353936f234f31c7f4cb894dd2b6c9c4626e30649ee29e04d70aa127eeefeb0 + languageName: node + linkType: hard + +"case@npm:1.6.3": + version: 1.6.3 + resolution: "case@npm:1.6.3" + checksum: febe73278f910b0d28aab7efd6f51c235f9aa9e296148edb56dfb83fd58faa88308c30ce9a0122b6e53e0362c44f4407105bd5ef89c46860fc2b184e540fd68d + languageName: node + linkType: hard + "cborg@npm:^1.5.4": version: 1.10.2 resolution: "cborg@npm:1.10.2" @@ -4838,7 +6408,20 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0": +"chalk@npm:^1.0.0, chalk@npm:^1.1.3": + version: 1.1.3 + resolution: "chalk@npm:1.1.3" + dependencies: + ansi-styles: ^2.2.1 + escape-string-regexp: ^1.0.2 + has-ansi: ^2.0.0 + strip-ansi: ^3.0.0 + supports-color: ^2.0.0 + checksum: 9d2ea6b98fc2b7878829eec223abcf404622db6c48396a9b9257f6d0ead2acf18231ae368d6a664a83f272b0679158da12e97b5229f794939e555cc574478acd + languageName: node + linkType: hard + +"chalk@npm:^2.0.0, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -4876,6 +6459,20 @@ __metadata: languageName: node linkType: hard +"chardet@npm:^0.4.0": + version: 0.4.2 + resolution: "chardet@npm:0.4.2" + checksum: fec7a41f78b9c09ed29c44990a9a0fce7a946ab81298231045db5786719fef664cd9ff4217dd7159a9c35c81f32cede04619c45f9a96965ca2c1d8883f8cf433 + languageName: node + linkType: hard + +"chardet@npm:^0.7.0": + version: 0.7.0 + resolution: "chardet@npm:0.7.0" + checksum: 6fd5da1f5d18ff5712c1e0aed41da200d7c51c28f11b36ee3c7b483f3696dabc08927fc6b227735eb8f0e1215c9a8abd8154637f3eff8cada5959df7f58b024d + languageName: node + linkType: hard + "chokidar@npm:^3.5.2": version: 3.5.3 resolution: "chokidar@npm:3.5.3" @@ -4941,6 +6538,28 @@ __metadata: languageName: node linkType: hard +"cli-color@npm:^2.0.2": + version: 2.0.3 + resolution: "cli-color@npm:2.0.3" + dependencies: + d: ^1.0.1 + es5-ext: ^0.10.61 + es6-iterator: ^2.0.3 + memoizee: ^0.4.15 + timers-ext: ^0.1.7 + checksum: b1c5f3d0ec29cbe22be7a01d90bd0cfa080ffed6f1c321ea20ae3f10c6041f0e411e28ee2b98025945bee3548931deed1ae849b53c21b523ba74efef855cd73d + languageName: node + linkType: hard + +"cli-cursor@npm:^2.1.0": + version: 2.1.0 + resolution: "cli-cursor@npm:2.1.0" + dependencies: + restore-cursor: ^2.0.0 + checksum: d88e97bfdac01046a3ffe7d49f06757b3126559d7e44aa2122637eb179284dc6cd49fca2fac4f67c19faaf7e6dab716b6fe1dfcd309977407d8c7578ec2d044d + languageName: node + linkType: hard + "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -4977,6 +6596,13 @@ __metadata: languageName: node linkType: hard +"cli-width@npm:^2.0.0": + version: 2.2.1 + resolution: "cli-width@npm:2.2.1" + checksum: 3c21b897a2ff551ae5b3c3ab32c866ed2965dcf7fb442f81adf0e27f4a397925c8f84619af7bcc6354821303f6ee9b2aa31d248306174f32c287986158cf4eed + languageName: node + linkType: hard + "cliui@npm:^7.0.2": version: 7.0.4 resolution: "cliui@npm:7.0.4" @@ -5057,6 +6683,13 @@ __metadata: languageName: node linkType: hard +"colors@npm:^1.1.2": + version: 1.4.0 + resolution: "colors@npm:1.4.0" + checksum: 98aa2c2418ad87dedf25d781be69dc5fc5908e279d9d30c34d8b702e586a0474605b3a189511482b9d5ed0d20c867515d22749537f7bc546256c6014f3ebdcec + languageName: node + linkType: hard + "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -5143,6 +6776,15 @@ __metadata: languageName: node linkType: hard +"core-js-compat@npm:^3.21.0, core-js-compat@npm:^3.22.1": + version: 3.32.1 + resolution: "core-js-compat@npm:3.32.1" + dependencies: + browserslist: ^4.21.10 + checksum: 2ce0002d6d2acabfc6f4c1ea32915683406a10051a186db354b761303cb6f5728f83887d070fb8d0072b5601bb16cb0d24555ee72bfa6df244f7b3ef74d61f76 + languageName: node + linkType: hard + "core-js-compat@npm:^3.25.1": version: 3.30.2 resolution: "core-js-compat@npm:3.30.2" @@ -5248,6 +6890,23 @@ __metadata: languageName: node linkType: hard +"d@npm:1, d@npm:^1.0.1": + version: 1.0.1 + resolution: "d@npm:1.0.1" + dependencies: + es5-ext: ^0.10.50 + type: ^1.0.1 + checksum: 49ca0639c7b822db670de93d4fbce44b4aa072cd848c76292c9978a8cd0fff1028763020ff4b0f147bd77bfe29b4c7f82e0f71ade76b2a06100543cdfd948d19 + languageName: node + linkType: hard + +"dargs@npm:7.0.0": + version: 7.0.0 + resolution: "dargs@npm:7.0.0" + checksum: b8f1e3cba59c42e1f13a114ad4848c3fc1cf7470f633ee9e9f1043762429bc97d91ae31b826fb135eefde203a3fdb20deb0c0a0222ac29d937b8046085d668d1 + languageName: node + linkType: hard + "data-urls@npm:^2.0.0": version: 2.0.0 resolution: "data-urls@npm:2.0.0" @@ -5317,7 +6976,14 @@ __metadata: languageName: node linkType: hard -"deepmerge@npm:^4.2.2": +"deepmerge@npm:4.2.2": + version: 4.2.2 + resolution: "deepmerge@npm:4.2.2" + checksum: a8c43a1ed8d6d1ed2b5bf569fa4c8eb9f0924034baf75d5d406e47e157a451075c4db353efea7b6bcc56ec48116a8ce72fccf867b6e078e7c561904b5897530b + languageName: node + linkType: hard + +"deepmerge@npm:4.3.1, deepmerge@npm:^4.2.2": version: 4.3.1 resolution: "deepmerge@npm:4.3.1" checksum: 2024c6a980a1b7128084170c4cf56b0fd58a63f2da1660dcfe977415f27b17dbe5888668b59d0b063753f3220719d5e400b7f113609489c90160bb9a5518d052 @@ -5483,6 +7149,13 @@ __metadata: languageName: node linkType: hard +"dotty@npm:0.1.2": + version: 0.1.2 + resolution: "dotty@npm:0.1.2" + checksum: 164fb116036b0e582637fdb38ac6a56758713467d1d07d05f5a841ac1b62f1f882ca1260d5fb0546941bb5f6d333d954ff0d513e45be25af7fbf73d57be313de + languageName: node + linkType: hard + "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -5513,6 +7186,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.477": + version: 1.4.496 + resolution: "electron-to-chromium@npm:1.4.496" + checksum: b90cc4cc71691a9506bcce3b8b184d22794c58b4a2af5e95f7bc305b254e8c5af06b51e26f866d018aaf70b80e0fb498e3a196c5841765bcf05bac9f0f924624 + languageName: node + linkType: hard + "elliptic@npm:6.5.4, elliptic@npm:^6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" @@ -5710,6 +7390,50 @@ __metadata: languageName: node linkType: hard +"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.50, es5-ext@npm:^0.10.53, es5-ext@npm:^0.10.61, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2, es5-ext@npm:~0.10.46": + version: 0.10.62 + resolution: "es5-ext@npm:0.10.62" + dependencies: + es6-iterator: ^2.0.3 + es6-symbol: ^3.1.3 + next-tick: ^1.1.0 + checksum: 25f42f6068cfc6e393cf670bc5bba249132c5f5ec2dd0ed6e200e6274aca2fed8e9aec8a31c76031744c78ca283c57f0b41c7e737804c6328c7b8d3fbcba7983 + languageName: node + linkType: hard + +"es6-iterator@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-iterator@npm:2.0.3" + dependencies: + d: 1 + es5-ext: ^0.10.35 + es6-symbol: ^3.1.1 + checksum: 6e48b1c2d962c21dee604b3d9f0bc3889f11ed5a8b33689155a2065d20e3107e2a69cc63a71bd125aeee3a589182f8bbcb5c8a05b6a8f38fa4205671b6d09697 + languageName: node + linkType: hard + +"es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3": + version: 3.1.3 + resolution: "es6-symbol@npm:3.1.3" + dependencies: + d: ^1.0.1 + ext: ^1.1.2 + checksum: cd49722c2a70f011eb02143ef1c8c70658d2660dead6641e160b94619f408b9cf66425515787ffe338affdf0285ad54f4eae30ea5bd510e33f8659ec53bcaa70 + languageName: node + linkType: hard + +"es6-weak-map@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-weak-map@npm:2.0.3" + dependencies: + d: 1 + es5-ext: ^0.10.46 + es6-iterator: ^2.0.3 + es6-symbol: ^3.1.1 + checksum: 19ca15f46d50948ce78c2da5f21fb5b1ef45addd4fe17b5df952ff1f2a3d6ce4781249bc73b90995257264be2a98b2ec749bb2aba0c14b5776a1154178f9c927 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -5724,7 +7448,7 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^1.0.5": +"escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" checksum: 6092fda75c63b110c706b6a9bfde8a612ad595b628f0bd2147eea1d3406723020810e591effc7db1da91d80a71a737a313567c5abb3813e8d9c71f4aa595b410 @@ -6061,6 +7785,16 @@ __metadata: languageName: node linkType: hard +"event-emitter@npm:^0.3.5": + version: 0.3.5 + resolution: "event-emitter@npm:0.3.5" + dependencies: + d: 1 + es5-ext: ~0.10.14 + checksum: 27c1399557d9cd7e0aa0b366c37c38a4c17293e3a10258e8b692a847dd5ba9fb90429c3a5a1eeff96f31f6fa03ccbd31d8ad15e00540b22b22f01557be706030 + languageName: node + linkType: hard + "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -6167,6 +7901,37 @@ __metadata: languageName: node linkType: hard +"ext@npm:^1.1.2": + version: 1.7.0 + resolution: "ext@npm:1.7.0" + dependencies: + type: ^2.7.2 + checksum: ef481f9ef45434d8c867cfd09d0393b60945b7c8a1798bedc4514cb35aac342ccb8d8ecb66a513e6a2b4ec1e294a338e3124c49b29736f8e7c735721af352c31 + languageName: node + linkType: hard + +"external-editor@npm:^2.0.4": + version: 2.2.0 + resolution: "external-editor@npm:2.2.0" + dependencies: + chardet: ^0.4.0 + iconv-lite: ^0.4.17 + tmp: ^0.0.33 + checksum: 5e164e033ed93fcbfe311b5760b98e292685ea58e6e62737365de2d625d0043d60b36c5b537795c496b520db568d9e5f5109994e869ca0d9b6b443aacf533efe + languageName: node + linkType: hard + +"external-editor@npm:^3.0.3": + version: 3.1.0 + resolution: "external-editor@npm:3.1.0" + dependencies: + chardet: ^0.7.0 + iconv-lite: ^0.4.24 + tmp: ^0.0.33 + checksum: 1c2a616a73f1b3435ce04030261bed0e22d4737e14b090bb48e58865da92529c9f2b05b893de650738d55e692d071819b45e1669259b2b354bc3154d27a698c7 + languageName: node + linkType: hard + "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -6247,6 +8012,15 @@ __metadata: languageName: node linkType: hard +"figures@npm:^2.0.0": + version: 2.0.0 + resolution: "figures@npm:2.0.0" + dependencies: + escape-string-regexp: ^1.0.5 + checksum: 081beb16ea57d1716f8447c694f637668322398b57017b20929376aaf5def9823b35245b734cdd87e4832dc96e9c6f46274833cada77bfe15e5f980fea1fd21f + languageName: node + linkType: hard + "file-entry-cache@npm:^6.0.1": version: 6.0.1 resolution: "file-entry-cache@npm:6.0.1" @@ -6343,6 +8117,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.1.0": + version: 3.1.1 + resolution: "foreground-child@npm:3.1.1" + dependencies: + cross-spawn: ^7.0.0 + signal-exit: ^4.0.1 + checksum: 139d270bc82dc9e6f8bc045fe2aae4001dc2472157044fdfad376d0a3457f77857fa883c1c8b21b491c6caade9a926a4bed3d3d2e8d3c9202b151a4cbbd0bcd5 + languageName: node + linkType: hard + "form-data@npm:^3.0.0": version: 3.0.1 resolution: "form-data@npm:3.0.1" @@ -6390,6 +8174,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^11.1.1": + version: 11.1.1 + resolution: "fs-extra@npm:11.1.1" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: fb883c68245b2d777fbc1f2082c9efb084eaa2bbf9fddaa366130d196c03608eebef7fb490541276429ee1ca99f317e2d73e96f5ca0999eefedf5a624ae1edfd + languageName: node + linkType: hard + "fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -6451,6 +8246,13 @@ __metadata: languageName: node linkType: hard +"fuzzy@npm:0.1.3": + version: 0.1.3 + resolution: "fuzzy@npm:0.1.3" + checksum: acc09c6173e12d5dc8ae51857551ddbe834befa9ebc6be6d5581d09117265d704809d80407d220fd0652f347a9975a4d106854cacc8bd031487a0ede86982f84 + languageName: node + linkType: hard + "gauge@npm:^4.0.3": version: 4.0.4 resolution: "gauge@npm:4.0.4" @@ -6507,6 +8309,13 @@ __metadata: languageName: node linkType: hard +"get-stdin@npm:^8.0.0": + version: 8.0.0 + resolution: "get-stdin@npm:8.0.0" + checksum: 40128b6cd25781ddbd233344f1a1e4006d4284906191ed0a7d55ec2c1a3e44d650f280b2c9eeab79c03ac3037da80257476c0e4e5af38ddfb902d6ff06282d77 + languageName: node + linkType: hard + "get-stream@npm:^5.0.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -6551,7 +8360,46 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4": +"glob-promise@npm:^4.2.2": + version: 4.2.2 + resolution: "glob-promise@npm:4.2.2" + dependencies: + "@types/glob": ^7.1.3 + peerDependencies: + glob: ^7.1.6 + checksum: c1a3d95f7c8393e4151d4899ec4e42bb2e8237160f840ad1eccbe9247407da8b6c13e28f463022e011708bc40862db87b9b77236d35afa3feb8aa86d518f2dfe + languageName: node + linkType: hard + +"glob@npm:8.0.3": + version: 8.0.3 + resolution: "glob@npm:8.0.3" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^5.0.1 + once: ^1.3.0 + checksum: 50bcdea19d8e79d8de5f460b1939ffc2b3299eac28deb502093fdca22a78efebc03e66bf54f0abc3d3d07d8134d19a32850288b7440d77e072aa55f9d33b18c5 + languageName: node + linkType: hard + +"glob@npm:^10.0.0": + version: 10.3.3 + resolution: "glob@npm:10.3.3" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^2.0.3 + minimatch: ^9.0.1 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + path-scurry: ^1.10.1 + bin: + glob: dist/cjs/src/bin.js + checksum: 29190d3291f422da0cb40b77a72fc8d2c51a36524e99b8bf412548b7676a6627489528b57250429612b6eec2e6fe7826d328451d3e694a9d15e575389308ec53 + languageName: node + linkType: hard + +"glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -6665,6 +8513,15 @@ __metadata: languageName: node linkType: hard +"has-ansi@npm:^2.0.0": + version: 2.0.0 + resolution: "has-ansi@npm:2.0.0" + dependencies: + ansi-regex: ^2.0.0 + checksum: 1b51daa0214440db171ff359d0a2d17bc20061164c57e76234f614c91dbd2a79ddd68dfc8ee73629366f7be45a6df5f2ea9de83f52e1ca24433f2cc78c35d8ec + languageName: node + linkType: hard + "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -6864,7 +8721,7 @@ __metadata: languageName: node linkType: hard -"iconv-lite@npm:0.4.24": +"iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.17, iconv-lite@npm:^0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" dependencies: @@ -6977,6 +8834,82 @@ __metadata: languageName: node linkType: hard +"inherits@npm:2.0.3": + version: 2.0.3 + resolution: "inherits@npm:2.0.3" + checksum: 78cb8d7d850d20a5e9a7f3620db31483aa00ad5f722ce03a55b110e5a723539b3716a3b463e2b96ce3fe286f33afc7c131fa2f91407528ba80cea98a7545d4c0 + languageName: node + linkType: hard + +"inquirer-autocomplete-prompt@npm:^0.11.1": + version: 0.11.1 + resolution: "inquirer-autocomplete-prompt@npm:0.11.1" + dependencies: + ansi-escapes: ^2.0.0 + chalk: ^1.1.3 + figures: ^2.0.0 + inquirer: 3.1.1 + lodash: ^4.17.4 + run-async: ^2.3.0 + util: ^0.10.3 + checksum: 6c5fa7483bf5e6470256ed591828b289e25c0c234828add386179be834f6392b4d67ee2c897cd049ed5cf4e7802df07189fd8e78908c389e1821e7fc1b22b945 + languageName: node + linkType: hard + +"inquirer@npm:3.1.1": + version: 3.1.1 + resolution: "inquirer@npm:3.1.1" + dependencies: + ansi-escapes: ^2.0.0 + chalk: ^1.0.0 + cli-cursor: ^2.1.0 + cli-width: ^2.0.0 + external-editor: ^2.0.4 + figures: ^2.0.0 + lodash: ^4.3.0 + mute-stream: 0.0.7 + run-async: ^2.2.0 + rx-lite: ^4.0.8 + rx-lite-aggregates: ^4.0.8 + string-width: ^2.0.0 + strip-ansi: ^3.0.0 + through: ^2.3.6 + checksum: 8769dd0020aeb7afba831448de20a1dfec98ef55c12ebf16e23aee475b9163a5297b6e65f0ca6c99d4bd79647870f2892e7ed9e3fe800af905d824d7320fa9d4 + languageName: node + linkType: hard + +"inquirer@npm:^6.0.0": + version: 6.5.2 + resolution: "inquirer@npm:6.5.2" + dependencies: + ansi-escapes: ^3.2.0 + chalk: ^2.4.2 + cli-cursor: ^2.1.0 + cli-width: ^2.0.0 + external-editor: ^3.0.3 + figures: ^2.0.0 + lodash: ^4.17.12 + mute-stream: 0.0.7 + run-async: ^2.2.0 + rxjs: ^6.4.0 + string-width: ^2.1.0 + strip-ansi: ^5.1.0 + through: ^2.3.6 + checksum: 175ad4cd1ebed493b231b240185f1da5afeace5f4e8811dfa83cf55dcae59c3255eaed990aa71871b0fd31aa9dc212f43c44c50ed04fb529364405e72f484d28 + languageName: node + linkType: hard + +"inquirerer@npm:0.1.3": + version: 0.1.3 + resolution: "inquirerer@npm:0.1.3" + dependencies: + colors: ^1.1.2 + inquirer: ^6.0.0 + inquirer-autocomplete-prompt: ^0.11.1 + checksum: c5d0e02aea287deb5e6fade4a6ae98fd43868f1058189c7728ef6fecafe63265420fe30fc99e0fdb78acc3161abc12095181649e1e1be02be18c7aea4af3ead9 + languageName: node + linkType: hard + "interface-datastore@npm:^5.2.0": version: 5.2.0 resolution: "interface-datastore@npm:5.2.0" @@ -7012,6 +8945,13 @@ __metadata: languageName: node linkType: hard +"interpret@npm:^1.0.0": + version: 1.4.0 + resolution: "interpret@npm:1.4.0" + checksum: 2e5f51268b5941e4a17e4ef0575bc91ed0ab5f8515e3cf77486f7c14d13f3010df9c0959f37063dcc96e78d12dc6b0bb1b9e111cdfe69771f4656d2993d36155 + languageName: node + linkType: hard + "ip-regex@npm:^4.0.0": version: 4.3.0 resolution: "ip-regex@npm:4.3.0" @@ -7193,6 +9133,15 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.13.0": + version: 2.13.0 + resolution: "is-core-module@npm:2.13.0" + dependencies: + has: ^1.0.3 + checksum: 053ab101fb390bfeb2333360fd131387bed54e476b26860dc7f5a700bbf34a0ec4454f7c8c4d43e8a0030957e4b3db6e16d35e1890ea6fb654c833095e040355 + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -7216,6 +9165,13 @@ __metadata: languageName: node linkType: hard +"is-fullwidth-code-point@npm:^2.0.0": + version: 2.0.0 + resolution: "is-fullwidth-code-point@npm:2.0.0" + checksum: eef9c6e15f68085fec19ff6a978a6f1b8f48018fd1265035552078ee945573594933b09bbd6f562553e2a241561439f1ef5339276eba68d272001343084cfab8 + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -7327,6 +9283,13 @@ __metadata: languageName: node linkType: hard +"is-promise@npm:^2.2.2": + version: 2.2.2 + resolution: "is-promise@npm:2.2.2" + checksum: 18bf7d1c59953e0ad82a1ed963fb3dc0d135c8f299a14f89a17af312fc918373136e56028e8831700e1933519630cc2fd4179a777030330fde20d34e96f40c78 + languageName: node + linkType: hard + "is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -7576,6 +9539,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^2.0.3": + version: 2.3.0 + resolution: "jackspeak@npm:2.3.0" + dependencies: + "@isaacs/cliui": ^8.0.2 + "@pkgjs/parseargs": ^0.11.0 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 71bf716f4b5793226d4aeb9761ebf2605ee093b59f91a61451d57d998dd64bbf2b54323fb749b8b2ae8b6d8a463de4f6e3fedab50108671f247bbc80195a6306 + languageName: node + linkType: hard + "jest-changed-files@npm:^27.5.1": version: 27.5.1 resolution: "jest-changed-files@npm:27.5.1" @@ -7772,6 +9748,29 @@ __metadata: languageName: node linkType: hard +"jest-haste-map@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-haste-map@npm:28.1.3" + dependencies: + "@jest/types": ^28.1.3 + "@types/graceful-fs": ^4.1.3 + "@types/node": "*" + anymatch: ^3.0.3 + fb-watchman: ^2.0.0 + fsevents: ^2.3.2 + graceful-fs: ^4.2.9 + jest-regex-util: ^28.0.2 + jest-util: ^28.1.3 + jest-worker: ^28.1.3 + micromatch: ^4.0.4 + walker: ^1.0.8 + dependenciesMeta: + fsevents: + optional: true + checksum: d05fdc108645fc2b39fcd4001952cc7a8cb550e93494e98c1e9ab1fc542686f6ac67177c132e564cf94fe8f81503f3f8db8b825b9b713dc8c5748aec63ba4688 + languageName: node + linkType: hard + "jest-jasmine2@npm:^27.5.1": version: 27.5.1 resolution: "jest-jasmine2@npm:27.5.1" @@ -7865,6 +9864,13 @@ __metadata: languageName: node linkType: hard +"jest-regex-util@npm:^28.0.2": + version: 28.0.2 + resolution: "jest-regex-util@npm:28.0.2" + checksum: 0ea8c5c82ec88bc85e273c0ec82e0c0f35f7a1e2d055070e50f0cc2a2177f848eec55f73e37ae0d045c3db5014c42b2f90ac62c1ab3fdb354d2abd66a9e08add + languageName: node + linkType: hard + "jest-resolve-dependencies@npm:^27.5.1": version: 27.5.1 resolution: "jest-resolve-dependencies@npm:27.5.1" @@ -8007,6 +10013,20 @@ __metadata: languageName: node linkType: hard +"jest-util@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-util@npm:28.1.3" + dependencies: + "@jest/types": ^28.1.3 + "@types/node": "*" + chalk: ^4.0.0 + ci-info: ^3.2.0 + graceful-fs: ^4.2.9 + picomatch: ^2.2.3 + checksum: fd6459742c941f070223f25e38a2ac0719aad92561591e9fb2a50d602a5d19d754750b79b4074327a42b00055662b95da3b006542ceb8b54309da44d4a62e721 + languageName: node + linkType: hard + "jest-validate@npm:^27.5.1": version: 27.5.1 resolution: "jest-validate@npm:27.5.1" @@ -8047,6 +10067,17 @@ __metadata: languageName: node linkType: hard +"jest-worker@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-worker@npm:28.1.3" + dependencies: + "@types/node": "*" + merge-stream: ^2.0.0 + supports-color: ^8.0.0 + checksum: e921c9a1b8f0909da9ea07dbf3592f95b653aef3a8bb0cbcd20fc7f9a795a1304adecac31eecb308992c167e8d7e75c522061fec38a5928ace0f9571c90169ca + languageName: node + linkType: hard + "jest@npm:^27.4.7": version: 27.5.1 resolution: "jest@npm:27.5.1" @@ -8188,7 +10219,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:2.x, json5@npm:^2.2.2": +"json5@npm:2.x, json5@npm:^2.2.1, json5@npm:^2.2.2": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -8493,7 +10524,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.21, lodash@npm:^4.7.0": +"lodash@npm:^4.17.12, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.3.0, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -8529,6 +10560,13 @@ __metadata: languageName: node linkType: hard +"long@npm:^5.0.0, long@npm:^5.2.0, long@npm:^5.2.1": + version: 5.2.3 + resolution: "long@npm:5.2.3" + checksum: 885ede7c3de4facccbd2cacc6168bae3a02c3e836159ea4252c87b6e34d40af819824b2d4edce330bfb5c4d6e8ce3ec5864bdcf9473fa1f53a4f8225860e5897 + languageName: node + linkType: hard + "loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" @@ -8565,10 +10603,26 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^7.7.1": - version: 7.18.3 - resolution: "lru-cache@npm:7.18.3" - checksum: e550d772384709deea3f141af34b6d4fa392e2e418c1498c078de0ee63670f1f46f5eee746e8ef7e69e1c895af0d4224e62ee33e66a543a14763b0f2e74c1356 +"lru-cache@npm:^7.7.1": + version: 7.18.3 + resolution: "lru-cache@npm:7.18.3" + checksum: e550d772384709deea3f141af34b6d4fa392e2e418c1498c078de0ee63670f1f46f5eee746e8ef7e69e1c895af0d4224e62ee33e66a543a14763b0f2e74c1356 + languageName: node + linkType: hard + +"lru-cache@npm:^9.1.1 || ^10.0.0": + version: 10.0.1 + resolution: "lru-cache@npm:10.0.1" + checksum: 06f8d0e1ceabd76bb6f644a26dbb0b4c471b79c7b514c13c6856113879b3bf369eb7b497dad4ff2b7e2636db202412394865b33c332100876d838ad1372f0181 + languageName: node + linkType: hard + +"lru-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "lru-queue@npm:0.1.0" + dependencies: + es5-ext: ~0.10.2 + checksum: 7f2c53c5e7f2de20efb6ebb3086b7aea88d6cf9ae91ac5618ece974122960c4e8ed04988e81d92c3e63d60b12c556b14d56ef7a9c5a4627b23859b813e39b1a2 languageName: node linkType: hard @@ -8651,6 +10705,22 @@ __metadata: languageName: node linkType: hard +"memoizee@npm:^0.4.15": + version: 0.4.15 + resolution: "memoizee@npm:0.4.15" + dependencies: + d: ^1.0.1 + es5-ext: ^0.10.53 + es6-weak-map: ^2.0.3 + event-emitter: ^0.3.5 + is-promise: ^2.2.2 + lru-queue: ^0.1.0 + next-tick: ^1.1.0 + timers-ext: ^0.1.7 + checksum: 4065d94416dbadac56edf5947bf342beca0e9f051f33ad60d7c4baf3f6ca0f3c6fdb770c5caed5a89c0ceaf9121428582f396445d591785281383d60aa883418 + languageName: node + linkType: hard + "merge-descriptors@npm:1.0.1": version: 1.0.1 resolution: "merge-descriptors@npm:1.0.1" @@ -8739,6 +10809,13 @@ __metadata: languageName: node linkType: hard +"mimic-fn@npm:^1.0.0": + version: 1.2.0 + resolution: "mimic-fn@npm:1.2.0" + checksum: 69c08205156a1f4906d9c46f9b4dc08d18a50176352e77fdeb645cedfe9f20c0b19865d465bd2dec27a5c432347f24dc07fc3695e11159d193f892834233e939 + languageName: node + linkType: hard + "mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" @@ -8760,6 +10837,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:5.1.0": + version: 5.1.0 + resolution: "minimatch@npm:5.1.0" + dependencies: + brace-expansion: ^2.0.1 + checksum: 15ce53d31a06361e8b7a629501b5c75491bc2b59712d53e802b1987121d91b433d73fcc5be92974fde66b2b51d8fb28d75a9ae900d249feb792bb1ba2a4f0a90 + languageName: node + linkType: hard + "minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -8778,7 +10864,23 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.6": +"minimatch@npm:^9.0.1": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: ^2.0.1 + checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + languageName: node + linkType: hard + +"minimist@npm:1.2.6": + version: 1.2.6 + resolution: "minimist@npm:1.2.6" + checksum: d15428cd1e11eb14e1233bcfb88ae07ed7a147de251441d61158619dfb32c4d7e9061d09cab4825fdee18ecd6fce323228c8c47b5ba7cd20af378ca4048fb3fb + languageName: node + linkType: hard + +"minimist@npm:1.2.8, minimist@npm:^1.2.0, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 @@ -8859,6 +10961,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0": + version: 7.0.3 + resolution: "minipass@npm:7.0.3" + checksum: 6f1614f5b5b55568a46bca5fec0e7c46dac027691db27d0e1923a8192866903144cd962ac772c0e9f89b608ea818b702709c042bce98e190d258847d85461531 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -8869,6 +10978,24 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:1.0.4, mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": + version: 1.0.4 + resolution: "mkdirp@npm:1.0.4" + bin: + mkdirp: bin/cmd.js + checksum: a96865108c6c3b1b8e1d5e9f11843de1e077e57737602de1b82030815f311be11f96f09cce59bd5b903d0b29834733e5313f9301e3ed6d6f6fba2eae0df4298f + languageName: node + linkType: hard + +"mkdirp@npm:3.0.0": + version: 3.0.0 + resolution: "mkdirp@npm:3.0.0" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: a17062c41d10ee91a25127c594d919767517ba08e547aeaa4272ec0c03a0c6d7a07a2d5a5aa1ba8621716df57b5f09a4c9ec0dfbda81b8aad166daf744fb04b6 + languageName: node + linkType: hard + "mkdirp@npm:^0.5.4": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" @@ -8880,15 +11007,6 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": - version: 1.0.4 - resolution: "mkdirp@npm:1.0.4" - bin: - mkdirp: bin/cmd.js - checksum: a96865108c6c3b1b8e1d5e9f11843de1e077e57737602de1b82030815f311be11f96f09cce59bd5b903d0b29834733e5313f9301e3ed6d6f6fba2eae0df4298f - languageName: node - linkType: hard - "moment-timezone@npm:^0.5.35, moment-timezone@npm:~0.5": version: 0.5.43 resolution: "moment-timezone@npm:0.5.43" @@ -8991,6 +11109,24 @@ __metadata: languageName: node linkType: hard +"mute-stream@npm:0.0.7": + version: 0.0.7 + resolution: "mute-stream@npm:0.0.7" + checksum: a9d4772c1c84206aa37c218ed4751cd060239bf1d678893124f51e037f6f22f4a159b2918c030236c93252638a74beb29c9b1fd3267c9f24d4b3253cf1eaa86f + languageName: node + linkType: hard + +"mz@npm:^2.7.0": + version: 2.7.0 + resolution: "mz@npm:2.7.0" + dependencies: + any-promise: ^1.0.0 + object-assign: ^4.0.1 + thenify-all: ^1.0.0 + checksum: 8427de0ece99a07e9faed3c0c6778820d7543e3776f9a84d22cf0ec0a8eb65f6e9aee9c9d353ff9a105ff62d33a9463c6ca638974cc652ee8140cd1e35951c87 + languageName: node + linkType: hard + "nanoid@npm:^3.0.2, nanoid@npm:^3.1.12, nanoid@npm:^3.1.20": version: 3.3.6 resolution: "nanoid@npm:3.3.6" @@ -9046,6 +11182,13 @@ __metadata: languageName: node linkType: hard +"next-tick@npm:1, next-tick@npm:^1.1.0": + version: 1.1.0 + resolution: "next-tick@npm:1.1.0" + checksum: 83b5cf36027a53ee6d8b7f9c0782f2ba87f4858d977342bfc3c20c21629290a2111f8374d13a81221179603ffc4364f38374b5655d17b6a8f8a8c77bdea4fe8b + languageName: node + linkType: hard + "node-fetch@npm:2.6.7": version: 2.6.7 resolution: "node-fetch@npm:2.6.7" @@ -9098,6 +11241,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.13": + version: 2.0.13 + resolution: "node-releases@npm:2.0.13" + checksum: 17ec8f315dba62710cae71a8dad3cd0288ba943d2ece43504b3b1aa8625bf138637798ab470b1d9035b0545996f63000a8a926e0f6d35d0996424f8b6d36dda3 + languageName: node + linkType: hard + "node-releases@npm:^2.0.8": version: 2.0.12 resolution: "node-releases@npm:2.0.12" @@ -9182,7 +11332,7 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:^4, object-assign@npm:^4.1.1": +"object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: fcc6e4ea8c7fe48abfbb552578b1c53e0d194086e2e6bbbf59e0a536381a292f39943c6e9628af05b5528aa5e3318bb30d6b2e53cadaf5b8fe9e12c4b69af23f @@ -9244,6 +11394,15 @@ __metadata: languageName: node linkType: hard +"onetime@npm:^2.0.0": + version: 2.0.1 + resolution: "onetime@npm:2.0.1" + dependencies: + mimic-fn: ^1.0.0 + checksum: bb44015ac7a525d0fb43b029a583d4ad359834632b4424ca209b438aacf6d669dda81b5edfbdb42c22636e607b276ba5589f46694a729e3bc27948ce26f4cc1a + languageName: node + linkType: hard + "onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" @@ -9308,6 +11467,13 @@ __metadata: languageName: node linkType: hard +"os-tmpdir@npm:~1.0.2": + version: 1.0.2 + resolution: "os-tmpdir@npm:1.0.2" + checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d + languageName: node + linkType: hard + "p-defer@npm:^3.0.0": version: 3.0.0 resolution: "p-defer@npm:3.0.0" @@ -9419,6 +11585,13 @@ __metadata: languageName: node linkType: hard +"parse-package-name@npm:1.0.0": + version: 1.0.0 + resolution: "parse-package-name@npm:1.0.0" + checksum: dfbfa8ce7a1f84340a59b2b5dd7d64f2de49a8cbd22621714d5042b7cce436e726b081e400e66341a1d27f1dd50c5c55c48be308e03415b567dc6a1d71314168 + languageName: node + linkType: hard + "parse5@npm:6.0.1": version: 6.0.1 resolution: "parse5@npm:6.0.1" @@ -9461,6 +11634,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.10.1": + version: 1.10.1 + resolution: "path-scurry@npm:1.10.1" + dependencies: + lru-cache: ^9.1.1 || ^10.0.0 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + checksum: e2557cff3a8fb8bc07afdd6ab163a92587884f9969b05bbbaf6fe7379348bfb09af9ed292af12ed32398b15fb443e81692047b786d1eeb6d898a51eb17ed7d90 + languageName: node + linkType: hard + "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -9688,7 +11871,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.5.1": +"prettier@npm:^2.5.1, prettier@npm:^2.6.2": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -9811,6 +11994,26 @@ __metadata: languageName: node linkType: hard +"protobufjs@npm:^7.2.4": + version: 7.2.4 + resolution: "protobufjs@npm:7.2.4" + dependencies: + "@protobufjs/aspromise": ^1.1.2 + "@protobufjs/base64": ^1.1.2 + "@protobufjs/codegen": ^2.0.4 + "@protobufjs/eventemitter": ^1.1.0 + "@protobufjs/fetch": ^1.1.0 + "@protobufjs/float": ^1.0.2 + "@protobufjs/inquire": ^1.1.0 + "@protobufjs/path": ^1.1.2 + "@protobufjs/pool": ^1.1.0 + "@protobufjs/utf8": ^1.1.0 + "@types/node": ">=13.7.0" + long: ^5.0.0 + checksum: a952cdf2a5e5250c16ae651b570849b6f5b20a5475c3eef63ffb290ad239aa2916adfc1cc676f7fc93c69f48113df268761c0c246f7f023118c85bdd1a170044 + languageName: node + linkType: hard + "proxy-addr@npm:~2.0.7": version: 2.0.7 resolution: "proxy-addr@npm:2.0.7" @@ -9994,6 +12197,15 @@ __metadata: languageName: node linkType: hard +"rechoir@npm:^0.6.2": + version: 0.6.2 + resolution: "rechoir@npm:0.6.2" + dependencies: + resolve: ^1.1.6 + checksum: fe76bf9c21875ac16e235defedd7cbd34f333c02a92546142b7911a0f7c7059d2e16f441fe6fb9ae203f459c05a31b2bcf26202896d89e390eda7514d5d2702b + languageName: node + linkType: hard + "reflect-metadata@npm:^0.1.13": version: 0.1.13 resolution: "reflect-metadata@npm:0.1.13" @@ -10024,6 +12236,13 @@ __metadata: languageName: node linkType: hard +"regenerator-runtime@npm:^0.14.0": + version: 0.14.0 + resolution: "regenerator-runtime@npm:0.14.0" + checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3 + languageName: node + linkType: hard + "regenerator-transform@npm:^0.15.1": version: 0.15.1 resolution: "regenerator-transform@npm:0.15.1" @@ -10033,6 +12252,15 @@ __metadata: languageName: node linkType: hard +"regenerator-transform@npm:^0.15.2": + version: 0.15.2 + resolution: "regenerator-transform@npm:0.15.2" + dependencies: + "@babel/runtime": ^7.8.4 + checksum: 20b6f9377d65954980fe044cfdd160de98df415b4bff38fbade67b3337efaf078308c4fed943067cd759827cc8cfeca9cb28ccda1f08333b85d6a2acbd022c27 + languageName: node + linkType: hard + "regexp.prototype.flags@npm:^1.4.3": version: 1.5.0 resolution: "regexp.prototype.flags@npm:1.5.0" @@ -10120,6 +12348,19 @@ __metadata: languageName: node linkType: hard +"resolve@npm:^1.1.6": + version: 1.22.4 + resolution: "resolve@npm:1.22.4" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: 23f25174c2736ce24c6d918910e0d1f89b6b38fefa07a995dff864acd7863d59a7f049e691f93b4b2ee29696303390d921552b6d1b841ed4a8101f517e1d0124 + languageName: node + linkType: hard + "resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1": version: 1.22.3 resolution: "resolve@npm:1.22.3" @@ -10133,6 +12374,19 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@^1.1.6#~builtin": + version: 1.22.4 + resolution: "resolve@patch:resolve@npm%3A1.22.4#~builtin::version=1.22.4&hash=07638b" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: c45f2545fdc4d21883861b032789e20aa67a2f2692f68da320cc84d5724cd02f2923766c5354b3210897e88f1a7b3d6d2c7c22faeead8eed7078e4c783a444bc + languageName: node + linkType: hard + "resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin": version: 1.22.3 resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=07638b" @@ -10153,6 +12407,16 @@ __metadata: languageName: node linkType: hard +"restore-cursor@npm:^2.0.0": + version: 2.0.0 + resolution: "restore-cursor@npm:2.0.0" + dependencies: + onetime: ^2.0.0 + signal-exit: ^3.0.2 + checksum: 482e13d02d834b6e5e3aa90304a8b5e840775d6f06916cc92a50038adf9f098dcc72405b567da8a37e137ae40ad3e31896fa3136ae62f7a426c2fbf53d036536 + languageName: node + linkType: hard + "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -10198,7 +12462,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": +"rimraf@npm:3.0.2, rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" dependencies: @@ -10209,6 +12473,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:5.0.0": + version: 5.0.0 + resolution: "rimraf@npm:5.0.0" + dependencies: + glob: ^10.0.0 + bin: + rimraf: dist/cjs/src/bin.js + checksum: 60c5a7f152014d4f6bbf23f48e6badd145960a9be1115b719a07ba688c760b1bb8270abd6650bbd184ae2011843d8e9c775409652c89ff97550418aa5d581b27 + languageName: node + linkType: hard + "rlp@npm:^2.2.3": version: 2.2.7 resolution: "rlp@npm:2.2.7" @@ -10227,6 +12502,13 @@ __metadata: languageName: node linkType: hard +"run-async@npm:^2.2.0, run-async@npm:^2.3.0": + version: 2.4.1 + resolution: "run-async@npm:2.4.1" + checksum: a2c88aa15df176f091a2878eb840e68d0bdee319d8d97bbb89112223259cebecb94bc0defd735662b83c2f7a30bed8cddb7d1674eb48ae7322dc602b22d03797 + languageName: node + linkType: hard + "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -10236,6 +12518,22 @@ __metadata: languageName: node linkType: hard +"rx-lite-aggregates@npm:^4.0.8": + version: 4.0.8 + resolution: "rx-lite-aggregates@npm:4.0.8" + dependencies: + rx-lite: "*" + checksum: e25fde5fa17c2160f3f2948e13096b3e20992ab732786c2b9103a092c9251d65d8b262a8d98a0d63317655fbbf95cd428a400cbeecdd4e58e9c2c11fd8b709d2 + languageName: node + linkType: hard + +"rx-lite@npm:*, rx-lite@npm:^4.0.8": + version: 4.0.8 + resolution: "rx-lite@npm:4.0.8" + checksum: 9caeaa6d6dbb1256eaf0b5207a90c3d57d79fc13ddc8ca7303847c157259b1d5913a4408ea37b7b2799a00c0ec7ec3925b2612198103387e471e0b4f8ca6f8b2 + languageName: node + linkType: hard + "rxjs@npm:7.8.1, rxjs@npm:^7.5.2, rxjs@npm:^7.5.5": version: 7.8.1 resolution: "rxjs@npm:7.8.1" @@ -10245,6 +12543,15 @@ __metadata: languageName: node linkType: hard +"rxjs@npm:^6.4.0": + version: 6.6.7 + resolution: "rxjs@npm:6.6.7" + dependencies: + tslib: ^1.9.0 + checksum: bc334edef1bb8bbf56590b0b25734ba0deaf8825b703256a93714308ea36dff8a11d25533671adf8e104e5e8f256aa6fdfe39b2e248cdbd7a5f90c260acbbd1b + languageName: node + linkType: hard + "safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" @@ -10329,6 +12636,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^6.3.1": + version: 6.3.1 + resolution: "semver@npm:6.3.1" + bin: + semver: bin/semver.js + checksum: ae47d06de28836adb9d3e25f22a92943477371292d9b665fb023fae278d345d508ca1958232af086d85e0155aee22e313e100971898bbb8d5d89b8b1d4054ca2 + languageName: node + linkType: hard + "semver@npm:~7.0.0": version: 7.0.0 resolution: "semver@npm:7.0.0" @@ -10420,6 +12736,19 @@ __metadata: languageName: node linkType: hard +"shelljs@npm:0.8.5": + version: 0.8.5 + resolution: "shelljs@npm:0.8.5" + dependencies: + glob: ^7.0.0 + interpret: ^1.0.0 + rechoir: ^0.6.2 + bin: + shjs: bin/shjs + checksum: 7babc46f732a98f4c054ec1f048b55b9149b98aa2da32f6cf9844c434b43c6251efebd6eec120937bd0999e13811ebd45efe17410edb3ca938f82f9381302748 + languageName: node + linkType: hard + "side-channel@npm:^1.0.4": version: 1.0.4 resolution: "side-channel@npm:1.0.4" @@ -10438,6 +12767,13 @@ __metadata: languageName: node linkType: hard +"signal-exit@npm:^4.0.1": + version: 4.1.0 + resolution: "signal-exit@npm:4.1.0" + checksum: 64c757b498cb8629ffa5f75485340594d2f8189e9b08700e69199069c8e3070fb3e255f7ab873c05dc0b3cec412aea7402e10a5990cb6a050bd33ba062a6c549 + languageName: node + linkType: hard + "simple-update-notifier@npm:^1.0.7": version: 1.1.0 resolution: "simple-update-notifier@npm:1.1.0" @@ -10643,7 +12979,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -10654,7 +12990,17 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^5.0.0": +"string-width@npm:^2.0.0, string-width@npm:^2.1.0": + version: 2.1.1 + resolution: "string-width@npm:2.1.1" + dependencies: + is-fullwidth-code-point: ^2.0.0 + strip-ansi: ^4.0.0 + checksum: d6173abe088c615c8dffaf3861dc5d5906ed3dc2d6fd67ff2bd2e2b5dce7fd683c5240699cf0b1b8aa679a3b3bd6b28b5053c824cb89b813d7f6541d8f89064a + languageName: node + linkType: hard + +"string-width@npm:^5.0.0, string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" dependencies: @@ -10716,7 +13062,7 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" dependencies: @@ -10725,6 +13071,33 @@ __metadata: languageName: node linkType: hard +"strip-ansi@npm:^3.0.0": + version: 3.0.1 + resolution: "strip-ansi@npm:3.0.1" + dependencies: + ansi-regex: ^2.0.0 + checksum: 9b974de611ce5075c70629c00fa98c46144043db92ae17748fb780f706f7a789e9989fd10597b7c2053ae8d1513fd707816a91f1879b2f71e6ac0b6a863db465 + languageName: node + linkType: hard + +"strip-ansi@npm:^4.0.0": + version: 4.0.0 + resolution: "strip-ansi@npm:4.0.0" + dependencies: + ansi-regex: ^3.0.0 + checksum: d9186e6c0cf78f25274f6750ee5e4a5725fb91b70fdd79aa5fe648eab092a0ec5b9621b22d69d4534a56319f75d8944efbd84e3afa8d4ad1b9a9491f12c84eca + languageName: node + linkType: hard + +"strip-ansi@npm:^5.1.0": + version: 5.2.0 + resolution: "strip-ansi@npm:5.2.0" + dependencies: + ansi-regex: ^4.1.0 + checksum: bdb5f76ade97062bd88e7723aa019adbfacdcba42223b19ccb528ffb9fb0b89a5be442c663c4a3fb25268eaa3f6ea19c7c3fbae830bd1562d55adccae1fcec46 + languageName: node + linkType: hard + "strip-ansi@npm:^7.0.1": version: 7.0.1 resolution: "strip-ansi@npm:7.0.1" @@ -10805,6 +13178,13 @@ __metadata: languageName: unknown linkType: soft +"supports-color@npm:^2.0.0": + version: 2.0.0 + resolution: "supports-color@npm:2.0.0" + checksum: 602538c5812b9006404370b5a4b885d3e2a1f6567d314f8b4a41974ffe7d08e525bf92ae0f9c7030e3b4c78e4e34ace55d6a67a74f1571bc205959f5972f88f0 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0, supports-color@npm:^5.5.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -10935,6 +13315,24 @@ __metadata: languageName: node linkType: hard +"thenify-all@npm:^1.0.0": + version: 1.6.0 + resolution: "thenify-all@npm:1.6.0" + dependencies: + thenify: ">= 3.1.0 < 4" + checksum: dba7cc8a23a154cdcb6acb7f51d61511c37a6b077ec5ab5da6e8b874272015937788402fd271fdfc5f187f8cb0948e38d0a42dcc89d554d731652ab458f5343e + languageName: node + linkType: hard + +"thenify@npm:>= 3.1.0 < 4": + version: 3.3.1 + resolution: "thenify@npm:3.3.1" + dependencies: + any-promise: ^1.0.0 + checksum: 84e1b804bfec49f3531215f17b4a6e50fd4397b5f7c1bccc427b9c656e1ecfb13ea79d899930184f78bc2f57285c54d9a50a590c8868f4f0cef5c1d9f898b05e + languageName: node + linkType: hard + "throat@npm:^6.0.1": version: 6.0.2 resolution: "throat@npm:6.0.2" @@ -10942,7 +13340,7 @@ __metadata: languageName: node linkType: hard -"through@npm:^2.3.8": +"through@npm:^2.3.6, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd @@ -10959,6 +13357,25 @@ __metadata: languageName: node linkType: hard +"timers-ext@npm:^0.1.7": + version: 0.1.7 + resolution: "timers-ext@npm:0.1.7" + dependencies: + es5-ext: ~0.10.46 + next-tick: 1 + checksum: ef3f27a0702a88d885bcbb0317c3e3ecd094ce644da52e7f7d362394a125d9e3578292a8f8966071a980d8abbc3395725333b1856f3ae93835b46589f700d938 + languageName: node + linkType: hard + +"tmp@npm:^0.0.33": + version: 0.0.33 + resolution: "tmp@npm:0.0.33" + dependencies: + os-tmpdir: ~1.0.2 + checksum: 902d7aceb74453ea02abbf58c203f4a8fc1cead89b60b31e354f74ed5b3fb09ea817f94fb310f884a5d16987dd9fa5a735412a7c2dd088dd3d415aa819ae3a28 + languageName: node + linkType: hard + "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -11167,7 +13584,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.3": +"tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd @@ -11262,6 +13679,20 @@ __metadata: languageName: node linkType: hard +"type@npm:^1.0.1": + version: 1.2.0 + resolution: "type@npm:1.2.0" + checksum: dae8c64f82c648b985caf321e9dd6e8b7f4f2e2d4f846fc6fd2c8e9dc7769382d8a52369ddbaccd59aeeceb0df7f52fb339c465be5f2e543e81e810e413451ee + languageName: node + linkType: hard + +"type@npm:^2.7.2": + version: 2.7.2 + resolution: "type@npm:2.7.2" + checksum: 0f42379a8adb67fe529add238a3e3d16699d95b42d01adfe7b9a7c5da297f5c1ba93de39265ba30ffeb37dfd0afb3fb66ae09f58d6515da442219c086219f6f4 + languageName: node + linkType: hard + "typed-array-length@npm:^1.0.4": version: 1.0.4 resolution: "typed-array-length@npm:1.0.4" @@ -11423,7 +13854,7 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.10": +"update-browserslist-db@npm:^1.0.10, update-browserslist-db@npm:^1.0.11": version: 1.0.11 resolution: "update-browserslist-db@npm:1.0.11" dependencies: @@ -11463,6 +13894,15 @@ __metadata: languageName: node linkType: hard +"util@npm:^0.10.3": + version: 0.10.4 + resolution: "util@npm:0.10.4" + dependencies: + inherits: 2.0.3 + checksum: 913f9a90d05a60e91f91af01b8bd37e06bca4cc02d7b49e01089f9d5b78be2fffd61fb1a41b517de7238c5fc7337fa939c62d1fb4eb82e014894c7bee6637aaf + languageName: node + linkType: hard + "utils-merge@npm:1.0.1": version: 1.0.1 resolution: "utils-merge@npm:1.0.1" @@ -11557,7 +13997,7 @@ __metadata: languageName: node linkType: hard -"walker@npm:^1.0.7": +"walker@npm:^1.0.7, walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" dependencies: @@ -11566,6 +14006,20 @@ __metadata: languageName: node linkType: hard +"wasm-ast-types@npm:^0.25.0": + version: 0.25.0 + resolution: "wasm-ast-types@npm:0.25.0" + dependencies: + "@babel/runtime": ^7.18.9 + "@babel/types": 7.18.10 + "@jest/transform": 28.1.3 + ast-stringify: 0.1.0 + case: 1.6.3 + deepmerge: 4.2.2 + checksum: e08cf943f0f1ad41e9e092cbc109687476835c33727fe0548b7db1f45b58c82a5e59d828871f590d6f3ea6b5f16a28bd3fca818c570652f1a8301263c91006da + languageName: node + linkType: hard + "wcwidth@npm:^1.0.1": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" @@ -11696,6 +14150,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" + dependencies: + ansi-styles: ^4.0.0 + string-width: ^4.1.0 + strip-ansi: ^6.0.0 + checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b + languageName: node + linkType: hard + "wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -11707,14 +14172,14 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" +"wrap-ansi@npm:^8.1.0": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" dependencies: - ansi-styles: ^4.0.0 - string-width: ^4.1.0 - strip-ansi: ^6.0.0 - checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b + ansi-styles: ^6.1.0 + string-width: ^5.0.1 + strip-ansi: ^7.0.1 + checksum: 371733296dc2d616900ce15a0049dca0ef67597d6394c57347ba334393599e800bab03c41d4d45221b6bc967b8c453ec3ae4749eff3894202d16800fdfe0e238 languageName: node linkType: hard @@ -11737,6 +14202,16 @@ __metadata: languageName: node linkType: hard +"write-file-atomic@npm:^4.0.1": + version: 4.0.2 + resolution: "write-file-atomic@npm:4.0.2" + dependencies: + imurmurhash: ^0.1.4 + signal-exit: ^3.0.7 + checksum: 5da60bd4eeeb935eec97ead3df6e28e5917a6bd317478e4a85a5285e8480b8ed96032bbcc6ecd07b236142a24f3ca871c924ec4a6575e623ec1b11bf8c1c253c + languageName: node + linkType: hard + "ws@npm:7.4.6": version: 7.4.6 resolution: "ws@npm:7.4.6" From 65ae3619e6c3eb9208b0c30daba57f47af4e16fc Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 22 Aug 2023 11:26:33 +1200 Subject: [PATCH 02/10] udpate changelog --- packages/common-cosmos/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/common-cosmos/CHANGELOG.md b/packages/common-cosmos/CHANGELOG.md index c5a12ed6c..699e2bdc7 100644 --- a/packages/common-cosmos/CHANGELOG.md +++ b/packages/common-cosmos/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Support protobuf to ts cosmos `codegen` (#160) ## [2.3.1] - 2023-07-31 ### Changed From abc3205586b98783e0096c8455381b0257f1cc60 Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 22 Aug 2023 11:41:21 +1200 Subject: [PATCH 03/10] clean ups --- .../src/codegen/codegen-controller.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/packages/common-cosmos/src/codegen/codegen-controller.ts b/packages/common-cosmos/src/codegen/codegen-controller.ts index d333af362..a9633457f 100644 --- a/packages/common-cosmos/src/codegen/codegen-controller.ts +++ b/packages/common-cosmos/src/codegen/codegen-controller.ts @@ -55,12 +55,8 @@ export function prepareProtobufRenderProps( export async function tempProtoDir(projectPath: string): Promise { const tmpDir = await makeTempDir(); - const tmpProtoDir = path.join(tmpDir, './proto/'); - if (fs.existsSync(tmpDir)) { - fs.rmSync(tmpDir, {recursive: true, force: true}); - } const userProto = path.join(projectPath, './proto'); - const commonProtos = [ + const commonProtoPaths = [ require('@protobufs/amino'), require('@protobufs/confio'), require('@protobufs/cosmos'), @@ -71,13 +67,12 @@ export async function tempProtoDir(projectPath: string): Promise { require('@protobufs/tendermint'), ]; - commonProtos.forEach((p) => { + commonProtoPaths.forEach((p) => { // ensure output format is a dir - copySync(p, path.join(tmpProtoDir, `${p.replace(path.dirname(p), '')}`)); + copySync(p, path.join(tmpDir, `${p.replace(path.dirname(p), '')}`)); }); - - copySync(userProto, tmpProtoDir, {overwrite: true}); - return tmpProtoDir; + copySync(userProto, tmpDir, {overwrite: true}); + return tmpDir; } export async function generateProto( @@ -118,6 +113,7 @@ export async function generateProto( throw new Error(`Failed to generate from protobufs. ${e.message}, ${errorMessage}`); } finally { if (fs.existsSync(tmpPath)) { + // remove tmp directory fs.rmSync(tmpPath, {recursive: true, force: true}); } } From 7021dc905faf178947d8b22a9c280f37862c6979 Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 22 Aug 2023 13:52:00 +1200 Subject: [PATCH 04/10] resolve comments, add peer dep ejs, update error message --- packages/common-cosmos/package.json | 3 ++- packages/common-cosmos/src/codegen/codegen-controller.ts | 7 ++----- yarn.lock | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/common-cosmos/package.json b/packages/common-cosmos/package.json index 93acc73e6..7e2be72e2 100644 --- a/packages/common-cosmos/package.json +++ b/packages/common-cosmos/package.json @@ -30,7 +30,8 @@ }, "peerDependencies": { "class-transformer": "*", - "class-validator": "*" + "class-validator": "*", + "ejs": "*" }, "devDependencies": { "@types/bn.js": "4.11.6", diff --git a/packages/common-cosmos/src/codegen/codegen-controller.ts b/packages/common-cosmos/src/codegen/codegen-controller.ts index a9633457f..c96fb87bd 100644 --- a/packages/common-cosmos/src/codegen/codegen-controller.ts +++ b/packages/common-cosmos/src/codegen/codegen-controller.ts @@ -42,7 +42,7 @@ export function prepareProtobufRenderProps( } if (!isProtoPath(value.file, projectPath)) { console.error( - `Codegen will not apply for this file: ${value.file} Please ensure it is under the ./proto directory` + `Codegen will not apply for this file: ${value.file} Please ensure it is under the ./proto directory if you want to run codegen on it` ); } return { @@ -112,9 +112,6 @@ export async function generateProto( : ''; throw new Error(`Failed to generate from protobufs. ${e.message}, ${errorMessage}`); } finally { - if (fs.existsSync(tmpPath)) { - // remove tmp directory - fs.rmSync(tmpPath, {recursive: true, force: true}); - } + fs.rmSync(tmpPath, {recursive: true, force: true}); } } diff --git a/yarn.lock b/yarn.lock index 925121151..6596e2ad1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4484,6 +4484,7 @@ __metadata: peerDependencies: class-transformer: "*" class-validator: "*" + ejs: "*" languageName: unknown linkType: soft From 8692d95c9bec0ade47eb0ec58e7c032f53bb62ff Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 22 Aug 2023 16:19:12 +1200 Subject: [PATCH 05/10] update lint ignores --- .eslintignore | 1 + .prettierignore | 1 + .../src/codegen/codegen-controller.spec.ts | 71 +++++ packages/common-cosmos/src/codegen/index.ts | 1 + packages/common-cosmos/src/codegen/util.ts | 14 + .../test/protoTest1/bad-cosmos-project.yaml | 40 +++ .../test/protoTest1/project.yaml | 45 ++++ .../proto/osmosis/gamm/v1beta1/tx.proto | 253 ++++++++++++++++++ .../poolmanager/v1beta1/swap_route.proto | 38 +++ 9 files changed, 464 insertions(+) create mode 100644 packages/common-cosmos/src/codegen/codegen-controller.spec.ts create mode 100644 packages/common-cosmos/src/codegen/util.ts create mode 100644 packages/common-cosmos/test/protoTest1/bad-cosmos-project.yaml create mode 100644 packages/common-cosmos/test/protoTest1/project.yaml create mode 100644 packages/common-cosmos/test/protoTest1/proto/osmosis/gamm/v1beta1/tx.proto create mode 100644 packages/common-cosmos/test/protoTest1/proto/osmosis/poolmanager/v1beta1/swap_route.proto diff --git a/.eslintignore b/.eslintignore index 54e14e066..ab05f4dce 100644 --- a/.eslintignore +++ b/.eslintignore @@ -6,3 +6,4 @@ packages/**/dist/** packages/**/lib/** .eslintrc.js +*.proto \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 2c9d14340..90f710137 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,3 +9,4 @@ *.tgz *.cmd *.sh +*.proto \ No newline at end of file diff --git a/packages/common-cosmos/src/codegen/codegen-controller.spec.ts b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts new file mode 100644 index 000000000..8f9ede7ab --- /dev/null +++ b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts @@ -0,0 +1,71 @@ +// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// SPDX-License-Identifier: GPL-3.0 + +import path from 'path'; +import {loadFromJsonOrYaml} from '@subql/common'; +import {isProtoPath, prepareProtobufRenderProps, processProtoFilePath} from './codegen-controller'; +import {validateCosmosManifest} from './util'; + +const PROJECT_PATH = path.join(__dirname, '../../test/protoTest1'); + +describe('Codegen cosmos, protobuf to ts', () => { + it('process protobuf file paths', () => { + const p = './proto/cosmos/osmosis/poolmanager/v1beta1/swap_route.proto'; + expect(processProtoFilePath(p)).toBe('./proto-interfaces/cosmos/osmosis/poolmanager/v1beta1/swap_route'); + }); + it('should output correct protobuf render props', () => { + const mockChainTypes = [ + { + 'osmosis.gamm.v1beta1': { + file: './proto/osmosis/gamm/v1beta1/tx.proto', + messages: ['MsgSwapExactAmountIn'], + }, + }, + { + 'osmosis.poolmanager.v1beta1': { + file: './proto/osmosis/poolmanager/v1beta1/swap_route.proto', + messages: ['SwapAmountInRoute'], + }, + }, + ] as any; + expect(prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toStrictEqual([ + { + messageNames: ['MsgSwapExactAmountIn'], + path: './proto-interfaces/osmosis/gamm/v1beta1/tx', + }, + { + messageNames: ['SwapAmountInRoute'], + path: './proto-interfaces/osmosis/poolmanager/v1beta1/swap_route', + }, + ]); + }); + it('Should throw if path to protobuf does not exist', () => { + const mockChainTypes = [ + { + 'osmosis.gamm.v1beta1': { + file: './protato/osmosis/gamm/v1beta1/tx.proto', + messages: ['MsgSwapExactAmountIn'], + }, + }, + ] as any; + expect(() => prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toThrow( + 'Error: chainType osmosis.gamm.v1beta1, file ./protato/osmosis/gamm/v1beta1/tx.proto does not exist' + ); + }); + it('ensure correct regex for protoPath', () => { + let p = './proto/cosmos/osmosis/gamm/v1beta1/tx.proto'; + expect(isProtoPath(p, PROJECT_PATH)).toBe(true); + p = 'proto/cosmos/osmosis/gamm/v1beta1/tx.proto'; + expect(isProtoPath(p, PROJECT_PATH)).toBe(true); + p = '../proto/cosmos/osmosis/gamm/v1beta1/tx.proto'; + expect(isProtoPath(p, PROJECT_PATH)).toBe(false); + p = './protos/cosmos/osmosis/gamm/v1beta1/tx.proto'; + expect(isProtoPath(p, PROJECT_PATH)).toBe(false); + }); + it('Ensure correctness on Cosmos Manifest validate', () => { + const cosmosManifest = loadFromJsonOrYaml(path.join(PROJECT_PATH, 'project.yaml')) as any; + const ethManifest = loadFromJsonOrYaml(path.join(PROJECT_PATH, 'bad-cosmos-project.yaml')) as any; + expect(validateCosmosManifest(cosmosManifest)).toBe(true); + expect(validateCosmosManifest(ethManifest)).toBe(false); + }); +}); diff --git a/packages/common-cosmos/src/codegen/index.ts b/packages/common-cosmos/src/codegen/index.ts index 19fa4750a..c3f47cc6a 100644 --- a/packages/common-cosmos/src/codegen/index.ts +++ b/packages/common-cosmos/src/codegen/index.ts @@ -2,3 +2,4 @@ // SPDX-License-Identifier: GPL-3.0 export * from './codegen-controller'; +export * from './util'; diff --git a/packages/common-cosmos/src/codegen/util.ts b/packages/common-cosmos/src/codegen/util.ts new file mode 100644 index 000000000..95a8391aa --- /dev/null +++ b/packages/common-cosmos/src/codegen/util.ts @@ -0,0 +1,14 @@ +// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// SPDX-License-Identifier: GPL-3.0 + +import {parseCosmosProjectManifest} from '../project/load'; + +export function validateCosmosManifest(manifest: { + network: {chainTypes?: Map}; +}): boolean { + try { + return !!parseCosmosProjectManifest(manifest); + } catch (e) { + return false; + } +} diff --git a/packages/common-cosmos/test/protoTest1/bad-cosmos-project.yaml b/packages/common-cosmos/test/protoTest1/bad-cosmos-project.yaml new file mode 100644 index 000000000..9cc0fd6e4 --- /dev/null +++ b/packages/common-cosmos/test/protoTest1/bad-cosmos-project.yaml @@ -0,0 +1,40 @@ +specVersion: 1.0.0 +name: generate-test +version: 0.0.1 +runner: + node: + name: '@subql/node-ethereum' + version: '*' + query: + name: '@subql/query' + version: '*' +schema: + file: ./schema.graphql +network: + chainId: '1' + endpoint: + - https://eth.api.onfinality.io/public + dictionary: https://gx.api.subquery.network/sq/subquery/eth-dictionary +dataSources: + #datasource comment + - kind: ethereum/Runtime + startBlock: 4719568 + options: + abi: erc721 + address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' + assets: + erc721: + file: ./erc721.json + mapping: + file: ./dist/index.js + handlers: + - handler: handleTransaction + kind: ethereum/TransactionHandler + filter: + function: approve(address,uint256) + - handler: handleLog + kind: ethereum/LogHandler + filter: + topics: + - Transfer(address,address,uint256) + #handler comment diff --git a/packages/common-cosmos/test/protoTest1/project.yaml b/packages/common-cosmos/test/protoTest1/project.yaml new file mode 100644 index 000000000..351600546 --- /dev/null +++ b/packages/common-cosmos/test/protoTest1/project.yaml @@ -0,0 +1,45 @@ +specVersion: 1.0.0 +name: test +version: 0.0.1 +runner: + node: + name: '@subql/node-cosmos' + version: '*' + query: + name: '@subql/query' + version: '*' +description: '' +repository: '' +schema: + file: ./schema.graphql +network: + chainId: osmosis-1 + endpoint: + - https://osmosis.api.onfinality.io/public + dictionary: 'https://api.subquery.network/sq/subquery/cosmos-osmosis-dictionary' + chainTypes: + osmosis.gamm.v1beta1: + file: './proto/osmosis/gamm/v1beta1/tx.proto' + messages: + - MsgSwapExactAmountIn + osmosis.poolmanager.v1beta1: + # needed by MsgSwapExactAmountIn + file: './proto/osmosis/poolmanager/v1beta1/swap_route.proto' + messages: + - SwapAmountInRoute + cosmos.base.v1beta1: + # needed by MsgSwapExactAmountIn + file: './proto/cosmos/base/v1beta1/coin.proto' + messages: + - 'Coin' + +dataSources: + - kind: cosmos/Runtime + startBlock: 9798050 + mapping: + file: ./dist/index.js + handlers: + - handler: handleMessage + kind: cosmos/MessageHandler + filter: + type: /osmosis.gamm.v1beta1.MsgSwapExactAmountIn diff --git a/packages/common-cosmos/test/protoTest1/proto/osmosis/gamm/v1beta1/tx.proto b/packages/common-cosmos/test/protoTest1/proto/osmosis/gamm/v1beta1/tx.proto new file mode 100644 index 000000000..4a734a0bd --- /dev/null +++ b/packages/common-cosmos/test/protoTest1/proto/osmosis/gamm/v1beta1/tx.proto @@ -0,0 +1,253 @@ +syntax = "proto3"; +package osmosis.gamm.v1beta1; + +import "gogoproto/gogo.proto"; +import "amino/amino.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/types"; + +service Msg { + rpc JoinPool(MsgJoinPool) returns (MsgJoinPoolResponse); + rpc ExitPool(MsgExitPool) returns (MsgExitPoolResponse); + rpc SwapExactAmountIn(MsgSwapExactAmountIn) + returns (MsgSwapExactAmountInResponse); + rpc SwapExactAmountOut(MsgSwapExactAmountOut) + returns (MsgSwapExactAmountOutResponse); + rpc JoinSwapExternAmountIn(MsgJoinSwapExternAmountIn) + returns (MsgJoinSwapExternAmountInResponse); + rpc JoinSwapShareAmountOut(MsgJoinSwapShareAmountOut) + returns (MsgJoinSwapShareAmountOutResponse); + rpc ExitSwapExternAmountOut(MsgExitSwapExternAmountOut) + returns (MsgExitSwapExternAmountOutResponse); + rpc ExitSwapShareAmountIn(MsgExitSwapShareAmountIn) + returns (MsgExitSwapShareAmountInResponse); +} + +// ===================== MsgJoinPool +// This is really MsgJoinPoolNoSwap +message MsgJoinPool { + option (amino.name) = "osmosis/gamm/join-pool"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string share_out_amount = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"pool_amount_out\"", + (gogoproto.nullable) = false + ]; + repeated cosmos.base.v1beta1.Coin token_in_maxs = 4 [ + (gogoproto.moretags) = "yaml:\"token_in_max_amounts\"", + (gogoproto.nullable) = false + ]; +} + +message MsgJoinPoolResponse { + string share_out_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_out_amount\"", + (gogoproto.nullable) = false + ]; + repeated cosmos.base.v1beta1.Coin token_in = 2 [ + (gogoproto.moretags) = "yaml:\"token_in\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgExitPool +message MsgExitPool { + option (amino.name) = "osmosis/gamm/exit-pool"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string share_in_amount = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_in_amount\"", + (gogoproto.nullable) = false + ]; + + repeated cosmos.base.v1beta1.Coin token_out_mins = 4 [ + (gogoproto.moretags) = "yaml:\"token_out_min_amounts\"", + (gogoproto.nullable) = false + ]; +} + +message MsgExitPoolResponse { + repeated cosmos.base.v1beta1.Coin token_out = 1 [ + (gogoproto.moretags) = "yaml:\"token_out\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgSwapExactAmountIn +message SwapAmountInRoute { + uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_out_denom = 2 + [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; +} + +message MsgSwapExactAmountIn { + option (amino.name) = "osmosis/gamm/swap-exact-amount-in"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + repeated SwapAmountInRoute routes = 2 [ (gogoproto.nullable) = false ]; + cosmos.base.v1beta1.Coin token_in = 3 [ + (gogoproto.moretags) = "yaml:\"token_in\"", + (gogoproto.nullable) = false + ]; + string token_out_min_amount = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_out_min_amount\"", + (gogoproto.nullable) = false + ]; +} + +message MsgSwapExactAmountInResponse { + string token_out_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_out_amount\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgSwapExactAmountOut +message SwapAmountOutRoute { + uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_in_denom = 2 + [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; +} + +message MsgSwapExactAmountOut { + option (amino.name) = "osmosis/gamm/swap-exact-amount-out"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + repeated SwapAmountOutRoute routes = 2 [ (gogoproto.nullable) = false ]; + string token_in_max_amount = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", + (gogoproto.nullable) = false + ]; + cosmos.base.v1beta1.Coin token_out = 4 [ + (gogoproto.moretags) = "yaml:\"token_out\"", + (gogoproto.nullable) = false + ]; +} + +message MsgSwapExactAmountOutResponse { + string token_in_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_in_amount\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgJoinSwapExternAmountIn +// TODO: Rename to MsgJoinSwapExactAmountIn +message MsgJoinSwapExternAmountIn { + option (amino.name) = "osmosis/gamm/join-swap-extern-amount-in"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + cosmos.base.v1beta1.Coin token_in = 3 [ + (gogoproto.moretags) = "yaml:\"token_in\"", + (gogoproto.nullable) = false + ]; + string share_out_min_amount = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_out_min_amount\"", + (gogoproto.nullable) = false + ]; + // repeated cosmos.base.v1beta1.Coin tokensIn = 5 [ + // (gogoproto.moretags) = "yaml:\"tokens_in\"", + // (gogoproto.nullable) = false + // ]; +} + +message MsgJoinSwapExternAmountInResponse { + string share_out_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_out_amount\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgJoinSwapShareAmountOut +message MsgJoinSwapShareAmountOut { + option (amino.name) = "osmosis/gamm/join-swap-share-amount-out"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_in_denom = 3 + [ (gogoproto.moretags) = "yaml:\"token_in_denom\"" ]; + string share_out_amount = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_out_amount\"", + (gogoproto.nullable) = false + ]; + string token_in_max_amount = 5 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", + (gogoproto.nullable) = false + ]; +} + +message MsgJoinSwapShareAmountOutResponse { + string token_in_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_in_amount\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgExitSwapShareAmountIn +message MsgExitSwapShareAmountIn { + option (amino.name) = "osmosis/gamm/exit-swap-share-amount-in"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_out_denom = 3 + [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; + string share_in_amount = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_in_amount\"", + (gogoproto.nullable) = false + ]; + string token_out_min_amount = 5 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_out_min_amount\"", + (gogoproto.nullable) = false + ]; +} + +message MsgExitSwapShareAmountInResponse { + string token_out_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_out_amount\"", + (gogoproto.nullable) = false + ]; +} + +// ===================== MsgExitSwapExternAmountOut +message MsgExitSwapExternAmountOut { + option (amino.name) = "osmosis/gamm/exit-swap-extern-amount-out"; + + string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + cosmos.base.v1beta1.Coin token_out = 3 [ + (gogoproto.moretags) = "yaml:\"token_out\"", + (gogoproto.nullable) = false + ]; + string share_in_max_amount = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_in_max_amount\"", + (gogoproto.nullable) = false + ]; +} + +message MsgExitSwapExternAmountOutResponse { + string share_in_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"share_in_amount\"", + (gogoproto.nullable) = false + ]; +} diff --git a/packages/common-cosmos/test/protoTest1/proto/osmosis/poolmanager/v1beta1/swap_route.proto b/packages/common-cosmos/test/protoTest1/proto/osmosis/poolmanager/v1beta1/swap_route.proto new file mode 100644 index 000000000..b7225dd8d --- /dev/null +++ b/packages/common-cosmos/test/protoTest1/proto/osmosis/poolmanager/v1beta1/swap_route.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package osmosis.poolmanager.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/osmosis-labs/osmosis/v15/x/poolmanager/types"; + +message SwapAmountInRoute { + uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_out_denom = 2 + [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; +} + +message SwapAmountOutRoute { + uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; + string token_in_denom = 2 + [ (gogoproto.moretags) = "yaml:\"token_in_denom\"" ]; +} + +message SwapAmountInSplitRoute { + repeated SwapAmountInRoute pools = 1 + [ (gogoproto.moretags) = "yaml:\"pools\"", (gogoproto.nullable) = false ]; + string token_in_amount = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_in_amount\"", + (gogoproto.nullable) = false + ]; +} + +message SwapAmountOutSplitRoute { + repeated SwapAmountOutRoute pools = 1 + [ (gogoproto.moretags) = "yaml:\"pools\"", (gogoproto.nullable) = false ]; + string token_out_amount = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.moretags) = "yaml:\"token_out_amount\"", + (gogoproto.nullable) = false + ]; +} \ No newline at end of file From 77756318b8b080516ca2f25fe286e363a431fbc8 Mon Sep 17 00:00:00 2001 From: bz888 Date: Wed, 23 Aug 2023 10:10:52 +1200 Subject: [PATCH 06/10] update test typing --- .../common-cosmos/src/codegen/codegen-controller.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/common-cosmos/src/codegen/codegen-controller.spec.ts b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts index 8f9ede7ab..808bbad38 100644 --- a/packages/common-cosmos/src/codegen/codegen-controller.spec.ts +++ b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts @@ -3,6 +3,7 @@ import path from 'path'; import {loadFromJsonOrYaml} from '@subql/common'; +import {CosmosChainType} from '@subql/common-cosmos'; import {isProtoPath, prepareProtobufRenderProps, processProtoFilePath} from './codegen-controller'; import {validateCosmosManifest} from './util'; @@ -27,7 +28,7 @@ describe('Codegen cosmos, protobuf to ts', () => { messages: ['SwapAmountInRoute'], }, }, - ] as any; + ] as unknown as Map[]; expect(prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toStrictEqual([ { messageNames: ['MsgSwapExactAmountIn'], @@ -47,7 +48,7 @@ describe('Codegen cosmos, protobuf to ts', () => { messages: ['MsgSwapExactAmountIn'], }, }, - ] as any; + ] as unknown as Map[]; expect(() => prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toThrow( 'Error: chainType osmosis.gamm.v1beta1, file ./protato/osmosis/gamm/v1beta1/tx.proto does not exist' ); From 1675c74833e71173927df1e3718e90c7b56d18a6 Mon Sep 17 00:00:00 2001 From: bz888 Date: Wed, 23 Aug 2023 10:48:03 +1200 Subject: [PATCH 07/10] update typing for cosmos chaintype --- .../common-cosmos/src/codegen/codegen-controller.spec.ts | 5 ++--- packages/common-cosmos/src/codegen/codegen-controller.ts | 7 ++++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/common-cosmos/src/codegen/codegen-controller.spec.ts b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts index 808bbad38..d5bb3c2d3 100644 --- a/packages/common-cosmos/src/codegen/codegen-controller.spec.ts +++ b/packages/common-cosmos/src/codegen/codegen-controller.spec.ts @@ -3,7 +3,6 @@ import path from 'path'; import {loadFromJsonOrYaml} from '@subql/common'; -import {CosmosChainType} from '@subql/common-cosmos'; import {isProtoPath, prepareProtobufRenderProps, processProtoFilePath} from './codegen-controller'; import {validateCosmosManifest} from './util'; @@ -28,7 +27,7 @@ describe('Codegen cosmos, protobuf to ts', () => { messages: ['SwapAmountInRoute'], }, }, - ] as unknown as Map[]; + ]; expect(prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toStrictEqual([ { messageNames: ['MsgSwapExactAmountIn'], @@ -48,7 +47,7 @@ describe('Codegen cosmos, protobuf to ts', () => { messages: ['MsgSwapExactAmountIn'], }, }, - ] as unknown as Map[]; + ]; expect(() => prepareProtobufRenderProps(mockChainTypes, PROJECT_PATH)).toThrow( 'Error: chainType osmosis.gamm.v1beta1, file ./protato/osmosis/gamm/v1beta1/tx.proto does not exist' ); diff --git a/packages/common-cosmos/src/codegen/codegen-controller.ts b/packages/common-cosmos/src/codegen/codegen-controller.ts index c96fb87bd..e7e06af64 100644 --- a/packages/common-cosmos/src/codegen/codegen-controller.ts +++ b/packages/common-cosmos/src/codegen/codegen-controller.ts @@ -5,9 +5,9 @@ import fs from 'fs'; import path from 'path'; import telescope from '@cosmology/telescope'; import {makeTempDir} from '@subql/common'; +import {CustomModule} from '@subql/types-cosmos'; import {Data} from 'ejs'; import {copySync} from 'fs-extra'; -import {CosmosChainType} from '../project'; import {TELESCOPE_OPTS} from './constants'; const PROTO_INTERFACES_ROOT_DIR = 'src/types/proto-interfaces'; @@ -18,6 +18,7 @@ interface ProtobufRenderProps { messageNames: string[]; // all messages path: string; // should process the file Path and concat with PROTO dir } +type CosmosChainTypeDataType = Map | Record; export function processProtoFilePath(path: string): string { // removes `./proto` and `.proto` suffix, converts all `.` to `/` @@ -31,7 +32,7 @@ export function isProtoPath(filePath: string, projectPath: string): boolean { } export function prepareProtobufRenderProps( - chainTypes: Map[], + chainTypes: CosmosChainTypeDataType[], projectPath: string ): ProtobufRenderProps[] { return chainTypes.flatMap((chainType) => { @@ -76,7 +77,7 @@ export async function tempProtoDir(projectPath: string): Promise { } export async function generateProto( - chainTypes: Map[], + chainTypes: CosmosChainTypeDataType[], projectPath: string, prepareDirPath: (path: string, recreate: boolean) => Promise, renderTemplate: (templatePath: string, outputPath: string, templateData: Data) => Promise, From e89bc2e5c11fcf635d787c4e941676e9b6b197b6 Mon Sep 17 00:00:00 2001 From: bz888 Date: Wed, 23 Aug 2023 10:51:12 +1200 Subject: [PATCH 08/10] update changelog on node for moved types --- packages/node/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index d5368e7ae..4fa1692e6 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Moved `CosmosChainType` and `CosmosProjectNetConfig` to `@subql/common-cosmos` (#160) ## [2.10.1] - 2023-08-03 ### Fixed From 6bddc27a78414f2027045f4dc371a9b1f0f7a82a Mon Sep 17 00:00:00 2001 From: bz888 Date: Wed, 23 Aug 2023 11:07:56 +1200 Subject: [PATCH 09/10] align protobufjs version with cosmjs --- packages/common-cosmos/package.json | 2 +- yarn.lock | 24 ++---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/packages/common-cosmos/package.json b/packages/common-cosmos/package.json index 7e2be72e2..483cc075a 100644 --- a/packages/common-cosmos/package.json +++ b/packages/common-cosmos/package.json @@ -25,7 +25,7 @@ "@subql/types-cosmos": "workspace:*", "fs-extra": "^11.1.1", "js-yaml": "^4.1.0", - "protobufjs": "^7.2.4", + "protobufjs": "~6.11.3", "reflect-metadata": "^0.1.13" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 6596e2ad1..d21a21b68 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4479,7 +4479,7 @@ __metadata: "@types/pino": ^6.3.12 fs-extra: ^11.1.1 js-yaml: ^4.1.0 - protobufjs: ^7.2.4 + protobufjs: ~6.11.3 reflect-metadata: ^0.1.13 peerDependencies: class-transformer: "*" @@ -10561,7 +10561,7 @@ __metadata: languageName: node linkType: hard -"long@npm:^5.0.0, long@npm:^5.2.0, long@npm:^5.2.1": +"long@npm:^5.2.0, long@npm:^5.2.1": version: 5.2.3 resolution: "long@npm:5.2.3" checksum: 885ede7c3de4facccbd2cacc6168bae3a02c3e836159ea4252c87b6e34d40af819824b2d4edce330bfb5c4d6e8ce3ec5864bdcf9473fa1f53a4f8225860e5897 @@ -11995,26 +11995,6 @@ __metadata: languageName: node linkType: hard -"protobufjs@npm:^7.2.4": - version: 7.2.4 - resolution: "protobufjs@npm:7.2.4" - dependencies: - "@protobufjs/aspromise": ^1.1.2 - "@protobufjs/base64": ^1.1.2 - "@protobufjs/codegen": ^2.0.4 - "@protobufjs/eventemitter": ^1.1.0 - "@protobufjs/fetch": ^1.1.0 - "@protobufjs/float": ^1.0.2 - "@protobufjs/inquire": ^1.1.0 - "@protobufjs/path": ^1.1.2 - "@protobufjs/pool": ^1.1.0 - "@protobufjs/utf8": ^1.1.0 - "@types/node": ">=13.7.0" - long: ^5.0.0 - checksum: a952cdf2a5e5250c16ae651b570849b6f5b20a5475c3eef63ffb290ad239aa2916adfc1cc676f7fc93c69f48113df268761c0c246f7f023118c85bdd1a170044 - languageName: node - linkType: hard - "proxy-addr@npm:~2.0.7": version: 2.0.7 resolution: "proxy-addr@npm:2.0.7" From 58714cd45c56b0f0961dfbf80ad1b786262795da Mon Sep 17 00:00:00 2001 From: bz888 Date: Wed, 23 Aug 2023 11:16:10 +1200 Subject: [PATCH 10/10] removed protobufjs, using transisent dep instead --- packages/common-cosmos/package.json | 1 - yarn.lock | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/common-cosmos/package.json b/packages/common-cosmos/package.json index 483cc075a..bae49a4fa 100644 --- a/packages/common-cosmos/package.json +++ b/packages/common-cosmos/package.json @@ -25,7 +25,6 @@ "@subql/types-cosmos": "workspace:*", "fs-extra": "^11.1.1", "js-yaml": "^4.1.0", - "protobufjs": "~6.11.3", "reflect-metadata": "^0.1.13" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index d21a21b68..415ebb737 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4479,7 +4479,6 @@ __metadata: "@types/pino": ^6.3.12 fs-extra: ^11.1.1 js-yaml: ^4.1.0 - protobufjs: ~6.11.3 reflect-metadata: ^0.1.13 peerDependencies: class-transformer: "*"